From freebsd at pki2.com Fri Jun 1 00:34:17 2012 From: freebsd at pki2.com (Dennis Glatting) Date: Fri Jun 1 00:34:24 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <70D99F583BF63C05BB39CCAF@mac-pro.magehandbook.com> References: <70D99F583BF63C05BB39CCAF@mac-pro.magehandbook.com> Message-ID: <1338510852.77553.1.camel@btw.pki2.com> On Thu, 2012-05-31 at 19:27 -0400, Daniel Staal wrote: > --As of May 31, 2012 11:24:41 AM -0700, Dennis Glatting is alleged to have > said: > > > 2) Under heavy I/O my systems freeze for a few seconds. I haven't looked > > into why but they are completely unresponsive. Note I am also using > > compressed volumes (gzip), which puts a substantual load on the kernel. > > --As for the rest, it is mine. > > I'm not using as huge a dataset, but I was seeing this behavior as well > when I first set my box up. What was happening was that ZFS was caching > *lots* of writes, and then would dump them all to disk at once, during > which time the computer was completely occupied with the disk I/O. > > The solution (suggested from ) for > me was: > vfs.zfs.txg.timeout="5" > Was already set: mc# sysctl vfs.zfs.txg.timeout vfs.zfs.txg.timeout: 5 > in loader.conf. That only allows it to cache writes for 5 seconds, instead > of the default 30. This appears to be the default in the latest versions > of FreeBSD, so if you are running an upgraded 9, ignore me. ;) (But check > the page linked above: There are other suggestions to try.) > > Daniel T. Staal > > --------------------------------------------------------------- > This email copyright the author. Unless otherwise noted, you > are expressly allowed to retransmit, quote, or otherwise use > the contents for non-commercial purposes. This copyright will > expire 5 years after the author's death, or in 30 years, > whichever is longer, unless such a period is in excess of > local copyright law. > --------------------------------------------------------------- From wblock at wonkity.com Fri Jun 1 01:24:23 2012 From: wblock at wonkity.com (Warren Block) Date: Fri Jun 1 01:24:31 2012 Subject: 9.0 on SSD In-Reply-To: <20120531170035.GA29456@admin.sibptus.tomsk.ru> References: <20120531025206.GA11699@admin.sibptus.tomsk.ru> <20120531170035.GA29456@admin.sibptus.tomsk.ru> Message-ID: On Fri, 1 Jun 2012, Victor Sudakov wrote: > Warren Block wrote: >>> >>> I have installed 9.0-RELEASE on a SSD drive with the following >>> tweaking so far: >>> >>> 1. tmpmfs="YES" (WRKDIRPREFIX etc will go there too). >>> >>> 2. mount -o noatime >>> >>> 3. tunefs -t enable >>> >>> I have not done any tricky partition alignment, do I really need to? Is >>> anything else advisable? >> >> If it's not aligned, there can be a pretty significant performance >> drop. Please show the output of 'gpart show' on that drive if it's GPT >> (gpart show ada0) or drive and slice if it's MBR/bsdlabel (gpart show >> ada0 && gpart show ada0s1). > > It was created by the "Auto" option of the new FreeBSD installer: > > [sudakov@vas ~] gpart show ada0 > => 34 117231341 ada0 GPT (55G) > 34 128 1 freebsd-boot (64k) > 162 111148928 2 freebsd-ufs (53G) > 111149090 5861376 3 freebsd-swap (2.8G) > 117010466 220909 - free - (107M) That is not aligned, either with 4K or 1M: (162*512)/4096 = 20.25 If the performance is good enough, leave it alone. Use # diskinfo -tv /dev/ada0p2 to get an optimistic version, or do some in-depth benchmarking with benchmarks/bonnie++. To get it aligned, back up and repartition: (Back up first!) # gpart destroy -F ada0 # gpart create -s gpt ada0 # gpart add -t freebsd-boot -s 512k ada0 # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0 # gpart add -t freebsd-ufs -b 1m -s 53G ada0 # gpart add -t freebsd-swap ada0 That creates a 512k boot partition which allows for growth of the boot code. Then the UFS partition starts at 1M, an even multiple of both 4k and 1M for alignment, and a common semi-standard. Then swap fills out the drive; that could be reduced by giving a -s size if you want to leave that 107M at the end for something else. (gpart's -a option is not used. It isn't needed here, and overrides the -b option in earlier versions of gpart.) From wblock at wonkity.com Fri Jun 1 01:39:31 2012 From: wblock at wonkity.com (Warren Block) Date: Fri Jun 1 01:39:38 2012 Subject: How to use an external USB3.0 drive with 4k sectors? In-Reply-To: <20120531155704.GA2828@schweikhardt.net> References: <20120531155704.GA2828@schweikhardt.net> Message-ID: On Thu, 31 May 2012, Jens Schweikhardt wrote: > so I decided to try two HW technology advancements in one go. > I have a brand new shiny 1TB USB3.0 external disk, that when plugged > to an USB2(two!) reports > > da5 at umass-sim2 bus 2 scbus6 target 0 lun 0 > da5: Fixed Direct Access SCSI-2 device > da5: 40.000MB/s transfers > da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C) > > (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file. > Strangely, I cannot mount it with > # ll /dev/da5* > crw-r----- 1 root operator 0, 236 May 31 15:05 /dev/da5 > crw-r----- 1 root operator 0, 237 May 31 15:05 /dev/da5s1 > # mount -t ntfs -o ro /dev/da5s1 /mnt > mount_ntfs: /dev/da5s1: Invalid argument > ) It may not actually be an NTFS filesystem. Try # file -s /dev/da5s1 Much more likely to be a USB problem than something to do with block size. From tomdean at speakeasy.org Fri Jun 1 02:13:20 2012 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Fri Jun 1 02:13:27 2012 Subject: MK_CLANG_IS_CC mis-formed when compiling ports Message-ID: <4FC82537.2090305@speakeasy.org> I built FrfeeBSD 9 with WITHOUT_CLANG="Yes" When I try to build the net/bwn-firmware-kmod/ I get an error that MK_CLANG_IS_CC is mis-formed. If I define this in make.conf, I get an error that the user may not set this. If I use 'make MK_CLANG_IS_CC="no"' the port compiles. How do I fix this? Tom Dean From lists at eitanadler.com Fri Jun 1 02:13:44 2012 From: lists at eitanadler.com (Eitan Adler) Date: Fri Jun 1 02:13:52 2012 Subject: (no subject) In-Reply-To: <1990964589.86293.1338347217728.JavaMail.mail@webmail16> References: <1990964589.86293.1338347217728.JavaMail.mail@webmail16> Message-ID: On 29 May 2012 20:06, wrote: > > ? ?Hello, > ? I am moving away from MS products due to security a nd stability > ? concerns. ?Below are the machines I use and would like to know which > ? version of FreeBSD will work best with each. ?The computer s are used > ? at home and away, for e-mail, preparing documents, databases, an d > ? spredsheets, as well as, web browsing and some begining programing > ? (Perl, C, HTML, and Assembely I think). I don't know much about the specifics but for a desktop computer I would go with either FreeBSD 9 or PC-BSD (perhaps with the intel kms patch) -- Eitan Adler From leslie at eskk.nu Fri Jun 1 04:47:43 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Fri Jun 1 04:47:51 2012 Subject: editors/libreoffice:internal build errors: ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/vcl/prj In-Reply-To: <20120531193519.577967fb.jan0sch@gmx.net> References: <4FA3C7A1.6040908@zedat.fu-berlin.de> <20120531193519.577967fb.jan0sch@gmx.net> Message-ID: <4FC8497E.9030409@eskk.nu> 2012-05-31 19:35, Jens Jahnke skrev: > Hi, > > On Fri, 04 May 2012 14:12:17 +0200 > "Hartmann, O." wrote: > > HO> I found myself incapable of rebuilding/updating editors/libreoffice > HO> on ALL FreeBSD 9-STABLE and FreeBSD 10-CURRENT (amd64) platforms > HO> with the very same error message as shown below. > > I ran into the same issue on my 9-STABLE box at home today. > If I follow the steps provides in the error message it compiles a bit > further and gives the exact same error message some modules later. > Anyhow I stepped through them and finally got another error message: > > <---snip---> > [ build CUT ] lotuswordpro_test_lotuswordpro > R=/usr/ports/editors/libreoffice/work&& S=$R/libreoffice-core-3.5.2.2 > && O=$S/solver/unxfbsd.pro&& W=$S/workdir/unxfbsd.pro&& mkdir -p > $W/CppunitTest/&& (LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite > DBGSV_ERROR_OUT=shell STAR_RESOURCEPATH=$O/bin/ > $O/bin/cppunit/cppunittester > $W/LinkTarget/CppunitTest/libtest_lotuswordpro_test_lotuswordpro.so > --headless --protector unoexceptionprotector.so unoexceptionprotector > "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry" > "-env:UNO_TYPES= file://$O/bin/udkapi.rdb file://$O/bin/types.rdb" > "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb > file://$O/xml/component/lotuswordpro/util/lwpfilter.component > file://$O/xml/configmgr.component file://$O/xml/ucb1.component > file://$O/xml/ucpfile1.component" > -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib >> $W/CppunitTest/lotuswordpro_test_lotuswordpro.test.log 2>&1 || > (cat $W/CppunitTest/lotuswordpro_test_lotuswordpro.test.log&& echo; > echo "Error: a unit test failed, please do one of:"; echo; echo "export > DEBUGCPPUNIT=TRUE # for exception catching"; echo "export > GDBCPPUNITTRACE=\"gdb --args\" # for interactive debugging"; echo > "export VALGRIND=memcheck # for memory checking" ; echo "and > retry."&& false)) > > Abort trap (core dumped) File tested,Test > Result,Execution Time (ms) > file:///usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/lotuswordpro/qa/cppunit/data/pass/A14.lwp,Signal > 11 during cups initialization called, ignoring cups > > Error: a unit test failed, please do one of: > > export DEBUGCPPUNIT=TRUE # for exception catching > export GDBCPPUNITTRACE="gdb --args" # for interactive debugging > export VALGRIND=memcheck # for memory checking > and retry. > gmake: *** > [/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/workdir/unxfbsd.pro/CppunitTest/lotuswordpro_test_lotuswordpro.test] > Error 1 > <---snip---> > > The mysterious thing is that I have a nearly identical box at the office > running 9-STABLE and there libreoffice compiles fine. > It only differs in two hardware components: > CPU is core2 at home and core5i at the office. > RAM is 4gb at home and 8gb at the office. > > System on both is clean installed and updated 9-STABLE. > > So maybe this is a memory/cpu issue? > > Regards, > > Jens > I have the same problem on a 8.2-RELEASE system. I posted it on the ports list. I got an answer and a patch that can be used. Take a look at the archives for the ports list. /Leslie From Albert.Shih at obspm.fr Fri Jun 1 05:24:16 2012 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri Jun 1 05:24:24 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: <20120601052309.GA32942@pcjas.obspm.fr> Le 31/05/2012 ? 11:32:33-0400, Oscar Hodgson a ?crit > The subject is pretty much the question. Perhaps there's a better > place to be asking this question ... > > We have (very briefly) discussed the possibility of using FreeBSD > pizza boxes as a storage heads direct attached to external JBOD arrays > with ZFS. In perusing the list, I haven't stumbled across indications > of people actually doing this. External JBODs would be running 24 to > 48TB each, roughly. There would be a couple of units. The pizza > boxes would be used for computational tasks, and nominally would have > 8 cores and 96G+ RAM. > I've Dell R610 + 48 Go Ram, 2x 6 core + 4 * MD1200 (36*3T + 12*2T) [root@filer ~]# zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT filer 119T 35,4T 83,9T 29% 1.00x ONLINE - [root@filer ~]# Work very fine (I can't say I've long experience because the server is up since just 4 months). The ZFS is very good, easy to manage, very fast. They're two default IMHO : Eat lot of Ram cannot synchronize two zpool automaticaly like HammerFS Regards. JAS -- Albert SHIH DIO b?timent 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@jabber.obspm.fr Heure local/Local time: ven 1 jui 2012 07:17:47 CEST From matthew at FreeBSD.org Fri Jun 1 06:00:26 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Fri Jun 1 06:00:33 2012 Subject: Corrections to: unable to upgrade to mysql55-server In-Reply-To: <20120531231411.M27823@brightstar.bomgardner.net> References: <20120530165017.M37727@brightstar.bomgardner.net> <4FC65661.2020709@FreeBSD.org> <20120531231411.M27823@brightstar.bomgardner.net> Message-ID: <4FC85A71.7090206@FreeBSD.org> On 01/06/2012 00:32, Gene wrote: > Actually, I did just as above except using portmanager.. Tried deleting the > two packages & tried again with portmaster. Still no luck. So I deleted them > again and installed from packages. mysql-client-5.4.. installed lib/mysql/ > libmysqlclient.so.18, but mysql-server-5.4... wanted lib/mysql/ > libmysqlclient.so.16. Finally, after giving ritual sacrifice to the backup > gods, I went to the ZFS snapshots and just restored directories wholesale and > everything is working again albeit with previous versions of mysql (and > postfix which also gave me fits) but with the package database entries now > missing (for some strange reason, I hadn't been backing up that directory. > You'd think I'd learn - if it ain't broke, don't fix it. Something is definitely not right with your system. It really shouldn't be that painful. The missing package database entries can usually be recovered by forcing a reinstall of the package over what is already on disk, but if everything is working properly, I wouldn't worry too much about the contents of /var/db/pkg. I'm thinking that having the registry of installed ports in a completely separate partition or ZFS (ie /var) to where the ports are installed (/usr/local) is not ideal, especially when using snapshots to provide a roll-back capability. /usr/local/var/db/pkg perhaps? > Still wonder what went wrong though.... Seems every time I try to update any > ports, things get broken, ports don't compile, etc., etc., ad infinitum, ad > nauseum. I've got to be doing something wrong. Incidentally, portmaster, when > updating mysql54-server reliably rebooted the system. Hmmm.... > > Anyone know if there is a good memory test utility that can be run on FBSD > AMD64? Yes -- you could well be having hardware problems. Try a few passes of memtest86. It's in ports, but it's a standalone application you boot into so concepts of compatibility with particular OSes is irrelevant. Also do the usual stuff removing any dust or fluff that may be clogging up the ventilation holes or heatsinks, check that you've still got a good thermal contact between the heatsink and CPU (replace thermal compound if necessary). Also make sure your power supply is up to the job. They can fade over time, or you may have added a peripheral too far. [Although generally if anything here was wrong, you'ld see the machine crashing and rebooting rather than it affecting use of the ports...] Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120601/82aa2a5c/signature.pgp From mueller23 at insightbb.com Fri Jun 1 06:29:42 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Fri Jun 1 06:29:48 2012 Subject: (no subject) Message-ID: <9E.12.15580.45168CF4@smtp02.insight.synacor.com> On 29 May 2012 20:06, wrote: >    Hello, >   I am moving away from MS products due to security a nd stability >   concerns.  Below are the machines I use and would like to know which >   version of FreeBSD will work best with each.  The computer s are used >   at home and away, for e-mail, preparing documents, databases, an d >   spredsheets, as well as, web browsing and some begining programing >   (Perl, C, HTML, and Assembely I think). Eitan Adler responded: > I don't know much about the specifics but for a desktop computer I > would go with either FreeBSD 9 or PC-BSD (perhaps with the intel kms > patch) I'd say go with FreeBSD 9.0, either 9.0-release or 9.0-stable snapshot. I ddon't see any advantage in FreeBSD 8.x or earlier. One thing I didn't like about FreeBSD < 9 was distribution sets broken into floppy-sized chunks (base.aa, base.ab ...) which is no longer the case with 9.0. For C programming, you have the choice between gcc and Clang. I like Gnumeric spreadsheet. Tom From mexas at bristol.ac.uk Fri Jun 1 07:00:26 2012 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Fri Jun 1 07:00:40 2012 Subject: MK_CLANG_IS_CC mis-formed when compiling ports In-Reply-To: <4FC82537.2090305@speakeasy.org> References: <4FC82537.2090305@speakeasy.org> Message-ID: <20120601070023.GA98123@mech-cluster241.men.bris.ac.uk> On Thu, May 31, 2012 at 07:13:11PM -0700, Thomas D. Dean wrote: > I built FrfeeBSD 9 with > WITHOUT_CLANG="Yes" > > When I try to build the net/bwn-firmware-kmod/ > > I get an error that MK_CLANG_IS_CC is mis-formed. > > If I define this in make.conf, I get an error that the user may not set > this. > > If I use 'make MK_CLANG_IS_CC="no"' the port compiles. > > How do I fix this? Why did you define WITHOUT_CLANG? On 10.0-current amd64 I build the world/kernel with no clang-related options: GEN8> cat /etc/make.conf SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+= -lsasl2 PERL_VERSION=5.14.2 WITH_PKGNG=yes #CC=clang #CXX=clang++ #CPP=clang-cpp GEN8> I have no problems when building bwn-firmware-kmod. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From brentgclarklist at gmail.com Fri Jun 1 08:20:14 2012 From: brentgclarklist at gmail.com (Brent Clark) Date: Fri Jun 1 08:20:21 2012 Subject: FreeBSD ports patch count Message-ID: <4FC873F2.5030102@gmail.com> Hiya I would just like to ask / know. Did anything weird or wonderful happen on the FreeBSD ports. To show you what I mean. [root@torry /usr/home/bclark]# portaudit -F -a; portsnap fetch update; pkg_version -vIL=; freebsd-update fetch install auditfile.tbz 100% of 77 kB 6570 Bps 00m00s New database installed. 0 problem(s) in your installed packages found. Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found. Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done. Fetching snapshot metadata... done. Updating from Thu May 31 19:58:31 SAST 2012 to Fri Jun 1 08:51:05 SAST 2012. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 4180 patches.....10....20....30....40.... 4180 patches really !!! I run the above command almost everyday, so the most I have ever really seen is 300 - 400 patches. But 4180 has got me attention. Thanks Brent From ml at my.gd Fri Jun 1 08:34:44 2012 From: ml at my.gd (Damien Fleuriot) Date: Fri Jun 1 08:34:51 2012 Subject: FreeBSD ports patch count In-Reply-To: <4FC873F2.5030102@gmail.com> References: <4FC873F2.5030102@gmail.com> Message-ID: <4FC87E89.3050609@my.gd> On 6/1/12 9:49 AM, Brent Clark wrote: > Hiya > > I would just like to ask / know. Did anything weird or wonderful happen > on the FreeBSD ports. > > To show you what I mean. > > [root@torry /usr/home/bclark]# portaudit -F -a; portsnap fetch update; > pkg_version -vIL=; freebsd-update fetch install > auditfile.tbz 100% of 77 kB 6570 Bps > 00m00s > New database installed. > 0 problem(s) in your installed packages found. > Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found. > Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done. > Fetching snapshot metadata... done. > Updating from Thu May 31 19:58:31 SAST 2012 to Fri Jun 1 08:51:05 SAST > 2012. > Fetching 4 metadata patches... done. > Applying metadata patches... done. > Fetching 0 metadata files... done. > Fetching 4180 patches.....10....20....30....40.... > > 4180 patches really !!! > > I run the above command almost everyday, so the most I have ever really > seen is 300 - 400 patches. But 4180 has got me attention. > > Thanks > Brent I may be mistaken but I would guess it has to do with the vulnerabilities addressed in OpenSSL in the 30/05/2012 update. I'm assuming authors have bumped their ports' revision numbers to force a rebuild, using the patched openssl lib. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 08:42:56 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 08:43:03 2012 Subject: How to use an external USB3.0 drive with 4k sectors? In-Reply-To: <20120531155704.GA2828@schweikhardt.net> References: <20120531155704.GA2828@schweikhardt.net> Message-ID: > # mount -t ntfs -o ro /dev/da5s1 /mnt > mount_ntfs: /dev/da5s1: Invalid argument > ) your dmesg shows drive is properly detected. seems like ntfs driver doesn't work OR MBR is't properly handled. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 09:00:03 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 09:00:10 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: > 48TB each, roughly. There would be a couple of units. The pizza > boxes would be used for computational tasks, and nominally would have > 8 cores and 96G+ RAM. > > Obvious questions are hardware compatibility and stability. I've set > up small FreeBSD 9 machines with ZFS roots and simple mirrors for > other tasks here, and those have been successful so far. > > Observations would be appreciated. > you idea of using disks in JBOD style (no "hardware" RAID) is good, but of using ZFS is bad. i would recommend you to do some real performance testing of ZFS on any config under real load (workload doesn't fit cache, there are many different things done by many users/programs) and compare it to PROPERLY done UFS config on such config (with the help of gmirror/gstripe) if you will have better result you certainly didn't configure the latter case (UFS,Gmirror,gstripe) properly :) in spite of large scale hype and promotion of this free software (which by itself should be red alert for you), i strongly recommend to stay away from it. and definitely do not use it if you will not have regular backups of all data, as in case of failures (yes they do happen) you will just have no chance to repair it. There is NO fsck_zfs! And ZFS is promoted as it "doesn't need" it. Assuming that filesystem doesn't need offline filesystem check utility because it "never crash" is funny. In the other hand i never ever heard of UFS failsystem failure that was not a result of physical disk failure and resulted in bad damage. in worst case some files or one/few subdirectory landed in lost+found, and some recently (minutes at most) done things wasn't here. if you still like to use it, do not forget it uses many times more CPU power than UFS in handling filesystem, leaving much to computation you want to do. As of memory you may limit it's memory (ab)usage by adding proper statements to loader.conf but still it uses enormous amount of it. with 96GB it may not be a problem for you, or it may depends how much memory you need for computation. if you need help in properly configuring large storage with UFS and gmirror/gstripe tools then feel free to ask From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 09:00:57 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 09:01:04 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: > > I am also in charge of redesigning one of our virtual SAN's to a > FreeBSD ZFS storage system which will run.... well how many JBOD's can > you fit on the system?? Probably round ~100TB or so..... quite a bit more without buying overpriced things From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 09:04:59 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 09:05:12 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <70D99F583BF63C05BB39CCAF@mac-pro.magehandbook.com> References: <70D99F583BF63C05BB39CCAF@mac-pro.magehandbook.com> Message-ID: > I'm not using as huge a dataset, but I was seeing this behavior as well when > I first set my box up. What was happening was that ZFS was caching *lots* of > writes, and then would dump them all to disk at once, during which time the > computer was completely occupied with the disk I/O. > > The solution (suggested from ) for me > was: > vfs.zfs.txg.timeout="5" both problem, and solution is very close to linux style ext2/3/4 and it's behaviour. And one of the main reason to moving out from this s..t to FreeBSD. (the other was networking) UFS writes out complete MAXBSIZE sized chunks quickly. all of that behaviour or linux (and probably ZFS) are because it often gives better result in benchmark, and people love synthetic benchmarks. From mike at milibyte.co.uk Fri Jun 1 09:06:30 2012 From: mike at milibyte.co.uk (Mike Clarke) Date: Fri Jun 1 09:06:38 2012 Subject: Address to reach human operator regarding problems with list? In-Reply-To: References: Message-ID: <201206011003.11321.mike@milibyte.co.uk> On Thursday 31 May 2012 11:06:24 Thomas Mueller wrote: > I contacted my Internet service provider, Insight Cable, about the problem, > and they need a copy of any message that bounces, so they can see what went > awry. I had the same problem a while ago with my ISP (Plusnet). Standard response from front line support is to say you need to send a copy of the message that you never had. Eventually I diverted my questions@ mail to a server that I had control of and relayed the messages from there to my ISP account so I could monitor the logs. The spam was being rejected with "552 Spam Message Rejected" and no information was returned to identify the email. Most of the rejected mail was spam but there were a small number of false positives. When I managed to get past the ISP's front line support they removed the addresses for the false positives from the blacklist but this is only a temporary fix since more addresses keep wrongly finding heir way onto the list over time, though they do eventually drop off it again. Plusnet use Cloudmark spam filtering and I see from the OP's headers that Insight also use Cloudmark so I'd expect similar things are happening there. I was able to stop the bounces by adding freebsd.org to the whitelist on my ISP account - but with the downside of seeing more spam on the list. -- Mike Clarke From matthew at FreeBSD.org Fri Jun 1 09:25:21 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Fri Jun 1 09:25:39 2012 Subject: FreeBSD ports patch count In-Reply-To: <4FC87E89.3050609@my.gd> References: <4FC873F2.5030102@gmail.com> <4FC87E89.3050609@my.gd> Message-ID: <4FC88A78.2090902@FreeBSD.org> On 01/06/2012 09:34, Damien Fleuriot wrote: > On 6/1/12 9:49 AM, Brent Clark wrote: >> Hiya >> >> I would just like to ask / know. Did anything weird or wonderful happen >> on the FreeBSD ports. >> >> To show you what I mean. >> >> [root@torry /usr/home/bclark]# portaudit -F -a; portsnap fetch update; >> pkg_version -vIL=; freebsd-update fetch install >> auditfile.tbz 100% of 77 kB 6570 Bps >> 00m00s >> New database installed. >> 0 problem(s) in your installed packages found. >> Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found. >> Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done. >> Fetching snapshot metadata... done. >> Updating from Thu May 31 19:58:31 SAST 2012 to Fri Jun 1 08:51:05 SAST >> 2012. >> Fetching 4 metadata patches... done. >> Applying metadata patches... done. >> Fetching 0 metadata files... done. >> Fetching 4180 patches.....10....20....30....40.... >> >> 4180 patches really !!! >> >> I run the above command almost everyday, so the most I have ever really >> seen is 300 - 400 patches. But 4180 has got me attention. >> >> Thanks >> Brent > > > I may be mistaken but I would guess it has to do with the > vulnerabilities addressed in OpenSSL in the 30/05/2012 update. > > I'm assuming authors have bumped their ports' revision numbers to force > a rebuild, using the patched openssl lib. There might be a little of that, but most of the recent activity is accounted for by * Numerous ports moving to the new OPTIONSng framework * Hundreds of PORTREVISION bumps after an update to graphics/png * Removal of old koffice ports and the import of the Calligra office suite to replace it. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120601/e48982a0/signature-0001.pgp From schweikh at schweikhardt.net Fri Jun 1 09:47:06 2012 From: schweikh at schweikhardt.net (Jens Schweikhardt) Date: Fri Jun 1 09:47:14 2012 Subject: How to use an external USB3.0 drive with 4k sectors? In-Reply-To: References: Message-ID: <20120601094651.GA2721@schweikhardt.net> On Thu, May 31, 2012 at 06:14:08PM -0400, Thomas Mueller wrote: ... # I think you also need xhci driver in kernel config. xhci is for USB 3.0. It's there. As I said, using a USB 3 *Stick* works fine. It is recogized as 3.0 and the speed is as expected. It's the *Disk* that is not recognized. They're both umass devices. I don't need to boot from that disk, I just want to use it as external data storage. I have recompiled the kernel with "device ada" and put ahci_load="YES" in /boot/loader.conf. When I plug the disk, the log now says ugen4.2: at usbus4 umass0: on usbus4 only once (the old kernel would says so every 20 seconds or so). In contrast, when I plug the stick in the same port, I get ugen4.2: at usbus4 umass0: on usbus4 da0 at umass-sim0 bus 0 scbus8 target 0 lun 0 da0: Removable Direct Access SCSI-5 device da0: 400.000MB/s transfers da0: 15082MB (30887936 512 byte sectors: 255H 63S/T 1922C) and mounting it works. Obviously, for the disk the device nodes aren't created... Is there something different between umass sticks and umass drives? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From beni.brinckman at gmail.com Fri Jun 1 09:48:46 2012 From: beni.brinckman at gmail.com (Beni Brinckman) Date: Fri Jun 1 09:48:55 2012 Subject: vpn speed loss Message-ID: Hi, I'm running FreeBSD 9.0-RELEASE (pc-bsd 9.0 actuallly) on amd64 and I'm using a vpn connexion. My problem is the enormous speed loss i'm having when I'm using the vpn connexion. I have tried Openvpn and mpd5 (with a pptp and l2pt connexion) and the max speed (according to various speedtests) is 5 to 6MB. Without the vpn I'm having 45-50 MB... My vpn service has servers in several European countries and US, Canada, etc. The speed stays the same. So I don't think it is a specific bsd problem but the lines/connexion between ISP's. Is this the "normal" speed when using a vpn (independently of the used program to connect) ? Because from 45-50 back to 5-6 is a big step backward... Thanks for any insights here. Beni From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 09:58:04 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 09:58:11 2012 Subject: vpn speed loss In-Reply-To: References: Message-ID: > vpn connexion. > I have tried Openvpn and mpd5 (with a pptp and l2pt connexion) and the > max speed (according to various speedtests) is 5 to 6MB. 5-6MB = megabytes per second? megabytes per hour? per year? be more precise. > Without the vpn I'm having 45-50 MB... My vpn service has servers in do not expect high performance with VPN and ESPECIALLY on this protocols. no idea really how openvpn works, but if you can choose between TCP based and UDP based VPN then try both. UDP is better in protocol point of view but it may be bad for OS overhead. TCP is better with OS overhead but may result in retransmit mess when there are packet loss (both native traffic is retransmitted and then virtual traffic) From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 10:00:54 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 10:01:01 2012 Subject: How to use an external USB3.0 drive with 4k sectors? In-Reply-To: <20120601094651.GA2721@schweikhardt.net> References: <20120601094651.GA2721@schweikhardt.net> Message-ID: > I have recompiled the kernel with "device ada" and put ahci_load="YES" in > /boot/loader.conf. you don't need ada driver for USB disk. anyway you need it for your SATA disk to make things fast. > and mounting it works. Obviously, for the disk the device nodes aren't created... > Is there something different between umass sticks and umass drives? lost of USB devices are not really standard compliant. From schweikh at schweikhardt.net Fri Jun 1 10:01:18 2012 From: schweikh at schweikhardt.net (Jens Schweikhardt) Date: Fri Jun 1 10:01:25 2012 Subject: How to use an external USB3.0 drive with 4k sectors? In-Reply-To: References: <20120531155704.GA2828@schweikhardt.net> Message-ID: <20120601100107.GB2721@schweikhardt.net> Hi Wojciech et al, On Fri, Jun 01, 2012 at 10:42:53AM +0200, Wojciech Puchar wrote: # > # mount -t ntfs -o ro /dev/da5s1 /mnt # > mount_ntfs: /dev/da5s1: Invalid argument # > ) # your dmesg shows drive is properly detected. Yes, but this was only on a USB2 (two) port, and just an auxiliary information, to show the drive is not dead or otherwise funky. Once I get it running, I'll put an UFS2 on it. My goal is to get it recognized on one of the two USB3 ports I have. All I get there is Jun 1 11:43:45 hal9000 kernel: ugen4.2: at usbus4 Jun 1 11:43:45 hal9000 kernel: umass0: on usbus4 and after 100 seconds: Jun 1 11:45:26 hal9000 kernel: ugen4.2: at usbus4 (disconnected) Jun 1 11:45:26 hal9000 kernel: umass0: at uhub4, port 2, addr 1 (disconnected) There never is a device node like /dev/daN created, like it does for the USB 3.0 *stick* I have. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From mexas at bristol.ac.uk Fri Jun 1 10:10:14 2012 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Fri Jun 1 10:10:22 2012 Subject: netstat: kvm_read: Bad address Message-ID: <20120601100943.GA2345@mech-cluster241.men.bris.ac.uk> On ia64 r231193 I get: # netstat -r netstat: kvm_read: Bad address What's the problem? Thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From c.kworr at gmail.com Fri Jun 1 10:30:42 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Fri Jun 1 10:30:49 2012 Subject: netstat: kvm_read: Bad address In-Reply-To: <20120601100943.GA2345@mech-cluster241.men.bris.ac.uk> References: <20120601100943.GA2345@mech-cluster241.men.bris.ac.uk> Message-ID: <4FC899CD.3000609@gmail.com> Anton Shterenlikht wrote: > On ia64 r231193 I get: > > # netstat -r > netstat: kvm_read: Bad address > > What's the problem? > > Thanks > For jail environment this means that /dev is not mounted. -- Sphinx of black quartz judge my vow. From mexas at bristol.ac.uk Fri Jun 1 10:40:43 2012 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Fri Jun 1 10:40:50 2012 Subject: netstat: kvm_read: Bad address In-Reply-To: <4FC899CD.3000609@gmail.com> References: <20120601100943.GA2345@mech-cluster241.men.bris.ac.uk> <4FC899CD.3000609@gmail.com> Message-ID: <20120601104034.GA2925@mech-cluster241.men.bris.ac.uk> On Fri, Jun 01, 2012 at 01:30:37PM +0300, Volodymyr Kostyrko wrote: > Anton Shterenlikht wrote: > >On ia64 r231193 I get: > > > ># netstat -r > >netstat: kvm_read: Bad address > > > >What's the problem? > > > >Thanks > > > > For jail environment this means that /dev is not mounted. I'm sure I've got /dev mounted: # df Filesystem 512-blocks Used Avail Capacity Mounted on /dev/da0p2 111708308 26738332 76033312 26% / devfs 2 2 0 100% /dev /dev/da2p1 68882164 36110624 27260968 57% /usr/ports /dev/da0p1 409360 2320 407040 1% /efi # ls /dev acpi bpf bpf0 console ctty cuau0 cuau0.init cuau0.lock cuau1 cuau1.init cuau1.lock cuau2 cuau2.init cuau2.lock cuau3 cuau3.init cuau3.lock cuau4 cuau4.init cuau4.lock da0 da0p1 da0p2 da0p3 da1 da2 da2p1 devctl devstat dumpdev fd fido geom.ctl io ipauth ipl iplookup ipnat ipscan ipstate ipsync klog kmem log mdctl mem mpt0 mpt1 nfslock null pass0 pass1 pass2 pci ptmx pts random stderr stdin stdout ttyu0 ttyu0.init ttyu0.lock ttyu1 ttyu1.init ttyu1.lock ttyu2 ttyu2.init ttyu2.lock ttyu3 ttyu3.init ttyu3.lock ttyu4 ttyu4.init ttyu4.lock ugen0.1 ugen1.1 ugen2.1 urandom usb usbctl xpt0 zero zfs -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From peter at vereshagin.org Fri Jun 1 11:36:35 2012 From: peter at vereshagin.org (Peter Vereshagin) Date: Fri Jun 1 11:36:43 2012 Subject: How to indicate source directory in other than /usr/src? In-Reply-To: <20120530130441.GB26437@screwed.box> References: <45.0C.29097.33EF5CF4@smtp01.insight.synacor.com> <20120530130441.GB26437@screwed.box> Message-ID: <20120601113616.GA5932@external.screwed.box> Hello. 2012/05/30 17:04:42 +0400 Peter Vereshagin => To freebsd-questions@freebsd.org : PV> xterm works for me in my mutt under tmux, ask me if you need to tweak locale ( I see his L char with the '/' over it in place, and the cyrilic letters in my other mail, too ) PV> PV> mlterm is better for asian languages; it's unlikely that European ones should be shown better in mlterm rather than in xterm. I have to correct myself here: xterm-261 'just works' but not xterm-279 that is an up to date port. I have just fixed my cyrillic and pdeudo-graphics by backing off x11/xterm to '261' version. Of course I borrowed with those +/- for 'wc', 'lc', 'u8' stuff and none of them made 279 to behave the same as 261 for non-ascii. -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From kayasaman at gmail.com Fri Jun 1 11:44:01 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Fri Jun 1 11:44:08 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: > > and definitely do not use it if you will not have regular backups of all > data, as in case of failures (yes they do happen) you will just have no > chance to repair it. > > There is NO fsck_zfs! And ZFS is promoted as it "doesn't need" it. > > Assuming that filesystem doesn't need offline filesystem check utility > because it "never crash" is funny. > zfs scrub...??? Additionally ZFS works directly at the block level of the HD meaning that it is slightly different to the 'normal' file systems in storing information and is also "self healing"...... Though I'm sure that you knew all this and have found otherwise. I mean I haven't found any problem with it even after power failures and such and my machine has been up for nearly 3 years. Regards, Kaya From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 12:37:41 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 12:37:49 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: >> Assuming that filesystem doesn't need offline filesystem check utility >> because it "never crash" is funny. >> > > zfs scrub...??? when starting means crash quickly? Well.. no. Certainly with computers that never have hardware faults and assuming ZFS doesn't have any software bugs you may be right. But in real world you will be hardly punished some day ;) > Additionally ZFS works directly at the block level of the HD meaning > that it is slightly different to the 'normal' file systems in storing > information and is also "self healing"...... doesn't other filesystem work on block level too? if no - then at what level? From kayasaman at gmail.com Fri Jun 1 13:05:57 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Fri Jun 1 13:06:04 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: > >> Additionally ZFS works directly at the block level of the HD meaning >> that it is slightly different to the 'normal' file systems in storing >> information and is also "self healing"...... > > > doesn't other filesystem work on block level too? if no - then at what > level? > > It was my impression that ZFS doesn't actually format the disk as stores data as raw information on the hard disk directly rather then using an actual "file system" structure as such. That's what I was trying to get at by that statement. This is really what made ZFS standout over other types of file systems. In doing that according to everything I have read, it actually means faster I/O and ease of portability incase the disks need to be removed from their current location and added elsewhere but not loosing information. Unlike clunky hardware RAID systems ZFS adds much more versitility too which of course being at this depth of knowledge you are aware of and may even have a means to compare, however I personally prefer it over RAID as RAID is rubbish dealing with it everyday I am fed up of creating non-dynamic arrays. I cannot compre directly to the more advanced UFS2 techniques but my money would be with ZFS over RAID and LVM any day and don't even give me M$ systems they would be out the window before being booted for the first time...... Regards, Kaya From feenberg at nber.org Fri Jun 1 14:30:37 2012 From: feenberg at nber.org (Daniel Feenberg) Date: Fri Jun 1 14:33:02 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: On Fri, 1 Jun 2012, Wojciech Puchar wrote: >>> Assuming that filesystem doesn't need offline filesystem check utility >>> because it "never crash" is funny. >>> >> >> zfs scrub...??? > > when starting means crash quickly? > Well.. no. > > Certainly with computers that never have hardware faults and assuming ZFS > doesn't have any software bugs you may be right. > > But in real world you will be hardly punished some day ;) > >> Additionally ZFS works directly at the block level of the HD meaning >> that it is slightly different to the 'normal' file systems in storing >> information and is also "self healing"...... > > doesn't other filesystem work on block level too? if no - then at what level? > If the OP really intended to stripe disks with no parity or mirror for ZFS , then that is probably a mistake. If the disks are /tmp, it might make sense to stripe disks without parity, but no need for ZFS. The OP did say "JBOD", which to me means that each disk is a separate disk partition with no striping or parity. Again, in that case I don't see any need for ZFS. As for ZFS being dangerous, we have a score of drive-years with no loss of data. The lack of fsck is considered in this intelligently written piece http://www.osnews.com/story/22423/Should_ZFS_Have_a_fsck_Tool_ The link to the emotional posting by Jeff Bomwick is broken, but the original is available at: http://mail.opensolaris.org/pipermail/zfs-discuss/2008-October/022324.html daniel feenberg nber From freebsd at edvax.de Fri Jun 1 14:35:22 2012 From: freebsd at edvax.de (Polytropon) Date: Fri Jun 1 14:39:47 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: <20120601163520.f130cdcd.freebsd@edvax.de> On Fri, 1 Jun 2012 14:05:57 +0100, Kaya Saman wrote: > It was my impression that ZFS doesn't actually format the disk as > stores data as raw information on the hard disk directly rather then > using an actual "file system" structure as such. In worst... in ultra-worst abysmal inexpected exceptional and unbelievable narrow cases, when you don't have or can't access a backup (which you should have even when using ZFS), and you _need_ to do some forensic analysis on disks, ZFS seems to be a worse solution than UFS. On ZFS, you never can predict where the data will go. Add several disks to the problem, a combination of striping and mirroring mechanisms, and you will see that things start to become complicated. I do _not_ want to try to claim a "ZFS inferiority due to missing backups", but there may be occassions where (except performance), low-level file system aspects of UFS might be superior to using ZFS. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 15:03:34 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 15:11:03 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: >> level? >> >> > > It was my impression that ZFS doesn't actually format the disk as does any filesystem "format" a disk? disks are nowadays factory formatted. filesystem only write data and it's metadata on it. I really recommend you to get basic knowledge of how (any) filesystem works. THEN please discuss things. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 15:08:09 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 15:15:38 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <20120601163520.f130cdcd.freebsd@edvax.de> References: <20120601163520.f130cdcd.freebsd@edvax.de> Message-ID: > and unbelievable narrow cases, when you don't have or can't > access a backup (which you should have even when using ZFS), > and you _need_ to do some forensic analysis on disks, ZFS > seems to be a worse solution than UFS. On ZFS, you never > can predict where the data will go. Add several disks to true. in UFS for example inodes are at known place, and flat structure instead of "tree" is used. even if some sectors are overwritten with garbage then fsck can scan over inodes and recover all that can be recovered. ZFS is somehow in that part similar to Amiga "Fast" File System. when you overwrite a directory block (by hardware fault for example), everything below that directory will disappear. You may not be even aware of it until you need that data Only separate software (that - contrary to ZFS - do exist) can recover things by linearly scanning whole disk. terribly slow but at least possible. EVEN FAT16/FAT32 IS MORE SAFE. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 15:16:07 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 15:24:29 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: > As for ZFS being dangerous, we have a score of drive-years with no loss of > data. The lack of fsck is considered in this intelligently written piece you are just lucky. before i would start using anything new in such important part as filesystem, i do extreme test, ssimulate hardware faults, random overwrites etc. I did it for ZFS not once, and it fails miserably ending with unrecoverable filesystem that - at best - is without data in some subdirectory. at worst - that crashes at mount and are inaccessible forever. under FFS the worst thing i can get is loss of overwritten data only. overwritten inode - lost file. overwrite data blocks - overwritten files. nothing more! what i don't talk about is ZFS performance which is just terribly bad, except some few special cases when it is slightly faster than UFS+softupdates. It is even worse with RAID-5 style layout which ZFS do "better" with RAID-Z. Better=random read performance of single drive. From kudzu at tenebras.com Fri Jun 1 15:19:14 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Fri Jun 1 15:24:48 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <20120601163520.f130cdcd.freebsd@edvax.de> References: <20120601163520.f130cdcd.freebsd@edvax.de> Message-ID: On Fri, Jun 1, 2012 at 7:35 AM, Polytropon wrote: > I do _not_ want to try to claim a "ZFS inferiority due to > missing backups", but there may be occassions where (except > performance), low-level file system aspects of UFS might be > superior to using ZFS. If you have an operational need for offsite backups, that doesn't change no matter how much redundancy you have in a single location. Backups are still necessary. But when RAIDed, ZFS has features that make it superior to hardware RAID - copy-on-write, block deduplication, etc. Like UFS2, it supports snapshots - but a lot more of them. Another performance criterion that is important to me is mirror (or raidz) recovery - how long does mirror catch-up take when you replace a disk, and how badly does it degrade performance for other data operations? Software raid, esp. gmirror, tends to do poorly here. My experience is that ZFS raid share recovery had less of an impact. YMMV. From kudzu at tenebras.com Fri Jun 1 15:26:23 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Fri Jun 1 15:33:48 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: <20120601163520.f130cdcd.freebsd@edvax.de> Message-ID: On Fri, Jun 1, 2012 at 8:08 AM, Wojciech Puchar wrote: > ZFS is somehow in that part similar to Amiga "Fast" File System. when you > overwrite a directory block (by hardware fault for example), everything > below that directory will disappear. You may not be even aware of it until > you need that data > > Only separate software (that - contrary to ZFS - do exist) can recover > things by linearly scanning whole disk. terribly slow but at least possible. > > > > EVEN FAT16/FAT32 IS MORE SAFE. First of all, in any environment you expect disk failures. Which operationally means replacing the entire disk. Then you rely on the raid recovery mechanism (in whichever flavor of disk discipline you choose). ZFS semantics (copy on write, for example) are much safer than UFS semantics. This is not to say that UFS is not a more mature and possibly robust filesystem. But relying on gmirror, graid, etc. means you are no longer relying solely on the robustness of the underlying filesystem - you cannot offer a reduction proof that shows that if gmirror is bad, it means UFS is bad. I use UFS for most purposes, but would never build a large fileserver using gmirror on UFS. Your assertions about the dangers of ZFS are just that - assertions. They are not borne out in reality. - M From kudzu at tenebras.com Fri Jun 1 15:28:44 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Fri Jun 1 15:34:17 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: On Fri, Jun 1, 2012 at 8:16 AM, Wojciech Puchar wrote: > Better=random read performance of single drive. What an entirely useless performance measure! Maybe you should restrict yourself to using SSDs, which have rather unbeatable random read performance - the spindle speed is really high. ;-) From dnelson at allantgroup.com Fri Jun 1 15:35:32 2012 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Jun 1 15:43:12 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: <20120601163520.f130cdcd.freebsd@edvax.de> Message-ID: <20120601153525.GA16874@dan.emsphone.com> In the last episode (Jun 01), Wojciech Puchar said: > > and unbelievable narrow cases, when you don't have or can't access a > > backup (which you should have even when using ZFS), and you _need_ to do > > some forensic analysis on disks, ZFS seems to be a worse solution than > > UFS. On ZFS, you never can predict where the data will go. Add several > > disks to > > true. in UFS for example inodes are at known place, and flat structure > instead of "tree" is used. > > even if some sectors are overwritten with garbage then fsck can scan over > inodes and recover all that can be recovered. > > ZFS is somehow in that part similar to Amiga "Fast" File System. when you > overwrite a directory block (by hardware fault for example), everything > below that directory will disappear. You may not be even aware of it > until you need that data On the other hand, even on a single-disk pool, ZFS stores two copies of all metadata, so the chances of actually losing a directory block are extremely remote. On mirrored or RAIDZ pools, you have at least four copies of all metadata. -- Dan Nelson dnelson@allantgroup.com From oscar.hodgson at gmail.com Fri Jun 1 15:36:03 2012 From: oscar.hodgson at gmail.com (Oscar Hodgson) Date: Fri Jun 1 15:43:13 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <20120601052309.GA32942@pcjas.obspm.fr> References: <20120601052309.GA32942@pcjas.obspm.fr> Message-ID: Albert, What are you using for an HBA in the Dell? On Fri, Jun 1, 2012 at 1:23 AM, Albert Shih wrote: > I've Dell R610 + 48 Go Ram, 2x 6 core + 4 * MD1200 (36*3T + 12*2T) > > [root@filer ~]# zpool list > NAME ? ? SIZE ?ALLOC ? FREE ? ?CAP ?DEDUP ?HEALTH ?ALTROOT > filer ? ?119T ?35,4T ?83,9T ? ?29% ?1.00x ?ONLINE ?- > [root@filer ~]# > > Work very fine (I can't say I've long experience because the server is up > since just 4 months). > > The ZFS is very good, easy to manage, very fast. > > They're two default IMHO : > > ? ? ? ?Eat lot of Ram > > ? ? ? ?cannot synchronize two zpool automaticaly like HammerFS > > Regards. > > JAS > -- > Albert SHIH > DIO b?timent 15 > Observatoire de Paris > 5 Place Jules Janssen > 92195 Meudon Cedex > T?l?phone : 01 45 07 76 26/06 86 69 95 71 > xmpp: jas@jabber.obspm.fr > Heure local/Local time: > ven 1 jui 2012 07:17:47 CEST From vmiller at hostileadmin.com Fri Jun 1 15:36:24 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 1 15:43:29 2012 Subject: Support for Intel 82599ES? Message-ID: Hi All, I did not see the Intel 82599ES chipset in the hardware release notes for 8.3 or 9.0. Are these controllers supported at this time? -- Take care Rick Miller From Albert.Shih at obspm.fr Fri Jun 1 15:43:24 2012 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri Jun 1 15:48:23 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: <20120601052309.GA32942@pcjas.obspm.fr> Message-ID: <20120601154321.GA44155@pcjas.obspm.fr> Le 01/06/2012 ? 11:36:02-0400, Oscar Hodgson a ?crit Hi, I use a LSI SAS 9200-8e 8 port Low Profile It's working well, I got crw-r----- 1 root operator 0, 122 9 avr 10:30 /dev/da0 crw-r----- 1 root operator 0, 176 9 avr 10:30 /dev/da1 crw-r----- 1 root operator 0, 192 9 avr 10:30 /dev/da10 crw-r----- 1 root operator 0, 193 9 avr 10:30 /dev/da11 crw-r----- 1 root operator 0, 194 9 avr 10:30 /dev/da12 crw-r----- 1 root operator 0, 195 9 avr 10:30 /dev/da13 crw-r----- 1 root operator 0, 196 9 avr 10:30 /dev/da14 crw-r----- 1 root operator 0, 197 9 avr 10:30 /dev/da15 crw-r----- 1 root operator 0, 198 9 avr 10:30 /dev/da16 crw-r----- 1 root operator 0, 199 9 avr 10:30 /dev/da17 crw-r----- 1 root operator 0, 200 9 avr 10:30 /dev/da18 crw-r----- 1 root operator 0, 201 9 avr 10:30 /dev/da19 crw-r----- 1 root operator 0, 177 9 avr 10:30 /dev/da2 crw-r----- 1 root operator 0, 202 9 avr 10:30 /dev/da20 crw-r----- 1 root operator 0, 203 9 avr 10:30 /dev/da21 crw-r----- 1 root operator 0, 204 9 avr 10:30 /dev/da22 crw-r----- 1 root operator 0, 205 9 avr 10:30 /dev/da23 crw-r----- 1 root operator 0, 206 9 avr 10:30 /dev/da24 crw-r----- 1 root operator 0, 207 9 avr 10:30 /dev/da25 crw-r----- 1 root operator 0, 208 9 avr 10:30 /dev/da26 crw-r----- 1 root operator 0, 209 9 avr 10:30 /dev/da27 crw-r----- 1 root operator 0, 210 9 avr 10:30 /dev/da28 crw-r----- 1 root operator 0, 211 9 avr 10:30 /dev/da29 crw-r----- 1 root operator 0, 180 9 avr 10:30 /dev/da3 crw-r----- 1 root operator 0, 212 9 avr 10:30 /dev/da30 crw-r----- 1 root operator 0, 213 9 avr 10:30 /dev/da31 crw-r----- 1 root operator 0, 214 9 avr 10:30 /dev/da32 crw-r----- 1 root operator 0, 215 9 avr 10:30 /dev/da33 crw-r----- 1 root operator 0, 216 9 avr 10:30 /dev/da34 crw-r----- 1 root operator 0, 217 9 avr 10:30 /dev/da35 crw-r----- 1 root operator 0, 218 9 avr 10:30 /dev/da36 crw-r----- 1 root operator 0, 219 9 avr 10:30 /dev/da37 crw-r----- 1 root operator 0, 220 9 avr 10:30 /dev/da38 crw-r----- 1 root operator 0, 221 9 avr 10:30 /dev/da39 crw-r----- 1 root operator 0, 181 9 avr 10:30 /dev/da4 crw-r----- 1 root operator 0, 222 9 avr 10:30 /dev/da40 crw-r----- 1 root operator 0, 223 9 avr 10:30 /dev/da41 crw-r----- 1 root operator 0, 224 9 avr 10:30 /dev/da42 crw-r----- 1 root operator 0, 225 9 avr 10:30 /dev/da43 crw-r----- 1 root operator 0, 226 9 avr 10:30 /dev/da44 crw-r----- 1 root operator 0, 227 9 avr 10:30 /dev/da45 crw-r----- 1 root operator 0, 228 9 avr 10:30 /dev/da46 crw-r----- 1 root operator 0, 229 9 avr 10:30 /dev/da47 crw-r----- 1 root operator 0, 182 9 avr 10:30 /dev/da5 crw-r----- 1 root operator 0, 185 9 avr 10:30 /dev/da6 crw-r----- 1 root operator 0, 188 9 avr 10:30 /dev/da7 crw-r----- 1 root operator 0, 190 9 avr 10:30 /dev/da8 crw-r----- 1 root operator 0, 191 9 avr 10:30 /dev/da9 at boot. I don't use H700/H800 or Perc because all people say the raid of those stuff is no good for ZFS. Regards. JAS -- Albert SHIH DIO b?timent 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@jabber.obspm.fr Heure local/Local time: ven 1 jui 2012 17:39:06 CEST From oscar.hodgson at gmail.com Fri Jun 1 15:48:50 2012 From: oscar.hodgson at gmail.com (Oscar Hodgson) Date: Fri Jun 1 15:56:55 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: Thank you for bringing up this topic. We've got significant experience with both UFS and ZFS (as delivered by Solaris). Our internal testing has shown that UFS provides significantly better throughput, roughly 20% to 30% higher in general, and 50% higher in some specific use cases. My internal customer prefers ZFS's 'end-to-end' reliability guarantee to the higher throughput of UFS. (What's really interesting though is that he's really a long-time Linux fan at heart ... and we are now discussing FreeBSD due to its ZFS support. A Linux hardware RAID solution is not presently on the table). ZFS really is entirely different than UFS. In 2005 Bonwick put out a presentation roughly titled, "ZFS the last word in file systems". I've used those materials on a number of occasions to help explain the difference between ZFS and prior generation file systems. On Fri, Jun 1, 2012 at 4:59 AM, Wojciech Puchar wrote: >> 48TB each, roughly. ?There would be a couple of units. ?The pizza >> boxes would be used for computational tasks, and nominally would have >> 8 cores and 96G+ RAM. >> >> Obvious questions are hardware compatibility and stability. ?I've set >> up small FreeBSD 9 machines with ZFS roots and simple mirrors for >> other tasks here, and those have been successful so far. >> >> Observations would be appreciated. >> > you idea of using disks in JBOD style (no "hardware" RAID) is good, but of > using ZFS is bad. > > > i would recommend you to do some real performance testing of ZFS on any > config ?under real load (workload doesn't fit cache, there are many > different things done by many users/programs) ?and compare it to PROPERLY > done UFS config on such config (with the help of gmirror/gstripe) > > if you will have better result you certainly didn't configure the latter > case (UFS,Gmirror,gstripe) properly :) > > in spite of large scale hype and promotion of this free software (which by > itself should be red alert for you), i strongly recommend to stay away from > it. > > and definitely do not use it if you will not have regular backups of all > data, as in case of failures (yes they do happen) you will just have no > chance to repair it. > > There is NO fsck_zfs! And ZFS is promoted as it "doesn't need" it. > > Assuming that filesystem doesn't need offline filesystem check utility > because it "never crash" is funny. > > In the other hand i never ever heard of UFS failsystem failure that was not > a result of physical disk failure and resulted in bad damage. > in worst case some files or one/few subdirectory landed in lost+found, and > some recently (minutes at most) done things wasn't here. > > > if you still like to use it, do not forget it uses many times more CPU power > than UFS in handling filesystem, leaving much to computation you want to do. > > As of memory you may limit it's memory (ab)usage by adding proper statements > to loader.conf but still it uses enormous amount of it. > > with 96GB it may not be a problem for you, or it may depends how much memory > you need for computation. > > > > if you need help in properly configuring large storage with UFS and > gmirror/gstripe tools then feel free to ask From oscar.hodgson at gmail.com Fri Jun 1 15:52:54 2012 From: oscar.hodgson at gmail.com (Oscar Hodgson) Date: Fri Jun 1 16:01:25 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <20120601154321.GA44155@pcjas.obspm.fr> References: <20120601052309.GA32942@pcjas.obspm.fr> <20120601154321.GA44155@pcjas.obspm.fr> Message-ID: Are you running FreeBSD 9? Most of the LSI drivers officially support 8.2, but I don't see any indication of later updates. I presume all work OK with 9.0 ... yes? ... oscar. On Fri, Jun 1, 2012 at 11:43 AM, Albert Shih wrote: > ?Le 01/06/2012 ? 11:36:02-0400, Oscar Hodgson a ?crit > Hi, > > I use a LSI SAS 9200-8e 8 port Low Profile > > It's working well, I got > > crw-r----- ?1 root ?operator ? ?0, 122 ?9 avr 10:30 /dev/da0 > crw-r----- ?1 root ?operator ? ?0, 176 ?9 avr 10:30 /dev/da1 > crw-r----- ?1 root ?operator ? ?0, 192 ?9 avr 10:30 /dev/da10 > crw-r----- ?1 root ?operator ? ?0, 193 ?9 avr 10:30 /dev/da11 > crw-r----- ?1 root ?operator ? ?0, 194 ?9 avr 10:30 /dev/da12 > crw-r----- ?1 root ?operator ? ?0, 195 ?9 avr 10:30 /dev/da13 > crw-r----- ?1 root ?operator ? ?0, 196 ?9 avr 10:30 /dev/da14 > crw-r----- ?1 root ?operator ? ?0, 197 ?9 avr 10:30 /dev/da15 > crw-r----- ?1 root ?operator ? ?0, 198 ?9 avr 10:30 /dev/da16 > crw-r----- ?1 root ?operator ? ?0, 199 ?9 avr 10:30 /dev/da17 > crw-r----- ?1 root ?operator ? ?0, 200 ?9 avr 10:30 /dev/da18 > crw-r----- ?1 root ?operator ? ?0, 201 ?9 avr 10:30 /dev/da19 > crw-r----- ?1 root ?operator ? ?0, 177 ?9 avr 10:30 /dev/da2 > crw-r----- ?1 root ?operator ? ?0, 202 ?9 avr 10:30 /dev/da20 > crw-r----- ?1 root ?operator ? ?0, 203 ?9 avr 10:30 /dev/da21 > crw-r----- ?1 root ?operator ? ?0, 204 ?9 avr 10:30 /dev/da22 > crw-r----- ?1 root ?operator ? ?0, 205 ?9 avr 10:30 /dev/da23 > crw-r----- ?1 root ?operator ? ?0, 206 ?9 avr 10:30 /dev/da24 > crw-r----- ?1 root ?operator ? ?0, 207 ?9 avr 10:30 /dev/da25 > crw-r----- ?1 root ?operator ? ?0, 208 ?9 avr 10:30 /dev/da26 > crw-r----- ?1 root ?operator ? ?0, 209 ?9 avr 10:30 /dev/da27 > crw-r----- ?1 root ?operator ? ?0, 210 ?9 avr 10:30 /dev/da28 > crw-r----- ?1 root ?operator ? ?0, 211 ?9 avr 10:30 /dev/da29 > crw-r----- ?1 root ?operator ? ?0, 180 ?9 avr 10:30 /dev/da3 > crw-r----- ?1 root ?operator ? ?0, 212 ?9 avr 10:30 /dev/da30 > crw-r----- ?1 root ?operator ? ?0, 213 ?9 avr 10:30 /dev/da31 > crw-r----- ?1 root ?operator ? ?0, 214 ?9 avr 10:30 /dev/da32 > crw-r----- ?1 root ?operator ? ?0, 215 ?9 avr 10:30 /dev/da33 > crw-r----- ?1 root ?operator ? ?0, 216 ?9 avr 10:30 /dev/da34 > crw-r----- ?1 root ?operator ? ?0, 217 ?9 avr 10:30 /dev/da35 > crw-r----- ?1 root ?operator ? ?0, 218 ?9 avr 10:30 /dev/da36 > crw-r----- ?1 root ?operator ? ?0, 219 ?9 avr 10:30 /dev/da37 > crw-r----- ?1 root ?operator ? ?0, 220 ?9 avr 10:30 /dev/da38 > crw-r----- ?1 root ?operator ? ?0, 221 ?9 avr 10:30 /dev/da39 > crw-r----- ?1 root ?operator ? ?0, 181 ?9 avr 10:30 /dev/da4 > crw-r----- ?1 root ?operator ? ?0, 222 ?9 avr 10:30 /dev/da40 > crw-r----- ?1 root ?operator ? ?0, 223 ?9 avr 10:30 /dev/da41 > crw-r----- ?1 root ?operator ? ?0, 224 ?9 avr 10:30 /dev/da42 > crw-r----- ?1 root ?operator ? ?0, 225 ?9 avr 10:30 /dev/da43 > crw-r----- ?1 root ?operator ? ?0, 226 ?9 avr 10:30 /dev/da44 > crw-r----- ?1 root ?operator ? ?0, 227 ?9 avr 10:30 /dev/da45 > crw-r----- ?1 root ?operator ? ?0, 228 ?9 avr 10:30 /dev/da46 > crw-r----- ?1 root ?operator ? ?0, 229 ?9 avr 10:30 /dev/da47 > crw-r----- ?1 root ?operator ? ?0, 182 ?9 avr 10:30 /dev/da5 > crw-r----- ?1 root ?operator ? ?0, 185 ?9 avr 10:30 /dev/da6 > crw-r----- ?1 root ?operator ? ?0, 188 ?9 avr 10:30 /dev/da7 > crw-r----- ?1 root ?operator ? ?0, 190 ?9 avr 10:30 /dev/da8 > crw-r----- ?1 root ?operator ? ?0, 191 ?9 avr 10:30 /dev/da9 > > at boot. > > I don't use H700/H800 or Perc because all people say the raid of those > stuff is no good for ZFS. > > Regards. > > JAS > -- > Albert SHIH > DIO b?timent 15 > Observatoire de Paris > 5 Place Jules Janssen > 92195 Meudon Cedex > T?l?phone : 01 45 07 76 26/06 86 69 95 71 > xmpp: jas@jabber.obspm.fr > Heure local/Local time: > ven 1 jui 2012 17:39:06 CEST From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 16:17:43 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 16:28:34 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: <20120601052309.GA32942@pcjas.obspm.fr> Message-ID: > On Fri, Jun 1, 2012 at 1:23 AM, Albert Shih wrote: >> I've Dell R610 + 48 Go Ram, 2x 6 core + 4 * MD1200 (36*3T + 12*2T) >> >> [root@filer ~]# zpool list >> NAME ? ? SIZE ?ALLOC ? FREE ? ?CAP ?DEDUP ?HEALTH ?ALTROOT >> filer ? ?119T ?35,4T ?83,9T ? ?29% ?1.00x ?ONLINE ?- >> [root@filer ~]# >> >> Work very fine (I can't say I've long experience because the server is up >> since just 4 months). >> >> The ZFS is very good, easy to manage, very fast. i dare not to agree about "very fast". very fast is relative term. how did you configured your storage? trivial test: make 10 100GB files (so none fits in RAM) by for x in 0 1 2 3 4 5 6 7 8 9;do ( dd if=/dev/zero of=testfile$x bs=1m count=100k &) ;done measure time needed for it to finish (all dd processes exist) then install /usr/ports/benchmark/randomio and do some tests of random reads on that files. and final test - 10 randomio in parallel with 10 threads each, one per every file. then sum up results (IOPS) and divide by amount of disks you have. then decide if is it fast or slow :) >> They're two default IMHO : >> >> ? ? ? ?Eat lot of Ram can be controlled by settings in loader.conf. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 1 16:19:00 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 1 16:28:35 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: > On Fri, Jun 1, 2012 at 8:16 AM, Wojciech Puchar > wrote: > >> Better=random read performance of single drive. > > What an entirely useless performance measure! if random read performance is a useless measure for you then i really cannot help you. sorry. From Albert.Shih at obspm.fr Fri Jun 1 16:24:35 2012 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri Jun 1 16:35:41 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: <20120601052309.GA32942@pcjas.obspm.fr> Message-ID: <20120601162431.GA44290@pcjas.obspm.fr> Le 01/06/2012 ? 18:17:38+0200, Wojciech Puchar a ?crit > > i dare not to agree about "very fast". very fast is relative term. how did > you configured your storage? > > trivial test: > > make 10 100GB files (so none fits in RAM) by > > for x in 0 1 2 3 4 5 6 7 8 9;do ( dd if=/dev/zero of=testfile$x bs=1m > count=100k &) ;done > > measure time needed for it to finish (all dd processes exist) > > then install /usr/ports/benchmark/randomio and do some tests of random > reads on that files. > > and final test - 10 randomio in parallel with 10 threads each, one per > every file. > > then sum up results (IOPS) and divide by amount of disks you have. > > then decide if is it fast or slow :) When I say fast that's mean I already do some benchmarks with iozone. And do some graphs to see what the performance are. What I can say is it's go lot faster than H700+ 12 disk 600 15k/min. And I do those tests on FreeBSD with 12 disk, 24 disk, 36 disk and finaly 48 disk. All I can say is ZFS go faster than 12 disk with H700 (and ext3) almost every time. If you like I can privalty send you the url of those graph. Just ask me, > >> ? ? ? ?Eat lot of Ram > > can be controlled by settings in loader.conf. Yes, but I think that's not a good idea to buy a server with 4 Go and make him manage 100To through ZFS.... Regards. JAS -- Albert SHIH DIO b?timent 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@jabber.obspm.fr Heure local/Local time: ven 1 jui 2012 18:18:55 CEST From jfvogel at gmail.com Fri Jun 1 16:49:09 2012 From: jfvogel at gmail.com (Jack Vogel) Date: Fri Jun 1 16:55:58 2012 Subject: Support for Intel 82599ES? In-Reply-To: References: Message-ID: Yes, it is supported in the ixgbe driver. Jack On Fri, Jun 1, 2012 at 8:36 AM, Rick Miller wrote: > Hi All, > > I did not see the Intel 82599ES chipset in the hardware release notes > for 8.3 or 9.0. Are these controllers supported at this time? > > -- > Take care > Rick Miller > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From ah at dreamchaser.org Fri Jun 1 16:51:36 2012 From: ah at dreamchaser.org (Gary Aitken) Date: Fri Jun 1 17:02:18 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: References: Message-ID: <4FC8F310.3090502@dreamchaser.org> On 05/31/12 17:59, Thomas Mueller wrote: >> From Gary Aitken : > >> I've got an HP printer directly connected to the local network. > >> hp-probe finds it: > >> #hp-probe -bnet > >> HP Linux Imaging and Printing System (ver. 3.12.2) >> Printer Discovery Utility ver. 4.1 >> ... >> Device URI Model Name >> ----------------------------------------------- ------------------------ -------- >> hp:/net/Officejet_Pro_8500_A909g?ip=aa.bb.cc.dd Officejet_Pro_8500_A909g HP4356E6 > >> Found 1 printer(s) on the 'net' bus. > >> However, hp-setup and hp-uri refuse to use it: > >> #hp-makeuri -ldebug aa.bb.cc.dd > >> HP Linux Imaging and Printing System (ver. 3.12.2) >> Device URI Creation Utility ver. 5.0 >> ... >> hp-makeuri[63924]: debug: Trying IP address aa.bb.cc.dd >> hp-makeuri[63924]: debug: Not found. >> hp-makeuri[63924]: debug: Trying serial number aa.bb.cc.dd >> hp-makeuri[63924]: debug: Probing bus: usb >> hp-makeuri[63924]: debug: Probing bus: par >> error: Device not found > >> When the gui comes up, only the USB option is enabled. There is no parallel port active and no wireless on the box, but at least the network connection should be available. > >> The probe which succeeds takes several seconds, but the hp-setup gui and makeuri fail immediately, and the missing ability to set the network discovery option in the gui lead me to believe it's not even trying the ip addr. > >> Anyone with experience setting these guys up have any advice? > >> Alternately, is there anything other than a special lp filter really needed, and if not, any suggestions on the best one to use? I looked at apsfilter but the installation SETUP driver options didn't seem to include this printer. >> Thanks > > I have an HP LaserJet M1212nf MFP, and hplip/hp-setup in FreeBSD finds the printer all right when connected by Ethernet, but then fails on installing the required binary plugin. Printer is not detected at all when connected by USB. > > NetBSD 5.1_STABLE i386 with hplip 3.11.1 built from pkgsrc-wip couldn't find the printer on Ethernet, next step is to login to wireless router, and/or check the dmesg.boot, and then use the IP address found therefrom. > > pkgsrc-wip URL: http://pkgsrc-wip.sourceforge.net/ > pkgsrc URL: http://www.netbsd.org/docs/software/packages.html > > I wonder if I should have bought a printer, non-HP, with wireless, as long as it also had USB and Ethernet capability. > > Seeing security advisories for FreeBSD, my next move might be to update the source tree by csup, then rebuild (RELENG_9: 9.0-STABLE) for amd64 and build for i386 as well. Then I would have the possibility of building wine from the ports, and I could try the MS-Windows software. I also need to update the other ports, including but not limited to hplip and dependencies. I am in the process of trying to sort mine out. Found this via one of the hp linux support pages http://hplipopensource.com/hplip-web/support.html I'm in the process of trying to get mine working with their help. We'll see how that goes; will post results. In my case (network connection) they suggested running and sending them the output of: $ hp-check $ hp-probe -ldebug $ hp-makeuri -ldebug $ hp-setup -ldebug I'm in the process of sorting that out, as it may be an issue of how cups and dbus are installed which may be preventing access (file ownership issues) Gary From vmiller at hostileadmin.com Fri Jun 1 17:06:58 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 1 17:15:13 2012 Subject: Support for Intel 82599ES? In-Reply-To: References: Message-ID: Thanks, Jack! Also another support question for the lists....Is the Broadcom BCM5719 supported? I can find neither in the hardware notes for 8.3 nor 9.0. On Fri, Jun 1, 2012 at 12:49 PM, Jack Vogel wrote: > Yes, it is supported in the ixgbe driver. > > Jack > > > On Fri, Jun 1, 2012 at 8:36 AM, Rick Miller > wrote: >> >> Hi All, >> >> I did not see the Intel 82599ES chipset in the hardware release notes >> for 8.3 or 9.0. ?Are these controllers supported at this time? >> >> -- >> Take care >> Rick Miller >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > -- Take care Rick Miller From amvandemore at gmail.com Fri Jun 1 17:24:24 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Jun 1 17:35:13 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: References: Message-ID: On Thu, May 31, 2012 at 6:59 PM, Thomas Mueller wrote: > > I have an HP LaserJet M1212nf MFP, and hplip/hp-setup in FreeBSD finds the > printer all right when connected by Ethernet, but then fails on installing > the required binary plugin. Printer is not detected at all when connected > by USB. > > NetBSD 5.1_STABLE i386 with hplip 3.11.1 built from pkgsrc-wip couldn't > find the printer on Ethernet, next step is to login to wireless router, > and/or check the dmesg.boot, and then use the IP address found therefrom. > > pkgsrc-wip URL: http://pkgsrc-wip.sourceforge.net/ > pkgsrc URL: http://www.netbsd.org/docs/software/packages.html > > I wonder if I should have bought a printer, non-HP, with wireless, as long > as it also had USB and Ethernet capability. > > Seeing security advisories for FreeBSD, my next move might be to update > the source tree by csup, then rebuild (RELENG_9: 9.0-STABLE) for amd64 and > build for i386 as well. Then I would have the possibility of building wine > from the ports, and I could try the MS-Windows software. I also need to > update the other ports, including but not limited to hplip and dependencies. > I added a HP Photosmart C6300 series via CUPS using HP Photosmart c6300 Series hpijs, 3.11.5 socket://192.168.25.15:9100 Prints fine over wireless. -- Adam Vande More From imb at protected-networks.net Fri Jun 1 17:25:46 2012 From: imb at protected-networks.net (Michael Butler) Date: Fri Jun 1 17:35:34 2012 Subject: Support for Intel 82599ES? In-Reply-To: References: Message-ID: <4FC8FB16.2090907@protected-networks.net> On 06/01/12 13:06, Rick Miller wrote: > Thanks, Jack! > > Also another support question for the lists....Is the Broadcom BCM5719 > supported? I can find neither in the hardware notes for 8.3 nor 9.0. man bge From freebsd at dreamchaser.org Fri Jun 1 17:29:41 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Fri Jun 1 17:37:37 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: References: Message-ID: <4FC8FC03.1070909@dreamchaser.org> On 06/01/12 10:51, Gary Aitken wrote: > On 05/31/12 17:59, Thomas Mueller wrote: >>> From Gary Aitken : >> >>> I've got an HP printer directly connected to the local network. >> >>> hp-probe finds it: >> >>> #hp-probe -bnet >> >>> HP Linux Imaging and Printing System (ver. 3.12.2) >>> Printer Discovery Utility ver. 4.1 >>> ... >>> Device URI Model Name >>> ----------------------------------------------- ------------------------ -------- >>> hp:/net/Officejet_Pro_8500_A909g?ip=aa.bb.cc.dd Officejet_Pro_8500_A909g HP4356E6 >> >>> Found 1 printer(s) on the 'net' bus. >> >>> However, hp-setup and hp-uri refuse to use it: >> >>> #hp-makeuri -ldebug aa.bb.cc.dd >> >>> HP Linux Imaging and Printing System (ver. 3.12.2) >>> Device URI Creation Utility ver. 5.0 >>> ... >>> hp-makeuri[63924]: debug: Trying IP address aa.bb.cc.dd >>> hp-makeuri[63924]: debug: Not found. >>> hp-makeuri[63924]: debug: Trying serial number aa.bb.cc.dd >>> hp-makeuri[63924]: debug: Probing bus: usb >>> hp-makeuri[63924]: debug: Probing bus: par >>> error: Device not found >> >>> When the gui comes up, only the USB option is enabled. There is no parallel port active and no wireless on the box, but at least the network connection should be available. >> >>> The probe which succeeds takes several seconds, but the hp-setup gui and makeuri fail immediately, and the missing ability to set the network discovery option in the gui lead me to believe it's not even trying the ip addr. >> >>> Anyone with experience setting these guys up have any advice? >> >>> Alternately, is there anything other than a special lp filter really needed, and if not, any suggestions on the best one to use? I looked at apsfilter but the installation SETUP driver options didn't seem to include this printer. >>> Thanks >> >> I have an HP LaserJet M1212nf MFP, and hplip/hp-setup in FreeBSD finds the printer all right when connected by Ethernet, but then fails on installing the required binary plugin. Printer is not detected at all when connected by USB. >> >> NetBSD 5.1_STABLE i386 with hplip 3.11.1 built from pkgsrc-wip couldn't find the printer on Ethernet, next step is to login to wireless router, and/or check the dmesg.boot, and then use the IP address found therefrom. >> >> pkgsrc-wip URL: http://pkgsrc-wip.sourceforge.net/ >> pkgsrc URL: http://www.netbsd.org/docs/software/packages.html >> >> I wonder if I should have bought a printer, non-HP, with wireless, as long as it also had USB and Ethernet capability. >> >> Seeing security advisories for FreeBSD, my next move might be to update the source tree by csup, then rebuild (RELENG_9: 9.0-STABLE) for amd64 and build for i386 as well. Then I would have the possibility of building wine from the ports, and I could try the MS-Windows software. I also need to update the other ports, including but not limited to hplip and dependencies. > > I am in the process of trying to sort mine out. > Found this via one of the hp linux support pages > http://hplipopensource.com/hplip-web/support.html > I'm in the process of trying to get mine working with their help. > We'll see how that goes; will post results. > > In my case (network connection) they suggested running and sending them the output of: > > $ hp-check > $ hp-probe -ldebug > $ hp-makeuri -ldebug > $ hp-setup -ldebug > > I'm in the process of sorting that out, as it may be an issue of how cups and dbus are installed which may be preventing access (file ownership issues) hp-check indicated what it thought were inconsistencies; things it couldn't find but should have because they were there. the output didn't jibe with file permissions and running daemons, but I did see one potential issue (a missing python capability which was not one of the defaults. can't remember which, maybe in the cups install) I did a make clean, make config, make install, and that got me a lot further. In the config, I think for something cups related, I checked the python capability. When I run hp-setup now, it finds the printer, but it can't find an appropriate ppd file. Working on that now. The right one is there, but for some reason it claims it's not a close-enough match. Gary From ah at dreamchaser.org Fri Jun 1 17:38:27 2012 From: ah at dreamchaser.org (Gary Aitken) Date: Fri Jun 1 17:38:39 2012 Subject: How to use an external USB3.0 drive with 4k sectors? In-Reply-To: <20120601100107.GB2721@schweikhardt.net> References: <20120531155704.GA2828@schweikhardt.net> <20120601100107.GB2721@schweikhardt.net> Message-ID: <4FC8FE11.3020700@dreamchaser.org> On 06/01/12 04:01, Jens Schweikhardt wrote: > My goal is to get it recognized on one of the two USB3 ports I have. > All I get there is > Jun 1 11:43:45 hal9000 kernel: ugen4.2: at usbus4 > Jun 1 11:43:45 hal9000 kernel: umass0: on usbus4 > and after 100 seconds: > Jun 1 11:45:26 hal9000 kernel: ugen4.2: at usbus4 (disconnected) > Jun 1 11:45:26 hal9000 kernel: umass0: at uhub4, port 2, addr 1 (disconnected) > > There never is a device node like /dev/daN created, like it does > for the USB 3.0 *stick* I have. Any chance you have access to a 3.0 drive from a different mfg you can try to point the finger at the driver? seagate go-flex works. From nobody at remailer.paranoici.org Fri Jun 1 17:43:10 2012 From: nobody at remailer.paranoici.org (Anonymous) Date: Fri Jun 1 17:44:05 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: Message-ID: <2bc678ae2662c322990cd4b8053956a8@remailer.paranoici.org> > Certainly with computers that never have hardware faults and assuming ZFS > doesn't have any software bugs you may be right. That was part of their assumption. It's based on server grade hardware and ECC RAM, and lots of redundancy. They missed the part about their code not being perfect. > But in real world you will be hardly punished some day ;) Yep, big time. Hardly as in hard, not as in barely. From vmiller at hostileadmin.com Fri Jun 1 17:45:14 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 1 17:45:26 2012 Subject: Support for Intel 82599ES? In-Reply-To: <4FC8FB16.2090907@protected-networks.net> References: <4FC8FB16.2090907@protected-networks.net> Message-ID: Thanks, Michael! I took a look at the manpage and it does appear that it is supported by the bge driver. It also states that the 572x controller is also supported, but I heard a rumor stating that the BCM5720 in particular did not work even though the manpage indicates it is supported. I was unable to verify this, but that's why I was asking for clarification. I will assume it works at this point. On Fri, Jun 1, 2012 at 1:25 PM, Michael Butler wrote: > On 06/01/12 13:06, Rick Miller wrote: >> Thanks, Jack! >> >> Also another support question for the lists....Is the Broadcom BCM5719 >> supported? ?I can find neither in the hardware notes for 8.3 nor 9.0. > > man bge > > -- Take care Rick Miller From seanbru at yahoo-inc.com Fri Jun 1 17:57:56 2012 From: seanbru at yahoo-inc.com (Sean Bruno) Date: Fri Jun 1 17:58:09 2012 Subject: Support for Intel 82599ES? In-Reply-To: References: <4FC8FB16.2090907@protected-networks.net> Message-ID: <1338573468.2990.2.camel@powernoodle-l7.corp.yahoo.com> On Fri, 2012-06-01 at 10:45 -0700, Rick Miller wrote: > BCM5720 I haven't gotten this working on my Dell R620 via bge(4), but we are actively working on it. Sean From its.code.in.here at gmail.com Fri Jun 1 18:55:02 2012 From: its.code.in.here at gmail.com (Dwayne Henderson) Date: Fri Jun 1 18:55:11 2012 Subject: How to crontab screen with script inside and a "don't run it if it's already running" check? Message-ID: I run this Ruby script 24/7 (records data from this live stream). It runs inside a screen though, so it's easy to check in on it every once in a while. But how do I crontab the screen with the script inside it? It has to be with a "don't run it if it's already running" check. So far I have this (untested) - what y'all think? */10 * * * * lockf -t 0 /home/anonymous/.myscript.lock /usr/local/bin/screen -dm /home/anonymous/.rvm/rubies/ruby-1.9.3-p0/bin/ruby /home/anonymous/myscript.rb --Dwayne From jan0sch at gmx.net Fri Jun 1 19:41:22 2012 From: jan0sch at gmx.net (Jens Jahnke) Date: Fri Jun 1 19:41:29 2012 Subject: How to crontab screen with script inside and a "don't run it if it's already running" check? In-Reply-To: References: Message-ID: <20120601213900.2d0825b6.jan0sch@gmx.net> Hi, On Fri, 1 Jun 2012 20:55:00 +0200 Dwayne Henderson wrote: DH> I run this Ruby script 24/7 (records data from this live stream). DH> It runs inside a screen though, so it's easy to check in on it DH> every once in a while. DH> DH> But how do I crontab the screen with the script inside it? It has DH> to be with a "don't run it if it's already running" check. DH> [...] maybe you should create a shell alias. I do the following for my irssi session: # Start irssi within screen or switch to it if it is already running. alias irssi='if pgrep -u $USER irssi;then screen -U -x irssi;else screen -S irssi irssi;fi' Regards, Jens -- 01. Brachet 2012, 21:37 Homepage : http://www.jan0sch.de It is a sobering thought that when Mozart was my age, he had been dead for 2 years. -- Tom Lehrer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 704 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120601/5889d498/attachment.pgp From freebsd at dreamchaser.org Fri Jun 1 19:51:43 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Fri Jun 1 19:51:52 2012 Subject: Audio CD issue -- most everything but noise ASUS M4A89TD mobo In-Reply-To: <20120601001628.db4b8c44.freebsd@edvax.de> References: <4FC711F6.6040206@dreamchaser.org> <20120531135420.07939dbe.freebsd@edvax.de> <4FC7B7CD.9050204@dreamchaser.org> <20120531205620.344af89b.freebsd@edvax.de> <4FC7D7EF.3010304@dreamchaser.org> <20120601001628.db4b8c44.freebsd@edvax.de> Message-ID: <4FC91D4A.4000609@dreamchaser.org> On 05/31/12 16:16, Polytropon wrote: > Impedance and level mismatch would be the typical reason > for this. But basically, it's not _much_ worse than using > an internal analog connection. Probably ok if you soldered it up so you didn't have the mismatch from crappy high impedance plug-in connections. You don't happen to know if the analog out (back of drive plug, not the headphone jack) impedance and signal level on a cd is close to matching the line-in on a card, do you? I'm guessing not. Most likely would smoke the card/mobo. >>> Okay, this means the mixer doesn't even have a CD audio >>> mixer channel. If I remember correctly, this channel is >>> directly associated to the internal audio connector which >>> is _not_ present in your system. >> >> You mean a cd mixer channel for digital audio only shows up >> if there is a physical analog audio input??? > > Oh god, I hope not! It looks to me like a digital audio channel won't show up under any circumstances; it will take a second bridge driver designed to eat cd digital audio, and the overarching sound driver could pick that up. > I really have no idea how digital audio output is actually > represented in the mixer. The "mixer" program will allow > you to manipulate the levels of channels that are reported > by the mixer driver (which in turn accesses the sound > hardware); if the "sound card" doesn't report to have > CD audio, the corresponding item won't be available. > > Additionally, I'm not sure if "forcing" a CD audio > output (no idea how, maybe by changing the driver's > source code?) could affect digital CD audio because > even though they serve the same purpose, they are > not related "in wires". >From my (limited) understanding as a result of this discussion, it looks to me like freebsd doesn't work with digital cd audio at all. If there's no general device to pick up digital audio from the cd, the only way the sound driver could get it would be for a bridge driver, or the sound driver itself, to pick up the cd digital audio and present it. It's difficult to believe that a normal sound bridge driver would be reaching out to a different device and doing that. As it stands, cd audio seems to work by picking up the analog audio output and converting it. Which is what you told me in the first place in less detail :-). Correct me if I'm wrong... > A possible way would be to use cdparanoia or something > like that to extract the data digitally, and then play > it; "then" also means "in a pipe". No real solution, > I admit. Thanks, may look into that. >> %cat /dev/sndstat >> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) >> Installed devices: >> pcm0: (play) >> pcm1: (play/rec) default >> pcm2: (play/rec) >> pcm3: (play) >> pcm4: (play) > > Do you maybe also have multiple mixer devices associated? > Check > % ls /dev/mixer* boatloads... mixer0 thru mixer4 Reading snd_hda I see now where they are coming from. thanks. From lumiwa at gmail.com Fri Jun 1 21:30:53 2012 From: lumiwa at gmail.com (ajtiM) Date: Fri Jun 1 21:31:00 2012 Subject: FreeBSD ports patch count In-Reply-To: <4FC88A78.2090902@FreeBSD.org> References: <4FC873F2.5030102@gmail.com> <4FC87E89.3050609@my.gd> <4FC88A78.2090902@FreeBSD.org> Message-ID: <201206011630.35183.lumiwa@gmail.com> On Friday 01 June 2012 04:25:12 Matthew Seaman wrote: > On 01/06/2012 09:34, Damien Fleuriot wrote: > > On 6/1/12 9:49 AM, Brent Clark wrote: > >> Hiya > >> > >> I would just like to ask / know. Did anything weird or wonderful happen > >> on the FreeBSD ports. > >> > >> To show you what I mean. > >> > >> [root@torry /usr/home/bclark]# portaudit -F -a; portsnap fetch update; > >> pkg_version -vIL=; freebsd-update fetch install > >> auditfile.tbz 100% of 77 kB 6570 Bps > >> 00m00s > >> New database installed. > >> 0 problem(s) in your installed packages found. > >> Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found. > >> Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done. > >> Fetching snapshot metadata... done. > >> Updating from Thu May 31 19:58:31 SAST 2012 to Fri Jun 1 08:51:05 SAST > >> 2012. > >> Fetching 4 metadata patches... done. > >> Applying metadata patches... done. > >> Fetching 0 metadata files... done. > >> Fetching 4180 patches.....10....20....30....40.... > >> > >> 4180 patches really !!! > >> > >> I run the above command almost everyday, so the most I have ever really > >> seen is 300 - 400 patches. But 4180 has got me attention. > >> > >> Thanks > >> Brent > > > > I may be mistaken but I would guess it has to do with the > > vulnerabilities addressed in OpenSSL in the 30/05/2012 update. > > > > I'm assuming authors have bumped their ports' revision numbers to force > > a rebuild, using the patched openssl lib. > > There might be a little of that, but most of the recent activity is > accounted for by > > * Numerous ports moving to the new OPTIONSng framework > > * Hundreds of PORTREVISION bumps after an update to graphics/png > > * Removal of old koffice ports and the import of the Calligra office > suite to replace it. > > Cheers, > > Matthew My system is FreeBSD 9.0 Release and the lst time I use Clang. It works very good but the lst problem was with Calligra which didn't built. As I red in /usr/ports/UPDATING I ran portmaster -r png- and there are so many ports which should be rebuild. My question is: Is it better (safer) to use gcc or try clang? Or is it better to not update png? Thanks in advance. Mitja -------- http://jpgmag.com/people/lumiwa From lobo at bsd.com.br Fri Jun 1 21:46:25 2012 From: lobo at bsd.com.br (Mario Lobo) Date: Fri Jun 1 21:46:32 2012 Subject: (no subject) In-Reply-To: <9E.12.15580.45168CF4@smtp02.insight.synacor.com> References: <9E.12.15580.45168CF4@smtp02.insight.synacor.com> Message-ID: <201206011846.51116.lobo@bsd.com.br> On Friday 01 June 2012 03:29:40 Thomas Mueller wrote: > > I ddon't see any advantage in FreeBSD 8.x or earlier. Well, I still see complains about a few quirks in 9 here in the list, specially after certain src updates. Re:Use of C99 extra long double math functions after r236148 Re: kern/168190: [pf] panic when using pf and route-to (maybe: bad fragment handling?) Re: ULE/sched issues on stable/9 - why isn't preemption occurring? Etc .. To me, something like pf (specially route-to!) is critical and for the moment, I wouldn't touch my rock-solid-down-to-the-micro-second perfect production firewall 8-STABLE server for nothing, if the aim is such a role. I think that distribution set size is just not a very strong argument. OTOH, if the aim is just experimenting, that's another story. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From tomdean at speakeasy.org Sat Jun 2 04:30:32 2012 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Sat Jun 2 04:30:40 2012 Subject: MK_CLANG_IS_CC mis-formed when compiling ports In-Reply-To: <20120601070023.GA98123@mech-cluster241.men.bris.ac.uk> References: <4FC82537.2090305@speakeasy.org> <20120601070023.GA98123@mech-cluster241.men.bris.ac.uk> Message-ID: <4FC996E0.9070800@speakeasy.org> On 06/01/12 00:00, Anton Shterenlikht wrote: > On Thu, May 31, 2012 at 07:13:11PM -0700, Thomas D. Dean wrote: >> I built FrfeeBSD 9 with >> WITHOUT_CLANG="Yes" >> >> When I try to build the net/bwn-firmware-kmod/ >> >> I get an error that MK_CLANG_IS_CC is mis-formed. >> >> If I define this in make.conf, I get an error that the user may not set >> this. >> >> If I use 'make MK_CLANG_IS_CC="no"' the port compiles. >> >> How do I fix this? > > Why did you define WITHOUT_CLANG? > I think I am stuck at 9.x because of the clang stuff. I defined WITHOUT_CLANG to stop make buildworld from building clang. don't want it, don't need it.... Tom Dean From vas at mpeks.tomsk.su Sat Jun 2 05:25:47 2012 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Sat Jun 2 05:25:54 2012 Subject: 9.0 on SSD In-Reply-To: References: <20120531025206.GA11699@admin.sibptus.tomsk.ru> <20120531170035.GA29456@admin.sibptus.tomsk.ru> Message-ID: <20120602052537.GA42456@admin.sibptus.tomsk.ru> Warren Block wrote: [dd] > >>> I have not done any tricky partition alignment, do I really need to? Is > >>> anything else advisable? > >> > >> If it's not aligned, there can be a pretty significant performance > >> drop. Please show the output of 'gpart show' on that drive if it's GPT > >> (gpart show ada0) or drive and slice if it's MBR/bsdlabel (gpart show > >> ada0 && gpart show ada0s1). > > > > It was created by the "Auto" option of the new FreeBSD installer: > > > > [sudakov@vas ~] gpart show ada0 > > => 34 117231341 ada0 GPT (55G) > > 34 128 1 freebsd-boot (64k) > > 162 111148928 2 freebsd-ufs (53G) > > 111149090 5861376 3 freebsd-swap (2.8G) > > 117010466 220909 - free - (107M) > > That is not aligned, either with 4K or 1M: > (162*512)/4096 = 20.25 > > If the performance is good enough, leave it alone. Use > # diskinfo -tv /dev/ada0p2 > to get an optimistic version, or do some in-depth benchmarking with > benchmarks/bonnie++. > > To get it aligned, back up and repartition: [dd] Warren, Thank you very much for the useful tips. One more question regarding SSD. The FreeBSD installer enabled journaled soft-updates on the filesystem which resides on the SSD. Is it good, bad or irrelevant for the SSD ? /dev/ada0p2 on / (ufs, local, noatime, journaled soft-updates, nfsv4acls) -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From vas at mpeks.tomsk.su Sat Jun 2 05:38:08 2012 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Sat Jun 2 05:38:15 2012 Subject: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard In-Reply-To: <4FB55364.2050208@ShaneWare.Biz> References: <20120516042218.GA57757@admin.sibptus.tomsk.ru> <4FB473E7.6090307@ShaneWare.Biz> <20120517050114.GA93590@admin.sibptus.tomsk.ru> <4FB55364.2050208@ShaneWare.Biz> Message-ID: <20120602053805.GB42456@admin.sibptus.tomsk.ru> I have installed 9.0-RELEASE on this motherboard with the following brief results: $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: (play/rec) default pcm1: (play/rec) pcm2: (play) pcm3: (play) pcm4: (play) $ The devices /dev/dsp0, /dev/dsp1 even play to different audio outputs (front panel and rear panel). However, there are some more or less serious problems: 1. The "green" console screensaver does not poweroff the monitor. It just blanks the screen and sometimes displays white rubbish thereon. 2. It looses one of the HDDs during intensive read/write operations: Jun 2 00:55:33 vas kernel: ahcich1: Timeout on slot 4 port 0 Jun 2 00:55:33 vas kernel: ahcich1: is 00000000 cs 000000c0 ss 000000f0 rs 000000f0 tfd c0 serr 00000000 cmd 0000c617 Jun 2 00:56:48 vas kernel: ahcich1: Timeout on slot 0 port 0 Jun 2 00:56:48 vas kernel: ahcich1: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd c0 serr 00000000 cmd 0000c017 Jun 2 00:57:20 vas kernel: ahcich1: AHCI reset: device not ready after 31000ms (tfd = 00000080) I shall of course check the HDD and cable, but they worked flawlessly on the previous system. 3. I had to run xorg in VESA mode, because xf86-video-intel-2.7.1_4 does not recognize the video chip on the motherboard on question. That is a pain! mplayer is incredibly slow on all movies. It complains that "your system is too slow to play this" and gives a plethora of obscure recommendations, but I basically thought that the sheer CPU power should be sufficient to play the video. Is there a solution which "just works"? Replacing mplayer with something else? Buying a video card (what model)? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From wojtek at wojtek.tensor.gdynia.pl Sat Jun 2 08:20:28 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 2 08:20:35 2012 Subject: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard In-Reply-To: <20120602053805.GB42456@admin.sibptus.tomsk.ru> References: <20120516042218.GA57757@admin.sibptus.tomsk.ru> <4FB473E7.6090307@ShaneWare.Biz> <20120517050114.GA93590@admin.sibptus.tomsk.ru> <4FB55364.2050208@ShaneWare.Biz> <20120602053805.GB42456@admin.sibptus.tomsk.ru> Message-ID: > 2. It looses one of the HDDs during intensive read/write operations: > > Jun 2 00:55:33 vas kernel: ahcich1: Timeout on slot 4 port 0 > Jun 2 00:55:33 vas kernel: ahcich1: is 00000000 cs 000000c0 ss 000000f0 rs 000000f0 tfd c0 serr 00000000 cmd 0000c617 > Jun 2 00:56:48 vas kernel: ahcich1: Timeout on slot 0 port 0 > Jun 2 00:56:48 vas kernel: ahcich1: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd c0 serr 00000000 cmd 0000c017 > Jun 2 00:57:20 vas kernel: ahcich1: AHCI reset: device not ready after 31000ms (tfd = 00000080) > > I shall of course check the HDD and cable, but they worked flawlessly on > the previous system. well i've had such problems regularly with many motherboard. It happens often when you have many disks and put heavy load on them. And it is only result of poor hardware (not sure - poor controller, motherboard design, both?). i tried changing disks, ports, until i replaced this server with dell poweredge ;) if this is quite random, swapping ports change the behaviour but not solve it, swapping cables does not, yet there is no real rule when and why it happens you have same problem that i've had. > 3. I had to run xorg in VESA mode, because xf86-video-intel-2.7.1_4 does > not recognize the video chip on the motherboard on question. That is a tried this from ports? drwxr-xr-x 2 root wheel 512 18 maj 16:49 xf86-video-intel29 depends of hardware model. actually intel GFX is the only one i tolerate and it works. Eg the one in my lenovo G550 laptop needs 2.7 driver, the one builtin in Atom D525 processor needs 2.9 driver. Completely new intel GFX are not YET supported but that what i only heard as i don't have any of them. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 2 08:23:09 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 2 08:23:15 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <20120601162431.GA44290@pcjas.obspm.fr> References: <20120601052309.GA32942@pcjas.obspm.fr> <20120601162431.GA44290@pcjas.obspm.fr> Message-ID: > When I say fast that's mean I already do some benchmarks with iozone. And > do some graphs to see what the performance are. > > What I can say is it's go lot faster than H700+ 12 disk 600 15k/min. i asked if it is faster than properly made UFS/gmirror/gstripe mix on the same hardware. > > And I do those tests on FreeBSD with 12 disk, 24 disk, 36 disk and finaly > 48 disk. would be nice. > All I can say is ZFS go faster than 12 disk with H700 (and ext3) almost > every time. if you compare to ext3 then maybe it is faster. compare to UFS. >> can be controlled by settings in loader.conf. > > Yes, but I think that's not a good idea to buy a server with 4 Go and make > him manage 100To through ZFS.... as for file server i don't see a reason to buy more. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 2 08:24:21 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 2 08:24:29 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <20120601153525.GA16874@dan.emsphone.com> References: <20120601163520.f130cdcd.freebsd@edvax.de> <20120601153525.GA16874@dan.emsphone.com> Message-ID: > On the other hand, even on a single-disk pool, ZFS stores two copies of all > metadata, so the chances of actually losing a directory block are extremely > remote. On mirrored or RAIDZ pools, you have at least four copies of all > metadata. i can only wish you to be lucky. sometimes lack of understanding make people happy. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 2 08:29:53 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 2 08:29:58 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: <4FC7F8AE.1010307@dreamchaser.org> References: <4FC7F8AE.1010307@dreamchaser.org> Message-ID: seems you like to incredibly complicated things. It just happens that i configured that printer in one office and there is NO NEED for this windows-style crappy shit from HP. /usr/ports/print/hplip (make config and disable GUI trash) is enough. scanning works directly to SMB exported shares or mails - just connect by WWW browser to http://yourprinterip and configure it. printing works fine with this lpr filter #!/bin/sh export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin /usr/local/bin/gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE \ -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" \ -sDeviceModel="deskjet 5600" -dIjsUseOutputFD -dDEVICEWIDTHPOINTS=595 \ -dDEVICEHEIGHTPOINTS=842 -r600 \ -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 \ -sOutputFile=/tmp/$$ - >/dev/null cat /tmp/$$ rm /tmp/$$ that's all. Work for whole office without trash software installed on (windoze) workstation or unix server. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 2 08:30:54 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 2 08:30:59 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: References: Message-ID: > I have another storage server named bd3 that has a RAIDz2 array of 2.5T > drives (11 of them, IIRC) but it is presently powered down for maintenance. seems you don't need performance at all if you use RAIDz1/2 and ZFS. unless "performance" for you means how fast 1GB file are read linearly. From its.code.in.here at gmail.com Sat Jun 2 08:59:11 2012 From: its.code.in.here at gmail.com (Dwayne Henderson) Date: Sat Jun 2 08:59:19 2012 Subject: How to crontab screen with script inside and a "don't run it if it's already running" check? In-Reply-To: <20120601213900.2d0825b6.jan0sch@gmx.net> References: <20120601213900.2d0825b6.jan0sch@gmx.net> Message-ID: Hello Jens! Nice. But what to do if the machine reboots or whatever. Would you crontab your new Irssi alias? --Dwayne On Fri, Jun 1, 2012 at 9:39 PM, Jens Jahnke wrote: > Hi, > > On Fri, 1 Jun 2012 20:55:00 +0200 > Dwayne Henderson wrote: > > DH> I run this Ruby script 24/7 (records data from this live stream). > DH> It runs inside a screen though, so it's easy to check in on it > DH> every once in a while. > DH> > DH> But how do I crontab the screen with the script inside it? It has > DH> to be with a "don't run it if it's already running" check. > DH> [...] > > maybe you should create a shell alias. I do the following for my irssi > session: > > # Start irssi within screen or switch to it if it is already running. > alias irssi='if pgrep -u $USER irssi;then screen -U -x irssi;else screen > -S irssi irssi;fi' > > Regards, > > Jens > > -- > 01. Brachet 2012, 21:37 > Homepage : http://www.jan0sch.de > > It is a sobering thought that when Mozart was > my age, he had been dead for 2 years. > -- Tom Lehrer > From mueller23 at insightbb.com Sat Jun 2 10:33:11 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Sat Jun 2 10:33:25 2012 Subject: (no subject) Message-ID: <2D.EC.32214.0EBE9CF4@smtp01.insight.synacor.com> > Well, I still see complains about a few quirks in 9 here in the list, > specially after certain src updates. > Re:Use of C99 extra long double math functions after r236148 > Re: kern/168190: [pf] panic when using pf and route-to (maybe: bad fragment > handling?) > Re: ULE/sched issues on stable/9 - why isn't preemption occurring? > Etc .. > To me, something like pf (specially route-to!) is critical and for the moment, > I wouldn't touch my rock-solid-down-to-the-micro-second perfect production > firewall 8-STABLE server for nothing, if the aim is such a role. > I think that distribution set size is just not a very strong argument. > OTOH, if the aim is just experimenting, that's another story. > -- > Mario Lobo > http://www.mallavoodoo.com.br > FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) _______________________________________________ I suppose if it ain't broke, don't fix it. I have FreeBSD 8.2_RELEASE i386 on an old computer, pinched for disk space and only 256 MB RAM, won't try upgrading in place. On the new computer, after not being able to boot NetBSD most of the time and never getting to a graphical interface, FreeBSD 9.0-BETA1 was released, and I downloaded and installed that: a dream compared to NetBSD which didn't really like the new hardware. I never used the old computer as a server. For a server, you don't need a lot of fancy stuff such as Adobe Flash and other multimedia functionality, nor do you need a lot of RAM. Tom From mueller23 at insightbb.com Sat Jun 2 10:45:49 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Sat Jun 2 10:45:56 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds Message-ID: From: Wojciech Puchar : > seems you like to incredibly complicated things. > It just happens that i configured that printer in one office and there is > NO NEED for this windows-style crappy shit from HP. > /usr/ports/print/hplip (make config and disable GUI trash) is enough. > scanning works directly to SMB exported shares or mails - just connect by > WWW browser to http://yourprinterip and configure it. > printing works fine with this lpr filter > #!/bin/sh > export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin > /usr/local/bin/gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE \ > -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" \ > -sDeviceModel="deskjet 5600" -dIjsUseOutputFD -dDEVICEWIDTHPOINTS=595 \ > -dDEVICEHEIGHTPOINTS=842 -r600 \ > -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 \ > -sOutputFile=/tmp/$$ - >/dev/null > cat /tmp/$$ > rm /tmp/$$ > that's all. Work for whole office without trash software installed on > (windoze) workstation or unix server. _______________________________________________ Your message is worth saving, gives me some new ideas on getting that recalcitrant printer (HP M1212nf MFP) to work. Tom From jan0sch at gmx.net Sat Jun 2 10:57:46 2012 From: jan0sch at gmx.net (Jens Jahnke) Date: Sat Jun 2 10:57:53 2012 Subject: How to crontab screen with script inside and a "don't run it if it's already running" check? In-Reply-To: References: <20120601213900.2d0825b6.jan0sch@gmx.net> Message-ID: <20120602125743.fea43448.jan0sch@gmx.net> Hello Dwayne, On Sat, 2 Jun 2012 10:59:09 +0200 Dwayne Henderson wrote: DH> Nice. But what to do if the machine reboots or whatever. Would you DH> crontab your new Irssi alias? I'm not sure. On my remote box I usually start irssi by hand because it only ceases if the machine is rebooted. ;-) The current alias itself would probably cause problems in a crontab. But you could maybe wrap it into a modified if that only calls the alias if the pgrep command returns an empty result. Regards, Jens -- 02. Brachet 2012, 12:54 Homepage : http://www.jan0sch.de Optimist, n.: A bagpiper with a beeper. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 704 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120602/99730626/attachment.pgp From wojtek at wojtek.tensor.gdynia.pl Sat Jun 2 11:09:28 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 2 11:09:35 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: References: Message-ID: > > >> that's all. Work for whole office without trash software installed on >> (windoze) workstation or unix server. > _______________________________________________ > > Your message is worth saving, gives me some new ideas on getting that recalcitrant printer (HP M1212nf MFP) to work. > if you want mail my privately i have quite large practice in making "modern" printers to work normal way. i don't think there are HP printers that cannot be made to work normally. If not hplip or hpijs then /usr/ports/print/foo2zjs is your friend. Most probably this printer will need foo2... tools. And fortunately none of this solution requires CUPS, even if some ports are made so cups are installed (not a problem anyway) there is no need to use it. Normal (=="ancient") way of using printers under unix is to use lpd and write a filter that will translate at least postscript to printer's format. If your machine is a network server for windoze computers then use samba and just add printing = bsd load printers = yes in [global] and all your printers in /etc/printcap are available. Install generic postscript driver in windows. Actually - Any Apple postscript printer driver in windows XP (their postscript is actually compatible with postscript). this way you gain independence - changing printer doesn't need fooling with windows drivers, and you print from anything. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 2 11:17:14 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 2 11:17:21 2012 Subject: (no subject) In-Reply-To: <2D.EC.32214.0EBE9CF4@smtp01.insight.synacor.com> References: <2D.EC.32214.0EBE9CF4@smtp01.insight.synacor.com> Message-ID: > I suppose if it ain't broke, don't fix it. > > I have FreeBSD 8.2_RELEASE i386 on an old computer, pinched for disk space and only 256 MB RAM, won't try upgrading in place. > > On the new computer, after not being able to boot NetBSD most of the time and never getting to a graphical interface, FreeBSD 9.0-BETA1 was released, and I downloaded and installed that: a dream compared to NetBSD which didn't really like the new hardware. I used NetBSD after using linux and before FreeBSD. Since v 1.6 and definitely since 2.0 NetBSD turned into bloatware, as well as crashware and slowware. Exactly as i predicted when new company were created and started "sponsoring" NetBSD too much. It is useless now. FreeBSD fortunately doesn't go that route, every new release is actually better, and bloatware required to get enough sponsoring is clearly separated from the real part, having no effect on base system if you don't use it. > I never used the old computer as a server. i do. Old computers for small scale server (small office, few users), New for larger. > > For a server, you don't need a lot of fancy stuff such as Adobe Flash and do you need this for a non-server? Adobe don't want us (FreeBSD users) to use their closed-source software. And i respect their will and don't use it. Which resulted in much easier browsing by the way :) > and other multimedia functionality, nor do you need a lot of RAM. depends what you run. Add spamassassin, clamav, squid and 512MB is quite a minimum, 256MB bearable with max few users and quita a bit of paging. Anything NEW, like cheapest dell poweredge server you can buy, is enough for even large office unless you do stupid things, or use virtualbox heavily. From its.code.in.here at gmail.com Sat Jun 2 12:08:51 2012 From: its.code.in.here at gmail.com (Dwayne Henderson) Date: Sat Jun 2 12:08:58 2012 Subject: How to crontab screen with script inside and a "don't run it if it's already running" check? In-Reply-To: <20120602125743.fea43448.jan0sch@gmx.net> References: <20120601213900.2d0825b6.jan0sch@gmx.net> <20120602125743.fea43448.jan0sch@gmx.net> Message-ID: Any comments on this though? */10 * * * * lockf -t 0 /home/anonymous/.myscript.lock /usr/local/bin/screen -dm /home/anonymous/.rvm/rubies/ ruby-1.9.3-p0/bin/ruby /home/anonymous/myscript.rb Thanks for the help! --Dwayne On Sat, Jun 2, 2012 at 12:57 PM, Jens Jahnke wrote: > Hello Dwayne, > > On Sat, 2 Jun 2012 10:59:09 +0200 > Dwayne Henderson wrote: > > DH> Nice. But what to do if the machine reboots or whatever. Would you > DH> crontab your new Irssi alias? > > I'm not sure. On my remote box I usually start irssi by hand because it > only ceases if the machine is rebooted. ;-) > > The current alias itself would probably cause problems in > a crontab. But you could maybe wrap it into a modified if that only > calls the alias if the pgrep command returns an empty result. > > Regards, > > Jens > > -- > 02. Brachet 2012, 12:54 > Homepage : http://www.jan0sch.de > > Optimist, n.: > A bagpiper with a beeper. > From jan0sch at gmx.net Sat Jun 2 12:39:09 2012 From: jan0sch at gmx.net (Jens Jahnke) Date: Sat Jun 2 12:39:17 2012 Subject: How to crontab screen with script inside and a "don't run it if it's already running" check? In-Reply-To: References: <20120601213900.2d0825b6.jan0sch@gmx.net> <20120602125743.fea43448.jan0sch@gmx.net> Message-ID: <20120602143226.05cc9dc5.jan0sch@gmx.net> Hi, On Sat, 2 Jun 2012 14:08:49 +0200 Dwayne Henderson wrote: DH> Any comments on this though? DH> DH> */10 * * * * lockf -t 0 /home/anonymous/.myscript.lock DH> /usr/local/bin/screen -dm /home/anonymous/.rvm/rubies/ DH> ruby-1.9.3-p0/bin/ruby /home/anonymous/myscript.rb looks quite okay but as the manpage suggest I would add "-k" to lockf. Regards, Jens -- 02. Brachet 2012, 14:30 Homepage : http://www.jan0sch.de If Love Were Oil, I'd Be About A Quart Low -- Book title by Lewis Grizzard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 704 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120602/9eb7770d/attachment.pgp From wblock at wonkity.com Sat Jun 2 13:45:14 2012 From: wblock at wonkity.com (Warren Block) Date: Sat Jun 2 13:45:22 2012 Subject: 9.0 on SSD In-Reply-To: <20120602052537.GA42456@admin.sibptus.tomsk.ru> References: <20120531025206.GA11699@admin.sibptus.tomsk.ru> <20120531170035.GA29456@admin.sibptus.tomsk.ru> <20120602052537.GA42456@admin.sibptus.tomsk.ru> Message-ID: On Sat, 2 Jun 2012, Victor Sudakov wrote: > Warren Block wrote: > > Thank you very much for the useful tips. One more question regarding > SSD. The FreeBSD installer enabled journaled soft-updates on the > filesystem which resides on the SSD. Is it good, bad or irrelevant for > the SSD ? Mostly irrelevant, I think. I've been using just ordinary soft updates as there is bug fixing going on with SU+J. fsck on the SSD is very fast anyway, so SU+J is needed less. And there's a little less writing because there is no journal. But then, I've left atime on, too. From leslie at eskk.nu Sat Jun 2 15:09:37 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Sat Jun 2 15:09:43 2012 Subject: Portmaster and update progress, suggestion. Message-ID: <4FCA2CAE.6020809@eskk.nu> I'm thinking about some kind of information on the build progress when one does larger updates like the newly recommendation in /usr/ports/UPDATING portmaster -r png- I myself have three machines with different capacity when it comes to building ports. How about a knobb one could choose that would give information after finishing building one port and before beginning on the next one, that would be something like: finishing foo port xx ports remaining or something in that order. At least it would informative for me to get an idea of how far in the process the machine is. Thanks /Leslie From wojtek at wojtek.tensor.gdynia.pl Sat Jun 2 16:28:38 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 2 16:28:47 2012 Subject: 9.0 on SSD In-Reply-To: References: <20120531025206.GA11699@admin.sibptus.tomsk.ru> <20120531170035.GA29456@admin.sibptus.tomsk.ru> <20120602052537.GA42456@admin.sibptus.tomsk.ru> Message-ID: >> filesystem which resides on the SSD. Is it good, bad or irrelevant for >> the SSD ? > > Mostly irrelevant, I think. I've been using just ordinary soft updates as > there is bug fixing going on with SU+J. fsck on the SSD is very fast anyway, > so SU+J is needed less. And there's a little less writing because there is > no journal. But then, I've left atime on, too. > _______________________________________________ i have FreeBSD 9 and SSD (OCZ Agility 3 "60GB") DO NOT use any kind of journalling - this increase writes and wear, while fsck takes <10 seconds for me. do use -t option for newfs. make sure your FS partition is aligned to 4 kilobytes. All these web advices about aligning to 1MB is classic pure nonsense (most often used NTFS aligns to 4kB anyway). run without swap or make pseudo-dynamic swap with mdconfig ;) My config: 1) no MSDOS partitions (slices). not needed no matter if it is SSD or not. unless you run windoze too. 2) single partition for FreeBSD, SSD are not huge and wasting space for partitions isn't smart. example: # /dev/ada0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 117231408 0 4.2BSD 0 0 0 c: 117231408 0 unused 0 0 # "raw" part, don't edit 3) newfs -m 0 -i 16384 -b 8192 -f 1024 -U -t /dev/ada0a or similar settings. maybe you can run with less inodes (in my case i've got 3.6M inodes). for rare case swapping i do in /etc/rc.local #!/bin/sh echo creating swapfile /bin/rm -f /swapfile.tmp dd if=/dev/zero of=/swapfile.tmp bs=8m seek=1k count=0 /sbin/mdconfig -a -t vnode -u 0 -f /swapfile.tmp || /bin/sh /bin/rm -f /swapfile.tmp /sbin/swapctl -a /dev/md0 and in /etc/rc.shutdown.local #!/bin/sh echo removing swapfile /sbin/swapctl -d /dev/md0 /sbin/mdconfig -d -u 0 this will allocate 8GB file with holes, space would be allocated when actually needed, and deallocated on shutdown. From vas at mpeks.tomsk.su Sat Jun 2 16:40:29 2012 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Sat Jun 2 16:40:38 2012 Subject: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard In-Reply-To: References: <20120516042218.GA57757@admin.sibptus.tomsk.ru> <4FB473E7.6090307@ShaneWare.Biz> <20120517050114.GA93590@admin.sibptus.tomsk.ru> <4FB55364.2050208@ShaneWare.Biz> <20120602053805.GB42456@admin.sibptus.tomsk.ru> Message-ID: <20120602164025.GA44278@admin.sibptus.tomsk.ru> Wojciech Puchar wrote: > > 2. It looses one of the HDDs during intensive read/write operations: > > > > Jun 2 00:55:33 vas kernel: ahcich1: Timeout on slot 4 port 0 > > Jun 2 00:55:33 vas kernel: ahcich1: is 00000000 cs 000000c0 ss 000000f0 rs 000000f0 tfd c0 serr 00000000 cmd 0000c617 > > Jun 2 00:56:48 vas kernel: ahcich1: Timeout on slot 0 port 0 > > Jun 2 00:56:48 vas kernel: ahcich1: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd c0 serr 00000000 cmd 0000c017 > > Jun 2 00:57:20 vas kernel: ahcich1: AHCI reset: device not ready after 31000ms (tfd = 00000080) > > > > I shall of course check the HDD and cable, but they worked flawlessly on > > the previous system. > > well i've had such problems regularly with many motherboard. It happens > often when you have many disks and put heavy load on them. Indeed this happens under load. I would not call it particularly heavy though, it's more like moving large files between zfs datasets causes the loss of drive. > And it is only > result of poor hardware (not sure - poor controller, motherboard design, > both?). > > i tried changing disks, ports, until i replaced this server with dell > poweredge ;) Can we be sure that it is not a bug in the ahci or ada driver? Is there a way to reinit and reattach the failed drive? > > if this is quite random, swapping ports change the behaviour but not > solve it, swapping cables does not, yet there is no real rule when and why > it happens you have same problem that i've had. Could it have been a power problem? > > 3. I had to run xorg in VESA mode, because xf86-video-intel-2.7.1_4 does > > not recognize the video chip on the motherboard on question. That is a > > tried this from ports? > drwxr-xr-x 2 root wheel 512 18 maj 16:49 xf86-video-intel29 Yes, I have too. It says "no device detected" or something like that. > > depends of hardware model. > > actually intel GFX is the only one i tolerate and it works. > > Eg the one in my lenovo G550 laptop needs 2.7 driver, the one builtin in > Atom D525 processor needs 2.9 driver. > > Completely new intel GFX are not YET supported but that what i only > heard as i don't have any of them. What video card would the collective mind of FreeBSD users recommend? I'm not a gamer, this box runs FreeBSD only with a recent xorg, I often watch movies on it. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From b.smeelen at ose.nl Sat Jun 2 17:14:40 2012 From: b.smeelen at ose.nl (Bas Smeelen) Date: Sat Jun 2 17:14:48 2012 Subject: Why am I, Still subscribed and reading this list ? In-Reply-To: <20120602165925.GA96911@DataIX.net> References: <20120602165925.GA96911@DataIX.net> Message-ID: <4FCA479F.3020109@ose.nl> On 06/02/2012 06:59 PM, Jason Hellenthal wrote: > Because... at some point it may return to normal without all the > bikeshedding and, I run because, I don't run because. > > The previous threads before this message should have been on a web form > or questions@ as they are completely out of control. > > why not to use FreeBSD should go on questions Disclaimer: http://www.ose.nl/email From dougb at FreeBSD.org Sat Jun 2 17:22:12 2012 From: dougb at FreeBSD.org (Doug Barton) Date: Sat Jun 2 17:22:18 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCA2CAE.6020809@eskk.nu> References: <4FCA2CAE.6020809@eskk.nu> Message-ID: <4FCA4ACB.9040309@FreeBSD.org> On 6/2/2012 8:09 AM, Leslie Jensen wrote: > I'm thinking about some kind of information on the build progress Portmaster already has that if you're building in a terminal window, look in the titlebar. I can take a look at printing that in line if you're not in a terminal window though. hope this helps, Doug -- This .signature sanitized for your protection From jhs at berklix.com Sat Jun 2 17:57:35 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Sat Jun 2 17:57:43 2012 Subject: Why am I, Still subscribed and reading this list ? In-Reply-To: Your message "Sat, 02 Jun 2012 12:59:25 EDT." <20120602165925.GA96911@DataIX.net> Message-ID: <201206021757.q52Hv9Iq036014@fire.js.berklix.net> Jason Hellenthal wrote: > Because... at some point it may return to normal without all the > bikeshedding and, I run because, I don't run because. Agreed ! Many replies were sent to Wrong lists. Original poster & respondents abused stable@ & questions@ Cross posting 2 lists un-necessarily, despite: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL "C.1.3 List Charters Rules of the road: No posting should be made to more than 2 mailing lists, and only to 2 when a clear and obvious need ..." There was a desire, as always, but no need. (so I removed cc: stable@ on this post, to avoid this post also breaking that rule, (on the basis that stable@ readership are more likely to already know about Not cross posting, & using the Right list, as questions@ started as a target list to point clueless new users to, from /etc/motd. (It was expected as users grew experienced, they'd subscribe other lists themed to their interests.))) Noise was emitted to lists with wrong remits. advocacy@freebsd.org exists for promo. talk inc. re. wiki. Please read list remits, & conform to them, & subscribe appropriate lists. http://lists.freebsd.org/mailman/listinfo http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy "Furthering the Use of FreeBSD Share ideas and plan to increase the number of companies and individuals using FreeBSD" http://lists.freebsd.org/mailman/listinfo/freebsd-stable "This is the mailing list for users of freebsd-stable. the stable cvsup target is built from the latest official RELEASE with the addition of critical bug fixes." http://lists.freebsd.org/mailman/listinfo/freebsd-questions "This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical." Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From schweikh at schweikhardt.net Sat Jun 2 18:22:09 2012 From: schweikh at schweikhardt.net (Jens Schweikhardt) Date: Sat Jun 2 18:22:16 2012 Subject: How to use an external USB3.0 drive with 4k sectors? In-Reply-To: <06FDC7DD-6794-43CB-BAFE-E70DE23DCA7E@my.gd> References: <20120531155704.GA2828@schweikhardt.net> <06FDC7DD-6794-43CB-BAFE-E70DE23DCA7E@my.gd> Message-ID: <20120602182158.GA2567@schweikhardt.net> On Thu, May 31, 2012 at 08:26:21PM +0200, Damien Fleuriot wrote: ... # > When I plug it to one of the two USB3.0 ports (using the xhci driver), I # > don't get device nodes in /dev created for it, but instead an ever # > growing list of # > # > ugen4.2: at usbus4 # > umass2: on usbus4 # > ugen4.2: at usbus4 (disconnected) # > umass2: at uhub4, port 4, addr 1 (disconnected) # > # > The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7 # > can use the disk as well on the USB3.0 port, which makes me look for # > things I have missed. For example, my kernel config is stripped down # > quite a bit, so it might be that my custom kernel does not have all the # > necessary drivers built in or kldloaded. Do I need "device ada"? What is # > the magic needed to hook up 4k secotr drives via USB3.0? # > # > Regards, # > # > Jens # # Logic dictates that you try with GENERIC, see if that works any better ;) I tried with a GENERIC from -CURRENT, the detection message is somewhat different: ugen4.2: at usbus4 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:10:0:-1: Attached to scbus10 However still no device nodes, AFAICT. Using "camcontrol rescan all" followed by "camcontrol devlist" does not show the drive. Any chance I can get this drive going on USB 3? Could the problem be the quirk = 0x0100? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From m.e.sanliturk at gmail.com Sat Jun 2 18:25:53 2012 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat Jun 2 18:26:03 2012 Subject: Why am I, Still subscribed and reading this list ? In-Reply-To: <201206021757.q52Hv9Iq036014@fire.js.berklix.net> References: <20120602165925.GA96911@DataIX.net> <201206021757.q52Hv9Iq036014@fire.js.berklix.net> Message-ID: On Sat, Jun 2, 2012 at 10:57 AM, Julian H. Stacey wrote: > Jason Hellenthal wrote: > > Because... at some point it may return to normal without all the > > bikeshedding and, I run because, I don't run because. > > Agreed ! Many replies were sent to Wrong lists. > > Original poster & respondents abused stable@ & questions@ > Cross posting 2 lists un-necessarily, despite: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL > "C.1.3 List Charters > Rules of the road: > No posting should be made to more than 2 > mailing lists, and only to 2 when a clear > and obvious need ..." > > There was a desire, as always, but no need. (so I > removed cc: stable@ on this post, to avoid this > post also breaking that rule, (on the basis that > stable@ readership are more likely to already know > about Not cross posting, & using the Right list, > as questions@ started as a target list to point > clueless new users to, from /etc/motd. (It was > expected as users grew experienced, they'd subscribe > other lists themed to their interests.))) > > Noise was emitted to lists with wrong remits. > advocacy@freebsd.org exists for promo. talk inc. re. wiki. > > Please read list remits, & conform to them, & subscribe appropriate lists. > http://lists.freebsd.org/mailman/listinfo > http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy > "Furthering the Use of FreeBSD > Share ideas and plan to increase the number of > companies and individuals using FreeBSD" > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > "This is the mailing list for users of freebsd-stable. > the stable cvsup target is built from the latest > official RELEASE with the addition of critical bug fixes." > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > "This is the mailing list for questions about FreeBSD. > You should not send "how to" questions to the > technical lists unless you consider the question > to be pretty technical." > > Cheers, > Julian > -- > Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich > http://berklix.com > Reply below not above, cumulative like a play script, & indent with "> ". > Format: Plain text. Not HTML, multipart/alternative, base64, > quoted-printable. > Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ The question "Why are you using FreeBSD ?" was a very good one , but , in my opinion , other side "Why are you not using FreeBSD?" would be appropriate , because in engineering , everything for any subject is - Advantages - Disadvantages When "Disadvantages" is NOT evaluated sufficiently well , the results mostly will be unpredictable . Instead of corrupting the original thread , I wanted to help to cover the other side in parallel to the original question . If you think , my response is unconscious , here is the my subscription list to FreeBSD mailing lists : freebsd-advocacy@freebsd.org freebsd-announce@freebsd.org freebsd-chromium@freebsd.org freebsd-arch@freebsd.org freebsd-cluster@freebsd.org freebsd-current@freebsd.org freebsd-database@freebsd.org freebsd-doc@freebsd.org freebsd-emulation@freebsd.org freebsd-gnome@freebsd.org freebsd-hackers@freebsd.org freebsd-hardware@freebsd.org freebsd-multimedia@freebsd.org freebsd-net@freebsd.org freebsd-performance@freebsd.org freebsd-ports@freebsd.org freebsd-questions@freebsd.org freebsd-small@freebsd.org freebsd-stable@freebsd.org freebsd-standards@freebsd.org freebsd-threads@freebsd.org freebsd-x11@freebsd.org freebsd-rc@freebsd.org freebsd-pf@freebsd.org freebsd-apache@freebsd.org freebsd-usb@freebsd.org freebsd-hpc@freebsd.org freebsd-drivers@freebsd.org freebsd-virtualization@freebsd.org freebsd-sysinstall@freebsd.org freebsd-toolchain@freebsd.org freebsd-office@freebsd.org freebsd-desktop@freebsd.org Thank you very much . Mehmet Erol Sanliturk From peter at vereshagin.org Sat Jun 2 19:08:05 2012 From: peter at vereshagin.org (Peter Vereshagin) Date: Sat Jun 2 19:08:12 2012 Subject: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard In-Reply-To: <20120602164025.GA44278@admin.sibptus.tomsk.ru> References: <20120516042218.GA57757@admin.sibptus.tomsk.ru> <4FB473E7.6090307@ShaneWare.Biz> <20120517050114.GA93590@admin.sibptus.tomsk.ru> <4FB55364.2050208@ShaneWare.Biz> <20120602053805.GB42456@admin.sibptus.tomsk.ru> <20120602164025.GA44278@admin.sibptus.tomsk.ru> Message-ID: <20120602190745.GA10212@external.screwed.box> Hello. 2012/06/02 23:40:25 +0700 Victor Sudakov => To freebsd-questions@freebsd.org : VS> What video card would the collective mind of FreeBSD users recommend? VS> I'm not a gamer, this box runs FreeBSD only with a recent xorg, I VS> often watch movies on it. I'd try with nvidia. Any modern one has support of 'xvideo' extension with the 'driver nv' that is 'just enough' for watching movies. I've no modern hardware but the model that works good for years for me is: tnt2 agp 32M. Just the same as out of every TransNeft's trashcan around the corner these days. ;-) -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From joe.gain at gmail.com Sat Jun 2 19:20:36 2012 From: joe.gain at gmail.com (Joe Gain) Date: Sat Jun 2 19:20:42 2012 Subject: Why am I, Still subscribed and reading this list ? In-Reply-To: References: <20120602165925.GA96911@DataIX.net> <201206021757.q52Hv9Iq036014@fire.js.berklix.net> Message-ID: On Sat, Jun 2, 2012 at 8:25 PM, Mehmet Erol Sanliturk wrote: > On Sat, Jun 2, 2012 at 10:57 AM, Julian H. Stacey wrote: > >> Jason Hellenthal wrote: >> > Because... at some point it may return to normal without all the >> > bikeshedding and, I run because, I don't run because. >> >> Agreed ! ?Many replies were sent to Wrong lists. >> >> Original poster & respondents abused stable@ & questions@ >> ? ? ? ?Cross posting 2 lists un-necessarily, despite: >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL >> ? ? ? ? ? ? ? ? ? ? ? ?"C.1.3 List Charters >> ? ? ? ? ? ? ? ? ? ? ? ?Rules of the road: >> ? ? ? ? ? ? ? ? ? ? ? ?No posting should be made to more than 2 >> ? ? ? ? ? ? ? ? ? ? ? ?mailing lists, and only to 2 when a clear >> ? ? ? ? ? ? ? ? ? ? ? ?and obvious need ..." >> >> ? ? ? ? ? ? ? ?There was a desire, as always, but no need. ?(so I >> ? ? ? ? ? ? ? ?removed cc: stable@ on this post, to avoid this >> ? ? ? ? ? ? ? ?post also breaking that rule, (on the basis that >> ? ? ? ? ? ? ? ?stable@ readership are more likely to already know >> ? ? ? ? ? ? ? ?about Not cross posting, & using the Right list, >> ? ? ? ? ? ? ? ?as questions@ started as a target list to point >> ? ? ? ? ? ? ? ?clueless new users to, from /etc/motd. ?(It was >> ? ? ? ? ? ? ? ?expected as users grew experienced, they'd subscribe >> ? ? ? ? ? ? ? ?other lists themed to their interests.))) >> >> ? ? ? ?Noise was emitted to lists with wrong remits. >> ? ? ? ? ? ? ? ?advocacy@freebsd.org exists for promo. talk inc. re. wiki. >> >> Please read list remits, & conform to them, & subscribe appropriate lists. >> ? ? ? ?http://lists.freebsd.org/mailman/listinfo >> ? ? ? ?http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy >> ? ? ? ? ? ? ? ?"Furthering the Use of FreeBSD >> ? ? ? ? ? ? ? ?Share ideas and plan to increase the number of >> ? ? ? ? ? ? ? ?companies and individuals using FreeBSD" >> >> ? ? ? ?http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> ? ? ? ? ? ? ? ?"This is the mailing list for users of freebsd-stable. >> ? ? ? ? ? ? ? ?the stable cvsup target is built from the latest >> ? ? ? ? ? ? ? ?official RELEASE with the addition of critical bug fixes." >> >> ? ? ? ?http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> ? ? ? ? ? ? ? ?"This is the mailing list for questions about FreeBSD. >> ? ? ? ? ? ? ? ?You should not send "how to" questions to the >> ? ? ? ? ? ? ? ?technical lists unless you consider the question >> ? ? ? ? ? ? ? ?to be pretty technical." >> >> Cheers, >> Julian >> -- >> Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich >> http://berklix.com >> ?Reply below not above, cumulative like a play script, & indent with "> ". >> ?Format: Plain text. Not HTML, multipart/alternative, base64, >> quoted-printable. >> ? ? ? ?Mail from @yahoo dumped @berklix. ?http://berklix.org/yahoo/ > > > > The question "Why are you using FreeBSD ?" was a very good one , but , in > my opinion , other side "Why are you not using FreeBSD?" would be > appropriate , because in engineering , everything for any subject is I don't think these kinds of _very_ general questions are really helpful and there are a lot of them. I guess, because there are no sales representatives giving people advice about FreeBSD, people feel more confident when they get some advice from a mailing list about what sought of hardware people have used to successfully do some task or other. Especially, when this involves buying something expensive. But in general, why are you using/ not using operating system 'x' is not a good question because there are so many variables and you can't compare the results in any really conclusive way. The best thing is to just try it, and anyway, *with FreeBSD the software itself will not cost you any money*. Maybe you will be surprised, maybe you won't be. I mean there is no single specific task that general purpose OSs like FreeBSD are designed for. > > - Advantages > - Disadvantages > > When "Disadvantages" is NOT evaluated sufficiently well , the results > mostly will be unpredictable . I think, it's fair to say that the results will be somewhat unpredictable, maybe in a positive way, maybe not. > > Instead of corrupting the original thread , I wanted to help to cover the > other side in parallel to the > original question . > > If you think , my response is unconscious , here is the my subscription > list to FreeBSD mailing lists : > > > freebsd-advocacy@freebsd.org > freebsd-announce@freebsd.org > freebsd-chromium@freebsd.org > freebsd-arch@freebsd.org > freebsd-cluster@freebsd.org > freebsd-current@freebsd.org > freebsd-database@freebsd.org > freebsd-doc@freebsd.org > freebsd-emulation@freebsd.org > freebsd-gnome@freebsd.org > freebsd-hackers@freebsd.org > freebsd-hardware@freebsd.org > freebsd-multimedia@freebsd.org > freebsd-net@freebsd.org > freebsd-performance@freebsd.org > freebsd-ports@freebsd.org > freebsd-questions@freebsd.org > freebsd-small@freebsd.org > freebsd-stable@freebsd.org > freebsd-standards@freebsd.org > freebsd-threads@freebsd.org > freebsd-x11@freebsd.org > freebsd-rc@freebsd.org > freebsd-pf@freebsd.org > freebsd-apache@freebsd.org > freebsd-usb@freebsd.org > freebsd-hpc@freebsd.org > freebsd-drivers@freebsd.org > freebsd-virtualization@freebsd.org > freebsd-sysinstall@freebsd.org > freebsd-toolchain@freebsd.org > freebsd-office@freebsd.org > freebsd-desktop@freebsd.org > > > Thank you very much . > > > Mehmet Erol Sanliturk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) From tomdean at speakeasy.org Sat Jun 2 19:31:15 2012 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Sat Jun 2 19:31:21 2012 Subject: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard In-Reply-To: <20120602190745.GA10212@external.screwed.box> References: <20120516042218.GA57757@admin.sibptus.tomsk.ru> <4FB473E7.6090307@ShaneWare.Biz> <20120517050114.GA93590@admin.sibptus.tomsk.ru> <4FB55364.2050208@ShaneWare.Biz> <20120602053805.GB42456@admin.sibptus.tomsk.ru> <20120602164025.GA44278@admin.sibptus.tomsk.ru> <20120602190745.GA10212@external.screwed.box> Message-ID: <4FCA6A00.2090701@speakeasy.org> On 06/02/12 12:07, Peter Vereshagin wrote: I am using a MSI N210 w/ FreeBSD 9-Stable. Seems to work Ok. Tom Dean From freebsd at edvax.de Sat Jun 2 19:32:21 2012 From: freebsd at edvax.de (Polytropon) Date: Sat Jun 2 19:32:28 2012 Subject: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard In-Reply-To: <20120602190745.GA10212@external.screwed.box> References: <20120516042218.GA57757@admin.sibptus.tomsk.ru> <4FB473E7.6090307@ShaneWare.Biz> <20120517050114.GA93590@admin.sibptus.tomsk.ru> <4FB55364.2050208@ShaneWare.Biz> <20120602053805.GB42456@admin.sibptus.tomsk.ru> <20120602164025.GA44278@admin.sibptus.tomsk.ru> <20120602190745.GA10212@external.screwed.box> Message-ID: <20120602213218.f0f3888c.freebsd@edvax.de> On Sat, 2 Jun 2012 23:07:45 +0400, Peter Vereshagin wrote: > Hello. > > 2012/06/02 23:40:25 +0700 Victor Sudakov => To freebsd-questions@freebsd.org : > VS> What video card would the collective mind of FreeBSD users recommend? > VS> I'm not a gamer, this box runs FreeBSD only with a recent xorg, I > VS> often watch movies on it. > > I'd try with nvidia. Any modern one has support of 'xvideo' extension with the > 'driver nv' that is 'just enough' for watching movies. I'm also using nVidia GeForce 7600 GS (G73) here, using the "nvidia" driver and the kernel module. Works very good, except my GPU is broken and occassionally freezes the whole system in an unpredictable manner. :-) Previously I've been using an ATI Radeon 9200 (RV250) with less trouble, using XFree86's (and later on X.org's) stock "ati" driver. Any not-too-recent card should work fine. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wblock at wonkity.com Sat Jun 2 22:06:54 2012 From: wblock at wonkity.com (Warren Block) Date: Sat Jun 2 22:07:01 2012 Subject: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard In-Reply-To: <20120602213218.f0f3888c.freebsd@edvax.de> References: <20120516042218.GA57757@admin.sibptus.tomsk.ru> <4FB473E7.6090307@ShaneWare.Biz> <20120517050114.GA93590@admin.sibptus.tomsk.ru> <4FB55364.2050208@ShaneWare.Biz> <20120602053805.GB42456@admin.sibptus.tomsk.ru> <20120602164025.GA44278@admin.sibptus.tomsk.ru> <20120602190745.GA10212@external.screwed.box> <20120602213218.f0f3888c.freebsd@edvax.de> Message-ID: On Sat, 2 Jun 2012, Polytropon wrote: > On Sat, 2 Jun 2012 23:07:45 +0400, Peter Vereshagin wrote: >> Hello. >> >> 2012/06/02 23:40:25 +0700 Victor Sudakov => To freebsd-questions@freebsd.org : >> VS> What video card would the collective mind of FreeBSD users recommend? >> VS> I'm not a gamer, this box runs FreeBSD only with a recent xorg, I >> VS> often watch movies on it. >> >> I'd try with nvidia. Any modern one has support of 'xvideo' extension with the >> 'driver nv' that is 'just enough' for watching movies. > > I'm also using nVidia GeForce 7600 GS (G73) here, using the > "nvidia" driver and the kernel module. Works very good, except > my GPU is broken and occassionally freezes the whole system > in an unpredictable manner. :-) > > Previously I've been using an ATI Radeon 9200 (RV250) with > less trouble, using XFree86's (and later on X.org's) stock > "ati" driver. > > Any not-too-recent card should work fine. More specifically, up to 4000-series Radeons. The HD4650 works well. From simon at optinet.com Sat Jun 2 22:39:34 2012 From: simon at optinet.com (Simon) Date: Sat Jun 2 22:39:41 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: Message-ID: <20120602223934.D0146106564A@hub.freebsd.org> This thread confused me. Is the conclusion of this thread that ZFS is slow and breaks beyond recovery? I keep seeing two sides to this coin. I can't decide whether to use ZFS or hardware RAID. Why does EMC use hardware RAID? -Simon From ah at dreamchaser.org Sun Jun 3 00:09:03 2012 From: ah at dreamchaser.org (Gary Aitken) Date: Sun Jun 3 00:09:10 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: References: <4FC7F8AE.1010307@dreamchaser.org> Message-ID: <4FCAAB17.2010905@dreamchaser.org> On 06/02/12 02:29, Wojciech Puchar wrote: > seems you like to incredibly complicated things. No, but it does seem like I did, hopefully unnecessarily... Thanks. > /usr/ports/print/hplip (make config and disable GUI trash) is enough. ... > printing works fine with this lpr filter > > #!/bin/sh > export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin > /usr/local/bin/gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE \ > -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" \ > -sDeviceModel="deskjet 5600" -dIjsUseOutputFD -dDEVICEWIDTHPOINTS=595 \ > -dDEVICEHEIGHTPOINTS=842 -r600 \ > -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 \ > -sOutputFile=/tmp/$$ - >/dev/null > cat /tmp/$$ > rm /tmp/$$ I've deinstalled cups and its dependencies and rebuilt only hpijs. lpr works to the printer for the simple demo text filter hp supplies (The printer is directly connected to the network, not via USB or parallel port) However, when I try to use gs + hpijs as a filter, it fails. There are a number of gs_xxxxxx and nnnnn files left in /tmp, zero length. The nnnnn files are the OutputFile from the filter (I commented out the rm). The nnnnn files are one number larger than the pid for lpd indicated in the log, no surprise there. the log shows: Jun 2 16:58:18 fbsdbox lpd[10367]: lp: lost connection Jun 2 16:58:18 fbsdbox lpd[10367]: restarting lp unable to set device=HP Officejet Pro 8500 a909g hpijs, err=16 unable to read client data err=-2 Jun 2 16:38:54 fbsdbox lpd[10367]: lp: lost connection Jun 2 16:38:54 fbsdbox lpd[10367: lp: job could not be sent to remote host ... Jun 2 16:38:54 fbsdbox lpd[10367]: mail sent to user garya about job on printer lp (FATALERR) The .ppd.gz file was not located in the path exported from the filter script. However, when I put /usr/local/share/ppd/HP in the path, it made no difference. Where are your .ppd files or .ppd.gz files located? Also, the ppd.gz files from the port *did not* include any ppd.gz file for this printer. However, the cups port did, but they were installed elsewhere. So I just copied them over, but I'm wondering if there is a db or internal cache somewhere that has to be rebuilt. It looks to me like it is unable to locate a .ppd.gz or .ppd which matches the device name "enough" to be used. Anyone know who is generating the error what err=16 is exactly how to get the path it is searching what the match criteria is? ..... Ok, I tweeked /etc/printcap and the filter to call the printer a "DESKJET 960" and it worked. So one obviously has to do more than just supply the correct .ppd.gz file in the correct spot. ideas? Thanks, Gary From freebsd at edvax.de Sun Jun 3 00:36:36 2012 From: freebsd at edvax.de (Polytropon) Date: Sun Jun 3 00:36:43 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: <4FCAAB17.2010905@dreamchaser.org> References: <4FC7F8AE.1010307@dreamchaser.org> <4FCAAB17.2010905@dreamchaser.org> Message-ID: <20120603023552.acd054ac.freebsd@edvax.de> On Sat, 02 Jun 2012 18:08:55 -0600, Gary Aitken wrote: > I've deinstalled cups and its dependencies and rebuilt only hpijs. You could have kept it installed (maybe some ports will want it as a dependency), just disable it in /etc/rc.conf. > lpr works to the printer for the simple demo text filter hp supplies > (The printer is directly connected to the network, not via USB or parallel port) > However, when I try to use gs + hpijs as a filter, it fails. Did you write your own filter? For comparison: I'm using a HP Laserjet 4000 duplex here, networked, with /opt/libexec/ps2pcl-dup.sh being the filter for use with duplexing: #!/bin/sh printf "\033&k2G" || exit 2 gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER -sPAPERSIZE=a4 -r600x600 \ -sDEVICE=ljet4d -dDuplex=true \ -sOutputFile=- - && exit 0 exit 2 The entry for this printer in /etc/printcap is: Laserjet|ljet4d;r=600x600;q=high;c=full;p=a4;m=auto:\ :rm=192.168.100.100:\ :rp=raw:\ :lp=:\ :if=/opt/libexec/ps2pcl-dup.sh:\ :sd=/var/spool/lpd/Laserjet:\ :lf=/var/spool/lpd/Laserjet/log:\ :af=/var/spool/lpd/Laserjet/acct:\ :mx#0:\ :sh: The name "Laserjet" is set in $PRINTER as the system's default printer. There's also "Laserjet-nodup" where the filter simply omits the duplexing functionality. I assume you did something similarly? > the log shows: > Jun 2 16:58:18 fbsdbox lpd[10367]: lp: lost connection > Jun 2 16:58:18 fbsdbox lpd[10367]: restarting lp > unable to set device=HP Officejet Pro 8500 a909g hpijs, err=16 > unable to read client data err=-2 > Jun 2 16:38:54 fbsdbox lpd[10367]: lp: lost connection > Jun 2 16:38:54 fbsdbox lpd[10367: lp: job could not be sent to remote host ... > Jun 2 16:38:54 fbsdbox lpd[10367]: mail sent to user garya about job on printer lp (FATALERR) Can you provide the command you've used for printing? By default, the printer subsystem accepts PS (which is the normal printing output format of _any_ printing application). CUPS, as well as apsfilter, offer some built-in functionality for converting data from non-PS (e. g. text, images) to PS when you call lpr, for example: % lpr picture.jpg % lpr source.c % lpr stuff.txt As long as you print PS (or from any application within X that outputs PS), this shouldn't be an issue for you. > The .ppd.gz file was not located in the path exported from the filter script. > However, when I put /usr/local/share/ppd/HP in the path, it made no difference. > Where are your .ppd files or .ppd.gz files located? Depends. CUPS puts them into /usr/local/etc/cups/ppd, there's also the possibility that other tools that handle PPD files search for them in a location defined in their documentation. For example, the CUPS ppd files are already extracted. > Also, the ppd.gz files from the port *did not* include any > ppd.gz file for this printer. However, the cups port did, > but they were installed elsewhere. So I just copied them > over, but I'm wondering if there is a db or internal cache > somewhere that has to be rebuilt. The ppd handling tool usually manages that. > It looks to me like it is unable to locate a .ppd.gz or .ppd > which matches the device name "enough" to be used. Anyone know > who is generating the error It's lpd (see message). It's accessing a printer called "lp" (does it exist with tha name?) and loses the connection, and try to restart it. The inability is expressed as "unable to set device=HP Officejet Pro 8500 a909g hpijs", I'm not sure if spaces are allowed? (Check "man 5 printcap" to be sure.) > Ok, I tweeked /etc/printcap and the filter to call the printer > a "DESKJET 960" and it worked. Is your $PRINTER set to this name? In that case, you could easily move from "lp" (the default name) to omitting -P in the lp* commands. > So one obviously has to do more than just supply the correct > .ppd.gz file in the correct spot. Right. If you look into a .ppd file, you'll see PostScript in there. It's (highly inaccurately described) code that instructs the PS interpreter (usually gs) on how to create the correct output language for the particular printer, tell details about options and parameters of the printer (such as paper feeds, duplexer, paper sizes and so on). > ideas? Some of your code (scripts and commands) would help (at least me) to understand your current state better. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From modulok at gmail.com Sun Jun 3 00:48:18 2012 From: modulok at gmail.com (Modulok) Date: Sun Jun 3 00:48:24 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <20120602223934.D0146106564A@hub.freebsd.org> References: <20120602223934.D0146106564A@hub.freebsd.org> Message-ID: >> This thread confused me. Is the conclusion of this thread that ZFS is slow >> and breaks beyond recovery? I've personally experienced no problems with ZFS. The performance has been on par with UFS as far as I can tell. Sometimes it's a little faster, sometimes a little slower depending on the situation, but nothing dramatic on either end. -Modulok- From DStaal at usa.net Sun Jun 3 02:45:23 2012 From: DStaal at usa.net (Daniel Staal) Date: Sun Jun 3 02:45:30 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <20120602223934.D0146106564A@hub.freebsd.org> References: <20120602223934.D0146106564A@hub.freebsd.org> Message-ID: <28E46800DA3FF0CE6CA74C69@mac-pro.magehandbook.com> --As of June 2, 2012 6:32:39 PM -0400, Simon is alleged to have said: > This thread confused me. Is the conclusion of this thread that ZFS is > slow and breaks beyond recovery? I keep seeing two sides to this coin. I > can't decide whether to use ZFS or hardware RAID. Why does EMC use > hardware RAID? --As for the rest, it is mine. It appears to be the conclusion of Wojciech Puchar that ZFS is slow, and breaks beyond recovery. The rest of us don't appear to have issues. I will agree that ZFS could use a good worst-case scenario 'fsck' like tool. However, between at home and at work (where it's used on Solaris), the only time I've ever been in a situation where it would be needed was when I was playing with the disks in several low-level tools; the situation was entirely self-inflicted, and would have caused major trouble for any file system. (If I'd been storing data on it, I would have needed to go to backups. Again, this would have been the case for any file system.) ZFS can be a complicated beast: It's not the best choice for a single, small, disk. It may take tuning to work to it's full potential, and it's fairly resource-intensive. However, for large storage sets there is no other file system out there at the moment that's as flexible, or as useful, in my opinion. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From erichfreebsdlist at ovitrap.com Sun Jun 3 04:21:38 2012 From: erichfreebsdlist at ovitrap.com (Erich) Date: Sun Jun 3 04:21:51 2012 Subject: Why am I, Still subscribed and reading this list ? In-Reply-To: References: <20120602165925.GA96911@DataIX.net> <201206021757.q52Hv9Iq036014@fire.js.berklix.net> Message-ID: <12629991.7WcxrTWL1P@x220.ovitrap.com> Hi, On 02 June 2012 AM 11:25:52 Mehmet Erol Sanliturk wrote: > On Sat, Jun 2, 2012 at 10:57 AM, Julian H. Stacey wrote: > > > Thank you very much . > this is the same what I new comer from Windows will say after getting responses like this. He will then take out his Windows installation medium and feel happy with Windows. Every neighbour will be willing to help without a discussion about how this should be done. Erich From erichfreebsdlist at ovitrap.com Sun Jun 3 04:21:38 2012 From: erichfreebsdlist at ovitrap.com (Erich) Date: Sun Jun 3 04:21:52 2012 Subject: Why am I, Still subscribed and reading this list ? In-Reply-To: References: <20120602165925.GA96911@DataIX.net> <201206021757.q52Hv9Iq036014@fire.js.berklix.net> Message-ID: <12629991.7WcxrTWL1P@x220.ovitrap.com> Hi, On 02 June 2012 AM 11:25:52 Mehmet Erol Sanliturk wrote: > On Sat, Jun 2, 2012 at 10:57 AM, Julian H. Stacey wrote: > > > Thank you very much . > this is the same what I new comer from Windows will say after getting responses like this. He will then take out his Windows installation medium and feel happy with Windows. Every neighbour will be willing to help without a discussion about how this should be done. Erich From kudzu at tenebras.com Sun Jun 3 05:42:50 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Sun Jun 3 05:42:57 2012 Subject: Anyone using freebsd ZFS for large storage servers? In-Reply-To: <28E46800DA3FF0CE6CA74C69@mac-pro.magehandbook.com> References: <20120602223934.D0146106564A@hub.freebsd.org> <28E46800DA3FF0CE6CA74C69@mac-pro.magehandbook.com> Message-ID: On Sat, Jun 2, 2012 at 7:44 PM, Daniel Staal wrote: > I will agree that ZFS could use a good worst-case scenario 'fsck' like tool. Worst-case scenario? That's when fsck doesn't work. Quickly followed by a sinking feeling. > ZFS can be a complicated beast: It's not the best choice for a single, > small, disk. ?It may take tuning to work to it's full potential, and it's > fairly resource-intensive. ?However, for large storage sets there is no > other file system out there at the moment that's as flexible, or as useful, > in my opinion. I don't even see the point of using it as a root drive. But this thread is about large file servers, and I wouldn't seriously consider using anything but ZFS. NO filesystem has a mean time to data loss of infinity. If your disk traffic is primarily uncacheable random reads, you might be better off with mirrored disks. I guess that's what the traffic is like at the internet cafe where Wojciech serves coffee. ;-) I tend to use RAIDZ-2 or RAIDZ-3 for most large installations. From leslie at eskk.nu Sun Jun 3 05:57:56 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Sun Jun 3 05:58:04 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCA4ACB.9040309@FreeBSD.org> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> Message-ID: <4FCAFCE0.4070807@eskk.nu> 2012-06-02 19:18, Doug Barton skrev: > On 6/2/2012 8:09 AM, Leslie Jensen wrote: >> I'm thinking about some kind of information on the build progress > > Portmaster already has that if you're building in a terminal window, > look in the titlebar. I can take a look at printing that in line if > you're not in a terminal window though. > > hope this helps, > > Doug > I'm running in XFCE4 terminal and the titlebar is empty here! So do I need to activate this function? Thanks /Leslie From freebsd at dreamchaser.org Sun Jun 3 07:01:13 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Sun Jun 3 07:01:19 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: <20120603023552.acd054ac.freebsd@edvax.de> References: <4FC7F8AE.1010307@dreamchaser.org> <4FCAAB17.2010905@dreamchaser.org> <20120603023552.acd054ac.freebsd@edvax.de> Message-ID: <4FCB0BB3.1020203@dreamchaser.org> On 06/02/12 18:35, Polytropon wrote: > On Sat, 02 Jun 2012 18:08:55 -0600, Gary Aitken wrote: >> I've deinstalled cups and its dependencies and rebuilt only hpijs. > > You could have kept it installed (maybe some ports will want > it as a dependency), just disable it in /etc/rc.conf. I'm probably going to have to rebuild anyway, as I was totally unclear on what cups was initially and whether or not it was needed / wanted. One of the problems with not having another system and display when starting out, and not understanding the architecture at first. >> However, when I try to use gs + hpijs as a filter, it fails. > > Did you write your own filter? I used a tweaked version of the one Wojciech Puchar just posted, which appears to be a tweaked version of the one supplied with the hpijs port. I turned off some of the batch type options to help see what was going on. #!/bin/sh #export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/share/ppd /usr/local/bin/gs -dBATCH -dPARANOIDSAFER -dNOPAUSE \ -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" \ -sDeviceModel="Officejet Pro 8500 A909g" \ -dIjsUseOutputFD -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r600 \ -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 \ -sOutputFile=/tmp/$$ - >/dev/null #-sDeviceModel="DESKJET 960" \ #/usr/local/bin/gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE \ #-sOutputFile=- - && exit 0 cat /tmp/$$ #rm /tmp/$$ > For comparison: I'm using a HP Laserjet 4000 duplex here, > networked, with /opt/libexec/ps2pcl-dup.sh being the > filter for use with duplexing: > > #!/bin/sh > printf "\033&k2G" || exit 2 > gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER -sPAPERSIZE=a4 -r600x600 \ > -sDEVICE=ljet4d -dDuplex=true \ > -sOutputFile=- -&& exit 0 > exit 2 > > The entry for this printer in /etc/printcap is: > > Laserjet|ljet4d;r=600x600;q=high;c=full;p=a4;m=auto:\ > :rm=192.168.100.100:\ > :rp=raw:\ > :lp=:\ > :if=/opt/libexec/ps2pcl-dup.sh:\ > :sd=/var/spool/lpd/Laserjet:\ > :lf=/var/spool/lpd/Laserjet/log:\ > :af=/var/spool/lpd/Laserjet/acct:\ > :mx#0:\ > :sh: > > The name "Laserjet" is set in $PRINTER as the system's default > printer. There's also "Laserjet-nodup" where the filter simply > omits the duplexing functionality. > > I assume you did something similarly? That's quite a bit different, in that the output device for mine is the ijs daemon with hpijs as the ijs server. That part's from the hp sample script with the hpijs port. As you can see from the script and the commented out lines, the "-sDeviceModel=XXX" is what is changing the behavior. If I swap that one argument, it works. > Can you provide the command you've used for printing? By default, > the printer subsystem accepts PS (which is the normal printing > output format of _any_ printing application). lpr foo.txt lpr foo.pdf >> Also, the ppd.gz files from the port *did not* include any >> ppd.gz file for this printer. However, the cups port did, >> but they were installed elsewhere. So I just copied them >> over, but I'm wondering if there is a db or internal cache >> somewhere that has to be rebuilt. > > The ppd handling tool usually manages that. I never saw that mentioned. What's the ppd handling tool? >> It looks to me like it is unable to locate a .ppd.gz or .ppd >> which matches the device name "enough" to be used. Anyone know >> who is generating the error > > It's lpd (see message). I'm not certain about that. It may be an error passed up by the ijs subsystem and simply spit out by lpd. > It's accessing a printer called "lp" (does it exist with tha > name?) and loses the connection, and try to restart it. The > inability is expressed as "unable to set device=HP Officejet > Pro 8500 a909g hpijs", I'm not sure if spaces are allowed? > (Check "man 5 printcap" to be sure.) Spaces are allowed; "DESKJET 960" works. But that name is coming from the :if: script, not printcap. Again, I don't think it's a printcap / lpr issue. lpr is simply running the script it found by looking up device lp. The script passes the DeviceModel on to gs, which feeds it to ijs (-sDEVICE=ijs) which uses the hpijs implementation which is what I think is failing to find the ppd file or its contents. (which I think it has cached, see below; I think the actual files are irrelevant at this point) lpr passes the appropriate stuff to gs, which creates a file, which lpr then sends on to the output device :rm=aa.bb.cc.dd: The gs process gets cut short because hpijs or ijs can't fine the ppd file/contents its looking for, so the file created by gs is empty and the error gets passed on up to lpd and nothing gets sent to the device. Here's my printcap entry: lp|hp|text|hp8500|HP Officejet Pro 8500 a909g:\ :lp=:\ :sh:\ :mx=1000:\ :rm=aa.bb.cc.dd:\ :rp=lp:\ :sd=/var/spool/lpd/hp8500:\ :lf=/var/log/lpd-errs:\ :if=/var/spool/lpd/hp8500/diff.2: >> Ok, I tweeked /etc/printcap and the filter to call the printer >> a "DESKJET 960" and it worked. > > Is your $PRINTER set to this name? In that case, you could > easily move from "lp" (the default name) to omitting -P > in the lp* commands. $PRINTER is not set All of the above is dealing with the default printer, lp. I don't even need to tweak printcap; the above one works if the :if: script uses -sDeviceModel="DESKJET 960" The only change is to the "-sDeviceModel=XXX" in the input filter script. >> So one obviously has to do more than just supply the correct >> .ppd.gz file in the correct spot. > > Right. If you look into a .ppd file, you'll see PostScript in > there. Yep. But I don't think it's even looking at the actual files at this point; I think they have been cached at install time somehow. Somebody (I claim gs via the ijs subsystem) is trying to find the contents of the correct .ppd file. Either by looking 1. at a dictionary built from the ppd files at install time 1a. using file names (the installed files are still zipped) 1b. using their ps contents 2. looking at the file names or their ps contents at run time I claim it's #1, because simply putting the right file in the right place doesn't work, unless I haven't found the right place. I just tried moving the whole /usr/local/share/ppd directory to another name and it still worked. There are no other ppd files around at this point. A daemon could have the file handle open and still get at it, but the ijs daemon is started up and terminated with each print job. Which is why I'd like to know about this ppd tool if that's what it is. I need to be able to put the appropriate ppd.gz file in the right place and recreate the cache, wherever / whatever it is. Gary From gobble.wa at gmail.com Sun Jun 3 08:00:55 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Sun Jun 3 08:01:23 2012 Subject: Updating packages Message-ID: I have tried the available package update methods. It occurred to me to experiment with a different way. I am working on a package update script in Python as an alternate way to update installed packages with latest available on the FreeBSD web site. It parses the index page of the web site and compares the versions of installed packages. If their is a difference it downloads the package tbz file and performs an MD5 checksum, then writes the corresponding pkg_delete and pkg_add for the package into a file which can be edited and executed from the command line. It does not automatically update the packages, for example in some cases the script reports that an older version of Perl is a suitable replacement for the latest version. Also on my system there are like seventeen versions of doc_book package so it writes the pkg_delete for each installed version and pkg_add for the latest version. (in which case we would not really want to install it seventeen times). Does anyone have recollection of a negative experience using 'pkg_delete --force' to the old version and 'pkg_add' the replacement? Would you say it's generally a bad idea to first delete the package before adding the updated package, and instead recommend to install the updated package on top of the existing installation? My project is at the following URL: https://github.com/creamy/pkg_checkversion Thanks, Waitman Gobble San Jose California USA From odhiambo at gmail.com Sun Jun 3 09:40:21 2012 From: odhiambo at gmail.com (Odhiambo Washington) Date: Sun Jun 3 09:41:08 2012 Subject: Roster DNS Management Message-ID: So is there any FreeBSD Admin who has been adventurous enough to install Roster DNS Management - http://bit.ly/2j3pGj - and successfully deployed it? I am looking at it now, but I am afraid of using one aspect of it - LDAP, which it uses for authentication. I'm trying to see if someone did MySQL instead. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. From cwhiteh at onetel.com Sun Jun 3 11:48:49 2012 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sun Jun 3 11:48:57 2012 Subject: freebsd-update no mirrors? Message-ID: <4FCB4EE3.7020807@onetel.com> c400# uname -a FreeBSD c400 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Following the handbook: c400# freebsd-update -r 9-STABLE upgrade Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 9.0-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/src world/base world/doc world/games The following components of FreeBSD do not seem to be installed: Does this look reasonable (y/n)? y Fetching metadata signature for 9-STABLE from update4.FreeBSD.org... failed. Fetching metadata signature for 9-STABLE from update2.FreeBSD.org... failed. Fetching metadata signature for 9-STABLE from update5.FreeBSD.org... failed. Fetching metadata signature for 9-STABLE from update3.FreeBSD.org... failed. No mirrors remaining, giving up. In case I had got the CVS tag wrong I also tried 9.0-STABLE with the same results. I haven't changed freebsd-update.conf Am I doing something wrong? This is the first time I've used freebsd-update, except that just now I apparently successfully did freebsd-update fetch and freebsd-update install on this machine. Thanks Chris From rwmaillists at googlemail.com Sun Jun 3 12:00:36 2012 From: rwmaillists at googlemail.com (RW) Date: Sun Jun 3 12:00:43 2012 Subject: freebsd-update no mirrors? In-Reply-To: <4FCB4EE3.7020807@onetel.com> References: <4FCB4EE3.7020807@onetel.com> Message-ID: <20120603130022.1b8eb10f@gumby.homeunix.com> On Sun, 03 Jun 2012 12:47:47 +0100 Chris Whitehouse wrote: > > c400# uname -a > FreeBSD c400 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 > UTC 2012 > root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > Following the handbook: > > c400# freebsd-update -r 9-STABLE upgrade >... > Am I doing something wrong? freebsd-update only works on release security branches - not development branches. From cwhiteh at onetel.com Sun Jun 3 13:25:21 2012 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sun Jun 3 13:25:28 2012 Subject: freebsd-update no mirrors? In-Reply-To: <20120603130022.1b8eb10f@gumby.homeunix.com> References: <4FCB4EE3.7020807@onetel.com> <20120603130022.1b8eb10f@gumby.homeunix.com> Message-ID: <4FCB65BF.2090408@onetel.com> On 03/06/2012 13:00, RW wrote: > On Sun, 03 Jun 2012 12:47:47 +0100 > Chris Whitehouse wrote: > >> >> c400# uname -a >> FreeBSD c400 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 >> UTC 2012 >> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> Following the handbook: >> >> c400# freebsd-update -r 9-STABLE upgrade >> ... >> Am I doing something wrong? > > freebsd-update only works on release security branches - not > development branches. Ah my mistake, thanks. It's a rather old slow laptop and I don't want to stress it by building world/kernel, I guess that means it stays on RELEASE. thanks Chris From wblock at wonkity.com Sun Jun 3 13:46:08 2012 From: wblock at wonkity.com (Warren Block) Date: Sun Jun 3 13:46:15 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCAFCE0.4070807@eskk.nu> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> Message-ID: On Sun, 3 Jun 2012, Leslie Jensen wrote: > > > 2012-06-02 19:18, Doug Barton skrev: >> On 6/2/2012 8:09 AM, Leslie Jensen wrote: >>> I'm thinking about some kind of information on the build progress >> >> Portmaster already has that if you're building in a terminal window, >> look in the titlebar. I can take a look at printing that in line if >> you're not in a terminal window though. >> > > I'm running in XFCE4 terminal and the titlebar is empty here! > > So do I need to activate this function? It's on by default. --no-term-title disables it, as does setting PM_NO_TERM_TITLE in portmaster.rc. From freebsd at edvax.de Sun Jun 3 14:26:52 2012 From: freebsd at edvax.de (Polytropon) Date: Sun Jun 3 14:27:00 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: <4FCB0BB3.1020203@dreamchaser.org> References: <4FC7F8AE.1010307@dreamchaser.org> <4FCAAB17.2010905@dreamchaser.org> <20120603023552.acd054ac.freebsd@edvax.de> <4FCB0BB3.1020203@dreamchaser.org> Message-ID: <20120603162642.a8af2417.freebsd@edvax.de> On Sun, 03 Jun 2012 01:01:07 -0600, Gary Aitken wrote: > On 06/02/12 18:35, Polytropon wrote: > > On Sat, 02 Jun 2012 18:08:55 -0600, Gary Aitken wrote: > >> I've deinstalled cups and its dependencies and rebuilt only hpijs. > > > > You could have kept it installed (maybe some ports will want > > it as a dependency), just disable it in /etc/rc.conf. > > I'm probably going to have to rebuild anyway, as I was totally > unclear on what cups was initially and whether or not it was > needed / wanted. As a summary, CUPS is both a replacement of the system's default printer spooler (lpr) and its command line tools (lpr, lpq, lprm, plus lpstat, lpconfig), as well as a collection of printer filters (to turn PS into different printer languages) and preprocessors (to turn non-PS input files into PS prior to printing). It's being considered _the_ standard meanwhile for many "modern" software packages that have "hardcoded expectations" that CUPS is present and running, in order to print (instead of just to submit the PS data to whatever is there - lpr is _always_ there). > One of the problems with not having another system and display > when starting out, and not understanding the architecture at > first. As soon as you've got the the basic system up and running, a minimal windowing environment, some xterms, a MUA and a web browser should be sufficient. > >> However, when I try to use gs + hpijs as a filter, it fails. > > > > Did you write your own filter? > > I used a tweaked version of the one Wojciech Puchar just posted, > which appears to be a tweaked version of the one supplied with the hpijs port. > I turned off some of the batch type options to help see what was going on. > > #!/bin/sh > > #export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin > export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/share/ppd > > /usr/local/bin/gs -dBATCH -dPARANOIDSAFER -dNOPAUSE \ > -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" \ > -sDeviceModel="Officejet Pro 8500 A909g" \ > -dIjsUseOutputFD -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r600 \ > -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 \ > -sOutputFile=/tmp/$$ - >/dev/null > #-sDeviceModel="DESKJET 960" \ > #/usr/local/bin/gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE \ > #-sOutputFile=- - && exit 0 > cat /tmp/$$ > #rm /tmp/$$ Ah okay, this uses ijs, _not_ a .ppd file. See the -sDEVICE parameter which is the "main entry" to what printer filter will be used (to compare, in my case it's "ljet4d" which produces PCL that gets then sent). > > For comparison: I'm using a HP Laserjet 4000 duplex here, > > networked, with /opt/libexec/ps2pcl-dup.sh being the > > filter for use with duplexing: > > > > #!/bin/sh > > printf "\033&k2G" || exit 2 > > gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER -sPAPERSIZE=a4 -r600x600 \ > > -sDEVICE=ljet4d -dDuplex=true \ > > -sOutputFile=- -&& exit 0 > > exit 2 > > > > The entry for this printer in /etc/printcap is: > > > > Laserjet|ljet4d;r=600x600;q=high;c=full;p=a4;m=auto:\ > > :rm=192.168.100.100:\ > > :rp=raw:\ > > :lp=:\ > > :if=/opt/libexec/ps2pcl-dup.sh:\ > > :sd=/var/spool/lpd/Laserjet:\ > > :lf=/var/spool/lpd/Laserjet/log:\ > > :af=/var/spool/lpd/Laserjet/acct:\ > > :mx#0:\ > > :sh: > > > > The name "Laserjet" is set in $PRINTER as the system's default > > printer. There's also "Laserjet-nodup" where the filter simply > > omits the duplexing functionality. > > > > I assume you did something similarly? > > That's quite a bit different, in that the output device for mine > is the ijs daemon with hpijs as the ijs server. That part's from > the hp sample script with the hpijs port. Correct. If the ijs system supports your printer, it should be fine. > As you can see from the script and the commented out lines, the > "-sDeviceModel=XXX" is what is changing the behavior. If I > swap that one argument, it works. Good! > > Can you provide the command you've used for printing? By default, > > the printer subsystem accepts PS (which is the normal printing > > output format of _any_ printing application). > > lpr foo.txt > lpr foo.pdf For diagnostics, you should always start with a PS file. This is what the printer spooler accepts as input. Before printing, check the PS file with "gv " to make sure it contains what you expect it to contain. All applications that have a "print to file" option will output PS. In the past, I've been using apsfilter to do the preprocessing (? -> PS), but its backend was the same simple gs command as I'm using today, even the automatically generated printcap entry was similar (except at that time, the printer destination was parallel). > >> Also, the ppd.gz files from the port *did not* include any > >> ppd.gz file for this printer. However, the cups port did, > >> but they were installed elsewhere. So I just copied them > >> over, but I'm wondering if there is a db or internal cache > >> somewhere that has to be rebuilt. > > > > The ppd handling tool usually manages that. > > I never saw that mentioned. What's the ppd handling tool? CUPS for example. It "integrates" the content of the .ppd file into its printer filtering mechanism. If you supply a .ppd file in the printer configuration, it will use this instead of its own filters (which may not be up to date with all "modern" printers). > >> It looks to me like it is unable to locate a .ppd.gz or .ppd > >> which matches the device name "enough" to be used. Anyone know > >> who is generating the error > > > > It's lpd (see message). > > I'm not certain about that. > It may be an error passed up by the ijs subsystem and simply spit out by lpd. That is possible. It's hard to judge this more precisely from the logged message. > > It's accessing a printer called "lp" (does it exist with tha > > name?) and loses the connection, and try to restart it. The > > inability is expressed as "unable to set device=HP Officejet > > Pro 8500 a909g hpijs", I'm not sure if spaces are allowed? > > (Check "man 5 printcap" to be sure.) > > Spaces are allowed; "DESKJET 960" works. > But that name is coming from the :if: script, not printcap. Okay, as I've seen from your filter, it's properly quoted. > Again, I don't think it's a printcap / lpr issue. > lpr is simply running the script it found by looking up device lp. > The script passes the DeviceModel on to gs, > which feeds it to ijs (-sDEVICE=ijs) > which uses the hpijs implementation > which is what I think is failing to find the ppd file or its contents. > (which I think it has cached, see below; > I think the actual files are irrelevant at this point) I'm not sure in how far hpijs utilizes .ppd files (instead of using the filter descriptions bundled in the installation package). The hpijs port installs .ppd files into /usr/local/share/ppd/HP/ which should be the search path, except there's a configuration file saying otherwise. > lpr passes the appropriate stuff to gs, > which creates a file, > which lpr then sends on to the output device :rm=aa.bb.cc.dd: > The gs process gets cut short because hpijs or ijs can't fine > the ppd file/contents its looking for, > so the file created by gs is empty > and the error gets passed on up to lpd > and nothing gets sent to the device. Sounds logical. > Here's my printcap entry: > > lp|hp|text|hp8500|HP Officejet Pro 8500 a909g:\ > :lp=:\ > :sh:\ > :mx=1000:\ > :rm=aa.bb.cc.dd:\ > :rp=lp:\ > :sd=/var/spool/lpd/hp8500:\ > :lf=/var/log/lpd-errs:\ > :if=/var/spool/lpd/hp8500/diff.2: Well, I see differences to my (working) configuration. First of all, you don't have specified some parameters like r=600x600 or q=high or paper size, which should be no problem. You're specifying rp=lp. Is this the _remote_ name on which the printer can be accessed? I have "rp=raw" which doesn't utilize the printer's _internal_ spooling mechanism. Name and location of your input filter look a bit strange, but if it's available at /var/spool/lpd/hp8500/diff.2, that also should be no problem. By the way, have you tried using your filter directly for testing? As mentioned before, prepare a printable PS file, then do: # cat test.ps | /var/spool/lpd/hp8500/diff.2 | nc 123.45.67.890 Note: nc is from port "nc" (netcat). It will send it directly to the IP address, which will normally be done by lpr, but just for diagnostics, always work with the smallest possible variables. :-) If the printer expects a certain destination port (e. g. as it uses this to "switch between multiple personalities), add the port number after the IP (e. g. "nc 123.45.67.890 1000"). Does _this_ work? > >> Ok, I tweeked /etc/printcap and the filter to call the printer > >> a "DESKJET 960" and it worked. > > > > Is your $PRINTER set to this name? In that case, you could > > easily move from "lp" (the default name) to omitting -P > > in the lp* commands. > > $PRINTER is not set > All of the above is dealing with the default printer, lp. Okay, so no problem here. > I don't even need to tweak printcap; > the above one works if the :if: script uses -sDeviceModel="DESKJET 960" > The only change is to the "-sDeviceModel=XXX" in the input filter script. The printcap file only controls how to convert and where to send the printing data. > >> So one obviously has to do more than just supply the correct > >> .ppd.gz file in the correct spot. > > > > Right. If you look into a .ppd file, you'll see PostScript in > > there. > > Yep. > But I don't think it's even looking at the actual files at this point; > I think they have been cached at install time somehow. That depends on the configuration of the port, maybe it simply parses its PPD source directory at every invocation, or it has a config file dealing with that. > Somebody (I claim gs via the ijs subsystem) is trying to find > the contents of the correct .ppd file. Either by looking > 1. at a dictionary built from the ppd files at install time > 1a. using file names (the installed files are still zipped) > 1b. using their ps contents > 2. looking at the file names or their ps contents at run time Regarding the naming of the .ppd files, no. 2 sounds possible. > I claim it's #1, because simply putting the right file in the > right place doesn't work, unless I haven't found the right place. > I just tried moving the whole /usr/local/share/ppd directory > to another name and it still worked. There are no other ppd > files around at this point. Yes, the hpijs port specifies /usr/local/share/ppd/HP/ which is an addition to what you mentioned. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From v.velox at vvelox.net Sun Jun 3 14:27:24 2012 From: v.velox at vvelox.net (Zane C. B-H.) Date: Sun Jun 3 14:27:32 2012 Subject: vpn speed loss In-Reply-To: References: Message-ID: <20120603092917.65c68e7a@vixen42.vulpes.vvelox.net> On Fri, 1 Jun 2012 11:48:45 +0200 Beni Brinckman wrote: > Hi, > > I'm running FreeBSD 9.0-RELEASE (pc-bsd 9.0 actuallly) on amd64 and > I'm using a vpn connexion. > My problem is the enormous speed loss i'm having when I'm using the > vpn connexion. > I have tried Openvpn and mpd5 (with a pptp and l2pt connexion) and > the max speed (according to various speedtests) is 5 to 6MB. > Without the vpn I'm having 45-50 MB... My vpn service has servers in > several European countries and US, Canada, etc. The speed stays the > same. > So I don't think it is a specific bsd problem but the > lines/connexion between ISP's. > Is this the "normal" speed when using a vpn (independently of the > used program to connect) ? Because from 45-50 back to 5-6 is a big > step backward... > Thanks for any insights here. With OpenVPN, you should not be seeing that big of a drop, with the real limiting factor being the CPU time available for it. You can easily check top and see if that is the case. If you get 45-50MBps between the two locations with out VPN, baring any firewall issues at either end, it is likely a configuration issue in regards to the networking of the machines in question or the VPN software or a CPU resource issue. One of the first areas I would check is the MTU being used on the network interfaces, figure out what the max MTU for the path is, and make sure the VPN software is not sending packets larger than that. You may also want to take a look at tuning(7). From freebsd at dreamchaser.org Sun Jun 3 14:59:12 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Sun Jun 3 14:59:20 2012 Subject: umount device busy Message-ID: <4FCB7BBF.7090603@dreamchaser.org> Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal user: cd /mnt/goflex %mkdir breakaway mkdir: .: No such file or directory After checking write premissions, which I didn't have, I did an su -l and tried again, with the same results. I then tried to unmount the drive, believing it was mounted read-only: #umount /mnt/goflex umount: unmount of /mnt/goflex failed: Device busy As nearly as I can tell, I don't have anything pointing at that drive. Questions: 1. What does the "No such file or directory" mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. 2. How do I find out how the file-system was mounted? mount (noargs) does not show read/write status 3. I tried lsof but I don't get any output from it: lsof +d /mnt/goflex -x -- /mnt/goflex Where does it go if not to stdout? 4. lsof has a *long* man page, so I'd like to save it temporarily so I can search it in an editor. If I do man lsof >temp.tmp the output contains backspace sequences which screw up searching. How do I get man to produce plain text without the control sequences? 5. The lsof man page references a faq which is supposed to be part of the distribution. find . -ls | grep lsof doesn't show any faq. 6. And finally, any idea why umount says the device is busy? Seems like I should have been able to find the answer to at least one of those but I'm coming up short. Thanks for relevant pointers, Gary From freebsd at edvax.de Sun Jun 3 15:24:28 2012 From: freebsd at edvax.de (Polytropon) Date: Sun Jun 3 15:24:36 2012 Subject: umount device busy In-Reply-To: <4FCB7BBF.7090603@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> Message-ID: <20120603172426.618e7e6a.freebsd@edvax.de> On Sun, 03 Jun 2012 08:59:11 -0600, Gary Aitken wrote: > Something I'm overlooking here and a lot of questions I can't > seem to find the answers to... > > I mounted a usb drive > mount -t ntfs /dev/da0s1 /mnt/goflex > > Then, as nearly as I can remember... > I then poked around a bit using the xfce4 browser. > I tried to mkdir from the mount point as a normal user: > cd /mnt/goflex > %mkdir breakaway > mkdir: .: No such file or directory > After checking write premissions, which I didn't have, > I did an su -l and tried again, with the same results. > > I then tried to unmount the drive, believing it was mounted read-only: > #umount /mnt/goflex > umount: unmount of /mnt/goflex failed: Device busy > > As nearly as I can tell, I don't have anything pointing at that drive. > > Questions: > > 1. What does the "No such file or directory" mean from mkdir? > It's a relative dir name, and I'm sitting at a valid dir. I think I remember having read about problems with "Windows"-based file system use, such as valid directories becoming invalid. The error message you mentioned states /mnt/goflex is not a valid directory (anymore), that's why no directory entry can be created here. Consider NTFS being part of the problem, i. e. problems with the _ntfs file system driver provided by the OS (as it seems you're not using FUSE tools here - there are "fusefs-ntfs" and "ntfsprogs" in the ports collection which may provide a functionality the base system is missing here). > 2. How do I find out how the file-system was mounted? > mount (noargs) does not show read/write status It does - implicitely. For -o ro, it shows "read-only". > 3. I tried lsof but I don't get any output from it: > lsof +d /mnt/goflex -x -- /mnt/goflex > Where does it go if not to stdout? If no output redirection is applied, consider the output being empty, as no error message is displayed (so both stdout and stderr are silent). > 4. lsof has a *long* man page, so I'd like to save it temporarily > so I can search it in an editor. If I do man lsof >temp.tmp > the output contains backspace sequences which screw up searching. > How do I get man to produce plain text without the control sequences? You can use less's search (key "/") when using the "man lsof" command. You can also use a PDF viewer (including text search functionality) so you can keep the formatting details. The following command does the trick: zcat `man -w lsof` | groff -Tps -dpaper=a4 -P-pa4 -mandoc | ps2pdf - /tmp/man_1_lsof.pdf To convert to pure text, use -Tascii or -Tlatin1; however, this renders to pure text without keeping the formatting intact. > 6. And finally, any idea why umount says the device is busy? Maybe there are writes pending, or it's just "held open" by Xfce. Make sure no terminal session has the mount point as current working directory, which would imply "device busy", even if there's no actual reading or writing action. > Seems like I should have been able to find the answer to at > least one of those but I'm coming up short. You could use "umount -f" to force it, but that may result in files missing. Anyway, I've never actually used NTFS with FreeBSD so this could also be a source of the problem. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From dwhytcross at gmail.com Sun Jun 3 15:22:39 2012 From: dwhytcross at gmail.com (David Whytcross) Date: Sun Jun 3 15:38:45 2012 Subject: umount device busy References: <4FCB7BBF.7090603@dreamchaser.org> Message-ID: <7581F5930C4F42B28B1E4A5162491B35@astrolap> Hi Gary, if you are using xfce4, then you have most likely got gamin running as well, this caused the same problem for me when trying to umount an external USB drive I resolved my umount problem by including the -f switch #umount -f /mnt/goflex Dave Whytcross ----- Original Message ----- From: "Gary Aitken" To: "FreeBSD Mailing List" Sent: Monday, June 04, 2012 12:59 AM Subject: umount device busy > Something I'm overlooking here and a lot of questions I can't seem to find > the answers to... > > I mounted a usb drive > mount -t ntfs /dev/da0s1 /mnt/goflex > > Then, as nearly as I can remember... > I then poked around a bit using the xfce4 browser. > I tried to mkdir from the mount point as a normal user: > cd /mnt/goflex > %mkdir breakaway > mkdir: .: No such file or directory > After checking write premissions, which I didn't have, > I did an su -l and tried again, with the same results. > > I then tried to unmount the drive, believing it was mounted read-only: > #umount /mnt/goflex > umount: unmount of /mnt/goflex failed: Device busy > > As nearly as I can tell, I don't have anything pointing at that drive. > > Questions: > > 1. What does the "No such file or directory" mean from mkdir? > It's a relative dir name, and I'm sitting at a valid dir. > > 2. How do I find out how the file-system was mounted? > mount (noargs) does not show read/write status > > 3. I tried lsof but I don't get any output from it: > lsof +d /mnt/goflex -x -- /mnt/goflex > Where does it go if not to stdout? > > 4. lsof has a *long* man page, so I'd like to save it temporarily so I > can search it in an editor. If I do man lsof >temp.tmp the output > contains backspace sequences which screw up searching. How do I get man > to produce plain text without the control sequences? > > 5. The lsof man page references a faq which is supposed to be part of the > distribution. > find . -ls | grep lsof doesn't show any faq. > > 6. And finally, any idea why umount says the device is busy? > > Seems like I should have been able to find the answer to at least one of > those but I'm coming up short. > > Thanks for relevant pointers, > > Gary > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From luvbeastie at larseighner.com Sun Jun 3 15:55:39 2012 From: luvbeastie at larseighner.com (Lars Eighner) Date: Sun Jun 3 15:55:48 2012 Subject: umount device busy In-Reply-To: <4FCB7BBF.7090603@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> Message-ID: On Sun, 3 Jun 2012, Gary Aitken wrote: > Something I'm overlooking here and a lot of questions I can't seem to find > the answers to... > > I mounted a usb drive > mount -t ntfs /dev/da0s1 /mnt/goflex > > Then, as nearly as I can remember... > I then poked around a bit using the xfce4 browser. > I tried to mkdir from the mount point as a normal user: > cd /mnt/goflex > %mkdir breakaway > mkdir: .: No such file or directory > After checking write premissions, which I didn't have, > I did an su -l and tried again, with the same results. > > I then tried to unmount the drive, believing it was mounted read-only: > #umount /mnt/goflex > umount: unmount of /mnt/goflex failed: Device busy This almost always means someone (i.e. you) is sitting in the directory. If you tried this while su'ed and the un-su'ed you were still in the directory /mnt/goflex, you'd get this message. This may also happen if someone (i.e. you) is in the directory on another vtty. Naturally it can also mean some operation is in progress, but generally you would have recognized and avoided that. > As nearly as I can tell, I don't have anything pointing at that drive. As I said, were you in the directory when you su'd? If so, you need to drop back and get out before you su again an umount. > Questions: > > 1. What does the "No such file or directory" mean from mkdir? > It's a relative dir name, and I'm sitting at a valid dir. You did not provide a history with this problem, but generally it means some part of the path before the last does not exist. I get it for using a leading /, when I meant a relative path, or not using the leading slash when I meant an absolute path -- and of course for misspelling some part of the path. > > 2. How do I find out how the file-system was mounted? > mount (noargs) does not show read/write status Did you try $mount -p ? > > 3. I tried lsof but I don't get any output from it: > lsof +d /mnt/goflex -x -- /mnt/goflex > Where does it go if not to stdout? You've got me! But why is there anything after -x? I don't quite understand. > > 4. lsof has a *long* man page, so I'd like to save it temporarily so I > can search it in an editor. If I do man lsof >temp.tmp the output > contains backspace sequences which screw up searching. How do I get man > to produce plain text without the control sequences? man -t lsof | sp2ascii > savefile.txt > > 5. The lsof man page references a faq which is supposed to be part of the > distribution. > find . -ls | grep lsof doesn't show any faq. I can't find it either, but I don't know why the above did not show /usr/local/share/lsof . /usr/local/share is where to look for such things, and /usr/local/share/doc is generally where any docs that are install are / found. > > 6. And finally, any idea why umount says the device is busy? Answered above. When you su, where you may go while su'd has no effect on where you left yourself. You (as a normal user) are still on the mounted directory so the mounted device is busy. You have to drop back (exit su) and move out of the device before you can umount it. > > Seems like I should have been able to find the answer to at least one of those but I'm coming up short. > > Thanks for relevant pointers, -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From rsmith at xs4all.nl Sun Jun 3 16:05:56 2012 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Jun 3 16:06:03 2012 Subject: optionsng ignores /var/db/ports//options Message-ID: <20120603160518.GA6631@slackbox.erewhon.net> Hi, With the release of the new options framework for ports, I've run into a problem trying to convert one of my ports. The nature of the problem is that the port seems to ignore the setting stored in /var/db/ports//options: I've used 'make config' to set the PYCAIO option to on; slackbox# cat /var/db/ports/py27-py-stl/options # This file is auto-generated by 'make config'. # Options for py27-py-stl-3.1 _OPTIONS_READ=py27-py-stl-3.1 _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO OPTIONS_FILE_SET+=PYCAIRO But the port seems to ignore it: slackbox# make showconfig ===> The following configuration options are available for py27-py-stl-3.1: PYCAIRO=off: Use (py)Cairo to enable stl2pdf ===> Use 'make config' to modify these settings Every time I do 'make config', the PYCAIRO option will be unset, even if it shows as set in /var/db/ports//options! My port Makefile is as follows: ------------ port Makefile ---------------- # New ports collection makefile for: py-stl # Date created: 28 Dec 2011 # Whom: rsmith@xs4all.nl # # $FreeBSD$ PORTNAME= py-stl PORTVERSION= 3.1 CATEGORIES= graphics python MASTER_SITES= http://rsmith.home.xs4all.nl/software/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rsmith@xs4all.nl COMMENT= Converts STL models to POV-Ray meshes or PostScript/PDF images USE_ZIP= YES USE_PYTHON= 2.5+ USE_PYDISTUTILS= YES CONFLICTS= stl2pov-[0-9]* MAN1= stl2ps.1 stlinfo.1 OPTIONS_DEFINE= PYCAIRO PYCAIRO_DESC= Use (py)Cairo to enable stl2pdf .include .if ${PORT_OPTIONS:MPYCAIRO} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cairo>1.8:${PORTSDIR}/graphics/py-cairo MAN1+= stl2pdf.1 PLIST_SUB+= STL2PDF="" .else PLIST_SUB+= STL2PDF="@comment " .endif NO_BUILD= YES post-install: .if ${PORT_OPTIONS:MPYCAIRO} @${INSTALL_MAN} ${WRKSRC}/stl2pdf.1 ${MANPREFIX}/man/man1 @${MV} ${PREFIX}/bin/stl2pdf.py ${PREFIX}/bin/stl2pdf .else @${RM} -f ${PREFIX}/bin/stl2pdf.py @${RM} -f ${MANPREFIX}/man/man1/stl2pdf.1* .endif @${INSTALL_MAN} ${WRKSRC}/stl2ps.1 ${MANPREFIX}/man/man1 @${INSTALL_MAN} ${WRKSRC}/stlinfo.1 ${MANPREFIX}/man/man1 @${MV} ${PREFIX}/bin/stl2ps.py ${PREFIX}/bin/stl2ps @${MV} ${PREFIX}/bin/stl2pov.py ${PREFIX}/bin/stl2pov @${MV} ${PREFIX}/bin/stlinfo.py ${PREFIX}/bin/stlinfo @${MV} ${PYTHON_SITELIBDIR}/py_stl-${PORTVERSION}-py${PYTHON_VER}.egg-info ${PYTHON_SITELIBDIR}/${PYDISTUTILS_EGGINFO} .include ------------ port Makefile ---------------- I've looked at other ports makefiles and see no obvious defects. Help? Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120603/dc7be950/attachment.pgp From bonomi at mail.r-bonomi.com Sun Jun 3 16:07:29 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Sun Jun 3 16:07:36 2012 Subject: umount device busy In-Reply-To: <4FCB7BBF.7090603@dreamchaser.org> Message-ID: <201206031607.q53G7fZG077132@mail.r-bonomi.com> Gary Aitken wrote: > > Something I'm overlooking here and a lot of questions I can't seem to find the answers to... > > I mounted a usb drive > mount -t ntfs /dev/da0s1 /mnt/goflex > > Then, as nearly as I can remember... > I then poked around a bit using the xfce4 browser. > I tried to mkdir from the mount point as a normal user: > cd /mnt/goflex > %mkdir breakaway > mkdir: .: No such file or directory > After checking write premissions, which I didn't have, > I did an su -l and tried again, with the same results. > > Questions: > > 1. What does the "No such file or directory" mean from mkdir? > It's a relative dir name, and I'm sitting at a valid dir. The specific complaint was concerning '.' this indicates a filesystem error. Note: it is (or, at least 'used to be') documented that _writing_ to NTFS filesystems was likely to have problems. > > 2. How do I find out how the file-system was mounted? > mount (noargs) does not show read/write status Yes, it does. :) 'readonly' means just that. 'readonly' NOT shown means read/write. > 6. And finally, any idea why umount says the device is busy? ABSOLUTELY! *GRIN* You did a cd to a directory located on that device. you started a 'su' process. Maybe you did a cd to 'somewhere else', or maybe not. Then you tried to umount the device. The current process may have the 'working directory' open on that drive. The _PARENT_ of the su process *DOES* have the 'working directory' open there. The O/S rightly refuses to unmount the device in such a situation. :) From wblock at wonkity.com Sun Jun 3 16:17:34 2012 From: wblock at wonkity.com (Warren Block) Date: Sun Jun 3 16:17:41 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: <20120603162642.a8af2417.freebsd@edvax.de> References: <4FC7F8AE.1010307@dreamchaser.org> <4FCAAB17.2010905@dreamchaser.org> <20120603023552.acd054ac.freebsd@edvax.de> <4FCB0BB3.1020203@dreamchaser.org> <20120603162642.a8af2417.freebsd@edvax.de> Message-ID: On Sun, 3 Jun 2012, Polytropon wrote: > By the way, have you tried using your filter directly for testing? > As mentioned before, prepare a printable PS file, then do: > > # cat test.ps | /var/spool/lpd/hp8500/diff.2 | nc 123.45.67.890 > > Note: nc is from port "nc" (netcat). It will send it directly to > the IP address, which will normally be done by lpr, but just for > diagnostics, always work with the smallest possible variables. :-) nc(1) is also in the base system as /usr/bin/nc. From wblock at wonkity.com Sun Jun 3 16:18:33 2012 From: wblock at wonkity.com (Warren Block) Date: Sun Jun 3 16:18:39 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> Message-ID: On Sun, 3 Jun 2012, Warren Block wrote: > On Sun, 3 Jun 2012, Leslie Jensen wrote: > >> >> >> 2012-06-02 19:18, Doug Barton skrev: >>> On 6/2/2012 8:09 AM, Leslie Jensen wrote: >>>> I'm thinking about some kind of information on the build progress >>> >>> Portmaster already has that if you're building in a terminal window, >>> look in the titlebar. I can take a look at printing that in line if >>> you're not in a terminal window though. >>> >> >> I'm running in XFCE4 terminal and the titlebar is empty here! >> >> So do I need to activate this function? > > It's on by default. --no-term-title disables it, as does setting > PM_NO_TERM_TITLE in portmaster.rc. Oh, and xfce's Terminal has a preferences setting that can prevent dynamically-set titles from being displayed. From freebsd at edvax.de Sun Jun 3 16:27:07 2012 From: freebsd at edvax.de (Polytropon) Date: Sun Jun 3 16:27:14 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: References: <4FC7F8AE.1010307@dreamchaser.org> <4FCAAB17.2010905@dreamchaser.org> <20120603023552.acd054ac.freebsd@edvax.de> <4FCB0BB3.1020203@dreamchaser.org> <20120603162642.a8af2417.freebsd@edvax.de> Message-ID: <20120603182420.cc5cd5e6.freebsd@edvax.de> On Sun, 3 Jun 2012 10:17:28 -0600 (MDT), Warren Block wrote: > On Sun, 3 Jun 2012, Polytropon wrote: > > > By the way, have you tried using your filter directly for testing? > > As mentioned before, prepare a printable PS file, then do: > > > > # cat test.ps | /var/spool/lpd/hp8500/diff.2 | nc 123.45.67.890 > > > > Note: nc is from port "nc" (netcat). It will send it directly to > > the IP address, which will normally be done by lpr, but just for > > diagnostics, always work with the smallest possible variables. :-) > > nc(1) is also in the base system as /usr/bin/nc. Damn, you're right! Maybe that is because of netcat hasn't always been part of the OS? I talked about it as something so common that I didn't even mention it. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From yuri at rawbw.com Sun Jun 3 16:33:27 2012 From: yuri at rawbw.com (Yuri) Date: Sun Jun 3 16:33:35 2012 Subject: Chromium - fails to compile In-Reply-To: <44txyxfx1q.fsf@lowell-desk.lan> References: <20120530143824.GA18299@aurora.oekb.co.at> <44txyxfx1q.fsf@lowell-desk.lan> Message-ID: <4FCB91CC.7060502@rawbw.com> On 05/30/2012 09:33, Lowell Gilbert wrote: > Yes. Chromium currently depends on SSE3; the recommended way of enabling > that appears to be setting CPUTYPE. Port should be ding that itself. Make use of misc/cpuid if needed. Make it BUILDDEP. Currently 19.0.1084.52 fails to build for me too. Yuri From wblock at wonkity.com Sun Jun 3 16:33:37 2012 From: wblock at wonkity.com (Warren Block) Date: Sun Jun 3 16:33:45 2012 Subject: umount device busy In-Reply-To: <4FCB7BBF.7090603@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> Message-ID: On Sun, 3 Jun 2012, Gary Aitken wrote: > 6. And finally, any idea why umount says the device is busy? xfce uses gamin to scan for new files and directories, but it causes just this problem. Edit /usr/local/etc/gamin/gaminrc and set it to poll the device directory: poll /mnt/* From gobble.wa at gmail.com Sun Jun 3 16:52:19 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Sun Jun 3 16:52:25 2012 Subject: starting xfce4 reboots machine In-Reply-To: References: Message-ID: On Thu, May 31, 2012 at 12:10 AM, Joe Gain wrote: > On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble > wrote: > > On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble >wrote: > > > >> > >> > >> On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble >wrote: > >> > >>> > >>> > >>> On Mon, May 28, 2012 at 7:42 AM, Warren Block > wrote: > >>> > >>>> On Sun, 27 May 2012, Waitman Gobble wrote: > >>>> > >>>> Hi, > >>>>> > >>>>> I've been running FreeBSD 10.0-CURRENT for some months, last time i > >>>>> rebuilt > >>>>> the system was April 20th. I've rebooted my machine many times and > >>>>> started > >>>>> X and Xfce4 without any trouble, however today I'm out of town on the > >>>>> road > >>>>> and when I startx my machine reboots. If I log in as root and startx > i > >>>>> can > >>>>> run xorg without xfce4. but if i try startxfce4 the machine reboots. > If > >>>>> I > >>>>> try to startx without xfce4 from my non-root account it locks up. > >>>>> It's pretty quick and nothing I can see in the logs... > >>>>> > >>>>> Anyone have any ideas about troubleshooting??? It seems like it's > out of > >>>>> the blue with no changes to the system that I recall. :) > >>>>> > >>>> > >>>> First, make sure you have cairo-1.10 instead of 1.12. After that, run > >>>> pkg_libchk from sysutils/bsdadminscripts. Rebuild anything that says > it is > >>>> missing libxfce4-utils. > >>>> > >>>> After that, well, I still see some unsteadiness from xfce-4.10. > There's > >>>> a long delay on start, like a DNS timeout (but I have working DNS). > >>>> Switching to console works, switching back usually does not, > rebooting the > >>>> machine. Leaving X and starting again reboots the machine. These > last two > >>>> could be due to the recent X upgrade, except I'm pretty sure they did > not > >>>> happen until xfce-4.10. > >>>> > >>> > >>> thanks. i'll check it out.. > >>> > >>> Waitman > >>> > >>> > >> spending some time troubleshooting this. it's a weird harold, the > machine > >> runs fine for days doing various things (but if i want X i have to log > in > >> as root first and startx, otherwise instant reboot). I've noticed that > if i > >> do a pkg_add the thing reboots, if i run SciTe editor it reboots. like > snap > >> of a finger instantly. > >> > >> I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll > >> have to re-add somehow, might have to build from source if it won't stop > >> rebooting :) > >> > >> i'll try the pkg_libchk > >> > >> Thanks, > >> > >> Waitman > >> > >> > > this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up > with > > the zero-byte files.. i did do a pkg_delete but didn't expect to see > this. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > Can't help with a solution. > > I had a very similar problem. I'm following 9.0-STABLE (rev. 235976 > ca. week old) using xfce and have a thinkpad laptop with intel > on-board graphics chip. My problems started when I updated the cairo > port, and at the time I couldn't really believe that cairo was the > cause of _the_ problem, because of the way X was crashing. What was > even more frustrating was that the Xorg log file was not revealing > anything other than "unknown error" and segfault. So, I didn't know > what to do for a while, and after spending a couple of days looking > for an answer, downgrading cairo fixed that issue. > > Couple of days later the new xfce is also available, and I have had no > problems running it, on stable with downgraded (currently current > again*) cairo. Be sure to read UPDATING with respect to xfce4-utils > etc. > > It would be interesting to hear from someone who knows what's going on > as this is the first major hiccup that I've had using freebsd. > > Thanks, Joe > > * > http://www.freshports.org/commit.php?category=graphics&port=cairo&files=yes&message_id=201205260354.q4Q3sBOI042864@repoman.freebsd.org > -- > joe gain > > jacob-burckhardt-str. 16 > 78464 konstanz > germany > > +49 (0)7531 60389 > > (...otherwise in ???) > Hi, I think I finally got to the bottom of my instant rebooting issue. I did a csup and rebuilt world/kernel, but doing a pkg_add or running xfce4 would still reboot the machine. This morning I scoured my logs and found one message that lead me to solution: bad dir ino xxxx AT OFFSET xxx: MANGLED ENTRY. It looks like on my machine that /var/tmp got wrecked, the fsck on boot wasn't catching it. I booted into single user mode and ran fsck -y a few times, the second time it skipped the journal to do a 'regular fsck' (maybe there is a switch to force it to skip the journal anyway?). w/o Journal it picked up the inode problems and fixed.. then mounted drive rw and deleted stuff in /var/tmp pkg_add works fine now, i haven't tried xfce4 yet but i bet it's going to work. Waitman Gobble San Jose California USA From matthew at FreeBSD.org Sun Jun 3 18:18:39 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Sun Jun 3 18:18:47 2012 Subject: optionsng ignores /var/db/ports//options In-Reply-To: <20120603160518.GA6631@slackbox.erewhon.net> References: <20120603160518.GA6631@slackbox.erewhon.net> Message-ID: <4FCBAA72.7020103@FreeBSD.org> On 03/06/2012 17:05, Roland Smith wrote: > I've used 'make config' to set the PYCAIO option to on; > > slackbox# cat /var/db/ports/py27-py-stl/options > # This file is auto-generated by 'make config'. > # Options for py27-py-stl-3.1 > _OPTIONS_READ=py27-py-stl-3.1 > _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO > OPTIONS_FILE_SET+=PYCAIRO > > But the port seems to ignore it: > > slackbox# make showconfig > ===> The following configuration options are available for py27-py-stl-3.1: > PYCAIRO=off: Use (py)Cairo to enable stl2pdf > ===> Use 'make config' to modify these settings > > Every time I do 'make config', the PYCAIRO option will be unset, even if it > shows as set in /var/db/ports//options! What does % make -V PORT_OPTIONS show? If PYCAIRO is set in PORT_OPTIONS, then the port is accepting your setting of the option, and you've found a bug with the showconfig target. (If so, please open a PR.) If not, then something odd is happening, as your port looks perfectly OK to me. Are you using a ports tree updated within about the last 48 hours or so? I know there were some bug fixes went in to all FOO_DESC lines to contain (brackets) and other syntactically significant characters. Cheers, Matthew PS. Asking this on freebsd-ports@... might be a good idea. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120603/bcebbb2a/signature.pgp From rsmith at xs4all.nl Sun Jun 3 19:10:41 2012 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Jun 3 19:10:48 2012 Subject: optionsng ignores /var/db/ports//options In-Reply-To: <4FCBAA72.7020103@FreeBSD.org> References: <20120603160518.GA6631@slackbox.erewhon.net> <4FCBAA72.7020103@FreeBSD.org> Message-ID: <20120603191003.GA8028@slackbox.erewhon.net> On Sun, Jun 03, 2012 at 07:18:26PM +0100, Matthew Seaman wrote: > On 03/06/2012 17:05, Roland Smith wrote: > > I've used 'make config' to set the PYCAIO option to on; > > > > slackbox# cat /var/db/ports/py27-py-stl/options > > # This file is auto-generated by 'make config'. > > # Options for py27-py-stl-3.1 > > _OPTIONS_READ=py27-py-stl-3.1 > > _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO > > OPTIONS_FILE_SET+=PYCAIRO > > > > But the port seems to ignore it: > > > > slackbox# make showconfig > > ===> The following configuration options are available for py27-py-stl-3.1: > > PYCAIRO=off: Use (py)Cairo to enable stl2pdf > > ===> Use 'make config' to modify these settings > > > > Every time I do 'make config', the PYCAIRO option will be unset, even if it > > shows as set in /var/db/ports//options! > > What does > > % make -V PORT_OPTIONS slackbox# pwd /usr/ports/graphics/py-stl slackbox# make -V PORT_OPTIONS DOCS EXAMPLES NLS > show? If PYCAIRO is set in PORT_OPTIONS, then the port is accepting > your setting of the option, and you've found a bug with the showconfig > target. (If so, please open a PR.) > > If not, then something odd is happening, as your port looks perfectly OK > to me. Are you using a ports tree updated within about the last 48 > hours or so? I know there were some bug fixes went in to all FOO_DESC > lines to contain (brackets) and other syntactically significant characters. I updated my ports tree this afternoon. The really weird thing is that I tested 'make config' in several other ports where it worked fine... > PS. Asking this on freebsd-ports@... might be a good idea. I guess I will do that. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120603/c7eb51c0/attachment.pgp From bmalik at ihlas.net.tr Sun Jun 3 19:43:05 2012 From: bmalik at ihlas.net.tr (Bulent Malik) Date: Sun Jun 3 19:43:11 2012 Subject: apache2 doesn't .flv in my server Message-ID: <00b301cd41c0$25b493d0$711dbb70$@ihlas.net.tr> Hello I use apache22-worker on freebsd9 It Works. But I can't video file flv extension. I googled about that and downloaded mod_flvx.c and followed the instructions. Also I see that flv is added as shared module in apache Httpd -M . alias_module (shared) rewrite_module (shared) php5_module (shared) h264_streaming_module (shared) flvx_module (shared) But when i call at http://myweb/example.flv i only download this file. How can I solve this case ? From gobble.wa at gmail.com Sun Jun 3 20:01:44 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Sun Jun 3 20:01:51 2012 Subject: umount device busy In-Reply-To: <4FCB7BBF.7090603@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> Message-ID: On Sun, Jun 3, 2012 at 7:59 AM, Gary Aitken wrote: > Something I'm overlooking here and a lot of questions I can't seem to find > the answers to... > > I mounted a usb drive > mount -t ntfs /dev/da0s1 /mnt/goflex > > Then, as nearly as I can remember... > I then poked around a bit using the xfce4 browser. > I tried to mkdir from the mount point as a normal user: > cd /mnt/goflex > %mkdir breakaway > mkdir: .: No such file or directory > After checking write premissions, which I didn't have, > I did an su -l and tried again, with the same results. > > I then tried to unmount the drive, believing it was mounted read-only: > #umount /mnt/goflex > umount: unmount of /mnt/goflex failed: Device busy > > As nearly as I can tell, I don't have anything pointing at that drive. > > Questions: > > 1. What does the "No such file or directory" mean from mkdir? > It's a relative dir name, and I'm sitting at a valid dir. > > 2. How do I find out how the file-system was mounted? > mount (noargs) does not show read/write status > > 3. I tried lsof but I don't get any output from it: > lsof +d /mnt/goflex -x -- /mnt/goflex > Where does it go if not to stdout? > > 4. lsof has a *long* man page, so I'd like to save it temporarily so I > can search it in an editor. If I do man lsof >temp.tmp the output contains > backspace sequences which screw up searching. How do I get man to produce > plain text without the control sequences? > > 5. The lsof man page references a faq which is supposed to be part of the > distribution. > find . -ls | grep lsof doesn't show any faq. > > 6. And finally, any idea why umount says the device is busy? > > Seems like I should have been able to find the answer to at least one of > those but I'm coming up short. > > Thanks for relevant pointers, > > Gary > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > something that *might* be helpful to you, it's a basic little man page browser in Qt left side of the pane shows a treeview of filesystem, so you can navigate /bin, /usr/bin, etc.. when you click on a file it looks for the corresponding man page and shows it on the right pane formatted html, which is a webkit panel. https://github.com/creamy/man-browser i built it on a FreeBSD machine but it also works with cygwin systems and probably GNU/Linux as well but i have not tried it. it is intended as a way to quickly look at what's installed on your system and possibly 'discover' and learn about previously 'unknown' commands. Waitman Gobble San Jose California USA From schweikh at schweikhardt.net Sun Jun 3 20:26:56 2012 From: schweikh at schweikhardt.net (Jens Schweikhardt) Date: Sun Jun 3 20:27:03 2012 Subject: How to use an external USB3.0 drive with 4k sectors? In-Reply-To: <4FC8FE11.3020700@dreamchaser.org> References: <20120531155704.GA2828@schweikhardt.net> <20120601100107.GB2721@schweikhardt.net> <4FC8FE11.3020700@dreamchaser.org> Message-ID: <20120603202624.GA4999@schweikhardt.net> I solved it. No kernel or other driver installations necessary beyond those I already had (xhci). 1. Hook up disk to USB 2 Port. -> System detects drive and creates device nodes: ugen3.2: at usbus3 umass1: on usbus3 da1 at umass-sim1 bus 1 scbus9 target 0 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers da1: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C) 2. Replace the vendor installed NTFS with a UFS file system. $ newfs -U /dev/da1s1 (No, I didn't bother to create BSD partitions) 3. Hook up disk to USB 3 Port. -> Now system detects drive and creates device nodes: ugen4.2: at usbus4 umass0: on usbus4 da1 at umass-sim0 bus 0 scbus8 target 0 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 400.000MB/s transfers da1: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C) 4. Mount $ mount /dev/da1s1 /mnt $ df /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0s1 968G 8.2k 891G 0% /mnt Wohooo! Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From derek at computinginnovations.com Sun Jun 3 20:51:59 2012 From: derek at computinginnovations.com (Derek Ragona) Date: Sun Jun 3 20:52:06 2012 Subject: FreeBSD9 fails to install on HP Proliant (crash) In-Reply-To: <20120531134134.GA60853@aurora.oekb.co.at> References: <20120531134134.GA60853@aurora.oekb.co.at> Message-ID: <6.0.0.22.2.20120603154553.060973c0@mail.computinginnovations.com> At 08:41 AM 5/31/2012, Ewald Jenisch wrote: >Hi, > >I'm trying to install FreeBSD9 (64bit) on a HP Proliant server >(ProLiant DL385 G1). Installation is done via remote-management >("iLO") basically by mounting the Installation-ISO. > >However a couple of seconds after booting the box crashes. > >Here's what I tried already: > >o) Re-download the installation ISO - same checksum - same result > >o) Instead of booting directly I issued the following two commands >on the loader prompt: > >set kern.eventtimer.periodic=1 >set kern.eventtimer.timer="LAPIC" > >followed by "boot" > >Neither of these helped. > >To cross-check I tried booting of a FreeBSD 8 installation media - no >problems at all (besides that the machine is running FreeBSD8 >currently without problems) > > >Any clue what could be wrong here and what I can do in order to make >this box boot from the installation media? > >Thanks much in advance for your help, >-ewald You can try the boot options on the boot menu to try with ACPI disabled. I have experienced some crashes and some hangs when trying to boot different hardware via an ISO virtually mounted and also booting via USB key. I believe the issues come down to timing issues, where in the boot process the kernel expects to have some required /tmp space on physical disk. You may need to create a RAID volume you plan to use for the filesystems first. Also check compatibility with your hardware. While it can be a pain, to debug something like this, I have booted systems at data centers where I have a console connected and using a CD or DVD drive (external USB if no internal device is installed.) -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From derek at computinginnovations.com Sun Jun 3 20:58:00 2012 From: derek at computinginnovations.com (Derek Ragona) Date: Sun Jun 3 20:58:08 2012 Subject: Firewall, blocking POP3 In-Reply-To: <201205310018.q4V0IBBL020440@mail.r-bonomi.com> References: <3421248490-1670043744@intranet.com.mx> <201205310018.q4V0IBBL020440@mail.r-bonomi.com> Message-ID: <6.0.0.22.2.20120603155503.06097508@mail.computinginnovations.com> At 07:18 PM 5/30/2012, Robert Bonomi wrote: > > From jbiquez@intranet.com.mx Wed May 30 13:48:05 2012 > > Date: Wed, 30 May 2012 13:47:34 -0500 > > To: Robert Bonomi > > From: Jorge Biquez > > Subject: Re: Firewall, blocking POP3 > > Cc: freebsd-questions@freebsd.org > > > > Hello. > > > > Thanks a lot!. Simple an elegant solution. > > > > I just did that and of course it worked.... I just was wondering... > > what if I need to have the service working BUT want to block those > > break attemps? IN this and other services. ? > > My guess is that it is a never ending process? I mean, block one, > > block another, another, etc? > >If one knows the address-blocks that legitimate customers will be using, >one can block off access from 'everywhere else'. > > > What the people who has big servers running for hosting services are > > doing? Or you just have a policy of strng passworrds, server > > up-todate and let the attemps to try forever? > >There are tools like 'fail2ban' that can be used to lock out persistant >doorknob-rattlers. > >Also, one can do things like allow mail access (POP, IMAP, 'whatever') >only via a port that is 'tunneled' through an SSH/SSL connection. > >This eliminates almost all doorknob rattling on the mail access ports, >but gets lots of attempts on the SSH port. Which is generally not a >problem, since the SSH keyspace is vastly larger, and more evenly >distributed, than that for plaintext passwords. > >To eliminate virtually all the 'noise' from SSH doorknob-rattling, run >it on a non-standard port. This does =not= increase the actual security >of the system, but it does greatly reduce the 'noise' in the logs -- so >any actual attack attempt is much more obvious. > You can use /etc/hosts.allow to list your "friendly" IP's allowed by protocol. This provides an easy way to block all foreign users. You can use wildcards in this file, so if you need to allow users in for POP access from an ISP, you can do that. Also, if you do have wide array of addresses you need to let in, you may want to put the email services in a jail. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From grarpamp at gmail.com Sun Jun 3 23:10:02 2012 From: grarpamp at gmail.com (grarpamp) Date: Sun Jun 3 23:10:09 2012 Subject: /usr/bin/find - binary operands howto Message-ID: Given a fs with millions of inodes, multiple find runs is expensive. As is performing the ch* on more than the minimum required inodes, which also needlessly updates the inode ctime. So I want one find, doing the ch* only if necessary. I came up with this. But any true line short circuits the rest of the -o's, which isn't desired. Using -a results similarly. The man page says -exec returns true if util is true. ch* is usually true unless the operation isn't permitted (file flags, read-only, etc) or the node vanishes in a race. The test[s] would keep -exec[s] from being always executed. Then there is the problem of the full permutation of the initial state of the owner and mode, say: 00, 01, 10, 11. So how should I write this? Do I want to use -true/-false somehow? # touch 1 ; chown 1:1 1 ; chmod 0666 1 ; ls -l 1 # find 1 \( \ \( \! \( -uid 0 -gid 0 \) -exec chown 0:0 {} \+ \) \ -o \ \( -perm +0222 -exec chmod ugo-w {} \+ \) \ -o \ ... -o \ ... \) # ls -l 1 From arsen.shnurkov at gmail.com Sun Jun 3 23:39:15 2012 From: arsen.shnurkov at gmail.com (Arsen.Shnurkov) Date: Sun Jun 3 23:39:22 2012 Subject: Syntax error: redirection unexpected In-Reply-To: <4FC63F11.6070001@gmail.com> References: <4FC63F11.6070001@gmail.com> Message-ID: <4FCBF595.9010004@gmail.com> http://forums.freebsd.org/showthread.php?t=32482 After recent update of ports tree make became unable to build lang/expect: Code: freebsd64# cd /usr/ports/lang/expect freebsd64# make install Syntax error: redirection unexpected *** Error code 2 Stop in /usr/ports/lang/expect. *** Error code 1 Stop in /usr/ports/lang/expect. The same error on FreeBSD 6.2 with make from 6.4: Code: [root@freebsd62 /usr/ports/devel/glib20]# make install Syntax error: redirection unexpected *** Error code 2 Stop in /usr/ports/devel/glib20. *** Error code 1 Stop in /usr/ports/devel/glib20. From kayasaman at gmail.com Mon Jun 4 01:07:02 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Mon Jun 4 01:07:10 2012 Subject: Strange case of vanishing disk Message-ID: <4FCC0A31.3000902@gmail.com> Hi, this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS server with 2x 2TB disks and 2x4TB disks as storage - all spread out over 2 ZFS storage pools. Additionally I am running the root file system on a 40GB SSD. The strange thing with this is that I recently installed the 4TB disks and they're brand new. One disk connected to the system board works fine and shows up as online and on one of the channels using atacontrol list. The other disk is connected to a Startech.com Jmicron based 2x SATA RAID controller card. The disk connected to the controller card is having issues. At first the drive wouldn't be seen by the system then after a while all of a sudden it was there. No reboots, no io scans nothing it just appeared. After blasting it with IO for a few days the disk has now vanished again..... I had this error in dmesg for a while: ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535 I have tried to use pciconf -lbvv to show the connected interfaces and the JMICRON comes up fine: atapci0@pci0:2:0:0: class=0x010400 card=0x2366197b chip=0x2366197b rev=0x02 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)' class = mass storage subclass = RAID bar [10] = type I/O Port, range 32, base 0xd040, size 8, enabled bar [14] = type I/O Port, range 32, base 0xd030, size 4, enabled bar [18] = type I/O Port, range 32, base 0xd020, size 8, enabled bar [1c] = type I/O Port, range 32, base 0xd010, size 4, enabled bar [20] = type I/O Port, range 32, base 0xd000, size 16, enabled bar [24] = type Memory, range 32, base 0xd0510000, size 8192, enabled So why isn't the disk? I reckon as stated at the beginning that either the 180Watt PSU inside the system isn't enough or the controller is just really poor?? Could anyone suggest anything to look into, I'm sure I've covered all the bases but just incase there is something else I can do with this one?? Thanks. Kaya From freebsd at dreamchaser.org Mon Jun 4 02:28:35 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 4 02:28:43 2012 Subject: umount device busy In-Reply-To: <7581F5930C4F42B28B1E4A5162491B35@astrolap> References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> Message-ID: <4FCC1D4C.2020503@dreamchaser.org> Combining several responses to save traffic; thanks all >> Something I'm overlooking here and a lot of questions I can't seem to find the answers to... >> >> I mounted a usb drive >> mount -t ntfs /dev/da0s1 /mnt/goflex >> >> Then, as nearly as I can remember... >> I then poked around a bit using the xfce4 browser. >> I tried to mkdir from the mount point as a normal user: >> cd /mnt/goflex >> %mkdir breakaway >> mkdir: .: No such file or directory >> After checking write premissions, which I didn't have, >> I did an su -l and tried again, with the same results. >> >> I then tried to unmount the drive, believing it was mounted read-only: >> #umount /mnt/goflex >> umount: unmount of /mnt/goflex failed: Device busy >> >> As nearly as I can tell, I don't have anything pointing at that drive. >> >> Questions: >> >> 1. What does the "No such file or directory" mean from mkdir? >> It's a relative dir name, and I'm sitting at a valid dir.On 06/03/12 09:24, Polytropon wrote: > On Sun, 03 Jun 2012 08:59:11 -0600, Gary Aitken wrote: >> Something I'm overlooking here and a lot of questions I can't >> seem to find the answers to... >> >> I mounted a usb drive >> mount -t ntfs /dev/da0s1 /mnt/goflex >> >> Then, as nearly as I can remember... >> I then poked around a bit using the xfce4 browser. >> I tried to mkdir from the mount point as a normal user: >> cd /mnt/goflex >> %mkdir breakaway >> mkdir: .: No such file or directory >> After checking write premissions, which I didn't have, >> I did an su -l and tried again, with the same results. >> >> I then tried to unmount the drive, believing it was mounted read-only: >> #umount /mnt/goflex >> umount: unmount of /mnt/goflex failed: Device busy >> >> As nearly as I can tell, I don't have anything pointing at that drive. >> >> Questions: >> >> 1. What does the "No such file or directory" mean from mkdir? >> It's a relative dir name, and I'm sitting at a valid dir. > I think I remember having read about problems with "Windows"-based > file system use, such as valid directories becoming invalid. The > error message you mentioned states /mnt/goflex is not a valid > directory (anymore), that's why no directory entry can be created > here. It's still valid. I can cd there and look at anything in the subtree. > Consider NTFS being part of the problem, i. e. problems with the > _ntfs file system driver provided by the OS (as it seems you're > not using FUSE tools here - there are "fusefs-ntfs" and "ntfsprogs" > in the ports collection which may provide a functionality the > base system is missing here). may try that but will probably decide to use two different drives for removable backup, one for windoze and one for fbsd. > if you are using xfce4, then you have most likely got gamin running as well, this caused the same problem for me when trying to umount an external USB drive gamin *is* installed, and I did have the file browser up and using it to look at the ntfs disk. I thought it might be holding a file open, so first I backed it out to something not on the ntfs disk, then exited it. Made no difference. Also, no gamin currently running. But as Warren Block noted, it causes this problem, so I'm assuming that is it. > I resolved my umount problem by including the -f switch > > #umount -f /mnt/goflex Which is what I am ending up doing. > This almost always means someone (i.e. you) is sitting in the directory. > If you tried this while su'ed and the un-su'ed you were still in the > directory /mnt/goflex, you'd get this message. This may also happen if > someone (i.e. you) is in the directory on another vtty. Naturally it can > also mean some operation is in progress, but generally you would have > recognized and avoided that. That's what I kept thinking. Backed out of all su ops, checked all xterms; nada. no other vtys opened. In any case, the mount was done after X was started, and switching vtys crashes X so I don't do that. > You did not provide a history with this problem, but generally it means some > part of the path before the last does not exist. I get it for using a > leading /, when I meant a relative path, or not using the leading slash when > I meant an absolute path -- and of course for misspelling some part of the > path. Nice to know someone else admits to that too :-). In this case, not the problem. >> 2. How do I find out how the file-system was mounted? >> mount (noargs) does not show read/write status > > It does - implicitely. For -o ro, it shows "read-only". > > Yes, it does. :) > 'readonly' means just that. 'readonly' NOT shown means read/write. I thought maybe so, but didn't know for sure. Thanks. But Lars' "mount -p" is more assuring. >> 3. I tried lsof but I don't get any output from it: >> lsof +d /mnt/goflex -x -- /mnt/goflex >> Where does it go if not to stdout? > > If no output redirection is applied, consider the output being > empty, as no error message is displayed (so both stdout and stderr > are silent). I thought maybe so, but then tried another test which should have had output and it didn't. But that one was operator error. Retried just now and got something so that's just being tired and not recognizing what I'm doing. Thanks. > You've got me! But why is there anything after -x? I don't quite > understand. Otherwise -x thinks the /mnt/goflex belongs to it. >> 4. lsof has a *long* man page, so I'd like to save it temporarily >> so I can search it in an editor. If I do man lsof>temp.tmp >> the output contains backspace sequences which screw up searching. >> How do I get man to produce plain text without the control sequences? > > You can use less's search (key "/") when using the "man lsof" > command. You can also use a PDF viewer (including text search > functionality) so you can keep the formatting details. > > The following command does the trick: > > zcat `man -w lsof` | groff -Tps -dpaper=a4 -P-pa4 -mandoc | ps2pdf - /tmp/man_1_lsof.pdf > > To convert to pure text, use -Tascii or -Tlatin1; however, this > renders to pure text without keeping the formatting intact. Thanks. I get a grops: can't open file `a4` but I'll deal with that later. > man -t lsof | sp2ascii > savefile.txt Where'd you get/find sp2ascii? I don't see one anywhere, not even on google. (Except this thread...) Secret weapon? >> 5. The lsof man page references a faq which is supposed to be part of the >> distribution. >> find . -ls | grep lsof doesn't show any faq. > > I can't find it either, but I don't know why the above did not show > /usr/local/share/lsof . /usr/local/share is where to look for such things, > and /usr/local/share/doc is generally where any docs that are install are > / found. It did. I didn't say it didn't find lsof, just no faq :-) > 6. And finally, any idea why umount says the device is busy? > You could use "umount -f" to force it, but that may result in > files missing. hope not, but not a heck of a lot of choices at this point. Since I didn't do squat because of the failed mkdir, seems hopeful. > The specific complaint was concerning '.' this indicates a filesystem > error. Note: it is (or, at least 'used to be') documented that _writing_ > to NTFS filesystems was likely to have problems. > xfce uses gamin to scan for new files and directories, but it causes just this problem. Edit /usr/local/etc/gamin/gaminrc and set it to poll the device directory: > > poll /mnt/* I've mounted them ro a number of times, but never tried writing before. Twice warned (or was it three times?). Permanently shy. Many thanks, all. > > something that *might* be helpful to you, it's a basic little man page > browser in Qt > left side of the pane shows a treeview of filesystem, so you can navigate > /bin, /usr/bin, etc.. when you click on a file it looks for the > corresponding man page and shows it on the right pane formatted html, which > is a webkit panel. > > https://github.com/creamy/man-browser > > it is intended as a way to quickly look at what's installed on your system > and possibly 'discover' and learn about previously 'unknown' commands. Thanks. Gary From mueller23 at insightbb.com Mon Jun 4 02:38:57 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Mon Jun 4 02:39:05 2012 Subject: Strange case of vanishing disk Message-ID: <99.2A.28751.ABF1CCF4@smtp01.insight.synacor.com> > this is a very strange issue but I guess will either be related to 2 > things, PSU not being powerful enough or disk controller simply being crap. > Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS > server with 2x 2TB disks and 2x4TB disks as storage - all spread out > over 2 ZFS storage pools. Additionally I am running the root file system > on a 40GB SSD. > The strange thing with this is that I recently installed the 4TB disks > and they're brand new. > One disk connected to the system board works fine and shows up as online > and on one of the channels using atacontrol list. > The other disk is connected to a Startech.com Jmicron based 2x SATA RAID > controller card. > The disk connected to the controller card is having issues. At first the > drive wouldn't be seen by the system then after a while all of a sudden > it was there. No reboots, no io scans nothing it just appeared. > After blasting it with IO for a few days the disk has now vanished > again..... > I had this error in dmesg for a while: > ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535 > I have tried to use pciconf -lbvv to show the connected interfaces and > the JMICRON comes up fine: > atapci0@pci0:2:0:0: class=0x010400 card=0x2366197b chip=0x2366197b > rev=0x02 hdr=0x00 > vendor = 'JMicron Technology Corp.' > device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)' > class = mass storage > subclass = RAID > bar [10] = type I/O Port, range 32, base 0xd040, size 8, enabled > bar [14] = type I/O Port, range 32, base 0xd030, size 4, enabled > bar [18] = type I/O Port, range 32, base 0xd020, size 8, enabled > bar [1c] = type I/O Port, range 32, base 0xd010, size 4, enabled > bar [20] = type I/O Port, range 32, base 0xd000, size 16, enabled > bar [24] = type Memory, range 32, base 0xd0510000, size 8192, enabled > So why isn't the disk? > I reckon as stated at the beginning that either the 180Watt PSU inside > the system isn't enough or the controller is just really poor?? > Could anyone suggest anything to look into, I'm sure I've covered all > the bases but just incase there is something else I can do with this one?? > Thanks. > Kaya _______ One thing I can think of is to disconnect the questionable disk from the RAID controller card and connect it directly to the motherboard. Then you'd know whether the fault is with the hard drive or the RAID controller. PSU = power supply unit? 180 watts seems very little, I didn't know any modern system could run on so little. I thought the minimum would be around 400 watts, and this would not allow for a powerful gaming graphics card. Maybe you need to replace the power supply with something having more watts, but make sure it will physically fit. Tom From kayasaman at gmail.com Mon Jun 4 02:59:26 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Mon Jun 4 02:59:32 2012 Subject: Strange case of vanishing disk In-Reply-To: <99.2A.28751.ABF1CCF4@smtp01.insight.synacor.com> References: <99.2A.28751.ABF1CCF4@smtp01.insight.synacor.com> Message-ID: <4FCC2483.5080901@gmail.com> this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. > Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS > server with 2x 2TB disks and 2x4TB disks as storage - all spread out > over 2 ZFS storage pools. Additionally I am running the root file system > on a 40GB SSD. [...] > _______ > > One thing I can think of is to disconnect the questionable disk from the RAID controller card and connect it directly to the motherboard. > > Then you'd know whether the fault is with the hard drive or the RAID controller. > > PSU = power supply unit? 180 watts seems very little, I didn't know any modern system could run on so little. I thought the minimum would be around 400 watts, and this would not allow for a powerful gaming graphics card. > > Maybe you need to replace the power supply with something having more watts, but make sure it will physically fit. > > Tom Thanks for the response! Here's some more info that I managed to dig up: Jun 4 02:39:19 Zeta-Ray root: ZFS: vdev I/O failure, zpool=ZFS_POOL_2 path=/dev/ad4 offset=270336 size=8192 error=6 Jun 4 02:39:19 Zeta-Ray kernel: ata2: port is not ready (timeout 15000ms) tfd = 000000ff Jun 4 02:39:19 Zeta-Ray kernel: ata2: hardware reset timeout Jun 4 02:39:19 Zeta-Ray kernel: unknown: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=269091394 Yeah, 180 Watts is what comes with the chassis as it's an external power supply. Additionally the system is a Mini-ITX so that would account for less power usage however, in this case I think it might be the PSU that's simply not providing enough power..... I will definitely try sticking the "downed" disk into the motherboard controller directly as that will tell me if the disk is the issue or not. I'm also thinking to eliminate the issue of using external controller to just get a new system board that 6x SATA connectors on it instead of 4 as per my board. Regards, Kaya From freebsd at edvax.de Mon Jun 4 03:05:39 2012 From: freebsd at edvax.de (Polytropon) Date: Mon Jun 4 03:05:47 2012 Subject: umount device busy In-Reply-To: <4FCC1D4C.2020503@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> Message-ID: <20120604050537.f2df2af2.freebsd@edvax.de> On Sun, 03 Jun 2012 20:28:28 -0600, Gary Aitken wrote: > > Consider NTFS being part of the problem, i. e. problems with the > > _ntfs file system driver provided by the OS (as it seems you're > > not using FUSE tools here - there are "fusefs-ntfs" and "ntfsprogs" > > in the ports collection which may provide a functionality the > > base system is missing here). > > may try that but will probably decide to use two different drives > for removable backup, one for windoze and one for fbsd. Good idea. However, you can do efficient backups of "Windows" data by using the "ntfsprogs" tools. This makes sure they can even be read under non-"Windows" systems. > > if you are using xfce4, then you have most likely got gamin > > running as well, this caused the same problem for me when > > trying to umount an external USB drive > > gamin *is* installed, and I did have the file browser up and > using it to look at the ntfs disk. I thought it might be > holding a file open, so first I backed it out to something > not on the ntfs disk, then exited it. Made no difference. Maybe the ganim "lock" is regarding a device file? Not sure about that, I'm not using it here. > In any case, the mount was done after X was started, and switching > vtys crashes X so I don't do that. That sounds a bit wrong... > >> 4. lsof has a *long* man page, so I'd like to save it temporarily > >> so I can search it in an editor. If I do man lsof>temp.tmp > >> the output contains backspace sequences which screw up searching. > >> How do I get man to produce plain text without the control sequences? > > > > You can use less's search (key "/") when using the "man lsof" > > command. You can also use a PDF viewer (including text search > > functionality) so you can keep the formatting details. > > > > The following command does the trick: > > > > zcat `man -w lsof` | groff -Tps -dpaper=a4 -P-pa4 -mandoc | ps2pdf - /tmp/man_1_lsof.pdf > > > > To convert to pure text, use -Tascii or -Tlatin1; however, this > > renders to pure text without keeping the formatting intact. > > Thanks. I get a > grops: can't open file `a4` but I'll deal with that later. That's just for formatting the paper format (ISO A4 here). You can omit those options, the default format (in your case I assume it will be letter) will be selected. > > man -t lsof | sp2ascii > savefile.txt > > Where'd you get/find sp2ascii? I don't see one anywhere, not even on google. > (Except this thread...) Secret weapon? Typo maybe? A command like "ps2ascii" sounds more reasonable if we consider PS being the output format. The command % man -t lsof | ps2ascii > man_1_lsof.txt works as intended. The only remaining control character is ^L, means "page break" (for "form feed" to be precise). > > 6. And finally, any idea why umount says the device is busy? > > > You could use "umount -f" to force it, but that may result in > > files missing. > > hope not, but not a heck of a lot of choices at this point. > Since I didn't do squat because of the failed mkdir, seems hopeful. You can always call the command % sync to request writing any pending buffers; however, the system will decide when the actual writes to the media will happen. :-) > I've mounted them ro a number of times, but never tried writing before. In that case, using "fuse-ntfs" seems to be the better choice as the NTFS support of the base system is considered "good enough for r/o". > > something that *might* be helpful to you, it's a basic little man page > > browser in Qt > > left side of the pane shows a treeview of filesystem, so you can navigate > > /bin, /usr/bin, etc.. when you click on a file it looks for the > > corresponding man page and shows it on the right pane formatted html, which > > is a webkit panel. > > > > https://github.com/creamy/man-browser > > > > it is intended as a way to quickly look at what's installed on your system > > and possibly 'discover' and learn about previously 'unknown' commands. > > Thanks. There's also a traditional way: xman. You can use it like % xman -bothshown then select "Manual Page" and then select a command from the directory on top. It's quite simple, but renders fast. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From v.velox at vvelox.net Mon Jun 4 03:40:35 2012 From: v.velox at vvelox.net (Zane C. B-H.) Date: Mon Jun 4 03:40:42 2012 Subject: Strange case of vanishing disk In-Reply-To: <4FCC0A31.3000902@gmail.com> References: <4FCC0A31.3000902@gmail.com> Message-ID: <20120603224223.123bc4fa@vixen42.vulpes.vvelox.net> On Mon, 04 Jun 2012 02:06:57 +0100 Kaya Saman wrote: > Hi, > > this is a very strange issue but I guess will either be related to > 2 things, PSU not being powerful enough or disk controller simply > being crap. > > > Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS > server with 2x 2TB disks and 2x4TB disks as storage - all spread > out over 2 ZFS storage pools. Additionally I am running the root > file system on a 40GB SSD. > > The strange thing with this is that I recently installed the 4TB > disks and they're brand new. > > > One disk connected to the system board works fine and shows up as > online and on one of the channels using atacontrol list. > > > The other disk is connected to a Startech.com Jmicron based 2x SATA > RAID controller card. > > > The disk connected to the controller card is having issues. At > first the drive wouldn't be seen by the system then after a while > all of a sudden it was there. No reboots, no io scans nothing it > just appeared. > > After blasting it with IO for a few days the disk has now vanished > again..... > > I had this error in dmesg for a while: > > ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535 > > I have tried to use pciconf -lbvv to show the connected interfaces > and the JMICRON comes up fine: > > > atapci0@pci0:2:0:0: class=0x010400 card=0x2366197b > chip=0x2366197b rev=0x02 hdr=0x00 > vendor = 'JMicron Technology Corp.' > device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)' > class = mass storage > subclass = RAID > bar [10] = type I/O Port, range 32, base 0xd040, size 8, > enabled bar [14] = type I/O Port, range 32, base 0xd030, size 4, > enabled bar [18] = type I/O Port, range 32, base 0xd020, size 8, > enabled bar [1c] = type I/O Port, range 32, base 0xd010, size 4, > enabled bar [20] = type I/O Port, range 32, base 0xd000, size 16, > enabled bar [24] = type Memory, range 32, base 0xd0510000, size > 8192, enabled > > > So why isn't the disk? > > I reckon as stated at the beginning that either the 180Watt PSU > inside the system isn't enough or the controller is just really > poor?? > > > Could anyone suggest anything to look into, I'm sure I've covered > all the bases but just incase there is something else I can do with > this one?? Greetings, It looks like you are using the default ATA drive with that. I would suggest trying the AHCI driver and see if that works better. kldload ahci From timothywhitfield21 at gmail.com Mon Jun 4 03:41:44 2012 From: timothywhitfield21 at gmail.com (Timothy Whitfield) Date: Mon Jun 4 03:42:02 2012 Subject: New message Message-ID: <20120604034143.KYHS7221.toroondcbmts08-srv.bellnexxia.net@toip55-bus.srvr.bell.ca> Counsel, I aminquiring about the possibility of your firm representing me in the litigationof a breach of payment agreement.If this falls within the scope of yourpractice get back to me so that I can send the copies of our agreements andmore information. Regards Timothy Whitfield Tel:1-289-981-9580 Email: timothywhitfield21@gmail.com From mueller23 at insightbb.com Mon Jun 4 03:54:17 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Mon Jun 4 03:54:22 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds Message-ID: Polytropon, you mention ppd files (.ppd or .ppd.gz). Is this the binary plugin that hplip was unable to install for me? Or am I grasping at straws? Somehow I thought the binary plugin was much bigger than the .ppd.gz files found in /usr/local/share/ppd/HP/ Tom From bonomi at mail.r-bonomi.com Mon Jun 4 04:23:13 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Mon Jun 4 04:23:20 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: Message-ID: <201206040423.q544NWtZ083914@mail.r-bonomi.com> > From: "Thomas Mueller" > > Polytropon, you mention ppd files (.ppd or .ppd.gz). > > Is this the binary plugin that hplip was unable to install for me? No. '.ppd' files are '

ostscript

rinter escription' files. They ontain 'device dependant information about a specific make/model of Postscript-capable printer. They consist of 'feature' names, 'values' for that feature, and the postscript code fragment that tells that printer how to use a particular 'value' for that particular feature. e.g. one can select the input paper tray by 'name' -- e.g. 'upper', 'lower', etc. -- without having to know whether trays are numbered starting at zero or one, or whether the numbering goes 'up' or 'down'. '.ppd' files are relevent _only_ if you are producing postscript output, From mueller23 at insightbb.com Mon Jun 4 04:27:39 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Mon Jun 4 04:27:46 2012 Subject: (no subject) Message-ID: <5D.C1.05368.3393CCF4@smtp02.insight.synacor.com> >>For a server, you don't need a lot of fancy stuff such as Adobe Flash > and do you need this for a non-server? Adobe don't want us (FreeBSD users) > to use their closed-source software. And i respect their will and don't > use it. Which resulted in much easier browsing by the way :) Some, too many, web sites are difficult or impossible to access without Adobe Flash. Adobe may discontinue Linux version of Flash plugin except when bundled with Chrome browser. I personally would like to see HTML 5 wipe Adobe Flash off the face of the earth. Some web sites use Flash just to be annoying, not to create a video. Examples are: freefilefillableforms.com : I was unable to proceed with income tax return for e-file. shoplocal.com : When advertiser/vendor offers a choice between Flash (broadband) and HTML (dialup), HTML (non-Flash) works better even on broadband. www.gagels.com (farm market), last time I looked was maybe a month ago, and I remember complaining. laguanajuatoky.com : crashes (Mozilla) Seamonkey browser when running in FreeBSD. Gnash is great on YouTube but seems to work nowhere else. Tom From wojtek at wojtek.tensor.gdynia.pl Mon Jun 4 04:54:42 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 4 04:54:48 2012 Subject: (no subject) In-Reply-To: <5D.C1.05368.3393CCF4@smtp02.insight.synacor.com> References: <5D.C1.05368.3393CCF4@smtp02.insight.synacor.com> Message-ID: >> and do you need this for a non-server? Adobe don't want us (FreeBSD users) >> to use their closed-source software. And i respect their will and don't >> use it. Which resulted in much easier browsing by the way :) > > Some, too many, web sites are difficult or impossible to access without Adobe Flash. true. but this is actually great filter that save your time. such sites doesn't have any real contents. > > Adobe may discontinue Linux version of Flash plugin except when bundled with Chrome browser. > > I personally would like to see HTML 5 wipe Adobe Flash off the face of the earth. > true. > > Gnash is great on YouTube but seems to work nowhere else. > i rarely run gnash. youtube is not a problem, use youtube-dl from ports and do download videos to disk drive, then watch instead of having movies "in the internet", where they can disappear everytime youtube decide that you should's watch it. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 4 04:56:10 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 4 04:56:16 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: References: Message-ID: ppd file are actually human readable, you get a fragment that tell you how to filter postscript to produce output. eg. my OfficeJet 8500 filter is based on it. On Sun, 3 Jun 2012, Thomas Mueller wrote: > Polytropon, you mention ppd files (.ppd or .ppd.gz). > > Is this the binary plugin that hplip was unable to install for me? > > Or am I grasping at straws? > > Somehow I thought the binary plugin was much bigger than the .ppd.gz files found in > /usr/local/share/ppd/HP/ > > Tom > > From wojtek at wojtek.tensor.gdynia.pl Mon Jun 4 04:58:18 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 4 04:58:24 2012 Subject: How to use an external USB3.0 drive with 4k sectors? In-Reply-To: <20120603202624.GA4999@schweikhardt.net> References: <20120531155704.GA2828@schweikhardt.net> <20120601100107.GB2721@schweikhardt.net> <4FC8FE11.3020700@dreamchaser.org> <20120603202624.GA4999@schweikhardt.net> Message-ID: > > 2. Replace the vendor installed NTFS with a UFS file system. > > $ newfs -U /dev/da1s1 > > (No, I didn't bother to create BSD partitions) but why still create msdos partition? > From freebsd-questions at k-moeller.dk Mon Jun 4 07:18:47 2012 From: freebsd-questions at k-moeller.dk (=?UTF-8?Q?Kalle_M=C3=B8ller?=) Date: Mon Jun 4 07:18:54 2012 Subject: apache2 doesn't .flv in my server In-Reply-To: <00b301cd41c0$25b493d0$711dbb70$@ihlas.net.tr> References: <00b301cd41c0$25b493d0$711dbb70$@ihlas.net.tr> Message-ID: AddHandler flv-stream .flv ? On Sun, Jun 3, 2012 at 9:36 PM, Bulent Malik wrote: > Hello > > I use apache22-worker on freebsd9 > > It Works. But I can't video file flv extension. > > I googled about that ?and downloaded mod_flvx.c and followed the > instructions. Also I see that flv is added as shared module in apache > > Httpd -M > > . > > alias_module (shared) > > rewrite_module (shared) > > php5_module (shared) > > h264_streaming_module (shared) > > flvx_module (shared) > > > > But when i call at http://myweb/example.flv ? i only download this file. > > How can I solve this case ? > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Med Venlig Hilsen Kalle R. M?ller From freebsd at dreamchaser.org Mon Jun 4 07:34:36 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 4 07:34:46 2012 Subject: Strange case of vanishing disk In-Reply-To: <4FCC2483.5080901@gmail.com> References: <99.2A.28751.ABF1CCF4@smtp01.insight.synacor.com> <4FCC2483.5080901@gmail.com> Message-ID: <4FCC650A.6000201@dreamchaser.org> On 06/03/12 20:59, Kaya Saman wrote: > this is a very strange issue but I guess will either be related to 2 > things, PSU not being powerful enough or disk controller simply being crap. > >> Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS >> server with 2x 2TB disks and 2x4TB disks as storage - all spread out >> over 2 ZFS storage pools. Additionally I am running the root file system >> on a 40GB SSD. > > [...] >> _______ >> >> One thing I can think of is to disconnect the questionable disk from the RAID controller card and connect it directly to the motherboard. >> >> Then you'd know whether the fault is with the hard drive or the RAID controller. >> >> PSU = power supply unit? 180 watts seems very little, I didn't know any modern system could run on so little. I thought the minimum would be around 400 watts, and this would not allow for a powerful gaming graphics card. >> >> Maybe you need to replace the power supply with something having more watts, but make sure it will physically fit. >> >> Tom > > Thanks for the response! > > Here's some more info that I managed to dig up: > > Jun 4 02:39:19 Zeta-Ray root: ZFS: vdev I/O failure, zpool=ZFS_POOL_2 path=/dev/ad4 offset=270336 size=8192 error=6 > Jun 4 02:39:19 Zeta-Ray kernel: ata2: port is not ready (timeout 15000ms) tfd = 000000ff > Jun 4 02:39:19 Zeta-Ray kernel: ata2: hardware reset timeout > Jun 4 02:39:19 Zeta-Ray kernel: unknown: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=269091394 > > > Yeah, 180 Watts is what comes with the chassis as it's an external power supply. Additionally the system is a Mini-ITX so that would account for less power usage however, in this case I think it might be the PSU that's simply not providing enough power..... > > > I will definitely try sticking the "downed" disk into the motherboard controller directly as that will tell me if the disk is the issue or not. If the problem is actually insufficient power, this won't tell you a thing. You'll have to isolate the power supply as not being a problem before anything else will be relevant. If you swap the two new disks, and the one now on the card fails, it's probably not a disk problem. But you still can't tell if its the card or insufficient power. If you can sideline the two original disks and run, it's probably power. But I'd guess you're oversubscribed in that department. It should be relatively easy to estimate as mfg specs for cpu + mobo + disks is readily available. Gary From leslie at eskk.nu Mon Jun 4 07:35:55 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Mon Jun 4 07:36:05 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> Message-ID: <4FCC6557.40403@eskk.nu> 2012-06-03 18:18, Warren Block skrev: > On Sun, 3 Jun 2012, Warren Block wrote: > >> On Sun, 3 Jun 2012, Leslie Jensen wrote: >> >>> >>> >>> 2012-06-02 19:18, Doug Barton skrev: >>>> On 6/2/2012 8:09 AM, Leslie Jensen wrote: >>>>> I'm thinking about some kind of information on the build progress >>>> >>>> Portmaster already has that if you're building in a terminal window, >>>> look in the titlebar. I can take a look at printing that in line if >>>> you're not in a terminal window though. >>>> >>> >>> I'm running in XFCE4 terminal and the titlebar is empty here! >>> >>> So do I need to activate this function? >> >> It's on by default. --no-term-title disables it, as does setting >> PM_NO_TERM_TITLE in portmaster.rc. > > Oh, and xfce's Terminal has a preferences setting that can prevent > dynamically-set titles from being displayed. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I found that setting and changed it. I forgot to tell you that I'm working through an SSH connection and maybe it's because of that I cannot see any title? I'll test as soon as I've got the system up with X again. From dougb at FreeBSD.org Mon Jun 4 07:41:21 2012 From: dougb at FreeBSD.org (Doug Barton) Date: Mon Jun 4 07:41:29 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCC6557.40403@eskk.nu> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> <4FCC6557.40403@eskk.nu> Message-ID: <4FCC66A0.4030405@FreeBSD.org> On 06/04/2012 00:35, Leslie Jensen wrote: > I found that setting and changed it. That should do it then. Thanks to Warren for suggesting it. > I forgot to tell you that I'm working through an SSH connection and > maybe it's because of that I cannot see any title? Nope. Should work just fine for you, I've done thousands of portmaster upgrades over ssh. Let me know how it goes, Doug -- This .signature sanitized for your protection From freebsd at dreamchaser.org Mon Jun 4 07:56:59 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 4 07:57:06 2012 Subject: umount device busy In-Reply-To: <20120604050537.f2df2af2.freebsd@edvax.de> References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> <20120604050537.f2df2af2.freebsd@edvax.de> Message-ID: <4FCC6A41.6030408@dreamchaser.org> On 06/03/12 21:05, Polytropon wrote: > Good idea. However, you can do efficient backups of "Windows" > data by using the "ntfsprogs" tools. This makes sure they can > even be read under non-"Windows" systems. I'll look into that. >>> if you are using xfce4, then you have most likely got gamin >>> running as well, this caused the same problem for me when >>> trying to umount an external USB drive >> >> gamin *is* installed, and I did have the file browser up and >> using it to look at the ntfs disk. I thought it might be >> holding a file open, so first I backed it out to something >> not on the ntfs disk, then exited it. Made no difference. > > Maybe the ganim "lock" is regarding a device file? Not sure > about that, I'm not using it here. I'm not sure what the deal is here, but exiting X does solve the problem. I didn't try just killing the environment by shutting down the wm and leaving X up, but if I forget and do something like that again I'll try to remember to try it. >> In any case, the mount was done after X was started, and switching >> vtys crashes X so I don't do that. > > That sounds a bit wrong... Agreed, but I saw someone else was having a similar problem with 9.0 release a bit earlier on a system, and no problem with 8.3. At least I think that was it. Hmmm, just looked and there's a firefox-bin.core and an xfce-appfinder.core. Timestamps look about right for when I did a vty switch. > Typo maybe? A command like "ps2ascii" sounds more reasonable if > we consider PS being the output format. The command duh. need sleep. thanks. From leslie at eskk.nu Mon Jun 4 08:14:24 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Mon Jun 4 08:14:36 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCC66A0.4030405@FreeBSD.org> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> <4FCC6557.40403@eskk.nu> <4FCC66A0.4030405@FreeBSD.org> Message-ID: <4FCC6E7D.50004@eskk.nu> 2012-06-04 09:41, Doug Barton skrev: > On 06/04/2012 00:35, Leslie Jensen wrote: >> I found that setting and changed it. > > That should do it then. Thanks to Warren for suggesting it. > >> I forgot to tell you that I'm working through an SSH connection and >> maybe it's because of that I cannot see any title? > > Nope. Should work just fine for you, I've done thousands of portmaster > upgrades over ssh. > > Let me know how it goes, > > Doug > I've set that dynamic title should go before initial title. I've also tried the setting that it should replace initial title. None of the settings changes anything. I've no title at all apart from "Terminal" /Leslie From portsuser at larseighner.com Mon Jun 4 08:30:23 2012 From: portsuser at larseighner.com (Lars Eighner) Date: Mon Jun 4 08:30:30 2012 Subject: umount device busy In-Reply-To: <4FCC1D4C.2020503@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> Message-ID: On Sun, 3 Jun 2012, Gary Aitken wrote: >> This almost always means someone (i.e. you) is sitting in the directory. >> If you tried this while su'ed and the un-su'ed you were still in the >> directory /mnt/goflex, you'd get this message. This may also happen if >> someone (i.e. you) is in the directory on another vtty. Naturally it can >> also mean some operation is in progress, but generally you would have >> recognized and avoided that. > > That's what I kept thinking. Backed out of all su ops, checked all > xterms; nada. no other vtys opened. In any case, the mount was done > after X was started, and switching vtys crashes X so I don't do that. This needs fixing. > I thought maybe so, but didn't know for sure. Thanks. > But Lars' "mount -p" is more assuring. I like it because if you happen to have a configuration you would like to use again, you can capture the output and make it your fstab, + or - automount adjustments. > >>> 3. I tried lsof but I don't get any output from it: >>> lsof +d /mnt/goflex -x -- /mnt/goflex >>> Where does it go if not to stdout? >> You've got me! But why is there anything after -x? I don't quite >> understand. > > Otherwise -x thinks the /mnt/goflex belongs to it. But what if you leave out ALL the stuff after -x. Isn't it redundant with the +d switch? (That's not a Socratic question: I don't know.) Anyway, I found the lsof FAQ by make extract in the port. I quess I am not too good at reading Makefiles because I don't see why it isn't copied to /usr/local/share/lsof with the README and whatnot. >> man -t lsof | sp2ascii > savefile.txt > > Where'd you get/find sp2ascii? I don't see one anywhere, not even on google. > (Except this thread...) Secret weapon? That's a good question. Turns out all kinds of ps converters are installed by ghostscript. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From leslie at eskk.nu Mon Jun 4 08:57:48 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Mon Jun 4 08:57:55 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCC6E7D.50004@eskk.nu> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> <4FCC6557.40403@eskk.nu> <4FCC66A0.4030405@FreeBSD.org> <4FCC6E7D.50004@eskk.nu> Message-ID: <4FCC78A5.5030803@eskk.nu> 2012-06-04 10:14, Leslie Jensen skrev: > > > 2012-06-04 09:41, Doug Barton skrev: >> On 06/04/2012 00:35, Leslie Jensen wrote: >>> I found that setting and changed it. >> >> That should do it then. Thanks to Warren for suggesting it. >> >>> I forgot to tell you that I'm working through an SSH connection and >>> maybe it's because of that I cannot see any title? >> >> Nope. Should work just fine for you, I've done thousands of portmaster >> upgrades over ssh. >> >> Let me know how it goes, >> >> Doug >> > > I've set that dynamic title should go before initial title. I've also > tried the setting that it should replace initial title. None of the > settings changes anything. > > I've no title at all apart from "Terminal" > > /Leslie > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" After a restart of xfce I've got the Title to change, but I can only see the initial command ie portmaster All. /Leslie From ndhertbsd at gmail.com Mon Jun 4 09:01:09 2012 From: ndhertbsd at gmail.com (n dhert) Date: Mon Jun 4 09:01:22 2012 Subject: giflib update failed 4.1.6 -> 4.2.0_1 Message-ID: during my weekly portupgrades, giflib update failed: ... ... Making all in doc^M xmlto xhtml-nochunks gif2rgb.xml^M xmlto: /usr/ports/graphics/giflib/work/giflib-4.2.0/doc/gif2rgb.xml does not val idate (status 3)^M xmlto: Fix document syntax or use --skip-validation option^M I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml /4.1.2/docbookx.dtd^M /usr/ports/graphics/giflib/work/giflib-4.2.0/doc/gif2rgb.xml:4: warning: failed to load external entity " http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dt d"^M "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>^M ^^M I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml 4.1.2/docbookx.dtd^M warning: failed to load external entity " http://www.oasis-open.org/docbook/xml/4 .1.2/docbookx.dtd"^M validity error : Could not load the external subset " http://www.oasis-open.org/d ocbook/xml/4.1.2/docbookx.dtd"^M Document /usr/ports/graphics/giflib/work/giflib-4.2.0/doc/gif2rgb.xml does not v alidate^M *** Error code 13^M ^M Stop in /usr/ports/graphics/giflib/work/giflib-4.2.0/doc.^M *** Error code 1^M ^M Stop in /usr/ports/graphics/giflib/work/giflib-4.2.0.^M *** Error code 1^M ^M Stop in /usr/ports/graphics/giflib/work/giflib-4.2.0.^M *** Error code 1^M ^M Stop in /usr/ports/graphics/giflib.^M ---> Build of graphics/giflib ended at: Mon, 04 Jun 2012 09:43:14 +0200 (consum ed 00:03:57) ---> Upgrade of graphics/giflib ended at: Mon, 04 Jun 2012 09:43:14 +0200 (cons umed 00:03:57) ---> ** Upgrade tasks 49: 6 done, 0 ignored, 0 skipped and 1 failed What's wrong and how to solve ? From leslie at eskk.nu Mon Jun 4 09:34:24 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Mon Jun 4 09:34:30 2012 Subject: font sizes in xfce 4.10 In-Reply-To: References: <20120528061118.39893340.freebsd@edvax.de> Message-ID: <4FCC811B.7070106@eskk.nu> 2012-05-28 06:53, Antonio Olivares skrev: >> >> I copied the username/.config directory to another folder and nuked >> it. Then I see the pristine settings. They are almost the same with >> the exception of the clock moved to the side like it had been before >> but was moved. The fonts are the same :(, tiny. If I change the size >> it is not noticed. The bottom panel has no icons except for two >> folders on both ends and the application finder. I guess I will have >> to change that behavior manually. >> >> I will see where I can adjust the sizes of the fonts since they don't >> appear to be in a folder. >> >> Thanks for helping out. >> >> Regards, >> >> >> Antonio > > I believe that I have found a way to fix the issue. > > The problem was the DPI, the fonts are the same size. Now everything > seems to be normal :) > > I vistited the online tour > > http://www.xfce.org/about/tour > > Then clicked on the application finder, appearance, then clicked on > DPI and raised the number to 96 did not see what it was though. > > Thanks Polytropon for your valuable help and suggestions. > > Regards, > > > Antonio > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I now have a similar problem. The icons in the program menu is not displayed, only a white icon with a red cross. Uninstalled the complete xfce4 and reinstalled it. I also nuked the .config directory but icons are gone even so. I have the 96 DPI setting as well. Did you do anything else to retrieve the icons? Thanks /Leslie From schweikh at schweikhardt.net Mon Jun 4 10:43:40 2012 From: schweikh at schweikhardt.net (Jens Schweikhardt) Date: Mon Jun 4 10:43:53 2012 Subject: How to use an external USB3.0 drive with 4k sectors? In-Reply-To: References: <20120531155704.GA2828@schweikhardt.net> <20120601100107.GB2721@schweikhardt.net> <4FC8FE11.3020700@dreamchaser.org> <20120603202624.GA4999@schweikhardt.net> Message-ID: <20120604084130.GA2837@schweikhardt.net> On Mon, Jun 04, 2012 at 06:58:07AM +0200, Wojciech Puchar wrote: # > # > 2. Replace the vendor installed NTFS with a UFS file system. # > # > $ newfs -U /dev/da1s1 # > # > (No, I didn't bother to create BSD partitions) # # but why still create msdos partition? I didn't create one, I just left it as is. For some reason fdisk would error out and sysinstall's fdisk would compute bogus capacities: use the number of sectors and multiply them by 512 instead of 4096--that scared me to the point I didn't want to have fdisk write to the disk. Next on my TODO list: learn about gpart. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From kayasaman at gmail.com Mon Jun 4 11:20:59 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Mon Jun 4 11:21:06 2012 Subject: Strange case of vanishing disk In-Reply-To: <20120603224223.123bc4fa@vixen42.vulpes.vvelox.net> References: <4FCC0A31.3000902@gmail.com> <20120603224223.123bc4fa@vixen42.vulpes.vvelox.net> Message-ID: <4FCC99ED.3030409@gmail.com> On 06/04/2012 04:42 AM, Zane C. B-H. wrote: > On Mon, 04 Jun 2012 02:06:57 +0100 > Kaya Saman wrote: > >> Hi, >> >> this is a very strange issue but I guess will either be related to >> 2 things, PSU not being powerful enough or disk controller simply >> being crap. >> >> >> Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS >> server with 2x 2TB disks and 2x4TB disks as storage - all spread >> out over 2 ZFS storage pools. Additionally I am running the root >> file system on a 40GB SSD. >> >> The strange thing with this is that I recently installed the 4TB >> disks and they're brand new. >> >> >> One disk connected to the system board works fine and shows up as >> online and on one of the channels using atacontrol list. >> >> >> The other disk is connected to a Startech.com Jmicron based 2x SATA >> RAID controller card. >> >> >> The disk connected to the controller card is having issues. At >> first the drive wouldn't be seen by the system then after a while >> all of a sudden it was there. No reboots, no io scans nothing it >> just appeared. >> >> After blasting it with IO for a few days the disk has now vanished >> again..... >> >> I had this error in dmesg for a while: >> >> ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535 >> >> I have tried to use pciconf -lbvv to show the connected interfaces >> and the JMICRON comes up fine: >> >> >> atapci0@pci0:2:0:0: class=0x010400 card=0x2366197b >> chip=0x2366197b rev=0x02 hdr=0x00 >> vendor = 'JMicron Technology Corp.' >> device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)' >> class = mass storage >> subclass = RAID >> bar [10] = type I/O Port, range 32, base 0xd040, size 8, >> enabled bar [14] = type I/O Port, range 32, base 0xd030, size 4, >> enabled bar [18] = type I/O Port, range 32, base 0xd020, size 8, >> enabled bar [1c] = type I/O Port, range 32, base 0xd010, size 4, >> enabled bar [20] = type I/O Port, range 32, base 0xd000, size 16, >> enabled bar [24] = type Memory, range 32, base 0xd0510000, size >> 8192, enabled >> >> >> So why isn't the disk? >> >> I reckon as stated at the beginning that either the 180Watt PSU >> inside the system isn't enough or the controller is just really >> poor?? >> >> >> Could anyone suggest anything to look into, I'm sure I've covered >> all the bases but just incase there is something else I can do with >> this one?? > Greetings, > > It looks like you are using the default ATA drive with that. I would > suggest trying the AHCI driver and see if that works better. > > kldload ahci > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I've just tried this and lost my whole system..... My boot disk is not labeled to work with ahci as it just has standard formatting on there. Need to remove the ahci_load="YES" from /boot/loader.conf file now. Regards, Kaya From roberthuff at rcn.com Mon Jun 4 12:05:59 2012 From: roberthuff at rcn.com (Robert Huff) Date: Mon Jun 4 12:06:06 2012 Subject: (no subject) In-Reply-To: References: <5D.C1.05368.3393CCF4@smtp02.insight.synacor.com> Message-ID: <20428.42143.957906.488156@jerusalem.litteratus.org> Wojciech Puchar writes: > > Some, too many, web sites are difficult or impossible to access > > without Adobe Flash. > > true. but this is actually great filter that save your time. such > sites doesn't have any real contents. Ahem - no site _you_ have need of is Flash-only. Do not presume to speak for other users. (Though I agree - Flash-only is usually a bad sign,) Robert Huff From olivares14031 at gmail.com Mon Jun 4 12:07:39 2012 From: olivares14031 at gmail.com (Antonio Olivares) Date: Mon Jun 4 12:07:46 2012 Subject: font sizes in xfce 4.10 In-Reply-To: <4FCC811B.7070106@eskk.nu> References: <20120528061118.39893340.freebsd@edvax.de> <4FCC811B.7070106@eskk.nu> Message-ID: On Mon, Jun 4, 2012 at 4:34 AM, Leslie Jensen wrote: > > > 2012-05-28 06:53, Antonio Olivares skrev: > >>> >>> I copied the username/.config directory to another folder and nuked >>> it. ?Then I see the pristine settings. ?They are almost the same with >>> the exception of the clock moved to the side like it had been before >>> but was moved. ?The fonts are the same :(, tiny. ?If I change the size >>> it is not noticed. ?The bottom panel has no icons except for two >>> folders on both ends and the application finder. ?I guess I will have >>> to change that behavior manually. >>> >>> I will see where I can adjust the sizes of the fonts since they don't >>> appear to be in a folder. >>> >>> Thanks for helping out. >>> >>> Regards, >>> >>> >>> Antonio >> >> >> I believe that I have found a way to fix the issue. >> >> The problem was the DPI, the fonts are the same size. ?Now everything >> seems to be normal :) >> >> I vistited the online tour >> >> http://www.xfce.org/about/tour >> >> Then clicked on the application finder, appearance, then clicked on >> DPI and raised the number to 96 did not see what it was though. >> > I now have a similar problem. The icons in the program menu is not > displayed, only a white icon with a red cross. > > Uninstalled the complete xfce4 and reinstalled it. > > I also nuked the .config directory but icons are gone even so. > > I have the 96 DPI setting as well. > > Did you do anything else to retrieve the icons? > > Thanks > Only the ones in the bottom panel :) [right click then select the icons from the ones given] On the menu, they are still missing :( I don't worry about these yet as I hope that some update(s) later on will bring them back :) I updated the png update as suggested in /usr/ports/UPDATING, but no improvement in icons :( Regards, Antonio From ndhertbsd at gmail.com Mon Jun 4 13:34:48 2012 From: ndhertbsd at gmail.com (n dhert) Date: Mon Jun 4 13:34:55 2012 Subject: giflib update failed 4.1.6 -> 4.2.0_1 In-Reply-To: <4FCCA682.9030204@eskk.nu> References: <4FCCA682.9030204@eskk.nu> Message-ID: the libungif port is not installed on my system, so can't delete it ... 2012/6/4 Leslie Jensen > > I had a similar problem. > > Try to delete libungif > > Regards > > /Leslie > > From alive at dienub.org Mon Jun 4 13:47:30 2012 From: alive at dienub.org (Rada alive) Date: Mon Jun 4 13:47:37 2012 Subject: Dependencies for dns/unbound Message-ID: I was hoping to test dns/unbound as a lighter-weight DNS cache service to replace BIND. A few hours into "make install" i decided to abort and have a look at the dependencies. Can someone tell me why a DNS server needs packages like "graphics/jpeg" and "x11/randrproto"? Is there a way to build unbound on my system without all the trash? I tried emailing the port maintainer but my message bounced back. [root@pladaks /usr/ports/dns/unbound]# make all-depends-list /usr/ports/devel/gmake /usr/ports/textproc/expat2 /usr/ports/dns/ldns /usr/ports/devel/gettext /usr/ports/devel/doxygen /usr/ports/devel/libtool /usr/ports/converters/libiconv /usr/ports/lang/perl5.12 /usr/ports/devel/tmake /usr/ports/graphics/graphviz /usr/ports/print/dvipsk-tetex /usr/ports/print/teTeX /usr/ports/lang/python27 /usr/ports/devel/bison /usr/ports/devel/qt4-corelib /usr/ports/x11-toolkits/qt4-gui /usr/ports/devel/qt4-moc /usr/ports/devel/qmake4 /usr/ports/devel/qt4-rcc /usr/ports/textproc/qt4-xml /usr/ports/print/ghostscript9 /usr/ports/graphics/png /usr/ports/x11-toolkits/libXaw /usr/ports/x11/libXpm /usr/ports/x11-toolkits/libXmu /usr/ports/x11-toolkits/libXt /usr/ports/x11/libSM /usr/ports/x11/libICE /usr/ports/x11/libXext /usr/ports/x11/libX11 /usr/ports/x11/libXau /usr/ports/x11/libXdmcp /usr/ports/x11/libXp /usr/ports/x11/libXrender /usr/ports/devel/pkg-config /usr/ports/graphics/jpeg /usr/ports/print/freetype2 /usr/ports/x11-fonts/fontconfig /usr/ports/graphics/gd /usr/ports/devel/libltdl /usr/ports/devel/glib20 /usr/ports/x11-toolkits/pango /usr/ports/devel/gio-fam-backend /usr/ports/print/tex-texmflocal /usr/ports/print/teTeX-texmf /usr/ports/print/teTeX-base /usr/ports/www/libwww /usr/ports/devel/t1lib /usr/ports/print/cm-super /usr/ports/print/xdvik /usr/ports/devel/m4 /usr/ports/x11/inputproto /usr/ports/x11/libXrandr /usr/ports/x11/libXinerama /usr/ports/x11/libXfixes /usr/ports/x11/libXcursor /usr/ports/x11/libXi /usr/ports/devel/qt4-uic /usr/ports/devel/xdg-utils /usr/ports/devel/autoconf /usr/ports/dns/libidn /usr/ports/graphics/jbig2dec /usr/ports/graphics/tiff /usr/ports/print/libpaper /usr/ports/print/gsfonts /usr/ports/devel/cmake /usr/ports/x11/printproto /usr/ports/x11/xextproto /usr/ports/x11/xproto /usr/ports/x11/kbproto /usr/ports/devel/xorg-macros /usr/ports/x11/xtrans /usr/ports/x11/libxcb /usr/ports/x11/bigreqsproto /usr/ports/x11/xcmiscproto /usr/ports/x11-fonts/xf86bigfontproto /usr/ports/x11/renderproto /usr/ports/devel/pcre /usr/ports/devel/gobject-introspection /usr/ports/x11-fonts/libXft /usr/ports/graphics/cairo /usr/ports/x11-fonts/xorg-fonts-truetype /usr/ports/x11-fonts/encodings /usr/ports/devel/gamin /usr/ports/print/font-amsfonts /usr/ports/textproc/texi2html /usr/ports/archivers/unzip /usr/ports/x11-fonts/p5-type1inst /usr/ports/x11-toolkits/open-motif /usr/ports/x11/randrproto /usr/ports/x11/xineramaproto /usr/ports/x11/fixesproto /usr/ports/misc/hicolor-icon-theme /usr/ports/misc/help2man /usr/ports/devel/autoconf-wrapper /usr/ports/graphics/jbigkit /usr/ports/devel/libcheck /usr/ports/textproc/libxslt /usr/ports/x11/xcb-proto /usr/ports/devel/libpthread-stubs /usr/ports/devel/libffi /usr/ports/x11/xcb-util-renderutil /usr/ports/x11/pixman /usr/ports/x11-fonts/font-bh-ttf /usr/ports/x11-fonts/font-misc-meltho /usr/ports/x11-fonts/font-misc-ethiopic /usr/ports/x11-fonts/bitstream-vera /usr/ports/x11-fonts/mkfontscale /usr/ports/x11-fonts/bdftopcf /usr/ports/x11-fonts/font-util /usr/ports/x11-fonts/mkfontdir /usr/ports/x11/xbitmaps /usr/ports/devel/p5-Locale-gettext /usr/ports/security/libgcrypt /usr/ports/textproc/libxml2 /usr/ports/x11/xcb-util /usr/ports/x11-fonts/libfontenc /usr/ports/x11-fonts/libXfont /usr/ports/security/libgpg-error /usr/ports/devel/gperf /usr/ports/x11-fonts/fontsproto From kayasaman at gmail.com Mon Jun 4 13:52:16 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Mon Jun 4 13:52:22 2012 Subject: Strange case of vanishing disk In-Reply-To: <4FCC650A.6000201@dreamchaser.org> References: <99.2A.28751.ABF1CCF4@smtp01.insight.synacor.com> <4FCC2483.5080901@gmail.com> <4FCC650A.6000201@dreamchaser.org> Message-ID: <4FCCBD85.4020108@gmail.com> On 06/04/2012 08:34 AM, Gary Aitken wrote: > On 06/03/12 20:59, Kaya Saman wrote: >> this is a very strange issue but I guess will either be related to 2 >> things, PSU not being powerful enough or disk controller simply being crap. >> >>> Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS >>> server with 2x 2TB disks and 2x4TB disks as storage - all spread out >>> over 2 ZFS storage pools. Additionally I am running the root file system >>> on a 40GB SSD. >> [...] >>> _______ >>> >>> One thing I can think of is to disconnect the questionable disk from the RAID controller card and connect it directly to the motherboard. >>> >>> Then you'd know whether the fault is with the hard drive or the RAID controller. >>> >>> PSU = power supply unit? 180 watts seems very little, I didn't know any modern system could run on so little. I thought the minimum would be around 400 watts, and this would not allow for a powerful gaming graphics card. >>> >>> Maybe you need to replace the power supply with something having more watts, but make sure it will physically fit. >>> >>> Tom >> Thanks for the response! >> >> Here's some more info that I managed to dig up: >> >> Jun 4 02:39:19 Zeta-Ray root: ZFS: vdev I/O failure, zpool=ZFS_POOL_2 path=/dev/ad4 offset=270336 size=8192 error=6 >> Jun 4 02:39:19 Zeta-Ray kernel: ata2: port is not ready (timeout 15000ms) tfd = 000000ff >> Jun 4 02:39:19 Zeta-Ray kernel: ata2: hardware reset timeout >> Jun 4 02:39:19 Zeta-Ray kernel: unknown: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=269091394 >> >> >> Yeah, 180 Watts is what comes with the chassis as it's an external power supply. Additionally the system is a Mini-ITX so that would account for less power usage however, in this case I think it might be the PSU that's simply not providing enough power..... >> >> >> I will definitely try sticking the "downed" disk into the motherboard controller directly as that will tell me if the disk is the issue or not. > If the problem is actually insufficient power, this won't tell you a thing. > You'll have to isolate the power supply as not being a problem before anything else will be relevant. > > If you swap the two new disks, and the one now on the card fails, it's probably not a disk problem. But you still can't tell if its the card or insufficient power. > > If you can sideline the two original disks and run, it's probably power. But I'd guess you're oversubscribed in that department. It should be relatively easy to estimate as mfg specs for cpu + mobo + disks is readily available. > > Gary > Yeah, this is really odd! I just "offlined" the system and took a look at the BIOS. The hard disk controller was set to "ATA NATIVE", I attempted changing to AHCI and the system failed to boot thereafter. Booting into my rescue CD of FreeSBIE, with AHCI enabled only showed "ad4" (the troubled disk) to be registering. Switching the setting back I managed to see all disk including ad4 from SBIE. I fixed the /boot/loader.conf file by commenting out "ahci_load="YES"" and vuala done! The system booted and the ZPOOL jumped back into life: # zpool status pool: ZFS_POOL_1 state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM ZFS_POOL_1 ONLINE 0 0 0 ad13 ONLINE 0 0 0 ad15 ONLINE 0 0 0 errors: No known data errors pool: ZFS_POOL_2 state: ONLINE scrub: scrub stopped after 307445734561825857h27m with 0 errors on Mon Jun 4 16:24:10 2012 config: NAME STATE READ WRITE CKSUM ZFS_POOL_2 ONLINE 0 0 0 ad14 ONLINE 0 0 0 ad4 ONLINE 0 0 0 errors: No known data errors Here's the weird part now; I had to stop the SCRUB as the READ_DMA retrying errors came up again?? I have just swapped disks infact and ad4 seems to be playing up again.... :-( ad4 of course being assigned any disk that's on the controller. I am not sure of what to make of this? Regards, Kaya From freebsd at dreamchaser.org Mon Jun 4 13:53:58 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 4 13:54:08 2012 Subject: bsdlabel geometry params Message-ID: <4FCCBDF4.1030008@dreamchaser.org> According the the handbook, one should do the following to set up a new disk: 1 dd if=/dev/zero of=/dev/da1 bs=1k count=1 2 fdisk -BI da1 #Initialize your new disk 3 bsdlabel -B -w da1s1 auto #Label it. 4 bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. 5 mkdir -p /1 6 newfs /dev/da1s1e # Repeat this for every partition you created. 7 mount /dev/da1s1e /1 # Mount the partition(s) 8 vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg Is it necessary to fill these in, or is there a way to get some reasonable defaults? "newfs -N" will give you numbers for bsize and fsize, but what about bps/cpg? What does the install process do for this step? I don't remember ever having to deal with it. Gary From wblock at wonkity.com Mon Jun 4 13:54:20 2012 From: wblock at wonkity.com (Warren Block) Date: Mon Jun 4 13:54:28 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCC6E7D.50004@eskk.nu> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> <4FCC6557.40403@eskk.nu> <4FCC66A0.4030405@FreeBSD.org> <4FCC6E7D.50004@eskk.nu> Message-ID: On Mon, 4 Jun 2012, Leslie Jensen wrote: > 2012-06-04 09:41, Doug Barton skrev: >> On 06/04/2012 00:35, Leslie Jensen wrote: >>> I found that setting and changed it. >> >> That should do it then. Thanks to Warren for suggesting it. >> >>> I forgot to tell you that I'm working through an SSH connection and >>> maybe it's because of that I cannot see any title? >> >> Nope. Should work just fine for you, I've done thousands of portmaster >> upgrades over ssh. >> > > I've set that dynamic title should go before initial title. I've also tried > the setting that it should replace initial title. None of the settings > changes anything. > > I've no title at all apart from "Terminal" Could be something in your prompt resetting it. Does % printf "\033];Funny Title\007" change the title? From kayasaman at gmail.com Mon Jun 4 13:58:54 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Mon Jun 4 13:59:00 2012 Subject: Strange case of vanishing disk In-Reply-To: <4FCC650A.6000201@dreamchaser.org> References: <99.2A.28751.ABF1CCF4@smtp01.insight.synacor.com> <4FCC2483.5080901@gmail.com> <4FCC650A.6000201@dreamchaser.org> Message-ID: <4FCCBF18.4060309@gmail.com> On 06/04/2012 08:34 AM, Gary Aitken wrote: > On 06/03/12 20:59, Kaya Saman wrote: >> this is a very strange issue but I guess will either be related to 2 >> things, PSU not being powerful enough or disk controller simply being crap. >> >>> Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS >>> server with 2x 2TB disks and 2x4TB disks as storage - all spread out >>> over 2 ZFS storage pools. Additionally I am running the root file system >>> on a 40GB SSD. >> [...] >>> _______ >>> >>> One thing I can think of is to disconnect the questionable disk from the RAID controller card and connect it directly to the motherboard. >>> >>> Then you'd know whether the fault is with the hard drive or the RAID controller. >>> >>> PSU = power supply unit? 180 watts seems very little, I didn't know any modern system could run on so little. I thought the minimum would be around 400 watts, and this would not allow for a powerful gaming graphics card. >>> >>> Maybe you need to replace the power supply with something having more watts, but make sure it will physically fit. >>> >>> Tom >> Thanks for the response! >> >> Here's some more info that I managed to dig up: >> >> Jun 4 02:39:19 Zeta-Ray root: ZFS: vdev I/O failure, zpool=ZFS_POOL_2 path=/dev/ad4 offset=270336 size=8192 error=6 >> Jun 4 02:39:19 Zeta-Ray kernel: ata2: port is not ready (timeout 15000ms) tfd = 000000ff >> Jun 4 02:39:19 Zeta-Ray kernel: ata2: hardware reset timeout >> Jun 4 02:39:19 Zeta-Ray kernel: unknown: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=269091394 >> >> >> Yeah, 180 Watts is what comes with the chassis as it's an external power supply. Additionally the system is a Mini-ITX so that would account for less power usage however, in this case I think it might be the PSU that's simply not providing enough power..... >> >> >> I will definitely try sticking the "downed" disk into the motherboard controller directly as that will tell me if the disk is the issue or not. > If the problem is actually insufficient power, this won't tell you a thing. > You'll have to isolate the power supply as not being a problem before anything else will be relevant. > > If you swap the two new disks, and the one now on the card fails, it's probably not a disk problem. But you still can't tell if its the card or insufficient power. > > If you can sideline the two original disks and run, it's probably power. But I'd guess you're oversubscribed in that department. It should be relatively easy to estimate as mfg specs for cpu + mobo + disks is readily available. > > Gary > More digging yields this: zpool iostat -v ---------- ----- ----- ----- ----- ----- ----- ZFS_POOL_2 527G 6.74T 0 0 3.18K 1.39K ad4 431G 3.20T 0 0 1.55K 678 ad14 95.6G 3.53T 0 0 1.63K 740 ---------- ----- ----- ----- ----- ----- ----- There is not much bandwidth being used..... the disk is fine! The bandwidth gets a little more and the disk starts timing out: ---------- ----- ----- ----- ----- ----- ----- ZFS_POOL_2 527G 6.74T 0 0 19.0K 12.8K ad4 431G 3.20T 0 0 17.3K 5.97K ad14 95.6G 3.53T 0 0 1.72K 6.81K ---------- ----- ----- ----- ----- ----- ----- I'm pretty sure it's the Strartech.com controller in the system!! Regards, Kaya From leslie at eskk.nu Mon Jun 4 14:10:10 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Mon Jun 4 14:10:19 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> <4FCC6557.40403@eskk.nu> <4FCC66A0.4030405@FreeBSD.org> <4FCC6E7D.50004@eskk.nu> Message-ID: <4FCCC1DA.4020202@eskk.nu> 2012-06-04 15:54, Warren Block skrev: > % printf "\033];Funny Title\007" Works! From freebsd at edvax.de Mon Jun 4 14:10:24 2012 From: freebsd at edvax.de (Polytropon) Date: Mon Jun 4 14:10:30 2012 Subject: (no subject) In-Reply-To: <5D.C1.05368.3393CCF4@smtp02.insight.synacor.com> References: <5D.C1.05368.3393CCF4@smtp02.insight.synacor.com> Message-ID: <20120604160952.c477d0c5.freebsd@edvax.de> On Mon, 04 Jun 2012 00:27:31 -0400, Thomas Mueller wrote: > >>For a server, you don't need a lot of fancy stuff such as Adobe Flash > > > and do you need this for a non-server? Adobe don't want us (FreeBSD users) > > to use their closed-source software. And i respect their will and don't > > use it. Which resulted in much easier browsing by the way :) > > Some, too many, web sites are difficult or impossible to access > without Adobe Flash. Those aren't web sites, those are "Flash" sites. :-) With the upcoming decline and fall of "Flash" in mind, one should not have to worry too much. When HTML 5 gets finally adopted (including its audio, video and interactivity features), which is essential to gain acccess to the growing mobile markets, "Flash" will just be an unpleasant memory, just like "Java on the web". :-) > Adobe may discontinue Linux version of Flash plugin except > when bundled with Chrome browser. There are alternatives that seem to work well enough (e. g. gnash). > Some web sites use Flash just to be annoying, not to create a video. Yes, "Flash" has taken the place that formerly has been occupied by animated GIFs, except now sound and forced interactivity, as well as slowness and bloat, have been successfully added. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Mon Jun 4 14:12:03 2012 From: freebsd at edvax.de (Polytropon) Date: Mon Jun 4 14:12:20 2012 Subject: (no subject) In-Reply-To: References: <5D.C1.05368.3393CCF4@smtp02.insight.synacor.com> Message-ID: <20120604161201.542af348.freebsd@edvax.de> On Mon, 4 Jun 2012 06:54:37 +0200 (CEST), Wojciech Puchar wrote: > youtube is not a problem, use youtube-dl from ports and do download videos > to disk drive, then watch instead of having movies "in the internet", > where they can disappear everytime youtube decide that you should's watch > it. Additionally, it allows the user to use his favourite media player (e. g. mplayer) with all its support (still, rew, ff, brightness/contrast adjust, keyboard support) except to have dealing with it in a web browser window with its very limited means of user friendlyness. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bmalik at ihlas.net.tr Mon Jun 4 14:12:44 2012 From: bmalik at ihlas.net.tr (Bulent Malik) Date: Mon Jun 4 14:12:52 2012 Subject: apache2 doesn't .flv in my server In-Reply-To: References: <00b301cd41c0$25b493d0$711dbb70$@ihlas.net.tr> Message-ID: <01d501cd425c$1a179530$4e46bf90$@ihlas.net.tr> >>On Sun, Jun 3, 2012 at 9:36 PM, Bulent Malik wrote: >> Hello >> >> I use apache22-worker on freebsd9 >> >> It Works. But I can't video file flv extension. >> >> I googled about that and downloaded mod_flvx.c and followed the >> instructions. Also I see that flv is added as shared module in apache >> Httpd -M >> alias_module (shared) >> rewrite_module (shared) >> php5_module (shared) >> h264_streaming_module (shared) >> flvx_module (shared) >> But when i call at http://myweb/example.flv i only download this file. >> How can I solve this case ? >AddHandler flv-stream .flv ? Yes there is that line in httpd.conf But flv doesn't work From freebsd at edvax.de Mon Jun 4 14:15:35 2012 From: freebsd at edvax.de (Polytropon) Date: Mon Jun 4 14:15:53 2012 Subject: umount device busy In-Reply-To: <4FCC6A41.6030408@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> <20120604050537.f2df2af2.freebsd@edvax.de> <4FCC6A41.6030408@dreamchaser.org> Message-ID: <20120604161530.521e33fb.freebsd@edvax.de> On Mon, 04 Jun 2012 01:56:49 -0600, Gary Aitken wrote: > On 06/03/12 21:05, Polytropon wrote: > > Maybe the ganim "lock" is regarding a device file? Not sure > > about that, I'm not using it here. > > I'm not sure what the deal is here, but exiting X does solve > the problem. I didn't try just killing the environment by > shutting down the wm and leaving X up, but if I forget and > do something like that again I'll try to remember to try it. I assume ganim get launched as a background process by Xfce when starting X, and fortunately it exits when exiting X (and _not_ staying active as a daemon). > >> In any case, the mount was done after X was started, and switching > >> vtys crashes X so I don't do that. > > > > That sounds a bit wrong... > > Agreed, but I saw someone else was having a similar problem > with 9.0 release a bit earlier on a system, and no problem > with 8.3. At least I think that was it. Hmmm, just looked > and there's a firefox-bin.core and an xfce-appfinder.core. > Timestamps look about right for when I did a vty switch. So it's not only X crashing, it's also applications crashing (and so causing a core dump). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wblock at wonkity.com Mon Jun 4 14:15:41 2012 From: wblock at wonkity.com (Warren Block) Date: Mon Jun 4 14:15:54 2012 Subject: umount device busy In-Reply-To: <4FCC6A41.6030408@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> <20120604050537.f2df2af2.freebsd@edvax.de> <4FCC6A41.6030408@dreamchaser.org> Message-ID: On Mon, 4 Jun 2012, Gary Aitken wrote: > On 06/03/12 21:05, Polytropon wrote: > >> Maybe the ganim "lock" is regarding a device file? Not sure >> about that, I'm not using it here. > > I'm not sure what the deal is here, but exiting X does solve the > problem. I didn't try just killing the environment by shutting down > the wm and leaving X up, but if I forget and do something like that > again I'll try to remember to try it. gamin opens the directory (of the newly-mounted device) so it can check for new files being created or files being renamed, and then notify the window manager, which updates the user's desktop. The open makes the device in-use, preventing an unmount. Setting gamin to "poll" helps. (I assume it opens the directory, scans, then closes it again, so there's a race condition there, but I haven't encountered it.) gamin can also be disabled for certain directories. That works (AFAIR, it's been a while), but then you lose instant icon updates on the very directories where it is the most useful. From freebsd at edvax.de Mon Jun 4 14:48:08 2012 From: freebsd at edvax.de (Polytropon) Date: Mon Jun 4 14:48:15 2012 Subject: bsdlabel geometry params In-Reply-To: <4FCCBDF4.1030008@dreamchaser.org> References: <4FCCBDF4.1030008@dreamchaser.org> Message-ID: <20120604164244.81e24528.freebsd@edvax.de> On Mon, 04 Jun 2012 07:53:56 -0600, Gary Aitken wrote: > According the the handbook, one should do the following to set up a new disk: > > 1 dd if=/dev/zero of=/dev/da1 bs=1k count=1 > 2 fdisk -BI da1 #Initialize your new disk > 3 bsdlabel -B -w da1s1 auto #Label it. > 4 bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. > 5 mkdir -p /1 > 6 newfs /dev/da1s1e # Repeat this for every partition you created. > 7 mount /dev/da1s1e /1 # Mount the partition(s) > 8 vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. > > In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg > Is it necessary to fill these in, or is there a way to get some > reasonable defaults? > "newfs -N" will give you numbers for bsize and fsize, but what about bps/cpg? > > What does the install process do for this step? I don't remember > ever having to deal with it. Maybe it's bit overcomplicated. I assume as you're creating /dev/da1s1e here (non-boot volume on 1st slice, which would be /dev/da1s1a instead), so basically you're creating a kind of "data disk" (one full disk, not bootable). You can have that much easier: # newfs /dev/da1 Of course you can add options to newfs if needed, and also apply tunefs afterwards. But dealing with slices (which are "DOS primary partitions") is not needed if what you're creating will be a "data disk" as described. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Mon Jun 4 14:48:56 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 4 14:49:04 2012 Subject: umount device busy In-Reply-To: <4FCB7BBF.7090603@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> Message-ID: > > As nearly as I can tell, I don't have anything pointing at that drive. > > Questions: > > 1. What does the "No such file or directory" mean from mkdir? > It's a relative dir name, and I'm sitting at a valid dir. no NTFS driver for FreeBSD is really well done. fusefs based ntfs driver in my opinion is more usable (but not really good) try umount -f From sdb at ssr.com Mon Jun 4 15:58:29 2012 From: sdb at ssr.com (Scott Ballantyne) Date: Mon Jun 4 15:58:58 2012 Subject: Building youtube-dl from Ports causes trouble? Message-ID: <20120604152729.67144.qmail@irelay.ssr.com> Good Morning everyone, I updated my ports this morning, built youtube-dl, and after finding some software wouldn't work, rebooted. Now X doesn't start, and when I tried to start emacs, it seems that libpng, required by emacs, has vanished. So my current theory is that I should just rebuild all my ports? I'm amazed that this could happen, truthfully. Any suggestions, warnings, wrist slaps? Running 9.0 GENERIC. Thanks, Scott -- sdb@ssr.com From jakub_lach at mailplus.pl Mon Jun 4 16:15:29 2012 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Mon Jun 4 16:15:36 2012 Subject: Building youtube-dl from Ports causes trouble? In-Reply-To: <20120604152729.67144.qmail@irelay.ssr.com> References: <20120604152729.67144.qmail@irelay.ssr.com> Message-ID: <1338826528800-5714959.post@n5.nabble.com> youtibe_dl is just python script, nothing related. 20120531: AFFECTS: users of graphics/png AUTHOR: dinoex@FreeBSD.org The PNG library has been updated to version 1.5.10. Please rebuild all ports that depend on it. If you use portmaster: portmaster -r png- If you use portupgrade: portupgrade -fr graphics/png This is VERY related I'm afraid.. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Building-youtube-dl-from-Ports-causes-trouble-tp5714957p5714959.html Sent from the freebsd-questions mailing list archive at Nabble.com. From nightrecon at hotmail.com Mon Jun 4 16:18:44 2012 From: nightrecon at hotmail.com (Michael Powell) Date: Mon Jun 4 16:18:51 2012 Subject: Dependencies for dns/unbound References: Message-ID: Rada alive wrote: > I was hoping to test dns/unbound as a lighter-weight DNS cache service to > replace BIND. A few hours into "make install" i decided to abort and have > a look at the dependencies. > Can someone tell me why a DNS server needs packages like "graphics/jpeg" > and "x11/randrproto"? This I do not know. > Is there a way to build unbound on my system without all the trash? Try placing WITHOUT_X11= yes in /etc/make.conf > I tried emailing the port maintainer but my message bounced back. > [snip] -Mike From chad at shire.net Mon Jun 4 16:56:02 2012 From: chad at shire.net (Chad Leigh Shire.Net LLC) Date: Mon Jun 4 16:56:11 2012 Subject: question on SYN_SENT In-Reply-To: <201205120006.q4C06Itk036463@mail.r-bonomi.com> References: <201205120006.q4C06Itk036463@mail.r-bonomi.com> Message-ID: <410A7962-99F9-4474-A3E5-E220E7542C1C@shire.net> On May 11, 2012, at 6:06 PM, Robert Bonomi wrote: > > 'Should not' does not mean 'is not'. and unfortunately, it -is- attempting > to "go out". > > There are at least a couple of possible explanations, none of them "good". > 1) the jail is attempting a DoS (or participating in DDoS) against an > Israeli _government_ network/machine. > 2) the jail is 'owned' by a botnet, and is trying to 'phone home' for > instructions. Sorry for the delay in response. Did not mean to ignore this. Was busy figuring out and correcting this (and then the other normal day to day stuff that comes up). Yes, it looks like a customer's JBOSS installation had been hacked. It was running in its own jail with RO mounting of /usr (except /usr/local) and /bin /sbin and other system directories. It was basically scanning for more open JBOSS stuff. The attack had just barely happened (the server had just been installed). I disabled the JBOSS and cleaned everything up and scanned the jail for problem files etc. Customer fixed the JBOSS vulnerability (well known one) and decided to leave it off for now. Thanks for all the help on this Chad -- From rwmaillists at googlemail.com Mon Jun 4 16:58:04 2012 From: rwmaillists at googlemail.com (RW) Date: Mon Jun 4 16:58:11 2012 Subject: Dependencies for dns/unbound In-Reply-To: References: Message-ID: <20120604175755.5a8ecf69@gumby.homeunix.com> On Mon, 4 Jun 2012 15:47:29 +0200 Rada alive wrote: > I was hoping to test dns/unbound as a lighter-weight DNS cache > service to replace BIND. A few hours into "make install" i decided to > abort and have a look at the dependencies. > Can someone tell me why a DNS server needs packages like > "graphics/jpeg" and "x11/randrproto"? It doesn't $ make all-depends-list /usr/ports/devel/gmake /usr/ports/textproc/expat2 /usr/ports/dns/ldns /usr/ports/devel/gettext /usr/ports/devel/libtool /usr/ports/converters/libiconv From arab at tangerine-army.co.uk Mon Jun 4 17:02:24 2012 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Mon Jun 4 17:02:32 2012 Subject: Strange case of vanishing disk In-Reply-To: <4FCC0A31.3000902@gmail.com> References: <4FCC0A31.3000902@gmail.com> Message-ID: <4C0F7421AA759346AF17299922AD57EB06204E0B@Mercury.universe.galaxy.lcl> -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Kaya Saman Sent: 04 June 2012 02:07 To: freebsd-questions@freebsd.org Subject: Strange case of vanishing disk Hi, this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS server with 2x 2TB disks and 2x4TB disks as storage - all spread out over 2 ZFS storage pools. Additionally I am running the root file system on a 40GB SSD. The strange thing with this is that I recently installed the 4TB disks and they're brand new. One disk connected to the system board works fine and shows up as online and on one of the channels using atacontrol list. The other disk is connected to a Startech.com Jmicron based 2x SATA RAID controller card. The disk connected to the controller card is having issues. At first the drive wouldn't be seen by the system then after a while all of a sudden it was there. No reboots, no io scans nothing it just appeared. After blasting it with IO for a few days the disk has now vanished again..... I had this error in dmesg for a while: ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535 I have tried to use pciconf -lbvv to show the connected interfaces and the JMICRON comes up fine: atapci0@pci0:2:0:0: class=0x010400 card=0x2366197b chip=0x2366197b rev=0x02 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)' class = mass storage subclass = RAID bar [10] = type I/O Port, range 32, base 0xd040, size 8, enabled bar [14] = type I/O Port, range 32, base 0xd030, size 4, enabled bar [18] = type I/O Port, range 32, base 0xd020, size 8, enabled bar [1c] = type I/O Port, range 32, base 0xd010, size 4, enabled bar [20] = type I/O Port, range 32, base 0xd000, size 16, enabled bar [24] = type Memory, range 32, base 0xd0510000, size 8192, enabled So why isn't the disk? I reckon as stated at the beginning that either the 180Watt PSU inside the system isn't enough or the controller is just really poor?? Could anyone suggest anything to look into, I'm sure I've covered all the bases but just incase there is something else I can do with this one?? Thanks. Kaya _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I have had a similar issue on a 3 machines before and in each case the cause was slightly different, on one updating the motherboard BIOS updated the AHCI microcode and the problem went away, another it was the power supply that was a little under powered and in the third which was much more odd was a faulty ram socket on the motherboard, in that case I had initially thought it was the on board sata controller that was the issue so I tried a new 6 port sata controller but the behaviour was the same, so I know it sounds strange but run memtest and see if throws up an errors. Regards Graeme From wojtek at wojtek.tensor.gdynia.pl Mon Jun 4 17:16:55 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 4 17:17:02 2012 Subject: Building youtube-dl from Ports causes trouble? In-Reply-To: <20120604152729.67144.qmail@irelay.ssr.com> References: <20120604152729.67144.qmail@irelay.ssr.com> Message-ID: > > I updated my ports this morning, built youtube-dl, and after finding definitely not related to youtube-dl. > some software wouldn't work, rebooted. Now X doesn't start, and when I > tried to start emacs, it seems that libpng, required by emacs, has > vanished. > > So my current theory is that I should just rebuild all my ports? I'm > amazed that this could happen, truthfully. unfortunately ports subsystem is far from being good. anyway making it good dealing with today "modern" software with enormous amount of dependencies is just very hard. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 4 17:23:56 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 4 17:24:02 2012 Subject: Strange case of vanishing disk In-Reply-To: <4C0F7421AA759346AF17299922AD57EB06204E0B@Mercury.universe.galaxy.lcl> References: <4FCC0A31.3000902@gmail.com> <4C0F7421AA759346AF17299922AD57EB06204E0B@Mercury.universe.galaxy.lcl> Message-ID: > I reckon as stated at the beginning that either the 180Watt PSU inside > the system isn't enough or the controller is just really poor?? well i got through the same. changing PSU, forced a seller to replace my motherboard (got NEW, not the same - checked), checked all cables, even changing disks. used separate JMicron (as yours) based PCIe controllers, and builtin SATA ports on motherboard. things happened randomly. Checked if chipset isn't overheating on board - it wasn't. Then i just got worried and got some money to buy new (low end model) of Dell Poweredge. Things now works with onboard controller, with addon JMicron PCIe (yes the same cards), with any cables and all disks i tried before including those i considered faulty. What i think is that it is not controllers fault not disk faults or not even CPU/memory/chipset fault but bad motherboard electrical design of some motherboard. Possibly because of just different pattern of operation under windoze most clients don't have such a problem and motherboard are continued to be cheaply produced. As formerly failing JMicron controllers are working fine on Dell server proves that it isn't FreeBSD fault too. > > > Could anyone suggest anything to look into, I'm sure I've covered all > the bases but just incase there is something else I can do with this one?? Change the motherboard to DIFFERENT. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 4 17:26:40 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 4 17:26:46 2012 Subject: Strange case of vanishing disk In-Reply-To: <4FCCBD85.4020108@gmail.com> References: <99.2A.28751.ABF1CCF4@smtp01.insight.synacor.com> <4FCC2483.5080901@gmail.com> <4FCC650A.6000201@dreamchaser.org> <4FCCBD85.4020108@gmail.com> Message-ID: > > I just "offlined" the system and took a look at the BIOS. The hard disk > controller was set to "ATA NATIVE", I attempted changing to AHCI and the > system failed to boot thereafter. do you have ahci and ada drivers compiled in? > > Booting into my rescue CD of FreeSBIE, with AHCI enabled only showed "ad4" > (the troubled disk) to be registering. showing up some, but not all disks after rebooting is quite common to the problem i described. POWERING OFF (by disconnecting electricity, not by power button), waiting a minute, and powering on "fixes" the problem for some time. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 4 17:28:08 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 4 17:28:14 2012 Subject: apache2 doesn't .flv in my server In-Reply-To: <01d501cd425c$1a179530$4e46bf90$@ihlas.net.tr> References: <00b301cd41c0$25b493d0$711dbb70$@ihlas.net.tr> <01d501cd425c$1a179530$4e46bf90$@ihlas.net.tr> Message-ID: >>> But when i call at http://myweb/example.flv i only download this file. >>> How can I solve this case ? > >> AddHandler flv-stream .flv ? > > Yes there is that line in httpd.conf > But flv doesn't work do you have video/x-flv flv in your mime table. browser mostly ignore extension but look at mime type to decide on action. From kayasaman at gmail.com Mon Jun 4 17:39:15 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Mon Jun 4 17:39:22 2012 Subject: Strange case of vanishing disk In-Reply-To: References: <99.2A.28751.ABF1CCF4@smtp01.insight.synacor.com> <4FCC2483.5080901@gmail.com> <4FCC650A.6000201@dreamchaser.org> <4FCCBD85.4020108@gmail.com> Message-ID: <4FCCF2BD.2080805@gmail.com> On 06/04/2012 06:26 PM, Wojciech Puchar wrote: >> >> I just "offlined" the system and took a look at the BIOS. The hard >> disk controller was set to "ATA NATIVE", I attempted changing to AHCI >> and the system failed to boot thereafter. > > do you have ahci and ada drivers compiled in? > >> >> Booting into my rescue CD of FreeSBIE, with AHCI enabled only showed >> "ad4" (the troubled disk) to be registering. > > showing up some, but not all disks after rebooting is quite common to > the problem i described. > > POWERING OFF (by disconnecting electricity, not by power button), > waiting a minute, and powering on "fixes" the problem for some time. Thanks Wojciech for the responses! It could be the motherboard; it's an Intel Core2Quad machine! I am looking at alternatives like Portwell: http://www.portwell.nl/products/WADE-8011.html http://www.portwell.nl/products/WADE-8012.html which are Xeon and i7 based system boards respectively and also industrial meaning that they are better designed then consumer desktop style boards. It will be interesting to test once my new rackmount chassis comes along with a 400Watt PSU where the system will then go and see what happens from there...... This system has been up for 3+ years before running 3x disks; one SSD and 2x 2TB drives in a ZFS pool. I only have 4GB RAM in here which may be an issue since I am also using round 5x Jails and 2x Apache Tomcat and 2x Postgresql databases inside to host separate instances of Xwiki - yep Java eats RAM for breakfast, lunch, and dinner :-) - will soon be migrating this stuff off the box but not for now as need some ca$h first ;-) Will wait for my new chassis then see what happens! Regards, Kaya From simon at optinet.com Mon Jun 4 18:28:42 2012 From: simon at optinet.com (Simon) Date: Mon Jun 4 18:28:54 2012 Subject: FreeBSD 8.3 support for LSI SAS 2208 based controllers/Dell PERC 710 In-Reply-To: <20120517152401.GA13731@neutralgood.org> Message-ID: <20120604182842.0D9321065672@hub.freebsd.org> I'm wondering if this was resolved. I was looking at Dell R610s with Perc H700 and no solid information either. Found a few threads with people having issues with it, no solutions. These been out since early 2010, not cutting edge by any means. Is anyone using Dell R610/R620 with Perc H700/H710 reliably for some time? How can a hardcore server-OS like FreeBSD not have solid support for these popular server platforms :\ The more I run into these issues, the more I'm being forced to consider Linux; this is somewhat sad. I hope I'm mistaken but it seems like there is less and less support for mainstream server out-of-box hardware lately. -Simon On Thu, 17 May 2012 11:24:01 -0400, kpneal@pobox.com wrote: >On Wed, May 16, 2012 at 02:07:30PM -0500, Mark Felder wrote: >> On Wed, 16 May 2012 13:04:25 -0500, Rick Miller >> wrote: >> >> > >> >Would anyone else out there have any experience with installing >> >FreeBSD on the R620 and be able to provide any tips for >> >troubleshooting? >> > >> >> Does 9.0 install on that hardware? It's possible your controller chip has >> a slightly different revision that isn't listed in the driver. I'd expect >> it to not work on 9.0 either in that case. >I also have an R620 possibly with the same card. >FreeBSD 8.3 does not see the card. >FreeBSD 9.0 sees the card well enough to hang the kernel trying to >get a good response out of the probe. >I thought the mfi driver was the relevant one? I'm pretty sure that's >the one that hangs 9.0. I'll check tonight. >Having 9.0 hang makes it ... difficult ... to get a 9.0 install done >to the built-in usb drive. So I'm planning on trying to run a 9.0-current >kernel with an 8.3 userland at least for a little while. >-- >Kevin P. Neal http://www.pobox.com/~kpn/ > "Good grief, I've just noticed I've typed in a rant. Sorry chaps!" > Keir Finlow Bates, circa 1998 >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From rsmith at xs4all.nl Mon Jun 4 18:33:06 2012 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Jun 4 18:33:13 2012 Subject: [SOLVED] Re: optionsng ignores /var/db/ports//options In-Reply-To: <20120603191003.GA8028@slackbox.erewhon.net> References: <20120603160518.GA6631@slackbox.erewhon.net> <4FCBAA72.7020103@FreeBSD.org> <20120603191003.GA8028@slackbox.erewhon.net> Message-ID: <20120604183234.GC14162@slackbox.erewhon.net> On Sun, Jun 03, 2012 at 09:10:03PM +0200, Roland Smith wrote: > On Sun, Jun 03, 2012 at 07:18:26PM +0100, Matthew Seaman wrote: > > On 03/06/2012 17:05, Roland Smith wrote: > > > I've used 'make config' to set the PYCAIO option to on; > > > > > > slackbox# cat /var/db/ports/py27-py-stl/options > > > # This file is auto-generated by 'make config'. > > > # Options for py27-py-stl-3.1 > > > _OPTIONS_READ=py27-py-stl-3.1 > > > _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO > > > OPTIONS_FILE_SET+=PYCAIRO > > > > > > But the port seems to ignore it: > > > > > > slackbox# make showconfig > > > ===> The following configuration options are available for py27-py-stl-3.1: > > > PYCAIRO=off: Use (py)Cairo to enable stl2pdf > > > ===> Use 'make config' to modify these settings > > > > > > Every time I do 'make config', the PYCAIRO option will be unset, even if it > > > shows as set in /var/db/ports//options! > > > > What does > > > > % make -V PORT_OPTIONS > > slackbox# pwd > /usr/ports/graphics/py-stl > slackbox# make -V PORT_OPTIONS > DOCS EXAMPLES NLS > > > show? If PYCAIRO is set in PORT_OPTIONS, then the port is accepting > > your setting of the option, and you've found a bug with the showconfig > > target. (If so, please open a PR.) Well, it was a bug, but not particularly in showconfig alone, see below. > > If not, then something odd is happening, as your port looks perfectly OK > > to me. Are you using a ports tree updated within about the last 48 hours > > or so? I know there were some bug fixes went in to all FOO_DESC lines to > > contain (brackets) and other syntactically significant characters. > > I updated my ports tree this afternoon. The really weird thing is that I > tested 'make config' in several other ports where it worked fine... > > > PS. Asking this on freebsd-ports@... might be a good idea. The bad news is that it was a bug in the ports system. It turned out that because of the way the unique name of the port was set (which happens twice), the options file is not read from the same directory that it is written to! Thanks to Baptiste Daroussin for clueing me in in this. I've gained a new respect for the people maintaining the ports infrastructure. :-) It's kind of amazing it works as well as it does. The good news is that there are several workarounds. For future reference, the workaround that I ended up using was to set the following variable in the port makefile: OPTIONSFILE= ${PORT_DBDIR}/py27-${PORTNAME}/options Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120604/68f15d95/attachment.pgp From bmalik at ihlas.net.tr Mon Jun 4 19:03:28 2012 From: bmalik at ihlas.net.tr (Bulent Malik) Date: Mon Jun 4 19:03:35 2012 Subject: apache2 doesn't .flv in my server In-Reply-To: References: <00b301cd41c0$25b493d0$711dbb70$@ihlas.net.tr> <01d501cd425c$1a179530$4e46bf90$@ihlas.net.tr> Message-ID: <024401cd4284$b74e2300$25ea6900$@ihlas.net.tr> >>> But when i call at http://myweb/example.flv i only download this file. >>> How can I solve this case ? > >> AddHandler flv-stream .flv ? >> Yes there is that line in httpd.conf >> But flv doesn't work >do you have >video/x-flv flv >in your mime table. >browser mostly ignore extension but look at mime type to decide on action. Yes there is too. What can the problem ? From freebsd at dreamchaser.org Mon Jun 4 19:15:41 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 4 19:17:29 2012 Subject: umount device busy In-Reply-To: References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> <20120604050537.f2df2af2.freebsd@edvax.de> <4FCC6A41.6030408@dreamchaser.org> Message-ID: <4FCD0955.6080801@dreamchaser.org> On 06/04/12 08:15, Warren Block wrote: > gamin opens the directory (of the newly-mounted device) so it can check for new files being created or files being renamed, and then notify the window manager, which updates the user's desktop. The open makes the device in-use, preventing an unmount. > > Setting gamin to "poll" helps. (I assume it opens the directory, scans, then closes it again, so there's a race condition there, but I haven't encountered it.) > > gamin can also be disabled for certain directories. That works (AFAIR, it's been a while), but then you lose instant icon updates on the very directories where it is the most useful. Can you tell me where any of this is documented? I can't find squat about gamin. no man page and no docs in the /usr/local tree Checked the port options for gamin itself and see there's a place to turn on the poller, to that should solve that problem. But where does one learn about disabling specific directories or other info? Thanks, Gary From matthew at FreeBSD.org Mon Jun 4 19:37:49 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Mon Jun 4 19:37:56 2012 Subject: Dependencies for dns/unbound In-Reply-To: References: Message-ID: <4FCD0E87.1020001@FreeBSD.org> On 04/06/2012 14:47, Rada alive wrote: > [root@pladaks /usr/ports/dns/unbound]# make all-depends-list > /usr/ports/devel/gmake > /usr/ports/textproc/expat2 > /usr/ports/dns/ldns > /usr/ports/devel/gettext > /usr/ports/devel/doxygen > /usr/ports/devel/libtool > /usr/ports/converters/libiconv > /usr/ports/lang/perl5.12 > /usr/ports/devel/tmake > /usr/ports/graphics/graphviz > /usr/ports/print/dvipsk-tetex > /usr/ports/print/teTeX > /usr/ports/lang/python27 > /usr/ports/devel/bison > /usr/ports/devel/qt4-corelib > [... etc -- rest of exceeding long list of dependencies trimmed ...] Unset the DOCS option in dns/ldns. Almost all of those dependencies are due to the doxygen support that drags in. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120604/cbabbfd6/signature.pgp From freebsd at edvax.de Mon Jun 4 19:40:27 2012 From: freebsd at edvax.de (Polytropon) Date: Mon Jun 4 19:40:35 2012 Subject: umount device busy In-Reply-To: <4FCD0955.6080801@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> <20120604050537.f2df2af2.freebsd@edvax.de> <4FCC6A41.6030408@dreamchaser.org> <4FCD0955.6080801@dreamchaser.org> Message-ID: <20120604214018.bc46d44b.freebsd@edvax.de> On Mon, 04 Jun 2012 13:15:33 -0600, Gary Aitken wrote: > Can you tell me where any of this is documented? > I can't find squat about gamin. > no man page and no docs in the /usr/local tree Welcome to the realm of modern software and its aversion against documentation. :-) In such cases, you often need to use a web browser, google, and search for keywords related to your problem. > Checked the port options for gamin itself and see there's > a place to turn on the poller, to that should solve that problem. No, this setting is done in a configuration file (installed version of course). The setting is poll /mnt/* poll /media/* or poll /dev/* or the like - not sure, I'm not using it. > But where does one learn about disabling specific directories > or other info? In arbitrary web forums, wikis and user pages. :-) Here's an example: http://people.gnome.org/~veillard/gamin/config.html Of course you need to conclude to use either ~/.gaminrc for your user, or something different than /etc/gamin/mandatory_gaminrc for system-wide use. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at dreamchaser.org Mon Jun 4 19:52:32 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 4 19:52:45 2012 Subject: umount device busy In-Reply-To: References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> Message-ID: <4FCD11FD.6040404@dreamchaser.org> On 06/04/12 02:28, Lars Eighner wrote: >>> This almost always means someone (i.e. you) is sitting in the directory. >>> If you tried this while su'ed and the un-su'ed you were still in the >>> directory /mnt/goflex, you'd get this message. This may also happen if >>> someone (i.e. you) is in the directory on another vtty. Naturally it can >>> also mean some operation is in progress, but generally you would have >>> recognized and avoided that. >> >> That's what I kept thinking. Backed out of all su ops, checked all >> xterms; nada. no other vtys opened. In any case, the mount was done >> after X was started, and switching vtys crashes X so I don't do that. > > This needs fixing. no kidding. at the moment, other stuff has priority... >>>> 3. I tried lsof but I don't get any output from it: >>>> lsof +d /mnt/goflex -x -- /mnt/goflex >>>> Where does it go if not to stdout? > >>> You've got me! But why is there anything after -x? I don't quite >>> understand. >> >> Otherwise -x thinks the /mnt/goflex belongs to it. > > But what if you leave out ALL the stuff after -x. Isn't it redundant with > the +d switch? (That's not a Socratic question: I don't know.) That's what you get when you build a command line while reading the man page :-) At least in this instance, you get the same result. > Anyway, I found the lsof FAQ by make extract in the port. I quess I am not > too good at reading Makefiles because I don't see why it isn't copied to > /usr/local/share/lsof with the README and whatnot. Thanks, got it. Gary From freebsd at dreamchaser.org Mon Jun 4 19:58:08 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 4 19:58:14 2012 Subject: bsdlabel geometry params In-Reply-To: <20120604164244.81e24528.freebsd@edvax.de> References: <4FCCBDF4.1030008@dreamchaser.org> <20120604164244.81e24528.freebsd@edvax.de> Message-ID: <4FCD1347.9060209@dreamchaser.org> On 06/04/12 08:42, Polytropon wrote: >> In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg >> Is it necessary to fill these in, or is there a way to get some >> reasonable defaults? >> "newfs -N" will give you numbers for bsize and fsize, but what about bps/cpg? >> >> What does the install process do for this step? I don't remember >> ever having to deal with it. > > Maybe it's bit overcomplicated. I assume as you're creating > /dev/da1s1e here (non-boot volume on 1st slice, which would > be /dev/da1s1a instead), so basically you're creating a kind > of "data disk" (one full disk, not bootable). Actually, no. That was a cut and paste from the handbook, IIRC. The actual disk will have a backup system and another partition for cron dump files. I don't quite understand the relationship between the params in the label and the filesystem. My impression was that the params in the label for a filesystem were mandatory, but it appears not all of them are. It seems like there should be a cmd to run to get reasonable starting point numbers. If you don't have anything to go on, you could easily stick something in there that's worse than what a default would be. From wblock at wonkity.com Mon Jun 4 19:58:36 2012 From: wblock at wonkity.com (Warren Block) Date: Mon Jun 4 19:58:42 2012 Subject: umount device busy In-Reply-To: <4FCD0955.6080801@dreamchaser.org> References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> <20120604050537.f2df2af2.freebsd@edvax.de> <4FCC6A41.6030408@dreamchaser.org> <4FCD0955.6080801@dreamchaser.org> Message-ID: On Mon, 4 Jun 2012, Gary Aitken wrote: > On 06/04/12 08:15, Warren Block wrote: > >> gamin opens the directory (of the newly-mounted device) so it can check for new files being created or files being renamed, and then notify the window manager, which updates the user's desktop. The open makes the device in-use, preventing an unmount. >> >> Setting gamin to "poll" helps. (I assume it opens the directory, scans, then closes it again, so there's a race condition there, but I haven't encountered it.) >> >> gamin can also be disabled for certain directories. That works (AFAIR, it's been a while), but then you lose instant icon updates on the very directories where it is the most useful. > > Can you tell me where any of this is documented? > I can't find squat about gamin. Found on a google-quest after lsof or stat showed gamin locking the directory where I was mounting stuff: http://people.gnome.org/~veillard/gamin/config.html From glarkin at FreeBSD.org Mon Jun 4 20:01:36 2012 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon Jun 4 20:01:44 2012 Subject: [SOLVED] Re: optionsng ignores /var/db/ports//options In-Reply-To: <20120604183234.GC14162@slackbox.erewhon.net> References: <20120603160518.GA6631@slackbox.erewhon.net> <4FCBAA72.7020103@FreeBSD.org> <20120603191003.GA8028@slackbox.erewhon.net> <20120604183234.GC14162@slackbox.erewhon.net> Message-ID: <4FCD1417.4060000@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/4/12 2:32 PM, Roland Smith wrote: > On Sun, Jun 03, 2012 at 09:10:03PM +0200, Roland Smith wrote: >> On Sun, Jun 03, 2012 at 07:18:26PM +0100, Matthew Seaman wrote: >>> On 03/06/2012 17:05, Roland Smith wrote: >>>> I've used 'make config' to set the PYCAIO option to on; >>>> >>>> slackbox# cat /var/db/ports/py27-py-stl/options # This file >>>> is auto-generated by 'make config'. # Options for >>>> py27-py-stl-3.1 _OPTIONS_READ=py27-py-stl-3.1 >>>> _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO >>>> OPTIONS_FILE_SET+=PYCAIRO >>>> >>>> But the port seems to ignore it: >>>> >>>> slackbox# make showconfig ===> The following configuration >>>> options are available for py27-py-stl-3.1: PYCAIRO=off: Use >>>> (py)Cairo to enable stl2pdf ===> Use 'make config' to modify >>>> these settings >>>> >>>> Every time I do 'make config', the PYCAIRO option will be >>>> unset, even if it shows as set in >>>> /var/db/ports//options! >>> >>> What does >>> >>> % make -V PORT_OPTIONS >> >> slackbox# pwd /usr/ports/graphics/py-stl slackbox# make -V >> PORT_OPTIONS DOCS EXAMPLES NLS >> >>> show? If PYCAIRO is set in PORT_OPTIONS, then the port is >>> accepting your setting of the option, and you've found a bug >>> with the showconfig target. (If so, please open a PR.) > > Well, it was a bug, but not particularly in showconfig alone, see > below. > >>> If not, then something odd is happening, as your port looks >>> perfectly OK to me. Are you using a ports tree updated within >>> about the last 48 hours or so? I know there were some bug >>> fixes went in to all FOO_DESC lines to contain (brackets) and >>> other syntactically significant characters. >> >> I updated my ports tree this afternoon. The really weird thing is >> that I tested 'make config' in several other ports where it >> worked fine... >> >>> PS. Asking this on freebsd-ports@... might be a good idea. > > The bad news is that it was a bug in the ports system. It turned > out that because of the way the unique name of the port was set > (which happens twice), the options file is not read from the same > directory that it is written to! Thanks to Baptiste Daroussin for > clueing me in in this. I've gained a new respect for the people > maintaining the ports infrastructure. :-) It's kind of amazing it > works as well as it does. > > The good news is that there are several workarounds. For future > reference, the workaround that I ended up using was to set the > following variable in the port makefile: > > OPTIONSFILE= ${PORT_DBDIR}/py27-${PORTNAME}/options > > > Roland Hi Roland, I don't think you want to hardcode the "py27-" in the variable assignment, since it ties the filename to a specific version of Python. Check PYTHON_PKGNAMEPREFIX, and it should adjust itself as the Python version changes. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/NFBcACgkQ0sRouByUApDtRgCgl0NvUTwexNS1TdZqqXElKWPX SggAn1b/QRnU8rhwbtu0mebByp+IRB3A =+ly7 -----END PGP SIGNATURE----- From wblock at wonkity.com Mon Jun 4 20:26:26 2012 From: wblock at wonkity.com (Warren Block) Date: Mon Jun 4 20:26:36 2012 Subject: bsdlabel geometry params In-Reply-To: <4FCCBDF4.1030008@dreamchaser.org> References: <4FCCBDF4.1030008@dreamchaser.org> Message-ID: On Mon, 4 Jun 2012, Gary Aitken wrote: > According the the handbook, one should do the following to set up a new disk: > > 1 dd if=/dev/zero of=/dev/da1 bs=1k count=1 > 2 fdisk -BI da1 #Initialize your new disk > 3 bsdlabel -B -w da1s1 auto #Label it. > 4 bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. > 5 mkdir -p /1 > 6 newfs /dev/da1s1e # Repeat this for every partition you created. > 7 mount /dev/da1s1e /1 # Mount the partition(s) > 8 vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. > > In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg > Is it necessary to fill these in, or is there a way to get some reasonable defaults? > "newfs -N" will give you numbers for bsize and fsize, but what about bps/cpg? > > What does the install process do for this step? I don't remember ever having to deal with it. What part of the Handbook? I would suggest using gpart(8), it makes GPT partitions easy, and nasty old MBR partitions aren't any worse than with fdisk/bsdlabel. From freebsd at dreamchaser.org Mon Jun 4 20:35:55 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 4 20:36:05 2012 Subject: umount device busy In-Reply-To: <20120604214018.bc46d44b.freebsd@edvax.de> References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> <20120604050537.f2df2af2.freebsd@edvax.de> <4FCC6A41.6030408@dreamchaser.org> <4FCD0955.6080801@dreamchaser.org> <20120604214018.bc46d44b.freebsd@edvax.de> Message-ID: <4FCD1C25.1020006@dreamchaser.org> On 06/04/12 13:40, Polytropon wrote: > On Mon, 04 Jun 2012 13:15:33 -0600, Gary Aitken wrote: >> Can you tell me where any of this is documented? >> I can't find squat about gamin. >> no man page and no docs in the /usr/local tree > > Welcome to the realm of modern software and its aversion > against documentation. :-) > > In such cases, you often need to use a web browser, google, > and search for keywords related to your problem. Actually, did, but missed it. I know I had the spelling right because I was flooded with "gaRmin" results and had to check. I'll go hide in the corner now... >> Checked the port options for gamin itself and see there's >> a place to turn on the poller, to that should solve that problem. > > No, this setting is done in a configuration file (installed > version of course). The setting is > > poll /mnt/* > poll /media/* > > or > > poll /dev/* > > or the like - not sure, I'm not using it. It's also an option at build time. Or at least it shows up there: [*] GAM_POLLER Use gamin's poller instead of kqueue's >> But where does one learn about disabling specific directories >> or other info? > > In arbitrary web forums, wikis and user pages. :-) > > Here's an example: > > http://people.gnome.org/~veillard/gamin/config.html Found that easily now, thanks. From gobble.wa at gmail.com Mon Jun 4 20:38:57 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Mon Jun 4 20:39:05 2012 Subject: starting xfce4 reboots machine In-Reply-To: References: Message-ID: On Jun 3, 2012 9:52 AM, "Waitman Gobble" wrote: > > > > On Thu, May 31, 2012 at 12:10 AM, Joe Gain wrote: >> >> On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble wrote: >> > On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble wrote: >> > >> >> >> >> >> >> On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble wrote: >> >> >> >>> >> >>> >> >>> On Mon, May 28, 2012 at 7:42 AM, Warren Block wrote: >> >>> >> >>>> On Sun, 27 May 2012, Waitman Gobble wrote: >> >>>> >> >>>> Hi, >> >>>>> >> >>>>> I've been running FreeBSD 10.0-CURRENT for some months, last time i >> >>>>> rebuilt >> >>>>> the system was April 20th. I've rebooted my machine many times and >> >>>>> started >> >>>>> X and Xfce4 without any trouble, however today I'm out of town on the >> >>>>> road >> >>>>> and when I startx my machine reboots. If I log in as root and startx i >> >>>>> can >> >>>>> run xorg without xfce4. but if i try startxfce4 the machine reboots. If >> >>>>> I >> >>>>> try to startx without xfce4 from my non-root account it locks up. >> >>>>> It's pretty quick and nothing I can see in the logs... >> >>>>> >> >>>>> Anyone have any ideas about troubleshooting??? It seems like it's out of >> >>>>> the blue with no changes to the system that I recall. :) >> >>>>> >> >>>> >> >>>> First, make sure you have cairo-1.10 instead of 1.12. After that, run >> >>>> pkg_libchk from sysutils/bsdadminscripts. Rebuild anything that says it is >> >>>> missing libxfce4-utils. >> >>>> >> >>>> After that, well, I still see some unsteadiness from xfce-4.10. There's >> >>>> a long delay on start, like a DNS timeout (but I have working DNS). >> >>>> Switching to console works, switching back usually does not, rebooting the >> >>>> machine. Leaving X and starting again reboots the machine. These last two >> >>>> could be due to the recent X upgrade, except I'm pretty sure they did not >> >>>> happen until xfce-4.10. >> >>>> >> >>> >> >>> thanks. i'll check it out.. >> >>> >> >>> Waitman >> >>> >> >>> >> >> spending some time troubleshooting this. it's a weird harold, the machine >> >> runs fine for days doing various things (but if i want X i have to log in >> >> as root first and startx, otherwise instant reboot). I've noticed that if i >> >> do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap >> >> of a finger instantly. >> >> >> >> I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll >> >> have to re-add somehow, might have to build from source if it won't stop >> >> rebooting :) >> >> >> >> i'll try the pkg_libchk >> >> >> >> Thanks, >> >> >> >> Waitman >> >> >> >> >> > this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up with >> > the zero-byte files.. i did do a pkg_delete but didn't expect to see this. >> > >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" >> >> Can't help with a solution. >> >> I had a very similar problem. I'm following 9.0-STABLE (rev. 235976 >> ca. week old) using xfce and have a thinkpad laptop with intel >> on-board graphics chip. My problems started when I updated the cairo >> port, and at the time I couldn't really believe that cairo was the >> cause of _the_ problem, because of the way X was crashing. What was >> even more frustrating was that the Xorg log file was not revealing >> anything other than "unknown error" and segfault. So, I didn't know >> what to do for a while, and after spending a couple of days looking >> for an answer, downgrading cairo fixed that issue. >> >> Couple of days later the new xfce is also available, and I have had no >> problems running it, on stable with downgraded (currently current >> again*) cairo. Be sure to read UPDATING with respect to xfce4-utils >> etc. >> >> It would be interesting to hear from someone who knows what's going on >> as this is the first major hiccup that I've had using freebsd. >> >> Thanks, Joe >> >> * http://www.freshports.org/commit.php?category=graphics&port=cairo&files=yes&message_id=201205260354.q4Q3sBOI042864@repoman.freebsd.org >> -- >> joe gain >> >> jacob-burckhardt-str. 16 >> 78464 konstanz >> germany >> >> +49 (0)7531 60389 >> >> (...otherwise in ???) > > > > Hi, > > I think I finally got to the bottom of my instant rebooting issue. I did a csup and rebuilt world/kernel, but doing a pkg_add or running xfce4 would still reboot the machine. This morning I scoured my logs and found one message that lead me to solution: bad dir ino xxxx AT OFFSET xxx: MANGLED ENTRY. > > It looks like on my machine that /var/tmp got wrecked, the fsck on boot wasn't catching it. > > I booted into single user mode and ran fsck -y a few times, the second time it skipped the journal to do a 'regular fsck' (maybe there is a switch to force it to skip the journal anyway?). w/o Journal it picked up the inode problems and fixed.. then mounted drive rw and deleted stuff in /var/tmp > > pkg_add works fine now, i haven't tried xfce4 yet but i bet it's going to work. > > Waitman Gobble > San Jose California USA > I updated to xfce4.10 using amd64 packages and everything seems to work, except for some reason "startxfce4" is missing.... but i can get it to start fine by putting "exec xfce4-session" in my .xinitrc.. anyone else experience this issue? Thanks, Waitman Gobble San Jose California US From freebsd at dreamchaser.org Mon Jun 4 20:56:59 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 4 20:57:05 2012 Subject: starting xfce4 reboots machine In-Reply-To: References: Message-ID: <4FCD211A.5070004@dreamchaser.org> > I updated to xfce4.10 using amd64 packages and everything seems to work, > except for some reason "startxfce4" is missing.... but i can get it to > start fine by putting "exec xfce4-session" in my .xinitrc.. anyone else > experience this issue? %which startxfce4 /usr/local/bin/startxfce4 installed from ports/x11-wm/xfce4 I think as a dependency on ports/x11-wm/xfce4-session From freebsd at dreamchaser.org Mon Jun 4 20:59:45 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 4 20:59:52 2012 Subject: bsdlabel geometry params In-Reply-To: References: <4FCCBDF4.1030008@dreamchaser.org> Message-ID: <4FCD21C0.50200@dreamchaser.org> On 06/04/12 14:26, Warren Block wrote: > On Mon, 4 Jun 2012, Gary Aitken wrote: > >> According the the handbook, one should do the following to set up a new disk: >> >> 1 dd if=/dev/zero of=/dev/da1 bs=1k count=1 >> 2 fdisk -BI da1 #Initialize your new disk >> 3 bsdlabel -B -w da1s1 auto #Label it. >> 4 bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. >> 5 mkdir -p /1 >> 6 newfs /dev/da1s1e # Repeat this for every partition you created. >> 7 mount /dev/da1s1e /1 # Mount the partition(s) >> 8 vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. >> >> In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg >> Is it necessary to fill these in, or is there a way to get some reasonable defaults? >> "newfs -N" will give you numbers for bsize and fsize, but what about bps/cpg? >> >> What does the install process do for this step? I don't remember ever having to deal with it. > > What part of the Handbook? I would suggest using gpart(8), it makes GPT partitions easy, and nasty old MBR partitions aren't any worse than with fdisk/bsdlabel. 19.3.2 Thanks From crtb at cape.com Mon Jun 4 21:01:02 2012 From: crtb at cape.com (Chuck Bacon) Date: Mon Jun 4 21:01:10 2012 Subject: 9.0-R boots with undesirable utf Message-ID: <23154.209.213.65.17.1338843267.squirrel@webmail.cape.com> MoBo: ASUS M4A785TD-M EVO uname -a: FreeBSD tomato.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Boots up with an ungainly utf which presents 4-digit stuff where a single is wanted. Aging admin needs appropriate setenv '?' ISO-8859-1. (Next question will be about jabber with re0 :-) From wblock at wonkity.com Mon Jun 4 21:25:34 2012 From: wblock at wonkity.com (Warren Block) Date: Mon Jun 4 21:25:40 2012 Subject: bsdlabel geometry params In-Reply-To: <4FCD21C0.50200@dreamchaser.org> References: <4FCCBDF4.1030008@dreamchaser.org> <4FCD21C0.50200@dreamchaser.org> Message-ID: On Mon, 4 Jun 2012, Gary Aitken wrote: >> What part of the Handbook? I would suggest using gpart(8), it makes GPT partitions easy, and nasty old MBR partitions aren't any worse than with fdisk/bsdlabel. > > 19.3.2 That's the Storage chapter, section "Command Line Utilities". That is yet another section that needs updating. In the meantime, here: http://www.wonkity.com/~wblock/docs/html/disksetup.html The second half of that covers using gpart(8). I suggest using GPT partitions unless your configuration does not allow them (gmirror, for example). From rsmith at xs4all.nl Mon Jun 4 21:26:21 2012 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Jun 4 21:26:28 2012 Subject: [SOLVED] Re: optionsng ignores /var/db/ports//options In-Reply-To: <4FCD1417.4060000@FreeBSD.org> References: <20120603160518.GA6631@slackbox.erewhon.net> <4FCBAA72.7020103@FreeBSD.org> <20120603191003.GA8028@slackbox.erewhon.net> <20120604183234.GC14162@slackbox.erewhon.net> <4FCD1417.4060000@FreeBSD.org> Message-ID: <20120604212543.GA19182@slackbox.erewhon.net> On Mon, Jun 04, 2012 at 04:01:27PM -0400, Greg Larkin wrote: > > Well, it was a bug, but not particularly in showconfig alone, see > > below. > > > >>> If not, then something odd is happening, as your port looks > >>> perfectly OK to me. Are you using a ports tree updated within > >>> about the last 48 hours or so? I know there were some bug > >>> fixes went in to all FOO_DESC lines to contain (brackets) and > >>> other syntactically significant characters. > >> > >> I updated my ports tree this afternoon. The really weird thing is > >> that I tested 'make config' in several other ports where it > >> worked fine... > >> > >>> PS. Asking this on freebsd-ports@... might be a good idea. > > > > The bad news is that it was a bug in the ports system. It turned > > out that because of the way the unique name of the port was set > > (which happens twice), the options file is not read from the same > > directory that it is written to! Thanks to Baptiste Daroussin for > > clueing me in in this. I've gained a new respect for the people > > maintaining the ports infrastructure. :-) It's kind of amazing it > > works as well as it does. > > > > The good news is that there are several workarounds. For future > > reference, the workaround that I ended up using was to set the > > following variable in the port makefile: > > > > OPTIONSFILE= ${PORT_DBDIR}/py27-${PORTNAME}/options > > > > > > Roland > > Hi Roland, > > I don't think you want to hardcode the "py27-" in the variable > assignment, since it ties the filename to a specific version of > Python. Check PYTHON_PKGNAMEPREFIX, and it should adjust itself as > the Python version changes. Actually, if I understood correctly, the fact that PYTHON_PKGNAMEPREFIX _changes_ from py- to py27- in different parts of the included .mk files is what causes the problem in the first place. So I did this on purpose. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120604/8f800f5e/attachment.pgp From kline at thought.org Mon Jun 4 21:53:04 2012 From: kline at thought.org (Gary Kline) Date: Mon Jun 4 21:53:10 2012 Subject: how do I fix this? Message-ID: <20120604214304.GA29788@thought.org> guys, it has taken me almost a month to upgrade 700 ports. somehow, things grew to 1100+ ports. [?] {this is just FWIW.} I've tried portmaster and p'upgrade on "security/gnupg" I dont see why I should need these on my Server... anyway, from portupgrade, I just learned this: gmake[1]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-2.0.18' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/security/gnupg. *** Error code 1 Stop in /usr/ports/security/gnupg. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120604-59509-nufufc-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnupg-2.0.17_1 UPGRADE_PORT_VER=2.0.17_1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! security/gnupg (gnupg-2.0.17_1) (linker error) ethic# can anybody onlist figure out WTF is wrong here? tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Voice By Computer (for Universal Access): http:/www.thought.org/vbc The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From gobble.wa at gmail.com Mon Jun 4 21:58:21 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Mon Jun 4 21:58:28 2012 Subject: starting xfce4 reboots machine In-Reply-To: <4FCD211A.5070004@dreamchaser.org> References: <4FCD211A.5070004@dreamchaser.org> Message-ID: On Jun 4, 2012 1:58 PM, "Gary Aitken" wrote: > > > > I updated to xfce4.10 using amd64 packages and everything seems to work, > > except for some reason "startxfce4" is missing.... but i can get it to > > start fine by putting "exec xfce4-session" in my .xinitrc.. anyone else > > experience this issue? > > %which startxfce4 > /usr/local/bin/startxfce4 > > installed from > ports/x11-wm/xfce4 > I think as a dependency on > ports/x11-wm/xfce4-session > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" Thanks. that's where it used to be on my machine... this evening i'll check and see if its in the tbz, i still have the package file. Waitman From jerry at seibercom.net Mon Jun 4 22:25:01 2012 From: jerry at seibercom.net (Jerry) Date: Mon Jun 4 22:25:14 2012 Subject: how do I fix this? In-Reply-To: <20120604214304.GA29788@thought.org> References: <20120604214304.GA29788@thought.org> Message-ID: <20120604182457.301b5d74@scorpio> On Mon, 4 Jun 2012 14:43:08 -0700 Gary Kline articulated: >from portupgrade, I just learned this: > >gmake[1]: Leaving directory >`/usr/ports/security/gnupg/work/gnupg-2.0.18' >gmake: *** [all] Error 2 >*** Error code 1 > >Stop in /usr/ports/security/gnupg. >*** Error code 1 > >Stop in /usr/ports/security/gnupg. >** Command failed [exit code 1]: /usr/bin/script -qa >/tmp/portupgrade20120604-59509-nufufc-0 env UPGRADE_TOOL=portupgrade >UPGRADE_PORT=gnupg-2.0.17_1 UPGRADE_PORT_VER=2.0.17_1 make >** Fix the problem and try again. >** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! security/gnupg (gnupg-2.0.17_1) (linker error) >ethic# > > > can anybody onlist figure out WTF is wrong here? Well, for starters, gnupg is at version 2.0.19 in my ports tree, so I am not sure what is wrong with yours. I might suggest the following. 1) Clean out "/usr/ports/distfiles" 2) Update your ports tree 3) Run: make clean in the gnupg port 4) Attempt to rebuild and install the port. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From bah at bananmonarki.se Mon Jun 4 22:28:46 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Mon Jun 4 22:28:54 2012 Subject: HP networked printer -- hp-setup won't use, hp-probe finds In-Reply-To: <4FCAAB17.2010905@dreamchaser.org> References: <4FC7F8AE.1010307@dreamchaser.org> <4FCAAB17.2010905@dreamchaser.org> Message-ID: <4FCD2F53.10108@bananmonarki.se> 2012-06-03 02:08, Gary Aitken skrev: > > I've deinstalled cups and its dependencies and rebuilt only hpijs. Did you build it with foomatic-rip if so then you have ppd files in /usr/local/share/foomatic/db/source/PPD/ Don't know if it is for your specific printer. From lobo at bsd.com.br Mon Jun 4 22:31:16 2012 From: lobo at bsd.com.br (Mario Lobo) Date: Mon Jun 4 22:31:23 2012 Subject: (no subject) In-Reply-To: <20120604161201.542af348.freebsd@edvax.de> References: <5D.C1.05368.3393CCF4@smtp02.insight.synacor.com> <20120604161201.542af348.freebsd@edvax.de> Message-ID: <201206041931.43245.lobo@bsd.com.br> On Monday 04 June 2012 11:12:01 Polytropon wrote: > On Mon, 4 Jun 2012 06:54:37 +0200 (CEST), Wojciech Puchar wrote: > > youtube is not a problem, use youtube-dl from ports and do download > > videos to disk drive, then watch instead of having movies "in the > > internet", where they can disappear everytime youtube decide that you > > should's watch it. > > Additionally, it allows the user to use his favourite media > player (e. g. mplayer) with all its support (still, rew, ff, > brightness/contrast adjust, keyboard support) except to have > dealing with it in a web browser window with its very limited > means of user friendlyness. Flashblocker and downloadhelper plugins for FF. Work like a charm !! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From freebsd at edvax.de Mon Jun 4 22:38:05 2012 From: freebsd at edvax.de (Polytropon) Date: Mon Jun 4 22:38:12 2012 Subject: (no subject) In-Reply-To: <201206041931.43245.lobo@bsd.com.br> References: <5D.C1.05368.3393CCF4@smtp02.insight.synacor.com> <20120604161201.542af348.freebsd@edvax.de> <201206041931.43245.lobo@bsd.com.br> Message-ID: <20120605003757.8b078e72.freebsd@edvax.de> On Mon, 4 Jun 2012 19:31:43 -0300, Mario Lobo wrote: > On Monday 04 June 2012 11:12:01 Polytropon wrote: > > On Mon, 4 Jun 2012 06:54:37 +0200 (CEST), Wojciech Puchar wrote: > > > youtube is not a problem, use youtube-dl from ports and do download > > > videos to disk drive, then watch instead of having movies "in the > > > internet", where they can disappear everytime youtube decide that you > > > should's watch it. > > > > Additionally, it allows the user to use his favourite media > > player (e. g. mplayer) with all its support (still, rew, ff, > > brightness/contrast adjust, keyboard support) except to have > > dealing with it in a web browser window with its very limited > > means of user friendlyness. > > Flashblocker and downloadhelper plugins for FF. Work like a charm !! Yes, but may require too much interactivity. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From rodperson at rodperson.com Mon Jun 4 23:20:21 2012 From: rodperson at rodperson.com (Rod Person) Date: Mon Jun 4 23:20:32 2012 Subject: Strange dmesg entry, MCA Message-ID: <20120604191348.2a879b56@atomizer64> I'm seen this once or twice and it show up again today, I'm not exactly sure what these MCA lines are telling me. Is this something to worry about? fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 pid 90013 (cppunittester), uid 0: exited on signal 11 (core dumped) MCA: Bank 4, Status 0x9445400000000a13 MCA: Global Cap 0x0000000000000105, Status 0x0000000000000000 MCA: Vendor "AuthenticAMD", ID 0x20f12, APIC ID 0 MCA: CPU 0 COR BUSLG Responder RD Memory MCA: Address 0x1d11afcd0 MCA: Bank 2, Status 0xd000400000000863 MCA: Global Cap 0x0000000000000105, Status 0x0000000000000000 MCA: Vendor "AuthenticAMD", ID 0x20f12, APIC ID 1 MCA: CPU 1 COR OVER BUSLG Source PREFETCH Memory -- Rod Person http://www.rodperson.com rodperson@rodperson.com "Let us in the name of the Holy Trinity, go on sending all the slaves that can be sold." - Letter from Christopher Columbus. J.A. Rawley, The Trans-Atlantic Slave Trade: A History. Pg.3 From simon at optinet.com Mon Jun 4 23:22:10 2012 From: simon at optinet.com (Simon) Date: Mon Jun 4 23:22:17 2012 Subject: FreeBSD 8.3 support for LSI SAS 2208 based controllers/Dell PERC 710 In-Reply-To: <20120604230335.GA41339@neutralgood.org> Message-ID: <20120604232210.4E109106564A@hub.freebsd.org> I'm glad to hear at least the Perc 6/i is working fine with R610 which is what I'm looking to get to avoid all the trouble with the new R620 Albeit I need to use the 1TB SAS drives that are 6gbps, so I really wanted to use the H700 instead of the much older Perc 6/i, which I also have working fine in a number of R710s When you get a chance, please find out what those other R610s are running and in what RAID config. I'm surprised so few on the list use Dell's Perc H700 Thanks, Simon On Mon, 4 Jun 2012 19:03:35 -0400, kpneal@pobox.com wrote: >On Mon, Jun 04, 2012 at 02:28:18PM -0400, Simon wrote: >> >> I'm wondering if this was resolved. I was looking at Dell R610s with Perc H700 >> and no solid information either. Found a few threads with people having issues >> with it, no solutions. These been out since early 2010, not cutting edge by any >> means. >> >> Is anyone using Dell R610/R620 with Perc H700/H710 reliably for some time? >I've got an R610 with the PERC 6/i (not what you asked) that runs like a >champ. I plan on upgrading the card at some point, but for now it works >fine. The trick was to turn off _all_ the power savings features (C1E, >etc) in the BIOS. >We have I don't even know how many R610 at work running FreeBSD 8.2 with >some kind of RAID card, but I don't know which one. Those machines get >pounded all day every day and I haven't heard of any problems. I haven't >noticed any as a user. I'll find out and report back. >I also have my R620 and the latest stable/8 has support for the H710 card >("Mini", "Monolithic"). It works well enough to create a couple of ZFS >pools and copy the install of FreeBSD over to the disks. But I have the >Broadcom 5720 network daughtercard that doesn't work yet, so I don't know >how the H710 performs under load. >Am I correct that LSI is contributing to the drivers for the Dell cards >that use LSI chips? Can someone verify that I'm not looney? >The R620 went on sale within days of Intel's release of the chips. To be >fair to FreeBSD the firmware that Dell shipped is ... half baked at best. >For a while it insisted on using the wrong IP when using DHCP, the network >upgrade of the firmware via FTP+proxy requests the wrong URL, etc etc. The >Dell DVD-ROM USB drive can't be connected at the same time as the "iDRAC" >network port or else the firmware won't initialize. And Dell had access >to the hardware before it shipped. So I can't complain about FreeBSD's >support for the R620 not being 100% in place when Dell hasn't gotten their >act together yet. >I'm told that support for the Broadcom card is being worked on. I do not >have a timeframe. >-- >Kevin P. Neal http://www.pobox.com/~kpn/ >Seen on bottom of IBM part number 1887724: >DO NOT EXPOSE MOUSE PAD TO DIRECT SUNLIGHT FOR EXTENDED PERIODS OF TIME. >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From v.velox at vvelox.net Mon Jun 4 23:48:14 2012 From: v.velox at vvelox.net (Zane C. B-H.) Date: Mon Jun 4 23:48:21 2012 Subject: Strange case of vanishing disk In-Reply-To: <4FCC99ED.3030409@gmail.com> References: <4FCC0A31.3000902@gmail.com> <20120603224223.123bc4fa@vixen42.vulpes.vvelox.net> <4FCC99ED.3030409@gmail.com> Message-ID: <20120604185003.0047104c@vixen42.vulpes.vvelox.net> On Mon, 04 Jun 2012 12:20:13 +0100 Kaya Saman wrote: > On 06/04/2012 04:42 AM, Zane C. B-H. wrote: > > On Mon, 04 Jun 2012 02:06:57 +0100 > > Kaya Saman wrote: > > > > I've just tried this and lost my whole system..... > > My boot disk is not labeled to work with ahci as it just has > standard formatting on there. > > Need to remove the ahci_load="YES" from /boot/loader.conf file now. Ack, my apologies. Forgot about that. Yeah, you will need to do it from the loader prompt if you want to test it. Unless you are booting off of gmirror or have /etc/fstab configured with something else that will automatically be found, you will have a problem. But from the loader prompt it should be... load /boot/kernel/ahci.kp show rootdev If rootdev shows any thing other than shows boot device as ad, rewrite it as ada, using the set command. See loader(8). This will get it to boot, although it will error and drop to single user mode as /etc/fstab contains the old stuff. Just manually mount everything and continue. At this point it should be up and running and able to test it out. From kayasaman at gmail.com Tue Jun 5 00:04:05 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Tue Jun 5 00:04:12 2012 Subject: Strange case of vanishing disk In-Reply-To: <20120604185003.0047104c@vixen42.vulpes.vvelox.net> References: <4FCC0A31.3000902@gmail.com> <20120603224223.123bc4fa@vixen42.vulpes.vvelox.net> <4FCC99ED.3030409@gmail.com> <20120604185003.0047104c@vixen42.vulpes.vvelox.net> Message-ID: <4FCD4CEF.7050008@gmail.com> On 06/05/2012 12:50 AM, Zane C. B-H. wrote: > On Mon, 04 Jun 2012 12:20:13 +0100 > Kaya Saman wrote: > >> On 06/04/2012 04:42 AM, Zane C. B-H. wrote: >>> On Mon, 04 Jun 2012 02:06:57 +0100 >>> Kaya Saman wrote: >> >> >> I've just tried this and lost my whole system..... >> >> My boot disk is not labeled to work with ahci as it just has >> standard formatting on there. >> >> Need to remove the ahci_load="YES" from /boot/loader.conf file now. > Ack, my apologies. Forgot about that. > > Yeah, you will need to do it from the loader prompt if you want to > test it. > > Unless you are booting off of gmirror or have /etc/fstab configured > with something else that will automatically be found, you will have a > problem. > > But from the loader prompt it should be... > > load /boot/kernel/ahci.kp > show rootdev > > If rootdev shows any thing other than shows boot device as ad, > rewrite it as ada, using the set command. See loader(8). > > This will get it to boot, although it will error and drop to single > user mode as /etc/fstab contains the old stuff. Just manually mount > everything and continue. > > At this point it should be up and running and able to test it out. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Thanks for the information! I had a small issue at the bootloader> prompt, my USB keyboard didn't work as in it seems the kernel modules weren't loaded in order for the keys to function. Not sure how to get round that one :-) Regards, Kaya From freebsd at edvax.de Tue Jun 5 00:09:28 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 5 00:10:20 2012 Subject: Strange case of vanishing disk In-Reply-To: <4FCD4CEF.7050008@gmail.com> References: <4FCC0A31.3000902@gmail.com> <20120603224223.123bc4fa@vixen42.vulpes.vvelox.net> <4FCC99ED.3030409@gmail.com> <20120604185003.0047104c@vixen42.vulpes.vvelox.net> <4FCD4CEF.7050008@gmail.com> Message-ID: <20120605020926.31d8af57.freebsd@edvax.de> On Tue, 05 Jun 2012 01:03:59 +0100, Kaya Saman wrote: > I had a small issue at the bootloader> prompt, my USB keyboard didn't > work as in it seems the kernel modules weren't loaded in order for the > keys to function. > > Not sure how to get round that one :-) Check the BIOS settings: Sometimes you can enable "USB keyboard legacy" so it will also work at the "lower levels" of interactivity. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From illoai at gmail.com Tue Jun 5 00:12:40 2012 From: illoai at gmail.com (illoai@gmail.com) Date: Tue Jun 5 00:12:53 2012 Subject: Chromium - fails to compile In-Reply-To: <4FCB91CC.7060502@rawbw.com> References: <20120530143824.GA18299@aurora.oekb.co.at> <44txyxfx1q.fsf@lowell-desk.lan> <4FCB91CC.7060502@rawbw.com> Message-ID: On 3 June 2012 12:33, Yuri wrote: > On 05/30/2012 09:33, Lowell Gilbert wrote: >> >> Yes. Chromium currently depends on SSE3; the recommended way of enabling >> that appears to be setting CPUTYPE. > > > Port should be ding that itself. > Make use of misc/cpuid if needed. Make it BUILDDEP. > > Currently 19.0.1084.52 fails to build for me too. > Doesn't seem to matter what CPUTYPE is, but adding -mssse3 to CFLAGS let it finish. But the whole linux fiasco with chromium depending on udev is making me not want to use it. -- -- From kayasaman at gmail.com Tue Jun 5 00:27:14 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Tue Jun 5 00:27:20 2012 Subject: Strange case of vanishing disk In-Reply-To: <20120605020926.31d8af57.freebsd@edvax.de> References: <4FCC0A31.3000902@gmail.com> <20120603224223.123bc4fa@vixen42.vulpes.vvelox.net> <4FCC99ED.3030409@gmail.com> <20120604185003.0047104c@vixen42.vulpes.vvelox.net> <4FCD4CEF.7050008@gmail.com> <20120605020926.31d8af57.freebsd@edvax.de> Message-ID: <4FCD525B.1020105@gmail.com> On 06/05/2012 01:09 AM, Polytropon wrote: > On Tue, 05 Jun 2012 01:03:59 +0100, Kaya Saman wrote: >> I had a small issue at the bootloader> prompt, my USB keyboard didn't >> work as in it seems the kernel modules weren't loaded in order for the >> keys to function. >> >> Not sure how to get round that one :-) > Check the BIOS settings: Sometimes you can enable "USB > keyboard legacy" so it will also work at the "lower levels" > of interactivity. > > Did that! Enabled USB legacy support - didn't work. At the time was Google'ing the issue too however nobody really had an answer.... all that was suggested was the load the keyboard modules, but how can one do that with access to system. Regards, Kaya From cswiger at mac.com Tue Jun 5 00:40:05 2012 From: cswiger at mac.com (Chuck Swiger) Date: Tue Jun 5 00:40:13 2012 Subject: Strange dmesg entry, MCA In-Reply-To: <20120604191348.2a879b56@atomizer64> References: <20120604191348.2a879b56@atomizer64> Message-ID: On Jun 4, 2012, at 4:13 PM, Rod Person wrote: > I'm seen this once or twice and it show up again today, I'm not exactly > sure what these MCA lines are telling me. Is this something to worry > about? > > fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 > pid 90013 (cppunittester), uid 0: exited on signal 11 (core dumped) > MCA: Bank 4, Status 0x9445400000000a13 > MCA: Global Cap 0x0000000000000105, Status 0x0000000000000000 > MCA: Vendor "AuthenticAMD", ID 0x20f12, APIC ID 0 > MCA: CPU 0 COR BUSLG Responder RD Memory > MCA: Address 0x1d11afcd0 > MCA: Bank 2, Status 0xd000400000000863 > MCA: Global Cap 0x0000000000000105, Status 0x0000000000000000 > MCA: Vendor "AuthenticAMD", ID 0x20f12, APIC ID 1 > MCA: CPU 1 COR OVER BUSLG Source PREFETCH Memory Your CPUs were seeing correctible errors (probably via ECC memory or bus path); if they only happen rarely, it's probably OK to ignore them, but it's likely worth running memtest86 or prime95 overnight and seeing whether they find problems. Regards, -- -Chuck From glarkin at FreeBSD.org Tue Jun 5 01:36:43 2012 From: glarkin at FreeBSD.org (Greg Larkin) Date: Tue Jun 5 01:36:51 2012 Subject: [SOLVED] Re: optionsng ignores /var/db/ports//options In-Reply-To: <20120604212543.GA19182@slackbox.erewhon.net> References: <20120603160518.GA6631@slackbox.erewhon.net> <4FCBAA72.7020103@FreeBSD.org> <20120603191003.GA8028@slackbox.erewhon.net> <20120604183234.GC14162@slackbox.erewhon.net> <4FCD1417.4060000@FreeBSD.org> <20120604212543.GA19182@slackbox.erewhon.net> Message-ID: <4FCD62A3.5010301@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/4/12 5:25 PM, Roland Smith wrote: > On Mon, Jun 04, 2012 at 04:01:27PM -0400, Greg Larkin wrote: >>> Well, it was a bug, but not particularly in showconfig alone, >>> see below. >>> >>>>> If not, then something odd is happening, as your port >>>>> looks perfectly OK to me. Are you using a ports tree >>>>> updated within about the last 48 hours or so? I know there >>>>> were some bug fixes went in to all FOO_DESC lines to >>>>> contain (brackets) and other syntactically significant >>>>> characters. >>>> >>>> I updated my ports tree this afternoon. The really weird >>>> thing is that I tested 'make config' in several other ports >>>> where it worked fine... >>>> >>>>> PS. Asking this on freebsd-ports@... might be a good idea. >>> >>> The bad news is that it was a bug in the ports system. It >>> turned out that because of the way the unique name of the port >>> was set (which happens twice), the options file is not read >>> from the same directory that it is written to! Thanks to >>> Baptiste Daroussin for clueing me in in this. I've gained a new >>> respect for the people maintaining the ports infrastructure. >>> :-) It's kind of amazing it works as well as it does. >>> >>> The good news is that there are several workarounds. For >>> future reference, the workaround that I ended up using was to >>> set the following variable in the port makefile: >>> >>> OPTIONSFILE= ${PORT_DBDIR}/py27-${PORTNAME}/options >>> >>> >>> Roland >> >> Hi Roland, >> >> I don't think you want to hardcode the "py27-" in the variable >> assignment, since it ties the filename to a specific version of >> Python. Check PYTHON_PKGNAMEPREFIX, and it should adjust itself >> as the Python version changes. > > Actually, if I understood correctly, the fact that > PYTHON_PKGNAMEPREFIX _changes_ from py- to py27- in different parts > of the included .mk files is what causes the problem in the first > place. So I did this on purpose. > > Roland Hi Roland, Ok, I should have read the previous thread emails more closely. At any rate, putting a specific Python version into the name of the OPTIONSFILE seems a bit confusing. Could you achieve the same outcome by putting "py-" instead of "py27-" in the name? Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/NYqIACgkQ0sRouByUApBeJACgyuHOEkwVWIdVq31XkLtd89AQ GWsAoLzZpiKWOAe2u8sEWEM/kGvvnmT+ =JKWu -----END PGP SIGNATURE----- From vogelke+unix at pobox.com Tue Jun 5 02:32:45 2012 From: vogelke+unix at pobox.com (Karl Vogel) Date: Tue Jun 5 02:33:39 2012 Subject: /usr/bin/find - binary operands howto In-Reply-To: (message from grarpamp on Sun, 3 Jun 2012 19:10:00 -0400) References: Message-ID: <20120605022649.37C6CB7C1@kev.msw.wpafb.af.mil> >> On Sun, 3 Jun 2012 19:10:00 -0400, >> grarpamp said: G> Given a fs with millions of inodes, multiple find runs is expensive. As G> is performing the ch* on more than the minimum required inodes, which G> also needlessly updates the inode ctime. So I want one find, doing the G> ch* only if necessary. So how should I write this? Do I want to use G> -true/-false somehow? It might be more efficient to keep find output in either a flat file or DB, so you can avoid multiple walks over the filetree. You'll need GNU find: #!/bin/sh export PATH=/usr/local/bin:/bin:/usr/bin test "$1" || set . echo '#filetype|inode|links|uname|gname|mode|size|mtime|pathname' gfind $@ -printf '%y|%i|%n|%u|%g|%m|%s|%T@|%p\n' exit 0 Sample output: root# chown 1234 stuff root# chgrp 5678 stuff me% ls -l drwxr-sr-x 3 kev local 512 04-Jun-2012 21:01:41 . drwxr-xr-x 2 kev local 512 04-Jun-2012 21:38:47 mail -rw-r--r-x 1 kev local 47072 04-Jun-2012 19:34:26 mail/junk* -rw-r--r-- 1 1234 5678 85 19-May-2012 23:28:30 stuff -rw-r--r-- 1 kev local 8104 04-Jun-2012 19:43:44 testing me% [run script] #filetype|inode|links|uname|gname|mode|size|mtime|pathname d|873603|3|kev|local|2755|512|1338858101|. d|1188634|2|kev|local|2755|512|1338860327|./mail f|1188649|1|kev|local|645|47072|1338852866|./mail/junk f|955452|1|1234|5678|644|85|1337484510|./stuff f|873708|1|kev|local|644|8104|1338853424|./testing Run this first, then look for the conditions you want using awk or perl. Advantages: * Doesn't change ctime, no additional filetree-walking. * You can use this to create your locate DB, if you want to avoid a second pass through the filesystem. * Gives you a point-in-time picture of ownership, mode, etc. in case you need to back out your changes. -- Karl Vogel I don't speak for the USAF or my company When I read about the evils of drinking, I gave up reading. --Henny Youngman From kline at thought.org Tue Jun 5 04:53:12 2012 From: kline at thought.org (Gary Kline) Date: Tue Jun 5 04:53:20 2012 Subject: how do I fix this? In-Reply-To: <20120604182457.301b5d74@scorpio> References: <20120604214304.GA29788@thought.org> <20120604182457.301b5d74@scorpio> Message-ID: <20120605045311.GB6634@thought.org> On Mon, Jun 04, 2012 at 06:24:57PM -0400, Jerry wrote: > Date: Mon, 4 Jun 2012 18:24:57 -0400 > From: Jerry > Subject: Re: how do I fix this? > To: FreeBSD > X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) > > On Mon, 4 Jun 2012 14:43:08 -0700 > Gary Kline articulated: > > >from portupgrade, I just learned this: > > > >gmake[1]: Leaving directory > >`/usr/ports/security/gnupg/work/gnupg-2.0.18' > >gmake: *** [all] Error 2 > >*** Error code 1 > > > >Stop in /usr/ports/security/gnupg. > >*** Error code 1 > > > >Stop in /usr/ports/security/gnupg. > >** Command failed [exit code 1]: /usr/bin/script -qa > >/tmp/portupgrade20120604-59509-nufufc-0 env UPGRADE_TOOL=portupgrade > >UPGRADE_PORT=gnupg-2.0.17_1 UPGRADE_PORT_VER=2.0.17_1 make > >** Fix the problem and try again. > >** Listing the failed packages (-:ignored / *:skipped / !:failed) > > ! security/gnupg (gnupg-2.0.17_1) (linker error) > >ethic# > > > > > > can anybody onlist figure out WTF is wrong here? > > Well, for starters, gnupg is at version 2.0.19 in my ports tree, so I > am not sure what is wrong with yours. I might suggest the following. > > 1) Clean out "/usr/ports/distfiles" > 2) Update your ports tree > 3) Run: make clean in the gnupg port > 4) Attempt to rebuild and install the port. > > > -- > Jerry ??? > no joy. I did another full upgrade. first time in many months. then spent a couple hours with portmaster (thank you, Roland:). this as a first upgrade. what I want to do is get as current as possible and then install 7.5. and stay there. another question involves accepting the "3-D" windows with whatever options they might present. is there any upgrade utility or flag that will accept and upgrade things without me having to be here? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Voice By Computer (for Universal Access): http:/www.thought.org/vbc The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From rsmith at xs4all.nl Tue Jun 5 05:49:14 2012 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Jun 5 05:49:24 2012 Subject: [SOLVED] Re: optionsng ignores /var/db/ports//options In-Reply-To: <4FCD62A3.5010301@FreeBSD.org> References: <20120603160518.GA6631@slackbox.erewhon.net> <4FCBAA72.7020103@FreeBSD.org> <20120603191003.GA8028@slackbox.erewhon.net> <20120604183234.GC14162@slackbox.erewhon.net> <4FCD1417.4060000@FreeBSD.org> <20120604212543.GA19182@slackbox.erewhon.net> <4FCD62A3.5010301@FreeBSD.org> Message-ID: <20120605054842.GA21247@slackbox.erewhon.net> On Mon, Jun 04, 2012 at 09:36:35PM -0400, Greg Larkin wrote: > >> Hi Roland, > >> > >> I don't think you want to hardcode the "py27-" in the variable > >> assignment, since it ties the filename to a specific version of > >> Python. Check PYTHON_PKGNAMEPREFIX, and it should adjust itself > >> as the Python version changes. > > > > Actually, if I understood correctly, the fact that > > PYTHON_PKGNAMEPREFIX _changes_ from py- to py27- in different parts > > of the included .mk files is what causes the problem in the first > > place. So I did this on purpose. > > > > Roland > > Hi Roland, > > Ok, I should have read the previous thread emails more closely. At > any rate, putting a specific Python version into the name of the > OPTIONSFILE seems a bit confusing. OTOH, it keeps the name of /var/db/port//options in line with the packagename (without the version number), and it is what most Python-based ports seem to do. > Could you achieve the same outcome > by putting "py-" instead of "py27-" in the name? Yes, more or less. There are ports that do that as well. But the majority seem to include the python version. AFAICT to be able to install the same package with different options for different Python versions. Anyway, the PR for updating my port is out. And one of the maintainers is working on some of the warts of the ports system. It turns out that this bug was already reported two years ago. But the ports system is quite a complex beast... Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120605/e630fb0a/attachment-0001.pgp From rsmith at xs4all.nl Tue Jun 5 06:05:08 2012 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Jun 5 06:05:15 2012 Subject: how do I fix this? In-Reply-To: <20120605045311.GB6634@thought.org> References: <20120604214304.GA29788@thought.org> <20120604182457.301b5d74@scorpio> <20120605045311.GB6634@thought.org> Message-ID: <20120605060435.GB21247@slackbox.erewhon.net> On Mon, Jun 04, 2012 at 09:53:11PM -0700, Gary Kline wrote: > > Subject: Re: how do I fix this? > > To: FreeBSD > > X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) > > > > On Mon, 4 Jun 2012 14:43:08 -0700 > > Gary Kline articulated: > > > > >from portupgrade, I just learned this: > > > > > >gmake[1]: Leaving directory > > >`/usr/ports/security/gnupg/work/gnupg-2.0.18' > > >gmake: *** [all] Error 2 > > >*** Error code 1 > > > > > >Stop in /usr/ports/security/gnupg. > > >*** Error code 1 > > > > > >Stop in /usr/ports/security/gnupg. > > >** Command failed [exit code 1]: /usr/bin/script -qa > > >/tmp/portupgrade20120604-59509-nufufc-0 env UPGRADE_TOOL=portupgrade > > >UPGRADE_PORT=gnupg-2.0.17_1 UPGRADE_PORT_VER=2.0.17_1 make > > >** Fix the problem and try again. > > >** Listing the failed packages (-:ignored / *:skipped / !:failed) > > > ! security/gnupg (gnupg-2.0.17_1) (linker error) > > >ethic# > > > > > > > > > can anybody onlist figure out WTF is wrong here? > > > > Well, for starters, gnupg is at version 2.0.19 in my ports tree, so I > > am not sure what is wrong with yours. I might suggest the following. > > > > 1) Clean out "/usr/ports/distfiles" > > 2) Update your ports tree > > 3) Run: make clean in the gnupg port > > 4) Attempt to rebuild and install the port. > > no joy. I did another full upgrade. first time in many > months. then spent a couple hours with portmaster (thank > you, Roland:). this as a first upgrade. Make sure you update portmaster first. The latest versions have significant improvements. Also there has recently been a upgrade of libPNG, requiring a rebuild of everything that needs it. > what I want to do is get as current as possible and then > install 7.5. and stay there. 7.5 what? Do you mean Xorg? Please try and be specific. > another question involves > accepting the "3-D" windows with whatever options they might > present. You mean the options dialogs as run by 'make config'? Portmaster will first recurse through the port and all of its dependencies (if any) to handle any port OPTIONS via the 'make config' interface, before going off on the big build. > is there any upgrade utility or flag that will > accept and upgrade things without me having to be here? Yes and no. With the latest portmaster you can use the -y flag to automatically answer "yes" to all questions. But some ports are marked as "interactive", in the sense that they need you to give some input. Or they are marked as "restricted" in that you might have to go and download the tarball yourself somewhere. These are properties of the ports system and the individual ports. No port build tool can override that. BTW, use the -R flag with portmaster. If a long build fails, it skips already updated stuff on the second try. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120605/741d3008/attachment.pgp From freebsd at dreamchaser.org Tue Jun 5 06:52:07 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Tue Jun 5 06:52:17 2012 Subject: bsdlabel geometry params In-Reply-To: References: <4FCCBDF4.1030008@dreamchaser.org> <4FCD21C0.50200@dreamchaser.org> Message-ID: <4FCDAC8F.5040001@dreamchaser.org> On 06/04/12 15:25, Warren Block wrote: > On Mon, 4 Jun 2012, Gary Aitken wrote: > >>> What part of the Handbook? I would suggest using gpart(8), it makes GPT partitions easy, and nasty old MBR partitions aren't any worse than with fdisk/bsdlabel. >> >> 19.3.2 > > That's the Storage chapter, section "Command Line Utilities". That is yet another section that needs updating. In the meantime, here: I was making some notes as I went along about that. I did decide to switch, thanks. > http://www.wonkity.com/~wblock/docs/html/disksetup.html > > The second half of that covers using gpart(8). I suggest using GPT partitions unless your configuration does not allow them (gmirror, for example). Probably should have read mail sooner... I found the wikipedia article http://en.wikipedia.org/wiki/GUID_Partition_Table exactly what I needed to make sense of gpart. Once you understand how the dang thing is laid out, the commands make sense. Without that, it's pretty difficult (for me, anyway) to figure out how it knows what it needs to know to get it done. Thanks From alive at dienub.org Tue Jun 5 07:29:30 2012 From: alive at dienub.org (Rada alive) Date: Tue Jun 5 07:29:38 2012 Subject: Dependencies for dns/unbound In-Reply-To: <4FCD0E87.1020001@FreeBSD.org> References: <4FCD0E87.1020001@FreeBSD.org> Message-ID: On Mon, Jun 4, 2012 at 9:37 PM, Matthew Seaman wrote: > On 04/06/2012 14:47, Rada alive wrote: > > [root@pladaks /usr/ports/dns/unbound]# make all-depends-list > > /usr/ports/devel/gmake > > /usr/ports/textproc/expat2 > > /usr/ports/dns/ldns > > /usr/ports/devel/gettext > > /usr/ports/devel/doxygen > > /usr/ports/devel/libtool > > /usr/ports/converters/libiconv > > /usr/ports/lang/perl5.12 > > /usr/ports/devel/tmake > > /usr/ports/graphics/graphviz > > /usr/ports/print/dvipsk-tetex > > /usr/ports/print/teTeX > > /usr/ports/lang/python27 > > /usr/ports/devel/bison > > /usr/ports/devel/qt4-corelib > > [... etc -- rest of exceeding long list of dependencies trimmed ...] > > Unset the DOCS option in dns/ldns. Almost all of those dependencies are > due to the doxygen support that drags in. > Thank you Matthew! I hoped it would be something simple like this. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. > PGP: http://www.infracaninophile.co.uk/pgpkey > > > From matthew at FreeBSD.org Tue Jun 5 07:50:47 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Tue Jun 5 07:50:55 2012 Subject: Dependencies for dns/unbound In-Reply-To: <4FCD0E87.1020001@FreeBSD.org> References: <4FCD0E87.1020001@FreeBSD.org> Message-ID: <4FCDBA49.4040808@FreeBSD.org> On 04/06/2012 20:37, Matthew Seaman wrote: > On 04/06/2012 14:47, Rada alive wrote: >> [root@pladaks /usr/ports/dns/unbound]# make all-depends-list >> /usr/ports/devel/gmake >> /usr/ports/textproc/expat2 >> /usr/ports/dns/ldns >> /usr/ports/devel/gettext >> /usr/ports/devel/doxygen >> /usr/ports/devel/libtool >> /usr/ports/converters/libiconv >> /usr/ports/lang/perl5.12 >> /usr/ports/devel/tmake >> /usr/ports/graphics/graphviz >> /usr/ports/print/dvipsk-tetex >> /usr/ports/print/teTeX >> /usr/ports/lang/python27 >> /usr/ports/devel/bison >> /usr/ports/devel/qt4-corelib >> [... etc -- rest of exceeding long list of dependencies trimmed ...] > > Unset the DOCS option in dns/ldns. Almost all of those dependencies are > due to the doxygen support that drags in. Actually, this is mixed up with the new OPTIONS framework. One of the changes involved is that the old NOPORTDOCS and NOPORTEXAMPLES variables are now treated as global options DOCS and EXAMPLES respectively. Which makes a lot of sense and is generally a good idea, but causes some confusion when a port has a pre-existing DOCS or EXAMPLES option -- the global DOCS and EXAMPLES are on by default, and this can lead to some ports having significantly enlarged dependency lists. On the other hand, the capability to have one global switch to turn on or off certain options is really interesting. At the moment it is only DOCS, EXAMPLES and NLS but surely there are more to come. X11 perhaps. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120605/82e93b33/signature.pgp From wojtek at tensor.gdynia.pl Tue Jun 5 09:06:52 2012 From: wojtek at tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 5 09:06:59 2012 Subject: bsdlabel geometry params In-Reply-To: <4FCDAC8F.5040001@dreamchaser.org> References: <4FCCBDF4.1030008@dreamchaser.org> <4FCD21C0.50200@dreamchaser.org> <4FCDAC8F.5040001@dreamchaser.org> Message-ID: whats wrong in juz using bsdlabel ? On Tue, 5 Jun 2012, Gary Aitken wrote: > On 06/04/12 15:25, Warren Block wrote: >> On Mon, 4 Jun 2012, Gary Aitken wrote: >> >>>> What part of the Handbook? I would suggest using gpart(8), it makes GPT partitions easy, and nasty old MBR partitions aren't any worse than with fdisk/bsdlabel. >>> >>> 19.3.2 >> >> That's the Storage chapter, section "Command Line Utilities". That is yet another section that needs updating. In the meantime, here: > > I was making some notes as I went along about that. > I did decide to switch, thanks. > >> http://www.wonkity.com/~wblock/docs/html/disksetup.html >> >> The second half of that covers using gpart(8). I suggest using GPT partitions unless your configuration does not allow them (gmirror, for example). > > Probably should have read mail sooner... > I found the wikipedia article > http://en.wikipedia.org/wiki/GUID_Partition_Table > exactly what I needed to make sense of gpart. > Once you understand how the dang thing is laid out, > the commands make sense. > Without that, it's pretty difficult (for me, anyway) to figure out > how it knows what it needs to know to get it done. > > Thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From jcigar at ulb.ac.be Tue Jun 5 09:22:39 2012 From: jcigar at ulb.ac.be (Julien Cigar) Date: Tue Jun 5 09:22:46 2012 Subject: bsdlabel geometry params In-Reply-To: References: <4FCCBDF4.1030008@dreamchaser.org> <4FCD21C0.50200@dreamchaser.org> <4FCDAC8F.5040001@dreamchaser.org> Message-ID: <4FCDCF98.90903@ulb.ac.be> On 06/05/2012 10:45, Wojciech Puchar wrote: > whats wrong in juz using bsdlabel ? > from the 9.0R release notes: 3.2.6 Disk Partition Management Utilities In earlier releases various utilities were available to manage disk partition information. They are deprecated in favor of the gpart(8) utility. Specifically, the fdisk(8) , disklabel(8) bsdlabel(8) , and sunlabel(8) utilities are no longer supported actively though these are still available for backward compatibility. > On Tue, 5 Jun 2012, Gary Aitken wrote: > >> On 06/04/12 15:25, Warren Block wrote: >>> On Mon, 4 Jun 2012, Gary Aitken wrote: >>> >>>>> What part of the Handbook? I would suggest using gpart(8), it >>>>> makes GPT partitions easy, and nasty old MBR partitions aren't any >>>>> worse than with fdisk/bsdlabel. >>>> >>>> 19.3.2 >>> >>> That's the Storage chapter, section "Command Line Utilities". That >>> is yet another section that needs updating. In the meantime, here: >> >> I was making some notes as I went along about that. >> I did decide to switch, thanks. >> >>> http://www.wonkity.com/~wblock/docs/html/disksetup.html >>> >>> The second half of that covers using gpart(8). I suggest using GPT >>> partitions unless your configuration does not allow them (gmirror, >>> for example). >> >> Probably should have read mail sooner... >> I found the wikipedia article >> http://en.wikipedia.org/wiki/GUID_Partition_Table >> exactly what I needed to make sense of gpart. >> Once you understand how the dang thing is laid out, >> the commands make sense. >> Without that, it's pretty difficult (for me, anyway) to figure out >> how it knows what it needs to know to get it done. >> >> Thanks >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From dimpal.sankar at hotmail.com Tue Jun 5 11:44:09 2012 From: dimpal.sankar at hotmail.com (dimpal sankar) Date: Tue Jun 5 11:44:17 2012 Subject: hi Message-ID: Hi, I was just reviewing your website and found it very interesting. I really like your website and services you are providing. I was wondering if we can work with you and help you with your business. I would like to offer you our Hire Developer/Programmer service where you can hire our dedicated developer who will dedicatedly work for you. We are having three different plans for the same like Full-Time, Part-Time and Hourly. Currently, many of our clients are getting benefits from this service. Let me share some of the benefits of our Hire Developer Service: Guaranteed to save you at least 75% of cost against having on site team / resources. Compare it with fixed priced quote, it saves your minimum 35% of cost. No start up or maintenance cost compare to invest in onsite team. Project control is totally on your hand (*no hidden conditions) asyou can co-ordinate with developer directly. It?s save your time to find new developer for your projects. Multiple options / hiring models to choose to hire developer. You can have every 10 minutes snapshots of your dedicated web developer?s machine during work. High-speed communications and live chat conferencing capabilities. I can share references of our existing clients who are currently getting benefits from our Hire Developer service. You can know more about this service from below link. Build Your Virtual Team: http://www.narolainfotech.com/hire-web-developers.html We, Narolaare a leading Custom Software Development company based in India. We are having a good experience in Custom Web Design and Development, Custom Mobile Application Development,E-Commerce Solution, Real Estate Portal Development, etc. Narola Strengths: - 6 years of successful operations - 54 team members - Technology/Process maturity - 500+ satisfied clients Our Skilled Team: - 43 Experienced Programmers/Developers - 5 Business Analyst - 2 Project Manager - 4 Graphic Designers Our Technology Expertise: PHP, ASP .NET (2.0, 3.5), iOSSDK (iPhone/iPad), Android SDK and expert in their related CMS and frameworks. Web Service/API Integration Expertise: Twitter, Facebook, Google Checkout, PayPal, Skype. And many more Other Technologies Expertise: jQuery, SOA, Web Services, XML, AJAX, and many more. You can check our website to know more about us and our services. http://www.narolainfotech.com/ See Narola Team at work: http://youtu.be/LOWJq1tE6aI Let me know your views and we can discuss further on this. I would be happy to share our past work details with you. I look forward to your positive reply!!! Regards, Dimpal From feld at feld.me Tue Jun 5 14:34:55 2012 From: feld at feld.me (Mark Felder) Date: Tue Jun 5 14:35:02 2012 Subject: Roster DNS Management In-Reply-To: References: Message-ID: On Sun, 03 Jun 2012 04:39:33 -0500, Odhiambo Washington wrote: > So is there any FreeBSD Admin who has been adventurous enough to install > Roster DNS Management - http://bit.ly/2j3pGj - and successfully deployed > it? > I am looking at it now, but I am afraid of using one aspect of it - LDAP, > which it uses for authentication. > I'm trying to see if someone did MySQL instead. > We're always looking for a similar solution but our main hangup is the inability to link domains. We have customers with hundreds of domains that are all to be kept identical and you can easily do this with symlinks. I haven't seen a web-interface solution that can handle this for us. From no-reply at priceangels.com Tue Jun 5 15:15:01 2012 From: no-reply at priceangels.com (PriceAngels) Date: Tue Jun 5 15:15:09 2012 Subject: Dear Customer:Order now Win $500 On PriceAngels.com Message-ID: <0.1.15F.CFF.1CD432DE220A810.0@pmta41055.emsmtp.com> If this e-mail is not displayed pro [1]http://emaillink2.priceangels.com/u/gm.php?prm =3mkxZ04mg2_143435532_223058_35365 [2] 3D"PriceAngels.com" [3] Home [5] Best Sellers [7] $0.99 Gadgets [8] Drop Shipping [9][soc=] [3D"htt=] [10]3D"Order 3D"Free < style="border-righ 1px solid rgb(204, 204, 204); -moz-border-right-colors: none; -moz-border- -moz-border-left-colors: none; -moz-border-image: none border-width: 0px 1px 1px; border-style: none solid dashed; border-color: 204);"> New & On Sale ? ? ? ? [12]3D"Free [13] 3D"Free [14] [16] Multifunction U 0.84W Helicopter Airplane Toy with Remote Control Silicone Waterproof Sex Toy $2.79 $5.1 ? ? ? < align="center">? [19] 3D"Free [20] 3D"Free [21] < 140px; height: 140px; border: medium none;" alt="Free src="http://img.priceangels.com/productimg/201205/369732/36973 2_150.jpg" /> [22] 3D"Free < LED S Shock Handbag for Laptop Notebook [26] Protective Case for iPhone4/4s $18.76 $6.16 $21.56 $4.23 ? ? [27] 3D"Free [28] [31] PicoBong ZIZO Silicone Waterproof Adult toy < [32] E-Cigar Cartridge Refill [33] Vibrating Body Massager Naugh Cover for iPhone 4 $44 ? ? ? ? [35] 3D"Free [36]3D"Free [37] 3D"Free [38] 3D"Free [39] Wired 6D 600/1000/1600/2400DPI Gaming Optical Mouse [40] 5.25-inch Media Dashboard HDD Enclosure Waterproof Keyboard for Wi Pinhole $19.94 $35.79 $29 ? ? ? ? :DEL] [43]3D"Free < 150px; text-decoration: no href="http://emaillink2.priceangels.com/u/nrd.php? p=3mkxZ04mg2_35365_223058_1_44"> 3D"Free [44] 3D"Free [45] ="Free [46] THL V11 3G Android 4.0 Smartphone [47] Sport Digital Waterproof Wrist Watch [48] Sticker Paster Cover for 15 inch Notebook $194.08 $5.88 [DEL: $12.37 :DEL] $15.46 [50]3D"US < [51]3D"facebook" [52]Facebo [56]youtub Note:Pl please [57]contact us Price Angels CO | Limited Flat Mong Kok Road ,Mong Kok, Kl Tel:+86 755 86382312. [58]Privacy Notice Copyright @ 2011 PriceAngels.com. All rights reserved. If you want to unsubscribe from our mailing link: [59]http://emaillink2.priceangels.com/u/un.php?par=3mk xZ04mg2_223058_35365_$sid$ [e=] References 1. 3D"http://emaillink2.priceangels=/ 2. 3D"http://emaillink2.price=/ 3. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mk 4. file://localhost/tmp/3D 5. 3D"http://emaillin=/ 6. 3D"http://emaillink2.priceangels.c=/ 7. 3D"http://emaillink2.priceangel=/ 8. 3D"http://emaillink2.priceangels.com/u/nrd.php 9. 3D"http://b.ems.to/fw/t/Waut:rT4:Sy5 10. 3D"http://emaillink2.priceangel=/ 11. 3D"http://emaillink2.=/ 12. 3D"http://emaillink2.priceangels.com/u/nrd.ph 13. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_353 14. file://localhost/tmp/3D"htt 15. 3D"http://emaillink2.p=/ 16. 3D"http://emaillink2.priceangels.com/u/nrd.p 17. 3D"http://emaillink2.priceangels.com/u 18. 3D"http://emaillin=/ 19. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3m 20. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_35365_2 21. 3D"http://=/ 22. 3D"http://emaillink2.price=/ 23. 3D"http://emaillink2.priceangels.com/u/nrd.php 24. 3D"http://emaillink2.priceangels.c=/ 25. 3D"http://emaillink2.pric=/ 26. file://localhost/tmp/3D"ht 27. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_353 28. file://localhost/tmp/3D"htt 29. 3D"http://emaillink2.pric=/ 30. 3D"http://emaillink2.priceangels.com/u/nrd.php?p 31. ="http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_35365_223058 32. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ0 33. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04 34. 3D"http://emaillink2.priceangels.com/u/nrd.php 35. 3D"http://emailli=/ 36. 3D"http://emaillink2.priceangels.c=/ 37. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mk 38. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_35365_22 39. 3D"http://emailli=/ 40. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_35365_ 41. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkx 42. 3D"http://emaillink2.priceangels.com/u/nrd.php 43. 3D"http://emaillink2.pricea=/ 44. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_3 45. file://localhost/tmp/3D"h 46. 3D"http://emaillink2.pri=/ 47. 3D"http://emailli=/ 48. 3D"http: 49. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_35365_ 50. 3D"http://emaillink2.priceangels.com/u/ 51. 3D"http://emaillink2.priceangels.com/u/nrd.php?p 52. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkx 53. 3D"http://emaillink2.priceangels.com/ 54. 3D"http://emaillink2.p=/ 55. 3D"http://emaillink2.priceangels.com/u/ 56. 3D"http://emaillink2.priceangels.com/u/nrd.ph 57. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg 58. 3D"http://emaillink2.priceang=/ 59. 3D"http://emaillink2.priceangels.=/ From martin.dimitrov at mafiainc.org Tue Jun 5 15:17:03 2012 From: martin.dimitrov at mafiainc.org (Martin Dimitrov) Date: Tue Jun 5 15:17:39 2012 Subject: Clock lagging behind on FreeBSD 9.0-RELEASE under KVM Message-ID: <4FCE20E7.2000202@mafiainc.org> Hi, I am new to FreeBSD, decided to migrate a web server to FreeBSD. I recently both a VPS that claim to use KVM as a virtualization service, I don't know the details of the real hardware running behind nor what is KVM running on. Anyway I have an issue with clock on my FreeBSD installation that I can't live with. The clock is lagging behind, for example running sleep 30 is really sleeping around 35 seconds not 30. Also seems that NTP is not able to manage with this drift in time. Before posting here I red about similar problems mostly related to VMWare guests, but the solutions suggested are following: set kern.hz=100 or kern.hz=50 (doesn't work for me) set hint.apic.0.disabled=1 (this makes the guest hangs while booting also it discarding the SMP capabilities of the kernel which I assume is not a good idea) set kern.timecounter.hardware TSC (doesn't work for me) Is there any chance I deal with this time drifting issue somehow? If somebody faced such issue and managed it I would be happy to try another possible solution? Alternatively I can switch the provider with other that is using Xen for virtualization, I guess is better, but no guarantee that would not have the same issue. :( Cheers, Martin From tundra at tundraware.com Tue Jun 5 15:41:26 2012 From: tundra at tundraware.com (Tim Daneliuk) Date: Tue Jun 5 15:41:33 2012 Subject: Possible /bin/sh Bug? Message-ID: <4FCE287D.3090501@tundraware.com> Given this script: #!/bin/sh foo="" while read line do foo="$foo -e" done echo $foo Say I respond 3 times, I'd expect to see: -e -e -e Instead, I get: -e -e Linux appears to do the right thing here, so this seems like it is a bug ... or am I missing something? -- ----------------------------------------------------------------------- Tim Daneliuk From odhiambo at gmail.com Tue Jun 5 15:59:21 2012 From: odhiambo at gmail.com (Odhiambo Washington) Date: Tue Jun 5 15:59:28 2012 Subject: Roster DNS Management In-Reply-To: References: Message-ID: On Tue, Jun 5, 2012 at 5:34 PM, Mark Felder wrote: > On Sun, 03 Jun 2012 04:39:33 -0500, Odhiambo Washington < > odhiambo@gmail.com> wrote: > > So is there any FreeBSD Admin who has been adventurous enough to install >> Roster DNS Management - http://bit.ly/2j3pGj - and successfully deployed >> it? >> I am looking at it now, but I am afraid of using one aspect of it - LDAP, >> which it uses for authentication. >> I'm trying to see if someone did MySQL instead. >> >> > We're always looking for a similar solution but our main hangup is the > inability to link domains. We have customers with hundreds of domains that > are all to be kept identical and you can easily do this with symlinks. I > haven't seen a web-interface solution that can handle this for us. > Hi Mark, What does this "linking" look like? Do you mean like symlinking zone files, so that domainA is exactly a replica of domainB - as in "conjoined"?:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. From feld at feld.me Tue Jun 5 16:12:29 2012 From: feld at feld.me (Mark Felder) Date: Tue Jun 5 16:12:36 2012 Subject: Roster DNS Management In-Reply-To: References: Message-ID: On Tue, 05 Jun 2012 10:58:39 -0500, Odhiambo Washington wrote: > > What does this "linking" look like? > Do you mean like symlinking zone files, so that domainA is exactly a > replica of domainB - as in "conjoined"?:) precisely -- foo.com foo.net -> foo.com foo.org -> foo.com foobar.net -> foo.com foobar.com -> foo.com foobar.org -> foo.com foo2012.com -> foo.com foo2012.net -> foo.com foo2012.org -> foo.com From dnelson at allantgroup.com Tue Jun 5 16:38:39 2012 From: dnelson at allantgroup.com (Dan Nelson) Date: Tue Jun 5 16:38:46 2012 Subject: Possible /bin/sh Bug? In-Reply-To: <4FCE287D.3090501@tundraware.com> References: <4FCE287D.3090501@tundraware.com> Message-ID: <20120605163522.GD16874@dan.emsphone.com> In the last episode (Jun 05), Tim Daneliuk said: > Given this script: > #!/bin/sh > > foo="" > while read line > do > foo="$foo -e" > done > echo $foo > > Say I respond 3 times, I'd expect to see: > > -e -e -e > > Instead, I get: > > -e -e > > Linux appears to do the right thing here, so this seems like it > is a bug ... or am I missing something? echo takes a -e flag, so it eats the first one. Bash does the same thing, so any Linux that uses bash as /bin/sh will also. You must be testing on a Linux that uses something else as /bin/sh. Better to use the printf command if you are worried about compatibility. echo [-e | -n] [string ...] Print a space-separated list of the arguments to the standard output and append a newline character. -n Suppress the output of the trailing newline. -e Process C-style backslash escape sequences. The echo command understands the following character escapes: -- Dan Nelson dnelson@allantgroup.com From kudzu at tenebras.com Tue Jun 5 17:00:00 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Tue Jun 5 17:00:07 2012 Subject: Clock lagging behind on FreeBSD 9.0-RELEASE under KVM In-Reply-To: <4FCE20E7.2000202@mafiainc.org> References: <4FCE20E7.2000202@mafiainc.org> Message-ID: Try machdep.independent_wallclock=1 On Tue, Jun 5, 2012 at 8:08 AM, Martin Dimitrov wrote: > Hi, > > I am new to FreeBSD, decided to migrate a web server to FreeBSD. I > recently both a VPS that claim to use KVM as a virtualization service, I > don't know the details of the real hardware running behind nor what is > KVM running on. Anyway I have an issue with clock on my FreeBSD > installation that I can't live with. The clock is lagging behind, for > example running sleep 30 is really sleeping around 35 seconds not 30. > Also seems that NTP is not able to manage with this drift in time. > Before posting here I red about similar problems mostly related to > VMWare guests, but the solutions suggested are following: > > set kern.hz=100 or kern.hz=50 (doesn't work for me) > set hint.apic.0.disabled=1 (this makes the guest hangs while booting > also it discarding the SMP capabilities of the kernel which I assume is > not a good idea) > set kern.timecounter.hardware TSC (doesn't work for me) > > Is there any chance I deal with this time drifting issue somehow? If > somebody faced such issue and managed it I would be happy to try another > possible solution? > Alternatively I can switch the provider with other that is using Xen for > virtualization, I guess is better, but no guarantee that would not have > the same issue. :( > > Cheers, > Martin > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From tundra at tundraware.com Tue Jun 5 17:06:58 2012 From: tundra at tundraware.com (Tim Daneliuk) Date: Tue Jun 5 17:07:05 2012 Subject: Possible /bin/sh Bug? In-Reply-To: <20120605163522.GD16874@dan.emsphone.com> References: <4FCE287D.3090501@tundraware.com> <20120605163522.GD16874@dan.emsphone.com> Message-ID: <4FCE3CA2.50106@tundraware.com> On 06/05/2012 11:35 AM, Dan Nelson wrote: > In the last episode (Jun 05), Tim Daneliuk said: >> Given this script: >> #!/bin/sh >> >> foo="" >> while read line >> do >> foo="$foo -e" >> done >> echo $foo >> >> Say I respond 3 times, I'd expect to see: >> >> -e -e -e >> >> Instead, I get: >> >> -e -e >> >> Linux appears to do the right thing here, so this seems like it >> is a bug ... or am I missing something? > > echo takes a -e flag, so it eats the first one. Bash does the same thing, > so any Linux that uses bash as /bin/sh will also. You must be testing on a > Linux that uses something else as /bin/sh. Better to use the printf command > if you are worried about compatibility. > > echo [-e | -n] [string ...] > Print a space-separated list of the arguments to the standard > output and append a newline character. > > -n Suppress the output of the trailing newline. > > -e Process C-style backslash escape sequences. The echo > command understands the following character escapes: > > Ah, OK, that makes sense, thanks... -- ----------------------------------------------------------------------- Tim Daneliuk From bsd-unix at embarqmail.com Tue Jun 5 17:32:43 2012 From: bsd-unix at embarqmail.com (Randy Pratt) Date: Tue Jun 5 17:32:49 2012 Subject: Possible /bin/sh Bug? In-Reply-To: <4FCE287D.3090501@tundraware.com> References: <4FCE287D.3090501@tundraware.com> Message-ID: <20120605133234.8b9e95e4.bsd-unix@embarqmail.com> On Tue, 05 Jun 2012 10:40:45 -0500 Tim Daneliuk wrote: > Given this script: > #!/bin/sh > > foo="" > while read line > do > foo="$foo -e" > done > echo $foo > > Say I respond 3 times, I'd expect to see: > > -e -e -e > > Instead, I get: > > -e -e The last line "echo $foo" is what is getting confused. At the end of 3 passes, $foo contains " -e -e -e" so when the last line is executed, it looks like: echo -e -e -e The first -e is probably being interperted by "echo" as a flag ( echo -e ) and then only prints the last two -e. Its easier to see if you execute the script with xtrace: sh -x /path/to/script I'd recommend that you write the last line with quotes: echo "$foo" and I think it'll produce the results you expect. HTH, Randy From bonomi at mail.r-bonomi.com Tue Jun 5 17:37:42 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Tue Jun 5 17:37:53 2012 Subject: Possible /bin/sh Bug? In-Reply-To: <4FCE287D.3090501@tundraware.com> Message-ID: <201206051737.q55Hbx54013730@mail.r-bonomi.com> > From: Tim Daneliuk > > Given this script: > #!/bin/sh > > foo="" > while read line > do > foo="$foo -e" > done > echo $foo > > Say I respond 3 times, I'd expect to see: > > -e -e -e > > Instead, I get: > > -e -e > > Linux appears to do the right thing here, so this seems like it > is a bug ... or am I missing something? Yup. there are -multiple-, incompatible, standards for 'echo'. a SYS-V derived echo will behve diferently than UCB based one. varous shell-program 'built-in' implementtions may have yet different behavior. Recommendation -- use 'print' instead of 'echo', it is much more predictble in differnt environments. ALTERNATIVE: replace the last line of the script with: echo -- $foo From kurt.buff at gmail.com Tue Jun 5 18:19:28 2012 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Jun 5 18:19:35 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? Message-ID: UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ This would seem to make compiling from source difficult. Kurt From olivares14031 at gmail.com Tue Jun 5 18:27:41 2012 From: olivares14031 at gmail.com (Antonio Olivares) Date: Tue Jun 5 18:27:49 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: Message-ID: On Tue, Jun 5, 2012 at 1:19 PM, Kurt Buff wrote: > UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries > http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > > This would seem to make compiling from source difficult. > Red Hat is the one that is apparently paying for it. I believe that should be unnecessary. It would only be a matter of time before someone breaks the M$ layer of poop that is supposed to prevent folks from booting other OSes other than Window$. They hit the panic button too soon IMHO. There is a thread on Fedora list about this and many people are unsure that Red Hat paying for secure boot was the right thing to do. See the archives for references. Regards, Antonio From freebsd at edvax.de Tue Jun 5 18:37:20 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 5 18:37:29 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: Message-ID: <20120605203717.5663bdf7.freebsd@edvax.de> On Tue, 5 Jun 2012 11:19:26 -0700, Kurt Buff wrote: > UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries > http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ I may reply with another link: http://mjg59.dreamwidth.org/12368.html > This would seem to make compiling from source difficult. It won't need much time until hackers find a way to find a way around booting restrictions. Maybe this is an additional step needed to make non-"Windows" boot on then-current hardware. A free market won't allow a situation come up that requires the competitor to obtain a "permission" by its concurrent to make his product work. It would also show a "security feature" being an aspect of "defective by design" regarding computer hardware and its manufacturers. Compiling from source? You don't even get that far! :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From martin.dimitrov at mafiainc.org Tue Jun 5 18:46:40 2012 From: martin.dimitrov at mafiainc.org (Martin Dimitrov) Date: Tue Jun 5 18:46:46 2012 Subject: Clock lagging behind on FreeBSD 9.0-RELEASE under KVM In-Reply-To: References: <4FCE20E7.2000202@mafiainc.org> Message-ID: <4FCE540D.8060807@mafiainc.org> Thanks, but it's not working: # sysctl machdep.independent_wallclock=1 sysctl: unknown oid 'machdep.independent_wallclock' I grep under /usr/src/sys for independent_wallclock and it appeared only in ./i386/xen/clock.c, my architecture is amd64 if it matters. On 06/05/2012 07:59 PM, Michael Sierchio wrote: > Try > > machdep.independent_wallclock=1 > > On Tue, Jun 5, 2012 at 8:08 AM, Martin Dimitrov > wrote: >> Hi, >> >> I am new to FreeBSD, decided to migrate a web server to FreeBSD. I >> recently both a VPS that claim to use KVM as a virtualization service, I >> don't know the details of the real hardware running behind nor what is >> KVM running on. Anyway I have an issue with clock on my FreeBSD >> installation that I can't live with. The clock is lagging behind, for >> example running sleep 30 is really sleeping around 35 seconds not 30. >> Also seems that NTP is not able to manage with this drift in time. >> Before posting here I red about similar problems mostly related to >> VMWare guests, but the solutions suggested are following: >> >> set kern.hz=100 or kern.hz=50 (doesn't work for me) >> set hint.apic.0.disabled=1 (this makes the guest hangs while booting >> also it discarding the SMP capabilities of the kernel which I assume is >> not a good idea) >> set kern.timecounter.hardware TSC (doesn't work for me) >> >> Is there any chance I deal with this time drifting issue somehow? If >> somebody faced such issue and managed it I would be happy to try another >> possible solution? >> Alternatively I can switch the provider with other that is using Xen for >> virtualization, I guess is better, but no guarantee that would not have >> the same issue. :( >> >> Cheers, >> Martin >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From bruce at cran.org.uk Tue Jun 5 19:10:37 2012 From: bruce at cran.org.uk (Bruce Cran) Date: Tue Jun 5 19:10:44 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: Message-ID: <4FCE59AA.1090601@cran.org.uk> On 05/06/2012 19:27, Antonio Olivares wrote: > I believe that should be unnecessary. It would only be a matter of > time before someone breaks the M$ layer of poop that is supposed to > prevent folks from booting other OSes other than Window$. They hit > the panic button too soon IMHO. Press Delete/F1 during boot, select Advanced -> Trusted Computing. Change TCG/TPM Support to "No". But according to Cory Doctorow, that's far too finicky and highly technical (http://boingboing.net/2012/05/31/lockdown-freeopen-os-maker-p.html)! By the way it's not Microsoft's stuff people would have to break, but UEFI. I think secure boot actually makes sense, but preventing users disabling it or installing their own keys on ARM platforms is totally wrong. -- Bruce Cran From goksin.akdeniz at gmail.com Tue Jun 5 19:13:03 2012 From: goksin.akdeniz at gmail.com (=?ISO-8859-9?Q?G=F6k=FEin?= Akdeniz) Date: Tue Jun 5 19:13:12 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: Message-ID: <20120605221250.9da6bd5c.goksin.akdeniz@gmail.com> > > UEFI considerations drive Fedora to pay MSFT to sign their kernel > binaries http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > That's restriction is only for ARM devices which have a label that says "Desgined for Windows8". In other words those devices can not boot another os except Windows 8 due to secure boot option enabled by default. The short and the long of it Microsoft is copying Apple on tablets with ARM. -- G?k?in Akdeniz -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120605/27cdcf59/attachment.pgp From jerrymc at msu.edu Tue Jun 5 19:33:49 2012 From: jerrymc at msu.edu (jerrymc@msu.edu) Date: Tue Jun 5 19:33:57 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: Message-ID: <20120605151303.11596msta89hqw5b@mail.msu.edu> Quoting Kurt Buff : > UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries > http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > > This would seem to make compiling from source difficult. > I don't see how this MS scam is even at all legal. It is clearly restraint of trade and probably violates some other related laws too. ////jerry > Kurt > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From bruce at cran.org.uk Tue Jun 5 19:45:33 2012 From: bruce at cran.org.uk (Bruce Cran) Date: Tue Jun 5 19:45:40 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120605221250.9da6bd5c.goksin.akdeniz@gmail.com> References: <20120605221250.9da6bd5c.goksin.akdeniz@gmail.com> Message-ID: <4FCE61D4.9070300@cran.org.uk> On 05/06/2012 20:12, G?k?in Akdeniz wrote: > That's restriction is only for ARM devices which have a label that says > "Desgined for Windows8". In other words those devices can not boot > another os except Windows 8 due to secure boot option enabled by > default. Not quite. As I understand it, on ARM secure boot will be enabled by default and users won't have any option of disabling it or adding their own keys. On x86 secure boot will be enabled by default too, but with the option of disabling it or adding custom keys. -- Bruce Cran From goksin.akdeniz at gmail.com Tue Jun 5 20:00:38 2012 From: goksin.akdeniz at gmail.com (=?ISO-8859-9?Q?G=F6k=FEin?= Akdeniz) Date: Tue Jun 5 20:00:45 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCE61D4.9070300@cran.org.uk> References: <20120605221250.9da6bd5c.goksin.akdeniz@gmail.com> <4FCE61D4.9070300@cran.org.uk> Message-ID: <20120605230025.a1e39827.goksin.akdeniz@gmail.com> > > Not quite. As I understand it, on ARM secure boot will be enabled by > default and users won't have any option of disabling it or adding > their own keys. That is correct. ARM based tablets which have Windows 8 preinstalled will only boot Windows 8. There is no chance of disabling secure boot on ARM tables with Windows 8. > On x86 secure boot will be enabled by default too, > but with the option of disabling it or adding custom keys. > Micrsoft confirms that there will be no obligations for secure boot option on x86 and x86_64 platforms. It is up to vendor and users to decide to enable secure boot or not. Besides users may add/delete/manage own keys with secure boot options. For the time being only ARM platform is restricted. -- G?k?in Akdeniz -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120605/b07edb00/attachment.pgp From colin.barnabas at gmail.com Tue Jun 5 20:18:37 2012 From: colin.barnabas at gmail.com (Colin Barnabas) Date: Tue Jun 5 20:18:45 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] Message-ID: <20120605201900.GB60388@hs1.VERBENA> On Tue, Jun 05, 2012 at 11:19:26AM -0700, Kurt Buff wrote: > UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries > http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > > This would seem to make compiling from source difficult. > > Kurt > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" History show us that _everything_ will eventually run *nix. Take a look at the Sony PS3 debacle. After Sony yanked support for installing other OS's, the community ripped apart their hypervisor in a matter of months. If these boot keys do gain any momentum, sooner than later the community with poke holes in the system. -- Colin Barnabas ----- End forwarded message ----- -- Colin Barnabas From leslie at eskk.nu Tue Jun 5 20:22:43 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Tue Jun 5 20:23:02 2012 Subject: font sizes in xfce 4.10 In-Reply-To: References: <20120528061118.39893340.freebsd@edvax.de> <4FCC811B.7070106@eskk.nu> Message-ID: <4FCE6AB5.4020303@eskk.nu> 2012-06-04 14:07, Antonio Olivares skrev: >> I now have a similar problem. The icons in the program menu is not >> displayed, only a white icon with a red cross. >> >> Uninstalled the complete xfce4 and reinstalled it. >> >> I also nuked the .config directory but icons are gone even so. >> >> I have the 96 DPI setting as well. >> >> Did you do anything else to retrieve the icons? >> >> Thanks >> > > Only the ones in the bottom panel :) [right click then select the > icons from the ones given] On the menu, they are still missing :( I > don't worry about these yet as I hope that some update(s) later on > will bring them back :) > > I updated the png update as suggested in /usr/ports/UPDATING, but no > improvement in icons :( > > Regards, > > > Antonio > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Now I have made a total re-installation of all the ports on the machine with the icons missing. I only had a couple of hundred ports so I took a chance that it would solve this issue. Unfortunately it didn't. On my laptop I have more than 700 ports and there I have no problems with missing icons after the png- update. Maybe we are missing a port on the machines that have no icons? I'll do as you have chosen to do, wait and see. /Leslie From ml at netfence.it Tue Jun 5 20:26:28 2012 From: ml at netfence.it (Andrea Venturoli) Date: Tue Jun 5 20:26:39 2012 Subject: Panic Message-ID: <4FCE6B68.2090403@netfence.it> Hello. Box is a 9.0/amd64. This is the first dump I get and I never saw anything similar. Anyone can shed some light on this? This is a non critical box, so if you are interested in some test, I might do it. bye & Thanks av. > # less core.txt.10 > xxxxx.yyyyyyyy.zz dumped core - see /var/crash/vmcore.10 > > Tue Jun 5 10:43:43 CEST 2012 > > FreeBSD xxxxx.yyyyyyyy.zz 9.0-RELEASE FreeBSD 9.0-RELEASE #4: Wed Apr 11 20:53:14 CEST 2012 root@xxxxx.yyyyyyyy.it:/usr/obj/usr/src/sys/XXXXX amd64 > > panic: page fault > > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-marcel-freebsd"... > > Unread portion of the kernel message buffer: > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x8 > fault code = supervisor read data, page not present > instruction pointer = 0x20:0xffffffff80605345 > stack pointer = 0x28:0xffffff8000282860 > frame pointer = 0x28:0xffffff80002828a0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 0 (em0 taskq) > trap number = 12 > panic: page fault > cpuid = 0 > KDB: stack backtrace: > #0 0xffffffff8047ad8e at kdb_backtrace+0x5e > #1 0xffffffff804472a7 at panic+0x187 > #2 0xffffffff8063d110 at trap_fatal+0x290 > #3 0xffffffff8063d459 at trap_pfault+0x1f9 > #4 0xffffffff8063d91f at trap+0x3df > #5 0xffffffff80627eff at calltrap+0x8 > #6 0xffffffff8060566e at zone_fetch_slab+0x3e > #7 0xffffffff80606ade at uma_zalloc_arg+0x32e > #8 0xffffffff8043609b at mb_zinit_pack+0x1b > #9 0xffffffff80606c15 at uma_zalloc_arg+0x465 > #10 0xffffffff80323a14 at lem_get_buf+0x44 > #11 0xffffffff80326eeb at lem_handle_rxtx+0x33b > #12 0xffffffff80487095 at taskqueue_run_locked+0x85 > #13 0xffffffff80488016 at taskqueue_thread_loop+0x46 > #14 0xffffffff8041d35f at fork_exit+0x11f > #15 0xffffffff8062842e at fork_trampoline+0xe > Uptime: 45d18h57m59s > Dumping 263 out of 1013 MB:..7%..13%..25%..31%..43%..55%..61%..73%..86%..92% > > Reading symbols from /boot/kernel/splash_bmp.ko...Reading symbols from /boot/kernel/splash_bmp.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/splash_bmp.ko > Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from /boot/kernel/geom_mirror.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/geom_mirror.ko > Reading symbols from /boot/kernel/geom_stripe.ko...Reading symbols from /boot/kernel/geom_stripe.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/geom_stripe.ko > Reading symbols from /boot/kernel/iscsi_initiator.ko...Reading symbols from /boot/kernel/iscsi_initiator.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/iscsi_initiator.ko > #0 doadump (textdump=Variable "textdump" is not available. > ) at pcpu.h:224 > 224 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) #0 doadump (textdump=Variable "textdump" is not available. > ) at pcpu.h:224 > #1 0xffffffff80446de5 in kern_reboot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:442 > #2 0xffffffff80447291 in panic (fmt=Variable "fmt" is not available. > ) > at /usr/src/sys/kern/kern_shutdown.c:607 > #3 0xffffffff8063d110 in trap_fatal (frame=0xc, eva=Variable "eva" is not available. > ) > at /usr/src/sys/amd64/amd64/trap.c:819 > #4 0xffffffff8063d459 in trap_pfault (frame=0xffffff80002827b0, usermode=0) > at /usr/src/sys/amd64/amd64/trap.c:735 > #5 0xffffffff8063d91f in trap (frame=0xffffff80002827b0) > at /usr/src/sys/amd64/amd64/trap.c:474 > #6 0xffffffff80627eff in calltrap () > at /usr/src/sys/amd64/amd64/exception.S:228 > #7 0xffffffff80605345 in keg_fetch_slab (keg=0xfffffe003ff2e000, > zone=0xfffffe003ff30780, flags=1) at /usr/src/sys/vm/uma_core.c:2144 > #8 0xffffffff8060566e in zone_fetch_slab (zone=0xfffffe003ff30780, > keg=0xfffffe003ff2e000, flags=1) at /usr/src/sys/vm/uma_core.c:2233 > #9 0xffffffff80606ade in uma_zalloc_arg (zone=0xfffffe003ff30780, > udata=0xfffffe00237b0600, flags=1) at /usr/src/sys/vm/uma_core.c:2403 > #10 0xffffffff8043609b in mb_zinit_pack (mem=0xfffffe00237b0600, size=Variable "size" is not available. > ) > at /usr/src/sys/kern/kern_mbuf.c:568 > #11 0xffffffff80606c15 in uma_zalloc_arg (zone=0xfffffe003ff30a00, > udata=0xffffff8000282a90, flags=1) at /usr/src/sys/vm/uma_core.c:2429 > #12 0xffffffff80323a14 in lem_get_buf (adapter=0xffffff8000677000, i=183) > at mbuf.h:546 > #13 0xffffffff80326eeb in lem_handle_rxtx (context=Variable "context" is not available. > ) > at /usr/src/sys/dev/e1000/if_lem.c:3470 > #14 0xffffffff80487095 in taskqueue_run_locked (queue=0xfffffe00013bc500) > at /usr/src/sys/kern/subr_taskqueue.c:308 > #15 0xffffffff80488016 in taskqueue_thread_loop (arg=Variable "arg" is not available. > ) > at /usr/src/sys/kern/subr_taskqueue.c:497 > #16 0xffffffff8041d35f in fork_exit ( > callout=0xffffffff80487fd0 , > arg=0xffffff800067b838, frame=0xffffff8000282c50) > at /usr/src/sys/kern/kern_fork.c:995 > #17 0xffffffff8062842e in fork_trampoline () > at /usr/src/sys/amd64/amd64/exception.S:602 > #18 0x0000000000000000 in ?? () > #19 0x0000000000000000 in ?? () > #20 0x0000000000000000 in ?? () > #21 0x0000000000000000 in ?? () > #22 0x0000000000000000 in ?? () > #23 0x0000000000000000 in ?? () > #24 0x0000000000000000 in ?? () > #25 0x0000000000000000 in ?? () > #26 0x0000000000000000 in ?? () > #27 0x0000000000000000 in ?? () > #28 0x0000000000000000 in ?? () > #29 0x0000000000000000 in ?? () > #30 0x0000000000000000 in ?? () > #31 0x0000000000000000 in ?? () > #32 0x0000000000000000 in ?? () > #33 0x0000000000000000 in ?? () > #34 0x0000000000000000 in ?? () > #35 0x0000000000000000 in ?? () > #36 0x0000000000000000 in ?? () > #37 0x0000000000000000 in ?? () > #38 0x0000000000000000 in ?? () > #39 0x0000000000000000 in ?? () > #40 0x0000000000000000 in ?? () > #41 0x0000000000000000 in ?? () > #42 0xffffffff809c9df0 in sleepq_chains () > #43 0xfffffe000136c888 in ?? () > #44 0x0000000000000000 in ?? () > #45 0xfffffe000136c460 in ?? () > #46 0xffffff8000282b00 in ?? () > #47 0xffffff8000282aa8 in ?? () > #48 0xfffffe00015c2000 in ?? () > #49 0xffffffff8046d952 in sched_switch (td=0xffffffff80487fd0, > newtd=0xffffff800067b838, flags=Variable "flags" is not available. > ) at /usr/src/sys/kern/sched_ule.c:1848 > Previous frame inner to this frame (corrupt stack?) > (kgdb) > > ------------------------------------------------------------------------ > ps -axl > > UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND > 0 0 0 0 -52 0 0 0 - DLs ?? 361:25.56 [kerne > 0 1 0 0 20 0 6280 0 wait DLs ?? 0:00.25 [init] > 0 2 0 0 -16 0 0 0 idle DL ?? 0:00.00 [aic_r > 0 3 0 0 -16 0 0 0 idle DL ?? 0:00.00 [aic_r > 0 4 0 0 -16 0 0 0 waitin DL ?? 0:00.00 [sctp_ > 0 5 0 0 -16 0 0 0 ccb_sc DL ?? 0:00.00 [xpt_t > 0 6 0 0 -16 0 0 0 - RL ?? 11:53.04 [paged > 0 7 0 0 -16 0 0 0 psleep DL ?? 0:00.00 [vmdae > 0 8 0 0 155 0 0 0 pgzero DL ?? 0:00.03 [pagez > 0 9 0 0 -16 0 0 0 psleep DL ?? 0:16.23 [bufda > 0 10 0 0 -16 0 0 0 audit_ DL ?? 0:00.00 [audit > 0 11 0 0 155 0 0 0 - RL ?? 127578:37.78 [idle] > 0 12 0 0 -76 0 0 0 - WL ?? 82:55.37 [intr] > 0 13 0 0 -8 0 0 0 - DL ?? 31:41.42 [geom] > 0 14 0 0 -16 0 0 0 - DL ?? 21:50.56 [yarro > 0 15 0 0 16 0 0 0 syncer DL ?? 51:54.61 [synce > 0 16 0 0 -16 0 0 0 vlruwt DL ?? 0:28.19 [vnlru > 0 17 0 0 -16 0 0 0 sdflus DL ?? 2:30.96 [softd > 0 18 0 0 -8 0 0 0 m:w1 DL ?? 2:51.11 [g_mir > 0 519 1 0 20 0 10372 0 select Ds ?? 0:00.03 [devd] > 0 855 1 0 1 0 12184 0 - Rs ?? 2:36.02 [syslo > 0 1028 1 0 20 0 22332 0 select Ds ?? 1:07.27 [ntpd] > 0 1073 1 0 20 0 23848 0 nanslp D ?? 0:00.70 [smart > 0 1111 1 0 20 0 46876 0 select Ds ?? 0:00.91 [sshd] > 0 1118 1 0 20 0 20384 0 select Ds ?? 0:36.94 [sendm > 25 1122 1 0 20 0 20384 0 pause Ds ?? 0:00.76 [sendm > 0 1128 1 0 20 0 14260 0 nanslp Ds ?? 0:09.05 [cron] > 0 1139 1 0 52 0 10056 0 select Ds ?? 0:00.00 [ports > 0 1141 1 0 52 0 10056 0 select Ds ?? 0:00.00 [ports > 0 1148 1 0 52 0 46876 0 select Ds ?? 0:00.00 [sshd] > 0 1161 1 0 52 0 14364 0 select Ds ?? 0:00.00 [mouse > 0 1217 1 0 20 0 12184 0 ttyin Ds+ ?? 0:00.00 [getty > 0 1218 1 0 52 0 12184 0 ttyin Ds+ ?? 0:00.00 [getty > 0 1219 1 0 52 0 12184 0 ttyin Ds+ ?? 0:00.00 [getty > 0 1220 1 0 52 0 12184 0 ttyin Ds+ ?? 0:00.00 [getty > 0 1221 1 0 52 0 12184 0 ttyin Ds+ ?? 0:00.00 [getty > 0 1222 1 0 52 0 12184 0 ttyin Ds+ ?? 0:00.00 [getty > 0 1223 1 0 52 0 12184 0 ttyin Ds+ ?? 0:00.00 [getty > 0 1224 1 0 52 0 12184 0 ttyin Ds+ ?? 0:00.00 [getty > 0 3187 1 0 25 0 10052 0 select Ds ?? 0:00.11 [dhcli > 65 3244 1 0 20 0 10052 0 select Ds ?? 0:21.11 [dhcli > 0 58063 1 0 20 0 69288 0 uwait Ds ?? 0:42.91 [bacul > 0 61834 1 0 20 0 23052 0 select Ds ?? 0:06.24 [scree > 0 61835 61834 0 20 0 17668 0 ttyin Ds+ ?? 0:00.02 [csh] > 0 67113 1 0 20 0 42932 0 - R ?? 126:21.13 [snmpd > 910 81125 1 0 34 0 83704 0 - Rs ?? 836:35.28 [bacul > 0 85019 0 0 -16 0 0 0 isc_pr DL ?? 0:00.27 [isc_o > 0 85021 1 0 20 0 16420 0 nanslp Ds ?? 0:00.34 [iscon > 0 85910 0 0 -16 0 0 0 sbwait DL ?? 0:00.02 [isc_i > > ------------------------------------------------------------------------ > vmstat -s > > 1143404748 cpu context switches > 874247482 device interrupts > 366314691 software interrupts > 632349495 traps > 489639036 system calls > 63 kernel threads created > 1620772 fork() calls > 830163 vfork() calls > 0 rfork() calls > 14081 swap pager pageins > 27965 swap pager pages paged in > 78978 swap pager pageouts > 1071620 swap pager pages paged out > 73288 vnode pager pageins > 261168 vnode pager pages paged in > 0 vnode pager pageouts > 0 vnode pager pages paged out > 153510 page daemon wakeups > 1038132624 pages examined by the page daemon > 68938 pages reactivated > 90784698 copy-on-write faults > 6677 copy-on-write optimized faults > 364010810 zero fill pages zeroed > 760779 zero fill pages prezeroed > 51870 intransit blocking page faults > 516862043 total VM faults taken > 0 pages affected by kernel thread creation > 1113139654 pages affected by fork() > 377396947 pages affected by vfork() > 0 pages affected by rfork() > 0 pages cached > 555520081 pages freed > 0 pages freed by daemon > 0 pages freed by exiting processes > 17104 pages active > 164634 pages inactive > 11504 pages in VM cache > 56565 pages wired down > 1652 pages free > 4096 bytes per page > 408426934 total name lookups > cache hits (82% pos + 6% neg) system 0% per-directory > deletions 0%, falsehits 0%, toolong 0% > > ------------------------------------------------------------------------ > vmstat -m > > Type InUse MemUse HighUse Requests Size(s) > module 211 27K - 211 128 > CAM dev queue 11 2K - 11 128 > mtx_pool 2 16K - 2 > CAM queue 47 2K - 1024 16,32,64,128,256,512,2048 > kbdmux 6 18K - 6 16,512,1024,2048 > subproc 507 425K - 2451458 512,4096 > proc 2 16K - 2 > session 29 4K - 31349 128 > pgrp 29 4K - 31949 128 > cred 48 8K - 16900852 64,256 > uidinfo 5 3K - 22777 128,2048 > plimit 18 5K - 782456 256 > LED 2 1K - 2 16,128 > sysctltmp 0 0K - 1567371 16,32,64,128,2048 > sysctloid 2668 131K - 3218 16,32,64,128 > sysctl 0 0K - 4140969 16,32,64 > tidhash 1 16K - 1 > callout 1 512K - 1 > umtx 1056 132K - 1068 128 > p1003.1b 1 1K - 1 16 > SWAP 2 549K - 2 64 > bus-sc 46 102K - 1205 16,32,128,256,512,1024,2048,4096 > bus 604 52K - 3340 16,32,64,128,256,1024 > devstat 14 29K - 14 32,4096 > eventhandler 74 6K - 74 64,128 > DEVFS1 85 43K - 238 512 > DEVFS3 105 27K - 313 256 > kobj 147 588K - 189 4096 > Per-cpu 1 1K - 1 32 > rman 159 19K - 354 16,32,128 > DEVFS 12 1K - 19 16,32,128 > sbuf 0 0K - 41857 16,32,64,128,256,512,1024,2048,4096 > DEVFSP 1 1K - 4 64 > pfs_nodes 21 6K - 21 256 > stack 0 0K - 2 256 > taskqueue 17 2K - 17 16,32,128 > Unitno 16 1K - 3891454 32,64 > iov 0 0K - 5995338 16,32,64,128,256,512,2048 > select 469 59K - 475 128 > ioctlops 0 0K - 8136491 16,32,64,128,256,512,1024,2048 > msg 4 30K - 4 2048,4096 > sem 4 106K - 4 2048,4096 > shm 1 20K - 1 > tty 19 19K - 114 1024,2048 > pts 1 1K - 94 256 > accf 1 1K - 1 64 > mbuf_tag 0 0K - 263 32 > shmfd 1 8K - 1 > pcb 41 158K - 31278 16,32,128,1024,2048,4096 > soname 4 1K - 1572105 16,32,128 > acl 0 0K - 51501 4096 > biobuf 0 0K - 13515 2048 > vfscache 1 1024K - 1 > cl_savebuf 0 0K - 624506 64,128 > vfs_hash 1 512K - 1 > GEOM 100 27K - 2220 16,32,64,128,256,512,1024 > vnodes 3 1K - 60 64,256 > CAM SIM 11 3K - 11 256 > vnodemarker 0 0K - 1021009 512 > mount 61 3K - 270 16,32,64,128,256 > BPF 9 10K - 24 16,128,256,512,4096 > ether_multi 7 1K - 14 16,64 > ifaddr 26 8K - 35 32,512,4096 > ifnet 5 9K - 5 128,2048 > clone 2 8K - 2 4096 > arpcom 3 1K - 3 16 > lltable 13 5K - 1062 256,512 > scsi_da 0 0K - 10 16 > CAM periph 15 4K - 119 16,32,64,128,256 > CAM XPT 210 259K - 14291 16,32,64,128,256,1024,2048 > acpidev 26 2K - 26 64 > SCSI SES 2 4K - 2 2048 > routetbl 142 67K - 2660461 32,64,128,256,512 > igmp 4 1K - 4 256 > acpiintr 1 1K - 1 64 > isadev 6 1K - 6 128 > in_multi 2 1K - 3 256 > IpFw/IpAcct 75 12K - 465 16,32,64,128,256,512,1024,2048 > sctp_iter 0 0K - 3 256 > sctp_ifn 2 1K - 4 128 > sctp_ifa 2 1K - 4 128 > sctp_vrf 1 1K - 1 64 > sctp_a_it 0 0K - 3 16 > hostcache 1 28K - 1 > syncache 1 96K - 1 > audit_evclass 179 6K - 218 32 > savedino 0 0K - 190624 256 > freework 1 1K - 477098 32,128 > newdirblk 0 0K - 13874 64 > dirrem 0 0K - 507741 128 > mkdir 0 0K - 27028 128 > diradd 0 0K - 509767 128 > freefile 0 0K - 371135 64 > freeblks 0 0K - 333883 128 > freefrag 0 0K - 2557595 128 > indirdep 27 4K - 232898 128 > newblk 47505 11940K - 242848108 256 > bmsafemap 11 11K - 288577 256 > inodedep 3 513K - 661961 512 > pagedep 1 64K - 52003 256 > ufs_dirhash 133 67K - 127370 16,32,64,128,256,512 > ufs_mount 13 455K - 28 128,256,512,2048,4096 > vm_pgdata 2 129K - 2 128 > UMAHash 3 6K - 8 512,1024,2048,4096 > entropy 1024 64K - 1024 64 > acpica 1793 190K - 39496 16,32,64,128,256,512,1024,2048 > UART 3 2K - 3 16,512,1024 > pci_link 8 1K - 8 16,128 > cdev 8 2K - 8 256 > acpitask 1 2K - 1 2048 > memdesc 1 4K - 1 4096 > sigio 1 1K - 1 64 > filedesc 51 27K - 4007374 16,32,512,1024,2048,4096 > atkbddev 2 1K - 2 64 > kenv 111 13K - 124 16,32,64,128 > kqueue 0 0K - 7554 256,512,2048 > proc-args 29 3K - 2946846 16,32,64,128,256 > hhook 2 1K - 2 128 > ithread 81 14K - 82 32,128,256 > apmdev 1 1K - 1 128 > KTRACE 100 13K - 100 128 > linker 101 64K - 114 16,32,64,128,256,512,2048,4096 > lockf 20 3K - 63140 64,128 > loginclass 2 1K - 29312 64 > io_apic 3 3K - 3 512,2048 > nexusdev 3 1K - 3 16 > temp 18 9K - 7277258 16,32,64,128,256,1024,2048,4096 > devbuf 2969 4085K - 5066 16,32,64,128,256,512,1024,2048,4096 > acpisem 18 3K - 18 128 > mirror_data 3 1K - 859727 64,128,512 > stripe_data 2 1K - 2 16,64 > iSCtmp 0 0K - 10 4096 > iSCbuf 0 0K - 54 16,64,128,512 > iSCSI 2 2K - 23 256,1024 > iSC 3 1K - 212 16,64,128 > > ------------------------------------------------------------------------ > vmstat -z > > ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP > > UMA Kegs: 208, 0, 87, 15, 87, 0, 0 > UMA Zones: 640, 0, 87, 3, 87, 0, 0 > UMA Slabs: 568, 0, 1425, 290, 193519, 0, 0 > UMA RCntSlabs: 568, 0, 405, 169, 8115092, 0, 0 > UMA Hash: 256, 0, 2, 13, 5, 0, 0 > 16 Bucket: 152, 0, 16, 84, 125, 0, 0 > 32 Bucket: 280, 0, 23, 47, 222, 0, 0 > 64 Bucket: 536, 0, 17, 11, 747, 58, 0 > 128 Bucket: 1048, 0, 126, 57, 85158,256606, 0 > VM OBJECT: 216, 0, 14054, 48352,45193919, 0, 0 > MAP: 232, 0, 7, 25, 7, 0, 0 > KMAP ENTRY: 120, 56110, 32, 402, 207141, 0, 0 > MAP ENTRY: 120, 0, 816, 889,78045551, 0, 0 > fakepg: 120, 0, 0, 0, 0, 0, 0 > mt_zone: 4112, 0, 227, 4, 227, 0, 0 > 16: 16, 0, 2373, 819, 5916165, 0, 0 > 32: 32, 0, 1590, 430, 9419865, 0, 0 > 64: 64, 0, 2370, 878,21027760, 0, 0 > 128: 128, 0, 4335, 1755, 6890068, 0, 0 > 256: 256, 0, 48940, 245,260769371, 0, 0 > 512: 512, 0, 938, 511, 5025595, 0, 0 > 1024: 1024, 0, 46, 146, 1893615, 0, 0 > 2048: 2048, 0, 166, 352, 75811, 0, 0 > 4096: 4096, 0, 474, 181, 3316198, 0, 0 > Files: 80, 0, 115, 425,53199307, 0, 0 > TURNSTILE: 136, 0, 529, 31, 535, 0, 0 > umtx pi: 96, 0, 0, 0, 0, 0, 0 > MAC labels: 40, 0, 0, 0, 0, 0, 0 > PROC: 1160, 0, 48, 408, 2450998, 0, 0 > THREAD: 1112, 0, 488, 40, 1454, 0, 0 > SLEEPQUEUE: 80, 0, 529, 51, 535, 0, 0 > VMSPACE: 392, 0, 29, 411, 2450933, 0, 0 > cpuset: 72, 0, 2, 98, 2, 0, 0 > audit_record: 960, 0, 0, 0, 0, 0, 0 > mbuf_packet: 256, 0, 265, 63,2884635351, 0, 0 > mbuf: 256, 0, 11, 149,1719785184, 0, 0 > mbuf_cluster: 2048, 25600, 406,4294967295,2451215798, 0, 0 > mbuf_jumbo_page: 4096, 12800, 0, 151, 6593953, 0, 0 > mbuf_jumbo_9k: 9216, 19200, 0, 0, 0, 0, 0 > mbuf_jumbo_16k: 16384, 12800, 0, 0, 0, 0, 0 > mbuf_ext_refcnt: 4, 0, 0, 0, 0, 0, 0 > g_bio: 232, 0, 3, 285,266752068, 0, 0 > ttyinq: 160, 0, 195, 357, 36795, 0, 0 > ttyoutq: 256, 0, 104, 286, 19537, 0, 0 > ata_request: 328, 0, 0, 180,79559221, 0, 0 > ata_composite: 336, 0, 0, 0, 0, 0, 0 > VNODE: 480, 0, 21130, 9262,36312868, 0, 0 > VNODEPOLL: 112, 0, 0, 0, 0, 0, 0 > NAMEI: 1024, 0, 0, 308,137452196, 0, 0 > S VFS Cache: 108, 0, 22652, 17872,42728420, 0, 0 > L VFS Cache: 328, 0, 73, 467, 449943, 0, 0 > DIRHASH: 1024, 0, 0, 100, 202016, 0, 0 > Mountpoints: 768, 0, 5, 10, 6, 0, 0 > pipe: 728, 0, 2, 343, 972720, 0, 0 > ksiginfo: 112, 0, 447, 312, 316143, 0, 0 > itimer: 344, 0, 1, 21, 2, 0, 0 > KNOTE: 128, 0, 0, 174, 7557, 0, 0 > socket: 680, 25602, 47, 385, 5359077, 0, 0 > unpcb: 240, 25600, 11, 133, 42039, 0, 0 > ipq: 56, 819, 0, 0, 0, 0, 0 > udp_inpcb: 392, 25600, 14, 386, 5297955, 0, 0 > udpcb: 16, 25704, 14, 490, 5297955, 0, 0 > tcp_inpcb: 392, 25600, 19, 141, 5527, 0, 0 > tcpcb: 976, 25600, 19, 93, 5527, 0, 0 > tcptw: 72, 5150, 0, 200, 789, 0, 0 > syncache: 152, 15375, 0, 75, 2837, 0, 0 > hostcache: 136, 15372, 1, 111, 556, 0, 0 > tcpreass: 40, 1680, 0, 252, 7211, 0, 0 > sackhole: 32, 0, 0, 303, 6856, 0, 0 > sctp_ep: 1360, 25602, 0, 0, 0, 0, 0 > sctp_asoc: 2272, 40000, 0, 0, 0, 0, 0 > sctp_laddr: 48, 80064, 0, 216, 5, 0, 0 > sctp_raddr: 688, 80000, 0, 0, 0, 0, 0 > sctp_chunk: 136, 400008, 0, 0, 0, 0, 0 > sctp_readq: 104, 400032, 0, 0, 0, 0, 0 > sctp_stream_msg_out: 112, 400026, 0, 0, 0, 0, 0 > sctp_asconf: 40, 400008, 0, 0, 0, 0, 0 > sctp_asconf_ack: 48, 400032, 0, 0, 0, 0, 0 > ripcb: 392, 25600, 1, 39, 13320, 0, 0 > rtentry: 200, 0, 6, 51, 17, 0, 0 > IPFW dynamic rule: 120, 0, 234, 138, 587484, 0, 0 > divcb: 392, 25600, 0, 0, 0, 0, 0 > g_stripe_zone: 131072, 3200, 0, 0, 0, 0, 0 > selfd: 56, 0, 895, 428,349696649, 0, 0 > SWAPMETA: 288, 116519, 395, 33509, 180053, 0, 0 > FFS inode: 168, 0, 21086, 12134,36310993, 0, 0 > FFS1 dinode: 128, 0, 0, 0, 0, 0, 0 > FFS2 dinode: 256, 0, 21086, 10159,36310973, 0, 0 > pdu: 296, 16393, 0, 52, 1930, 0, 0 > > > ------------------------------------------------------------------------ > vmstat -i > > interrupt total rate > irq1: atkbd0 13 0 > irq16: em0 sym0 779805347 6780916 > irq25: atapci1 75478433 656334 > irq26: ahd0 34 0 > irq27: ahd1 18963655 164901 > cpu0:timer 593604871 5161781 > cpu1:timer 389341247 3385576 > Total 1857193600 16149509 > > ------------------------------------------------------------------------ > pstat -T > > 115/12328 files > 11M/4095M swap space > > ------------------------------------------------------------------------ > pstat -s > > Device 512-blocks Used Avail Capacity > /dev/mirror/gm0s1b 8388352 22664 8365688 0% > > ------------------------------------------------------------------------ > iostat > > iostat: kvm_read(_tk_nin): invalid address (0x0) > iostat: disabling TTY statistics > da0 da1 ada0 cpu > KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id > 10.65 81583 848.45 10.65 81582 848.26 48.54 342741 16245.65 2 0 1 0 97 > > ------------------------------------------------------------------------ > ipcs -a > > Message Queues: > T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME > > Shared Memory: > T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME > > Semaphores: > T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME > > > ------------------------------------------------------------------------ > ipcs -T > > msginfo: > msgmax: 16384 (max characters in a message) > msgmni: 40 (# of message queues) > msgmnb: 2048 (max characters in a message queue) > msgtql: 40 (max # of messages in system) > msgssz: 8 (size of a message segment) > msgseg: 2048 (# of message segments in system) > > shminfo: > shmmax: 536870912 (max shared memory segment size) > shmmin: 1 (min shared memory segment size) > shmmni: 192 (max number of shared memory identifiers) > shmseg: 128 (max shared memory segments per process) > shmall: 131072 (max amount of shared memory in pages) > > seminfo: > semmni: 50 (# of semaphore identifiers) > semmns: 340 (# of semaphores in system) > semmnu: 150 (# of undo structures in system) > semmsl: 340 (max # of semaphores per id) > semopm: 100 (max # of operations per semop call) > semume: 50 (max # of undo entries per process) > semusz: 632 (size in bytes of undo structure) > semvmx: 32767 (semaphore maximum value) > semaem: 16384 (adjust on exit max value) > > > ------------------------------------------------------------------------ > nfsstat > > nfsstat: new client/server not loaded > > ------------------------------------------------------------------------ > netstat -s > > tcp: > 1685259572 packets sent > 16202263 data packets (18832193803 bytes) > 8606 data packets (11467311 bytes) retransmitted > 163 data packets unnecessarily retransmitted > 0 resends initiated by MTU discovery > 1341864850 ack-only packets (4133267 delayed) > 0 URG only packets > 0 window probe packets > 327181909 window update packets > 2286 control packets > 2845038821 packets received > 9115963 acks (for 18830665568 bytes) > 68475 duplicate acks > 0 acks for unsent data > 2835358089 packets (3939827981647 bytes) received in-sequence > 11807 completely duplicate packets (1049962 bytes) > 3 old duplicate packets > 13 packets with some dup. data (5991 bytes duped) > 7211 out-of-order packets (9696317 bytes) > 0 packets (0 bytes) of data after window > 0 window probes > 543905 window update packets > 83 packets received after close > 0 discarded for bad checksums > 0 discarded for bad header offset fields > 0 discarded because packet too short > 0 discarded due to memory problems > 815 connection requests > 2837 connection accepts > 0 bad connection attempts > 0 listen queue overflows > 111 ignored RSTs in the windows > 3381 connections established (including accepts) > 5509 connections closed (including 1927 drops) > 1490 connections updated cached RTT on close > 1501 connections updated cached RTT variance on close > 50 connections updated cached ssthresh on close > 202 embryonic connections dropped > 9114580 segments updated rtt (of 5180317 attempts) > 572 retransmit timeouts > 23 connections dropped by rexmit timeout > 0 persist timeouts > 0 connections dropped by persist timeout > 0 Connections (fin_wait_2) dropped because of timeout > 0 keepalive timeouts > 0 keepalive probes sent > 0 connections dropped by keepalive > 3425264 correct ACK header predictions > 2835289143 correct data packet header predictions > 2837 syncache entries added > 0 retransmitted > 0 dupsyn > 0 dropped > 2837 completed > 0 bucket overflow > 0 cache overflow > 0 reset > 0 stale > 0 aborted > 0 badack > 0 unreach > 0 zone failures > 2837 cookies sent > 0 cookies received > 556 hostcache entries added > 0 bucket overflow > 3873 SACK recovery episodes > 8152 segment rexmits in SACK recovery episodes > 10946242 byte rexmits in SACK recovery episodes > 65215 SACK options (SACK blocks) received > 6642 SACK options (SACK blocks) sent > 0 SACK scoreboard overflow > 0 packets with ECN CE bit set > 0 packets with ECN ECT(0) bit set > 0 packets with ECN ECT(1) bit set > 0 successful ECN handshakes > 0 times ECN reduced the congestion window > udp: > 1696674 datagrams received > 0 with incomplete header > 0 with bad data length field > 0 with bad checksum > 19 with no checksum > 197 dropped due to no socket > 1010603 broadcast/multicast datagrams undelivered > 0 dropped due to full socket buffers > 0 not for hashed pcb > 685874 delivered > 685917 datagrams output > 0 times multicast source filter matched > ip: > 2850923613 total packets received > 0 bad header checksums > 0 with size smaller than minimum > 0 with data size < data length > 0 with ip length > max ip packet size > 0 with header length < data size > 0 with data length < header length > 0 with bad options > 0 with incorrect version number > 0 fragments received > 0 fragments dropped (dup or out of space) > 0 fragments dropped after timeout > 0 packets reassembled ok > 2846768266 packets for this host > 25 packets for unknown/unsupported protocol > 0 packets forwarded (0 packets fast forwarded) > 0 packets not forwardable > 0 packets received for unknown multicast group > 0 redirects sent > 1685977835 packets sent from this host > 6342 packets sent with fabricated ip header > 0 output packets dropped due to no bufs, etc. > 1 output packet discarded due to no route > 0 output datagrams fragmented > 0 fragments created > 0 datagrams that can't be fragmented > 0 tunneling packets that can't find gif > 0 datagrams with bad address in header > icmp: > 197 calls to icmp_error > 0 errors not generated in response to an icmp message > Output histogram: > echo reply: 32770 > destination unreachable: 197 > 0 messages with bad code fields > 0 messages less than the minimum length > 0 messages with bad checksum > 0 messages with bad length > 0 multicast echo requests ignored > 0 multicast timestamp requests ignored > Input histogram: > echo reply: 1 > destination unreachable: 25 > echo: 32770 > 32770 message responses generated > 0 invalid return addresses > 0 no return routes > igmp: > 0 messages received > 0 messages received with too few bytes > 0 messages received with wrong TTL > 0 messages received with bad checksum > 0 V1/V2 membership queries received > 0 V3 membership queries received > 0 membership queries received with invalid field(s) > 0 general queries received > 0 group queries received > 0 group-source queries received > 0 group-source queries dropped > 0 membership reports received > 0 membership reports received with invalid field(s) > 0 membership reports received for groups to which we belong > 0 V3 reports received without Router Alert > 0 membership reports sent > arp: > 736 ARP requests sent > 12024 ARP replies sent > 11385841 ARP requests received > 735 ARP replies received > 11386576 ARP packets received > 3 total packets dropped due to no ARP entry > 1036 ARP entrys timed out > 0 Duplicate IPs seen > > ------------------------------------------------------------------------ > netstat -m > > 276/212/488 mbufs in use (current/cache/total) > 343/4294967358/4294967701/25600 mbuf clusters in use (current/cache/total/max) > 265/63 mbuf+clusters out of packet secondary zone in use (current/cache) > 0/151/151/12800 4k (page size) jumbo clusters in use (current/cache/total/max) > 0/0/0/19200 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/12800 16k jumbo clusters in use (current/cache/total/max) > 755K/8589935373K/8589936128K bytes allocated to network (current/cache/total) > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 0 requests for I/O initiated by sendfile > 0 calls to protocol drain routines > > ------------------------------------------------------------------------ > netstat -id > > Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll Drop > em0 1500 00:14:85:20:25:14 2864113591 2510545 0 1685972031 0 0 0 > em0 1500 192.168.101.0 xxxxx 2845753655 - - 1685959230 - - - > xl0* 1500 00:50:da:77:5f:79 0 0 0 0 0 0 0 > ipfw0 65536 0 0 0 0 0 0 0 > lo0 16384 41224 0 0 41224 0 0 0 > lo0 16384 your-net localhost 4080 - - 41224 - - - > > ------------------------------------------------------------------------ > netstat -anr > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.101.10 UGS 0 416726 em0 > 10.1.2.0/24 192.168.101.4 UGS 0 0 em0 > 127.0.0.1 link#4 UH 0 4080 lo0 > 192.168.2.0/24 192.168.101.4 UGS 0 0 em0 > 192.168.101.0/24 link#1 U 0 1685544595 em0 > 192.168.101.5 link#1 UHS 0 33982 lo0 > > ------------------------------------------------------------------------ > netstat -anA > > Active Internet connections (including servers) > Tcpcb Proto Recv-Q Send-Q Local Address Foreign Address (state) > fffffe00308d6000 tcp4 10136 0 192.168.101.5.9103 192.168.101.1.5611 ESTABLISHED > fffffe00308d6b70 tcp4 0 0 192.168.101.5.9103 192.168.101.1.5816 ESTABLISHED > fffffe001ef513d0 tcp4 0 0 192.168.101.5.9103 192.168.101.4.6273 ESTABLISHED > fffffe001ef51000 tcp4 0 298 192.168.101.5.9103 192.168.101.1.5826 ESTABLISHED > fffffe001f5297a0 tcp4 0 0 *.9103 *.* LISTEN > fffffe000ef8b7a0 tcp4 0 0 192.168.101.5.9102 *.* LISTEN > fffffe0018356000 tcp4 0 0 192.168.101.5.3361 192.168.101.1.3260 ESTABLISHED > fffffe0001c0fb70 tcp4 0 0 192.168.101.5.6211 192.168.101.1.3260 LAST_ACK > fffffe0011f64000 tcp4 0 0 *.199 *.* LISTEN > fffffe0001c0e3d0 tcp4 0 0 *.19999 *.* LISTEN > fffffe0001c0e7a0 tcp4 0 0 192.168.101.5.1999 *.* LISTEN > fffffe0001c0f000 tcp4 0 0 *.213 *.* LISTEN > fffffe0001c0f3d0 tcp4 0 0 *.194 *.* LISTEN > fffffe0001b2e000 tcp4 0 0 *.177 *.* LISTEN > fffffe0001b2db70 tcp4 0 0 *.23 *.* LISTEN > fffffe0001b2d7a0 tcp4 0 0 *.21 *.* LISTEN > fffffe0001b2d000 tcp4 0 0 *.20 *.* LISTEN > fffffe00019837a0 tcp4 0 0 127.0.0.1.25 *.* LISTEN > fffffe0001b2d3d0 tcp4 0 0 192.168.101.5.22 *.* LISTEN > fffffe00253cb498 udp4 0 0 *.161 *.* > fffffe00018b5620 udp4 0 0 *.213 *.* > fffffe00018e2ab8 udp4 0 0 *.194 *.* > fffffe00018b5c40 udp4 0 0 *.177 *.* > fffffe00018b5dc8 udp4 0 0 *.143 *.* > fffffe000196e000 udp4 0 0 *.110 *.* > fffffe00018e2dc8 udp4 0 0 *.25 *.* > fffffe000196e188 udp4 0 0 *.23 *.* > fffffe000196e310 udp4 0 0 *.21 *.* > fffffe00018b57a8 udp4 0 0 *.20 *.* > fffffe00018e2930 udp4 0 0 127.0.0.1.123 *.* > fffffe00018e27a8 udp4 0 0 192.168.101.5.123 *.* > fffffe00018b5188 udp4 0 0 *.123 *.* > fffffe00018e2620 udp4 0 0 *.514 *.* > Active UNIX domain sockets > Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr > fffffe00108a75a0 stream 0 0 0 fffffe000180c0f0 0 0 > fffffe000180c0f0 stream 0 0 0 fffffe00108a75a0 0 0 > fffffe000180d000 stream 0 0 fffffe00263dab40 0 0 0 /var/agentx/master > fffffe000180ce10 stream 0 0 fffffe000189f5a0 0 0 0 /var/run/devd.pipe > fffffe000180c690 dgram 0 0 0 fffffe000180d780 0 fffffe0001894000 > fffffe0001894000 dgram 0 0 0 fffffe000180d780 0 fffffe000180d5a0 > fffffe000180d690 dgram 0 0 0 fffffe000180d870 0 0 > fffffe000180d5a0 dgram 0 0 0 fffffe000180d780 0 fffffe000180c2d0 > fffffe000180c2d0 dgram 0 0 0 fffffe000180d780 0 0 > fffffe000180d780 dgram 0 0 fffffe00019a9960 0 fffffe000180c690 0 /var/run/logpriv > fffffe000180d870 dgram 0 0 fffffe00019a9b40 0 fffffe000180d690 0 /var/run/log > > ------------------------------------------------------------------------ > netstat -aL > > Current listen queue sizes (qlen/incqlen/maxqlen) > Proto Listen Local Address > tcp4 0/0/50 *.bacula-sd > tcp4 0/0/50 xxxxx.bacula-fd > tcp4 0/0/128 *.smux > tcp4 0/0/128 *.19999 > tcp4 0/0/128 xxxxx.19999 > tcp4 0/0/5 *.ipx > tcp4 0/0/5 *.irc > tcp4 0/0/5 *.xdmcp > tcp4 0/0/5 *.telnet > tcp4 0/0/5 *.ftp > tcp4 0/0/5 *.ftp-data > tcp4 0/0/10 localhost.smtp > tcp4 0/0/128 xxxxx.ssh > unix 0/0/5 /var/agentx/master > unix 0/0/4 /var/run/devd.pipe > > ------------------------------------------------------------------------ > fstat > > USER CMD PID FD MOUNT INUM MODE SZ|DV R/W > root csh 61835 root / 2 drwxr-xr-x 1024 r > root csh 61835 wd /usr 282624 drwxr-xr-x 1024 r > root csh 61835 text / 32846 -r-xr-xr-x 368920 r > root csh 61835 ctty /dev 83 crw--w---- pts/1 rw > root csh 61835 15 /dev 83 crw--w---- pts/1 rw > root csh 61835 16 /dev 83 crw--w---- pts/1 rw > root csh 61835 17 /dev 83 crw--w---- pts/1 rw > root csh 61835 18 /dev 83 crw--w---- pts/1 rw > root csh 61835 19 /dev 83 crw--w---- pts/1 rw > root screen 61834 root / 2 drwxr-xr-x 1024 r > root screen 61834 wd / 16387 drwxr-xr-x 512 r > root screen 61834 text /usr 1554657 -rwsr-xr-x 334368 r > root screen 61834 0 /dev 16 crw-rw-rw- null r > root screen 61834 1 /dev 16 crw-rw-rw- null w > root screen 61834 2 /dev 16 crw-rw-rw- null w > root screen 61834 3 / 16389 prw------- 0 r > root screen 61834 5 /var 2402310 -rw-r--r-- 197 r > root screen 61834 6* pseudo-terminal master pts/1 rw > bacula bacula-sd 81125 root / 2 drwxr-xr-x 1024 r > bacula bacula-sd 81125 wd / 2 drwxr-xr-x 1024 r > bacula bacula-sd 81125 text /usr 1558974 -rwxr-xr-x 372390 r > bacula bacula-sd 81125 0 /dev 16 crw-rw-rw- null r > bacula bacula-sd 81125 1 /dev 16 crw-rw-rw- null r > bacula bacula-sd 81125 2 /dev 16 crw-rw-rw- null r > bacula bacula-sd 81125 3 /var 2402317 -rw-r----- 6 r > bacula bacula-sd 81125 4* internet stream tcp fffffe001f5297a0 > bacula bacula-sd 81125 5* internet stream tcp fffffe00308d6b70 > bacula bacula-sd 81125 6* internet stream tcp fffffe001ef51000 > bacula bacula-sd 81125 7* internet stream tcp fffffe001ef513d0 > bacula bacula-sd 81125 8* internet stream tcp fffffe00308d6000 > bacula bacula-sd 81125 9 /usr/local/local/backups 65380454 -rwx------ 233007984575 rw > bacula bacula-sd 81125 10 /usr/local/local/backups 221695041 -rw-r----- 238572529031 rw > root bacula-fd 58063 root / 2 drwxr-xr-x 1024 r > root bacula-fd 58063 wd / 2 drwxr-xr-x 1024 r > root bacula-fd 58063 text /usr 1556247 -rwxr-xr-x 194840 r > root bacula-fd 58063 0 /dev 16 crw-rw-rw- null r > root bacula-fd 58063 1 /dev 16 crw-rw-rw- null r > root bacula-fd 58063 2 /dev 16 crw-rw-rw- null r > root bacula-fd 58063 3* internet stream tcp fffffe000ef8b7a0 > root isc_in 0 85910 root / 2 drwxr-xr-x 1024 r > root isc_in 0 85910 wd / 2 drwxr-xr-x 1024 r > root iscontrol 85021 root / 2 drwxr-xr-x 1024 r > root iscontrol 85021 wd / 2 drwxr-xr-x 1024 r > root iscontrol 85021 text / 32927 -r-xr-xr-x 34296 r > root iscontrol 85021 0 - - bad - > root iscontrol 85021 1 - - bad - > root iscontrol 85021 2 - - bad - > root iscontrol 85021 3* internet stream tcp fffffe0001c0fb70 > root iscontrol 85021 4* local dgram fffffe000180c690 <-> fffffe000180d780 > root iscontrol 85021 5 /dev 90 crw------- iscsi0 rw > root iscontrol 85021 6* internet stream tcp fffffe0018356000 > root isc_out 0 85019 root / 2 drwxr-xr-x 1024 r > root isc_out 0 85019 wd / 2 drwxr-xr-x 1024 r > root snmpd 67113 root / 2 drwxr-xr-x 1024 r > root snmpd 67113 wd / 2 drwxr-xr-x 1024 r > root snmpd 67113 text /usr 1559360 -rwxr-xr-x 28872 r > root snmpd 67113 0 /dev 16 crw-rw-rw- null rw > root snmpd 67113 1 /dev 16 crw-rw-rw- null rw > root snmpd 67113 2 /dev 16 crw-rw-rw- null rw > root snmpd 67113 3 /var 3650585 -rw-r--r-- 22904841 w > root snmpd 67113 4 /dev 6 crw-r----- mem r > root snmpd 67113 5 /dev 7 crw-r----- kmem r > root snmpd 67113 6* pipe fffffe0036682b60 <-> fffffe0036682cb8 0 rw > root snmpd 67113 7* pipe fffffe0036682cb8 <-> fffffe0036682b60 0 rw > root snmpd 67113 8 /var 3650570 -rw-r----- 1448 r > root snmpd 67113 9* internet dgram udp fffffe00253cb498 > root snmpd 67113 10* local stream fffffe000180d000 > root snmpd 67113 11* internet stream tcp fffffe0011f64000 > root snmpd 67113 12 /dev 6 crw-r----- mem r > root snmpd 67113 13 /dev 7 crw-r----- kmem r > _dhcp dhclient 3244 root /var 3509248 dr-xr-xr-x 512 r > _dhcp dhclient 3244 wd /var 3509248 dr-xr-xr-x 512 r > _dhcp dhclient 3244 jail /var 3509248 dr-xr-xr-x 512 r > _dhcp dhclient 3244 text / 32819 -r-xr-xr-x 92400 r > _dhcp dhclient 3244 0 /dev 16 crw-rw-rw- null rw > _dhcp dhclient 3244 1 /dev 16 crw-rw-rw- null rw > _dhcp dhclient 3244 2 /dev 16 crw-rw-rw- null rw > _dhcp dhclient 3244 3* local dgram fffffe0001894000 <-> fffffe000180d780 > _dhcp dhclient 3244 5* route raw 0 fffffe0001bfa000 > _dhcp dhclient 3244 6* pipe fffffe00017f0158 <-> fffffe00017f0000 0 rw > _dhcp dhclient 3244 7 /var 3485735 ---------- 7812 w > _dhcp dhclient 3244 8 /dev 23 crw------- bpf rw > _dhcp dhclient 3244 9* internet raw ip fffffe00019b67a8 > root dhclient 3187 root / 2 drwxr-xr-x 1024 r > root dhclient 3187 wd /usr/local/local/backups 2 drwx------ 512 r > root dhclient 3187 text / 32819 -r-xr-xr-x 92400 r > root dhclient 3187 0 /dev 16 crw-rw-rw- null rw > root dhclient 3187 1 /dev 16 crw-rw-rw- null rw > root dhclient 3187 2 /dev 16 crw-rw-rw- null rw > root dhclient 3187 3* local dgram fffffe0001894000 <-> fffffe000180d780 > root dhclient 3187 5* pipe fffffe00017f0000 <-> fffffe00017f0158 0 rw > root getty 1224 root / 2 drwxr-xr-x 1024 r > root getty 1224 wd / 2 drwxr-xr-x 1024 r > root getty 1224 text /usr 637792 -r-xr-xr-x 27536 r > root getty 1224 ctty /dev 49 crw------- ttyv7 rw > root getty 1224 0 /dev 49 crw------- ttyv7 rw > root getty 1224 1 /dev 49 crw------- ttyv7 rw > root getty 1224 2 /dev 49 crw------- ttyv7 rw > root getty 1223 root / 2 drwxr-xr-x 1024 r > root getty 1223 wd / 2 drwxr-xr-x 1024 r > root getty 1223 text /usr 637792 -r-xr-xr-x 27536 r > root getty 1223 ctty /dev 48 crw------- ttyv6 rw > root getty 1223 0 /dev 48 crw------- ttyv6 rw > root getty 1223 1 /dev 48 crw------- ttyv6 rw > root getty 1223 2 /dev 48 crw------- ttyv6 rw > root getty 1222 root / 2 drwxr-xr-x 1024 r > root getty 1222 wd / 2 drwxr-xr-x 1024 r > root getty 1222 text /usr 637792 -r-xr-xr-x 27536 r > root getty 1222 ctty /dev 47 crw------- ttyv5 rw > root getty 1222 0 /dev 47 crw------- ttyv5 rw > root getty 1222 1 /dev 47 crw------- ttyv5 rw > root getty 1222 2 /dev 47 crw------- ttyv5 rw > root getty 1221 root / 2 drwxr-xr-x 1024 r > root getty 1221 wd / 2 drwxr-xr-x 1024 r > root getty 1221 text /usr 637792 -r-xr-xr-x 27536 r > root getty 1221 ctty /dev 46 crw------- ttyv4 rw > root getty 1221 0 /dev 46 crw------- ttyv4 rw > root getty 1221 1 /dev 46 crw------- ttyv4 rw > root getty 1221 2 /dev 46 crw------- ttyv4 rw > root getty 1220 root / 2 drwxr-xr-x 1024 r > root getty 1220 wd / 2 drwxr-xr-x 1024 r > root getty 1220 text /usr 637792 -r-xr-xr-x 27536 r > root getty 1220 ctty /dev 45 crw------- ttyv3 rw > root getty 1220 0 /dev 45 crw------- ttyv3 rw > root getty 1220 1 /dev 45 crw------- ttyv3 rw > root getty 1220 2 /dev 45 crw------- ttyv3 rw > root getty 1219 root / 2 drwxr-xr-x 1024 r > root getty 1219 wd / 2 drwxr-xr-x 1024 r > root getty 1219 text /usr 637792 -r-xr-xr-x 27536 r > root getty 1219 ctty /dev 44 crw------- ttyv2 rw > root getty 1219 0 /dev 44 crw------- ttyv2 rw > root getty 1219 1 /dev 44 crw------- ttyv2 rw > root getty 1219 2 /dev 44 crw------- ttyv2 rw > root getty 1218 root / 2 drwxr-xr-x 1024 r > root getty 1218 wd / 2 drwxr-xr-x 1024 r > root getty 1218 text /usr 637792 -r-xr-xr-x 27536 r > root getty 1218 ctty /dev 43 crw------- ttyv1 rw > root getty 1218 0 /dev 43 crw------- ttyv1 rw > root getty 1218 1 /dev 43 crw------- ttyv1 rw > root getty 1218 2 /dev 43 crw------- ttyv1 rw > root getty 1217 root / 2 drwxr-xr-x 1024 r > root getty 1217 wd / 2 drwxr-xr-x 1024 r > root getty 1217 text /usr 637792 -r-xr-xr-x 27536 r > root getty 1217 ctty /dev 42 crw------- ttyv0 rw > root getty 1217 0 /dev 42 crw------- ttyv0 rw > root getty 1217 1 /dev 42 crw------- ttyv0 rw > root getty 1217 2 /dev 42 crw------- ttyv0 rw > root moused 1161 root / 2 drwxr-xr-x 1024 r > root moused 1161 wd / 2 drwxr-xr-x 1024 r > root moused 1161 text /usr 495567 -r-xr-xr-x 40376 r > root moused 1161 0 /dev 16 crw-rw-rw- null rw > root moused 1161 1 /dev 16 crw-rw-rw- null rw > root moused 1161 2 /dev 16 crw-rw-rw- null rw > root moused 1161 3 /dev 34 crw-rw-rw- psm0 rw > root moused 1161 4 /dev 58 crw------- consolectl rw > root moused 1161 5 /var 2402332 -rw------- 4 w > root sshd 1148 root / 2 drwxr-xr-x 1024 r > root sshd 1148 wd / 2 drwxr-xr-x 1024 r > root sshd 1148 text /usr 494622 -r-xr-xr-x 269592 r > root sshd 1148 0 /dev 16 crw-rw-rw- null rw > root sshd 1148 1 /dev 16 crw-rw-rw- null rw > root sshd 1148 2 /dev 16 crw-rw-rw- null rw > root sshd 1148 3* internet stream tcp fffffe0001c0e7a0 > root sshd 1148 4* internet stream tcp fffffe0001c0e3d0 > root portsentry 1141 root / 2 drwxr-xr-x 1024 r > root portsentry 1141 wd / 2 drwxr-xr-x 1024 r > root portsentry 1141 text /usr 1555169 -r-xr-xr-x 25512 r > root portsentry 1141 0* internet dgram udp fffffe00018b57a8 > root portsentry 1141 1* internet dgram udp fffffe000196e310 > root portsentry 1141 2* internet dgram udp fffffe000196e188 > root portsentry 1141 3* internet dgram udp fffffe00018e2dc8 > root portsentry 1141 4* internet dgram udp fffffe000196e000 > root portsentry 1141 5* internet dgram udp fffffe00018b5dc8 > root portsentry 1141 6* internet dgram udp fffffe00018b5c40 > root portsentry 1141 7* internet dgram udp fffffe00018e2ab8 > root portsentry 1141 8* internet dgram udp fffffe00018b5620 > root portsentry 1139 root / 2 drwxr-xr-x 1024 r > root portsentry 1139 wd / 2 drwxr-xr-x 1024 r > root portsentry 1139 text /usr 1555169 -r-xr-xr-x 25512 r > root portsentry 1139 0* internet stream tcp fffffe0001b2d000 > root portsentry 1139 1* internet stream tcp fffffe0001b2d7a0 > root portsentry 1139 2* internet stream tcp fffffe0001b2db70 > root portsentry 1139 3* internet stream tcp fffffe0001b2e000 > root portsentry 1139 4* internet stream tcp fffffe0001c0f3d0 > root portsentry 1139 5* internet stream tcp fffffe0001c0f000 > root cron 1128 root / 2 drwxr-xr-x 1024 r > root cron 1128 wd /var 1342464 drwxr-x--- 512 r > root cron 1128 text /usr 495267 -r-xr-xr-x 41368 r > root cron 1128 0 /dev 16 crw-rw-rw- null rw > root cron 1128 1 /dev 16 crw-rw-rw- null rw > root cron 1128 2 /dev 16 crw-rw-rw- null rw > root cron 1128 3 /var 2402330 -rw------- 4 w > smmsp sendmail 1122 root / 2 drwxr-xr-x 1024 r > smmsp sendmail 1122 wd /var 894982 drwxrwx--- 512 r > smmsp sendmail 1122 text /usr 664760 -r-xr-sr-x 707176 r > smmsp sendmail 1122 0 /dev 16 crw-rw-rw- null r > smmsp sendmail 1122 1 /dev 16 crw-rw-rw- null w > smmsp sendmail 1122 2 /dev 16 crw-rw-rw- null w > smmsp sendmail 1122 3* local dgram fffffe000180d690 <-> fffffe000180d870 > smmsp sendmail 1122 4 /var 894986 -rw------- 50 w > root sendmail 1118 root / 2 drwxr-xr-x 1024 r > root sendmail 1118 wd /var 894979 drwxr-xr-x 512 r > root sendmail 1118 text /usr 664760 -r-xr-sr-x 707176 r > root sendmail 1118 0 /dev 16 crw-rw-rw- null r > root sendmail 1118 1 /dev 16 crw-rw-rw- null w > root sendmail 1118 2 /dev 16 crw-rw-rw- null w > root sendmail 1118 3* local dgram fffffe000180d5a0 <-> fffffe000180d780 > root sendmail 1118 4* internet stream tcp fffffe00019837a0 > root sendmail 1118 5 /var 2402329 -rw------- 79 w > root sshd 1111 root / 2 drwxr-xr-x 1024 r > root sshd 1111 wd / 2 drwxr-xr-x 1024 r > root sshd 1111 text /usr 494622 -r-xr-xr-x 269592 r > root sshd 1111 0 /dev 16 crw-rw-rw- null rw > root sshd 1111 1 /dev 16 crw-rw-rw- null rw > root sshd 1111 2 /dev 16 crw-rw-rw- null rw > root sshd 1111 3* internet stream tcp fffffe0001b2d3d0 > root smartd 1073 root / 2 drwxr-xr-x 1024 r > root smartd 1073 wd / 2 drwxr-xr-x 1024 r > root smartd 1073 text /usr 1554842 -r-xr-xr-x 384984 r > root smartd 1073 0 /dev 16 crw-rw-rw- null rw > root smartd 1073 1 /dev 16 crw-rw-rw- null rw > root smartd 1073 2 /dev 16 crw-rw-rw- null rw > root ntpd 1028 root / 2 drwxr-xr-x 1024 r > root ntpd 1028 wd / 2 drwxr-xr-x 1024 r > root ntpd 1028 text /usr 495596 -r-xr-xr-x 391464 r > root ntpd 1028 0 /dev 16 crw-rw-rw- null rw > root ntpd 1028 1 /dev 16 crw-rw-rw- null rw > root ntpd 1028 2 /dev 16 crw-rw-rw- null rw > root ntpd 1028 3* local dgram fffffe000180c2d0 <-> fffffe000180d780 > root ntpd 1028 20* internet dgram udp fffffe00018b5188 > root ntpd 1028 21* internet dgram udp fffffe00018e27a8 > root ntpd 1028 22* internet dgram udp fffffe00018e2930 > root ntpd 1028 23* route raw 0 fffffe00018b42a8 > root syslogd 855 root / 2 drwxr-xr-x 1024 r > root syslogd 855 wd / 2 drwxr-xr-x 1024 r > root syslogd 855 text /usr 495534 -r-xr-xr-x 39840 r > root syslogd 855 1 /dev 16 crw-rw-rw- null rw > root syslogd 855 2 /dev 16 crw-rw-rw- null rw > root syslogd 855 3 /var 2402315 -rw------- 3 w > root syslogd 855 4* local dgram fffffe000180d870 > root syslogd 855 5* local dgram fffffe000180d780 > root syslogd 855 6* internet dgram udp fffffe00018e2620 > root syslogd 855 7 /dev 8 crw------- klog r > root syslogd 855 8 /dev 50 crw------- ttyv8 w > root syslogd 855 9 /dev 51 crw------- ttyv9 w > root syslogd 855 10 /dev 52 crw------- ttyva w > root syslogd 855 11 /dev 53 crw------- ttyvb w > root syslogd 855 12 /var 3650598 -rw-r--r-- 86623 w > root syslogd 855 13 /var 3650606 -rw------- 88472 w > root syslogd 855 14 /var 3650624 -r-------- 11851 w > root syslogd 855 15 /var 3650568 -rw-r--r-- 5859 w > root syslogd 855 16 /var 3650614 -rw------- 33067 w > root syslogd 855 17 /var 3650605 -rw-r----- 66317 w > root syslogd 855 18 /var 3650571 -rw-r----- 60 w > root syslogd 855 19 /var 3650630 -r-------- 60 w > root devd 519 root / 2 drwxr-xr-x 1024 r > root devd 519 wd / 2 drwxr-xr-x 1024 r > root devd 519 text / 32810 -r-xr-xr-x 424352 r > root devd 519 0 /dev 16 crw-rw-rw- null rw > root devd 519 1 /dev 16 crw-rw-rw- null rw > root devd 519 2 /dev 16 crw-rw-rw- null rw > root devd 519 3 /dev 5 crw------- devctl r > root devd 519 4* local stream fffffe000180ce10 > root devd 519 5 /var 2402319 -rw------- 3 w > root init 1 root / 2 drwxr-xr-x 1024 r > root init 1 wd / 2 drwxr-xr-x 1024 r > root init 1 text / 32772 -r-xr-xr-x 774152 r > root kernel 0 root / 2 drwxr-xr-x 1024 r > root kernel 0 wd / 2 drwxr-xr-x 1024 r > > ------------------------------------------------------------------------ > dmesg > > P 192.168.101.1:63808 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63808 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:58794 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58794 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58794 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58794 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58794 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58794 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58794 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58794 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58794 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65323 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65323 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65323 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65323 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65323 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65323 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65323 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65323 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65323 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53946 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53946 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53946 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53946 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53946 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53946 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63969 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63969 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53946 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63969 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63969 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63969 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63969 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53946 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63969 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63969 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53946 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63969 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50750 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50750 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50750 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50750 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50750 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50750 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50750 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50750 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50750 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53215 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53215 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53215 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53215 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53215 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53215 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:53215 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53215 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53215 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53574 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53574 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53574 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53574 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53574 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53574 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53574 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53574 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53574 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56029 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56029 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56029 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56029 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56029 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56029 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56029 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56029 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56029 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56039 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56039 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56039 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56039 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56039 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56039 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56039 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56039 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56039 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49300 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49300 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49300 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49300 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49300 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49300 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49300 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49300 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49300 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:58547 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58547 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58547 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58547 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58547 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58547 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58547 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58547 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58547 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55707 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55707 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55707 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55707 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55707 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55707 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55707 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55707 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55707 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59852 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59852 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59852 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59852 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59852 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59852 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59852 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59852 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59852 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65159 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65159 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65159 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65159 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65159 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65159 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65159 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65159 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65159 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:62251 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62251 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62251 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62251 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62251 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62251 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62251 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62251 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62251 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55907 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55907 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55907 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55907 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55907 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55907 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55907 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55907 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55907 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61044 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61044 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61044 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61044 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61044 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61044 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53389 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61044 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53389 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53389 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53389 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53389 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61044 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53389 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53389 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53389 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61044 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:53389 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50938 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50938 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50938 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50938 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50938 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50938 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50938 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50938 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50938 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60835 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60835 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60835 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60835 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60835 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60835 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60835 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60835 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:60835 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54529 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54529 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54529 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54529 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54529 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54529 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54529 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54529 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54529 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57658 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57658 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57658 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57658 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57658 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57658 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57658 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57658 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57658 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50928 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50928 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50928 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50928 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50928 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50928 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50928 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50928 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50928 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64933 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64933 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64933 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64933 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64933 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64933 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64933 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64933 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64933 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:55659 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55659 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55659 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55659 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55659 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55659 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55659 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55659 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.5:44465 69.147.83.39:80 out via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59938 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59938 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59938 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59938 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59938 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55659 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59938 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59938 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59938 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59938 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59729 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59729 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59729 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59729 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59729 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59729 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59729 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59729 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:59729 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59320 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59320 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59320 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59320 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59320 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59320 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59320 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59320 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59320 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49224 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49224 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49224 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49224 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49224 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49224 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49224 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49224 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49224 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63422 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63422 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63422 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63422 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63422 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63422 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63422 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:63422 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63422 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56967 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56967 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56967 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56967 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56967 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56967 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56967 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56967 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56967 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53063 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53063 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53063 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53063 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53063 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53063 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53063 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53063 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:56422 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53063 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:56422 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:56422 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:56422 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:56422 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:56422 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:56422 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:56422 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:56422 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49790 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49790 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49790 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49790 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49790 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49790 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49790 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49790 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49790 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60161 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:63161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63161 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65453 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65453 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65453 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65453 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65453 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65453 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65453 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65453 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:65453 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61706 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61706 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61706 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61706 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61706 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61706 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61706 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61706 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61706 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59082 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59082 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59082 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59082 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59082 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59082 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59082 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59082 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59082 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60692 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60692 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60692 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60692 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:60692 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60692 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60692 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60692 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60692 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61006 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61006 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61006 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61006 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61006 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61006 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61006 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61006 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61006 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63034 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63034 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63034 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63034 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63034 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63034 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63034 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63034 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63034 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52879 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52879 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52879 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52879 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52879 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52879 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52879 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52879 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52879 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62061 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62061 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62061 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62061 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62061 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62061 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62061 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62061 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62061 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:63955 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63955 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63955 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63955 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63955 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63955 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63955 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63955 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63955 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62443 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62443 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62443 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62443 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62443 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62443 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62443 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62443 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62443 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:58984 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:58984 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:58984 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:58984 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:58984 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:58984 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:58984 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:58984 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59766 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59766 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59766 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59766 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59766 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:58984 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59766 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59766 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59766 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59766 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53023 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53023 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53023 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53023 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53023 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53023 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53023 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53023 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53023 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:59133 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59133 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59133 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59133 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59133 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59133 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59133 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59133 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59133 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51409 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51409 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51409 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51409 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51409 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51409 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51409 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51409 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51409 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51442 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51442 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51442 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51442 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51442 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51442 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51442 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51442 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51442 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52579 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52579 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52579 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52579 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52579 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52579 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52579 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52579 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:52579 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58397 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58397 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58397 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58397 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58397 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58397 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58397 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58397 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:58397 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54868 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54868 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54868 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54868 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54868 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54868 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54868 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54868 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54868 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50774 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50774 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50774 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50774 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50774 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50774 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50774 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50774 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50774 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56102 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56102 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56102 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56102 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56102 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56102 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56102 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56102 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:56102 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51403 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51403 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51403 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51403 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51403 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51403 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51403 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51403 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51403 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:59240 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59240 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59240 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59240 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59240 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59240 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59240 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59240 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59240 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59715 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59715 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59715 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59715 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59715 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59715 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59715 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59715 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:59715 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57054 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57054 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57054 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57054 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57054 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57054 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57054 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57054 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57054 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51834 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51834 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51834 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51834 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51834 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51834 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51834 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51834 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51834 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54781 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54781 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54781 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54781 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54781 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54781 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54781 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:54781 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54781 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64842 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64842 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64842 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64842 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64842 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64842 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64842 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64842 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64842 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61768 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61768 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61768 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61768 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61768 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61768 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61768 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61768 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:61768 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49958 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49958 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49958 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49958 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49958 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49958 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49958 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49958 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49958 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64154 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64154 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64154 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64154 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64154 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64154 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64154 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64154 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:64154 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:63475 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63475 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63475 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63475 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63475 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63475 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63475 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63475 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63475 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57757 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60084 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60084 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60084 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60084 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60084 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60084 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60084 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60084 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60084 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58664 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58664 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58664 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58664 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58664 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58664 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58664 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58664 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58664 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50527 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50527 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:50527 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50527 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50527 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50527 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50527 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50527 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50527 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62246 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62246 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62246 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62246 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62246 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62246 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62246 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62246 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62246 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57764 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57764 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57764 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57764 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57764 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57764 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57764 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57764 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57764 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60360 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60360 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60360 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60360 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60360 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60360 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60360 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60360 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60360 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60627 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60627 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60627 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60627 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60627 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60627 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60627 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60627 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:60627 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:54801 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54801 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54801 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54801 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54801 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54801 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54801 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54801 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54801 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58217 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58217 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58217 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58217 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58217 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58217 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58217 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58217 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58217 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55747 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55747 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55747 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55747 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55747 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55747 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55747 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55747 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55747 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62448 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62448 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62448 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62448 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62448 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62448 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62448 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62448 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:62448 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:63732 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63732 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63732 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63732 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63732 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63732 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63732 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63732 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63732 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51279 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51279 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51279 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51279 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51279 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51279 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51279 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51279 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:51279 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57812 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57812 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57812 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57812 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57812 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57812 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57812 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57812 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:57812 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55461 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55461 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55461 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55461 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55461 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55461 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55461 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55461 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:55461 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63619 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63619 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63619 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63619 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63619 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63619 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63619 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:63619 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:63619 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49792 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49792 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49792 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49792 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49792 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49792 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49792 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49792 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:49792 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:53934 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57280 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57280 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57280 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57280 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57280 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57280 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57280 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57280 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.4:57280 192.168.101.5:25 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:58131 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50947 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50947 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50947 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50947 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50947 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50947 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50947 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50947 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:50947 192.168.101.5:636 in via em0 > ipfw: Accounting cleared. > ipfw: 65534 Deny TCP 192.168.101.1:54556 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54556 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54556 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54556 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54556 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54556 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54556 192.168.101.5:636 in via em0 > ipfw: 65534 Deny TCP 192.168.101.1:54556 192.168.101.5:636 in via em0 > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x8 > fault code = supervisor read data, page not present > instruction pointer = 0x20:0xffffffff80605345 > stack pointer = 0x28:0xffffff8000282860 > frame pointer = 0x28:0xffffff80002828a0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 0 (em0 taskq) > trap number = 12 > panic: page fault > cpuid = 0 > KDB: stack backtrace: > #0 0xffffffff8047ad8e at kdb_backtrace+0x5e > #1 0xffffffff804472a7 at panic+0x187 > #2 0xffffffff8063d110 at trap_fatal+0x290 > #3 0xffffffff8063d459 at trap_pfault+0x1f9 > #4 0xffffffff8063d91f at trap+0x3df > #5 0xffffffff80627eff at calltrap+0x8 > #6 0xffffffff8060566e at zone_fetch_slab+0x3e > #7 0xffffffff80606ade at uma_zalloc_arg+0x32e > #8 0xffffffff8043609b at mb_zinit_pack+0x1b > #9 0xffffffff80606c15 at uma_zalloc_arg+0x465 > #10 0xffffffff80323a14 at lem_get_buf+0x44 > #11 0xffffffff80326eeb at lem_handle_rxtx+0x33b > #12 0xffffffff80487095 at taskqueue_run_locked+0x85 > #13 0xffffffff80488016 at taskqueue_thread_loop+0x46 > #14 0xffffffff8041d35f at fork_exit+0x11f > #15 0xffffffff8062842e at fork_trampoline+0xe > Uptime: 45d18h57m59s > Dumping 263 out of 1013 MB:..7%..13%..25%..31%..43%..55%..61%..73%..86%..92% > > ------------------------------------------------------------------------ > kernel config > > options CONFIG_AUTOGENERATED > ident XXXXX > machine amd64 > cpu HAMMER > makeoptions DEBUG=-g > options ACCEPT_FILTER_HTTP > options IPDIVERT > options IPFIREWALL_FORWARD > options IPFIREWALL_VERBOSE > options IPFIREWALL > options USB_DEBUG > options SC_PIXEL_MODE > options AHD_REG_PRETTY_PRINT > options ATA_STATIC_ID > options ATA_CAM > options SMP > options KDB_TRACE > options KDB > options INCLUDE_CONFIG_FILE > options MAC > options AUDIT > options HWPMC_HOOKS > options KBD_INSTALL_CDEV > options PRINTF_BUFR_SIZE=128 > options _KPOSIX_PRIORITY_SCHEDULING > options SYSVSEM > options SYSVMSG > options SYSVSHM > options STACK > options KTRACE > options SCSI_DELAY=5000 > options GEOM_LABEL > options GEOM_PART_GPT > options PSEUDOFS > options PROCFS > options CD9660 > options UFS_DIRHASH > options UFS_ACL > options SOFTUPDATES > options FFS > options SCTP > options INET > options PREEMPTION > options SCHED_ULE > options NEW_PCIB > options GEOM_PART_MBR > options GEOM_PART_EBR_COMPAT > options GEOM_PART_EBR > options GEOM_PART_BSD > device isa > device mem > device io > device uart_ns8250 > device cpufreq > device acpi > device pci > device ahci > device ata > device ahd > device sym > device scbus > device ch > device da > device pass > device ses > device mfi > device atkbdc > device atkbd > device psm > device kbdmux > device vga > device splash > device sc > device uart > device ppc > device ppbus > device lpt > device em > device miibus > device xl > device loop > device random > device ether > device tun > device pty > device md > device firmware > device bpf > device ohci > device ehci > device usb > device uhid > device ukbd > device ums > > ------------------------------------------------------------------------ > ddb capture buffer > > ddb: ddb_capture: kvm_nlist From feenberg at nber.org Tue Jun 5 21:06:55 2012 From: feenberg at nber.org (Daniel Feenberg) Date: Tue Jun 5 21:07:01 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120605203717.5663bdf7.freebsd@edvax.de> References: <20120605203717.5663bdf7.freebsd@edvax.de> Message-ID: On Tue, 5 Jun 2012, Polytropon wrote: > On Tue, 5 Jun 2012 11:19:26 -0700, Kurt Buff wrote: >> UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries >> http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > > I may reply with another link: > http://mjg59.dreamwidth.org/12368.html > I have a pretty basic question that probably displays some ignorance... Does the loader need to be signed? Once signed, can it load anything, or just things MS has approved? If MS signs the kernel, can the kernel run anything, or just things MS has approved? If RH has a signed kernel, do they have to sign all the userland programs that run under that kernel? Can users sign programs compiled from source? If MS only has to sign the first link in the chain, then the $99 certificate is not really a problem except for the pure of heart. If MS or someone else has to sign all the way down to the userland binaries, then users of FreeBSD will have to turn off secure boot in CMOS, and it will lose a few users. But I can't tell from the discussions mentioned above. Either way, I don't think it will destroy FreeBSD, or Linux, but I would be interested anyway. Daniel Feenberg From jerry at seibercom.net Tue Jun 5 21:20:51 2012 From: jerry at seibercom.net (Jerry) Date: Tue Jun 5 21:20:58 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: <20120605201900.GB60388@hs1.VERBENA> References: <20120605201900.GB60388@hs1.VERBENA> Message-ID: <20120605172046.2571e964@scorpio> On Tue, 5 Jun 2012 13:19:00 -0700 Colin Barnabas articulated: >History show us that _everything_ will eventually run *nix. Perhaps, but *nix will not run everything. >Take a look at the Sony PS3 debacle. After Sony yanked support for >installing other OS's, the community ripped apart their >hypervisor in a matter of months. If these boot keys do gain any >momentum, sooner than later the community with poke holes in the >system. Which, depending on how the end user or his flunky "poke holes" in the system, may allow vendors to disallow warranty claims. The question that I have not seen answered in this thread is what FreeBSD intents to do. From what I have seen, most FreeBSD users do not use the latest versions of most hardware, so it may be a while before its user base is even effected. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From jerry at seibercom.net Tue Jun 5 22:10:59 2012 From: jerry at seibercom.net (Jerry) Date: Tue Jun 5 22:11:06 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: <20120605203717.5663bdf7.freebsd@edvax.de> Message-ID: <20120605181055.4af65fdb@scorpio> On Tue, 5 Jun 2012 17:00:14 -0400 (EDT) Daniel Feenberg articulated: >On Tue, 5 Jun 2012, Polytropon wrote: > >> On Tue, 5 Jun 2012 11:19:26 -0700, Kurt Buff wrote: >>> UEFI considerations drive Fedora to pay MSFT to sign their kernel >>> binaries >>> http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ >> >> I may reply with another link: >> http://mjg59.dreamwidth.org/12368.html > >I have a pretty basic question that probably displays some ignorance... > >Does the loader need to be signed? Once signed, can it load anything, >or just things MS has approved? If MS signs the kernel, can the kernel >run anything, or just things MS has approved? If RH has a signed >kernel, do they have to sign all the userland programs that run under >that kernel? Can users sign programs compiled from source? > >If MS only has to sign the first link in the chain, then the $99 >certificate is not really a problem except for the pure of heart. If >MS or someone else has to sign all the way down to the userland >binaries, then users of FreeBSD will have to turn off secure boot in >CMOS, and it will lose a few users. But I can't tell from the >discussions mentioned above. Either way, I don't think it will destroy >FreeBSD, or Linux, but I would be interested anyway. I thought this URL also shown above, answered that question. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From jusher71 at yahoo.com Tue Jun 5 22:12:12 2012 From: jusher71 at yahoo.com (Jason Usher) Date: Tue Jun 5 22:12:18 2012 Subject: implementing ipv6 into my ipfw ruleset... Message-ID: <1338934326.88519.YahooMailClassic@web122502.mail.ne1.yahoo.com> I have a fairly simple ipfw ruleset, which looks like: 100 allow tcp from any to any established 110 allow icmp from any to any icmptypes 0,3,8,11 120 deny icmp from any to any 130 allow ip from any to any via lo0 200 allow udp from me to any 53 210 allow udp from any 53 to me 220 allow udp from any to me 33433-33499 230 allow tcp from any to 82.197.184.219 22,80,443 setup 65000 deny log ip from any to me 65001 deny log ip from any to me6 What I am wondering is, am I blocking all ipv6 traffic by not explicitly allowing ipv6 in (for the established rule 100, icmp rule 110, and the entire block of 200-230) ? Or, since that is all tcp/udp/icmp, it doesn't matter, and I am properly allowing in ipv6 traffic, but ONLY for the tcp/udp ports I specify, and then blocking the rest ? Basically: how is my ruleset treating ipv6 traffic (other than the fact that, at the end of the set, I deny all ipv6 that has gotten to that point) thank you. From kline at thought.org Tue Jun 5 22:34:33 2012 From: kline at thought.org (Gary Kline) Date: Tue Jun 5 22:34:41 2012 Subject: how do I fix this? In-Reply-To: <20120605060435.GB21247@slackbox.erewhon.net> References: <20120604214304.GA29788@thought.org> <20120604182457.301b5d74@scorpio> <20120605045311.GB6634@thought.org> <20120605060435.GB21247@slackbox.erewhon.net> Message-ID: <20120605223427.GC23645@thought.org> On Tue, Jun 05, 2012 at 08:04:35AM +0200, Roland Smith wrote: > Date: Tue, 5 Jun 2012 08:04:35 +0200 > From: Roland Smith > Subject: Re: how do I fix this? > To: Gary Kline > Cc: FreeBSD > > On Mon, Jun 04, 2012 at 09:53:11PM -0700, Gary Kline wrote: > > no joy. I did another full upgrade. first time in many > > months. then spent a couple hours with portmaster (thank > > you, Roland:). this as a first upgrade. > > Make sure you update portmaster first. The latest versions have significant > improvements. Also there has recently been a upgrade of libPNG, requiring a > rebuild of everything that needs it. pretty sure that I did exactly that. > > > what I want to do is get as current as possible and then > > install 7.5. and stay there. > > 7.5 what? Do you mean Xorg? Please try and be specific. FreeBSD-7.5. pretty sure I saw something about 7.4 being upgraded to 7.5. I've been at FBSD-7.3 for a long ti me. I dont remember how many times I have upgraded this release, but it has been solid. > > > another question involves > > accepting the "3-D" windows with whatever options they might > > present. > > You mean the options dialogs as run by 'make config'? exactly. > Portmaster will first > recurse through the port and all of its dependencies (if any) to handle any > port OPTIONS via the 'make config' interface, before going off on the big > build. one thing ive been doing is de-selection most of the options.. the box is my server. we [freebsders] have lost the desktop 'market' .... > > > is there any upgrade utility or flag that will > > accept and upgrade things without me having to be here? > > Yes and no. With the latest portmaster you can use the -y flag to > automatically answer "yes" to all questions. But some ports are marked as > "interactive", in the sense that they need you to give some input. Or they are > marked as "restricted" in that you might have to go and download the tarball > yourself somewhere. These are properties of the ports system and the > individual ports. No port build tool can override that. > > BTW, use the -R flag with portmaster. If a long build fails, it skips already > updated stuff on the second try. super; I'll add -yR to the argv list. tx again, gary > > Roland > -- > R.F.Smith http://rsmith.home.xs4all.nl/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Voice By Computer (for Universal Access): http:/www.thought.org/vbc The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From g.svalland at bredband.net Tue Jun 5 22:20:04 2012 From: g.svalland at bredband.net (Geir Svalland) Date: Tue Jun 5 22:52:06 2012 Subject: Curiousity ? Message-ID: <001d01cd4369$5ff8f270$1fead750$@svalland@bredband.net> Hello friends ( old ) I've moved over ( tried other, but not so further paths ) No, not all , but my butter and bread : my gateway Also servers as my mail and DNS among others >From FreeBSD to OpenBSD Fckg gays, you want so much, but do we want it ? All this going from bsd to clang and what ever ? Get a clear step by step howto, and don't't fck belive all others are whizzards ? Hasse Hansson From feenberg at nber.org Tue Jun 5 22:55:45 2012 From: feenberg at nber.org (Daniel Feenberg) Date: Tue Jun 5 22:55:54 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120605181055.4af65fdb@scorpio> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> Message-ID: On Tue, 5 Jun 2012, Jerry wrote: > On Tue, 5 Jun 2012 17:00:14 -0400 (EDT) > Daniel Feenberg articulated: > >> On Tue, 5 Jun 2012, Polytropon wrote: >> >>> On Tue, 5 Jun 2012 11:19:26 -0700, Kurt Buff wrote: >>>> UEFI considerations drive Fedora to pay MSFT to sign their kernel >>>> binaries >>>> http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ >>> >>> I may reply with another link: >>> http://mjg59.dreamwidth.org/12368.html >> >> I have a pretty basic question that probably displays some ignorance... >> >> Does the loader need to be signed? Once signed, can it load anything, >> or just things MS has approved? If MS signs the kernel, can the kernel >> run anything, or just things MS has approved? If RH has a signed >> kernel, do they have to sign all the userland programs that run under >> that kernel? Can users sign programs compiled from source? >> >> If MS only has to sign the first link in the chain, then the $99 >> certificate is not really a problem except for the pure of heart. If >> MS or someone else has to sign all the way down to the userland >> binaries, then users of FreeBSD will have to turn off secure boot in >> CMOS, and it will lose a few users. But I can't tell from the >> discussions mentioned above. Either way, I don't think it will destroy >> FreeBSD, or Linux, but I would be interested anyway. > > I thought this URL also shown > above, answered that question. It says "once paid you can sign as many binaries as you want" but I don't know if that means "as many different binaries" or "as many copies of the same binary". Later it says they will write a new bootloader that MS will sign and "adding support for verifying that the kernel it's about to boot is signed with a trusted key" but I don't know if that kernel is signed by MS or RH, or if MS gets to approve it. Finally it says "we'll be sanitising the kernel command line to avoid certain bits of functionality that would permit an attacker to cause even a signed kernel to launch arbitrary code" but does "arbitrary code" refer to something I would want to do as a sys-admin? dan feenberg From grarpamp at gmail.com Tue Jun 5 23:02:20 2012 From: grarpamp at gmail.com (grarpamp) Date: Tue Jun 5 23:02:27 2012 Subject: /usr/bin/find - binary operands howto In-Reply-To: References: Message-ID: A single find already had the needed selection and execution ops. So I was trying it first, before writing an external parser, etc. It's still not clear to me how find is compiling the arguments internally, but using -vv on the utils helped a lot. After adding -false after all the -exec's, it now works as desired up against my array of inodes. I also worked in a pre-change, select, ls. The arbitrary format of gfind is interesting. It can maybe be approximated in find with -exec ls someargs {} \+. From walterhurry at gmail.com Tue Jun 5 23:14:52 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Tue Jun 5 23:14:59 2012 Subject: FreeBSD9 - I can't get my mouse to work Message-ID: Firstly, sorry if this is a bit of a newbie question. I am quite new to FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD is fine, except that no matter what I try I cannot get the (USB) mouse to work. I have scoured the handbook, and Googled, but to no avail. This is 9.0-RELEASE on amd64 - fully updated. I don't need the mouse in consoles, but I do want it in X. Here is my xorg.conf in its entirety: ################################## Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "Clone" "off" EndSection Section "ServerFlags" Option "AutoAddDevices" "On" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/Liberation/" FontPath "/usr/local/lib/X11/fonts/LinLibertineG/" FontPath "/usr/local/lib/X11/fonts/OTF/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" FontPath "/usr/local/lib/X11/fonts/dejavu/" FontPath "/usr/local/lib/X11/fonts/URW/" EndSection Section "Module" Load "ddc" Load "dbe" Load "extmod" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "gb" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "Clone" "off" EndSection Section "ServerFlags" Option "AutoAddDevices" "On" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/Liberation/" FontPath "/usr/local/lib/X11/fonts/LinLibertineG/" FontPath "/usr/local/lib/X11/fonts/OTF/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" FontPath "/usr/local/lib/X11/fonts/dejavu/" FontPath "/usr/local/lib/X11/fonts/URW/" EndSection Section "Module" Load "ddc" Load "dbe" Load "extmod" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "gb" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" Identifier "Card0" Screen 0 Driver "radeonhd" VendorName "Radeon Video Driver" Option "XAANoOffscreenPixmaps" "true" Option "AccelMethod" "EXA" Option "DRI" "true" BusID "PCI:1:5:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1366x768" EndSubSection EndSection ################################## and here are the relevant Xorg.0.log messages: ################################## (EE) config/hal: couldn't initialise context: unknown error (null) (EE) xf86OpenSerial: Cannot open device /dev/psm0 (EE) PS/2 Mouse: cannot open input device (EE) PreInit returned NULL for "PS/2 Mouse" (EE) config/hal: NewInputDeviceRequest failed (8) ((WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 (WW) Usb Mouse: No Device specified, looking for one... (WW) PS/2 Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... ################################## Can anyone assist with this? From bah at bananmonarki.se Tue Jun 5 23:24:13 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Tue Jun 5 23:24:21 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: References: Message-ID: <4FCE94CB.4060309@bananmonarki.se> 2012-06-06 01:14, Walter Hurry skrev: > Firstly, sorry if this is a bit of a newbie question. I am quite new to > FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD > is fine, except that no matter what I try I cannot get the (USB) mouse to > work. > > I have scoured the handbook, and Googled, but to no avail. > > This is 9.0-RELEASE on amd64 - fully updated. > > I don't need the mouse in consoles, but I do want it in X. > > Here is my xorg.conf in its entirety: > > ################################## > Section "ServerLayout" > Identifier "XFree86 Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > Option "Clone" "off" > EndSection > > Section "ServerFlags" > Option "AutoAddDevices" "On" Set this to off. > EndSection > > Section "Files" > ModulePath "/usr/local/lib/xorg/modules" > FontPath "/usr/local/lib/X11/fonts/Liberation/" > FontPath "/usr/local/lib/X11/fonts/LinLibertineG/" > FontPath "/usr/local/lib/X11/fonts/OTF/" > FontPath "/usr/local/lib/X11/fonts/TTF/" > FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" > FontPath "/usr/local/lib/X11/fonts/dejavu/" > FontPath "/usr/local/lib/X11/fonts/URW/" > EndSection > > Section "Module" > Load "ddc" > Load "dbe" > Load "extmod" > EndSection > > Section "InputDevice" > Identifier "Keyboard0" > Driver "keyboard" > Option "XkbModel" "pc105" > Option "XkbLayout" "gb" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > EndSection > > Section "Monitor" > Identifier "Monitor0" > VendorName "Monitor Vendor" > ModelName "Monitor Model" > EndSection > > > Section "ServerLayout" > Identifier "XFree86 Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > Option "Clone" "off" > EndSection > > Section "ServerFlags" > Option "AutoAddDevices" "On" > EndSection > > Section "Files" > ModulePath "/usr/local/lib/xorg/modules" > FontPath "/usr/local/lib/X11/fonts/Liberation/" > FontPath "/usr/local/lib/X11/fonts/LinLibertineG/" > FontPath "/usr/local/lib/X11/fonts/OTF/" > FontPath "/usr/local/lib/X11/fonts/TTF/" > FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" > FontPath "/usr/local/lib/X11/fonts/dejavu/" > FontPath "/usr/local/lib/X11/fonts/URW/" > EndSection > > Section "Module" > Load "ddc" > Load "dbe" > Load "extmod" > EndSection > > Section "InputDevice" > Identifier "Keyboard0" > Driver "keyboard" > Option "XkbModel" "pc105" > Option "XkbLayout" "gb" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > EndSection > > Section "Monitor" > Identifier "Monitor0" > VendorName "Monitor Vendor" > ModelName "Monitor Model" > EndSection > > > Section "Device" > Identifier "Card0" > Screen 0 > Driver "radeonhd" > VendorName "Radeon Video Driver" > Option "XAANoOffscreenPixmaps" "true" > Option "AccelMethod" "EXA" > Option "DRI" "true" > BusID "PCI:1:5:0" > EndSection > > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > DefaultDepth 24 > SubSection "Display" > Depth 24 > Modes "1366x768" > EndSubSection > EndSection > ################################## > > and here are the relevant Xorg.0.log messages: > > ################################## > (EE) config/hal: couldn't initialise context: unknown error (null) > (EE) xf86OpenSerial: Cannot open device /dev/psm0 > (EE) PS/2 Mouse: cannot open input device > (EE) PreInit returned NULL for "PS/2 Mouse" > (EE) config/hal: NewInputDeviceRequest failed (8) > ((WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or > 'vmmouse' will be disabled. > (WW) Disabling Mouse0 > (WW) Disabling Keyboard0 > (WW) Usb Mouse: No Device specified, looking for one... > (WW) PS/2 Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > ################################## > > Can anyone assist with this? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From walterhurry at gmail.com Tue Jun 5 23:26:36 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Tue Jun 5 23:26:43 2012 Subject: FreeBSD9 - I can't get my mouse to work References: Message-ID: On Tue, 05 Jun 2012 23:14:35 +0000, Walter Hurry wrote: > Firstly, sorry if this is a bit of a newbie question. I am quite new to > FreeBSD (though fairly experienced at Linux). Almost everything in > FreeBSD is fine, except that no matter what I try I cannot get the (USB) > mouse to work. > > Can anyone assist with this? > One bit of information which might be relevant: This is a laptop with a built-in touchpad. The touchpad works, even though I have made no configuration changes for it. Unfortunately, as I said, the mouse doesn't. From wblock at wonkity.com Tue Jun 5 23:40:12 2012 From: wblock at wonkity.com (Warren Block) Date: Tue Jun 5 23:40:19 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: References: Message-ID: On Tue, 5 Jun 2012, Walter Hurry wrote: > Firstly, sorry if this is a bit of a newbie question. I am quite new to > FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD > is fine, except that no matter what I try I cannot get the (USB) mouse to > work. > > I have scoured the handbook, and Googled, but to no avail. > > This is 9.0-RELEASE on amd64 - fully updated. > > I don't need the mouse in consoles, but I do want it in X. > > Here is my xorg.conf in its entirety: There are duplicated sections in the output provided. > ################################## > Section "ServerLayout" > Identifier "XFree86 Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > Option "Clone" "off" > EndSection > > Section "ServerFlags" > Option "AutoAddDevices" "On" > EndSection Setting AutoAddDevices on means to use HAL for mouse detection. Is HAL running? On one notebook, I had to set moused_enable="YES" in /etc/rc.conf before both the touchpad and an external mouse would work. From chris at monochrome.org Wed Jun 6 00:18:42 2012 From: chris at monochrome.org (Chris Hill) Date: Wed Jun 6 00:18:49 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120605230025.a1e39827.goksin.akdeniz@gmail.com> References: <20120605221250.9da6bd5c.goksin.akdeniz@gmail.com> <4FCE61D4.9070300@cran.org.uk> <20120605230025.a1e39827.goksin.akdeniz@gmail.com> Message-ID: On Tue, 5 Jun 2012, G?k?in Akdeniz wrote: > For the time being only ARM platform is restricted. True, but I would be astonished if this restriction were not expanded by MS in the future. Just my opinion, but I believe their ultimate goal is to add platforms until the "secure boot" restriction encompasses most or all desktop and server hardware. This would be over a period of years. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From mike.jeays at rogers.com Wed Jun 6 01:34:00 2012 From: mike.jeays at rogers.com (Mike Jeays) Date: Wed Jun 6 01:34:08 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: <20120605221250.9da6bd5c.goksin.akdeniz@gmail.com> <4FCE61D4.9070300@cran.org.uk> <20120605230025.a1e39827.goksin.akdeniz@gmail.com> Message-ID: <20120605213358.5047d683@europa> On Tue, 5 Jun 2012 19:57:30 -0400 (EDT) Chris Hill wrote: > On Tue, 5 Jun 2012, G?k?in Akdeniz wrote: > > > For the time being only ARM platform is restricted. > > True, but I would be astonished if this restriction were not expanded by > MS in the future. Just my opinion, but I believe their ultimate goal is > to add platforms until the "secure boot" restriction encompasses most or > all desktop and server hardware. This would be over a period of years. > > -- > Chris Hill chris@monochrome.org > ** [ Busy Expunging ] > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" This seems all too likely to me. I expect it will become very hard to find a consumer laptop that will run other operating systems in a few years. There won't be any in Best Buy or Staples, one can be pretty sure. It will be a Windows or Mac world. Not an attractive future. From gobble.wa at gmail.com Wed Jun 6 01:56:38 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Wed Jun 6 01:57:16 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120605213358.5047d683@europa> References: <20120605221250.9da6bd5c.goksin.akdeniz@gmail.com> <4FCE61D4.9070300@cran.org.uk> <20120605230025.a1e39827.goksin.akdeniz@gmail.com> <20120605213358.5047d683@europa> Message-ID: On Jun 5, 2012 6:35 PM, "Mike Jeays" wrote: > > On Tue, 5 Jun 2012 19:57:30 -0400 (EDT) > Chris Hill wrote: > > > On Tue, 5 Jun 2012, G?k?in Akdeniz wrote: > > > > > For the time being only ARM platform is restricted. > > > > True, but I would be astonished if this restriction were not expanded by > > MS in the future. Just my opinion, but I believe their ultimate goal is > > to add platforms until the "secure boot" restriction encompasses most or > > all desktop and server hardware. This would be over a period of years. > > > > -- > > Chris Hill chris@monochrome.org > > ** [ Busy Expunging ] > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" > > This seems all too likely to me. I expect it will become very hard to find a consumer laptop that will run other operating systems in a few years. There won't be any in Best Buy or Staples, one can be pretty sure. It will be a Windows or Mac world. Not an attractive future. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" I understand there are only a few (like two) monster-sized computer manufacturers, which are based in China, who manufacture the massive bulk of "consumer" laptops. the name brand models in the local retail store are almost always these ODM computers with a preloaded hard drive and a fancy label w/ insignia slapped on the shell. One may purchase a "Generic" laptop to spec (without any MS stuff installed, if you so desire), for a single-unit competitive price. for example search "compal" ... i'm curious how the restricted boot scheme will come into play in these "no flashy labels" portable machines. Waitman Gobble San Jose California USA From walterhurry at gmail.com Wed Jun 6 02:22:18 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Wed Jun 6 02:22:24 2012 Subject: FreeBSD9 - I can't get my mouse to work References: <4FCE94CB.4060309@bananmonarki.se> Message-ID: On Wed, 06 Jun 2012 01:22:51 +0200, Bernt Hansson wrote: >> Option "AutoAddDevices" "On" > > Set this to off. > Thanks for the reply. Yes, I've tried setting it to "Off", but there is no apparent difference; only a new set of messages in Xorg.0.log: (EE) config/hal: couldn't initialise context: unknown error (null) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (WW) Mouse0: No Device specified, looking for one... From sdb at ssr.com Wed Jun 6 02:29:40 2012 From: sdb at ssr.com (Scott Ballantyne) Date: Wed Jun 6 02:29:48 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: (message from Walter Hurry on Tue, 5 Jun 2012 23:14:35 +0000 (UTC)) References: Message-ID: <20120606020514.8485.qmail@irelay.ssr.com> Walter Hurry writes: > > Firstly, sorry if this is a bit of a newbie question. I am quite new to > FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD > is fine, except that no matter what I try I cannot get the (USB) mouse to > work. > > I have scoured the handbook, and Googled, but to no avail. > > This is 9.0-RELEASE on amd64 - fully updated. > > I don't need the mouse in consoles, but I do want it in X. > The clue here is 'fully updated'. The latest hald has a bug that keeps the mouse from working. If you look in your X.org.0.log you may find a section which says that /dev/ums, configured by hal, is busy, and unloads the mouse. If you don't find that, then ignore the rest of this email :) There are various "solutions" to this, one is to disable the auto configure, and add the configuration for both keyboard and mouse to the .conf file. Another is to restart dbus and hald. You can switch to a console window from X and run this command: /usr/local/etc/rc.d/dbus restart && /usr/local/etc/rc.d/hald restart If that fixes it, then you can automate it by putting something like this in /usr/local/etc/rc.d , call it haldfixbug or something like that: ---------- #!/bin/sh # # PROVIDE: HALD_FIX_BUG # REQUIRE: hald dbus # [ "$1" = start ] && /usr/local/etc/rc.d/dbus restart && /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED" [ "$1" = faststart ] && /usr/local/etc/rc.d/dbus restart && /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED" sleep 5 exit 0 ------------- This might not work if you use startx, but should be ok with xdm or gdm. It works for me, maybe not for you. Best, Scott -- sdb@ssr.com From erichfreebsdlist at ovitrap.com Wed Jun 6 02:55:17 2012 From: erichfreebsdlist at ovitrap.com (Erich) Date: Wed Jun 6 02:55:24 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: References: <4FCE94CB.4060309@bananmonarki.se> Message-ID: <1923831.l0mLy8oBIz@x220.ovitrap.com> Hi I have had success on my hardware with this setting: # The working configuration. The mouse daemon in /etc/rc.conf # was dsabled. # # Section "ServerLayout" # Identifier "X.org Configured" # Screen 0 "Screen0" 0 0 # InputDevice "Mouse0" "CorePointer" # InputDevice "Keyboard0" "CoreKeyboard" # EndSection # # Section "ServerFlags" # Option "AllowEmptyInput" "false" # Option "AutoAddDevices" "false" # EndSection Turning off the mouse daemon was the key on that hardware. The same xorg settings needed the mouse daemon turned on on other hardware. Good luck! Erich On 06 June 2012 2:21:53 Walter Hurry wrote: > On Wed, 06 Jun 2012 01:22:51 +0200, Bernt Hansson wrote: > >> Option "AutoAddDevices" "On" > > > > Set this to off. > > > Thanks for the reply. Yes, I've tried setting it to "Off", but there is > no apparent difference; only a new set of messages in Xorg.0.log: > > (EE) config/hal: couldn't initialise context: unknown error (null) > (EE) config/hal: NewInputDeviceRequest failed (8) > (EE) config/hal: NewInputDeviceRequest failed (8) > (EE) config/hal: NewInputDeviceRequest failed (8) > (EE) config/hal: NewInputDeviceRequest failed (8) > (EE) config/hal: NewInputDeviceRequest failed (8) > (EE) config/hal: NewInputDeviceRequest failed (8) > (WW) Mouse0: No Device specified, looking for one... > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From gobble.wa at gmail.com Wed Jun 6 02:59:50 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Wed Jun 6 02:59:57 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: <20120606020514.8485.qmail@irelay.ssr.com> References: <20120606020514.8485.qmail@irelay.ssr.com> Message-ID: On Tue, Jun 5, 2012 at 7:05 PM, Scott Ballantyne wrote: > Walter Hurry writes: > > > > > Firstly, sorry if this is a bit of a newbie question. I am quite new to > > FreeBSD (though fairly experienced at Linux). Almost everything in > FreeBSD > > is fine, except that no matter what I try I cannot get the (USB) mouse to > > work. > > > > I have scoured the handbook, and Googled, but to no avail. > > > > This is 9.0-RELEASE on amd64 - fully updated. > > > > I don't need the mouse in consoles, but I do want it in X. > > > > The clue here is 'fully updated'. The latest hald has a bug that keeps > the mouse from working. If you look in your X.org.0.log you may find > a section which says that /dev/ums, configured by hal, is busy, and > unloads the mouse. If you don't find that, then ignore the rest of > this email :) > > There are various "solutions" to this, one is to disable the auto > configure, and add the configuration for both keyboard and mouse to > the .conf file. Another is to restart dbus and hald. You can switch > to a console window from X and run this command: > > /usr/local/etc/rc.d/dbus restart && /usr/local/etc/rc.d/hald restart > > If that fixes it, then you can automate it by putting something like > this in /usr/local/etc/rc.d , call it haldfixbug or something like > that: > > ---------- > #!/bin/sh > # > # PROVIDE: HALD_FIX_BUG > # REQUIRE: hald dbus > # > > [ "$1" = start ] && /usr/local/etc/rc.d/dbus restart && > /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED" > [ "$1" = faststart ] && /usr/local/etc/rc.d/dbus restart && > /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED" > sleep 5 > exit 0 > ------------- > > This might not work if you use startx, but should be ok with xdm or > gdm. It works for me, maybe not for you. > > Best, > Scott > -- > sdb@ssr.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > i'll give that a try. After updating a couple of days ago the mouse is glued to the center of the screen after starting X. I noticed if i first kill moused before startx it works fine. (moused apparently restarts). But maybe this solution will end the work-around. Waitman Gobble San Jose California USA From erich at alogreentechnologies.com Wed Jun 6 03:35:45 2012 From: erich at alogreentechnologies.com (Erich Dollansky) Date: Wed Jun 6 03:35:52 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: References: <20120606020514.8485.qmail@irelay.ssr.com> Message-ID: <1529132.jI8PiRModA@x220.ovitrap.com> Hi, On 05 June 2012 19:59:48 Waitman Gobble wrote: > On Tue, Jun 5, 2012 at 7:05 PM, Scott Ballantyne wrote: > > i'll give that a try. After updating a couple of days ago the mouse is > glued to the center of the screen after starting X. I noticed if i first > kill moused before startx it works fine. (moused apparently restarts). But > maybe this solution will end the work-around. > I came to this the same way. X stopped working with the mouse after an upgrade many, many years ago. If it happens again, I play with the parameters in there. I have read that other people also played with HAL but I never needed so. Erich From matthew at FreeBSD.org Wed Jun 6 07:32:14 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Wed Jun 6 07:32:21 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120605181055.4af65fdb@scorpio> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> Message-ID: <4FCF0772.8000609@FreeBSD.org> On 05/06/2012 23:10, Jerry wrote: > I thought this URL also shown > above, answered that question. Signing bootloaders and kernels etc. seems superficially like a good idea to me. However, instant reaction is that this is definitely *not* something that Microsoft should be in charge of. Some neutral[*] body without any commercial interests should do that job, and bootloader/kernel signing should be freely available. On deeper thought though, the whole idea appears completely unworkable. It means that you will not be able to compile your own kernel or drivers unless you have access to a signing key. As building your own is pretty fundamental to the FreeBSD project, the logical consequence is that FreeBSD source should come with a signing key for anyone to use. Which completely abrogates the whole point of signing bootloaders/kernels in the first place: anyone wishing to create malware would be able to sign whatever they want using such a key. It's DRM-level stupidity all over again. My conclusion: boycott products, manufacturers and/or OSes that participate in this scheme. FreeBSD alone won't make any real difference to manufacturers, but I hope there is still enough of the original spirit of freedom within the Linux camp, and perhaps from Google/android to make an impact. I'm pretty sure there can be a way of whitelisting bootloaders and so forth to help prevent low-level malware, but this isn't it. Cheers, Matthew [*] I suggest ICANN might be the right sort of organization to fulfil this role. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/9d4665e5/signature.pgp From bruce at cran.org.uk Wed Jun 6 08:45:08 2012 From: bruce at cran.org.uk (Bruce Cran) Date: Wed Jun 6 08:45:15 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF0772.8000609@FreeBSD.org> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> Message-ID: <4FCF1891.9020006@cran.org.uk> On 06/06/2012 08:32, Matthew Seaman wrote: > On deeper thought though, the whole idea appears completely unworkable. > It means that you will not be able to compile your own kernel or > drivers unless you have access to a signing key. As building your own > is pretty fundamental to the FreeBSD project, the logical consequence is > that FreeBSD source should come with a signing key for anyone to use. It just means that anyone wishing to run their own kernels would either need to disable secure boot, or purchase/create their own certificate and install it. -- Bruce Cran From a at jenisch.at Wed Jun 6 09:03:43 2012 From: a at jenisch.at (Ewald Jenisch) Date: Wed Jun 6 09:03:50 2012 Subject: isc-dhcpd - logging client transactions Message-ID: <20120606090233.GA3748@aurora.oekb.co.at> Hi, I've set up isc-dhcpd (/usr/ports/net/isc-dhcp42-server). The daemon runs, hands out IP-addresses however logging doesn't seem to work. Here's what I've got in the respective config-files: /etc/rc.conf: # dhcpd dhcpd_enable="YES" dhcpd_conf="/usr/local/etc/dhcpd.conf" dhcpd_ifaces="em0" dhcpd_withumask="022" dhcpd_chuser_enable="YES" dhcpd_withuser="dhcpd" dhcpd_withgroup="dhcpd" dhcpd_chroot_enable="YES" dhcpd_devfs_enable="YES" dhcpd_rootdir="/var/db/dhcpd" /usr/local/etc/dhcpd.conf: ... log-facility local7; /etc/syslog.conf: local7.* /var/log/dhcpd.log /var/log/dhcpd.log is "touch"ed, so it exists. Also restarted syslogd and isc-dhcpd. Result: dhcpd works (i.e. I see entries in the leases-file (/var/db/dhcpd/var/db/dhcpd/dhcpd.leases) however nothing is logged to /var/log/dhcpd.log. I can rule out any error with syslogd.conf since when I start isc-dhcp "by hand" (/usr/local/sbin/dhcpd -d) I get an error message - and this one is definitely logged to /var/log/dhcpd.log. What I really need though is a log of all the DHCP-transactions, i.e. DHCP-requests, address assignments etc. Thanks much in advance for your help, -ewald From matthew at FreeBSD.org Wed Jun 6 09:38:53 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Wed Jun 6 09:39:03 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF1891.9020006@cran.org.uk> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> Message-ID: <4FCF2521.6090006@FreeBSD.org> On 06/06/2012 09:45, Bruce Cran wrote: > On 06/06/2012 08:32, Matthew Seaman wrote: >> On deeper thought though, the whole idea appears completely unworkable. >> It means that you will not be able to compile your own kernel or >> drivers unless you have access to a signing key. As building your own >> is pretty fundamental to the FreeBSD project, the logical consequence is >> that FreeBSD source should come with a signing key for anyone to use. > It just means that anyone wishing to run their own kernels would either > need to disable secure boot, or purchase/create their own certificate > and install it. Indeed. However disabling secure boot is apparently: * too difficult for users of Fedora * not possible on all platforms (arm based tablets especially) and purchasing your own certificate currently means paying $99 to Microsoft, or else getting a key from the hardware manufacturer (which I very much suspect will not be free either). While I would expect the typical FreeBSD user to be quite capable of disabling secure boot, I know that this is something that will result in realms of questions by new users, alarmist claims that "FreeBSD is not secure" and general glee amongst the "FreeBSD is dying" crowd. This is just another misconceived DRM scheme and suffers from all the same old flaws. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/7544b4d4/signature.pgp From m.e.sanliturk at gmail.com Wed Jun 6 09:46:39 2012 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Wed Jun 6 09:46:47 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF2521.6090006@FreeBSD.org> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> Message-ID: On Wed, Jun 6, 2012 at 2:38 AM, Matthew Seaman wrote: > On 06/06/2012 09:45, Bruce Cran wrote: > > On 06/06/2012 08:32, Matthew Seaman wrote: > >> On deeper thought though, the whole idea appears completely unworkable. > >> It means that you will not be able to compile your own kernel or > >> drivers unless you have access to a signing key. As building your own > >> is pretty fundamental to the FreeBSD project, the logical consequence is > >> that FreeBSD source should come with a signing key for anyone to use. > > > It just means that anyone wishing to run their own kernels would either > > need to disable secure boot, or purchase/create their own certificate > > and install it. > > Indeed. However disabling secure boot is apparently: > > * too difficult for users of Fedora > > * not possible on all platforms (arm based tablets especially) > > and purchasing your own certificate currently means paying $99 to > Microsoft, or else getting a key from the hardware manufacturer (which I > very much suspect will not be free either). > > While I would expect the typical FreeBSD user to be quite capable of > disabling secure boot, I know that this is something that will result in > realms of questions by new users, alarmist claims that "FreeBSD is not > secure" and general glee amongst the "FreeBSD is dying" crowd. > > This is just another misconceived DRM scheme and suffers from all the > same old flaws. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. > PGP: http://www.infracaninophile.co.uk/pgpkey > > > http://www.infoworld.com/t/hacking/tech-behind-flame-attack-could-compromise-microsoft-update-194867 Thank you very much . Mehmet Erol Sanliturk From jhs at berklix.com Wed Jun 6 10:20:35 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Wed Jun 6 10:20:42 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Your message "Tue, 05 Jun 2012 15:13:03 EDT." <20120605151303.11596msta89hqw5b@mail.msu.edu> Message-ID: <201206052338.q55NbIWr062787@fire.js.berklix.net> jerrymc@msu.edu wrote: > Quoting Kurt Buff : > > > UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries > > http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > > > > This would seem to make compiling from source difficult. > > > > I don't see how this MS scam is even at all legal. > It is clearly restraint of trade and probably violates some other > related laws too. A shame Bush blocked dismembering monopolist Microsoft. The last enormous fines Microsoft paid the EU for monopoly abuse, presumably failed to discipline Microsoft. Time for increased fines, till Microsoft stops abusing its monooly. Would be nice if the fines were so high it forced a free recall by hardware vendors to fix, if it can't be fixed with a UEFI net upgrade. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From jerry at seibercom.net Wed Jun 6 10:24:52 2012 From: jerry at seibercom.net (Jerry) Date: Wed Jun 6 10:24:59 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF2521.6090006@FreeBSD.org> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> Message-ID: <20120606062437.41f48a9e@scorpio> On Wed, 06 Jun 2012 10:38:41 +0100 Matthew Seaman articulated: >On 06/06/2012 09:45, Bruce Cran wrote: >> On 06/06/2012 08:32, Matthew Seaman wrote: >>> On deeper thought though, the whole idea appears completely >>> unworkable. It means that you will not be able to compile your own >>> kernel or drivers unless you have access to a signing key. As >>> building your own is pretty fundamental to the FreeBSD project, the >>> logical consequence is that FreeBSD source should come with a >>> signing key for anyone to use. > >> It just means that anyone wishing to run their own kernels would >> either need to disable secure boot, or purchase/create their own >> certificate and install it. > >Indeed. However disabling secure boot is apparently: > > * too difficult for users of Fedora > > * not possible on all platforms (arm based tablets especially) > >and purchasing your own certificate currently means paying $99 to >Microsoft, or else getting a key from the hardware manufacturer (which >I very much suspect will not be free either). I think you are in error there Matthew. From what I have read The $99 goes to Verisign, not Microsoft - further once paid you can sign as many binaries as you want. >While I would expect the typical FreeBSD user to be quite capable of >disabling secure boot, I know that this is something that will result >in realms of questions by new users, alarmist claims that "FreeBSD is >not secure" and general glee amongst the "FreeBSD is dying" crowd. > >This is just another misconceived DRM scheme and suffers from all the >same old flaws. I don't feel this is misconceived at all. Again, from what I have read, most non-Microsoft operating systems have been able to use UEFI Secure Boot for nearly eight years; however, they have actively refused to do so. However, now Microsoft has stepped up to the plate and is actively taking advantage of the scheme. Actually, Microsoft has been issuing warnings for ten years when a user would attempt to install unsigned drivers. Now the FOSS community is getting its knickers in a knot. They should have taken this into account a long time ago. In any case, we are talking $99 dollars total, not per user here for the certificate. If that is going to cause a problem, I'll donate the $99. In any case, the real problem appears to be how FreeBSD is going to handle drivers which apparently will need to be signed since they work at the kernel level. Apparently Fedora has a working solution for that all ready. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/4bf1d8b5/signature.pgp From bruce at cran.org.uk Wed Jun 6 10:38:54 2012 From: bruce at cran.org.uk (Bruce Cran) Date: Wed Jun 6 10:39:02 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120606062437.41f48a9e@scorpio> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> Message-ID: <4FCF333B.9030402@cran.org.uk> On 06/06/2012 11:24, Jerry wrote: > > They should have taken this into account a long time ago. In any > case, we are talking $99 dollars total, not per user here for the > certificate. If that is going to cause a problem, I'll donate the $99. It's not the $99 that'll be the problem, but the fact that it's Verisign (actually Symantec, since they bought Verisign) that you deal with. Whereas Globalsign accept applications from individuals, Verisign require company documents before they'll generate a certificate. -- Bruce Cran From bruce at cran.org.uk Wed Jun 6 10:45:57 2012 From: bruce at cran.org.uk (Bruce Cran) Date: Wed Jun 6 10:46:04 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF333B.9030402@cran.org.uk> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> <4FCF333B.9030402@cran.org.uk> Message-ID: <4FCF34E2.8010209@cran.org.uk> On 06/06/2012 11:38, Bruce Cran wrote: > It's not the $99 that'll be the problem, but the fact that it's > Verisign (actually Symantec, since they bought Verisign) that you deal > with. Whereas Globalsign accept applications from individuals, > Verisign require company documents before they'll generate a certificate. > I've just checked, and I'm wrong - they seem to have changed things and now allow signups from individuals. -- Bruce Cran From m.seaman at infracaninophile.co.uk Wed Jun 6 10:47:23 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Jun 6 10:47:30 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120606062437.41f48a9e@scorpio> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> Message-ID: <4FCF352F.7030509@infracaninophile.co.uk> On 06/06/2012 11:24, Jerry wrote: > I think you are in error there Matthew. From what I have read The $99 > goes to Verisign, not Microsoft - further once paid you can sign as > many binaries as you want. Having to pay Verisign instead of Microsoft makes no difference: the point is why should I have to pay anything to a third party in order to run whatever OS I want on a piece of hardware I own? $99 as a one-off payment might seem a trivial cost to you, so much so that you rather rashly promised to pay that for anyone. I won't hold you to it. Even so, there are several thousand readers of this list. I doubt even you could afford to subsidise very many of them... Yes UEFI Secure Boot may have been around for 8 years. The fact that no one has adopted use of it in all that time speaks volumes. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/9b26df52/signature.pgp From feenberg at nber.org Wed Jun 6 11:26:30 2012 From: feenberg at nber.org (Daniel Feenberg) Date: Wed Jun 6 11:26:37 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF0772.8000609@FreeBSD.org> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> Message-ID: On Wed, 6 Jun 2012, Matthew Seaman wrote: > On 05/06/2012 23:10, Jerry wrote: >> I thought this URL also shown >> above, answered that question. > > Signing bootloaders and kernels etc. seems superficially like a good > idea to me. However, instant reaction is that this is definitely *not* > something that Microsoft should be in charge of. Some neutral[*] body ... > On deeper thought though, the whole idea appears completely unworkable. > It means that you will not be able to compile your own kernel or > drivers unless you have access to a signing key. As building your own You don't need the signing key if you turn off secure boot in the CMOS. The fedora folk are worried that naive desktop users will not be able to do that, and usage of linux will be impeded. It won't be a significant impediment to users capable of compiling their own kernel. > is pretty fundamental to the FreeBSD project, the logical consequence is > that FreeBSD source should come with a signing key for anyone to use. > > Which completely abrogates the whole point of signing > bootloaders/kernels in the first place: anyone wishing to create malware > would be able to sign whatever they want using such a key. It's > DRM-level stupidity all over again. I do wonder about that. What incentive does the possesor of a signing key have to keep it secret? Apple keeps it's signing key secret because it gets a share of revenue from the sale of apps. If the fedora key became known it wouldn't hurt fedora. Can the UEFI BIOS consult a list of revoked keys online? That would be surprising. dan feenberg From m.e.sanliturk at gmail.com Wed Jun 6 11:28:15 2012 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Wed Jun 6 11:28:26 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF352F.7030509@infracaninophile.co.uk> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> <4FCF352F.7030509@infracaninophile.co.uk> Message-ID: On Wed, Jun 6, 2012 at 3:47 AM, Matthew Seaman < m.seaman@infracaninophile.co.uk> wrote: > On 06/06/2012 11:24, Jerry wrote: > > I think you are in error there Matthew. From what I have read The $99 > > goes to Verisign, not Microsoft - further once paid you can sign as > > many binaries as you want. > > Having to pay Verisign instead of Microsoft makes no difference: the > point is why should I have to pay anything to a third party in order to > run whatever OS I want on a piece of hardware I own? > > $99 as a one-off payment might seem a trivial cost to you, so much so > that you rather rashly promised to pay that for anyone. I won't hold you > to it. Even so, there are several thousand readers of this list. I > doubt even you could afford to subsidise very many of them... > > Yes UEFI Secure Boot may have been around for 8 years. The fact that no > one has adopted use of it in all that time speaks volumes. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > > What will be the usefulness of a security key for an Open Source Operating System when people are not using mostly "proprietary" binary packages and nearly all of the supplied binary packages have accompanying sources ? When FreeBSD is installing a binary package or making a port , it is ALWAYS checking integrity of installed parts . Then is there a necessity of a "Security Key" obtained by paying money ? In Turkish literature , there is a person named as "Deli Dumrul" means "Crazy Dumrul" where his name is "Dumrul" . "Crazy Dumrul" constructed a bridge over a dried river . If any one passes from the bridge , he was taking money for passing over the bridge for "Using the Bridge" , and , if any one is NOT passing from the bridge , and walking over the dried river , he was taking money for "Not to Use the Bridge" . It seems that "History is Repeating" .... Thank you very much . Mehmet Erol Sanliturk From kwel_mihai at yahoo.com Wed Jun 6 11:36:27 2012 From: kwel_mihai at yahoo.com (kwel kwel) Date: Wed Jun 6 11:36:38 2012 Subject: freebsd-questions Digest, Vol 418, Issue 7 In-Reply-To: <20120606103906.8BDCF106578C@hub.freebsd.org> References: <20120606103906.8BDCF106578C@hub.freebsd.org> Message-ID: <1338982579.34045.YahooMailNeo@web114108.mail.gq1.yahoo.com> Please remove my email from your database i don't want to receive any other mail from you plzz thanks ! ________________________________ From: "freebsd-questions-request@freebsd.org" To: freebsd-questions@freebsd.org Sent: Wednesday, June 6, 2012 1:39 PM Subject: freebsd-questions Digest, Vol 418, Issue 7 Send freebsd-questions mailing list submissions to ??? freebsd-questions@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@freebsd.org You can reach the person managing the list at ??? freebsd-questions-owner@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 this something we (as consumers of FreeBSD) need to be ? ? ? aware of? (Daniel Feenberg) ? 2. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware of?] (Jerry) ? 3. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware of? (Jerry) ? 4. implementing ipv6 into my ipfw ruleset... (Jason Usher) ? 5. Re: how do I? fix this? (Gary Kline) ? 6. Curiousity ? (Geir Svalland) ? 7. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware of? (Daniel Feenberg) ? 8. Re: /usr/bin/find - binary operands howto (grarpamp) ? 9. FreeBSD9 - I can't get my mouse to work (Walter Hurry) ? 10. Re: FreeBSD9 - I can't get my mouse to work (Bernt Hansson) ? 11. Re: FreeBSD9 - I can't get my mouse to work (Walter Hurry) ? 12. Re: FreeBSD9 - I can't get my mouse to work (Warren Block) ? 13. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware of? (Chris Hill) ? 14. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware of? (Mike Jeays) ? 15. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware??? of? (Waitman Gobble) ? 16. Re: FreeBSD9 - I can't get my mouse to work (Walter Hurry) ? 17. Re: FreeBSD9 - I can't get my mouse to work (Scott Ballantyne) ? 18. Re: FreeBSD9 - I can't get my mouse to work (Erich) ? 19. Re: FreeBSD9 - I can't get my mouse to work (Waitman Gobble) ? 20. Re: FreeBSD9 - I can't get my mouse to work (Erich Dollansky) ? 21. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware of? (Matthew Seaman) ? 22. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware of? (Bruce Cran) ? 23. isc-dhcpd - logging client transactions (Ewald Jenisch) ? 24. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware of? (Matthew Seaman) ? 25. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware??? of? (Mehmet Erol Sanliturk) ? 26. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware??? of?? (Julian H. Stacey) ? 27. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware of? (Jerry) ? 28. Re: Is this something we (as consumers of FreeBSD) need to be ? ? ? aware of? (Bruce Cran) ---------------------------------------------------------------------- Message: 1 Date: Tue, 5 Jun 2012 17:00:14 -0400 (EDT) From: Daniel Feenberg Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of? To: Polytropon Cc: Kurt Buff , FreeBSD Questions ??? Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 5 Jun 2012, Polytropon wrote: > On Tue, 5 Jun 2012 11:19:26 -0700, Kurt Buff wrote: >> UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries >> http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > > I may reply with another link: > http://mjg59.dreamwidth.org/12368.html > I have a pretty basic question that probably displays some ignorance... Does the loader need to be signed? Once signed, can it load anything, or just things MS has approved? If MS signs the kernel, can the kernel run anything, or just things MS has approved? If RH has a signed kernel, do they have to sign all the userland programs that run under that kernel? Can users sign programs compiled from source? If MS only has to sign the first link in the chain, then the $99 certificate is not really a problem except for the pure of heart. If MS or someone else has to sign all the way down to the userland binaries, then users of FreeBSD will have to turn off secure boot in CMOS, and it will lose a few users. But I can't tell from the discussions mentioned above. Either way, I don't think it will destroy FreeBSD, or Linux, but I would be interested anyway. Daniel Feenberg ------------------------------ Message: 2 Date: Tue, 5 Jun 2012 17:20:46 -0400 From: Jerry Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of?] To: FreeBSD Message-ID: <20120605172046.2571e964@scorpio> Content-Type: text/plain; charset=UTF-8 On Tue, 5 Jun 2012 13:19:00 -0700 Colin Barnabas articulated: >History show us that _everything_ will eventually run *nix. Perhaps, but *nix will not run everything. >Take a look at the Sony PS3 debacle. After Sony yanked support for >installing other OS's, the community ripped apart their >hypervisor in a matter of months. If these boot keys do gain any >momentum, sooner than later the community with poke holes in the >system. Which, depending on how the end user or his flunky "poke holes" in the system, may allow vendors to disallow warranty claims. The question that I have not seen answered in this thread is what FreeBSD intents to do. From what I have seen, most FreeBSD users do not use the latest versions of most hardware, so it may be a while before its user base is even effected. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ ------------------------------ Message: 3 Date: Tue, 5 Jun 2012 18:10:55 -0400 From: Jerry Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of? To: FreeBSD Message-ID: <20120605181055.4af65fdb@scorpio> Content-Type: text/plain; charset=UTF-8 On Tue, 5 Jun 2012 17:00:14 -0400 (EDT) Daniel Feenberg articulated: >On Tue, 5 Jun 2012, Polytropon wrote: > >> On Tue, 5 Jun 2012 11:19:26 -0700, Kurt Buff wrote: >>> UEFI considerations drive Fedora to pay MSFT to sign their kernel >>> binaries >>> http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ >> >> I may reply with another link: >> http://mjg59.dreamwidth.org/12368.html > >I have a pretty basic question that probably displays some ignorance... > >Does the loader need to be signed? Once signed, can it load anything, >or just things MS has approved? If MS signs the kernel, can the kernel >run anything, or just things MS has approved? If RH has a signed >kernel, do they have to sign all the userland programs that run under >that kernel? Can users sign programs compiled from source? > >If MS only has to sign the first link in the chain, then the $99 >certificate is not really a problem except for the pure of heart. If >MS or someone else has to sign all the way down to the userland >binaries, then users of FreeBSD will have to turn off secure boot in >CMOS, and it will lose a few users. But I can't tell from the >discussions mentioned above. Either way, I don't think it will destroy >FreeBSD, or Linux, but I would be interested anyway. I thought this URL also shown above, answered that question. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ ------------------------------ Message: 4 Date: Tue, 5 Jun 2012 15:12:06 -0700 (PDT) From: Jason Usher Subject: implementing ipv6 into my ipfw ruleset... To: freebsd-questions@freebsd.org Message-ID: ??? <1338934326.88519.YahooMailClassic@web122502.mail.ne1.yahoo.com> Content-Type: text/plain; charset=us-ascii I have a fairly simple ipfw ruleset, which looks like: 100 allow tcp from any to any established 110 allow icmp from any to any icmptypes 0,3,8,11 120 deny icmp from any to any 130 allow ip from any to any via lo0 200 allow udp from me to any 53 210 allow udp from any 53 to me 220 allow udp from any to me 33433-33499 230 allow tcp from any to 82.197.184.219 22,80,443 setup 65000 deny log ip from any to me 65001 deny log ip from any to me6 What I am wondering is, am I blocking all ipv6 traffic by not explicitly allowing ipv6 in (for the established rule 100, icmp rule 110, and the entire block of 200-230) ? Or, since that is all tcp/udp/icmp, it doesn't matter, and I am properly allowing in ipv6 traffic, but ONLY for the tcp/udp ports I specify, and then blocking the rest ? Basically:? how is my ruleset treating ipv6 traffic (other than the fact that, at the end of the set, I deny all ipv6 that has gotten to that point) thank you. ------------------------------ Message: 5 Date: Tue, 5 Jun 2012 15:34:27 -0700 From: Gary Kline Subject: Re: how do I? fix this? To: Roland Smith Cc: FreeBSD Message-ID: <20120605223427.GC23645@thought.org> Content-Type: text/plain; charset=us-ascii On Tue, Jun 05, 2012 at 08:04:35AM +0200, Roland Smith wrote: > Date: Tue, 5 Jun 2012 08:04:35 +0200 > From: Roland Smith > Subject: Re: how do I? fix this? > To: Gary Kline > Cc: FreeBSD > > On Mon, Jun 04, 2012 at 09:53:11PM -0700, Gary Kline wrote: > > ??? no joy.? I did another full upgrade.? first time in many > > ??? months.? then spent a couple hours with portmaster (thank > > ??? you, Roland:).? this as a first upgrade.? > > Make sure you update portmaster first. The latest versions have significant > improvements. Also there has recently been a upgrade of libPNG, requiring a > rebuild of everything that needs it. ??? pretty sure that I did exactly that. > > > ??? what I? want to do is get as current as possible and then > > ??? install 7.5.? and stay there. > > 7.5 what? Do you mean Xorg? Please try and be specific. ??? FreeBSD-7.5.? pretty sure I saw something about 7.4 being ??? upgraded to 7.5.? I've been at FBSD-7.3 for a long ti me.? I ??? dont remember how many times I have upgraded this release, ??? but it has been solid.? > > >? another question involves > > ??? accepting the "3-D" windows with whatever options they might > > ??? present. > > You mean the options dialogs as run by 'make config'? ??? exactly.? > Portmaster will first > recurse through the port and all of its dependencies (if any) to handle any > port OPTIONS via the 'make config' interface, before going off on the big > build. ??? one thing ive been doing is de-selection most? of the ??? options..? the box is my server. we [freebsders] have lost ??? the desktop 'market' ....? > > > is there any upgrade utility or flag that will > > accept and upgrade things without me having to be here? > > Yes and no. With the latest portmaster you can use the -y flag to > automatically answer "yes" to all questions. But some ports are marked as > "interactive", in the sense that they need you to give some input. Or they are > marked as "restricted" in that you might have to go and download the tarball > yourself somewhere. These are properties of the ports system and the > individual ports. No port build tool can override that. > > BTW, use the -R flag with portmaster. If a long build fails, it skips already > updated stuff on the second try. ??? super; I'll add -yR to the argv list. tx again, ??? gary > > Roland > -- > R.F.Smith? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? http://rsmith.home.xs4all.nl/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914? B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline? kline@thought.org? http://www.thought.org? Public Service Unix ? ? Voice By Computer (for Universal Access): http:/www.thought.org/vbc ? ? ? ? ? The 8.57a release of Jottings: http://jottings.thought.org ? ? ? ? ? ? Twenty-five years of service to the Unix community. ------------------------------ Message: 6 Date: Wed, 6 Jun 2012 00:20:11 +0200 From: "Geir Svalland" Subject: Curiousity ? To: Message-ID: <001d01cd4369$5ff8f270$1fead750$@svalland@bredband.net> Content-Type: text/plain;??? charset="us-ascii" Hello friends? ( old ) I've moved over ( tried other, but not so further paths ) No, not all , but my butter and bread :? my gateway Also servers as my mail and DNS among others >From FreeBSD? to? OpenBSD Fckg gays, you want so much, but do we want it ? All this going from bsd to clang and what ever ? Get a clear? step by step howto, and don't't fck belive all others are whizzards ? Hasse Hansson ------------------------------ Message: 7 Date: Tue, 5 Jun 2012 18:49:14 -0400 (EDT) From: Daniel Feenberg Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of? To: FreeBSD Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 5 Jun 2012, Jerry wrote: > On Tue, 5 Jun 2012 17:00:14 -0400 (EDT) > Daniel Feenberg articulated: > >> On Tue, 5 Jun 2012, Polytropon wrote: >> >>> On Tue, 5 Jun 2012 11:19:26 -0700, Kurt Buff wrote: >>>> UEFI considerations drive Fedora to pay MSFT to sign their kernel >>>> binaries >>>> http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ >>> >>> I may reply with another link: >>> http://mjg59.dreamwidth.org/12368.html >> >> I have a pretty basic question that probably displays some ignorance... >> >> Does the loader need to be signed? Once signed, can it load anything, >> or just things MS has approved? If MS signs the kernel, can the kernel >> run anything, or just things MS has approved? If RH has a signed >> kernel, do they have to sign all the userland programs that run under >> that kernel? Can users sign programs compiled from source? >> >> If MS only has to sign the first link in the chain, then the $99 >> certificate is not really a problem except for the pure of heart. If >> MS or someone else has to sign all the way down to the userland >> binaries, then users of FreeBSD will have to turn off secure boot in >> CMOS, and it will lose a few users. But I can't tell from the >> discussions mentioned above. Either way, I don't think it will destroy >> FreeBSD, or Linux, but I would be interested anyway. > > I thought this URL also shown > above, answered that question. It says "once paid you can sign as many binaries as you want" but I don't know if that means "as many different binaries" or "as many copies of the same binary". Later it says they will write a new bootloader that MS will sign and "adding support for verifying that the kernel it's about to boot is signed with a trusted key" but I don't know if that kernel is signed by MS or RH, or if MS gets to approve it. Finally it says "we'll be sanitising the kernel command line to avoid certain bits of functionality that would permit an attacker to cause even a signed kernel to launch arbitrary code" but does "arbitrary code" refer to something I would want to do as a sys-admin? dan feenberg ------------------------------ Message: 8 Date: Tue, 5 Jun 2012 19:02:18 -0400 From: grarpamp Subject: Re: /usr/bin/find - binary operands howto To: freebsd-questions@freebsd.org Message-ID: ??? Content-Type: text/plain; charset=UTF-8 A single find already had the needed selection and execution ops. So I was trying it first, before writing an external parser, etc. It's still not clear to me how find is compiling the arguments internally, but using -vv on the utils helped a lot. After adding -false after all the -exec's, it now works as desired up against my array of inodes. I also worked in a pre-change, select, ls. The arbitrary format of gfind is interesting. It can maybe be approximated in find with -exec ls someargs {} \+. ------------------------------ Message: 9 Date: Tue, 5 Jun 2012 23:14:35 +0000 (UTC) From: Walter Hurry Subject: FreeBSD9 - I can't get my mouse to work To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=UTF-8 Firstly, sorry if this is a bit of a newbie question. I am quite new to FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD is fine, except that no matter what I try I cannot get the (USB) mouse to work. I have scoured the handbook, and Googled, but to no avail. This is 9.0-RELEASE on amd64 - fully updated. I don't need the mouse in consoles, but I do want it in X. Here is my xorg.conf in its entirety: ################################## Section "ServerLayout" ? ? Identifier? ? "XFree86 Configured" ? ? Screen? ? ? 0? "Screen0" 0 0 ? ? InputDevice? ? "Mouse0" "CorePointer" ? ? InputDevice? ? "Keyboard0" "CoreKeyboard" ? ? Option? ? ? ? "Clone" "off" EndSection Section "ServerFlags" Option? ? ? ? "AutoAddDevices" "On" EndSection Section "Files" ? ? ModulePath? "/usr/local/lib/xorg/modules" ? ? FontPath? ? "/usr/local/lib/X11/fonts/Liberation/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/LinLibertineG/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/OTF/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/TTF/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/bitstream-vera/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/dejavu/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/URW/" EndSection Section "Module" ? ? Load? ? ? ? ? "ddc" ? ? Load? ? ? ? ? "dbe" ? ? Load? ? ? ? ? "extmod" EndSection Section "InputDevice" ? ? Identifier? ? "Keyboard0" ? ? Driver? ? ? ? "keyboard" ? ? Option? ? ? ? "XkbModel" "pc105" ? ? Option? ? ? ? "XkbLayout" "gb" EndSection Section "InputDevice" ? ? Identifier? ? "Mouse0" ? ? Driver? ? ? ? "mouse" ? ? Option? ? ? ? "Protocol" "auto" ? ? Option? ? ? ? "Device" "/dev/sysmouse" EndSection Section "Monitor" ? ? Identifier? ? "Monitor0" ? ? VendorName? ? "Monitor Vendor" ? ? ModelName? ? ? "Monitor Model" EndSection Section "ServerLayout" ? ? Identifier? ? "XFree86 Configured" ? ? Screen? ? ? 0? "Screen0" 0 0 ? ? InputDevice? ? "Mouse0" "CorePointer" ? ? InputDevice? ? "Keyboard0" "CoreKeyboard" ? ? Option? ? ? ? "Clone" "off" EndSection Section "ServerFlags" Option? ? ? ? "AutoAddDevices" "On" EndSection Section "Files" ? ? ModulePath? "/usr/local/lib/xorg/modules" ? ? FontPath? ? "/usr/local/lib/X11/fonts/Liberation/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/LinLibertineG/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/OTF/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/TTF/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/bitstream-vera/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/dejavu/" ? ? FontPath? ? "/usr/local/lib/X11/fonts/URW/" EndSection Section "Module" ? ? Load? ? ? ? ? "ddc" ? ? Load? ? ? ? ? "dbe" ? ? Load? ? ? ? ? "extmod" EndSection Section "InputDevice" ? ? Identifier? ? "Keyboard0" ? ? Driver? ? ? ? "keyboard" ? ? Option? ? ? ? "XkbModel" "pc105" ? ? Option? ? ? ? "XkbLayout" "gb" EndSection Section "InputDevice" ? ? Identifier? ? "Mouse0" ? ? Driver? ? ? ? "mouse" ? ? Option? ? ? ? "Protocol" "auto" ? ? Option? ? ? ? "Device" "/dev/sysmouse" EndSection Section "Monitor" ? ? Identifier? ? "Monitor0" ? ? VendorName? ? "Monitor Vendor" ? ? ModelName? ? ? "Monitor Model" EndSection Section "Device" ? ? Identifier? ? "Card0" ? ? Screen? ? ? ? ? 0 ? ? Driver? ? ? ? "radeonhd" ? ? VendorName? ? "Radeon Video Driver" ? ? Option? ? ? ? "XAANoOffscreenPixmaps" "true" ? ? Option? ? ? ? "AccelMethod" "EXA" ? ? Option? ? ? ? "DRI" "true" ? ? BusID? ? ? ? ? "PCI:1:5:0" EndSection Section "Screen" ? ? Identifier? ? "Screen0" ? ? Device? ? ? ? "Card0" ? ? Monitor? ? ? ? "Monitor0" ? ? DefaultDepth? 24 ? ? SubSection? ? "Display" ? ? ? ? Depth? ? ? 24 ? ? ? ? Modes? ? ? "1366x768" ? ? EndSubSection EndSection ################################## and here are the relevant Xorg.0.log messages: ################################## (EE) config/hal: couldn't initialise context: unknown error (null) (EE) xf86OpenSerial: Cannot open device /dev/psm0 (EE) PS/2 Mouse: cannot open input device (EE) PreInit returned NULL for "PS/2 Mouse" (EE) config/hal: NewInputDeviceRequest failed (8) ((WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 (WW) Usb Mouse: No Device specified, looking for one... (WW) PS/2 Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... (WW) Usb Mouse: No Device specified, looking for one... ################################## Can anyone assist with this? ------------------------------ Message: 10 Date: Wed, 06 Jun 2012 01:22:51 +0200 From: Bernt Hansson Subject: Re: FreeBSD9 - I can't get my mouse to work To: Walter Hurry Cc: freebsd-questions@freebsd.org Message-ID: <4FCE94CB.4060309@bananmonarki.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 2012-06-06 01:14, Walter Hurry skrev: > Firstly, sorry if this is a bit of a newbie question. I am quite new to > FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD > is fine, except that no matter what I try I cannot get the (USB) mouse to > work. > > I have scoured the handbook, and Googled, but to no avail. > > This is 9.0-RELEASE on amd64 - fully updated. > > I don't need the mouse in consoles, but I do want it in X. > > Here is my xorg.conf in its entirety: > > ################################## > Section "ServerLayout" >? ? ? Identifier? ? "XFree86 Configured" >? ? ? Screen? ? ? 0? "Screen0" 0 0 >? ? ? InputDevice? ? "Mouse0" "CorePointer" >? ? ? InputDevice? ? "Keyboard0" "CoreKeyboard" >? ? ? Option? ? ? ? "Clone" "off" > EndSection > > Section "ServerFlags" > Option? ? ? ? "AutoAddDevices" "On" Set this to off. > EndSection > > Section "Files" >? ? ? ModulePath? "/usr/local/lib/xorg/modules" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/Liberation/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/LinLibertineG/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/OTF/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/TTF/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/bitstream-vera/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/dejavu/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/URW/" > EndSection > > Section "Module" >? ? ? Load? ? ? ? ? "ddc" >? ? ? Load? ? ? ? ? "dbe" >? ? ? Load? ? ? ? ? "extmod" > EndSection > > Section "InputDevice" >? ? ? Identifier? ? "Keyboard0" >? ? ? Driver? ? ? ? "keyboard" >? ? ? Option? ? ? ? "XkbModel" "pc105" >? ? ? Option? ? ? ? "XkbLayout" "gb" > EndSection > > Section "InputDevice" >? ? ? Identifier? ? "Mouse0" >? ? ? Driver? ? ? ? "mouse" >? ? ? Option? ? ? ? "Protocol" "auto" >? ? ? Option? ? ? ? "Device" "/dev/sysmouse" > EndSection > > Section "Monitor" >? ? ? Identifier? ? "Monitor0" >? ? ? VendorName? ? "Monitor Vendor" >? ? ? ModelName? ? ? "Monitor Model" > EndSection > > > Section "ServerLayout" >? ? ? Identifier? ? "XFree86 Configured" >? ? ? Screen? ? ? 0? "Screen0" 0 0 >? ? ? InputDevice? ? "Mouse0" "CorePointer" >? ? ? InputDevice? ? "Keyboard0" "CoreKeyboard" >? ? ? Option? ? ? ? "Clone" "off" > EndSection > > Section "ServerFlags" > Option? ? ? ? "AutoAddDevices" "On" > EndSection > > Section "Files" >? ? ? ModulePath? "/usr/local/lib/xorg/modules" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/Liberation/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/LinLibertineG/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/OTF/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/TTF/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/bitstream-vera/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/dejavu/" >? ? ? FontPath? ? "/usr/local/lib/X11/fonts/URW/" > EndSection > > Section "Module" >? ? ? Load? ? ? ? ? "ddc" >? ? ? Load? ? ? ? ? "dbe" >? ? ? Load? ? ? ? ? "extmod" > EndSection > > Section "InputDevice" >? ? ? Identifier? ? "Keyboard0" >? ? ? Driver? ? ? ? "keyboard" >? ? ? Option? ? ? ? "XkbModel" "pc105" >? ? ? Option? ? ? ? "XkbLayout" "gb" > EndSection > > Section "InputDevice" >? ? ? Identifier? ? "Mouse0" >? ? ? Driver? ? ? ? "mouse" >? ? ? Option? ? ? ? "Protocol" "auto" >? ? ? Option? ? ? ? "Device" "/dev/sysmouse" > EndSection > > Section "Monitor" >? ? ? Identifier? ? "Monitor0" >? ? ? VendorName? ? "Monitor Vendor" >? ? ? ModelName? ? ? "Monitor Model" > EndSection > > > Section "Device" >? ? ? Identifier? ? "Card0" >? ? ? Screen? ? ? ? ? 0 >? ? ? Driver? ? ? ? "radeonhd" >? ? ? VendorName? ? "Radeon Video Driver" >? ? ? Option? ? ? ? "XAANoOffscreenPixmaps" "true" >? ? ? Option? ? ? ? "AccelMethod" "EXA" >? ? ? Option? ? ? ? "DRI" "true" >? ? ? BusID? ? ? ? ? "PCI:1:5:0" > EndSection > > > Section "Screen" >? ? ? Identifier? ? "Screen0" >? ? ? Device? ? ? ? "Card0" >? ? ? Monitor? ? ? ? "Monitor0" >? ? ? DefaultDepth? 24 >? ? ? SubSection? ? "Display" >? ? ? ? ? Depth? ? ? 24 >? ? ? ? ? Modes? ? ? "1366x768" >? ? ? EndSubSection > EndSection > ################################## > > and here are the relevant Xorg.0.log messages: > > ################################## > (EE) config/hal: couldn't initialise context: unknown error (null) > (EE) xf86OpenSerial: Cannot open device /dev/psm0 > (EE) PS/2 Mouse: cannot open input device > (EE) PreInit returned NULL for "PS/2 Mouse" > (EE) config/hal: NewInputDeviceRequest failed (8) > ((WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or > 'vmmouse' will be disabled. > (WW) Disabling Mouse0 > (WW) Disabling Keyboard0 > (WW) Usb Mouse: No Device specified, looking for one... > (WW) PS/2 Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > (WW) Usb Mouse: No Device specified, looking for one... > ################################## > > Can anyone assist with this? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > ------------------------------ Message: 11 Date: Tue, 5 Jun 2012 23:26:24 +0000 (UTC) From: Walter Hurry Subject: Re: FreeBSD9 - I can't get my mouse to work To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=UTF-8 On Tue, 05 Jun 2012 23:14:35 +0000, Walter Hurry wrote: > Firstly, sorry if this is a bit of a newbie question. I am quite new to > FreeBSD (though fairly experienced at Linux). Almost everything in > FreeBSD is fine, except that no matter what I try I cannot get the (USB) > mouse to work. > > Can anyone assist with this? > One bit of information which might be relevant: This is a laptop with a built-in touchpad. The touchpad works, even though I have made no configuration changes for it. Unfortunately, as I said, the mouse doesn't. ------------------------------ Message: 12 Date: Tue, 5 Jun 2012 17:40:06 -0600 (MDT) From: Warren Block Subject: Re: FreeBSD9 - I can't get my mouse to work To: Walter Hurry Cc: freebsd-questions@freebsd.org Message-ID: Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII On Tue, 5 Jun 2012, Walter Hurry wrote: > Firstly, sorry if this is a bit of a newbie question. I am quite new to > FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD > is fine, except that no matter what I try I cannot get the (USB) mouse to > work. > > I have scoured the handbook, and Googled, but to no avail. > > This is 9.0-RELEASE on amd64 - fully updated. > > I don't need the mouse in consoles, but I do want it in X. > > Here is my xorg.conf in its entirety: There are duplicated sections in the output provided. > ################################## > Section "ServerLayout" >? ? Identifier? ? "XFree86 Configured" >? ? Screen? ? ? 0? "Screen0" 0 0 >? ? InputDevice? ? "Mouse0" "CorePointer" >? ? InputDevice? ? "Keyboard0" "CoreKeyboard" >? ? Option? ? ? ? "Clone" "off" > EndSection > > Section "ServerFlags" > Option? ? ? ? "AutoAddDevices" "On" > EndSection Setting AutoAddDevices on means to use HAL for mouse detection.? Is HAL running? On one notebook, I had to set moused_enable="YES" in /etc/rc.conf before both the touchpad and an external mouse would work. ------------------------------ Message: 13 Date: Tue, 5 Jun 2012 19:57:30 -0400 (EDT) From: Chris Hill Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of? To: G?k?in Akdeniz Cc: Bruce Cran , Kurt Buff , ??? FreeBSD Questions Message-ID: ??? Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 5 Jun 2012, G?k?in Akdeniz wrote: > For the time being only ARM platform is restricted. True, but I would be astonished if this restriction were not expanded by MS in the future. Just my opinion, but I believe their ultimate goal is to add platforms until the "secure boot" restriction encompasses most or all desktop and server hardware. This would be over a period of years. -- Chris Hill? ? ? ? ? ? ? chris@monochrome.org **? ? ? ? ? ? ? ? ? ? [ Busy Expunging ] ------------------------------ Message: 14 Date: Tue, 5 Jun 2012 21:33:58 -0400 From: Mike Jeays Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of? To: freebsd-questions@freebsd.org Message-ID: <20120605213358.5047d683@europa> Content-Type: text/plain; charset=US-ASCII On Tue, 5 Jun 2012 19:57:30 -0400 (EDT) Chris Hill wrote: > On Tue, 5 Jun 2012, G?k?in Akdeniz wrote: > > > For the time being only ARM platform is restricted. > > True, but I would be astonished if this restriction were not expanded by > MS in the future. Just my opinion, but I believe their ultimate goal is > to add platforms until the "secure boot" restriction encompasses most or > all desktop and server hardware. This would be over a period of years. > > -- > Chris Hill? ? ? ? ? ? ? chris@monochrome.org > **? ? ? ? ? ? ? ? ? ? [ Busy Expunging ] > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" This seems all too likely to me. I expect it will become very hard to find a consumer laptop that will run other operating systems in a few years. There won't be any in Best Buy or Staples, one can be pretty sure. It will be a Windows or Mac world. Not an attractive future. ------------------------------ Message: 15 Date: Tue, 5 Jun 2012 18:56:36 -0700 From: Waitman Gobble Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware??? of? To: Mike Jeays Cc: freebsd-questions@freebsd.org Message-ID: ??? Content-Type: text/plain; charset=ISO-8859-1 On Jun 5, 2012 6:35 PM, "Mike Jeays" wrote: > > On Tue, 5 Jun 2012 19:57:30 -0400 (EDT) > Chris Hill wrote: > > > On Tue, 5 Jun 2012, G?k?in Akdeniz wrote: > > > > > For the time being only ARM platform is restricted. > > > > True, but I would be astonished if this restriction were not expanded by > > MS in the future. Just my opinion, but I believe their ultimate goal is > > to add platforms until the "secure boot" restriction encompasses most or > > all desktop and server hardware. This would be over a period of years. > > > > -- > > Chris Hill? ? ? ? ? ? ? chris@monochrome.org > > **? ? ? ? ? ? ? ? ? ? [ Busy Expunging ] > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" > > This seems all too likely to me. I expect it will become very hard to find a consumer laptop that will run other operating systems in a few years. There won't be any in Best Buy or Staples, one can be pretty sure. It will be a Windows or Mac world. Not an attractive future. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" I understand there are only a few (like two) monster-sized computer manufacturers, which are based in China, who manufacture the massive bulk of "consumer" laptops. the name brand models in the local retail store are almost always these ODM computers with a preloaded hard drive and a fancy label w/ insignia slapped on the shell. One may purchase a "Generic" laptop to spec (without any MS stuff installed, if you so desire), for a single-unit competitive price. for example search "compal" ... i'm curious how the restricted boot scheme will come into play in these "no flashy labels" portable machines. Waitman Gobble San Jose California USA ------------------------------ Message: 16 Date: Wed, 6 Jun 2012 02:21:53 +0000 (UTC) From: Walter Hurry Subject: Re: FreeBSD9 - I can't get my mouse to work To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=UTF-8 On Wed, 06 Jun 2012 01:22:51 +0200, Bernt Hansson wrote: >> Option? ? ? ? "AutoAddDevices" "On" > > Set this to off. > Thanks for the reply. Yes, I've tried setting it to "Off", but there is no apparent difference; only a new set of messages in Xorg.0.log: (EE) config/hal: couldn't initialise context: unknown error (null) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (EE) config/hal: NewInputDeviceRequest failed (8) (WW) Mouse0: No Device specified, looking for one... ------------------------------ Message: 17 Date: 6 Jun 2012 02:05:14 -0000 From: Scott Ballantyne Subject: Re: FreeBSD9 - I can't get my mouse to work To: Walter Hurry Cc: freebsd-questions@freebsd.org Message-ID: <20120606020514.8485.qmail@irelay.ssr.com> Walter Hurry writes: > > Firstly, sorry if this is a bit of a newbie question. I am quite new to > FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD > is fine, except that no matter what I try I cannot get the (USB) mouse to > work. > > I have scoured the handbook, and Googled, but to no avail. > > This is 9.0-RELEASE on amd64 - fully updated. > > I don't need the mouse in consoles, but I do want it in X. > The clue here is 'fully updated'. The latest hald has a bug that keeps the mouse from working. If you look in your X.org.0.log you may find a section which says that /dev/ums, configured by hal, is busy, and unloads the mouse. If you don't find that, then ignore the rest of this email :) There are various "solutions" to this, one is to disable the auto configure, and add the configuration for both keyboard and mouse to the .conf file.? Another is to restart dbus and hald. You can switch to a console window from X and run this command: /usr/local/etc/rc.d/dbus restart && /usr/local/etc/rc.d/hald restart If that fixes it, then you can automate it by putting something like this in /usr/local/etc/rc.d , call it haldfixbug or something like that: ---------- #!/bin/sh # # PROVIDE: HALD_FIX_BUG # REQUIRE: hald dbus # [ "$1" = start ] && /usr/local/etc/rc.d/dbus restart && /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED" [ "$1" = faststart ] && /usr/local/etc/rc.d/dbus restart && /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED" sleep 5 exit 0 ------------- This might not work if you use startx, but should be ok with xdm or gdm. It works for me, maybe not for you. Best, Scott -- sdb@ssr.com ------------------------------ Message: 18 Date: Wed, 06 Jun 2012 09:55:08 +0700 From: Erich Subject: Re: FreeBSD9 - I can't get my mouse to work To: freebsd-questions@freebsd.org Cc: Walter Hurry Message-ID: <1923831.l0mLy8oBIz@x220.ovitrap.com> Content-Type: text/plain; charset="us-ascii" Hi I have had success on my hardware with this setting: #? ? ? ? ? ? ? The working configuration. The mouse daemon in /etc/rc.conf #? ? ? ? ? ? ? was dsabled. # #? ? ? ? ? ? ? Section "ServerLayout" #? ? ? ? ? ? ? ? ? ? ? Identifier? ? "X.org Configured" #? ? ? ? ? ? ? ? ? ? ? Screen? ? ? 0? "Screen0" 0 0 #? ? ? ? ? ? ? ? ? ? ? InputDevice? ? "Mouse0" "CorePointer" #? ? ? ? ? ? ? ? ? ? ? InputDevice? ? "Keyboard0" "CoreKeyboard" #? ? ? ? ? ? ? EndSection # #? ? ? ? ? ? ? Section "ServerFlags" #? ? ? ? ? ? ? ? ? ? ? Option? "AllowEmptyInput"? ? ? "false" #? ? ? ? ? ? ? ? ? ? ? Option? "AutoAddDevices"? ? ? ? "false" #? ? ? ? ? ? ? EndSection Turning off the mouse daemon was the key on that hardware. The same xorg settings needed the mouse daemon turned on on other hardware. Good luck! Erich On 06 June 2012 2:21:53 Walter Hurry wrote: > On Wed, 06 Jun 2012 01:22:51 +0200, Bernt Hansson wrote: > >> Option? ? ? ? "AutoAddDevices" "On" > > > > Set this to off. > > > Thanks for the reply. Yes, I've tried setting it to "Off", but there is > no apparent difference; only a new set of messages in Xorg.0.log: > > (EE) config/hal: couldn't initialise context: unknown error (null) > (EE) config/hal: NewInputDeviceRequest failed (8) > (EE) config/hal: NewInputDeviceRequest failed (8) > (EE) config/hal: NewInputDeviceRequest failed (8) > (EE) config/hal: NewInputDeviceRequest failed (8) > (EE) config/hal: NewInputDeviceRequest failed (8) > (EE) config/hal: NewInputDeviceRequest failed (8) > (WW) Mouse0: No Device specified, looking for one... > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > ------------------------------ Message: 19 Date: Tue, 5 Jun 2012 19:59:48 -0700 From: Waitman Gobble Subject: Re: FreeBSD9 - I can't get my mouse to work To: freebsd-questions@freebsd.org Message-ID: ??? Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jun 5, 2012 at 7:05 PM, Scott Ballantyne wrote: >? Walter Hurry writes: > > > > > Firstly, sorry if this is a bit of a newbie question. I am quite new to > > FreeBSD (though fairly experienced at Linux). Almost everything in > FreeBSD > > is fine, except that no matter what I try I cannot get the (USB) mouse to > > work. > > > > I have scoured the handbook, and Googled, but to no avail. > > > > This is 9.0-RELEASE on amd64 - fully updated. > > > > I don't need the mouse in consoles, but I do want it in X. > > > > The clue here is 'fully updated'. The latest hald has a bug that keeps > the mouse from working. If you look in your X.org.0.log you may find > a section which says that /dev/ums, configured by hal, is busy, and > unloads the mouse. If you don't find that, then ignore the rest of > this email :) > > There are various "solutions" to this, one is to disable the auto > configure, and add the configuration for both keyboard and mouse to > the .conf file.? Another is to restart dbus and hald. You can switch > to a console window from X and run this command: > > /usr/local/etc/rc.d/dbus restart && /usr/local/etc/rc.d/hald restart > > If that fixes it, then you can automate it by putting something like > this in /usr/local/etc/rc.d , call it haldfixbug or something like > that: > > ---------- > #!/bin/sh > # > # PROVIDE: HALD_FIX_BUG > # REQUIRE: hald dbus > # > > [ "$1" = start ] && /usr/local/etc/rc.d/dbus restart && > /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED" > [ "$1" = faststart ] && /usr/local/etc/rc.d/dbus restart && > /usr/local/etc/rc.d/hald restart && echo "DBUS HALD BUG FIX ATTEMPTED" > sleep 5 > exit 0 > ------------- > > This might not work if you use startx, but should be ok with xdm or > gdm. It works for me, maybe not for you. > > Best, > Scott > -- > sdb@ssr.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > i'll give that a try. After updating a couple of days ago the mouse is glued to the center of the screen after starting X. I noticed if i first kill moused before startx it works fine. (moused apparently restarts). But maybe this solution will end the work-around. Waitman Gobble San Jose California USA ------------------------------ Message: 20 Date: Wed, 06 Jun 2012 10:35:14 +0700 From: Erich Dollansky Subject: Re: FreeBSD9 - I can't get my mouse to work To: freebsd-questions@freebsd.org Cc: Waitman Gobble Message-ID: <1529132.jI8PiRModA@x220.ovitrap.com> Content-Type: text/plain; charset="us-ascii" Hi, On 05 June 2012 19:59:48 Waitman Gobble wrote: > On Tue, Jun 5, 2012 at 7:05 PM, Scott Ballantyne wrote: > > i'll give that a try. After updating a couple of days ago the mouse is > glued to the center of the screen after starting X. I noticed if i first > kill moused before startx it works fine. (moused apparently restarts). But > maybe this solution will end the work-around. > I came to this the same way. X stopped working with the mouse after an upgrade many, many years ago. If it happens again, I play with the parameters in there. I have read that other people also played with HAL but I never needed so. Erich ------------------------------ Message: 21 Date: Wed, 06 Jun 2012 08:32:02 +0100 From: Matthew Seaman Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of? To: FreeBSD Cc: Jerry Message-ID: <4FCF0772.8000609@FreeBSD.org> Content-Type: text/plain; charset="utf-8" On 05/06/2012 23:10, Jerry wrote: > I thought this URL also shown > above, answered that question. Signing bootloaders and kernels etc. seems superficially like a good idea to me.? However, instant reaction is that this is definitely *not* something that Microsoft should be in charge of.? Some neutral[*] body without any commercial interests should do that job, and bootloader/kernel signing should be freely available. On deeper thought though, the whole idea appears completely unworkable. It means that you will not be able to compile your own kernel or drivers unless you have access to a signing key.? As building your own is pretty fundamental to the FreeBSD project, the logical consequence is that FreeBSD source should come with a signing key for anyone to use. Which completely abrogates the whole point of signing bootloaders/kernels in the first place: anyone wishing to create malware would be able to sign whatever they want using such a key.? It's DRM-level stupidity all over again. My conclusion: boycott products, manufacturers and/or OSes that participate in this scheme.? FreeBSD alone won't make any real difference to manufacturers, but I hope there is still enough of the original spirit of freedom within the Linux camp, and perhaps from Google/android to make an impact. I'm pretty sure there can be a way of whitelisting bootloaders and so forth to help prevent low-level malware, but this isn't it. ??? Cheers, ??? Matthew [*] I suggest ICANN might be the right sort of organization to fulfil this role. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/9d4665e5/signature-0001.pgp ------------------------------ Message: 22 Date: Wed, 06 Jun 2012 09:45:05 +0100 From: Bruce Cran Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of? To: Matthew Seaman Cc: Jerry , FreeBSD ??? Message-ID: <4FCF1891.9020006@cran.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed On 06/06/2012 08:32, Matthew Seaman wrote: > On deeper thought though, the whole idea appears completely unworkable. >? It means that you will not be able to compile your own kernel or > drivers unless you have access to a signing key.? As building your own > is pretty fundamental to the FreeBSD project, the logical consequence is > that FreeBSD source should come with a signing key for anyone to use. It just means that anyone wishing to run their own kernels would either need to disable secure boot, or purchase/create their own certificate and install it. -- Bruce Cran ------------------------------ Message: 23 Date: Wed, 6 Jun 2012 11:02:33 +0200 From: Ewald Jenisch Subject: isc-dhcpd - logging client transactions To: Message-ID: <20120606090233.GA3748@aurora.oekb.co.at> Content-Type: text/plain; charset="us-ascii" Hi, I've set up isc-dhcpd (/usr/ports/net/isc-dhcp42-server). The daemon runs, hands out IP-addresses however logging doesn't seem to work. Here's what I've got in the respective config-files: /etc/rc.conf: # dhcpd dhcpd_enable="YES" dhcpd_conf="/usr/local/etc/dhcpd.conf" dhcpd_ifaces="em0" dhcpd_withumask="022" dhcpd_chuser_enable="YES" dhcpd_withuser="dhcpd" dhcpd_withgroup="dhcpd" dhcpd_chroot_enable="YES" dhcpd_devfs_enable="YES" dhcpd_rootdir="/var/db/dhcpd" /usr/local/etc/dhcpd.conf: ... log-facility local7; /etc/syslog.conf: local7.*? ? ? ? ? ? ? ? /var/log/dhcpd.log /var/log/dhcpd.log is "touch"ed, so it exists. Also restarted syslogd and isc-dhcpd. Result: dhcpd works (i.e. I see entries in the leases-file (/var/db/dhcpd/var/db/dhcpd/dhcpd.leases) however nothing is logged to /var/log/dhcpd.log. I can rule out any error with syslogd.conf since when I start isc-dhcp "by hand" (/usr/local/sbin/dhcpd -d) I get an error message - and this one is definitely logged to /var/log/dhcpd.log. What I really need though is a log of all the DHCP-transactions, i.e. DHCP-requests, address assignments etc. Thanks much in advance for your help, -ewald ------------------------------ Message: 24 Date: Wed, 06 Jun 2012 10:38:41 +0100 From: Matthew Seaman Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of? To: Bruce Cran Cc: Jerry , FreeBSD ??? Message-ID: <4FCF2521.6090006@FreeBSD.org> Content-Type: text/plain; charset="utf-8" On 06/06/2012 09:45, Bruce Cran wrote: > On 06/06/2012 08:32, Matthew Seaman wrote: >> On deeper thought though, the whole idea appears completely unworkable. >>? It means that you will not be able to compile your own kernel or >> drivers unless you have access to a signing key.? As building your own >> is pretty fundamental to the FreeBSD project, the logical consequence is >> that FreeBSD source should come with a signing key for anyone to use. > It just means that anyone wishing to run their own kernels would either > need to disable secure boot, or purchase/create their own certificate > and install it. Indeed.? However disabling secure boot is apparently: ? * too difficult for users of Fedora ? * not possible on all platforms (arm based tablets especially) and purchasing your own certificate currently means paying $99 to Microsoft, or else getting a key from the hardware manufacturer (which I very much suspect will not be free either). While I would expect the typical FreeBSD user to be quite capable of disabling secure boot, I know that this is something that will result in realms of questions by new users, alarmist claims that "FreeBSD is not secure" and general glee amongst the "FreeBSD is dying" crowd. This is just another misconceived DRM scheme and suffers from all the same old flaws. ??? Cheers, ??? Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/7544b4d4/signature-0001.pgp ------------------------------ Message: 25 Date: Wed, 6 Jun 2012 02:46:38 -0700 From: Mehmet Erol Sanliturk Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware??? of? To: Matthew Seaman Cc: Bruce Cran , Jerry , ??? FreeBSD Message-ID: ??? Content-Type: text/plain; charset=UTF-8 On Wed, Jun 6, 2012 at 2:38 AM, Matthew Seaman wrote: > On 06/06/2012 09:45, Bruce Cran wrote: > > On 06/06/2012 08:32, Matthew Seaman wrote: > >> On deeper thought though, the whole idea appears completely unworkable. > >>? It means that you will not be able to compile your own kernel or > >> drivers unless you have access to a signing key.? As building your own > >> is pretty fundamental to the FreeBSD project, the logical consequence is > >> that FreeBSD source should come with a signing key for anyone to use. > > > It just means that anyone wishing to run their own kernels would either > > need to disable secure boot, or purchase/create their own certificate > > and install it. > > Indeed.? However disabling secure boot is apparently: > >? * too difficult for users of Fedora > >? * not possible on all platforms (arm based tablets especially) > > and purchasing your own certificate currently means paying $99 to > Microsoft, or else getting a key from the hardware manufacturer (which I > very much suspect will not be free either). > > While I would expect the typical FreeBSD user to be quite capable of > disabling secure boot, I know that this is something that will result in > realms of questions by new users, alarmist claims that "FreeBSD is not > secure" and general glee amongst the "FreeBSD is dying" crowd. > > This is just another misconceived DRM scheme and suffers from all the > same old flaws. > >? ? ? ? Cheers, > >? ? ? ? Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. > PGP: http://www.infracaninophile.co.uk/pgpkey > > > http://www.infoworld.com/t/hacking/tech-behind-flame-attack-could-compromise-microsoft-update-194867 Thank you very much . Mehmet Erol Sanliturk ------------------------------ Message: 26 Date: Wed, 06 Jun 2012 01:37:18 +0200 From: "Julian H. Stacey" Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware??? of? To: FreeBSD Questions Message-ID: <201206052338.q55NbIWr062787@fire.js.berklix.net> jerrymc@msu.edu wrote: > Quoting Kurt Buff : > > > UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries > > http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > > > > This would seem to make compiling from source difficult. > > > > I don't see how this MS scam is even at all legal. > It is clearly restraint of trade and probably violates some other > related laws too. A shame Bush blocked dismembering monopolist Microsoft.? The last enormous fines Microsoft paid the EU for monopoly abuse, presumably failed to discipline Microsoft. Time for increased fines, till Microsoft stops abusing its monooly. Would be nice if the fines were so high it forced a free recall by hardware vendors to fix, if it can't be fixed with a UEFI net upgrade. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. ??? Mail from @yahoo dumped @berklix.? http://berklix.org/yahoo/ ------------------------------ Message: 27 Date: Wed, 6 Jun 2012 06:24:37 -0400 From: Jerry Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of? To: FreeBSD Message-ID: <20120606062437.41f48a9e@scorpio> Content-Type: text/plain; charset="utf-8" On Wed, 06 Jun 2012 10:38:41 +0100 Matthew Seaman articulated: >On 06/06/2012 09:45, Bruce Cran wrote: >> On 06/06/2012 08:32, Matthew Seaman wrote: >>> On deeper thought though, the whole idea appears completely >>> unworkable. It means that you will not be able to compile your own >>> kernel or drivers unless you have access to a signing key.? As >>> building your own is pretty fundamental to the FreeBSD project, the >>> logical consequence is that FreeBSD source should come with a >>> signing key for anyone to use. > >> It just means that anyone wishing to run their own kernels would >> either need to disable secure boot, or purchase/create their own >> certificate and install it. > >Indeed.? However disabling secure boot is apparently: > >? * too difficult for users of Fedora > >? * not possible on all platforms (arm based tablets especially) > >and purchasing your own certificate currently means paying $99 to >Microsoft, or else getting a key from the hardware manufacturer (which >I very much suspect will not be free either). I think you are in error there Matthew. From what I have read The $99 goes to Verisign, not Microsoft - further once paid you can sign as many binaries as you want. >While I would expect the typical FreeBSD user to be quite capable of >disabling secure boot, I know that this is something that will result >in realms of questions by new users, alarmist claims that "FreeBSD is >not secure" and general glee amongst the "FreeBSD is dying" crowd. > >This is just another misconceived DRM scheme and suffers from all the >same old flaws. I don't feel this is misconceived at all. Again, from what I have read, most non-Microsoft operating systems have been able to use UEFI Secure Boot for nearly eight years; however, they have actively refused to do so. However, now Microsoft has stepped up to the plate and is actively taking advantage of the scheme. Actually, Microsoft has been issuing warnings for ten years when a user would attempt to install unsigned drivers. Now the FOSS community is getting its knickers in a knot. They should have taken this into account a long time ago. In any case, we are talking $99 dollars total, not per user here for the certificate. If that is going to cause a problem, I'll donate the $99. In any case, the real problem appears to be how FreeBSD is going to handle drivers which apparently will need to be signed since they work at the kernel level. Apparently Fedora has a working solution for that all ready. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/4bf1d8b5/signature-0001.pgp ------------------------------ Message: 28 Date: Wed, 06 Jun 2012 11:38:51 +0100 From: Bruce Cran Subject: Re: Is this something we (as consumers of FreeBSD) need to be ??? aware of? To: FreeBSD Cc: Jerry Message-ID: <4FCF333B.9030402@cran.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed On 06/06/2012 11:24, Jerry wrote: > > They should have taken this into account a long time ago. In any > case, we are talking $99 dollars total, not per user here for the > certificate. If that is going to cause a problem, I'll donate the $99. It's not the $99 that'll be the problem, but the fact that it's Verisign (actually Symantec, since they bought Verisign) that you deal with. Whereas Globalsign accept applications from individuals, Verisign require company documents before they'll generate a certificate. -- Bruce Cran ------------------------------ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" End of freebsd-questions Digest, Vol 418, Issue 7 ************************************************* From jerry at seibercom.net Wed Jun 6 11:36:40 2012 From: jerry at seibercom.net (Jerry) Date: Wed Jun 6 11:37:01 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF352F.7030509@infracaninophile.co.uk> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> <4FCF352F.7030509@infracaninophile.co.uk> Message-ID: <20120606073624.5f7c3f53@scorpio> On Wed, 06 Jun 2012 11:47:11 +0100 Matthew Seaman articulated: >On 06/06/2012 11:24, Jerry wrote: >> I think you are in error there Matthew. From what I have read The $99 >> goes to Verisign, not Microsoft - further once paid you can sign as >> many binaries as you want. > >Having to pay Verisign instead of Microsoft makes no difference: the >point is why should I have to pay anything to a third party in order to >run whatever OS I want on a piece of hardware I own? > >$99 as a one-off payment might seem a trivial cost to you, so much so >that you rather rashly promised to pay that for anyone. I won't hold >you to it. Even so, there are several thousand readers of this list. >I doubt even you could afford to subsidise very many of them... The $99 was for FreeBSD to deliver the OS, not per user. This is clearly explained in the various URLs listed in this thread. I am sorry if you misunderstood. Of course if a user wants to recompile the kernel, etcetera after having downloaded and installed it from FreeBSD or one of its subsidies, they are on their own. Seriously though, a one time payment of $99 is so trivial I find it hard to believe that anyone is actually bitching about it. I pay many times that amount for golf every month. >Yes UEFI Secure Boot may have been around for 8 years. The fact that >no one has adopted use of it in all that time speaks volumes. I don't want to get in an argument with you Matthew since you are one of the few on this list that I feel actually thinks before they speak and knows what they are talking about; however, the real reason, in my opinion, is that no one carefully considered the consequences of it. It is a great idea, it offers greater security and again from what I have read it can be disabled by the end user if the vendor so allows. Microsoft does not control the vendors right to allow or disallow that action. In any event, it won't belong before some hacker comes up with a way to circumvent the entire process anyway, In my opinion, so why worry about it. Most FreeBSD users do not use state of the art equipment anyway, so it may be years before they even come up against this problem. By then it will all be ironed out. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/fff7f107/signature.pgp From ml at my.gd Wed Jun 6 11:59:35 2012 From: ml at my.gd (Damien Fleuriot) Date: Wed Jun 6 11:59:42 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120606073624.5f7c3f53@scorpio> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> <4FCF352F.7030509@infracaninophile.co.uk> <20120606073624.5f7c3f53@scorpio> Message-ID: <4FCF4622.9010502@my.gd> On 6/6/12 1:36 PM, Jerry wrote: > On Wed, 06 Jun 2012 11:47:11 +0100 > Matthew Seaman articulated: > >> On 06/06/2012 11:24, Jerry wrote: >>> I think you are in error there Matthew. From what I have read The $99 >>> goes to Verisign, not Microsoft - further once paid you can sign as >>> many binaries as you want. >> >> Having to pay Verisign instead of Microsoft makes no difference: the >> point is why should I have to pay anything to a third party in order to >> run whatever OS I want on a piece of hardware I own? >> >> $99 as a one-off payment might seem a trivial cost to you, so much so >> that you rather rashly promised to pay that for anyone. I won't hold >> you to it. Even so, there are several thousand readers of this list. >> I doubt even you could afford to subsidise very many of them... > > The $99 was for FreeBSD to deliver the OS, not per user. This is > clearly explained in the various URLs listed in this thread. I am sorry > if you misunderstood. Of course if a user wants to recompile the > kernel, etcetera after having downloaded and installed it from FreeBSD > or one of its subsidies, they are on their own. Seriously though, a > one time payment of $99 is so trivial I find it hard to believe that > anyone is actually bitching about it. I pay many times that amount for > golf every month. > Look Jerry, Are you serious there ? Having to pay to use a different OS on hardware that you own ? What next, non-approved keyboard, $40 extra ? Non-approved mouse, $30, non-approved USB external drive, $80 ? Don't take it personally but it's people like you willing to bend the knee that encourage such abuse as we're discussing today. The denial of freedom to do what you want with that piece of hardware you just bought. And no, $99 isn't trivial, it has to be 1/6 the price of a standard PC nowadays. I'm *not* paying extra to install a non-MS-approved-lol-seriously OS. This is nothing short of extortion. From tundra at tundraware.com Wed Jun 6 12:10:47 2012 From: tundra at tundraware.com (Tim Daneliuk) Date: Wed Jun 6 12:10:55 2012 Subject: Somewhat OT - A Makefile Question Message-ID: <4FCF48AF.307@tundraware.com> Not strictly FBSD, but ... Within a makefile, I need to assign the name of a program as in: FOO = "bar". The problem is that 'bar' may also be know as, say, "bar.sh". Worse still both "bar" and "bar.sh" can exist with one linked to the other. Is there a simple way to determine which form "bar" or "bar.sh" on on a given system *at the time the make is run*? If both exist, I will pick one arbitrarily, I just don't want the detection mechanism to fail when this is the case. For example I don't think this works when both are there: FOO = $(shell `which bar bar.sh) Thanks, -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From ml at my.gd Wed Jun 6 12:23:25 2012 From: ml at my.gd (Damien Fleuriot) Date: Wed Jun 6 12:23:32 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF0772.8000609@FreeBSD.org> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> Message-ID: <4FCF4BB8.8040703@my.gd> On 6/6/12 9:32 AM, Matthew Seaman wrote: > On 05/06/2012 23:10, Jerry wrote: >> I thought this URL also shown >> above, answered that question. > > Signing bootloaders and kernels etc. seems superficially like a good > idea to me. However, instant reaction is that this is definitely *not* > something that Microsoft should be in charge of. Some neutral[*] body > without any commercial interests should do that job, and > bootloader/kernel signing should be freely available. > > On deeper thought though, the whole idea appears completely unworkable. > It means that you will not be able to compile your own kernel or > drivers unless you have access to a signing key. As building your own > is pretty fundamental to the FreeBSD project, the logical consequence is > that FreeBSD source should come with a signing key for anyone to use. > > Which completely abrogates the whole point of signing > bootloaders/kernels in the first place: anyone wishing to create malware > would be able to sign whatever they want using such a key. It's > DRM-level stupidity all over again. > > My conclusion: boycott products, manufacturers and/or OSes that > participate in this scheme. FreeBSD alone won't make any real > difference to manufacturers, but I hope there is still enough of the > original spirit of freedom within the Linux camp, and perhaps from > Google/android to make an impact. > > I'm pretty sure there can be a way of whitelisting bootloaders and so > forth to help prevent low-level malware, but this isn't it. > > Cheers, > > Matthew > > [*] I suggest ICANN might be the right sort of organization to fulfil > this role. > I agree with the whole post except that last bit about ICANN Matthew. The US already has enough dominance as is, without involving ICANN, a supposedly neutral body (yeah right...) any further. From ml at my.gd Wed Jun 6 12:28:59 2012 From: ml at my.gd (Damien Fleuriot) Date: Wed Jun 6 12:29:05 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> Message-ID: <4FCF4D07.4080606@my.gd> On 6/6/12 1:19 PM, Daniel Feenberg wrote: > > > On Wed, 6 Jun 2012, Matthew Seaman wrote: > >> On 05/06/2012 23:10, Jerry wrote: >>> I thought this URL also shown >>> above, answered that question. >> >> Signing bootloaders and kernels etc. seems superficially like a good >> idea to me. However, instant reaction is that this is definitely *not* >> something that Microsoft should be in charge of. Some neutral[*] body > ... >> On deeper thought though, the whole idea appears completely unworkable. >> It means that you will not be able to compile your own kernel or >> drivers unless you have access to a signing key. As building your own > > You don't need the signing key if you turn off secure boot in the CMOS. > The fedora folk are worried that naive desktop users will not be able to > do that, and usage of linux will be impeded. It won't be a significant > impediment to users capable of compiling their own kernel. > >> is pretty fundamental to the FreeBSD project, the logical consequence is >> that FreeBSD source should come with a signing key for anyone to use. >> >> Which completely abrogates the whole point of signing >> bootloaders/kernels in the first place: anyone wishing to create malware >> would be able to sign whatever they want using such a key. It's >> DRM-level stupidity all over again. > > I do wonder about that. What incentive does the possesor of a signing > key have to keep it secret? Apple keeps it's signing key secret because > it gets a share of revenue from the sale of apps. If the fedora key > became known it wouldn't hurt fedora. Can the UEFI BIOS consult a list > of revoked keys online? That would be surprising. > > dan feenberg Key revoked in the BIOS' next version, which will ship by default on newer hardware. No need for checking online. From laszlo_danielisz at yahoo.com Wed Jun 6 09:06:49 2012 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Wed Jun 6 12:30:18 2012 Subject: IP -> e-mail Message-ID: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> Hi everybody, Let say my computer is connected to the internet with a cable modem and has a dynamic IP address via DHCP. This address is refreshed after every random days. I want to know the new address even when I'm not home. Like send an e-mail with the new IP, I already know how to do this, but how can I track the event when my computer receives the new IP? Any ideas or same issues? Thx! Laszlo From ml at my.gd Wed Jun 6 12:31:59 2012 From: ml at my.gd (Damien Fleuriot) Date: Wed Jun 6 12:32:06 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120605221250.9da6bd5c.goksin.akdeniz@gmail.com> References: <20120605221250.9da6bd5c.goksin.akdeniz@gmail.com> Message-ID: <4FCF4DBB.5020006@my.gd> On 6/5/12 9:12 PM, G?k?in Akdeniz wrote: >> >> UEFI considerations drive Fedora to pay MSFT to sign their kernel >> binaries http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ >> > > That's restriction is only for ARM devices which have a label that says > "Desgined for Windows8". In other words those devices can not boot > another os except Windows 8 due to secure boot option enabled by > default. > > The short and the long of it Microsoft is copying Apple on tablets with > ARM. > Well perhaps it should say "designed ONLY for windows8" then ? This has "class action" written all over it, just like the "ready for win7" fiasco where the PCs displaying the sticker could only run the minimalist version of the OS. From ml at my.gd Wed Jun 6 12:34:56 2012 From: ml at my.gd (Damien Fleuriot) Date: Wed Jun 6 12:35:03 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: <20120605221250.9da6bd5c.goksin.akdeniz@gmail.com> <4FCE61D4.9070300@cran.org.uk> <20120605230025.a1e39827.goksin.akdeniz@gmail.com> Message-ID: <4FCF4E6C.5090300@my.gd> On 6/6/12 1:57 AM, Chris Hill wrote: > On Tue, 5 Jun 2012, G?k?in Akdeniz wrote: > >> For the time being only ARM platform is restricted. > > True, but I would be astonished if this restriction were not expanded by > MS in the future. Just my opinion, but I believe their ultimate goal is > to add platforms until the "secure boot" restriction encompasses most or > all desktop and server hardware. This would be over a period of years. > I direct you to an older version of the matrix, where microsoft was discussing Paladium and TCPA. These are the exact same. And these are a liberty killer. http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html From axelbsd at ymail.com Wed Jun 6 12:35:25 2012 From: axelbsd at ymail.com (Alexandre) Date: Wed Jun 6 12:35:32 2012 Subject: Unable to update virtualbox-ose-additions 4.1.16 Message-ID: Hi, I got a VM VirtualBox that use FreeBSD 9-STABLE (updated yesterday). Now I want to update my ports, but I can't update I use the command <# portmaster -a -D --no-confirm> to update ports with portmaster tool. The error is : [...] The failing command: @cc -m64 -o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/VBoxClient /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/main.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/src/VBox/GuestHost/SharedClipboard/clipboard-helper.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/src/VBox/GuestHost/SharedClipboard/x11-clipboard.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/clipboard.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless-host.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless-x11.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/thread.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/display.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/hostversion.o -L/usr/X11R6/lib32 -L/usr/X11R6/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -liconv /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/RuntimeGuestR3.a /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/VBoxGuestR3Lib.a /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/RuntimeGuestR3.a -lX11 -lXrandr -lXt -lsupc++ -lgcc_eh -lXext -lXmu -lpthread -liconv *** Error code 2 Stop in /usr/ports/emulators/virtualbox-ose-additions. *** Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-additions. ===>>> make failed for emulators/virtualbox-ose-additions ===>>> Aborting update ===>>> Update for emulators/virtualbox-ose-additions failed ===>>> Aborting update Terminated [...] I posted the full output (with "script") here : http://pastebin.com/cmBbqzKx This VM is installed on a Windows 7 host (VirtualBox 4.1.16r78094). # uname -a FreeBSD VirtualBox 9.0-STABLE FreeBSD 9.0-STABLE #0: Tue Jun 5 16:03:26 CEST 2012 root@VirtualBox:/usr/obj/usr/src/sys/GENERIC amd64 # pkg_info | grep virtualbox virtualbox-ose-additions-4.1.8 VirtualBox additions for FreeBSD guests Thanks for your help. Regards, Alexandre From wblock at wonkity.com Wed Jun 6 12:37:44 2012 From: wblock at wonkity.com (Warren Block) Date: Wed Jun 6 12:37:54 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: <1923831.l0mLy8oBIz@x220.ovitrap.com> References: <4FCE94CB.4060309@bananmonarki.se> <1923831.l0mLy8oBIz@x220.ovitrap.com> Message-ID: On Wed, 6 Jun 2012, Erich wrote: > Hi > > I have had success on my hardware with this setting: > > # The working configuration. The mouse daemon in /etc/rc.conf > # was dsabled. > # > # Section "ServerLayout" > # Identifier "X.org Configured" > # Screen 0 "Screen0" 0 0 > # InputDevice "Mouse0" "CorePointer" > # InputDevice "Keyboard0" "CoreKeyboard" > # EndSection > # > # Section "ServerFlags" > # Option "AllowEmptyInput" "false" Please don't do that: http://www.wonkity.com/~wblock/docs/html/aei.html > # Option "AutoAddDevices" "false" This is the right way to disable HAL input device detection. > # EndSection From guru at unixarea.de Wed Jun 6 12:51:37 2012 From: guru at unixarea.de (Matthias Apitz) Date: Wed Jun 6 12:51:45 2012 Subject: IP -> e-mail In-Reply-To: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> References: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> Message-ID: <20120606125125.GA2043@tiny> El d?a Wednesday, June 06, 2012 a las 02:06:48AM -0700, D?nielisz L?szl? escribi?: > Hi everybody, > > Let say my computer is connected to the internet with a cable modem and has a dynamic IP address via DHCP. This address is refreshed after every random days. > I want to know the new address even when I'm not home. Like send an e-mail with the new IP, I already know how to do this, but how can I track the event when my computer receives the new IP? > Any ideas or same issues? Hi, Run this in a cronjob: lynx -dump myip.nl | fgrep 'WAN IP' strore the result in a file and when it changes, trigger a mail; HIH matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From bah at bananmonarki.se Wed Jun 6 13:12:59 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Wed Jun 6 13:14:52 2012 Subject: freebsd-questions Digest, Vol 418, Issue 7 In-Reply-To: <1338982579.34045.YahooMailNeo@web114108.mail.gq1.yahoo.com> References: <20120606103906.8BDCF106578C@hub.freebsd.org> <1338982579.34045.YahooMailNeo@web114108.mail.gq1.yahoo.com> Message-ID: <4FCF570D.1040703@bananmonarki.se> 2012-06-06 13:36, kwel kwel skrev: > > > > Please remove my email from your database i don't want to receive any other mail from you plzz thanks ! _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From roberthuff at rcn.com Wed Jun 6 13:17:52 2012 From: roberthuff at rcn.com (Robert Huff) Date: Wed Jun 6 13:17:58 2012 Subject: IP -> e-mail In-Reply-To: <20120606125125.GA2043@tiny> References: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> <20120606125125.GA2043@tiny> Message-ID: <20431.22651.888125.876852@jerusalem.litteratus.org> Matthias Apitz writes: > > Let say my computer is connected to the internet with a cable > modem and has a dynamic IP address via DHCP. This address is > refreshed after every random days. > > > I want to know the new address even when I'm not home. Like > send an e-mail with the new IP, I already know how to do this, > but how can I track the event when my computer receives the new > IP? > > Run this in a cronjob: > > lynx -dump myip.nl | fgrep 'WAN IP' > > strore the result in a file and when it changes, trigger a mail; Or, using only tools in the base system: ifconfig | head | grep "inet " | awk '{print $2}' Robert Huff From erichfreebsdlist at ovitrap.com Wed Jun 6 13:20:43 2012 From: erichfreebsdlist at ovitrap.com (Erich) Date: Wed Jun 6 13:20:51 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: References: <1923831.l0mLy8oBIz@x220.ovitrap.com> Message-ID: <1661112.8iNahTB6zu@x220.ovitrap.com> Hi, On 06 June 2012 6:37:43 Warren Block wrote: > On Wed, 6 Jun 2012, Erich wrote: > > > Hi > > > > I have had success on my hardware with this setting: > > > > # The working configuration. The mouse daemon in /etc/rc.conf > > # was dsabled. > > # > > # Section "ServerLayout" > > # Identifier "X.org Configured" > > # Screen 0 "Screen0" 0 0 > > # InputDevice "Mouse0" "CorePointer" > > # InputDevice "Keyboard0" "CoreKeyboard" > > # EndSection > > # > > # Section "ServerFlags" > > # Option "AllowEmptyInput" "false" > > Please don't do that: http://www.wonkity.com/~wblock/docs/html/aei.html > > > # Option "AutoAddDevices" "false" > > This is the right way to disable HAL input device detection. Is this really without function now? I could not get X running on the machine I used without using it. My standard practise is to use an empty xorg.conf when installing a fresh X. I add then these lines when X does not work. Erich > > > # EndSection > > From guru at unixarea.de Wed Jun 6 13:46:24 2012 From: guru at unixarea.de (Matthias Apitz) Date: Wed Jun 6 13:46:31 2012 Subject: IP -> e-mail In-Reply-To: <20431.22651.888125.876852@jerusalem.litteratus.org> References: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> <20120606125125.GA2043@tiny> <20431.22651.888125.876852@jerusalem.litteratus.org> Message-ID: <20120606134611.GA2185@tiny> El d?a Wednesday, June 06, 2012 a las 09:17:47AM -0400, Robert Huff escribi?: > > Run this in a cronjob: > > > > lynx -dump myip.nl | fgrep 'WAN IP' > > > > strore the result in a file and when it changes, trigger a mail; > > Or, using only tools in the base system: > > ifconfig | head | grep "inet " | awk '{print $2}' This will not work if your host has some private addr which is NAT'ed by a router; the real test is ask some remote side "how I do apear to you?" ofc you could do this as well by SSH'ing to some side and asking with netstat(1) there (which may be shows another NAT'ed addr too :-)) Trust me, the above lynx is the nearly only robust version. matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From bonomi at mail.r-bonomi.com Wed Jun 6 13:50:12 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Jun 6 13:50:19 2012 Subject: IP -> e-mail In-Reply-To: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> Message-ID: <201206061350.q56DobvN029750@mail.r-bonomi.com> m > From owner-freebsd-questions@freebsd.org Wed Jun 6 07:37:57 2012 > Date: Wed, 6 Jun 2012 02:06:48 -0700 (PDT) > From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= > To: "freebsd-questions@freebsd.org" > Subject: IP -> e-mail > > Hi everybody, > > Let say my computer is connected to the internet with a cable modem and h > as a dynamic IP address via DHCP. This address is refreshed after every r > andom days. > I want to know the new address even when I'm not home. Like send an e-mai > l with the new IP, I already know how to do this, but how can I track the > event when my computer receives the new IP? > Any ideas or same issues? Schedule a 'cron' job to run as frequently as you like. Have it: a) do an 'ifconfig -a', or maybe just check the 'interface of interest'. b) 'diff' that output against a 'reference' copy from the previous run c) send an email if diff reports differences d) save the ifconfig output for referene in the next run From rwmaillists at googlemail.com Wed Jun 6 14:02:31 2012 From: rwmaillists at googlemail.com (RW) Date: Wed Jun 6 14:02:38 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120606073624.5f7c3f53@scorpio> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> <4FCF352F.7030509@infracaninophile.co.uk> <20120606073624.5f7c3f53@scorpio> Message-ID: <20120606150210.1e4e7724@gumby.homeunix.com> On Wed, 6 Jun 2012 07:36:24 -0400 Jerry wrote: > In any event, it won't belong before some hacker comes up with a way > to circumvent the entire process anyway, It sounds like Fedora already have. They say that they are only going to sign a thin shim that loads grub. From millenia2000 at hotmail.com Wed Jun 6 14:04:40 2012 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Wed Jun 6 14:04:47 2012 Subject: IP -> e-mail In-Reply-To: <20431.22651.888125.876852@jerusalem.litteratus.org> References: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> <20120606125125.GA2043@tiny> <20431.22651.888125.876852@jerusalem.litteratus.org> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Robert Huff > Sent: Wednesday, June 06, 2012 9:18 AM > To: Matthias Apitz > Cc: freebsd-questions@freebsd.org > Subject: Re: IP -> e-mail > > > Matthias Apitz writes: > > > > Let say my computer is connected to the internet with a cable > > modem and has a dynamic IP address via DHCP. This address is > > refreshed after every random days. > > > > > I want to know the new address even when I'm not home. Like send > > an e-mail with the new IP, I already know how to do this, but how can > > I track the event when my computer receives the new IP? > > If you are using it so you know what IP to hit from outside your network, I would also recommend taking a look at a service like DynDNS as you would have a DNS name that would auto correct for new IP. From bonomi at mail.r-bonomi.com Wed Jun 6 14:10:36 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Jun 6 14:10:44 2012 Subject: IP -> e-mail In-Reply-To: <20120606134611.GA2185@tiny> Message-ID: <201206061411.q56EB2sf030101@mail.r-bonomi.com> Matthias Apitz opined: > El dia Wednesday, June 06, 2012 a las 09:17:47AM -0400, Robert Huff escribio: > > Matthias Apitz opined: > > > > > > lynx -dump myip.nl | fgrep 'WAN IP' > > > > > > strore the result in a file and when it changes, trigger a mail; > > > > Or, using only tools in the base system: > > > > ifconfig | head | grep "inet " | awk '{print $2}' > > This will not work if your host has some private addr which is NAT'ed by a > router; FALSE TO FACT. Given the OP's actual request. > the real test is ask some remote side "how I do apear to you?" > ofc you could do this as well by SSH'ing to some side and asking with > netstat(1) there (which may be shows another NAT'ed addr too :-)) Matthias, your lynx-based 'solution' does *NOT* solve the OP's question. He wants to know -when- his DHCP assigned address changes. Consider what happens if both the expired address and the new address are behind the _same_ NAT translation. The internal addrress changes, but the external one does not. To do what the OP _asked_, parsing the 'ifconfig' output *is* the correct approach. _IF_, on the other hand, he wants to know when the 'externally visible' address (a _very_ different question) for that host changes, then your approach is the correct one. From guru at unixarea.de Wed Jun 6 14:14:42 2012 From: guru at unixarea.de (Matthias Apitz) Date: Wed Jun 6 14:14:49 2012 Subject: IP -> e-mail In-Reply-To: References: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> <20120606125125.GA2043@tiny> <20431.22651.888125.876852@jerusalem.litteratus.org> Message-ID: <20120606141420.GA2264@tiny> El d?a Wednesday, June 06, 2012 a las 10:03:26AM -0400, Sean Cavanaugh escribi?: > > Matthias Apitz writes: > > > > > > Let say my computer is connected to the internet with a cable > > > modem and has a dynamic IP address via DHCP. This address is > > > refreshed after every random days. > > > > > > > I want to know the new address even when I'm not home. Like send > > > an e-mail with the new IP, I already know how to do this, but how can > > > I track the event when my computer receives the new IP? > > > > > If you are using it so you know what IP to hit from outside your network, I understand that the OP is not at home when the change occurs, but wants to connect to home; > I would also recommend taking a look at a service like DynDNS as you would > have a DNS name that would auto correct for new IP. the IP provider in Germany do not assign a static DNS name to you if yo do not have a static IP. matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From rwmaillists at googlemail.com Wed Jun 6 14:20:39 2012 From: rwmaillists at googlemail.com (RW) Date: Wed Jun 6 14:20:46 2012 Subject: IP -> e-mail In-Reply-To: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> References: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> Message-ID: <20120606152024.2e66ba83@gumby.homeunix.com> On Wed, 6 Jun 2012 02:06:48 -0700 (PDT) D?nielisz L?szl? wrote: > Hi everybody, > > Let say my computer is connected to the internet with a cable modem > and has a dynamic IP address via DHCP. This address is refreshed > after every random days. I want to know the new address even when I'm > not home. Like send an e-mail with the new IP, I already know how to > do this, but how can I track the event when my computer receives the > new IP? Any ideas or same issues? Have you considered dynamic dns? If you don't actually need the address it would allow you to access the machine by hostname. Even if you do, polling the dns is as good a way as any of detecting the change. From freebsd-questions-local at be-well.ilk.org Wed Jun 6 14:21:54 2012 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed Jun 6 14:22:01 2012 Subject: IP -> e-mail In-Reply-To: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> (=?iso-8859-1?Q?=22D=E1nielisz_L=E1szl=F3=22's?= message of "Wed, 6 Jun 2012 02:06:48 -0700 (PDT)") References: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> Message-ID: <44ipf48qrr.fsf@be-well.ilk.org> D?nielisz L?szl? writes: > Let say my computer is connected to the internet with a cable modem and has a dynamic IP address via DHCP. This address is refreshed after every random days. > I want to know the new address even when I'm not home. Like send an e-mail with the new IP, I already know how to do this, but how can I track the event when my computer receives the new IP? > Any ideas or same issues? dhclient-script(8) has provision for running scripts on any DHCP event, and provides both new and old IP addresses in environment variables. If they're different, fire off an e-mail. From guru at unixarea.de Wed Jun 6 14:23:38 2012 From: guru at unixarea.de (Matthias Apitz) Date: Wed Jun 6 14:23:58 2012 Subject: IP -> e-mail In-Reply-To: <201206061411.q56EB2sf030101@mail.r-bonomi.com> References: <20120606134611.GA2185@tiny> <201206061411.q56EB2sf030101@mail.r-bonomi.com> Message-ID: <20120606142332.GB2264@tiny> El d?a Wednesday, June 06, 2012 a las 09:11:02AM -0500, Robert Bonomi escribi?: > > Matthias Apitz opined: > > El dia Wednesday, June 06, 2012 a las 09:17:47AM -0400, Robert Huff escribio: > > > Matthias Apitz opined: > > > > > > > > lynx -dump myip.nl | fgrep 'WAN IP' > > > > > > > > strore the result in a file and when it changes, trigger a mail; > > > > > > Or, using only tools in the base system: > > > > > > ifconfig | head | grep "inet " | awk '{print $2}' > > > > This will not work if your host has some private addr which is NAT'ed by a > > router; > > FALSE TO FACT. Given the OP's actual request. The OP request is a bit uncertain and I interpreted it as he wants to know how to 'phone' home. The OP talks about a cable modem and DHCP and about the addr for the computer. If your computer is connected to the 'modem' by ethernet or Wifi and the IP is assigned by DHCP to the modem, you will never see any change in your computer. It just stays for ever, for example, 192.168.2.1 while the router has 192.168.2.2 and all this network is NAT behind the router WAN IP. In this szenario your ifconfig solution will not help. May be the OP should clarify his situation and what he really wants. matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From wblock at wonkity.com Wed Jun 6 14:23:41 2012 From: wblock at wonkity.com (Warren Block) Date: Wed Jun 6 14:23:59 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: <1661112.8iNahTB6zu@x220.ovitrap.com> References: <1923831.l0mLy8oBIz@x220.ovitrap.com> <1661112.8iNahTB6zu@x220.ovitrap.com> Message-ID: On Wed, 6 Jun 2012, Erich wrote: > Hi, > > On 06 June 2012 6:37:43 Warren Block wrote: >> On Wed, 6 Jun 2012, Erich wrote: >> >>> Hi >>> >>> I have had success on my hardware with this setting: >>> >>> # The working configuration. The mouse daemon in /etc/rc.conf >>> # was dsabled. >>> # >>> # Section "ServerLayout" >>> # Identifier "X.org Configured" >>> # Screen 0 "Screen0" 0 0 >>> # InputDevice "Mouse0" "CorePointer" >>> # InputDevice "Keyboard0" "CoreKeyboard" >>> # EndSection >>> # >>> # Section "ServerFlags" >>> # Option "AllowEmptyInput" "false" >> >> Please don't do that: http://www.wonkity.com/~wblock/docs/html/aei.html >> >>> # Option "AutoAddDevices" "false" >> >> This is the right way to disable HAL input device detection. > > Is this really without function now? I could not get X running on the machine I used without using it. AEI is not without function, it's just usually not the function desired. AutoAddDevices Off is all that's needed to prevent xorg-server from using HAL for input device detection. So far, I have not found a situation where AEI Off is still required, and more than a few where it causes problems. Better yet is to rebuild xorg-server with the HAL option disabled. For example, xfce does not require or benefit from HAL. Other software may still need it. > My standard practise is to use an empty xorg.conf when installing a fresh X. I add then these lines when X does not work. Fair enough. Just leave out the AEI line. From millenia2000 at hotmail.com Wed Jun 6 14:25:46 2012 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Wed Jun 6 14:25:53 2012 Subject: IP -> e-mail In-Reply-To: <20120606141420.GA2264@tiny> References: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> <20120606125125.GA2043@tiny> <20431.22651.888125.876852@jerusalem.litteratus.org> <20120606141420.GA2264@tiny> Message-ID: > > > I would also recommend taking a look at a service like DynDNS as you > > would have a DNS name that would auto correct for new IP. > > the IP provider in Germany do not assign a static DNS name to you if yo do > not have a static IP. > Hence the Dynamic DNS option. Granted OP would have to run a client on their device to actively track the change but it would update the DNS record within a small window of the IP change. From feld at feld.me Wed Jun 6 14:26:37 2012 From: feld at feld.me (Mark Felder) Date: Wed Jun 6 14:26:44 2012 Subject: IP -> e-mail In-Reply-To: <201206061411.q56EB2sf030101@mail.r-bonomi.com> References: <1338973608.78319.YahooMailNeo@web162906.mail.bf1.yahoo.com> <20120606125125.GA2043@tiny> <20431.22651.888125.876852@jerusalem.litteratus.org> <20120606134611.GA2185@tiny> <201206061411.q56EB2sf030101@mail.r-bonomi.com> Message-ID: On Wed, 06 Jun 2012 09:11:02 -0500, Robert Bonomi wrote: > Matthias, your lynx-based 'solution' does *NOT* solve the OP's question. Incorrect; it does solve his problem. > He wants to know -when- his DHCP assigned address changes. Consider > what happens if both the expired address and the new address are behind > the _same_ NAT translation. The internal addrress changes, but the > external one does not. Please people, read carefully: His ISP is handing out his public IP via DHCP. This is normal for consumer internet connections. He doesn't care about his internal RFC 1918 IP which is handed out by his router's DHCP server; that's an easy problem to solve. From leslie at eskk.nu Wed Jun 6 16:11:12 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Wed Jun 6 16:11:25 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCCC1DA.4020202@eskk.nu> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> <4FCC6557.40403@eskk.nu> <4FCC66A0.4030405@FreeBSD.org> <4FCC6E7D.50004@eskk.nu> <4FCCC1DA.4020202@eskk.nu> Message-ID: <4FCF8141.2040402@eskk.nu> 2012-06-04 16:10, Leslie Jensen skrev: > > > 2012-06-04 15:54, Warren Block skrev: >> % printf "\033];Funny Title\007" > > > Works! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Can the reason for me not getting the title to change be that I very often use screen when updating ports? I've tried different combinations and I'm only able to get the title when I work locally. Screen and ssh does not change the title. My initial wish for some information about the build progress is still very much on the table. Thanks /Leslie From bonomi at mail.r-bonomi.com Wed Jun 6 16:17:14 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Jun 6 16:17:21 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120606150210.1e4e7724@gumby.homeunix.com> Message-ID: <201206061617.q56GHeQl031484@mail.r-bonomi.com> RW wrote: > On Wed, 6 Jun 2012 07:36:24 -0400 > Jerry wrote: > > > > In any event, it won't belong before some hacker comes up with a way > > to circumvent the entire process anyway, > > It sounds like Fedora already have. They say that they are only going to > sign a thin shim that loads grub. "not exactly." *GRIN* Fedora'a 'thin shim' will be signed, to keep an (always-, or other) enabled 'secure BIOS' loader happy. Fedora will provide an option -- which will remain 'user-settable' (regardless of whether the 'secure BIOS' signature is mandatory -- to either ENFORCE or IGNORE a requirement for valid 'signatures' on the subsequently loaded pieces of the O/S -- 2nd/3rd/etc-stage boot loaders, the kernel itself, any loadable modules, etc. And, Fedora will sign all _Fedora-supplied_ files that meet that criteria. Thus an end-user can run with 'secure boot' fully enabled, with only signed files being loadable as part of the O/S -- using either Fedora-supplied signed files, -or- files that they, themselves, have signed. OR, with BIOS signing required (the 'thin shim' loader) but signing of subsequent files -not- required, OR, (if the hardware manufacturer allows it) with BIOS signing disabled. From freebsd at edvax.de Wed Jun 6 16:22:01 2012 From: freebsd at edvax.de (Polytropon) Date: Wed Jun 6 16:22:16 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF352F.7030509@infracaninophile.co.uk> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> <4FCF352F.7030509@infracaninophile.co.uk> Message-ID: <20120606182153.3cc2ee07.freebsd@edvax.de> On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: > Having to pay Verisign instead of Microsoft makes no difference: the > point is why should I have to pay anything to a third party in order to > run whatever OS I want on a piece of hardware I own? Maybe a common marketing and sales model comes from software to hardware too: You don't actually own the hardware! When you give money to the manufacturer (maybe through vendors or retailers), you receive hardware _plus_ a limited set of rights which you may exercise on that hardware, maybe for a limited time. By purchasing the hardware that way, you may even have "implicitely signed" a kind of agreement (cf. EULA) that you accept those "licensing of hardware". You do _not_ own it in order to exercise your free will on it, like "I have the right to wipe 'Windows' and install something else", which might result in a loss of warranty. You may only run what the manufacturer allows you to run (by providing the proper boot mechanism for it that "just works"). If the manufacturer may decide that you shouldn't boot that system you bought anymore, he can retract the permissions and the device you paid money for will be rendered into a shiny brick. This _is_ possible, and as human nature teaches: Everything that is possible _will_ be done, no matter if we recognize it immediately or not. And the worst solution prevails, so whatever we may assume about the future, the future will be much worse. :-) Note that flats are a familiar example of this model. You may live in the flat, but by paying a rent you don't own it. What you may do is limited. Another valid interpretation of this problem is of course "defective by design" and "planned obsolescense". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jhs at berklix.com Wed Jun 6 16:30:46 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Wed Jun 6 16:30:53 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Your message "Wed, 06 Jun 2012 07:19:58 EDT." Message-ID: <201206061630.q56GUJj7093472@fire.js.berklix.net> > I do wonder about that. What incentive does the possesor of a signing key > have to keep it secret? Contract penalty clause maybe ? Lawyers ? Otherwise one of us would purchase a key for $99, & then publish the key so we could all forever more compile & boot our own kernels. But that would presumably break the trap Microsoft & Verisign seek to impose. It seems dangerous. I suspect we (the free source community) will need to campaign, to engage for eg more EU fines against monoplists to force them to back off. I say EU, 'cos they have done it before, so our best bet so far, but it doesnt matter much which governments impose swingeing anti monoploy fines, as long as enough do, to deter MS & verisign etc. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From brian at brianwhalen.net Wed Jun 6 16:39:36 2012 From: brian at brianwhalen.net (Brian W.) Date: Wed Jun 6 16:39:53 2012 Subject: upgrade from 7-stable to 8-stable Message-ID: It is time to do the above for me. I have done several upgrades within the same major version but have not done a version hop yet. Aside from extra paranoia about backups and the need to rebuild all ports, are there other gotchas to watch out for? I am going to try it on a test VM system first. Brian From DStaal at usa.net Wed Jun 6 16:49:59 2012 From: DStaal at usa.net (Daniel Staal) Date: Wed Jun 6 16:50:06 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: <20120605172046.2571e964@scorpio> References: <20120605201900.GB60388@hs1.VERBENA> <20120605172046.2571e964@scorpio> Message-ID: <03ad948ef0fdab7fabfe119fdef00a0a@mail.magehandbook.com> On 2012-06-05 17:20, Jerry wrote: > The question that I have not seen answered in this thread is what > FreeBSD intents to do. From what I have seen, most FreeBSD users do > not > use the latest versions of most hardware, so it may be a while before > its user base is even effected. I don't believe at this point FreeBSD has any intent one way or another, really. It's not an immediate problem for any platform supported by the FreeBSD project, at least for a technically-inclined user who's willing to check out their BIOS. (Even if they are using the latest hardware, the x86-derived platforms aren't going to require this code signing yet.) So it'll probably be a 'wait and see if it's something the FreeBSD community needs a solution for' at this point. But this is just my impression. In slight defense of RedHat: They do a lot of worrying about enterprise and government customers, many of whom don't really care what platform they are running on - as long as they can get 'support' and it passes their security/operational tests. In that environment, I can easily see some middle-manager decreeing that disabling the signed-boot process is verboten, without any understanding of the meaning or the consequences, and enforcing it on the whole company/division, to the point where any non-signed OS would be thrown out the door. FreeBSD has probably already been thrown out the door at those types of locations, as there is no 'official' support channel. (Yes, for my sins, I work at one of these...) Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From feenberg at nber.org Wed Jun 6 16:52:25 2012 From: feenberg at nber.org (Daniel Feenberg) Date: Wed Jun 6 16:52:32 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <201206061630.q56GUJj7093472@fire.js.berklix.net> References: <201206061630.q56GUJj7093472@fire.js.berklix.net> Message-ID: On Wed, 6 Jun 2012, Julian H. Stacey wrote: >> I do wonder about that. What incentive does the possesor of a signing key >> have to keep it secret? > > Contract penalty clause maybe ? Lawyers ? A limited-liability company with no assets is judgement-proof. > > Otherwise one of us would purchase a key for $99, & then publish > the key so we could all forever more compile & boot our own kernels. > But that would presumably break the trap Microsoft & Verisign seek > to impose. > Could it really be that simple? As for hardware vendors putting revoked keys in the ROM - are they really THAT cooperative? Seems like they would drag their feet on ROM updates if they had to add a lot of stuff that won't help them, so that doesn't seem like a great enforcement tool. dan feenberg From odhiambo at gmail.com Wed Jun 6 16:54:19 2012 From: odhiambo at gmail.com (Odhiambo Washington) Date: Wed Jun 6 16:54:30 2012 Subject: upgrade from 7-stable to 8-stable In-Reply-To: References: Message-ID: On Wed, Jun 6, 2012 at 7:39 PM, Brian W. wrote: > It is time to do the above for me. I have done several upgrades within the > same major version but have not done a version hop yet. Aside from extra > paranoia about backups and the need to rebuild all ports, are there other > gotchas to watch out for? I am going to try it on a test VM system first. > > Brian > > See here - http://people.freebsd.org/~rse/upgrade/ Tested/proven methods! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. From wojtek at tensor.gdynia.pl Wed Jun 6 17:19:23 2012 From: wojtek at tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 6 17:19:30 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120606182153.3cc2ee07.freebsd@edvax.de> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> <4FCF352F.7030509@infracaninophile.co.uk> <20120606182153.3cc2ee07.freebsd@edvax.de> Message-ID: > Maybe a common marketing and sales model comes from software > to hardware too: You don't actually own the hardware! When > you give money to the manufacturer (maybe through vendors > or retailers), you receive hardware _plus_ a limited set > of rights which you may exercise on that hardware, maybe > for a limited time. By purchasing the hardware that way, > you may even have "implicitely signed" a kind of agreement anyway NOBODY are forced to buy micro-soft software. Nobody is forced to buy a PC. Doing this with PC market will result in larger market share for non-Wintel hardware. From bonomi at mail.r-bonomi.com Wed Jun 6 17:23:20 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Jun 6 17:23:27 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <201206061630.q56GUJj7093472@fire.js.berklix.net> Message-ID: <201206061723.q56HNkaF032427@mail.r-bonomi.com> "Julian H. Stacey" wrote: > > > I do wonder about that. What incentive does the possesor of a signing key > > have to keep it secret? > > Contract penalty clause maybe ? Lawyers ? Contract with _whom_? The party you pay money to -- Verisign -- simply certifies that the party buying the certificate/signing-key -is- who they claim to be. It is *entirely* up to the owner of that certificate/signing-key -who- they allow to use it. If someone/anyone attempts to 'revoke' that certificate/key _other_ than at the request of the owner of that certificate/key, *THAT* party is subject to legal sanctions. Among other things, 'false persona', 'tortuous inter- ference in a business relationship', just to name a few. There is, however, an 'interesting' legal question -- *if* a party were to let 'anybody' use their certificate/key, what is the certificat/key owner's legal liability if someone uses that key to sign malware? From tomdean at speakeasy.org Wed Jun 6 17:28:22 2012 From: tomdean at speakeasy.org (Thomas D. Dean) Date: Wed Jun 6 17:28:32 2012 Subject: Why Clang Message-ID: <4FCF9333.70201@speakeasy.org> Has the discussion on why change to clang been made available? I would like to know the reasoning. Or, is it simply a gratuitous change? Tom Dean From gobble.wa at gmail.com Wed Jun 6 17:39:45 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Wed Jun 6 17:39:52 2012 Subject: Why Clang In-Reply-To: <4FCF9333.70201@speakeasy.org> References: <4FCF9333.70201@speakeasy.org> Message-ID: On Jun 6, 2012 10:32 AM, "Thomas D. Dean" wrote: > > Has the discussion on why change to clang been made available? > > I would like to know the reasoning. > > Or, is it simply a gratuitous change? > > Tom Dean > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" i believe it at least partially has to do with license. FreeBSD does not "ship" (maybe correct word?) with any GPLv3 licensed software. Waitman Gobble San Jose California USA From m.seaman at infracaninophile.co.uk Wed Jun 6 17:55:36 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Jun 6 17:55:43 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120606182153.3cc2ee07.freebsd@edvax.de> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> <4FCF352F.7030509@infracaninophile.co.uk> <20120606182153.3cc2ee07.freebsd@edvax.de> Message-ID: <4FCF9987.6080803@infracaninophile.co.uk> On 06/06/2012 17:21, Polytropon wrote: > On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: >> Having to pay Verisign instead of Microsoft makes no difference: the >> point is why should I have to pay anything to a third party in order to >> run whatever OS I want on a piece of hardware I own? > > Maybe a common marketing and sales model comes from software > to hardware too: You don't actually own the hardware! When > you give money to the manufacturer (maybe through vendors > or retailers), you receive hardware _plus_ a limited set > of rights which you may exercise on that hardware, maybe > for a limited time. By purchasing the hardware that way, > you may even have "implicitely signed" a kind of agreement > (cf. EULA) that you accept those "licensing of hardware". > You do _not_ own it in order to exercise your free will > on it, like "I have the right to wipe 'Windows' and install > something else", which might result in a loss of warranty. > You may only run what the manufacturer allows you to run > (by providing the proper boot mechanism for it that "just > works"). If the manufacturer may decide that you shouldn't > boot that system you bought anymore, he can retract the > permissions and the device you paid money for will be > rendered into a shiny brick. Sure, manufacturers can propose that if they wish -- and I guess a lot of mobile phone contracts are like that. However, I'd never touch server hardware under those sort of terms. Quite apart from such considerations as not letting disks that have held confidential data out of my control unless they have been securely destroyed -- would I be allowed to do that to a disk I didn't actually own? The idea that a third party could effectively hold a business to ransom by withdrawing permission to choose what operating system is run is completely unacceptable. No sane business would accept that. Also, I think you'll find that such actions are already illegal certainly in the UK, and I believe EU wide. > This _is_ possible, and as human nature teaches: Everything > that is possible _will_ be done, no matter if we recognize > it immediately or not. And the worst solution prevails, so > whatever we may assume about the future, the future will be > much worse. :-) Umm... corporations will always try it on, and politicians will always act in whatever way they think will work out best (and being on good terms with an important corporation that can also happen to pay for an overwhelmingly large lobbying effort does tend to make it seem like a no-brainer to our elected representatives). Corporations should be reminded that they are subject to exactly the same laws as everybody else, regardless of their wealth. Politicians should be reminded that their best interest is precisely the best interest of the people that vote them into office, and no one else. Or in other words, the worst will only happen if we let it. > Note that flats are a familiar example of this model. > You may live in the flat, but by paying a rent you don't > own it. What you may do is limited. No idea what the law is in Germany, but in the UK this applies to any property that you might buy of any type. You don't get ownership per-se, just various rights over the property, like residence and access. Should you find that your property contains, say, a large natural gas source, you won't get any return from it, as mineral rights are not part of the usual property deal. I own my flat, and I do pay ground rent. Officially one peppercorn per year, but I've never seen anyone angrily shaking an empty pepper pot at me in all the years I've been here. I also pay a service charge for maintaining the common areas, which could in theory get me evicted should I fail to pay it for a sufficiently long time, and so could be confused with rent -- but it really isn't. > Another valid interpretation of this problem is of course > "defective by design" and "planned obsolescense". The big advantage of the rental model of acquiring shiny toys is that once the shine has worn off, it's up to the leasing company to fulfil all the weee regulations and dispose of the dead kit. That's pretty expensive otherwise. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/96427064/signature.pgp From brian at brianwhalen.net Wed Jun 6 17:57:20 2012 From: brian at brianwhalen.net (Brian W.) Date: Wed Jun 6 17:57:27 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> Message-ID: On Wed, Jun 6, 2012 at 10:39 AM, Waitman Gobble wrote: > On Jun 6, 2012 10:32 AM, "Thomas D. Dean" wrote: > > > > Has the discussion on why change to clang been made available? > > > > I would like to know the reasoning. > > > > Or, is it simply a gratuitous change? > > > > Tom Dean > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > i believe it at least partially has to do with license. FreeBSD does not > "ship" (maybe correct word?) with any GPLv3 licensed software. > > Waitman Gobble > San Jose California USA > _______________________________________________ > > It seems that GPLv3 and the desire to make clang the default in FreeBSD 10 are 2 of the reasons. Brian From matthew at FreeBSD.org Wed Jun 6 18:06:07 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Wed Jun 6 18:06:27 2012 Subject: Why Clang In-Reply-To: <4FCF9333.70201@speakeasy.org> References: <4FCF9333.70201@speakeasy.org> Message-ID: <4FCF9C07.2000607@FreeBSD.org> On 06/06/2012 18:28, Thomas D. Dean wrote: > Has the discussion on why change to clang been made available? Yes, endlessly. Mostly on lists like freebsd-hackers@... and at various conferences and developer summits. Check the list archives. > I would like to know the reasoning. It's simple. gcc-4.2, which is what the base system compiler is derived from is: * fairly old * doesn't perform as well as more recent compilers * doesn't adhere to recently established standards Clearly an update was necessary. Unfortunately, later versions of gcc have switched to GPLv3, which is a viral license and unacceptable to the FreeBSD project. Therefore clang was chosen from amongst a number of alternatives as the best replacement. That makes it sound as if clang is a second class option compared to recent gcc, but this is certainly not the case: results from clang are comparable to the latest gcc versions and the design of clang is such that further optimizations and improvements can be readily incorporated. > Or, is it simply a gratuitous change? I can assure you that the changes were not made specifically to annoy you. Of course there were very solid technical reasons behind what was selected. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/dfbab84f/signature.pgp From m.e.sanliturk at gmail.com Wed Jun 6 18:08:53 2012 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Wed Jun 6 18:09:13 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> Message-ID: On Wed, Jun 6, 2012 at 10:39 AM, Waitman Gobble wrote: > On Jun 6, 2012 10:32 AM, "Thomas D. Dean" wrote: > > > > Has the discussion on why change to clang been made available? > > > > I would like to know the reasoning. > > > > Or, is it simply a gratuitous change? > > > > Tom Dean > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > i believe it at least partially has to do with license. FreeBSD does not > "ship" (maybe correct word?) with any GPLv3 licensed software. > > Waitman Gobble > San Jose California USA > Because commercial companies using FreeBSD in their proprietary products are NOT willing to use GPL v3 licensed software due to severe restrictions which commercial companies can NOT fulfill in their proprietary products . If FreeBSD uses GPL v3 software in its production , it will lost commercial company supporters and users base . This my understanding from previously read messages . Thank you very much . Mehmet Erol Sanliturk From wblock at wonkity.com Wed Jun 6 18:20:24 2012 From: wblock at wonkity.com (Warren Block) Date: Wed Jun 6 18:20:31 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCF8141.2040402@eskk.nu> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> <4FCC6557.40403@eskk.nu> <4FCC66A0.4030405@FreeBSD.org> <4FCC6E7D.50004@eskk.nu> <4FCCC1DA.4020202@eskk.nu> <4FCF8141.2040402@eskk.nu> Message-ID: On Wed, 6 Jun 2012, Leslie Jensen wrote: > Can the reason for me not getting the title to change be that I very often > use screen when updating ports? Sure, the escape codes are interpreted by screen, not Terminal. There may be a way to pass them through. tmux has some options for that, but I haven't really tried them and have not used screen. From simon at optinet.com Wed Jun 6 18:31:27 2012 From: simon at optinet.com (Simon) Date: Wed Jun 6 18:31:35 2012 Subject: Proper Port Forwarding Message-ID: <20120606183127.68447106566B@hub.freebsd.org> Hi, Can someone suggest an alternative/proper way to port forward using ipfw. Right now I have the following and some bad clients cause too many FIN_WAIT_2 state fwd IP,PORT2 tcp from any to me dst-port PORT1 keep-state This easily causes DoS for when too many FIN_WAIT_2 are created and IPFW stops forwarding using the rule above because of "too many dynamic rules" Thanks, Simon From ml at my.gd Wed Jun 6 18:40:31 2012 From: ml at my.gd (Damien Fleuriot) Date: Wed Jun 6 18:40:37 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: <201206061630.q56GUJj7093472@fire.js.berklix.net> Message-ID: <4FCFA41A.4010506@my.gd> On 6/6/12 6:45 PM, Daniel Feenberg wrote: > > > On Wed, 6 Jun 2012, Julian H. Stacey wrote: > >>> I do wonder about that. What incentive does the possesor of a signing >>> key >>> have to keep it secret? >> >> Contract penalty clause maybe ? Lawyers ? > > A limited-liability company with no assets is judgement-proof. > >> >> Otherwise one of us would purchase a key for $99, & then publish >> the key so we could all forever more compile & boot our own kernels. >> But that would presumably break the trap Microsoft & Verisign seek >> to impose. >> > > Could it really be that simple? As for hardware vendors putting revoked > keys in the ROM - are they really THAT cooperative? Seems like they > would drag their feet on ROM updates if they had to add a lot of stuff > that won't help them, so that doesn't seem like a great enforcement tool. > > dan feenberg Oh god... Please realize that once the key is divulged, it gets revoked at the BIOS' next update. Otherwise the key's purpose is rendered moot. From kudzu at tenebras.com Wed Jun 6 18:40:58 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Wed Jun 6 18:41:05 2012 Subject: Proper Port Forwarding In-Reply-To: <20120606183127.68447106566B@hub.freebsd.org> References: <20120606183127.68447106566B@hub.freebsd.org> Message-ID: On Wed, Jun 6, 2012 at 11:31 AM, Simon wrote: > This easily causes DoS for when too many FIN_WAIT_2 are created and IPFW > stops forwarding using the rule above because of "too many dynamic rules" Change the defaults for the fw.dyn sysctl MIB nodes to something like net.inet.ip.fw.dyn_short_lifetime=3 net.inet.ip.fw.dyn_udp_lifetime=3 net.inet.ip.fw.dyn_rst_lifetime=1 net.inet.ip.fw.dyn_fin_lifetime=1 net.inet.ip.fw.dyn_syn_lifetime=10 From ml at my.gd Wed Jun 6 18:45:02 2012 From: ml at my.gd (Damien Fleuriot) Date: Wed Jun 6 18:45:09 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <201206061723.q56HNkaF032427@mail.r-bonomi.com> References: <201206061723.q56HNkaF032427@mail.r-bonomi.com> Message-ID: <4FCFA529.1020703@my.gd> On 6/6/12 7:23 PM, Robert Bonomi wrote: > "Julian H. Stacey" wrote: >> >>> I do wonder about that. What incentive does the possesor of a signing key >>> have to keep it secret? >> >> Contract penalty clause maybe ? Lawyers ? > > Contract with _whom_? The party you pay money to -- Verisign -- simply > certifies that the party buying the certificate/signing-key -is- who they > claim to be. > > It is *entirely* up to the owner of that certificate/signing-key -who- they > allow to use it. > > If someone/anyone attempts to 'revoke' that certificate/key _other_ than > at the request of the owner of that certificate/key, *THAT* party is subject > to legal sanctions. Among other things, 'false persona', 'tortuous inter- > ference in a business relationship', just to name a few. > > There is, however, an 'interesting' legal question -- *if* a party were to > let 'anybody' use their certificate/key, what is the certificat/key owner's > legal liability if someone uses that key to sign malware? > > Standard contract writeup stipulates that only a limited set of 'authorized' company representatives be given access to the Signing Key. If the key should be divulged, then the key may be revoked by the issuer. From dnelson at allantgroup.com Wed Jun 6 18:50:26 2012 From: dnelson at allantgroup.com (Dan Nelson) Date: Wed Jun 6 18:50:33 2012 Subject: Proper Port Forwarding In-Reply-To: References: <20120606183127.68447106566B@hub.freebsd.org> Message-ID: <20120606185018.GA67937@dan.emsphone.com> In the last episode (Jun 06), Michael Sierchio said: > On Wed, Jun 6, 2012 at 11:31 AM, Simon wrote: > > > This easily causes DoS for when too many FIN_WAIT_2 are created and IPFW > > stops forwarding using the rule above because of "too many dynamic > > rules" > > Change the defaults for the fw.dyn sysctl MIB nodes > > to something like > > net.inet.ip.fw.dyn_short_lifetime=3 > net.inet.ip.fw.dyn_udp_lifetime=3 > net.inet.ip.fw.dyn_rst_lifetime=1 > net.inet.ip.fw.dyn_fin_lifetime=1 > net.inet.ip.fw.dyn_syn_lifetime=10 Or raise net.inet.ip.fw.dyn_max to a larger number. The default 4096 may be too small. -- Dan Nelson dnelson@allantgroup.com From jerry at seibercom.net Wed Jun 6 19:05:07 2012 From: jerry at seibercom.net (Jerry) Date: Wed Jun 6 19:05:14 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: <03ad948ef0fdab7fabfe119fdef00a0a@mail.magehandbook.com> References: <20120605201900.GB60388@hs1.VERBENA> <20120605172046.2571e964@scorpio> <03ad948ef0fdab7fabfe119fdef00a0a@mail.magehandbook.com> Message-ID: <20120606150500.1345c639@scorpio> On Wed, 06 Jun 2012 12:49:53 -0400 Daniel Staal articulated: >On 2012-06-05 17:20, Jerry wrote: > >> The question that I have not seen answered in this thread is what >> FreeBSD intents to do. From what I have seen, most FreeBSD users do >> not >> use the latest versions of most hardware, so it may be a while before >> its user base is even effected. > >I don't believe at this point FreeBSD has any intent one way or >another, really. It's not an immediate problem for any platform >supported by the FreeBSD project, at least for a technically-inclined >user who's willing to check out their BIOS. (Even if they are using >the latest hardware, the x86-derived platforms aren't going to require >this code signing yet.) So it'll probably be a 'wait and see if it's >something the FreeBSD community needs a solution for' at this point. >But this is just my impression. I totally agree with you. Unfortunately that speaks to the sad state of affairs that FreeBSD appears to be in. When it comes to supporting the latest technologies, it tends to be behind the curve when compared to other operating systems. Wireless networking and USB support are only a few examples. I don't know of any user personally who purchased a new PC and then threw FreeBSD on it. Most users that I have come into contact with use 2+ year old units that have been replaced by shiny new Windows units. I don't see that changing anytime soon. Large companies would all ready have the infrastructure in place to handle this sort of problem and as you pointed out would be working with a *nix vendor that could properly meet their needs. Said vendor would have all ready taken care of the UEFI Secure Boot problem. >In slight defense of RedHat: They do a lot of worrying about >enterprise and government customers, many of whom don't really care >what platform they are running on - as long as they can get 'support' >and it passes their security/operational tests. In that environment, >I can easily see some middle-manager decreeing that disabling the >signed-boot process is verboten, without any understanding of the >meaning or the consequences, and enforcing it on the whole >company/division, to the point where any non-signed OS would be thrown >out the door. FreeBSD has probably already been thrown out the door >at those types of locations, as there is no 'official' support >channel. (Yes, for my sins, I work at one of these...) What sin? You use a product and want it properly supported. You have an absolute right to that. Posting a message on a forum and hoping that someone can answer it is not the type of support a business would want. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From bunchou at googlemail.com Wed Jun 6 19:11:54 2012 From: bunchou at googlemail.com (=?UTF-8?B?5paH6bOl?=) Date: Wed Jun 6 19:12:01 2012 Subject: Why Clang In-Reply-To: <4FCF9C07.2000607@FreeBSD.org> References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: <20120606211144.5135cce9@kuro.5550h.net> On Wed, 06 Jun 2012 19:05:59 +0100 Matthew Seaman wrote: > On 06/06/2012 18:28, Thomas D. Dean wrote: > > Has the discussion on why change to clang been made available? > > Yes, endlessly. Mostly on lists like freebsd-hackers@... and at > various conferences and developer summits. Check the list archives. > > > I would like to know the reasoning. > > It's simple. gcc-4.2, which is what the base system compiler is > derived from is: > > * fairly old > > * doesn't perform as well as more recent compilers > > * doesn't adhere to recently established standards There's another good reason for clang which nobody mentioned so far: clear diagnostics. If you ever had to wade through gcc's debug output and compare several thousand character long template instantiations, just to find where they differ and then see the clear problem descriptions that clang produces instead, you'll understand what I mean. And in combination with libc++, which just arrived on stable, I am finally able to use all the features of C++11 that I want. Try to use e.g. std::regex even on g++47, and just see what happens. Of course, getting rid of GPL is an added benefit ;) After reading all those complaints, I just had to respond and thank everyone involved very much for importing clang and libc++. Great job well done! Best regards, ?? From joe.gain at gmail.com Wed Jun 6 19:24:40 2012 From: joe.gain at gmail.com (Joe Gain) Date: Wed Jun 6 19:24:48 2012 Subject: Why Clang In-Reply-To: <20120606211144.5135cce9@kuro.5550h.net> References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> <20120606211144.5135cce9@kuro.5550h.net> Message-ID: On Wed, Jun 6, 2012 at 9:11 PM, ?? wrote: > On Wed, 06 Jun 2012 19:05:59 +0100 > Matthew Seaman wrote: > >> On 06/06/2012 18:28, Thomas D. Dean wrote: >> > Has the discussion on why change to clang been made available? >> You might be interested in this video: http://www.llvm.org/devmtg/2011-11/videos/Davis_LLVMinFreeBSD-mobile.mp4 >> Yes, endlessly. Mostly on lists like freebsd-hackers@... and at >> various conferences and developer summits. Check the list archives. >> >> > I would like to know the reasoning. >> >> It's simple. gcc-4.2, which is what the base system compiler is >> derived from is: >> >> * fairly old >> >> * doesn't perform as well as more recent compilers >> >> * doesn't adhere to recently established standards > > There's another good reason for clang which nobody mentioned so far: > clear diagnostics. If you ever had to wade through gcc's debug output > and compare several thousand character long template instantiations, > just to find where they differ and then see the clear problem > descriptions that clang produces instead, you'll understand what I > mean. > And in combination with libc++, which just arrived on stable, I am > finally able to use all the features of C++11 that I want. Try to use > e.g. std::regex even on g++47, and just see what happens. > Of course, getting rid of GPL is an added benefit ;) > After reading all those complaints, I just had to respond and thank > everyone involved very much for importing clang and libc++. Great job > well done! > > Best regards, > ?? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) From bonomi at mail.r-bonomi.com Wed Jun 6 19:27:04 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Jun 6 19:27:11 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCFA529.1020703@my.gd> Message-ID: <201206061927.q56JRPLp033735@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Wed Jun 6 13:46:43 2012 > Date: Wed, 06 Jun 2012 20:44:57 +0200 > From: Damien Fleuriot > To: freebsd-questions@freebsd.org > Subject: Re: Is this something we (as consumers of FreeBSD) need to be aware > of? > > > > On 6/6/12 7:23 PM, Robert Bonomi wrote: > > "Julian H. Stacey" wrote: > >> > >>> I do wonder about that. What incentive does the possesor of a signing key > >>> have to keep it secret? > >> > >> Contract penalty clause maybe ? Lawyers ? > > > > Contract with _whom_? The party you pay money to -- Verisign -- simply > > certifies that the party buying the certificate/signing-key -is- who they > > claim to be. > > > > It is *entirely* up to the owner of that certificate/signing-key -who- they > > allow to use it. > > > > If someone/anyone attempts to 'revoke' that certificate/key _other_ than > > at the request of the owner of that certificate/key, *THAT* party is subject > > to legal sanctions. Among other things, 'false persona', 'tortuous inter- > > ference in a business relationship', just to name a few. > > > > There is, however, an 'interesting' legal question -- *if* a party were to > > let 'anybody' use their certificate/key, what is the certificat/key owner's > > legal liability if someone uses that key to sign malware? > > Standard contract writeup stipulates that only a limited set of > 'authorized' company representatives be given access to the Signing Key. Which simply begs the question. _who_ decides who is or is not an 'authorized' representative? Or how many such persons are allowed? > If the key should be divulged, then the key may be revoked by the issuer. Suppose I put up a web app that takes an executable as input, signs it with my key, and returns the signed filt to the submitter. I don't divulge the key to anyone, just use it on 'anything'. Anybody attempting to revoke on _that_ basis is asking for a lawsuit. From rsmith at xs4all.nl Wed Jun 6 19:42:11 2012 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Jun 6 19:42:19 2012 Subject: how do I fix this? In-Reply-To: <20120605223427.GC23645@thought.org> References: <20120604214304.GA29788@thought.org> <20120604182457.301b5d74@scorpio> <20120605045311.GB6634@thought.org> <20120605060435.GB21247@slackbox.erewhon.net> <20120605223427.GC23645@thought.org> Message-ID: <20120606194139.GA28038@slackbox.erewhon.net> On Tue, Jun 05, 2012 at 03:34:27PM -0700, Gary Kline wrote: > On Tue, Jun 05, 2012 at 08:04:35AM +0200, Roland Smith wrote: > > > what I want to do is get as current as possible and then > > > install 7.5. and stay there. > > > > 7.5 what? Do you mean Xorg? Please try and be specific. > > FreeBSD-7.5. pretty sure I saw something about 7.4 being > upgraded to 7.5. It doesn't look like it. From http://www.nl.freebsd.org/releases/7.4R/announce.html: "This will be the last release from the 7-STABLE branch." 7.4 is listed as a "legacy" release of the FreeBSD homepage. The only upcoming release listed is 9.1 somewhere this year. > > Portmaster will first recurse through the port and all of its dependencies > > (if any) to handle any port OPTIONS via the 'make config' interface, > > before going off on the big build. > > > one thing ive been doing is de-selection most of the > options.. the box is my server. we [freebsders] have lost > the desktop 'market' .... My desktop and laptop beg to differ. :-) UNIX is a toolbox, not an appliance. So it was never meant for the "desktop market". But that doesn't mean it cannot be used as such. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120606/2ce589ec/attachment.pgp From feenberg at nber.org Wed Jun 6 19:43:19 2012 From: feenberg at nber.org (Daniel Feenberg) Date: Wed Jun 6 19:43:25 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCFA41A.4010506@my.gd> References: <201206061630.q56GUJj7093472@fire.js.berklix.net> <4FCFA41A.4010506@my.gd> Message-ID: On Wed, 6 Jun 2012, Damien Fleuriot wrote: > > > On 6/6/12 6:45 PM, Daniel Feenberg wrote: >> >> >> On Wed, 6 Jun 2012, Julian H. Stacey wrote: >> >>>> I do wonder about that. What incentive does the possesor of a signing >>>> key >>>> have to keep it secret? >>> >>> Contract penalty clause maybe ? Lawyers ? >> >> A limited-liability company with no assets is judgement-proof. >> >>> >>> Otherwise one of us would purchase a key for $99, & then publish >>> the key so we could all forever more compile & boot our own kernels. >>> But that would presumably break the trap Microsoft & Verisign seek >>> to impose. >>> >> >> Could it really be that simple? As for hardware vendors putting revoked >> keys in the ROM - are they really THAT cooperative? Seems like they >> would drag their feet on ROM updates if they had to add a lot of stuff >> that won't help them, so that doesn't seem like a great enforcement tool. >> >> dan feenberg > > > Oh god... > > Please realize that once the key is divulged, it gets revoked at the > BIOS' next update. But my point is that MS doesn't issue the updates, they have to ask the BIOS vendors to do so, and then the MB vendors have to take the update, and then the users have to install the update. The incentive at each level is generally very small. It does create some confusion, but is hardly an enforcement mechanism. It would disable older versions of FreeBSD on newer hardware, but not much else. A previous poster has pointed out that MS can't revoke a certificate belonging to RH, but I suppose the could ask the BIOS vendors to treat it as revoked. I don't know what the response would be. Daniel Feenberg > > Otherwise the key's purpose is rendered moot. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From feld at feld.me Wed Jun 6 19:53:56 2012 From: feld at feld.me (Mark Felder) Date: Wed Jun 6 19:54:05 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCFA529.1020703@my.gd> References: <201206061723.q56HNkaF032427@mail.r-bonomi.com> <4FCFA529.1020703@my.gd> Message-ID: On Wed, 06 Jun 2012 13:44:57 -0500, Damien Fleuriot wrote: > If the key should be divulged, then the key may be revoked by the issuer. Revoked how? Wouldn't they have to issue a firmware update to actually revoke it? The UEFI firmware doesn't have network access.... From rsimmons0 at gmail.com Wed Jun 6 19:55:18 2012 From: rsimmons0 at gmail.com (Robert Simmons) Date: Wed Jun 6 19:55:27 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: <20120606150500.1345c639@scorpio> References: <20120605201900.GB60388@hs1.VERBENA> <20120605172046.2571e964@scorpio> <03ad948ef0fdab7fabfe119fdef00a0a@mail.magehandbook.com> <20120606150500.1345c639@scorpio> Message-ID: On Wed, Jun 6, 2012 at 3:05 PM, Jerry wrote: > On Wed, 06 Jun 2012 12:49:53 -0400 > Daniel Staal articulated: > >>On 2012-06-05 17:20, Jerry wrote: >> >>> The question that I have not seen answered in this thread is what >>> FreeBSD intents to do. From what I have seen, most FreeBSD users do >>> not >>> use the latest versions of most hardware, so it may be a while before >>> its user base is even effected. >> >>I don't believe at this point FreeBSD has any intent one way or >>another, really. ?It's not an immediate problem for any platform >>supported by the FreeBSD project, at least for a technically-inclined >>user who's willing to check out their BIOS. ?(Even if they are using >>the latest hardware, the x86-derived platforms aren't going to require >>this code signing yet.) ?So it'll probably be a 'wait and see if it's >>something the FreeBSD community needs a solution for' at this point. >>But this is just my impression. > > I totally agree with you. Unfortunately that speaks to the sad state of > affairs that FreeBSD appears to be in. When it comes to supporting the > latest technologies, it tends to be behind the curve when compared to > other operating systems. Wireless networking and USB support are only a > few examples. > > I don't know of any user personally who purchased a new PC and then > threw FreeBSD on it. Most users that I have come into contact with use > 2+ year old units that have been replaced by shiny new Windows units. I > don't see that changing anytime soon. I would have to disagree with you there. I know of quite a few users who happen to run one of the world's largest content distribution networks (accounting for about one third of the internet's traffic; up there with pornography). They purchased more than just a handful of new computers and threw FreeBSD on them: http://lists.freebsd.org/pipermail/freebsd-stable/2012-June/068129.html From anonymous at anonymitaet-im-inter.net Wed Jun 6 20:01:23 2012 From: anonymous at anonymitaet-im-inter.net (Dave U. Random) Date: Wed Jun 6 20:01:32 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120606182153.3cc2ee07.freebsd@edvax.de> Message-ID: Polytropon wrote: > On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: > > Having to pay Verisign instead of Microsoft makes no difference: the > > point is why should I have to pay anything to a third party in order to > > run whatever OS I want on a piece of hardware I own? It's time to dump the Intel/Microshaft mafia forever. FreeBSD, OpenBSD, NetBSD, and even Linux have ports to many platforms. Why stay on Intel? It's an overgrown ugly mess. We need to stop buying Intel mafiaware with preinstalled Microshaft mafiware and run a free (or in the case of Linux "apparently free") OS on free hardware. There are increasing numbers of SBCs and plenty of used servers on Ebay. They're all built better than commodity Intel mafiaware. Good riddance! From feld at feld.me Wed Jun 6 20:06:24 2012 From: feld at feld.me (Mark Felder) Date: Wed Jun 6 20:06:31 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF1891.9020006@cran.org.uk> <4FCF2521.6090006@FreeBSD.org> <20120606062437.41f48a9e@scorpio> <4FCF352F.7030509@infracaninophile.co.uk> <20120606182153.3cc2ee07.freebsd@edvax.de> Message-ID: Yes, let's all run ALPHA and MIPS hardware. I'll just jam my Nvidia card into one of the available slots and everything should work OK, right? From jerry at seibercom.net Wed Jun 6 20:09:51 2012 From: jerry at seibercom.net (Jerry) Date: Wed Jun 6 20:09:58 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: References: <20120605201900.GB60388@hs1.VERBENA> <20120605172046.2571e964@scorpio> <03ad948ef0fdab7fabfe119fdef00a0a@mail.magehandbook.com> <20120606150500.1345c639@scorpio> Message-ID: <20120606160940.7700340a@scorpio> On Wed, 6 Jun 2012 15:55:16 -0400 Robert Simmons articulated: >On Wed, Jun 6, 2012 at 3:05 PM, Jerry wrote: >> On Wed, 06 Jun 2012 12:49:53 -0400 >> Daniel Staal articulated: >> >>>On 2012-06-05 17:20, Jerry wrote: >>> >>>> The question that I have not seen answered in this thread is what >>>> FreeBSD intents to do. From what I have seen, most FreeBSD users do >>>> not >>>> use the latest versions of most hardware, so it may be a while >>>> before its user base is even effected. >>> >>>I don't believe at this point FreeBSD has any intent one way or >>>another, really. ?It's not an immediate problem for any platform >>>supported by the FreeBSD project, at least for a technically-inclined >>>user who's willing to check out their BIOS. ?(Even if they are using >>>the latest hardware, the x86-derived platforms aren't going to >>>require this code signing yet.) ?So it'll probably be a 'wait and >>>see if it's something the FreeBSD community needs a solution for' at >>>this point. But this is just my impression. >> >> I totally agree with you. Unfortunately that speaks to the sad state >> of affairs that FreeBSD appears to be in. When it comes to >> supporting the latest technologies, it tends to be behind the curve >> when compared to other operating systems. Wireless networking and >> USB support are only a few examples. >> >> I don't know of any user personally who purchased a new PC and then >> threw FreeBSD on it. Most users that I have come into contact with >> use 2+ year old units that have been replaced by shiny new Windows >> units. I don't see that changing anytime soon. > >I would have to disagree with you there. I know of quite a few users >who happen to run one of the world's largest content distribution >networks (accounting for about one third of the internet's traffic; up >there with pornography). They purchased more than just a handful of >new computers and threw FreeBSD on them: > >http://lists.freebsd.org/pipermail/freebsd-stable/2012-June/068129.html It is late and I am tired; however, unless I am misreading this, this is not dealing with a typical home use but a corporate entity. You omitted my last paragraph in my reply that clearly dealing with corporations. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From DStaal at usa.net Wed Jun 6 20:10:29 2012 From: DStaal at usa.net (Daniel Staal) Date: Wed Jun 6 20:10:36 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: <20120606150500.1345c639@scorpio> References: <20120605201900.GB60388@hs1.VERBENA> <20120605172046.2571e964@scorpio> <03ad948ef0fdab7fabfe119fdef00a0a@mail.magehandbook.com> <20120606150500.1345c639@scorpio> Message-ID: On 2012-06-06 15:05, Jerry wrote: > On Wed, 06 Jun 2012 12:49:53 -0400 > Daniel Staal articulated: >> >>I don't believe at this point FreeBSD has any intent one way or >>another, really. It's not an immediate problem for any platform >>supported by the FreeBSD project, at least for a technically-inclined >>user who's willing to check out their BIOS. (Even if they are using >>the latest hardware, the x86-derived platforms aren't going to >> require >>this code signing yet.) So it'll probably be a 'wait and see if it's >>something the FreeBSD community needs a solution for' at this point. >>But this is just my impression. > > I totally agree with you. Unfortunately that speaks to the sad state > of > affairs that FreeBSD appears to be in. When it comes to supporting > the > latest technologies, it tends to be behind the curve when compared to > other operating systems. Wireless networking and USB support are only > a > few examples. That was not my intended message with the above. :) FreeBSD supports several server-class hardware platforms. ARM is not currently a server-class hardware platform. (It's a very interesting platform for mobile and small devices, but it has not seen any significant use that I am aware of in the market that FreeBSD is primarily aimed at.) Secure Boot - if even a part of the platform - can easily be disabled on those platforms. So it is not a current problem, and there is a fair amount of bad feeling about the technology, so it may not ever be a problem. RedHat is facing severe backlash from the community because it supported this technology. A 'wait and see' approach to whether it needs to be supported at all - especially as it doesn't appear to need support at present - is a reasonable course. > I don't know of any user personally who purchased a new PC and then > threw FreeBSD on it. Most users that I have come into contact with > use > 2+ year old units that have been replaced by shiny new Windows units. > I > don't see that changing anytime soon. *Raises hand*. I did this with two boxes within the past year. One turned out to be to new for FreeBSD - but Linux didn't have support for it yet at that point either. Now either does. >>In slight defense of RedHat: They do a lot of worrying about >>enterprise and government customers, many of whom don't really care >>what platform they are running on - as long as they can get 'support' >>and it passes their security/operational tests. In that environment, >>I can easily see some middle-manager decreeing that disabling the >>signed-boot process is verboten, without any understanding of the >>meaning or the consequences, and enforcing it on the whole >>company/division, to the point where any non-signed OS would be >> thrown >>out the door. FreeBSD has probably already been thrown out the door >>at those types of locations, as there is no 'official' support >>channel. (Yes, for my sins, I work at one of these...) > > What sin? You use a product and want it properly supported. You have > an > absolute right to that. Posting a message on a forum and hoping that > someone can answer it is not the type of support a business would > want. I'm not sure what sin I committed to be consigned to this place, but it must have been heinous. (And in many cases 'official support' appears to be 'post a message about it on our forum, so we can ignore you more efficiently'.) Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From grarpamp at gmail.com Wed Jun 6 20:13:47 2012 From: grarpamp at gmail.com (grarpamp) Date: Wed Jun 6 20:13:54 2012 Subject: UEFI Secure Boot Specs - And some sanity Message-ID: Isn't there a lot of needless handwaving going on when the spec is pretty clear that installing your own complete PKI tree will all boil down to what is effectively a jumper on the motherboard? First, some sanity... Users could fully utilize the UEFI Secure Boot hardware by say: - Using openssl to generate their keys - Jumper the board, burn it into the BIOS in UEFI SB SetupMode - Have all the MBR, slice, partition, installkernel, etc tools install and manage the signed disk/loader/kernel/module bits - Have the BIOS check sigs on whatever first comes off the media I don't see that the user will actually NOT be able to do this on anything but 'designed for windows only' ARM systems. Seeing how open Android/Linux is firmly in that space, this will just devalue the non open windows product. There have been 25 years of generic mass produced motherboards. And 25 years of open source OS commits to utilize them. That is not changing anytime soon. Non generic attempts fail. Even corporate kings Dell and HP know they would be foolish to sell motherboards that will not allow their buyers to swap out the PK keys... because they know their buyers run more than just windows and that they need various security models. And if they really were that dumb, there's Gigabyte, Asus, Msi, Supermicro, Biostar, etc who will not be so dumb and will soak up all the remaining sales gravy. The masses have seen and now want openness, open systems, sharing. The old models are but speed bumps on their own way out the door. Though it seems a non issue to me, if you want to protest, protest for 'Setup Mode'. And not here on this list, but to the hardware makers. We should want to use this PKI in our systems. Not disable it. Not pay $100 to terminate the PKI chain early. Not pay $100 to lock us into unmodifiable releases (aka: BSD corporate version). I look forward to seeing the UEFI SB PK SetupMode AMD and Intel generic motherboard list :) On to facts... http://www.uefi.org/ Spec Chapter 27 Secure Boot, SetupMode, PK, Shell, etc https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface https://en.wikipedia.org/wiki/Unified_EFI_Forum http://ozlabs.org/docs/uefi-secure-boot-impact-on-linux.pdf https://www.fsf.org/campaigns/secure-boot-vs-restricted-boot http://mjg59.dreamwidth.org/12368.html http://mjg59.livejournal.com/ https://www.tianocore.org/ http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=962584 From bonomi at mail.r-bonomi.com Wed Jun 6 20:14:29 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Jun 6 20:14:36 2012 Subject: Why Clang In-Reply-To: <4FCF9333.70201@speakeasy.org> Message-ID: <201206062014.q56KEtVS034105@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Wed Jun 6 12:33:25 2012 > Date: Wed, 06 Jun 2012 10:28:19 -0700 > From: "Thomas D. Dean" > To: freebsd-questions@freebsd.org > Subject: Why Clang > > Has the discussion on why change to clang been made available? > > I would like to know the reasoning. There were several reasons; 1) the proliferation of "non-standard" things that the GNU crowd calls 'features' in newer versions of the compiler -- some of which actually break 'standards compliant' code. 2) The proliferation of situations under which newer versions of the GCC compiler generate 'bad code' -- code that does *NOT* do what it is supposed to do. 3) The GPL, version *3* -- which applies to all newer versions of the GCC compiler -- is unacceptable to a large part of the FreeBSD community. Items 1) and 2) were ongoing nuisances. Item 3) all by itself, was the deal breaker. clang was selected over alternatives -- including keeping the 'old' (GPL v2) GCC, on the basis of: a) better standards compliance. b) *FAR* better error messages. c) guality of generated code. d) 'non-restrictive' licensing. The GPL V3 has been responsible for a lot of people, besides FreeBSD, going looking for alternatives to any GPL-licensed code. GNU is well on the way to 'radicalizing' itself out of significance. They would rather be ideologically pure than 'widely accepted'. It _is_ their right to do so, but it makes life 'difficult' for those who have interests in building profit-based products using their tools. From ait at p2ee.org Wed Jun 6 20:35:43 2012 From: ait at p2ee.org (Alejandro Imass) Date: Wed Jun 6 20:35:50 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: <20120606182153.3cc2ee07.freebsd@edvax.de> Message-ID: On Wed, Jun 6, 2012 at 3:52 PM, Dave U. Random wrote: > Polytropon wrote: > >> On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: >> > Having to pay Verisign instead of Microsoft makes no difference: the >> > point is why should I have to pay anything to a third party in order to >> > run whatever OS I want on a piece of hardware I own? > > It's time to dump the Intel/Microshaft mafia forever. FreeBSD, OpenBSD, > NetBSD, and even Linux have ports to many platforms. Why stay on Intel? It's > an overgrown ugly mess. > > We need to stop buying Intel mafiaware with preinstalled Microshaft mafiware > and run a free (or in the case of Linux "apparently free") OS on free > hardware. > But this is more to do with the BIOS than with Intel as such. Wasn't there a FreeBIOS, later LinuxBIOS, now coreboot I believe..? So replacing the BIOS entirely wouldn't suffice to override all this nonsense? From perrin at apotheon.com Wed Jun 6 20:42:29 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 6 20:42:37 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCF4BB8.8040703@my.gd> References: <20120605203717.5663bdf7.freebsd@edvax.de> <20120605181055.4af65fdb@scorpio> <4FCF0772.8000609@FreeBSD.org> <4FCF4BB8.8040703@my.gd> Message-ID: <20120606204227.GA1495@hemlock.hydra> On Wed, Jun 06, 2012 at 02:23:20PM +0200, Damien Fleuriot wrote: > > I agree with the whole post except that last bit about ICANN Matthew. > > The US already has enough dominance as is, without involving ICANN, a > supposedly neutral body (yeah right...) any further. Indeed. The last thing we need is some self-appointed "authority" purporting to have the last word on what qualifies as "secure". There is no need for a third-party certification of secure booting. If there is need for such a secure booting mechanism at all, it is a need for the ability of end-of-chain device owners to be able to set their own keys, without the involvement of any third parties, and an out-of-band key verification mechanism. Once again, I feel it incumbent upon me to point to examples like OpenPGP's keyserver network as the counter-proposal to a cetifying "authority" charging money to allow people to control their own system security in what amounts to a vacant lot scam. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From carmel_ny at hotmail.com Wed Jun 6 20:57:57 2012 From: carmel_ny at hotmail.com (Carmel) Date: Wed Jun 6 20:58:10 2012 Subject: pulseaudio error message Message-ID: The message log on my machine is filling up with this error message: Jun 6 11:36:55 raven pulseaudio[6440]: sink-input.c: Failed to create sink input: too many inputs per sink. Jun 6 11:36:58 raven pulseaudio[6440]: sink-input.c: Failed to create sink input: too many inputs per sink. Jun 6 11:59:54 raven pulseaudio[6440]: sink-input.c: Failed to create sink input: too many inputs per sink. Jun 6 12:00:04 raven pulseaudio[6440]: sink-input.c: Failed to create sink input: too many inputs per sink. Jun 6 12:00:04 raven pulseaudio[6440]: sink-input.c: Failed to create sink input: too many inputs per sink. Sometimes only one or two lines are written and at others it is four or five lines. Can anyone tell me exactly what is transpiring here? -- Carmel ? carmel_ny@hotmail.com From anonymous at anonymitaet-im-inter.net Wed Jun 6 21:22:49 2012 From: anonymous at anonymitaet-im-inter.net (Dave U. Random) Date: Wed Jun 6 21:22:56 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Message-ID: Wojciech Puchar wrote: > anyway NOBODY are forced to buy micro-soft software. That's almost correct but not quite. In 99% of the cases any Intel commodity mafiaware comes with a preinstalled Winblows. You're paying for it whether you want it or not. You can get a refund in many cases but it's more effort than most peoples' time is worth. > Nobody is forced to buy a PC. True. I got rid of all my Intel mafiaware a few years ago and I don't miss it. It's nice in the winter as well. > Doing this with PC market will result in larger market share for > non-Wintel hardware. I hope it does but sheeple are stupid and don't care. From ml at my.gd Wed Jun 6 21:42:47 2012 From: ml at my.gd (Damien Fleuriot) Date: Wed Jun 6 21:42:55 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: Message-ID: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> On 6 Jun 2012, at 21:52, Dave U. Random wrote: > Polytropon wrote: > >> On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: >>> Having to pay Verisign instead of Microsoft makes no difference: the >>> point is why should I have to pay anything to a third party in order to >>> run whatever OS I want on a piece of hardware I own? > > It's time to dump the Intel/Microshaft mafia forever. FreeBSD, OpenBSD, > NetBSD, and even Linux have ports to many platforms. Why stay on Intel? It's > an overgrown ugly mess. > > We need to stop buying Intel mafiaware with preinstalled Microshaft mafiware > and run a free (or in the case of Linux "apparently free") OS on free > hardware. > > There are increasing numbers of SBCs and plenty of used servers on > Ebay. They're all built better than commodity Intel mafiaware. Good > riddance! > You have no idea what you're talking about. This kind of religious propaganda post is neither constructive nor helpful. I don't trust AMD with my servers' CPUs, not since many years ago when they had all these overheating problems. From dougb at FreeBSD.org Wed Jun 6 22:07:47 2012 From: dougb at FreeBSD.org (Doug Barton) Date: Wed Jun 6 22:07:54 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCF8141.2040402@eskk.nu> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> <4FCC6557.40403@eskk.nu> <4FCC66A0.4030405@FreeBSD.org> <4FCC6E7D.50004@eskk.nu> <4FCCC1DA.4020202@eskk.nu> <4FCF8141.2040402@eskk.nu> Message-ID: <4FCFD46B.2070306@FreeBSD.org> On 06/06/2012 09:11, Leslie Jensen wrote: > My initial wish for some information about the build progress is still > very much on the table. Try the attached patch. It essentially adds the progress info that is being put in the TERM title to the in-line printout of the dependency trail that was already there. Let me know what you think, Doug -- This .signature sanitized for your protection -------------- next part -------------- Index: portmaster =================================================================== --- portmaster (revision 236697) +++ portmaster (working copy) @@ -2208,6 +2208,8 @@ } term_printf () { + echo -e "\n\t${PM_PARENT_PORT}${1}" + [ -n "$PM_NO_TERM_TITLE" ] && return case "$TERM" in cons*) return ;; esac @@ -2283,7 +2285,7 @@ deps=" (${dep_of_deps}/${num_of_deps})" if [ -n "$PM_DEPTH" ]; then - echo " ${PM_DEPTH}>> ${1#$pd/}" + #echo " ${PM_DEPTH}>> ${1#$pd/}" term_printf " ${PM_DEPTH#* }>> ${1#$pd/}${deps}" else [ -n "$UPDATE_ALL" ] && term_printf " >> ${1#$pd/}${deps}" @@ -2623,7 +2625,7 @@ [ -z "$dep_of_deps" ] && dep_of_deps=0 export PM_PARENT_PORT num_of_deps dep_of_deps - term_printf + #term_printf } if [ -n "$PM_URB" ]; then @@ -2783,6 +2785,7 @@ numports=$(( $numports + 1 )) init_term_printf "$port ${numports}/${numports}" + term_printf ($0 $ARGS $port) || update_failed=update_failed . $IPC_SAVE [ -n "$update_failed" ] && fail "Update for $port failed" @@ -2825,6 +2828,7 @@ num=$(( $num + 1 )) init_term_printf "$port ${num}/${numports}" + term_printf ($0 $ARGS $port) || update_failed=update_failed . $IPC_SAVE [ -n "$update_failed" ] && fail "Update for $port failed" @@ -2978,6 +2982,7 @@ [ -n "$DI_FILES" ] && (read_distinfos)& init_term_printf All + term_printf ports_by_category echo "===>>> Starting check of installed ports for available updates" From dougb at FreeBSD.org Wed Jun 6 22:41:29 2012 From: dougb at FreeBSD.org (Doug Barton) Date: Wed Jun 6 22:41:36 2012 Subject: Portmaster and update progress, suggestion. In-Reply-To: <4FCFD46B.2070306@FreeBSD.org> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> <4FCC6557.40403@eskk.nu> <4FCC66A0.4030405@FreeBSD.org> <4FCC6E7D.50004@eskk.nu> <4FCCC1DA.4020202@eskk.nu> <4FCF8141.2040402@eskk.nu> <4FCFD46B.2070306@FreeBSD.org> Message-ID: <4FCFDC98.5070002@FreeBSD.org> On 06/06/2012 15:06, Doug Barton wrote: > On 06/06/2012 09:11, Leslie Jensen wrote: >> My initial wish for some information about the build progress is still >> very much on the table. > > Try the attached patch. Actually try this one instead. :) -- This .signature sanitized for your protection -------------- next part -------------- Index: portmaster =================================================================== --- portmaster (revision 236697) +++ portmaster (working copy) @@ -2208,6 +2208,8 @@ } term_printf () { + case "$1" in *\>\>*) echo -e "\n\t${PM_PARENT_PORT}${1}" ;; esac + [ -n "$PM_NO_TERM_TITLE" ] && return case "$TERM" in cons*) return ;; esac @@ -2283,7 +2285,6 @@ deps=" (${dep_of_deps}/${num_of_deps})" if [ -n "$PM_DEPTH" ]; then - echo " ${PM_DEPTH}>> ${1#$pd/}" term_printf " ${PM_DEPTH#* }>> ${1#$pd/}${deps}" else [ -n "$UPDATE_ALL" ] && term_printf " >> ${1#$pd/}${deps}" @@ -2527,19 +2528,16 @@ safe_exit elif [ -n "$PM_FIRST_PASS" -a -z "$PM_PACKAGES" ]; then echo "===>>> Initial dependency check complete for $portdir" - case "$PM_DEPTH" in *\>\>*) echo " $PM_DEPTH" ;; esac else echo "===>>> Dependency check complete for $portdir" - case "$PM_DEPTH" in - *\>\>*) echo " $PM_DEPTH" ;; - *) if [ "$PM_PARENT_PORT" = All ]; then - local deps - deps=" (${dep_of_deps}/${num_of_deps})" - term_printf " >> ${upg_port:-$portdir}${deps}" - else - term_printf - fi ;; - esac + + if [ "$PM_PARENT_PORT" = All ]; then + local deps + deps=" (${dep_of_deps}/${num_of_deps})" + term_printf " >> ${upg_port:-$portdir}${deps}" + else + term_printf + fi fi } # dependency_check() From bruce at cran.org.uk Wed Jun 6 23:10:47 2012 From: bruce at cran.org.uk (Bruce Cran) Date: Wed Jun 6 23:10:53 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <201206061927.q56JRPLp033735@mail.r-bonomi.com> References: <201206061927.q56JRPLp033735@mail.r-bonomi.com> Message-ID: <4FCFE342.2050809@cran.org.uk> On 06/06/2012 20:27, Robert Bonomi wrote: > Suppose I put up a web app that takes an executable as input, signs it > with my key, and returns the signed filt to the submitter. I don't > divulge the key to anyone, just use it on 'anything'. Anybody > attempting to revoke on _that_ basis is asking for a lawsuit. To me it would be perfectly reasonable to revoke the key as soon as you signed the first piece of malware. And then anyone who has used the service is left with broken binaries, so the model fails. -- Bruce Cran From betts at norden1.com Wed Jun 6 23:22:05 2012 From: betts at norden1.com (betts@norden1.com) Date: Wed Jun 6 23:22:11 2012 Subject: Blank page after log in to phpmyadmin Message-ID: <11872b41d581ea0ba80400b5bc45c170.squirrel@webmail.norden1.com> I have a blank white page after I log into phpmyadmin. I have upgraded to php 5.4.3 along with the extensions. Also upgraded to current phpmyadmin. Have checked the error logs and nothing is showing in the logs. Any idea what happended. phpmyadmin was working before upgrade. From glarkin at FreeBSD.org Wed Jun 6 23:31:15 2012 From: glarkin at FreeBSD.org (Greg Larkin) Date: Wed Jun 6 23:31:23 2012 Subject: Blank page after log in to phpmyadmin In-Reply-To: <11872b41d581ea0ba80400b5bc45c170.squirrel@webmail.norden1.com> References: <11872b41d581ea0ba80400b5bc45c170.squirrel@webmail.norden1.com> Message-ID: <4FCFE83F.1000205@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/6/12 7:16 PM, betts@norden1.com wrote: > I have a blank white page after I log into phpmyadmin. I have > upgraded to php 5.4.3 along with the extensions. Also upgraded to > current phpmyadmin. Have checked the error logs and nothing is > showing in the logs. Any idea what happended. phpmyadmin was > working before upgrade. > > Hi there, This is typically caused by a PHP-related error of some sort. Have you enable the error_log directive in your php.ini file? If not, do that and restart your server. After loading the page again, check the file and you should have some indication of what's wrong. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/P6D8ACgkQ0sRouByUApClwwCfbKt4LmaJ+pKiIss/Av95CuTQ 8nUAnAzfNrx4fs78ej6UFuf0G5i5bpln =XAa7 -----END PGP SIGNATURE----- From jhs at berklix.com Wed Jun 6 23:32:46 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Wed Jun 6 23:32:55 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Your message "Wed, 06 Jun 2012 12:45:48 EDT." Message-ID: <201206062332.q56NWJQ1096469@fire.js.berklix.net> > > Contract penalty clause maybe ? Lawyers ? > > A limited-liability company with no assets is judgement-proof. There's set up & running costs (time & money), & other exposure http://berklix.com/~jhs/mecc/ltd_gmbh.html Easiest done by those who have done it before, One would be careful, there's exposure to directors individual liabilities eg fraud laws perhaps in some scenarios, & not wanting to be struck off & listed as somone not allowed to be a director of other companies. > > Otherwise one of us would purchase a key for $99, & then publish > > the key so we could all forever more compile & boot our own kernels. > > But that would presumably break the trap Microsoft & Verisign seek > > to impose. > > > > Could it really be that simple? I doubt it. Even if so, best avoid one individual in the firing line. It's not nice being a small company director personaly targeted by lawyers of a rich malicious company. Being in another country gives little protection, remote lawyers hire local lawyers to harass. They don't even need a good chance of winning, inventive threats, stress & costs unpleasant. Best activate officials with big budgets & manpower to fight back. We should unite with other Free Source groups & approach & inform eg the Competition Commisioner of the European Union (which has already fined MS heavily before on anti monopoly issues) http://en.wikipedia.org/wiki/European_Union_Microsoft_competition_case http://www.msnbc.msn.com/id/23366103/ns/business-world_business/t/eu-fines-microsoft-record-billion/ I recall George Bush junior quashed the last go at breaking up Microsoft, but maybe the present USA govt. could be encouraged to fine MS, even if they don't fancy breaking the monopoly aka http://en.wikipedia.org/wiki/Standard_Oil Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From dpchrist at holgerdanske.com Wed Jun 6 23:35:46 2012 From: dpchrist at holgerdanske.com (David Christensen) Date: Wed Jun 6 23:35:53 2012 Subject: Which FreeBSD for Intel i7-2600S and DQ67SWB3? Message-ID: <4FCFE8D3.7020201@holgerdanske.com> freebsd-questions: I have a new computer with an Intel i7-2600S processor and DQ67SWB3 motherboard that I'd like to run with ZFS, virtual machine host, desktop, Samba, and terminal server (on second NIC). Can this be done with FreeBSD; if so, which distribution and ports/packages do I need? TIA, David From kurt.buff at gmail.com Wed Jun 6 23:39:31 2012 From: kurt.buff at gmail.com (Kurt Buff) Date: Wed Jun 6 23:39:41 2012 Subject: UEFI Secure Boot Specs - And some sanity In-Reply-To: References: Message-ID: Thank you for this. I didn't realize that a simple (somewhat technical) question asked in all innocence would generate so much flammage. Kurt On Wed, Jun 6, 2012 at 1:13 PM, grarpamp wrote: > Isn't there a lot of needless handwaving going on when the spec is > pretty clear that installing your own complete PKI tree will all > boil down to what is effectively a jumper on the motherboard? > > > First, some sanity... > > Users could fully utilize the UEFI Secure Boot hardware by say: > > - Using openssl to generate their keys > - Jumper the board, burn it into the BIOS in UEFI SB SetupMode > - Have all the MBR, slice, partition, installkernel, etc tools > install and manage the signed disk/loader/kernel/module bits > - Have the BIOS check sigs on whatever first comes off the media > > I don't see that the user will actually NOT be able to do this on > anything but 'designed for windows only' ARM systems. Seeing how > open Android/Linux is firmly in that space, this will just devalue > the non open windows product. > > There have been 25 years of generic mass produced motherboards. > And 25 years of open source OS commits to utilize them. > That is not changing anytime soon. Non generic attempts fail. > > Even corporate kings Dell and HP know they would be foolish to sell > motherboards that will not allow their buyers to swap out the PK > keys... because they know their buyers run more than just windows > and that they need various security models. > > And if they really were that dumb, there's Gigabyte, Asus, Msi, > Supermicro, Biostar, etc who will not be so dumb and will soak up > all the remaining sales gravy. > > The masses have seen and now want openness, open systems, sharing. > The old models are but speed bumps on their own way out the door. > > Though it seems a non issue to me, if you want to protest, protest > for 'Setup Mode'. And not here on this list, but to the hardware > makers. > > We should want to use this PKI in our systems. Not disable it. Not > pay $100 to terminate the PKI chain early. Not pay $100 to lock us > into unmodifiable releases (aka: BSD corporate version). > > I look forward to seeing the UEFI SB PK SetupMode AMD and Intel > generic motherboard list :) > > > On to facts... > > http://www.uefi.org/ > ?Spec Chapter 27 Secure Boot, SetupMode, PK, Shell, etc > > https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface > https://en.wikipedia.org/wiki/Unified_EFI_Forum > http://ozlabs.org/docs/uefi-secure-boot-impact-on-linux.pdf > https://www.fsf.org/campaigns/secure-boot-vs-restricted-boot > http://mjg59.dreamwidth.org/12368.html > http://mjg59.livejournal.com/ > https://www.tianocore.org/ > http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=962584 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From bonomi at mail.r-bonomi.com Wed Jun 6 23:53:55 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Jun 6 23:54:03 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FCFE342.2050809@cran.org.uk> Message-ID: <201206062354.q56NsMAA037016@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Wed Jun 6 18:13:09 2012 > Date: Thu, 07 Jun 2012 00:09:54 +0100 > From: Bruce Cran > To: Robert Bonomi > Cc: freebsd-questions@freebsd.org > Subject: Re: Is this something we (as consumers of FreeBSD) need to be aware > of? > > On 06/06/2012 20:27, Robert Bonomi wrote: > > Suppose I put up a web app that takes an executable as input, signs it > > with my key, and returns the signed filt to the submitter. I don't > > divulge the key to anyone, just use it on 'anything'. Anybody > > attempting to revoke on _that_ basis is asking for a lawsuit. > > To me it would be perfectly reasonable to revoke the key as soon as you > signed the first piece of malware. It may seem reasonable to you, but is there -legal- basis to do so? 'signing' only provides assurance of the identity of the signer. I did sign it. The key has not been compromised. The software in question is tracable to the signer, but the signer never claimed it was 'error free', what conract or statute did they breach by doing the signing? From cswiger at mac.com Wed Jun 6 23:59:43 2012 From: cswiger at mac.com (Chuck Swiger) Date: Wed Jun 6 23:59:50 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <201206062354.q56NsMAA037016@mail.r-bonomi.com> References: <201206062354.q56NsMAA037016@mail.r-bonomi.com> Message-ID: On Jun 6, 2012, at 4:54 PM, Robert Bonomi wrote: [ ... ] > It may seem reasonable to you, but is there -legal- basis to do so? Go ask your lawyer. freebsd-questions isn't qualified to provide you with legal advice. Regards, -- -Chuck From bonomi at mail.r-bonomi.com Thu Jun 7 00:08:57 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Thu Jun 7 00:09:13 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Message-ID: <201206070009.q5709OMS037173@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Wed Jun 6 19:01:14 2012 > From: Chuck Swiger > Date: Wed, 06 Jun 2012 16:59:36 -0700 > To: Robert Bonomi > Cc: freebsd-questions@freebsd.org > Subject: Re: Is this something we (as consumers of FreeBSD) need to be > aware of? > > On Jun 6, 2012, at 4:54 PM, Robert Bonomi wrote: > [ ... ] > > It may seem reasonable to you, but is there -legal- basis to do so? > > Go ask your lawyer. freebsd-questions isn't qualified to provide you with legal advice. Thank you for your opinion. However, if you had bothered to read the thread you woul understand that it was not a solicitation of legal advice. From wbe at psr.com Thu Jun 7 00:28:08 2012 From: wbe at psr.com (Winston) Date: Thu Jun 7 00:28:17 2012 Subject: bug in /usr/bin/calendar: "Thu+1" doesn't match on 7th or December Message-ID: <201206070008.q5708LAL009438@psr.com> Bug report for /usr/bin/calendar SUMMARY: calendar does not match "Thu+1" or "Mon+1" in some months. With one exception, it looks like calendar file dates such as "Thu+1" and "Mon+1" are failing to match in two cases: (1) the 7th of Jan-Nov, and (2) December. DETAILS/EXAMPLES: FreeBSD crystal 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 The bug occurs whether or not the command line options below are used. I first noticed it today (a Wednesday) because a Thu+1 event tomorrow was not in calendar's output. Example 1: Thu+1 ~/.calendar/calendar: Thu+1 foo (that's "Thu+1\tfoo\n" in C) foreach i ( 1 2 3 4 5 6 7 8 9 10 11 12 ) &calendar -t 1.$i.2011 -W 9 &end Jan 6* foo Feb 3* foo Mar 3* foo <----- Apr 7 absent May 5* foo Jun 2* foo <----- Jul 7 absent Aug 4* foo Sep 1* foo Oct 6* foo Nov 3* foo <----- Dec 1 absent foreach i ( 1 2 3 4 5 6 7 8 9 10 11 12 ) &calendar -t 1.$i.2012 -W 9 &end Jan 5* foo Feb 2* foo Mar 1* foo Apr 5* foo May 3* foo <----- Jun 7 absent Jul 5* foo Aug 2* foo Sep 6* foo Oct 4* foo Nov 1* foo <----- Dec 6 absent foreach i ( 1 2 3 4 5 6 7 8 9 10 11 12 ) &calendar -t 1.$i.2013 -W 9 &end Jan 3* foo <----- Feb 7 absent <----- Mar 7 absent Apr 4* foo May 2* foo Jun 6* foo Jul 4* foo Aug 1* foo Sep 5* foo Oct 3* foo <----- Nov 7 absent <----- Dec 5 absent Example 2: Mon+1 foo: Mon+1 foo ("Mon+1\tfoo\n") foreach i ( 1 2 3 4 5 6 7 8 9 10 11 12 ) &calendar -t 1.$i.2011 -W 9 -f foo &end Jan 3* foo <----- Feb 7 absent <----- Mar 7 absent Apr 4* foo May 2* foo Jun 6* foo Jul 4* foo Aug 1* foo Sep 5* foo Oct 3* foo <----- Nov 7 absent <----- Dec 5 absent foreach i ( 1 2 3 4 5 6 7 8 9 10 11 12 ) &calendar -t 1.$i.2012 -W 9 -f foo &end Jan 2* foo Feb 6* foo Mar 5* foo Apr 2* foo <----- May 3 absent <------- EXCEPTION! Jun 4* foo Jul 2* foo Aug 6* foo Sep 3* foo Oct 1* foo Nov 5* foo <----- Dec 3 absent foreach i ( 1 2 3 4 5 6 7 8 9 10 11 12 ) &calendar -t 1.$i.2013 -W 9 -f foo &end <----- Jan 7 absent Feb 4* foo Mar 4* foo Apr 1* foo May 6* foo Jun 3* foo Jul 1* foo Aug 5* foo Sep 2* foo <----- Oct 7 absent Nov 4* foo <----- Dec 2 absent HTH, -WBE From jhs at berklix.com Thu Jun 7 00:32:09 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Thu Jun 7 00:32:18 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Your message "Wed, 06 Jun 2012 18:55:19 BST." <4FCF9987.6080803@infracaninophile.co.uk> Message-ID: <201206070031.q570VhqW097184@fire.js.berklix.net> > > (cf. EULA) that you accept those "licensing of hardware". > Also, I think you'll find that such actions are already illegal > certainly in the UK, and I believe EU wide. Yes illegal for English law (England & Scotland have different contract laws). Contract terms given after money changes hands are Not part of contract. (Reasonable Eh ?) Case law since in UK, NCP National Car Park lost an appeals court decision on their nasty disclaimers visible only after you'd paid to enter car park. (PS Matthew, I noticed in Canterbury NCP built an escape lane in their car park after. So one could then queue up to park, theoreticaly block the lane, & read super fast all the disclaimers, before deciding to either pay & enter or take the sharp curve out. I've always hoped all the (usually American) legal rubbish in the sealed packages I bought in Germany were on same principle irrelevant, (but no idea). USA companies later learnt to ship with front page in transparent bags, but still not usualy readable till after purchase. Maybe USA "restraint of trade" laws could penalise a monopolist working to convert a market to sell computers that (if amd64) have been been crippled to only work with associate bsuiness partners ? Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From jhs at berklix.com Thu Jun 7 00:47:09 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Thu Jun 7 00:47:16 2012 Subject: bug in /usr/bin/calendar: "Thu+1" doesn't match on 7th or December In-Reply-To: Your message "Wed, 06 Jun 2012 20:08:00 EDT." <201206070008.q5708LAL009438@psr.com> Message-ID: <201206070046.q570kfhu097244@fire.js.berklix.net> Hi, Please report bugs with send-pr (cos bug reports to mail list get lost) See man send-pr If you can attach a patch to fix it, so much the better Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From anonymous at anonymitaet-im-inter.net Thu Jun 7 01:03:45 2012 From: anonymous at anonymitaet-im-inter.net (Dave U. Random) Date: Thu Jun 7 01:03:52 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Message-ID: Mark Felder wrote: > Yes, let's all run ALPHA and MIPS hardware. I'll just jam my Nvidia card > into one of the available slots and everything should work OK, right? Dear Numbskull, It's co-dependent hostages like you who enable Intel Mafiaware. According to your logic we should all be using Windows since everything just works, right? From feld at feld.me Thu Jun 7 01:34:04 2012 From: feld at feld.me (Mark Felder) Date: Thu Jun 7 01:34:17 2012 Subject: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash In-Reply-To: <201205311157.42909.jhb@freebsd.org> References: <201205311048.45813.jhb@freebsd.org> <201205311157.42909.jhb@freebsd.org> Message-ID: <19d73256-b7c6-417e-a051-a5faeabf219d@email.android.com> Hi guys I'm excitedly posting this from my phone. Good news for you guys, bad news for us -- we were building HA storage on vmware for a client and can now replicate the crash on demand. I'll be posting details when I get home to my PC tonight, but this hopefully is enough to replicate the crash for any curious followers: ESXi 5 9 or 9-STABLE HAST 1 cpu is fine 1GB of ram UFS SUJ on HAST device No special loader.conf, sysctl, etc No need for VMWare tools Run Bonnie++ on the HAST device We can get the crash to happen on the first run of bonnie++ right now. I'll post the exact specs and precise command run in the PR. We found an old post from 2004 when we looked up the process state obtained from CTRL+T -- flswai -- which describes the symptoms nearly perfectly. http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2004-02/0250.html Hopefully this gets us closer to a fix... From mixmaster at remailer.privacy.at Thu Jun 7 02:21:02 2012 From: mixmaster at remailer.privacy.at (Anonymous Remailer (austria)) Date: Thu Jun 7 02:21:10 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> Message-ID: <27a296669e8751b8ba2af6a3c14a3e9b@remailer.privacy.at> Damien Fleuriot wrote: > > On 6 Jun 2012, at 21:52, Dave U. Random wrote: > > > Polytropon wrote: > > > >> On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: > >>> Having to pay Verisign instead of Microsoft makes no difference: the > >>> point is why should I have to pay anything to a third party in order to > >>> run whatever OS I want on a piece of hardware I own? > > > > It's time to dump the Intel/Microshaft mafia forever. FreeBSD, OpenBSD, > > NetBSD, and even Linux have ports to many platforms. Why stay on Intel? It's > > an overgrown ugly mess. > > > > We need to stop buying Intel mafiaware with preinstalled Microshaft mafiware > > and run a free (or in the case of Linux "apparently free") OS on free > > hardware. > > > > There are increasing numbers of SBCs and plenty of used servers on > > Ebay. They're all built better than commodity Intel mafiaware. Good > > riddance! > > > > You have no idea what you're talking about. I have no idea what you're talking about. Does that count? > This kind of religious propaganda post is neither constructive nor > helpful. But your expansive and well-reasoned "rebuttal" is? Is mafiaware a religious issue? I thought it was common sense. Thanks for your half-assed attempt to marginalize it. I don't think you were successful. If at first... > I don't trust AMD with my servers' CPUs, not since many years ago when > they had all these overheating problems. I don't really care about that. But I'm sure you feel better after getting it off your chest. Still, that doesn't have to do with two major corporations conspiring to butt-fuck the consumer. At most it involved one company. So, for now, this is more important than what you wanted to talk about. From nobody at dizum.com Thu Jun 7 02:25:38 2012 From: nobody at dizum.com (Nomen Nescio) Date: Thu Jun 7 02:25:45 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Message-ID: Alejandro Imass wrote: > On Wed, Jun 6, 2012 at 3:52 PM, Dave U. Random > wrote: > > Polytropon wrote: > > > >> On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: > >> > Having to pay Verisign instead of Microsoft makes no difference: the > >> > point is why should I have to pay anything to a third party in order to > >> > run whatever OS I want on a piece of hardware I own? > > > > It's time to dump the Intel/Microshaft mafia forever. FreeBSD, OpenBSD, > > NetBSD, and even Linux have ports to many platforms. Why stay on Intel? It's > > an overgrown ugly mess. > > > > We need to stop buying Intel mafiaware with preinstalled Microshaft mafiaware > > and run a free (or in the case of Linux "apparently free") OS on free > > hardware. > > > > But this is more to do with the BIOS than with Intel as such. Intel and Microshaft conspired together and now they get to decide what BIOS they sell you. They figured out a way to make it harder for non-Winblows OS to be installed on most commodity shitboxes made after this goes into effect. > Wasn't there a FreeBIOS, later LinuxBIOS, now coreboot I believe..? I can tell from your question it was a smashing success. Everybody uses it. Somebody's heard of it? > So replacing the BIOS entirely wouldn't suffice to override all this > nonsense? Probably but very few people can flash their own BIOS. Hell, they can't even install a copy of Windows bought off the shelf...What if the BIOS has protection against reflashing? Otherwise it won't be secure... Just because smart people can work around something doesn't make it right. Say "NO" to the Intel and Microshaft mafia, say "NO" to "secure boot" that isn't. From mueller23 at insightbb.com Thu Jun 7 03:33:37 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Thu Jun 7 03:33:48 2012 Subject: Which FreeBSD for Intel i7-2600S and DQ67SWB3? In-Reply-To: <4FCFE8D3.7020201@holgerdanske.com> Message-ID: <1841053140.95816.1339040011608.JavaMail.root@md03.insight.synacor.com> ----- Original Message ----- From: David Christensen I have a new computer with an Intel i7-2600S processor and DQ67SWB3 motherboard that I'd like to run with ZFS, virtual machine host, desktop, Samba, and terminal server (on second NIC). Can this be done with FreeBSD; if so, which distribution and ports/packages do I need? ----- My response, from awkward Insight webmail interface: This looks like the processor I have, I think you would use amd64. Almost certainly your system is 64-bit as opposed to 32-bit. For a new computer, I wouldn't go with anything earlier than FreeBSD 9.0, and in my case, upgrading to 9.0-STABLE proved stabler than the 9.0 release. Base system includes ZFS. I've never used virtual machines, but VirtualBox is popular for this purpose. Samba is in ports. I don't recognize or don't remember DQ67SWB3 motherboard model, is it from MSI? Tom From parv at pair.com Thu Jun 7 05:18:23 2012 From: parv at pair.com (Parv) Date: Thu Jun 7 05:18:29 2012 Subject: Somewhat OT - A Makefile Question In-Reply-To: <4FCF48AF.307@tundraware.com> References: <4FCF48AF.307@tundraware.com> Message-ID: <20120607051901.GA2205@holstein.holy.cow> in message <4FCF48AF.307@tundraware.com>, wrote Tim Daneliuk thusly... > ... > Within a makefile, I need to assign the name of a program as in: > > FOO = "bar". > > The problem is that 'bar' may also be know as, say, "bar.sh". ... > Is there a simple way to determine which form "bar" or "bar.sh" on > on a given system *at the time the make is run*? If both exist, I > will pick one arbitrarily, ... > For example I don't think this works when both are there: > > FOO = $(shell `which bar bar.sh) Modify the subshell command to ... which bar bar.sh | head -n 1 ... as in (for FreeBSD make) ... shell=`which zsh sh tcsh csh 2>/dev/null | fgrep -v 'not found' | head -n 3` all: @printf "%s\n" ${shell} - parv -- From perrin at apotheon.com Thu Jun 7 05:27:41 2012 From: perrin at apotheon.com (Chad Perrin) Date: Thu Jun 7 05:27:50 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: <20120606150500.1345c639@scorpio> References: <20120605201900.GB60388@hs1.VERBENA> <20120605172046.2571e964@scorpio> <03ad948ef0fdab7fabfe119fdef00a0a@mail.magehandbook.com> <20120606150500.1345c639@scorpio> Message-ID: <20120607052739.GB12857@hemlock.hydra> On Wed, Jun 06, 2012 at 03:05:00PM -0400, Jerry wrote: > > I don't know of any user personally who purchased a new PC and then > threw FreeBSD on it. Most users that I have come into contact with use > 2+ year old units that have been replaced by shiny new Windows units. I > don't see that changing anytime soon. I have immediately installed FreeBSD on the last four or five laptops I purchased, and I get most of my laptops direct from Lenovo. While my Significant Other has been installing Debian on her laptops, also acquired from Lenovo, she is probably going to start using FreeBSD instead next time. I know several other people who install FreeBSD on their new primary-use systems when they get them, including a couple of developers who do MS Windows development (among other things). This doesn't even take into account the servers many of us use, which are even more likely to get FreeBSD installed, and none of this has anything to do with corporate accounts or bulk purchases. Yes, my evidence is anecdotal, but I think your notions of the frequency of FreeBSD use other than in a corporate setting are also based on anecdotal observations, so we're even. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From freebsd at dreamchaser.org Thu Jun 7 05:40:38 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Thu Jun 7 05:40:48 2012 Subject: mount failure Message-ID: <4FD03ECF.3030500@dreamchaser.org> Running under X with xfce, just did this: gpart show -l da0 gpart delete -i 1 da0 gpart destroy da0 gpart create -s GPT da0 gpart bootcode -b /boot/pmbr da0 gpart add -t freebsd-boot -i 1 -s 512K -l gptboot da0 gpart bootcode -b /boot/gptboot -i 1 da0 gpart add -t freebsd-ufs -a 4K -s 35G -i 2 -l fbsdroot da0 gpart add -t freebsd-swap -a 4K -s 512M -i 3 -l fbsdswap da0 gpart add -t freebsd-ufs -a 4K -s 1G -i 4 -l fbsdvar da0 gpart add -t freebsd-ufs -a 4K -s 512M -i 5 -l fbsdtmp da0 gpart add -t freebsd-ufs -a 4K -s 893G -i 6 -l fbsdusr da0 newfs /dev/gpt/fbsdroot newfs -U /dev/gpt/fbsdvar newfs -U /dev/gpt/fbsdtmp newfs -U /dev/gpt/fbsdusr mount /dev/gpt/fbsdroot /mnt/goflex I then tried to create a snapshot of / X immediately slowed to less than a crawl, and I couldn't do anything. At first I could move the pointer a little, but then I lost it. After a half hour or so, I power-cycled and rebooted. When I tried to mount the usb drive, I (not surprisingly) got this: #mount /dev/gpt/fbsdroot /mnt/goflex/root mount: /dev/gpt/fbsdroot : operation not permitted WARNING: RW mount of /mnt/goflex denied. File system is not clean - run fsck. But when I try to do an fsck, I can't: #fsck /dev/gpt/fbsdroot fsdk: could not determine filesystem type (same msg for /dev/gpt and /dev/da0p2) hints? From erichfreebsdlist at ovitrap.com Thu Jun 7 06:55:21 2012 From: erichfreebsdlist at ovitrap.com (Erich) Date: Thu Jun 7 06:55:28 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: <20120607052739.GB12857@hemlock.hydra> References: <20120605201900.GB60388@hs1.VERBENA> <20120606150500.1345c639@scorpio> <20120607052739.GB12857@hemlock.hydra> Message-ID: <1849552.ouQDGJxLWg@x220.ovitrap.com> Hi, On 06 June 2012 23:27:39 Chad Perrin wrote: > On Wed, Jun 06, 2012 at 03:05:00PM -0400, Jerry wrote: > > > > I don't know of any user personally who purchased a new PC and then > > threw FreeBSD on it. Most users that I have come into contact with use > > 2+ year old units that have been replaced by shiny new Windows units. I > > don't see that changing anytime soon. > I believe that real life is a bit different. > I have immediately installed FreeBSD on the last four or five laptops I I do this since 5.2 is out with all my purchases. I did the same thing with other machines in my environment. But I have to admit, that I have had to install twice Fedora because the notebook hardware was not supported at that moment of time. The second Fedora installation will go as soon as get finished my travelling or I get me hands on a new hard disk. Yes, I am in a location where you can enjoy life without any IT shop nearby which could even try to pull the money out of my pockets. What also has to be mentioned is the fact that people have to be more careful when shopping for new hardware with FreeBSD in mind. AMD based hardware is here of advantage at the moment. But it has other disadvantages. > purchased, and I get most of my laptops direct from Lenovo. While my The machine on which I installed Fedora is also from Lenovo. It would have needed a bit of more time to get X running on it. When I ran out of time, I installed Fedora which ran out of the box. Ubuntu did not work out of the box despite being certified. In this aspect, the full integration of Intel's graphic solution into FreeBSD will help acceptance here. > Significant Other has been installing Debian on her laptops, also Ah, learning English with FreeBSD. I did not knew of this phrase before. > acquired from Lenovo, she is probably going to start using FreeBSD > instead next time. I know several other people who install FreeBSD on My 'Significant Other' - you see, I am a fast learner - knows only FreeBSD. You should see her getting emotional when she has to work with Windows and things break in front of her eyes. She is no IT person at all and wants to use a computer with the ease of using a hammer. Of course, she never faces the problems maintaining a system. All she knows is that the machine is starting every time she needs it and continues to work until she switches it of. > Yes, my evidence is anecdotal, but I think your notions of the frequency > of FreeBSD use other than in a corporate setting are also based on > anecdotal observations, so we're even. I can tell you another real ironic story out of the cooperate world. A client needed a firewall. He did not believe that we could do it for him using FreeBSD and PC hardware. He bought then a 'real' firewall. You know what OS was running on this hardware? There was a nice price tag on this hardware too. Erich From parv at pair.com Thu Jun 7 07:09:35 2012 From: parv at pair.com (parv@pair.com) Date: Thu Jun 7 07:09:42 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: <1849552.ouQDGJxLWg@x220.ovitrap.com> References: <20120605201900.GB60388@hs1.VERBENA> <20120606150500.1345c639@scorpio> <20120607052739.GB12857@hemlock.hydra> <1849552.ouQDGJxLWg@x220.ovitrap.com> Message-ID: <20120607071014.GA53109@holstein.holy.cow> in message <1849552.ouQDGJxLWg@x220.ovitrap.com>, wrote Erich thusly... > > On 06 June 2012 23:27:39 Chad Perrin wrote: ... > > I have immediately installed FreeBSD on the last four or five > > laptops I > > I do this since 5.2 is out with all my purchases. ... > I have to admit, that I have had to install twice Fedora because > the notebook hardware was not supported at that moment of time. > > The second Fedora installation will go as soon as get finished my > travelling or I get me hands on a new hard disk. Erich, could you please list the offending Lenovo models? ... > What also has to be mentioned is the fact that people have to be > more careful when shopping for new hardware with FreeBSD in mind. > AMD based hardware is here of advantage at the moment. But it has > other disadvantages. ... What would be the said disadvantages? - parv -- From ml at my.gd Thu Jun 7 07:40:41 2012 From: ml at my.gd (Damien Fleuriot) Date: Thu Jun 7 07:40:49 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <201206062354.q56NsMAA037016@mail.r-bonomi.com> References: <201206062354.q56NsMAA037016@mail.r-bonomi.com> Message-ID: <7957D8B9-6317-43DB-9D9D-A12BE7AF494C@my.gd> On 7 Jun 2012, at 01:54, Robert Bonomi wrote: >> From owner-freebsd-questions@freebsd.org Wed Jun 6 18:13:09 2012 >> Date: Thu, 07 Jun 2012 00:09:54 +0100 >> From: Bruce Cran >> To: Robert Bonomi >> Cc: freebsd-questions@freebsd.org >> Subject: Re: Is this something we (as consumers of FreeBSD) need to be aware >> of? >> >> On 06/06/2012 20:27, Robert Bonomi wrote: >>> Suppose I put up a web app that takes an executable as input, signs it >>> with my key, and returns the signed filt to the submitter. I don't >>> divulge the key to anyone, just use it on 'anything'. Anybody >>> attempting to revoke on _that_ basis is asking for a lawsuit. >> >> To me it would be perfectly reasonable to revoke the key as soon as you >> signed the first piece of malware. > > It may seem reasonable to you, but is there -legal- basis to do so? > > 'signing' only provides assurance of the identity of the signer. I did > sign it. The key has not been compromised. The software in question > is tracable to the signer, but the signer never claimed it was 'error free', > what conract or statute did they breach by doing the signing? > Signing anything and everything defeats the purpose the key and this whole charade are implemented for. Under the contract's undoubtedly carefully penned clauses, this would allow for a key revocation. Make no mistake, they'll go over that contract for several weeks, giving themselves as much manoeuvring room as possible. From erichfreebsdlist at ovitrap.com Thu Jun 7 07:46:27 2012 From: erichfreebsdlist at ovitrap.com (Erich) Date: Thu Jun 7 07:46:35 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: <20120607071014.GA53109@holstein.holy.cow> References: <20120605201900.GB60388@hs1.VERBENA> <1849552.ouQDGJxLWg@x220.ovitrap.com> <20120607071014.GA53109@holstein.holy.cow> Message-ID: <2319171.6nCITBFyJ4@x220.ovitrap.com> Hi, On 06 June 2012 21:10:14 parv@pair.com wrote: > in message <1849552.ouQDGJxLWg@x220.ovitrap.com>, > wrote Erich thusly... > > > > On 06 June 2012 23:27:39 Chad Perrin wrote: > ... > > > I have immediately installed FreeBSD on the last four or five > > > laptops I > > > > I do this since 5.2 is out with all my purchases. > ... > > I have to admit, that I have had to install twice Fedora because > > the notebook hardware was not supported at that moment of time. > > > > The second Fedora installation will go as soon as get finished my > > travelling or I get me hands on a new hard disk. > > Erich, could you please list the offending Lenovo models? it is the X220. There is a solution available which needs a bit more time as I have had on hand before I left. As I have said several times already, I will be back with this machine to FreeBSD after my return. > > > ... > > What also has to be mentioned is the fact that people have to be > > more careful when shopping for new hardware with FreeBSD in mind. > > AMD based hardware is here of advantage at the moment. But it has > > other disadvantages. > ... > > What would be the said disadvantages? Some say that the AMD CPUs are slower per core. This X220 with the 2640 CPU seems to be very, very fast for me. I was surprised how it performed running plain FreeBSD. I would not have expected this much performance out of a small notebook. As this is my first Intel CPU since the good, old 80586, I cannot tell you more about Intel CPUs. Erich From ml at my.gd Thu Jun 7 08:38:15 2012 From: ml at my.gd (Damien Fleuriot) Date: Thu Jun 7 08:38:21 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: <201206061630.q56GUJj7093472@fire.js.berklix.net> <4FCFA41A.4010506@my.gd> Message-ID: <4FD06872.1080709@my.gd> On 6/6/12 9:43 PM, Daniel Feenberg wrote: > > > On Wed, 6 Jun 2012, Damien Fleuriot wrote: > >> >> >> On 6/6/12 6:45 PM, Daniel Feenberg wrote: >>> >>> >>> On Wed, 6 Jun 2012, Julian H. Stacey wrote: >>> >>>>> I do wonder about that. What incentive does the possesor of a signing >>>>> key >>>>> have to keep it secret? >>>> >>>> Contract penalty clause maybe ? Lawyers ? >>> >>> A limited-liability company with no assets is judgement-proof. >>> >>>> >>>> Otherwise one of us would purchase a key for $99, & then publish >>>> the key so we could all forever more compile & boot our own kernels. >>>> But that would presumably break the trap Microsoft & Verisign seek >>>> to impose. >>>> >>> >>> Could it really be that simple? As for hardware vendors putting revoked >>> keys in the ROM - are they really THAT cooperative? Seems like they >>> would drag their feet on ROM updates if they had to add a lot of stuff >>> that won't help them, so that doesn't seem like a great enforcement >>> tool. >>> >>> dan feenberg >> >> >> Oh god... >> >> Please realize that once the key is divulged, it gets revoked at the >> BIOS' next update. > > But my point is that MS doesn't issue the updates, they have to ask the > BIOS vendors to do so, and then the MB vendors have to take the update, > and then the users have to install the update. The incentive at each > level is generally very small. It does create some confusion, but is > hardly an enforcement mechanism. It would disable older versions of > FreeBSD on newer hardware, but not much else. > > A previous poster has pointed out that MS can't revoke a certificate > belonging to RH, but I suppose the could ask the BIOS vendors to treat > it as revoked. I don't know what the response would be. > > Daniel Feenberg > That is indeed the case. This is akin to, for example, Sony's race against Homebrewers on the good ol' PSP. When hackers found a hardware flaw that enabled them to install custom firmware, Sony had to release new versions of the consoles with fixed hardware. The old ones were still exploitable but the new ones weren't. From ml at my.gd Thu Jun 7 08:41:08 2012 From: ml at my.gd (Damien Fleuriot) Date: Thu Jun 7 08:41:16 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: <20120605201900.GB60388@hs1.VERBENA> References: <20120605201900.GB60388@hs1.VERBENA> Message-ID: <4FD06921.7020903@my.gd> On 6/5/12 10:19 PM, Colin Barnabas wrote: > On Tue, Jun 05, 2012 at 11:19:26AM -0700, Kurt Buff wrote: >> UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries >> http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ >> >> This would seem to make compiling from source difficult. >> >> Kurt >> > History show us that _everything_ will eventually run *nix. Take a > look at the Sony PS3 debacle. After Sony yanked support for > installing other OS's, the community ripped apart their > hypervisor in a matter of months. If these boot keys do gain any > momentum, sooner than later the community with poke holes in the > system. > This, however, raises the problem of the legality of it. George HOTZ was sued by Sony for releasing the master key. While Anonymous responded very aggressively (and while I do not generally condone their actions, this one I can both understand and support), in the end the consensus reached was that Geohotz agreed to not work on bypassing the PS3's protections anymore. From ml at my.gd Thu Jun 7 08:44:43 2012 From: ml at my.gd (Damien Fleuriot) Date: Thu Jun 7 08:44:59 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of?] In-Reply-To: References: <20120605201900.GB60388@hs1.VERBENA> <20120605172046.2571e964@scorpio> <03ad948ef0fdab7fabfe119fdef00a0a@mail.magehandbook.com> <20120606150500.1345c639@scorpio> Message-ID: <4FD069F7.2030407@my.gd> On 6/6/12 9:55 PM, Robert Simmons wrote: > On Wed, Jun 6, 2012 at 3:05 PM, Jerry wrote: >> On Wed, 06 Jun 2012 12:49:53 -0400 >> Daniel Staal articulated: >> >>> On 2012-06-05 17:20, Jerry wrote: >>> >>>> The question that I have not seen answered in this thread is what >>>> FreeBSD intents to do. From what I have seen, most FreeBSD users do >>>> not >>>> use the latest versions of most hardware, so it may be a while before >>>> its user base is even effected. >>> >>> I don't believe at this point FreeBSD has any intent one way or >>> another, really. It's not an immediate problem for any platform >>> supported by the FreeBSD project, at least for a technically-inclined >>> user who's willing to check out their BIOS. (Even if they are using >>> the latest hardware, the x86-derived platforms aren't going to require >>> this code signing yet.) So it'll probably be a 'wait and see if it's >>> something the FreeBSD community needs a solution for' at this point. >>> But this is just my impression. >> >> I totally agree with you. Unfortunately that speaks to the sad state of >> affairs that FreeBSD appears to be in. When it comes to supporting the >> latest technologies, it tends to be behind the curve when compared to >> other operating systems. Wireless networking and USB support are only a >> few examples. >> >> I don't know of any user personally who purchased a new PC and then >> threw FreeBSD on it. Most users that I have come into contact with use >> 2+ year old units that have been replaced by shiny new Windows units. I >> don't see that changing anytime soon. > > I would have to disagree with you there. I know of quite a few users > who happen to run one of the world's largest content distribution > networks (accounting for about one third of the internet's traffic; up > there with pornography). They purchased more than just a handful of > new computers and threw FreeBSD on them: > > http://lists.freebsd.org/pipermail/freebsd-stable/2012-June/068129.html You're talking about servers here, I think Jerry was speaking more generally, about a lambda user buying a computer and *definitely* not installing FBSD (or anything else) on it. The typical users just wants to buy "internet and emails" without a care in the world about the OS. From dmtilbrook at gmail.com Thu Jun 7 09:11:16 2012 From: dmtilbrook at gmail.com (David Tilbrook) Date: Thu Jun 7 09:11:23 2012 Subject: changes to ioctl has me flumoxed Message-ID: To support my line editor I used to use: sgtty.c_lflag = ISIG; sgtty.c_iflag = BRKINT | IGNPAR | IXON | ICRNL; sgtty.c_oflag &= (ONLCR | OPOST | TAB3); sgtty.c_cc[VMIN] = 1; sgtty.c_cc[VTIME] = 1; iotcl(0, TCSETAW, &sgtty); but this no longer appears to work in that input lines are repeated and the writes to reflect chanes are not done. What should I be changing in the above, or what do I need to add? -- david From mueller23 at insightbb.com Thu Jun 7 09:20:24 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Thu Jun 7 09:20:32 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? Message-ID: Snippet from Jerry : > I don't know of any user personally who purchased a new PC and then > threw FreeBSD on it. Most users that I have come into contact with use > 2+ year old units that have been replaced by shiny new Windows units. I > don't see that changing anytime soon. I did, or almost. Before installing FreeBSD, I tried unsuccessfully to install NetBSD, figuring I'd start with the least stable of (NetBSD, FreeBSD, Linux) and not risk messing up good Linux and FreeBSD installations. Then FreeBSD 9.0-BETA1 was released, and I went with that: now on 9.0-STABLE #9. That was on a computer that I built from parts in May-June 2011, meaning modern hardware including UEFI, but no "secure boot". Tom From wblock at wonkity.com Thu Jun 7 12:02:04 2012 From: wblock at wonkity.com (Warren Block) Date: Thu Jun 7 12:03:31 2012 Subject: mount failure In-Reply-To: <4FD03ECF.3030500@dreamchaser.org> References: <4FD03ECF.3030500@dreamchaser.org> Message-ID: On Wed, 6 Jun 2012, Gary Aitken wrote: > Running under X with xfce, just did this: > > gpart show -l da0 > gpart delete -i 1 da0 > gpart destroy da0 > > gpart create -s GPT da0 > gpart bootcode -b /boot/pmbr da0 > > gpart add -t freebsd-boot -i 1 -s 512K -l gptboot da0 > gpart bootcode -b /boot/gptboot -i 1 da0 > > gpart add -t freebsd-ufs -a 4K -s 35G -i 2 -l fbsdroot da0 > gpart add -t freebsd-swap -a 4K -s 512M -i 3 -l fbsdswap da0 > gpart add -t freebsd-ufs -a 4K -s 1G -i 4 -l fbsdvar da0 > gpart add -t freebsd-ufs -a 4K -s 512M -i 5 -l fbsdtmp da0 > gpart add -t freebsd-ufs -a 4K -s 893G -i 6 -l fbsdusr da0 > > newfs /dev/gpt/fbsdroot > newfs -U /dev/gpt/fbsdvar > newfs -U /dev/gpt/fbsdtmp > newfs -U /dev/gpt/fbsdusr > > mount /dev/gpt/fbsdroot /mnt/goflex > > I then tried to create a snapshot of / > X immediately slowed to less than a crawl, and I couldn't do anything. > At first I could move the pointer a little, but then I lost it. > After a half hour or so, I power-cycled and rebooted. > > When I tried to mount the usb drive, I (not surprisingly) got this: > > #mount /dev/gpt/fbsdroot /mnt/goflex/root > mount: /dev/gpt/fbsdroot : operation not permitted > WARNING: RW mount of /mnt/goflex denied. File system is not clean - run fsck. > > But when I try to do an fsck, I can't: > #fsck /dev/gpt/fbsdroot > fsdk: could not determine filesystem type > (same msg for /dev/gpt and /dev/da0p2) # fsck -y -t ufs /dev/gpt/fbsdroot I don't see any obvious problem with the procedure. From tundra at tundraware.com Thu Jun 7 13:35:10 2012 From: tundra at tundraware.com (Tim Daneliuk) Date: Thu Jun 7 13:35:30 2012 Subject: Somewhat OT - A Makefile Question In-Reply-To: <20120607051901.GA2205@holstein.holy.cow> References: <4FCF48AF.307@tundraware.com> <20120607051901.GA2205@holstein.holy.cow> Message-ID: <4FD0ADFB.8030508@tundraware.com> On 06/07/2012 12:19 AM, Parv wrote: > in message<4FCF48AF.307@tundraware.com>, > wrote Tim Daneliuk thusly... >> > ... >> Within a makefile, I need to assign the name of a program as in: >> >> FOO = "bar". >> >> The problem is that 'bar' may also be know as, say, "bar.sh". > ... >> Is there a simple way to determine which form "bar" or "bar.sh" on >> on a given system *at the time the make is run*? If both exist, I >> will pick one arbitrarily, > ... >> For example I don't think this works when both are there: >> >> FOO = $(shell `which bar bar.sh) > > Modify the subshell command to ... > > which bar bar.sh | head -n 1 > > > ... as in (for FreeBSD make) ... > > shell=`which zsh sh tcsh csh 2>/dev/null | fgrep -v 'not found' | head -n 3` > > all: > @printf "%s\n" ${shell} > > > > - parv > Thanks. I came up with something similar, but I think your recipe is a bit more elegant ... -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From mixmaster at remailer.privacy.at Thu Jun 7 13:43:47 2012 From: mixmaster at remailer.privacy.at (Anonymous Remailer (austria)) Date: Thu Jun 7 13:44:02 2012 Subject: UEFI Secure Boot Specs - And some sanity In-Reply-To: Message-ID: <6782343018e8928084925565b6f2bc33@remailer.privacy.at> > > Isn't there a lot of needless handwaving going on when the spec is > > pretty clear that installing your own complete PKI tree will all > > boil down to what is effectively a jumper on the motherboard? No, considering 99.99% of of current Windows victims can't even install a fresh copy of Windows. > > Users could fully utilize the UEFI Secure Boot hardware by say: > > > > - Using openssl to generate their keys > > - Jumper the board, burn it into the BIOS in UEFI SB SetupMode > > - Have all the MBR, slice, partition, installkernel, etc tools > > install and manage the signed disk/loader/kernel/module bits > > - Have the BIOS check sigs on whatever first comes off the media Yeah that's trivial for 99.99% of users. I have no idea what everyone is on about. I just program my own PROM and make my own motherboards. Now back to reality, most people don't know how to use openssl. They don't want to break the seal on their PC and void the warranty. They don't want to play with jumpers. They don't know how to use Linux fdisk or BSD disklabel. They can't set up their BIOS. They may not be the typical BSD or Linux poweruser but they represent most users. And sadly even a significant percentage of BSD and even a more significant percentage of Linux users (thank you Ubuntu) aren't capable of doing these things. > > And if they really were that dumb, there's Gigabyte, Asus, Msi, > > Supermicro, Biostar, etc who will not be so dumb and will soak up > > all the remaining sales gravy. We're going to see if that happens but it won't. The WinTel Mafia controls more than what you think and these vendors know they get many magnitudes more money from selling Windows commodity shitboxes than they ever will from all the BSD and Linux users multiplied together. From nobody at dizum.com Thu Jun 7 13:43:51 2012 From: nobody at dizum.com (Nomen Nescio) Date: Thu Jun 7 13:44:03 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FD06872.1080709@my.gd> Message-ID: <008d3aaa09c7e24727421c66f08b4378@dizum.com> > > But my point is that MS doesn't issue the updates, they have to ask the > > BIOS vendors to do so, and then the MB vendors have to take the update, > > and then the users have to install the update. The incentive at each > > level is generally very small. It does create some confusion, but is > > hardly an enforcement mechanism. It would disable older versions of > > FreeBSD on newer hardware, but not much else. This can be automated. Many mobo manufacturers have software that searches for new BIOS and flashes it "for" you. All they have to do is get on board and make this automatic like Windows Updates. Don't think they haven't thought this far ahead. I believe some offer this now. > > A previous poster has pointed out that MS can't revoke a certificate > > belonging to RH, but I suppose the could ask the BIOS vendors to treat > > it as revoked. I don't know what the response would be. MS and Intel are running this. If Verisign is just a trusted 3rd party (without administrative duties) they can well defer to the Microshaft Mafia and do as they're told. It wouldn't be the first time. For example, did everybody already forget the Microshaft Mafias' initiation of the FBI server raids on the botnet? Many innocent companies and peoples hosting got screwed during this takeover. But it was all in the name of "justice". If we can get a few Russian hackers then it's well worth damaging your business and property. We're from Microshaft Mafia and the FBI and we're here to help. > This is akin to, for example, Sony's race against Homebrewers on the > good ol' PSP. > > When hackers found a hardware flaw that enabled them to install custom > firmware, Sony had to release new versions of the consoles with fixed > hardware. > > The old ones were still exploitable but the new ones weren't. That is a little different, possibly. For one thing, Sony detected whether you had the updates they wanted you to install and if you don't have them installed you can't play on their PlayStation network. For 99.99% of PlayStation users this is the whole point of buying their console. So if you don't upgrade all you have is a box for playing local games which most people don't seem to want to do. All the Intel and Microshaft Mafia have to do is a similar thing, and make your PC or Windows stop working unless you install their updates, or tell the FBI your PC is possibly "infected" and part of a Russian botnet etc. and you won't be allowed on the internet until you upgrade your system to a safe level to avoid these horrible threats. This idea was floated publicly even unrelated to so-called "secure boot". Windows activation can check the firmware level and Intel's management BIOS is connected to the net even when your new PC is shut off (as long as it is plugged in). If you go along with this they can do whatever you want. You're submitting to true remote management/control over YOUR hardware and life. This is the beginning of a lot of bad Big Brother stuff and if people accept it now they get what they deserve tomorrow. Say "NO" to the Intel/Microshaft Mafia. Say "NO" to "Secure" boot. Run MIPS and Alpha hardware if you have to, just DUMP INTEL AND THE MICROSHAFT MAFIA. From doyama at perle.com Thu Jun 7 15:15:33 2012 From: doyama at perle.com (Dennis Oyama) Date: Thu Jun 7 15:15:40 2012 Subject: Contribution to PUC driver Message-ID: <16DAC72E7E74F6438221C482E9EB0865177B101E@BL2PRD0410MB385.namprd04.prod.outlook.com> Patch to update pucdata.c to support the Perle Systems Ltd. Multiport Speed LE Serial cards. --- pucdata.orig.c 2012-02-10 12:24:47.000000000 -0500 +++ pucdata.c 2012-02-10 12:40:34.000000000 -0500 @@ -668,11 +668,35 @@ */ { 0x155f, 0x0331, 0xffff, 0, - "Perle Speed4 LE", + "Perle Ultraport4 Express", DEFAULT_RCLK * 8, PUC_PORT_4S, 0x10, 0, 8, }, + { 0x155f, 0xB012, 0xffff, 0, + "Perle Speed2 LE", + DEFAULT_RCLK * 8, + PUC_PORT_2S, 0x10, 0, 8, + }, + + { 0x155f, 0xB022, 0xffff, 0, + "Perle Speed2 LE", + DEFAULT_RCLK * 8, + PUC_PORT_2S, 0x10, 0, 8, + }, + + { 0x155f, 0xB004, 0xffff, 0, + "Perle Speed4 LE", + DEFAULT_RCLK * 8, + PUC_PORT_4S, 0x10, 0, 8, + }, + + { 0x155f, 0xB008, 0xffff, 0, + "Perle Speed8 LE", + DEFAULT_RCLK * 8, + PUC_PORT_8S, 0x10, 0, 8, + }, + { 0x14d2, 0x8010, 0xffff, 0, "VScom PCI-100L", DEFAULT_RCLK * 8, _______________________________ Dennis Oyama Technical Sales Engineer Perle Systems Ltd. 1-800-467-3753 Direct: 905-946-5037 doyama@perle.com CompTIA Security+ _______________________________ From ml at my.gd Thu Jun 7 15:35:18 2012 From: ml at my.gd (Damien Fleuriot) Date: Thu Jun 7 15:35:25 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <008d3aaa09c7e24727421c66f08b4378@dizum.com> References: <008d3aaa09c7e24727421c66f08b4378@dizum.com> Message-ID: <4FD0CA32.2060501@my.gd> On 6/7/12 3:43 PM, Nomen Nescio wrote: >>> But my point is that MS doesn't issue the updates, they have to ask the >>> BIOS vendors to do so, and then the MB vendors have to take the update, >>> and then the users have to install the update. The incentive at each >>> level is generally very small. It does create some confusion, but is >>> hardly an enforcement mechanism. It would disable older versions of >>> FreeBSD on newer hardware, but not much else. > > This can be automated. Many mobo manufacturers have software that searches > for new BIOS and flashes it "for" you. All they have to do is get on board > and make this automatic like Windows Updates. Don't think they haven't > thought this far ahead. I believe some offer this now. > >>> A previous poster has pointed out that MS can't revoke a certificate >>> belonging to RH, but I suppose the could ask the BIOS vendors to treat >>> it as revoked. I don't know what the response would be. > > MS and Intel are running this. If Verisign is just a trusted 3rd party > (without administrative duties) they can well defer to the Microshaft Mafia > and do as they're told. It wouldn't be the first time. For example, did > everybody already forget the Microshaft Mafias' initiation of the FBI server > raids on the botnet? Many innocent companies and peoples hosting got screwed > during this takeover. But it was all in the name of "justice". If we can get > a few Russian hackers then it's well worth damaging your business and > property. We're from Microshaft Mafia and the FBI and we're here to help. > >> This is akin to, for example, Sony's race against Homebrewers on the >> good ol' PSP. >> >> When hackers found a hardware flaw that enabled them to install custom >> firmware, Sony had to release new versions of the consoles with fixed >> hardware. >> >> The old ones were still exploitable but the new ones weren't. > > That is a little different, possibly. For one thing, Sony detected whether > you had the updates they wanted you to install and if you don't have them > installed you can't play on their PlayStation network. For 99.99% of > PlayStation users this is the whole point of buying their console. So if you > don't upgrade all you have is a box for playing local games which most > people don't seem to want to do. > Totally off-topic, but I actually used mine to run gameboy and gameboy advance emulators ^^' > All the Intel and Microshaft Mafia have to do is a similar thing, and make > your PC or Windows stop working unless you install their updates, or tell > the FBI your PC is possibly "infected" and part of a Russian botnet etc. and > you won't be allowed on the internet until you upgrade your system to a safe > level to avoid these horrible threats. This idea was floated publicly even > unrelated to so-called "secure boot". > I refer you to the years old threads about Palladium and the TCPA that Microsoft dreamed back in the days. > Windows activation can check the firmware level and Intel's management BIOS > is connected to the net even when your new PC is shut off (as long as it is > plugged in). If you go along with this they can do whatever you want. You're > submitting to true remote management/control over YOUR hardware and life. > Well, I don't know about that... how do you suggest the BIOS gets its IP ? The 8-STABLE box that acts as my router is not going to serve one over DHCP or BOOTP any time soon. As for sniffing the network to guess the router + DNS servers, that one might be a bit far-fetched. > This is the beginning of a lot of bad Big Brother stuff and if people accept > it now they get what they deserve tomorrow. > > Say "NO" to the Intel/Microshaft Mafia. Say "NO" to "Secure" boot. > > Run MIPS and Alpha hardware if you have to, just DUMP INTEL AND THE > MICROSHAFT MAFIA. Seriously you need to stop with the "wintel", "microshaft", "mafia" and all the stuff. We get it, you don't like them. However, there are literally thousands of people reading this list and just because they do not share your ideals doesn't necessarily make them advocates of this so-called "mafia", or blind sheep. Finally, I can't come up with a scenario where my CEO is going to okay alpha boxes for our regular web servers and such. Our x86 servers run just fine and are roughly 12.000% cheaper. "We need to distance ourselves from Intel, apparently they run their business like darned brigands" is not going to cut it. Things aren't that easy in a corporate world, you get a volume contract with a supplier, Dell for example, and purchase your hardware from them. I can hardly see Dell shipping x86 servers with locked-in Windows installs, that just won't do for their business. I have to admit I'd love to see it though, I've always wanted us to try Cisco or IBM's blade servers in lieu of Dell's. From fbsd8 at a1poweruser.com Thu Jun 7 16:03:47 2012 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Thu Jun 7 16:05:18 2012 Subject: driver for cell phone modem Message-ID: <4FD0D01A.4080205@a1poweruser.com> Running 9.0 and thinking about changing to this verizon model 551L usb cell phone modem. http://www.verizonwireless.com/b2c/store/controller?item=phoneFirst&action=viewPhoneDetail&selectedPhoneId=5632 It's a usb plugin cell modem for internet access. Before I go through the purchase and signup process I want to verify Freebsd has a driver that works with this 4G cell device. Thanks From fbsd8 at a1poweruser.com Thu Jun 7 16:16:31 2012 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Thu Jun 7 16:16:38 2012 Subject: List total traffic amount across external nic Message-ID: <4FD0D380.2080407@a1poweruser.com> Running ipfilter and trying to list the total amount of the traffic passing through the external NIC. Maybe there is some other command to show this info. Any help is appreciated. From smithi at nimnet.asn.au Thu Jun 7 16:25:34 2012 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu Jun 7 16:25:41 2012 Subject: Proper Port Forwarding In-Reply-To: <20120606212300.80A9E10656B0@hub.freebsd.org> References: <20120606212300.80A9E10656B0@hub.freebsd.org> Message-ID: <20120608015422.W46641@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 418, Issue 10, Message: 7 On Wed, 06 Jun 2012 14:31:24 -0400 "Simon" wrote: > Can someone suggest an alternative/proper way to port forward using ipfw. Right > now I have the following and some bad clients cause too many FIN_WAIT_2 state > > fwd IP,PORT2 tcp from any to me dst-port PORT1 keep-state > > This easily causes DoS for when too many FIN_WAIT_2 are created and IPFW > stops forwarding using the rule above because of "too many dynamic rules" Michael's and Dan's suggestions of adjusting sysctl net.inet.ip.fw.dyn* variables are good; consider also using 'limit' instead of 'keep-state', which works the same except limiting the number of open connections to a specified number. See ipfw(8) /limit and /EXAMPLES for more, but eg: fwd IP,PORT2 tcp from any to me dst-port PORT1 limit src-addr 9 to prevent any one source address opening more than 9 connections, or fwd IP,PORT2 tcp from any to me dst-port PORT1 limit dst-port 42 to limit total open connections by everyone to dst-port PORT1 to 42. cheers, Ian From fernando.apesteguia at gmail.com Thu Jun 7 16:30:51 2012 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Thu Jun 7 16:30:58 2012 Subject: Contribution to PUC driver In-Reply-To: <16DAC72E7E74F6438221C482E9EB0865177B101E@BL2PRD0410MB385.namprd04.prod.outlook.com> References: <16DAC72E7E74F6438221C482E9EB0865177B101E@BL2PRD0410MB385.namprd04.prod.outlook.com> Message-ID: On Thu, Jun 7, 2012 at 4:29 PM, Dennis Oyama wrote: > Patch to update pucdata.c to support the Perle Systems Ltd. Multiport Speed LE Serial cards. Maybe you could post this at freebsd-hackers@ for discussion or send the patch using send-pr[1] Cheers. [1] http://www.freebsd.org/send-pr.html > > > > --- pucdata.orig.c ? ? ?2012-02-10 12:24:47.000000000 -0500 > +++ pucdata.c ? 2012-02-10 12:40:34.000000000 -0500 > @@ -668,11 +668,35 @@ > ? ? ? ? */ > ? ? ? ?{ ? 0x155f, 0x0331, 0xffff, 0, > - ? ? ? ? ? "Perle Speed4 LE", > + ? ? ? ? ? "Perle Ultraport4 Express", > ? ? ? ? ? ?DEFAULT_RCLK * 8, > ? ? ? ? ? ?PUC_PORT_4S, 0x10, 0, 8, > ? ? ? ?}, > + ? ? ? ?{ ? 0x155f, 0xB012, 0xffff, 0, > + ? ? ? ? ? ?"Perle Speed2 LE", > + ? ? ? ? ? ?DEFAULT_RCLK * 8, > + ? ? ? ? ? ?PUC_PORT_2S, 0x10, 0, 8, > + ? ? ? ?}, > + > + ? ? ? ?{ ? 0x155f, 0xB022, 0xffff, 0, > + ? ? ? ? ? ?"Perle Speed2 LE", > + ? ? ? ? ? ?DEFAULT_RCLK * 8, > + ? ? ? ? ? ?PUC_PORT_2S, 0x10, 0, 8, > + ? ? ? ?}, > + > + ? ? ? ?{ ? 0x155f, 0xB004, 0xffff, 0, > + ? ? ? ? ? ?"Perle Speed4 LE", > + ? ? ? ? ? ?DEFAULT_RCLK * 8, > + ? ? ? ? ? ?PUC_PORT_4S, 0x10, 0, 8, > + ? ? ? ?}, > + > + ? ? ? ?{ ? 0x155f, 0xB008, 0xffff, 0, > + ? ? ? ? ? ?"Perle Speed8 LE", > + ? ? ? ? ? ?DEFAULT_RCLK * 8, > + ? ? ? ? ? ?PUC_PORT_8S, 0x10, 0, 8, > + ? ? ? ?}, > + > ? ? ? ?{ ? 0x14d2, 0x8010, 0xffff, 0, > ? ? ? ? ? ?"VScom PCI-100L", > ? ? ? ? ? ?DEFAULT_RCLK * 8, > > > > > _______________________________ > ? ? ? ? Dennis Oyama > ? Technical Sales Engineer > ? ? ?Perle Systems Ltd. > ? ? ? ?1-800-467-3753 > ? ? Direct: 905-946-5037 > ? ? ? doyama@perle.com > ? ? ? CompTIA Security+ > _______________________________ > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jerry at seibercom.net Thu Jun 7 16:51:11 2012 From: jerry at seibercom.net (Jerry) Date: Thu Jun 7 16:51:18 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: <4FD0D7E7.8090705@bananmonarki.se> References: <4FCE94CB.4060309@bananmonarki.se> <4FD0D7E7.8090705@bananmonarki.se> Message-ID: <20120607125105.6076c3e2@scorpio> On Thu, 07 Jun 2012 18:33:43 +0200 Bernt Hansson articulated: >2012-06-06 04:21, Walter Hurry skrev: >> On Wed, 06 Jun 2012 01:22:51 +0200, Bernt Hansson wrote: >>>> Option "AutoAddDevices" "On" >>> >>> Set this to off. >>> >> Thanks for the reply. Yes, I've tried setting it to "Off", but there >> is no apparent difference; only a new set of messages in Xorg.0.log: >> >> (EE) config/hal: couldn't initialise context: unknown error (null) >> (EE) config/hal: NewInputDeviceRequest failed (8) >> (EE) config/hal: NewInputDeviceRequest failed (8) >> (EE) config/hal: NewInputDeviceRequest failed (8) >> (EE) config/hal: NewInputDeviceRequest failed (8) >> (EE) config/hal: NewInputDeviceRequest failed (8) >> (EE) config/hal: NewInputDeviceRequest failed (8) >> (WW) Mouse0: No Device specified, looking for one... > >Have you tried without a xorg.conf file I do not have one. I have had the same frigging problem since updating Xorg and have tried every suggestion made on this list so far which includes activating & deactivating "hald", which is actually deprecated; however, I don't think that anyone here cares. In any case, when the mouse hangs I simple do a forced shutdown of Xorg and then restart it. There is approximately a 50/50 chance it will work on the next attempt. I just keep doing it until it works correctly. Furthermore, the real fun is when the keyboard is not even recognized. For the record, my Microsoft friends are really impressed with this. They have started a pool to see how many attempts it takes before it starts correctly. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From guru at unixarea.de Thu Jun 7 17:05:34 2012 From: guru at unixarea.de (Matthias Apitz) Date: Thu Jun 7 17:05:45 2012 Subject: List total traffic amount across external nic In-Reply-To: <4FD0D380.2080407@a1poweruser.com> References: <4FD0D380.2080407@a1poweruser.com> Message-ID: <20120607170529.GA1128@tiny> El d?a Thursday, June 07, 2012 a las 12:14:56PM -0400, Fbsd8 escribi?: > Running ipfilter and trying to list the total amount of the traffic > passing through the external NIC. > > Maybe there is some other command to show this info. > > Any help is appreciated. In the past I used for this: $ cd /usr/ports/net/trafshow $ cat pkg-descr TrafShow continuously displays the information regarding packet traffic on the configured network interface that matches the boolean expression. It periodically sorts and updates this information. It may be useful for locating suspicious network traffic on the net. WWW: http://soft.risp.ru/trafshow/index_en.shtml HIH matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From cpghost at cordula.ws Thu Jun 7 17:14:50 2012 From: cpghost at cordula.ws (C. P. Ghost) Date: Thu Jun 7 17:14:57 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: References: Message-ID: On Wed, Jun 6, 2012 at 1:14 AM, Walter Hurry wrote: > Firstly, sorry if this is a bit of a newbie question. I am quite new to > FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD > is fine, except that no matter what I try I cannot get the (USB) mouse to > work. IMHO, you've hit the same problem as this: http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241148.html Unfortunately, there was no follow-up, and nobody seems to have enough skills to fix hald. Good luck, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From nightrecon at hotmail.com Thu Jun 7 17:15:02 2012 From: nightrecon at hotmail.com (Michael Powell) Date: Thu Jun 7 17:15:09 2012 Subject: Proper Port Forwarding References: <20120606183127.68447106566B@hub.freebsd.org> Message-ID: Michael Sierchio wrote: > On Wed, Jun 6, 2012 at 11:31 AM, Simon wrote: > >> This easily causes DoS for when too many FIN_WAIT_2 are created and IPFW >> stops forwarding using the rule above because of "too many dynamic rules" > > Change the defaults for the fw.dyn sysctl MIB nodes > > to something like > > net.inet.ip.fw.dyn_short_lifetime=3 > net.inet.ip.fw.dyn_udp_lifetime=3 > net.inet.ip.fw.dyn_rst_lifetime=1 > net.inet.ip.fw.dyn_fin_lifetime=1 > net.inet.ip.fw.dyn_syn_lifetime=10 There is also this you can place in /etc/sysctl.conf: net.inet.tcp.fast_finwait2_recycle=1 I do this for my web servers. It helps reduce the volume somewhat of FIN_WAIT_2 from building up by expiring them sooner. -Mike From erichfreebsdlist at ovitrap.com Thu Jun 7 17:16:18 2012 From: erichfreebsdlist at ovitrap.com (Erich) Date: Thu Jun 7 17:16:25 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: <20120607125105.6076c3e2@scorpio> References: <4FD0D7E7.8090705@bananmonarki.se> <20120607125105.6076c3e2@scorpio> Message-ID: <70508575.dr49Mp1sUN@x220.ovitrap.com> Hi, On 07 June 2012 12:51:05 Jerry wrote: > On Thu, 07 Jun 2012 18:33:43 +0200 > Bernt Hansson articulated: > > >2012-06-06 04:21, Walter Hurry skrev: > >> On Wed, 06 Jun 2012 01:22:51 +0200, Bernt Hansson wrote: > >>>> Option "AutoAddDevices" "On" > >>> > >>> Set this to off. > >>> > >> Thanks for the reply. Yes, I've tried setting it to "Off", but there > >> is no apparent difference; only a new set of messages in Xorg.0.log: > >> I might was not clear in my former message. I use the parameters given for playing until I have a combination which works. The settings there are my current working settings. Sometime I will have to change parameters after updating X, sometimes they continue to work. It all seems more or less random to me. The settings also differ for the same version of X on different hardware. > >Have you tried without a xorg.conf file I do not have one. > Not having this file does not work for me either. It actually never worked for me. > when the keyboard is not even recognized. For the record, my Microsoft > friends are really impressed with this. They have started a pool to see > how many attempts it takes before it starts correctly. > Hey, your friends have a good sense of humour. They should join here. Erich From guru at unixarea.de Thu Jun 7 17:17:29 2012 From: guru at unixarea.de (Matthias Apitz) Date: Thu Jun 7 17:17:36 2012 Subject: driver for cell phone modem In-Reply-To: <4FD0D01A.4080205@a1poweruser.com> References: <4FD0D01A.4080205@a1poweruser.com> Message-ID: <20120607171721.GB1128@tiny> El d?a Thursday, June 07, 2012 a las 12:00:26PM -0400, Fbsd8 escribi?: > Running 9.0 and thinking about changing to this verizon model 551L usb > cell phone modem. > http://www.verizonwireless.com/b2c/store/controller?item=phoneFirst&action=viewPhoneDetail&selectedPhoneId=5632 > > It's a usb plugin cell modem for internet access. > > Before I go through the purchase and signup process I want to verify > Freebsd has a driver that works with this 4G cell device. I haven't accessed the above specifications (if there are any at all) because the page asks data I'm unwilling to enter; In general, it depends. If the cellphone (like my Openmoko Freerunner) acts on USB as an Ethernet device (man cdce) and itself then as a router to the provider, it will work; if it gives direct serial access to the chips, it must be checked based on the USB vendorID and productID. Look for a dealer who allows to connect it once to your laptop and read the ID with usbconfig(8). HIH matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From cpghost at cordula.ws Thu Jun 7 17:17:43 2012 From: cpghost at cordula.ws (C. P. Ghost) Date: Thu Jun 7 17:17:51 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: References: Message-ID: On Thu, Jun 7, 2012 at 7:14 PM, C. P. Ghost wrote: > On Wed, Jun 6, 2012 at 1:14 AM, Walter Hurry wrote: >> Firstly, sorry if this is a bit of a newbie question. I am quite new to >> FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD >> is fine, except that no matter what I try I cannot get the (USB) mouse to >> work. > > IMHO, you've hit the same problem as this: > > http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241148.html Sorry, I forgot to add the original mail: http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241042.html > Unfortunately, there was no follow-up, and nobody seems > to have enough skills to fix hald. > > Good luck, > -cpghost. -- Cordula's Web. http://www.cordula.ws/ From dweimer at dweimer.net Thu Jun 7 17:22:23 2012 From: dweimer at dweimer.net (Dean E. Weimer) Date: Thu Jun 7 17:22:32 2012 Subject: List total traffic amount across external nic In-Reply-To: <4FD0D380.2080407@a1poweruser.com> References: <4FD0D380.2080407@a1poweruser.com> Message-ID: <17de7e5de3e55436a66d07f06e0a6377@www.dweimer.net> On 06/07/2012 11:14, Fbsd8 wrote: > Running ipfilter and trying to list the total amount of the traffic > passing through the external NIC. > > Maybe there is some other command to show this info. > > Any help is appreciated. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" try: systat -ifstat -- Thanks, Dean E. Weimer http://www.dweimer.net/ From kudzu at tenebras.com Thu Jun 7 17:27:46 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Thu Jun 7 17:27:52 2012 Subject: Proper Port Forwarding In-Reply-To: References: <20120606183127.68447106566B@hub.freebsd.org> Message-ID: On Thu, Jun 7, 2012 at 10:15 AM, Michael Powell wrote: > There is also this you can place in /etc/sysctl.conf: > > net.inet.tcp.fast_finwait2_recycle=1 > Good catch. The defaults are perhaps not ideal in all cases: net.inet.tcp.finwait2_timeout: 60000 <- ms, ten minutes net.inet.tcp.fast_finwait2_recycle: 0 From kudzu at tenebras.com Thu Jun 7 17:29:48 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Thu Jun 7 17:29:55 2012 Subject: Proper Port Forwarding In-Reply-To: References: <20120606183127.68447106566B@hub.freebsd.org> Message-ID: On Thu, Jun 7, 2012 at 10:27 AM, Michael Sierchio wrote: > net.inet.tcp.finwait2_timeout: 60000 ?<- ms, ten minutes I can't do arithmetic, but you get the idea. A full minute. From cswiger at mac.com Thu Jun 7 17:44:25 2012 From: cswiger at mac.com (Chuck Swiger) Date: Thu Jun 7 17:44:32 2012 Subject: Proper Port Forwarding In-Reply-To: References: <20120606183127.68447106566B@hub.freebsd.org> Message-ID: On Jun 7, 2012, at 10:29 AM, Michael Sierchio wrote: > On Thu, Jun 7, 2012 at 10:27 AM, Michael Sierchio wrote: >> net.inet.tcp.finwait2_timeout: 60000 <- ms, ten minutes > > I can't do arithmetic, but you get the idea. A full minute. Yes; that's already shorter than possible MAXTTL value of packets, which can be anywhere up to 255 seconds (~= 5 minutes). Well, it's usually OK for a webserver to decide that it doesn't need to wait around for clients to properly shutdown their HTTP connections, but one might want to be more careful about zapping sockets early for HTTPS/SSL connections (ie, an online store doing a CC transaction or the like). Regards, -- -Chuck From nobody at dizum.com Thu Jun 7 18:36:46 2012 From: nobody at dizum.com (Nomen Nescio) Date: Thu Jun 7 18:36:54 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FD0CA32.2060501@my.gd> Message-ID: <3bcbc47dabd93db62959ac1cc339cf76@dizum.com> > Totally off-topic, but I actually used mine to run gameboy and gameboy > advance emulators ^^' And I use mine to write PPC code. But Sony's business model wasn't about software development or doing what you and I are doing. > > Windows activation can check the firmware level and Intel's management BIOS > > is connected to the net even when your new PC is shut off (as long as it is > > plugged in). If you go along with this they can do whatever you want. You're > > submitting to true remote management/control over YOUR hardware and life. > > > > Well, I don't know about that... how do you suggest the BIOS gets its IP ? > The 8-STABLE box that acts as my router is not going to serve one over > DHCP or BOOTP any time soon. You seem to be focusing on the .01% cases. The UEFI was specifically designed to allow TCP/IP from the BIOS with the machine powered off, well before secure boot was on the table. Just because you can firewall it off doesn't mean everybody else understands the issues or knows how, because they don't. For all we know Intel or Microshaft have plenty of DHCP servers ready for this. > As for sniffing the network to guess the router + DNS servers, that one > might be a bit far-fetched. It's not going to be like Skype and do NAT traversals by itself and find it's way out of your box. It's just that if you leave your computer plugged in like everybody in the world does, the BIOS will be able to do whatever they program it to do, including downloading and flashing BIOS updates and whatever malware the dreaded Chinese hackers and Russian botnets create. Microshaft is pretty stupid because every time they create something "secure" the Russians or Chinese hack it in a day. I'll be surprised if they don't crack Verisigns keys and create exploits and this will be a better attack vector than they ever had because now they can flash your BIOS. All they could do before was replace your boot sector. > Seriously you need to stop with the "wintel", "microshaft", "mafia" and > all the stuff. Why? > However, there are literally thousands of people reading this list and > just because they do not share your ideals doesn't necessarily make them > advocates of this so-called "mafia", or blind sheep. Aside from the one ostrich I spanked I don't think they are either. > Finally, I can't come up with a scenario where my CEO is going to okay > alpha boxes for our regular web servers and such. > Our x86 servers run just fine and are roughly 12.000% cheaper. Yeah but nobody cares about that because they're not talking about doing this to server boxes. It's home PCs where people are usually not well informed and are usually defenseless. Try to stay focused on the discussion. > I can hardly see Dell shipping x86 servers with locked-in Windows > installs, that just won't do for their business. Right, so this doesn't apply. Why do you keep bringing it up? Even if it did apply, who cares? It's not your problem. The target is commodity WinTel crapware boxes. > I have to admit I'd love to see it though, I've always wanted us to try > Cisco or IBM's blade servers in lieu of Dell's. Intel is bad not just because of UEFI and secure boot. They're bad because they have conspired many times over the years with Microshaft to create a monopoly. Everybody should object to that. Say NO to the WinTel Mafia! (had to add that ;-)) From lars at larseighner.com Thu Jun 7 18:55:25 2012 From: lars at larseighner.com (Lars Eighner) Date: Thu Jun 7 18:55:33 2012 Subject: driver for cell phone modem In-Reply-To: <4FD0D01A.4080205@a1poweruser.com> References: <4FD0D01A.4080205@a1poweruser.com> Message-ID: On Thu, 7 Jun 2012, Fbsd8 wrote: > Running 9.0 and thinking about changing to this verizon model 551L usb > cell phone modem. > http://www.verizonwireless.com/b2c/store/controller?\ > item=phoneFirst&action=viewPhoneDetail&selectedPhoneId=5632 Your link does not lead to specific information about this device. However, I gather it is a LTE device, which is good because at least some are supported (whereas no WiMax devices are supported). Moreover, the promise of Linux and Mac 10.4+ compatibility seems a positive sign. But I can't find anything that flatly says it will work with FreeBSD. Have you considered a mobile (or base station) hotspot? Since these will connect with up to five wi-fi devices, and you can almost certainly find a dongle that will work with your ethernet card, maybe you should take a look at them. > It's a usb plugin cell modem for internet access. > > Before I go through the purchase and signup process I want to verify > Freebsd has a driver that works with this 4G cell device. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From jerry at seibercom.net Thu Jun 7 18:59:07 2012 From: jerry at seibercom.net (Jerry) Date: Thu Jun 7 18:59:23 2012 Subject: FreeBSD9 - I can't get my mouse to work In-Reply-To: References: Message-ID: <20120607145901.3022770d@scorpio> On Thu, 7 Jun 2012 19:17:42 +0200 C. P. Ghost articulated: >On Thu, Jun 7, 2012 at 7:14 PM, C. P. Ghost wrote: >> On Wed, Jun 6, 2012 at 1:14 AM, Walter Hurry >> wrote: >>> Firstly, sorry if this is a bit of a newbie question. I am quite >>> new to FreeBSD (though fairly experienced at Linux). Almost >>> everything in FreeBSD is fine, except that no matter what I try I >>> cannot get the (USB) mouse to work. >> >> IMHO, you've hit the same problem as this: >> >> http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241148.html > >Sorry, I forgot to add the original mail: > >http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/241042.html > >> Unfortunately, there was no follow-up, and nobody seems >> to have enough skills to fix hald. HAL is now deprecated on GNU/Linux systems, with functionality being merged into udev as of 2008?2010. Why would anyone try to resurrect a dead application. As of 2011, GNU/Linux distributions such as Ubuntu, Debian, and Fedora, and projects such as KDE, GNOME and X.org are in the process of deprecating HAL as it has "become a large monolithic unmaintainable mess". -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From yavuz.maslak at ihlas.net.tr Thu Jun 7 19:13:06 2012 From: yavuz.maslak at ihlas.net.tr (=?windows-1254?Q?Yavuz_Ma=FElak?=) Date: Thu Jun 7 19:13:14 2012 Subject: doesn't dummynet work with vlan ? Message-ID: <06aa01cd44e1$8bcf6e50$a36e4af0$@ihlas.net.tr> Hello there? I use freebsd8.2 I added dummynet and other followings into the kernel; options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #print information about options IPFIREWALL_FORWARD #enable trasparent proxy support? options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options HZ=1000 options DUMMYNET options IPDIVERT options DEVICE_POLLING I have 4 networks which seperate from eachother with vlan. I wish to bandlimit for every vlan network using dummynet. I have 2 ethernet cards for that. one of them is wan other one is inbound is tagged. vlan works well I configured a network to limit using dummynet; ipfw.sh ### ipfw -f flush ipfw pipe 11 config bw 2Mbit/s # Vlan104 ipfw pipe 12 config bw 2Mbit/s # 6.Port on the switch ipfw add pipe 11 ip from any to 10.12.4.0/24 in via em0 ipfw add pipe 12 ip from 10.12.4.0/24 to any out xmit em0 ### em0 is for outside in the server. as a client my pc is in vlan104 namely i am behind the firewall when i execute the ipfw.sh, I can't reach to the internet. ipfw add pipe 12 ip from 10.12.4.0/24 to any out xmit em0? above line works it actually limits but ; ipfw add pipe 11 ip from any to 10.12.4.0/24 in via em0? above line doesn't work properly it obstructs my http and icmp requests. so i can't reach to internet. Whereas i remove "ipfw add pipe 11 ip from any to 10.12.4.0/24 in via em0" from ipfw.sh I can either ping at outbound or reach to internet.? I tried vlan104 instead of em0 "in via em0"? that doesn't help me. I don't use proxy. I use nat What can be the problem ? Thanks From freebsd at dreamchaser.org Thu Jun 7 20:05:35 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Thu Jun 7 20:05:42 2012 Subject: dumping file system subtree (/var) Message-ID: <4FD1098E.7020203@dreamchaser.org> When I originally set up my SSD, the stuff I was following indicated there was no need to put anythng on a separate filesystem. I'm now trying to build a backup system on a usb drive and I want a separate /var and /tmp. I had originally set the nodump flag on /tmp and /var, so my snapshot is empty for those. I don't think there's any reason to preserve /tmp, but is there any good way to copy /var from the running system on the SSD to another filesystem (and still preserve everything, including flags)? My impression is both mksnap_ffs and dump should only be used on a complete filesystem, not a subtree. Or do I need to unset the nodump flag on /var, make a snapshot of /, take a dump :-), and then split the /var out upon restore? And would it be wise to repartition the SSD to put /var and /tmp on their own partitions? Gary From feld at feld.me Thu Jun 7 20:37:03 2012 From: feld at feld.me (Mark Felder) Date: Thu Jun 7 20:37:10 2012 Subject: dumping file system subtree (/var) In-Reply-To: <4FD1098E.7020203@dreamchaser.org> References: <4FD1098E.7020203@dreamchaser.org> Message-ID: Would rsync or cpdup from single user mode cover your needs? Should cover everything and then you can just reboot into your newly partitioned system. From eam1edward at gmail.com Thu Jun 7 21:21:33 2012 From: eam1edward at gmail.com (Edward M) Date: Thu Jun 7 21:21:42 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: <20120606182153.3cc2ee07.freebsd@edvax.de> Message-ID: <4FD11C72.6000708@gmail.com> On 06/06/2012 01:35 PM, Alejandro Imass wrote: > But this is more to do with the BIOS than with Intel as such. Wasn't > there a FreeBIOS, later LinuxBIOS, now coreboot I believe..? > So replacing the BIOS entirely wouldn't suffice to override all this nonsense? > _______________________________________________ anybody will be free to disable secure boot in x86 systems and run any OS, so this is not really a big deal. From dpchrist at holgerdanske.com Thu Jun 7 22:31:07 2012 From: dpchrist at holgerdanske.com (David Christensen) Date: Thu Jun 7 22:31:18 2012 Subject: Which FreeBSD for Intel i7-2600S and DQ67SWB3? In-Reply-To: <1841053140.95816.1339040011608.JavaMail.root@md03.insight.synacor.com> References: <1841053140.95816.1339040011608.JavaMail.root@md03.insight.synacor.com> Message-ID: <4FD12B9C.3070107@holgerdanske.com> On 06/06/2012 08:33 PM, Thomas Mueller wrote: > This looks like the processor I have, I think you would use amd64. Almost certainly your system is 64-bit as opposed to 32-bit. Thanks for the reply. :-) Yes, definitely 64-bit. > For a new computer, I wouldn't go with anything earlier than FreeBSD 9.0, and in my case, upgrading to 9.0-STABLE proved stabler than the 9.0 release. STFW: http://lists.freebsd.org/pipermail/freebsd-questions/2012-March/239742.html It looks like -STABLE are daily development/ test builds (?): ftp://ftp.allbsd.org/pub/FreeBSD-snapshots/amd64-amd64/ I'm looking for stability. I'll try the 9.0-RELEASE: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/ > Base system includes ZFS. Good. > I've never used virtual machines, but VirtualBox is popular for this purpose. VirtualBox does seem to be popular. It played with it on Debian Testing (Wheezy), but I believe the shared folder feature filled my root partition and I couldn't locate or remove the blockage. > Samba is in ports. Okay. > I don't recognize or don't remember DQ67SWB3 motherboard model, is it from MSI? Intel: http://www.intel.com/content/www/us/en/motherboards/desktop-motherboards/desktop-board-dq67sw.html I'm not sure what the "B3" suffix means, but it's on the box. A few other questions for the list, please: 1. Does FreeBSD support encrypted disk partitions (slices)? 2. Does the X server in FreeBSD (?) support Intel HD 2000 integrated graphics? David From bah at bananmonarki.se Thu Jun 7 22:31:48 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Thu Jun 7 22:31:54 2012 Subject: dumping file system subtree (/var) In-Reply-To: <4FD1098E.7020203@dreamchaser.org> References: <4FD1098E.7020203@dreamchaser.org> Message-ID: <4FD12B27.4030601@bananmonarki.se> 2012-06-07 22:05, Gary Aitken skrev: > When I originally set up my SSD, the stuff I was following indicated there was no need to put anythng on a separate filesystem. I'm now trying to build a backup system on a usb drive and I want a separate /var and /tmp. > > I had originally set the nodump flag on /tmp and /var, so my snapshot is empty for those. > > I don't think there's any reason to preserve /tmp, but is there any good way to copy /var from the running system on the SSD to another filesystem (and still preserve everything, including flags)? My impression is both mksnap_ffs and dump should only be used on a complete filesystem, not a subtree. > > Or do I need to unset the nodump flag on /var, make a snapshot of /, take a dump :-), and then split the /var out upon restore? > > And would it be wise to repartition the SSD to put /var and /tmp on their own partitions? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK From bruce at cran.org.uk Thu Jun 7 22:37:36 2012 From: bruce at cran.org.uk (Bruce Cran) Date: Thu Jun 7 22:37:43 2012 Subject: Configuration problem with IPv6 router ("cannot forward src") Message-ID: <4FD12CFF.6020205@cran.org.uk> I'm trying to set up a IPv6 router (running -current) on my home network. My ISP gives me a /128 via PPP and I have a /48 allocation, which I use to give em0 and tun0 public addresses in different subnets (tun0 is assigned the address via ppp.linkup). I've added all the IPv6 settings to rc.conf (ipv6_gateway_enable, ipv6_network_interfaces, rtadvd_enable etc.) and I can ping IPv6 sites from the router. The problem is that rtadvd continues advertising the default gateway as tun0's link-local address - and pinging from a machine on the network results in "cannot forward src" messages on the router (strangely, despite hisaddr being fe80::205:... in ppp.log, the kernel logs the address as fe80:f::205:...). Is there some extra configuration I've likely missed that's needed when using IPv6 via PPP? -- Bruce Cran From bonomi at mail.r-bonomi.com Thu Jun 7 22:56:12 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Thu Jun 7 22:56:29 2012 Subject: Configuration problem with IPv6 router ("cannot forward src") In-Reply-To: <4FD12CFF.6020205@cran.org.uk> Message-ID: <201206072256.q57MuWXC058337@mail.r-bonomi.com> > From: Bruce Cran > > I'm trying to set up a IPv6 router (running -current) on my home > network. My ISP gives me a /128 via PPP and I have a /48 allocation, > which I use to give em0 and tun0 public addresses in different subnets > (tun0 is assigned the address via ppp.linkup). > I've added all the IPv6 settings to rc.conf (ipv6_gateway_enable, > ipv6_network_interfaces, rtadvd_enable etc.) and I can ping IPv6 sites > from the router. > > The problem is that rtadvd continues advertising the default gateway as > tun0's link-local address - and pinging from a machine on the network > results in "cannot forward src" messages on the router (strangely, > despite hisaddr being fe80::205:... in ppp.log, the kernel logs the > address as fe80:f::205:...). > > Is there some extra configuration I've likely missed that's needed when > using IPv6 via PPP? Please provide the output from these two commands: ifconfig -a netstat -nr on both the router and on an 'inside' machine. (identifying which is which :) There is also a question of 'where' the /48 comes from -- and how traffic to those addresses is being routed from the outside world. From fbsd8 at a1poweruser.com Thu Jun 7 23:15:25 2012 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Thu Jun 7 23:15:32 2012 Subject: find date of last boot Message-ID: <4FD1360D.1060208@a1poweruser.com> dmesg command does not show date of last boot. Are there some other commands to find date of last boot? From wblock at wonkity.com Thu Jun 7 23:16:37 2012 From: wblock at wonkity.com (Warren Block) Date: Thu Jun 7 23:16:44 2012 Subject: dumping file system subtree (/var) In-Reply-To: <4FD1098E.7020203@dreamchaser.org> References: <4FD1098E.7020203@dreamchaser.org> Message-ID: On Thu, 7 Jun 2012, Gary Aitken wrote: > When I originally set up my SSD, the stuff I was following indicated > there was no need to put anythng on a separate filesystem. I'm now > trying to build a backup system on a usb drive and I want a separate > /var and /tmp. > > I had originally set the nodump flag on /tmp and /var, so my snapshot > is empty for those. There are several things in /var that are worth keeping, and they are pretty small. > I don't think there's any reason to preserve /tmp, but is there any > good way to copy /var from the running system on the SSD to another > filesystem (and still preserve everything, including flags)? My > impression is both mksnap_ffs and dump should only be used on a > complete filesystem, not a subtree. > > Or do I need to unset the nodump flag on /var, make a snapshot of /, > take a dump :-), and then split the /var out upon restore? Snapshots don't have to be made separately, dump's -L option does that automatically: http://www.wonkity.com/~wblock/docs/html/backup.html Restoring from a dumpfile is an easy way. net/rsync has a config option to support flags, but I haven't tried it. > And would it be wise to repartition the SSD to put /var and /tmp on > their own partitions? When I did that recently, I put /var on a small separate partition but used tmpfs(5) for /tmp. From chris at monochrome.org Thu Jun 7 23:20:32 2012 From: chris at monochrome.org (Chris Hill) Date: Thu Jun 7 23:20:39 2012 Subject: find date of last boot In-Reply-To: <4FD1360D.1060208@a1poweruser.com> References: <4FD1360D.1060208@a1poweruser.com> Message-ID: On Thu, 7 Jun 2012, Fbsd8 wrote: > dmesg command does not show date of last boot. > > Are there some other commands to find date of last boot? Perhaps somehow subtract `uptime` from today's date? -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From bycn82 at gmail.com Thu Jun 7 23:22:40 2012 From: bycn82 at gmail.com (Bill Yuan) Date: Thu Jun 7 23:22:47 2012 Subject: how to filter network by MAC and IP at the same time Message-ID: hi all, i am using freebsd 9.0 as a firewall and i want to filter the traffic by the mac and the ip at the same time, for example, i only allow my laptop can go throught the firewalll when it's using IP for how to config the firewall rules? I tried to configure the firewall by the rule below , but it doesnt work ipfw add 1 allow all from to any MAC any ipfw add 1 allow all from any to MAC any but it doesnt work. also found the explanation on google, someone already asked this question before. but I did not find the solution for this requirement. can someone tell me how ? thanks in advance. Best Regards, BYCN82 From bycn82 at gmail.com Thu Jun 7 23:31:16 2012 From: bycn82 at gmail.com (Bill Yuan) Date: Thu Jun 7 23:33:35 2012 Subject: find date of last boot In-Reply-To: References: <4FD1360D.1060208@a1poweruser.com> Message-ID: If you store the time in a file as log everytime when it boots up, then that means you can have more then "now - uptime" On Fri, Jun 8, 2012 at 7:20 AM, Chris Hill wrote: > On Thu, 7 Jun 2012, Fbsd8 wrote: > > dmesg command does not show date of last boot. >> >> Are there some other commands to find date of last boot? >> > > Perhaps somehow subtract `uptime` from today's date? > > -- > Chris Hill chris@monochrome.org > ** [ Busy Expunging ] > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > From freebsd at edvax.de Thu Jun 7 23:33:34 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 7 23:37:32 2012 Subject: find date of last boot In-Reply-To: <4FD1360D.1060208@a1poweruser.com> References: <4FD1360D.1060208@a1poweruser.com> Message-ID: <20120608013325.d3eee7bb.freebsd@edvax.de> On Thu, 07 Jun 2012 19:15:25 -0400, Fbsd8 wrote: > dmesg command does not show date of last boot. > > Are there some other commands to find date of last boot? Check the lines in /var/log/messages. Unless you're not experiencing a newsyslog message (new log file started), the "kernel: Copyright (c) 1992-2011 The FreeBSD Project." string (first line of typical dmesg, check for your particular OS version!) indicates when the system was booted. But note that the date format is not the common sortable kind of `date "+%d.%m.%Y"`. Another idea (as already mentioned) is to subtract `uptime` from current `date`. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From racerx at makeworld.com Thu Jun 7 23:38:11 2012 From: racerx at makeworld.com (Chris) Date: Thu Jun 7 23:39:02 2012 Subject: find date of last boot In-Reply-To: References: <4FD1360D.1060208@a1poweruser.com> Message-ID: <4FD13B64.6060906@makeworld.com> On 6/7/2012 6:31 PM, Bill Yuan wrote: > If you store the time in a file as log everytime when it boots up, > then that means you can have more then "now - uptime" > > On Fri, Jun 8, 2012 at 7:20 AM, Chris Hill wrote: > >> On Thu, 7 Jun 2012, Fbsd8 wrote: >> >> dmesg command does not show date of last boot. >>> >>> Are there some other commands to find date of last boot? >>> >> >> Perhaps somehow subtract `uptime` from today's date? >> >> -- >> Chris Hill chris@monochrome.org >> ** [ Busy Expunging ] >> >> ______________________________**_________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions >> To unsubscribe, send any mail to "freebsd-questions-** >> unsubscribe@freebsd.org " >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Try the command, last maybe that will give you some info that you are looking for. -- Keep well, Chris <>< From fish.kungfu at yandex.com Thu Jun 7 23:38:53 2012 From: fish.kungfu at yandex.com (Fish Kungfu) Date: Thu Jun 7 23:39:03 2012 Subject: find date of last boot In-Reply-To: References: <4FD1360D.1060208@a1poweruser.com> Message-ID: <1253221339112330@web5e.yandex.ru> Try: who -b Cheers...Fish 07.06.2012, 18:31, "Bill Yuan" : > If you store the time in a file as log everytime when it boots up, > then that means you can have more then "now - ?uptime" > > On Fri, Jun 8, 2012 at 7:20 AM, Chris Hill wrote: > >> ?On Thu, 7 Jun 2012, Fbsd8 wrote: >> >> ?dmesg command does not show date of last boot. >>> ?Are there some other commands to find date of last boot? >> ?Perhaps somehow subtract `uptime` from today's date? >> >> ?-- >> ?Chris Hill ??????????????chris@monochrome.org >> ?** ????????????????????[ Busy Expunging ] >> >> ?______________________________**_________________ >> ?freebsd-questions@freebsd.org mailing list >> ?http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions >> ?To unsubscribe, send any mail to "freebsd-questions-** >> ?unsubscribe@freebsd.org " > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From bonomi at mail.r-bonomi.com Thu Jun 7 23:40:38 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Thu Jun 7 23:40:44 2012 Subject: find date of last boot In-Reply-To: <4FD1360D.1060208@a1poweruser.com> Message-ID: <201206072341.q57Nf5hs059074@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Thu Jun 7 18:16:50 2012 > Date: Thu, 07 Jun 2012 19:15:25 -0400 > From: Fbsd8 > To: FreeBSD Questions > Subject: find date of last boot > > dmesg command does not show date of last boot. > > Are there some other commands to find date of last boot? 'man uptime' From vogelke+unix at pobox.com Thu Jun 7 23:46:11 2012 From: vogelke+unix at pobox.com (Karl Vogel) Date: Thu Jun 7 23:46:18 2012 Subject: find date of last boot In-Reply-To: <4FD1360D.1060208@a1poweruser.com> (message from Fbsd8 on Thu, 07 Jun 2012 19:15:25 -0400) References: <4FD1360D.1060208@a1poweruser.com> Message-ID: <20120607234549.0A6B9B7C4@kev.msw.wpafb.af.mil> >> On Thu, 07 Jun 2012 19:15:25 -0400, >> Fbsd8 said: F> dmesg command does not show date of last boot. Are there some other F> commands to find date of last boot? Try "last reboot". -- Karl Vogel I don't speak for the USAF or my company He is not only dull himself; he is the cause of dullness in others. --Samuel Johnson From bc979 at lafn.org Thu Jun 7 23:47:41 2012 From: bc979 at lafn.org (Doug Hardie) Date: Thu Jun 7 23:47:48 2012 Subject: find date of last boot In-Reply-To: <20120608013325.d3eee7bb.freebsd@edvax.de> References: <4FD1360D.1060208@a1poweruser.com> <20120608013325.d3eee7bb.freebsd@edvax.de> Message-ID: <03962865-7560-43F4-B8E6-7F8652A1B488@lafn.org> On 7 June 2012, at 16:33, Polytropon wrote: > On Thu, 07 Jun 2012 19:15:25 -0400, Fbsd8 wrote: >> dmesg command does not show date of last boot. >> >> Are there some other commands to find date of last boot? > > Check the lines in /var/log/messages. Unless you're not > experiencing a newsyslog message (new log file started), > the "kernel: Copyright (c) 1992-2011 The FreeBSD Project." > string (first line of typical dmesg, check for your particular > OS version!) indicates when the system was booted. But > note that the date format is not the common sortable > kind of `date "+%d.%m.%Y"`. > > Another idea (as already mentioned) is to subtract `uptime` > from current `date`. :- Check the timestamp on /var/run/dmesg.boot That is only written to when the system boots. From cswiger at mac.com Fri Jun 8 00:36:56 2012 From: cswiger at mac.com (Chuck Swiger) Date: Fri Jun 8 00:37:03 2012 Subject: find date of last boot In-Reply-To: <4FD1360D.1060208@a1poweruser.com> References: <4FD1360D.1060208@a1poweruser.com> Message-ID: On Jun 7, 2012, at 4:15 PM, Fbsd8 wrote: > dmesg command does not show date of last boot. > > Are there some other commands to find date of last boot? Try "last | grep reboot". Regards, -- -Chuck From jeff.hamann at forestinformatics.com Fri Jun 8 00:58:21 2012 From: jeff.hamann at forestinformatics.com (Jeff Hamann) Date: Fri Jun 8 00:58:29 2012 Subject: setting gcc46 as default compiler? Message-ID: <91C240AC-29C0-40A1-86C4-C41A48720CAF@forestinformatics.com> I've built and installed the gcc46 compiler(s) - need gfortran - and I can't seem to find the correct documentation on how to update /etc/make.conf for including the gfortran46. This is what mine currently looks like: $ cat make.conf # added by use.perl 2012-06-07 03:03:21 PERL_VERSION=5.10.1 .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc46) CC=gcc46 CXX=g++46 CPP=cpp46 FC=gfortran46 .endif FFLAGS=-O2 -mtune=athlon64 CC=gcc46 CXX=g++46 CPP=cpp46 FC=gfortran46 $ Am I close? Help? Respectfully, Jeff. Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 230 SW 3rd Street Suite #310 Corvallis, Oregon 97333 541-602-5438 (c) 541-754-2457 (h) jeff.hamann[at]forestinformatics[dot]com jeff.d.hamann[at]gmail[dot]com http://www.forestinformatics.com http://en.wikipedia.org/wiki/Forest_informatics To ensure that your email is processed, include a subject entry in your email. From chris at monochrome.org Fri Jun 8 01:14:13 2012 From: chris at monochrome.org (Chris Hill) Date: Fri Jun 8 01:14:20 2012 Subject: find date of last boot In-Reply-To: <4FD1360D.1060208@a1poweruser.com> References: <4FD1360D.1060208@a1poweruser.com> Message-ID: On Thu, 7 Jun 2012, Fbsd8 wrote: > dmesg command does not show date of last boot. > > Are there some other commands to find date of last boot? That was fun. Google helped me with this; the crappy skillz are all mine. --- cut here --- #!/bin/sh # # Find date of last boot # DAYS_UP=`uptime | awk '{print $3}'` SEC_UP=`echo "${DAYS_UP} * 86400" | bc` DATE=`date` EPOCH_DATE=`date -j -f "%a %b %d %T %Z %Y" "${DATE}" "+%s"` BOOT_SEC=`echo "${EPOCH_DATE} - ${SEC_UP}" | bc` BOOT_DATE=`gawk -v duh=${BOOT_SEC} 'BEGIN{print strftime("%Y-%m-%d",duh)}'` echo "Last boot on ${BOOT_DATE}" --- cut here --- Example from this machine: $ ./boot_date.sh Last boot on 2010-12-26 $ Enjoy. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From racerx at makeworld.com Fri Jun 8 01:24:48 2012 From: racerx at makeworld.com (Chris) Date: Fri Jun 8 01:24:55 2012 Subject: find date of last boot In-Reply-To: References: <4FD1360D.1060208@a1poweruser.com> Message-ID: <4FD15461.6090109@makeworld.com> On 6/7/2012 8:14 PM, Chris Hill wrote: > On Thu, 7 Jun 2012, Fbsd8 wrote: > >> dmesg command does not show date of last boot. >> >> Are there some other commands to find date of last boot? > > That was fun. Google helped me with this; the crappy skillz are all mine. > > --- cut here --- > #!/bin/sh > # > # Find date of last boot > # > DAYS_UP=`uptime | awk '{print $3}'` > SEC_UP=`echo "${DAYS_UP} * 86400" | bc` > DATE=`date` > EPOCH_DATE=`date -j -f "%a %b %d %T %Z %Y" "${DATE}" "+%s"` > BOOT_SEC=`echo "${EPOCH_DATE} - ${SEC_UP}" | bc` > BOOT_DATE=`gawk -v duh=${BOOT_SEC} 'BEGIN{print strftime("%Y-%m-%d",duh)}'` > echo "Last boot on ${BOOT_DATE}" > --- cut here --- > > Example from this machine: > $ ./boot_date.sh > Last boot on 2010-12-26 > $ > > Enjoy. > Why create something that is already built in? As I mentioned previously, the last command lists when the system was rebooted. -- Keep well, Chris <>< From chris at monochrome.org Fri Jun 8 01:35:20 2012 From: chris at monochrome.org (Chris Hill) Date: Fri Jun 8 01:35:27 2012 Subject: find date of last boot In-Reply-To: <4FD15461.6090109@makeworld.com> References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> Message-ID: On Thu, 7 Jun 2012, Chris wrote: > On 6/7/2012 8:14 PM, Chris Hill wrote: >> On Thu, 7 Jun 2012, Fbsd8 wrote: >> >>> dmesg command does not show date of last boot. >>> >>> Are there some other commands to find date of last boot? >> >> That was fun. Google helped me with this; the crappy skillz are all mine. -snip- > Why create something that is already built in? Because I learned something by doing it. > As I mentioned previously, the last command lists when the system was > rebooted. I'm not sure it does: $ last reboot wtmp begins Fri Jun 1 08:31:38 EDT 2012 $ uptime 9:30PM up 529 days, 8:25, 4 users, load averages: 0.02, 0.18, 0.17 ...and even so, would it show a cold boot, or only a reboot? I'll credit Doug Hardie with the best solution: $ ls -l /var/run/dmesg.boot -rw-r--r-- 1 root wheel 7248 Dec 26 2010 /var/run/dmesg.boot > Keep well, You too. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From merlyn at stonehenge.com Fri Jun 8 01:41:04 2012 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Fri Jun 8 01:41:12 2012 Subject: find date of last boot In-Reply-To: <4FD15461.6090109@makeworld.com> (Chris's message of "Thu, 07 Jun 2012 20:24:49 -0500") References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> Message-ID: <86obou7fly.fsf@red.stonehenge.com> >>>>> "Chris" == Chris writes: Chris> Why create something that is already built in? Chris> As I mentioned previously, the last command lists when the system was Chris> rebooted. You must reboot a lot. My "last" log goes back only to the first of the month, and my uptime is 16 days right now, so I can't see the most recent reboot with last. YMMV, I guess. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From DStaal at usa.net Fri Jun 8 01:41:29 2012 From: DStaal at usa.net (Daniel Staal) Date: Fri Jun 8 01:41:36 2012 Subject: Which FreeBSD for Intel i7-2600S and DQ67SWB3? In-Reply-To: <4FD12B9C.3070107@holgerdanske.com> References: <1841053140.95816.1339040011608.JavaMail.root@md03.insight.synacor.com> <4FD12B9C.3070107@holgerdanske.com> Message-ID: <68FA56E48051EF71EC510826@mac-pro.magehandbook.com> --As of June 7, 2012 3:30:52 PM -0700, David Christensen is alleged to have said: >> For a new computer, I wouldn't go with anything earlier than FreeBSD >> 9.0, and in my case, upgrading to 9.0-STABLE proved stabler than the 9.0 >> release. > > STFW: > > http://lists.freebsd.org/pipermail/freebsd-questions/2012-March/239742.ht > ml > > It looks like -STABLE are daily development/ test builds (?): It's a bit more nuanced: -STABLE is -RELEASE plus features that are believed to be complete and tested. -CURRENT is -STABLE plus features that are still under development. I'd call -STABLE test - but not quite development - builds, if that makes sense. > ftp://ftp.allbsd.org/pub/FreeBSD-snapshots/amd64-amd64/ > > I'm looking for stability. I'll try the 9.0-RELEASE: > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/ This generally my choice. You can be sure it's considered final-product ready. It also allows you to use freebsd-update to get patches. (Unless you compile your own.) >> I don't recognize or don't remember DQ67SWB3 motherboard model, is it >> from MSI? > > Intel: > > http://www.intel.com/content/www/us/en/motherboards/desktop-motherboards/ > desktop-board-dq67sw.html > > I'm not sure what the "B3" suffix means, but it's on the box. > > > A few other questions for the list, please: > > 1. Does FreeBSD support encrypted disk partitions (slices)? Yes, see the Handbook: (Actually, many of your questions can be answered from the handbook. ;) ) Using them in conjunction with ZFS is a bit complicated, but can be done. (Generally, you'd want to use an encrypted slice as a disk to put ZFS on.) ZFS itself does not currently support encryption. > 2. Does the X server in FreeBSD (?) support Intel HD 2000 integrated > graphics? That's Sandy Bridge, and is supported as of 9.0. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From racerx at makeworld.com Fri Jun 8 01:44:22 2012 From: racerx at makeworld.com (Chris) Date: Fri Jun 8 01:44:30 2012 Subject: find date of last boot In-Reply-To: <86obou7fly.fsf@red.stonehenge.com> References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> Message-ID: <4FD158FC.1000906@makeworld.com> On 6/7/2012 8:32 PM, Randal L. Schwartz wrote: >>>>>> "Chris" == Chris writes: > > Chris> Why create something that is already built in? > Chris> As I mentioned previously, the last command lists when the system was > Chris> rebooted. > > You must reboot a lot. My "last" log goes back only to the first of the > month, and my uptime is 16 days right now, so I can't see the most > recent reboot with last. > > YMMV, I guess. > Good point, I didn't take into account the command goes about a month back. I run FBSD in a vbox, and its only console anyways. I run Debian by default but in any event, there are many reasons for reboots and for me (typically) I see about 4 reboots a month mostly due to patching and sec-fixes. So indeed, YMMV is correct. My fault for the assumption that folks boot more often than not. -- Keep well, Chris <>< From bonomi at mail.r-bonomi.com Fri Jun 8 02:02:28 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 8 02:02:35 2012 Subject: find date of last boot In-Reply-To: <4FD15461.6090109@makeworld.com> Message-ID: <201206080202.q5822vVd060619@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Thu Jun 7 20:26:46 2012 > Date: Thu, 07 Jun 2012 20:24:49 -0500 > From: Chris > To: freebsd-questions@freebsd.org > Subject: Re: find date of last boot > > On 6/7/2012 8:14 PM, Chris Hill wrote: > > On Thu, 7 Jun 2012, Fbsd8 wrote: > > > >> dmesg command does not show date of last boot. > >> > >> Are there some other commands to find date of last boot? > > > > That was fun. Google helped me with this; the crappy skillz are all mine. > > > > --- cut here --- > > #!/bin/sh > > # > > # Find date of last boot > > # > > DAYS_UP=`uptime | awk '{print $3}'` > > SEC_UP=`echo "${DAYS_UP} * 86400" | bc` > > DATE=`date` > > EPOCH_DATE=`date -j -f "%a %b %d %T %Z %Y" "${DATE}" "+%s"` > > BOOT_SEC=`echo "${EPOCH_DATE} - ${SEC_UP}" | bc` > > BOOT_DATE=`gawk -v duh=${BOOT_SEC} 'BEGIN{print strftime("%Y-%m-%d",duh)}'` > > echo "Last boot on ${BOOT_DATE}" > > --- cut here --- > > > > Example from this machine: > > $ ./boot_date.sh > > Last boot on 2010-12-26 > > $ > > > > Enjoy. > > > > Why create something that is already built in? > As I mentioned previously, the last command lists when the system was > rebooted. Probably, because last does *not* reliably do so. To wit: $ date Thu Jun 7 20:59:44 CDT 2012 $ uptime 8:58PM up 8 days, 22:30, 1 user, load averages: 0.07, 0.03, 0.01 $ last reboot wtmp begins Tue Jun 5 17:00:58 CDT 2012 $ 'wtmp' has been rotated twice since the system was booted. From freebsd at edvax.de Fri Jun 8 02:34:31 2012 From: freebsd at edvax.de (Polytropon) Date: Fri Jun 8 02:34:39 2012 Subject: find date of last boot In-Reply-To: <201206080202.q5822vVd060619@mail.r-bonomi.com> References: <4FD15461.6090109@makeworld.com> <201206080202.q5822vVd060619@mail.r-bonomi.com> Message-ID: <20120608043422.9a5d37a7.freebsd@edvax.de> On Thu, 7 Jun 2012 21:02:57 -0500 (CDT), Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Thu Jun 7 20:26:46 2012 > > Date: Thu, 07 Jun 2012 20:24:49 -0500 > > From: Chris > > To: freebsd-questions@freebsd.org > > Subject: Re: find date of last boot > > > > On 6/7/2012 8:14 PM, Chris Hill wrote: > > Why create something that is already built in? > > As I mentioned previously, the last command lists when the system was > > rebooted. > > Probably, because last does *not* reliably do so. > > To wit: > $ date > Thu Jun 7 20:59:44 CDT 2012 > $ uptime > 8:58PM up 8 days, 22:30, 1 user, load averages: 0.07, 0.03, 0.01 > $ last reboot > wtmp begins Tue Jun 5 17:00:58 CDT 2012 > $ > > 'wtmp' has been rotated twice since the system was booted. Maybe introducing something along the /etc/rc execution? An /etc/rc.local entry like /bin/date "+%Y-%m-%d %H:%M:%S" > /var/log/thisboot.log and then just look at the file. Requires at least one reboot to take effect. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kudzu at tenebras.com Fri Jun 8 02:47:28 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Fri Jun 8 02:47:35 2012 Subject: find date of last boot In-Reply-To: <20120608043422.9a5d37a7.freebsd@edvax.de> References: <4FD15461.6090109@makeworld.com> <201206080202.q5822vVd060619@mail.r-bonomi.com> <20120608043422.9a5d37a7.freebsd@edvax.de> Message-ID: On Thu, Jun 7, 2012 at 7:34 PM, Polytropon wrote: > Maybe introducing something along the /etc/rc execution? > An /etc/rc.local entry like > > ? ? ? ?/bin/date "+%Y-%m-%d %H:%M:%S" > /var/log/thisboot.log > > and then just look at the file. Requires at least one reboot > to take effect. :-) > You could just put the following in /etc/rc.local date and it would be retained in /var/run/dmesg.boot From vogelke+unix at pobox.com Fri Jun 8 02:47:52 2012 From: vogelke+unix at pobox.com (Karl Vogel) Date: Fri Jun 8 02:48:03 2012 Subject: find date of last boot In-Reply-To: (message from Chris Hill on Thu, 7 Jun 2012 21:35:19 -0400 (EDT)) References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> Message-ID: <20120608024719.77DDDB7C4@kev.msw.wpafb.af.mil> >> On Thu, 7 Jun 2012 21:35:19 -0400 (EDT), >> Chris Hill said: C> $ ls -l /var/run/dmesg.boot C> -rw-r--r-- 1 root wheel 7248 Dec 26 2010 /var/run/dmesg.boot For the sake of completeness: me% stat -f %Sm /var/run/dmesg.boot Jan 10 14:56:45 2012 me% ls -l -D '%d-%b-%Y %T' /var/run/dmesg.boot -rw-r--r-- 1 root wheel 6319 10-Jan-2012 14:56:45 /var/run/dmesg.boot -- Karl Vogel I don't speak for the USAF or my company Dirt and grease under the fingernails is a social no-no, as they tend to detract from a woman's jewelry and alter the taste of finger foods. --Martha Stewart's hygiene tips for Rednecks From cswiger at mac.com Fri Jun 8 03:29:48 2012 From: cswiger at mac.com (Chuck Swiger) Date: Fri Jun 8 03:29:56 2012 Subject: find date of last boot In-Reply-To: <86obou7fly.fsf@red.stonehenge.com> References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> Message-ID: <5E0240CD-6B6C-4221-A656-0006254132F9@mac.com> On Jun 7, 2012, at 6:32 PM, Randal L. Schwartz wrote: > You must reboot a lot. My "last" log goes back only to the first of the > month, and my uptime is 16 days right now, so I can't see the most > recent reboot with last. FreeBSD aggressively rotates the utmp/wtmp databases; most other platforms leave it in place until the sysadmin decides to rotate it per local policy. Tweaking the monthly? periodic entries would change this, I'd imagine.... Regards, -- -Chuck From carlj at peak.org Fri Jun 8 03:52:31 2012 From: carlj at peak.org (Carl Johnson) Date: Fri Jun 8 03:52:40 2012 Subject: find date of last boot In-Reply-To: <4FD1360D.1060208@a1poweruser.com> (fbsd8@a1poweruser.com's message of "Thu, 07 Jun 2012 19:15:25 -0400") References: <4FD1360D.1060208@a1poweruser.com> Message-ID: <87haumxy38.fsf@oak.localnet> Fbsd8 writes: > dmesg command does not show date of last boot. > > Are there some other commands to find date of last boot? In addition to the other responses: sysctl kern.boottime -- Carl Johnson carlj@peak.org From merlyn at stonehenge.com Fri Jun 8 04:55:45 2012 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Fri Jun 8 04:56:05 2012 Subject: find date of last boot In-Reply-To: (Chris Hill's message of "Thu, 7 Jun 2012 21:35:19 -0400 (EDT)") References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> Message-ID: <8662b2767l.fsf@red.stonehenge.com> >>>>> "Chris" == Chris Hill writes: Chris> I'll credit Doug Hardie with the best solution: Chris> $ ls -l /var/run/dmesg.boot Chris> -rw-r--r-- 1 root wheel 7248 Dec 26 2010 /var/run/dmesg.boot Ouch! There've been some security patches since then. Are you sure you want to tell someone that a machine has been running for over 18 months? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From merlyn at stonehenge.com Fri Jun 8 04:58:04 2012 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Fri Jun 8 04:58:11 2012 Subject: find date of last boot In-Reply-To: <5E0240CD-6B6C-4221-A656-0006254132F9@mac.com> (Chuck Swiger's message of "Thu, 07 Jun 2012 19:29:41 -0700") References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> <5E0240CD-6B6C-4221-A656-0006254132F9@mac.com> Message-ID: <86ipf276g7.fsf@red.stonehenge.com> >>>>> "Chuck" == Chuck Swiger writes: Chuck> FreeBSD aggressively rotates the utmp/wtmp databases; most other Chuck> platforms leave it in place until the sysadmin decides to rotate Chuck> it per local policy. Chuck> Tweaking the monthly? periodic entries would change this, I'd Chuck> imagine.... Sure, but the question was likely involving a stock system, so yes, your mileage may vary, but let's consider a solution that works for a default system. "last reboot" isn't it. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From parv at pair.com Fri Jun 8 05:02:37 2012 From: parv at pair.com (parv@pair.com) Date: Fri Jun 8 05:02:52 2012 Subject: Somewhat OT - A Makefile Question In-Reply-To: <4FD0ADFB.8030508@tundraware.com> References: <4FCF48AF.307@tundraware.com> <20120607051901.GA2205@holstein.holy.cow> <4FD0ADFB.8030508@tundraware.com> Message-ID: <20120608050316.GA2190@holstein.holy.cow> in message <4FD0ADFB.8030508@tundraware.com>, wrote Tim Daneliuk thusly... > > On 06/07/2012 12:19 AM, Parv wrote: > > in message<4FCF48AF.307@tundraware.com>, > > wrote Tim Daneliuk thusly... > >> > > ... > >> Within a makefile, I need to assign the name of a program as > >> in: > >> > >> FOO = "bar". > >> > >> The problem is that 'bar' may also be know as, say, "bar.sh". > > ... > >> Is there a simple way to determine which form "bar" or "bar.sh" > >> on on a given system *at the time the make is run*? If both > >> exist, I will pick one arbitrarily, > > ... > >> For example I don't think this works when both are there: > >> > >> FOO = $(shell `which bar bar.sh) > > > > Modify the subshell command to ... > > > > which bar bar.sh | head -n 1 > > > > > > ... as in (for FreeBSD make) ... > > > > shell=`which zsh sh tcsh csh 2>/dev/null | fgrep -v 'not found' | head -n 3` ... > Thanks. Happy to help. > I came up with something similar, but I think your recipe is a bit > more elegant ... It was "If both exist, I will pick one arbitrarily ... " that helped much in modification of the original. - parv -- From vas at mpeks.tomsk.su Fri Jun 8 05:24:01 2012 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Fri Jun 8 05:24:08 2012 Subject: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard In-Reply-To: <20120602190745.GA10212@external.screwed.box> References: <20120516042218.GA57757@admin.sibptus.tomsk.ru> <4FB473E7.6090307@ShaneWare.Biz> <20120517050114.GA93590@admin.sibptus.tomsk.ru> <4FB55364.2050208@ShaneWare.Biz> <20120602053805.GB42456@admin.sibptus.tomsk.ru> <20120602164025.GA44278@admin.sibptus.tomsk.ru> <20120602190745.GA10212@external.screwed.box> Message-ID: <20120608052352.GA3251@admin.sibptus.tomsk.ru> Peter Vereshagin wrote: > VS> What video card would the collective mind of FreeBSD users recommend? > VS> I'm not a gamer, this box runs FreeBSD only with a recent xorg, I > VS> often watch movies on it. > > I'd try with nvidia. Any modern one has support of 'xvideo' extension with the > 'driver nv' that is 'just enough' for watching movies. > > I've no modern hardware but the model that works good for years for > me is: tnt2 agp 32M. Just the same as out of every TransNeft's > trashcan around the corner these days. ;-) They gave me the following from the TransNeft trashcan, indeed: VendorName "NVIDIA Corporation" BoardName "NV18 [GeForce4 MX 440 AGP 8x]" Driver "nv" It says "AGP" but in reality it is PCI, perhaps some very rare species :) It has X-Video Extension version 2.2, my movies are back, hurrah! In the meanwhile, I'll wait for the development of the SandyBrdige Intel driver. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From vas at mpeks.tomsk.su Fri Jun 8 05:26:11 2012 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Fri Jun 8 05:26:18 2012 Subject: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard In-Reply-To: <20120602053805.GB42456@admin.sibptus.tomsk.ru> References: <20120516042218.GA57757@admin.sibptus.tomsk.ru> <4FB473E7.6090307@ShaneWare.Biz> <20120517050114.GA93590@admin.sibptus.tomsk.ru> <4FB55364.2050208@ShaneWare.Biz> <20120602053805.GB42456@admin.sibptus.tomsk.ru> Message-ID: <20120608052608.GB3251@admin.sibptus.tomsk.ru> Victor Sudakov wrote: > > 2. It looses one of the HDDs during intensive read/write operations: > > Jun 2 00:55:33 vas kernel: ahcich1: Timeout on slot 4 port 0 > Jun 2 00:55:33 vas kernel: ahcich1: is 00000000 cs 000000c0 ss 000000f0 rs 000000f0 tfd c0 serr 00000000 cmd 0000c617 > Jun 2 00:56:48 vas kernel: ahcich1: Timeout on slot 0 port 0 > Jun 2 00:56:48 vas kernel: ahcich1: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd c0 serr 00000000 cmd 0000c017 > Jun 2 00:57:20 vas kernel: ahcich1: AHCI reset: device not ready after 31000ms (tfd = 00000080) > > I shall of course check the HDD and cable, but they worked flawlessly on > the previous system. The cable is OK. I have tried different SATA slots on the motherbord too, the HDD losses persist. How can a rule out a kernel driver bug in ahci or ada, perhaps a PR is due? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From m.seaman at infracaninophile.co.uk Fri Jun 8 05:59:36 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Jun 8 05:59:43 2012 Subject: Configuration problem with IPv6 router ("cannot forward src") In-Reply-To: <4FD12CFF.6020205@cran.org.uk> References: <4FD12CFF.6020205@cran.org.uk> Message-ID: <4FD194BA.3060208@infracaninophile.co.uk> On 07/06/2012 23:36, Bruce Cran wrote: > I'm trying to set up a IPv6 router (running -current) on my home > network. My ISP gives me a /128 via PPP and I have a /48 allocation, > which I use to give em0 and tun0 public addresses in different subnets > (tun0 is assigned the address via ppp.linkup). > I've added all the IPv6 settings to rc.conf (ipv6_gateway_enable, > ipv6_network_interfaces, rtadvd_enable etc.) and I can ping IPv6 sites > from the router. rtadvd can be limited to operate on a specific interface. Try setting rtadvd_interfaces="em0" in /etc/rc.conf > The problem is that rtadvd continues advertising the default gateway as > tun0's link-local address - and pinging from a machine on the network > results in "cannot forward src" messages on the router (strangely, > despite hisaddr being fe80::205:... in ppp.log, the kernel logs the > address as fe80:f::205:...). Try setting: ipv6_default_interface="tun0" and possibly also ipv6_defaultrouter="-interface tun0" I use a gif tunnel (IPv6 over IPv4) for my IPv6 connectivity -- no native support for IPv6 in my ADSL router -- so not exactly equivalent but pretty similar in many ways. > Is there some extra configuration I've likely missed that's needed when > using IPv6 via PPP? Probably. The good news is that once you've got it running the IPv6 support in FreeBSD is rock solid and works like a charm. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120608/46668ae0/signature.pgp From m.seaman at infracaninophile.co.uk Fri Jun 8 06:12:58 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Jun 8 06:13:06 2012 Subject: find date of last boot In-Reply-To: <4FD1360D.1060208@a1poweruser.com> References: <4FD1360D.1060208@a1poweruser.com> Message-ID: <4FD197E3.2080301@infracaninophile.co.uk> On 08/06/2012 00:15, Fbsd8 wrote: > dmesg command does not show date of last boot. > > Are there some other commands to find date of last boot? % last reboot will show the date of the last reboot if it is still in the current /var/log/utx.log Or at least it should: testing on my own system while writing this failed to show the date of my last reboot. Looks like you've stumbled across a bug. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120608/63b1250b/signature.pgp From m.seaman at infracaninophile.co.uk Fri Jun 8 06:19:37 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Jun 8 06:19:44 2012 Subject: find date of last boot In-Reply-To: <86ipf276g7.fsf@red.stonehenge.com> References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> <5E0240CD-6B6C-4221-A656-0006254132F9@mac.com> <86ipf276g7.fsf@red.stonehenge.com> Message-ID: <4FD19973.5040802@infracaninophile.co.uk> On 08/06/2012 05:50, Randal L. Schwartz wrote: > Sure, but the question was likely involving a stock system, so yes, your > mileage may vary, but let's consider a solution that works for a default > system. "last reboot" isn't it. It's not that. 'last reboot' seems to be broken at the moment, at least on stable/9: lucid-nonsense:~:% uname -a FreeBSD lucid-nonsense.infracaninophile.co.uk 9.0-STABLE FreeBSD 9.0-STABLE #15 r236465: Sat Jun 2 23:14:59 BST 2012 root@lucid-nonsense.infracaninophile.co.uk:/usr/obj/usr/src/sys/LUCID-NONSENSE amd64 I rebooted a few days ago: lucid-nonsense:~:% uptime 7:14AM up 3 days, 8:18, 1 user, load averages: 0.03, 0.01, 0.01 And the utx.log file was last rotated over a week ago: lucid-nonsense:~:% ls -la /var/log/utx* -rw-r--r-- 1 root wheel 394 Jun 7 17:51 /var/log/utx.lastlogin -rw-r--r-- 1 root wheel 16841 Jun 8 07:06 /var/log/utx.log -rw-r--r-- 1 root wheel 24878 May 31 22:41 /var/log/utx.log.0 -rw-r--r-- 1 root wheel 13741 Apr 30 08:50 /var/log/utx.log.1 -rw-r--r-- 1 root wheel 27886 Mar 31 22:52 /var/log/utx.log.2 but last(1) isn't coming up with the goods: lucid-nonsense:~:% last reboot wtmp begins Fri Jun 1 06:14:46 BST 2012 (nor does it work if I tell last to use the older utx.log files) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120608/31766e9a/signature.pgp From savage at savage.za.org Fri Jun 8 06:23:36 2012 From: savage at savage.za.org (Chris Knipe) Date: Fri Jun 8 06:23:43 2012 Subject: find date of last boot In-Reply-To: <4FD19973.5040802@infracaninophile.co.uk> References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> <5E0240CD-6B6C-4221-A656-0006254132F9@mac.com> <86ipf276g7.fsf@red.stonehenge.com> <4FD19973.5040802@infracaninophile.co.uk> Message-ID: > It's not that. ?'last reboot' seems to be broken at the moment, at least > on stable/9: > but last(1) isn't coming up with the goods: > > lucid-nonsense:~:% last reboot > > wtmp begins Fri Jun ?1 06:14:46 BST 2012 last reads from /var/log/wtmp - which more than likely got rotated since your last reboot. -- Regards, Chris Knipe From jb.1234abcd at gmail.com Fri Jun 8 06:26:40 2012 From: jb.1234abcd at gmail.com (jb) Date: Fri Jun 8 06:26:46 2012 Subject: OT - enjoy it Message-ID: Chinese advertising of soccer championship Euro 2012 http://avaxnews.com/wow/Chinese_Advertising_UEFA_Euro_2012.html From m.seaman at infracaninophile.co.uk Fri Jun 8 06:27:33 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Jun 8 06:27:41 2012 Subject: find date of last boot In-Reply-To: References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> <5E0240CD-6B6C-4221-A656-0006254132F9@mac.com> <86ipf276g7.fsf@red.stonehenge.com> <4FD19973.5040802@infracaninophile.co.uk> Message-ID: <4FD19B4D.8070508@infracaninophile.co.uk> On 08/06/2012 07:23, Chris Knipe wrote: >> It's not that. 'last reboot' seems to be broken at the moment, at least >> on stable/9: > >> but last(1) isn't coming up with the goods: >> >> lucid-nonsense:~:% last reboot >> >> wtmp begins Fri Jun 1 06:14:46 BST 2012 > > last reads from /var/log/wtmp - which more than likely got rotated > since your last reboot. No. Please read more carefully. last(1) used to use /var/log/wtmp, but not on 9.x or above, which uses /var/log/utx.log -- a different binary format, but basically the same idea as wtmp. And, no: as I showed, that file was not rotated since my last reboot. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120608/721bd6a0/signature-0001.pgp From c.kworr at gmail.com Fri Jun 8 07:44:45 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Fri Jun 8 07:45:01 2012 Subject: setting gcc46 as default compiler? In-Reply-To: <91C240AC-29C0-40A1-86C4-C41A48720CAF@forestinformatics.com> References: <91C240AC-29C0-40A1-86C4-C41A48720CAF@forestinformatics.com> Message-ID: Jeff Hamann ???????: > I've built and installed the gcc46 compiler(s) - need gfortran - and I can't seem to find the correct documentation on how to update /etc/make.conf for including the gfortran46. > > This is what mine currently looks like: > > $ cat make.conf > # added by use.perl 2012-06-07 03:03:21 > PERL_VERSION=5.10.1 > ..if !empty(.CURDIR:M/usr/ports/*)&& exists(/usr/local/bin/gcc46) > CC=gcc46 > CXX=g++46 > CPP=cpp46 > FC=gfortran46 > ..endif > > FFLAGS=-O2 -mtune=athlon64 > CC=gcc46 > CXX=g++46 > CPP=cpp46 > FC=gfortran46 > > $ > > Am I close? Help? When I want some port to use gcc46 I use USE_GCC=4.6+. This takes care of depending ports on gcc port. -- Sphinx of black quartz judge my vow. From mueller23 at insightbb.com Fri Jun 8 08:07:41 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Fri Jun 8 08:07:50 2012 Subject: Which FreeBSD for Intel i7-2600S and DQ67SWB3? Message-ID: Snippet from David Christensen : > http://lists.freebsd.org/pipermail/freebsd-questions/2012-March/239742.html > It looks like -STABLE are daily development/ test builds (?): > ftp://ftp.allbsd.org/pub/FreeBSD-snapshots/amd64-amd64/ > I'm looking for stability. I'll try the 9.0-RELEASE: > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/ I had a weird problem with 9.0-RELEASE: after updating a NetBSD source tree by "cvs up -dP", the system froze and I needed the Reset button. A couple days later, after better than 24 hours inactivity, I heard sounds of reboot and verified by looking. File system was not cleanly umounted and had to be fsck'ed, which was dome automatically on the reboot. Given my very new hardware, I figured to upgrade to STABLE, building from source. That worked, and the weird problem has not reappeared. I didn't even ask the list for help. I suppose I could also have tried RELENG_9_0, maybe a patch would have fixed the problem, but my very new hardware and new Xorg version in the works led me to go to STABLE. Daily development/test builds sound more like HEAD (=CURRENT) than STABLE. STABLE is more tested than HEAD. I think if I ever try FreeBSD-HEAD, I'd install to a separate partition and keep the STABLE installation intact. Tom From vas at mpeks.tomsk.su Fri Jun 8 10:05:45 2012 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Fri Jun 8 10:05:53 2012 Subject: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard In-Reply-To: <20120608052608.GB3251@admin.sibptus.tomsk.ru> References: <20120516042218.GA57757@admin.sibptus.tomsk.ru> <4FB473E7.6090307@ShaneWare.Biz> <20120517050114.GA93590@admin.sibptus.tomsk.ru> <4FB55364.2050208@ShaneWare.Biz> <20120602053805.GB42456@admin.sibptus.tomsk.ru> <20120608052608.GB3251@admin.sibptus.tomsk.ru> Message-ID: <20120608100542.GA8255@admin.sibptus.tomsk.ru> Victor Sudakov wrote: > > > > 2. It looses one of the HDDs during intensive read/write operations: > > > > Jun 2 00:55:33 vas kernel: ahcich1: Timeout on slot 4 port 0 > > Jun 2 00:55:33 vas kernel: ahcich1: is 00000000 cs 000000c0 ss 000000f0 rs 000000f0 tfd c0 serr 00000000 cmd 0000c617 > > Jun 2 00:56:48 vas kernel: ahcich1: Timeout on slot 0 port 0 > > Jun 2 00:56:48 vas kernel: ahcich1: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd c0 serr 00000000 cmd 0000c017 > > Jun 2 00:57:20 vas kernel: ahcich1: AHCI reset: device not ready after 31000ms (tfd = 00000080) > > > > I shall of course check the HDD and cable, but they worked flawlessly on > > the previous system. > > The cable is OK. I have tried different SATA slots on the motherbord too, > the HDD losses persist. How can a rule out a kernel driver bug in ahci > or ada, perhaps a PR is due? Well, there is already a very similar PR kern/161248 -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From m.seaman at infracaninophile.co.uk Fri Jun 8 11:08:36 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Jun 8 11:08:51 2012 Subject: find date of last boot In-Reply-To: <4FD19973.5040802@infracaninophile.co.uk> References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> <5E0240CD-6B6C-4221-A656-0006254132F9@mac.com> <86ipf276g7.fsf@red.stonehenge.com> <4FD19973.5040802@infracaninophile.co.uk> Message-ID: <4FD1DD24.4060908@infracaninophile.co.uk> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120608/985e171c/signature.pgp From jerry at seibercom.net Fri Jun 8 11:51:16 2012 From: jerry at seibercom.net (Jerry) Date: Fri Jun 8 11:51:23 2012 Subject: find date of last boot In-Reply-To: <4FD1DD24.4060908@infracaninophile.co.uk> References: <4FD1360D.1060208@a1poweruser.com> <4FD15461.6090109@makeworld.com> <86obou7fly.fsf@red.stonehenge.com> <5E0240CD-6B6C-4221-A656-0006254132F9@mac.com> <86ipf276g7.fsf@red.stonehenge.com> <4FD19973.5040802@infracaninophile.co.uk> <4FD1DD24.4060908@infracaninophile.co.uk> Message-ID: <20120608075052.6342c90a@scorpio> On Fri, 08 Jun 2012 12:08:20 +0100 Matthew Seaman articulated: >In passing, apparently it seems that creating a user with a username of >'reboot' is probably not recommended. That would seem like a good idea. Interestingly enough, I had a friend who had a password: "PassWord" that he used as a joke. On day he tried it on an internet site for a throw away account he was creating and the site rejected it claiming it was not a valid password. Perhaps FreeBSD could have some sort of validation in place to refuse to accept certain user-IDs such as "reboot". -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120608/84b58244/signature.pgp From no-reply at priceangels.com Fri Jun 8 15:04:24 2012 From: no-reply at priceangels.com (PriceAngels) Date: Fri Jun 8 15:04:34 2012 Subject: Dear Customer:Andriod Tablet PC Start From $55 Message-ID: <0.0.A3.3.1CD458393314770.0@pmta41037.emsmtp.com> If this e-mail is not d [1]http://emaillink2.priceangels.com/u/ gm.php?prm=3mkxZ04mg2_143435532_225003_2792 [2] 3D"PriceAngels.com" [3] Home < [5] Best Sellers < href="http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_279 2_2 Offers [6] $0 [8][socialn=] [9] [=] < [10]3D"Android 3D"Free < New &a 10% OFF 10% OFF 12% [12]3D"Free [13] 3D"Free [14] [16] LED Sport Watch w Digi iPhone 4S [19] R $6.16 $5.54 < align="center">[DEL: $9.35 :DEL] $8.41 [DEL: $10.08 :DEL] $8.87 [DEL: $7.87 :DEL] $7.08 12% OFF 8% OFF 1 [20] 3D"Free [21] 3D"Free [22] 3D"Free [23] 3D"Free [24] LED Fl [25] 10-inch Anti Shock Handbag for Laptop Notebook < width="163" valign="top" align="center"> Wireless Optical Mouse with Battery [26] Solar Energy Saving Lamp Camping La Light [DEL: $2.47 :DEL] $2.17 [DEL: $25.29 :DEL] $23.27 $10.49 :DEL] $9.44 [DEL: $7.89 :DEL] $6.94 12% OFF 11% OF [30] Waterproof Bike Wheel 2-Mode LED style="font: 11px/18px Verdana; padding: 5px 8px; text-decoration: none href="http://emaillink2.priceangels.com/u/nrd.php ?p=3mkxZ04mg2_2792_225003_1_32" target="_blank"> Android 4.0 Tablet PC [31] Android 2.3 8GB Tablet PC [32] Nintendo Wii Console < rgb(153, 153, 15 [DEL: $356.27 :DEL] $317.08 [DEL: $132.79$119.51 :DEL] [DEL: $117.63 :DEL] $105.87 10% OFF 12% OFF 12% OFF 12% OF [33] 3D"Free 3D"Free [34] 3D"Free [35] ="Free [36] Aputure CR3 US Charger/Earphone/Car Charger/Data Cable for Apple iPhone 4G 3G 3GS [38] Multifunctional Cycling Bike [39] USB Powered Coo [DEL: $8.54 :DEL] $7.69 [DEL: $6.91 :DEL] $6.08 $14.24 :DEL] $12.53 [DEL: [DEL: $3.92 :DEL] $3.45 :DEL] 10% OFF 10% OFF 15% OFF 12% OFF [40]="Free [41] 3D"Free < height="150" align="center"> 3D"Free [42] 3D"Free [43] Sun Visor UV Protection Riding Leg Pad [44] Solar Powered Electronic Calculator Passport Holder Case [46]Soda Push Style Dispenser with Mi Tap [DEL: $12.07 :DEL] $10.86 [DEL: $3.71 :DEL] $3.34 [DEL: [DEL: [DEL: $6.29 :DEL] $5.54 :DEL] :DEL] < [48]3D"facebook" [49]Facebo [52]3D"youtube" [53]youtub Note:Pl please [54]contact us Price Angels CO | Limited Flatr Mong Kok Road ,Mong Kok, Kl Tel:+86 755 86382312. [55]Privacy Notice If you want to unsubscribe from our mailing link: [56]http://emaillink2.priceangels.com/u/un.php?par=3mkx Z04mg2_225003_2792_$sid$ [ema=] References 1. 3D"http://emaillink2=/ 2. 3D"http://emaillink2.price=/ 3. 3D"http://em=/ 4. 3D"http://emaillink2.priceangels.com=/ 5. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3 6. 3D"http: 7. file://localhost/tmp/3D"http 8. 3D"http://b.ems.to/fw/t/WIEv:rgt:Sy5*k" 9. file://localhost/tmp/3D 10. 3D"http://emaillink2.priceangel=/ 11. 3D"http://emaillink2.p=/ 12. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_2 13. 3D"http:/ 14. 3D"http://emaillink2.price=/ 15. 3D"http://emaillink2.priceangels.com/u/nrd. 16. 3D"http://emaillink2.priceangels.com/u/nr 17. 3D"http://emaillink2.priceangels.c=/ 18. 3D"http://emaillink2.pric=/ 19. 3D"http://emaillink2.pricea=/ 20. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ0 21. ="http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_2792_225003_ 22. 3D"http://emaill=/ 23. 3D"http://emaillink2.priceangels.=/ 24. 3D"http://emaillink2.priceange=/ 25. 3D"http://e=/ 26. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2 27. 3D"http://ema=/ 28. 3D"http://emaillink2.priceangel=/ 29. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkx 30. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ0 31. 3D"http://email=/ 32. 3D"http://emaill=/ 33. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3 34. 3D"http://emaillin=/ 35. 3D"http://emaillink2.priceangels.com/ 36. 3D"http://emaillink2.priceangels.co=/ 37. 3D"http://emaillink2.p=/ 38. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3m 39. 3D"http://emaillink2.priceangels.com/u/nr 40. 3D"http://emaillink2.priceangels.c=/ 41. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkx 42. 3D"http://emai=/ 43. 3D"http://em=/ 44. ="http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_2792_225003_ 45. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_2792_ 46. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ0 47. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg 48. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg2_2792_225 49. file://localhost/tmp/3D" 50. 3D"http://emaillink2.priceangels.com/ 51. 3D"http://emaillink2.p=/ 52. 3D"http://emaillink2.priceangels.com/u 53. 3D"http://emaillink2.priceangels.com/u/nrd.ph 54. 3D"http://emaillink2.priceangels.com/u/nrd.php?p=3mkxZ04mg 55. 3D"http://emaillink2.priceang=/ 56. 3D"http://emaillink2.priceangels.=/ From vmiller at hostileadmin.com Fri Jun 8 15:07:31 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 8 15:07:38 2012 Subject: How do I determine support for $xx? Message-ID: Hi All, If this question is better suited for a different list please let me know. Simply stated, my question is 'What is the best source for identifying supported hardware?'. Having said that, allow me to pose an example... I've attempted to identify if various ethernet controllers are supported by FreeBSD and the drivers. I used the hardware notes and manpages for the respective ethernet drivers. The information between the two sometimes seems inconsistent and/or inaccurate. For example, the BCM5719 and BCM5720 are unsupported in FreeBSD at this time. The hardware notes at freebsd.org do not specify these controllers are supported. Inspection of the bge(4) manpage implies that the controllers are supported as seen in the description section where it states: "The bge driver provides support for various NICs based on the Broadcom BCM570x, 571x, 572x, 575x, 576x, 578x, 5776x and 5778x Gigabit Ethernet controller chips and the 590x and 5779x Fast Ethernet controller chips." I browsed the source and found many references to the BCM5719 and BCM5720. However, I am unfamiliar enough with driver programming in C to identify if a controller is fully supported. Also, I attempted to identify whether the Intel i350 is supported. It's not listed in the hardware notes or the igb(4) manpage so I suspect it is not supported. When I view the igb source, the i350 is referenced numerous times. Are these references simply code in preparation for support of the i350? -- Take care Rick Miller From walterhurry at gmail.com Fri Jun 8 15:39:45 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Fri Jun 8 15:39:56 2012 Subject: FreeBSD: SOLVED: FreeBSD9 - I can't get my mouse to work (was : FreeBSD9 - I can't get my mouse to work) References: <20120607145901.3022770d@scorpio> Message-ID: On Thu, 07 Jun 2012 14:59:01 -0400, Jerry wrote: > Ubuntu, > Debian, and Fedora, and projects such as KDE, GNOME and X.org are in the > process of deprecating HAL as it has "become a large monolithic > unmaintainable mess". Well, I finally got it working. I'm far from an expert in this area, but what I think was happening was that the touchpad was grabbing /dev/psm0, and then X.org tried to allocate the same port for the USB mouse, which of course failed (even though I had specified a Device of /dev/ums0, and set AutoAddDevices to Off so as to take hald out of the picture). The solution for me was to run moused *on port /dev/ums0* and then specify the device as /dev/sysmouse in xorg.conf. However, that leads me to another question: my amateurish way to get moused to run on /dev/ums0 was to hack /etc/rc.d/moused and hard code it. I don't think that's very good, and I suspect that the "right" way to do it was to set some variable in /etc/rc.conf. Can anyone guide me on how that should be done, or point me to a fine manual? Thamks to all for the responses. From lists at avioc.org Fri Jun 8 15:47:42 2012 From: lists at avioc.org (Brandon Weisz) Date: Fri Jun 8 15:48:10 2012 Subject: Configuration problem with IPv6 router ("cannot forward src") In-Reply-To: <4FD12CFF.6020205@cran.org.uk> References: <4FD12CFF.6020205@cran.org.uk> Message-ID: <4FD21CB4.1030002@avioc.org> Make sure you are only advertising a /64 addr prefixlen in rtadvd.conf, and not the entire /48. On 6/7/2012 4:36 PM, Bruce Cran wrote: > I'm trying to set up a IPv6 router (running -current) on my home > network. My ISP gives me a /128 via PPP and I have a /48 allocation, > which I use to give em0 and tun0 public addresses in different subnets > (tun0 is assigned the address via ppp.linkup). > I've added all the IPv6 settings to rc.conf (ipv6_gateway_enable, > ipv6_network_interfaces, rtadvd_enable etc.) and I can ping IPv6 sites > from the router. > > The problem is that rtadvd continues advertising the default gateway > as tun0's link-local address - and pinging from a machine on the > network results in "cannot forward src" messages on the router > (strangely, despite hisaddr being fe80::205:... in ppp.log, the kernel > logs the address as fe80:f::205:...). > > Is there some extra configuration I've likely missed that's needed > when using IPv6 via PPP? > From walterhurry at gmail.com Fri Jun 8 15:51:38 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Fri Jun 8 15:51:47 2012 Subject: FreeBSD: SOLVED: FreeBSD9 - I can't get my mouse to work (was : FreeBSD9 - I can't get my mouse to work) References: <20120607145901.3022770d@scorpio> Message-ID: On Fri, 08 Jun 2012 15:39:22 +0000, Walter Hurry wrote: > On Thu, 07 Jun 2012 14:59:01 -0400, Jerry wrote: > >> Ubuntu, >> Debian, and Fedora, and projects such as KDE, GNOME and X.org are in >> the process of deprecating HAL as it has "become a large monolithic >> unmaintainable mess". > > Well, I finally got it working. I'm far from an expert in this area, but > what I think was happening was that the touchpad was grabbing /dev/psm0, > and then X.org tried to allocate the same port for the USB mouse, which > of course failed (even though I had specified a Device of /dev/ums0, and > set AutoAddDevices to Off so as to take hald out of the picture). > > The solution for me was to run moused *on port /dev/ums0* and then > specify the device as /dev/sysmouse in xorg.conf. > > However, that leads me to another question: my amateurish way to get > moused to run on /dev/ums0 was to hack /etc/rc.d/moused and hard code > it. > I don't think that's very good, and I suspect that the "right" way to do > it was to set some variable in /etc/rc.conf. > > Can anyone guide me on how that should be done, or point me to a fine > manual? > > Thamks to all for the responses. > Never mind: Stupid moi. The answer was staring me in the face in man rc.conf. moused_port. From bruce at cran.org.uk Fri Jun 8 16:02:24 2012 From: bruce at cran.org.uk (Bruce Cran) Date: Fri Jun 8 16:02:31 2012 Subject: Configuration problem with IPv6 router ("cannot forward src") In-Reply-To: <201206072256.q57MuWXC058337@mail.r-bonomi.com> References: <201206072256.q57MuWXC058337@mail.r-bonomi.com> Message-ID: <4FD221D5.8060306@cran.org.uk> On 07/06/2012 23:56, Robert Bonomi wrote: > Please provide the output from these two commands: > ifconfig -a > netstat -nr > on both the router and on an 'inside' machine. (identifying which is which:) > > There is also a question of 'where' the /48 comes from -- and how > traffic to those addresses is being routed from the outside world. The /48 came from my ISP, so it should be getting routed correctly. ifconfig -a (with ral0/lo0 removed): em0: flags=8843 metric 0 mtu 1500 options=4219b ether [em0_MAC] inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 inet6 fe80::[em0_MAC]%em0 prefixlen 64 scopeid 0x1 inet6 [prefix]:a::b prefixlen 64 nd6 options=21 media: Ethernet autoselect (1000baseT ) status: active em1: flags=8843 metric 0 mtu 1500 options=4219b ether [em1_MAC] inet6 fe80::[em1_MAC]%em1 prefixlen 64 scopeid 0x2 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active tun0: flags=8051 metric 0 mtu 1492 options=80000 inet6 fe80::[em0_MAC]%tun0 prefixlen 64 scopeid 0xf inet [MYADDR] --> [HISADDR] netmask 0xffffff00 inet6 [prefix]:c::b prefixlen 64 nd6 options=21 Opened by PID 1092 Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default [HISADDR] UGS 0 2476 tun0 [MYADDR] link#15 UHS 0 0 lo0 [HISADDR] link#15 UH 0 0 tun0 127.0.0.1 link#14 UH 0 0 lo0 192.168.2.0/24 link#1 U 0 3985 em0 192.168.2.1 link#1 UHS 0 0 lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 => default fe80::[em0_MAC]%tun0 UGS tun0 ::1 link#14 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 [prefix]:c::/64 link#15 U tun0 [prefix]:c::1 link#15 UHS lo0 [prefix]:a::/64 link#1 U em0 [prefix]:a::1 link#1 UHS lo0 fe80::/10 ::1 UGRS lo0 fe80::%em0/64 link#1 U em0 fe80::[em0_MAC]%em0 link#1 UHS lo0 fe80::%em1/64 link#2 U em1 fe80::[em1_MAC]%em1 link#2 UHS lo0 fe80::%lo0/64 link#14 U lo0 fe80::1%lo0 link#14 UHS lo0 fe80::%tun0/64 link#15 US tun0 fe80::[em0_MAC]%tun0 link#15 UHS lo0 ff01::%em0/32 fe80::[em0_MAC]%em0 U em0 ff01::%em1/32 fe80::[em1_MAC]%em1 U em1 ff01::%lo0/32 ::1 U lo0 ff01::%tun0/32 fe80::[em0_MAC]%tun0 US tun0 ff02::/16 ::1 UGRS lo0 ff02::%em0/32 fe80::[em0_MAC]%em0 U em0 ff02::%em1/32 fe80::[em1_MAC]%em1 U em1 ff02::%lo0/32 ::1 U lo0 ff02::%tun0/32 fe80::[em0_MAC]%tun0 UGS tun0 rtadvd.conf contains: em0:\ :addrs#1:addr="[prefix]:a::":prefixlen#64;tc=ether:raflags="o": rc.conf contains: ifconfig_em0=" inet 192.168.2.1 netmask 255.255.255.0" ifconfig_em0_ipv6=" inet6 [prefix]:a::b" ifconfig_em1="up" pf_enable="YES" gateway_enable="YES" ppp_enable="YES" ppp_nat="NO" ppp_goscomb_mode="ddial" ppp_goscomb_nat="NO" ppp_profile="isp" ipv6_gateway_enable="YES" ipv6_network_interfaces="em0 em1 tun0" dhcpd_enable="YES" dhcpd6_enable="NO" dhcpd_flags="-q" dhcpd6_flags="-q" dhcpd_conf="/usr/local/etc/dhcpd.conf" dhcpd6_conf="/usr/local/etc/dhcpd6.conf" dhcpd_ifaces="em0" dhcpd6_ifaces="em0" dhcpd_withumask="022" dhcpd6_withumask="022" dhcpd_chuser_enable="YES" dhcpd6_chuser_enable="YES" dhcpd_withuser="dhcpd" dhcpd6_withuser="dhcpd" dhcpd_withgroup="dhcpd" dhcpd6_withgroup="dhcpd" dhcpd_chroot_enable="YES" dhcpd6_chroot_enable="YES" dhcpd_devfs_enable="YES" dhcpd6_devfs_enable="YES" dhcpd_rootdir="/var/db/dhcpd" dhcpd6_rootdir="/var/db/dhcpd6" rtadvd_enable="NO" rtadvd_interfaces="em0" I've tried configuring a machine with a static configuration, bypassing any issues with rtadvd/dhcpd6 so I'm fairly sure the problem is on the router. -- Bruce Cran From jhs at berklix.com Fri Jun 8 16:11:49 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Fri Jun 8 16:12:05 2012 Subject: UEFI Secure Boot Specs - And some sanity In-Reply-To: Your message "Wed, 06 Jun 2012 16:13:45 EDT." Message-ID: <201206081611.q58GBW0J097808@fire.js.berklix.net> grarpamp wrote: > Isn't there a lot of needless handwaving going on when the spec is > pretty clear that installing your own complete PKI tree will all > boil down to what is effectively a jumper on the motherboard? The hope for a jumper is insufficient. Cracking open laptops is no fun. It's not often that they unscrew easily; usually considerable fear of breaking innards or chassis. Hoping a jumper Might be under an easily unscrewable panel seems unlikely. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From matthew at FreeBSD.org Fri Jun 8 16:27:40 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Fri Jun 8 16:27:49 2012 Subject: How do I determine support for $xx? In-Reply-To: References: Message-ID: <4FD227F1.40607@FreeBSD.org> On 08/06/2012 16:07, Rick Miller wrote: > If this question is better suited for a different list please let me > know. Simply stated, my question is 'What is the best source for > identifying supported hardware?'. Having said that, allow me to pose > an example... > > I've attempted to identify if various ethernet controllers are > supported by FreeBSD and the drivers. I used the hardware notes and > manpages for the respective ethernet drivers. The information between > the two sometimes seems inconsistent and/or inaccurate. For example, > the BCM5719 and BCM5720 are unsupported in FreeBSD at this time. The > hardware notes at freebsd.org do not specify these controllers are > supported. Inspection of the bge(4) manpage implies that the > controllers are supported as seen in the description section where it > states: > > "The bge driver provides support for various NICs based on the > Broadcom BCM570x, 571x, 572x, 575x, 576x, 578x, 5776x and 5778x > Gigabit Ethernet controller chips and the 590x and 5779x Fast Ethernet > controller chips." The Hardware notes do not contain definitive lists of all of the hardware that is supported. Support for NICs generally goes by what chipset is used in the NIC, but may be confounded by some manufacturers using unusual firmware. If a particular device is listed in a man page, that indicates that device has been tested and is known to work. If the source code makes reference to a specific device, then generally that device will work too: part working or in-progress code is not generally committed to the FreeBSD sources. If a devices' chipset is listed in a man page, but there's no reference to a specific device, then the device stands a good chance of working. If such a device doesn't work, then frequently it can be fixed quite easily by specifying appropriate device quirks. > I browsed the source and found many references to the BCM5719 and > BCM5720. However, I am unfamiliar enough with driver programming in C > to identify if a controller is fully supported. > > Also, I attempted to identify whether the Intel i350 is supported. > It's not listed in the hardware notes or the igb(4) manpage so I > suspect it is not supported. When I view the igb source, the i350 is > referenced numerous times. Are these references simply code in > preparation for support of the i350? As I said above, this would be unusual. The development process in FreeBSD nowadays is to work on projects (eg. the addition of a driver for a new piece of hardware) off-line and only commit the code to the mainline sources once it is basically complete and ready for exposure to a wider audience for testing. Ultimately the best way to tell if any particular device is supported is to try it. There are plenty of USB-stick images of FreeBSD or PC-BSD readily downloadable so you can test boot up a candidate machine without committing to install the OS on it. While most manufacturers won't "support" FreeBSD per-se, if you can find the right sort of techy person to talk to, they'll often tip you off about whether FreeBSD is known to work or not. Hardware from big-name suppliers (Dell, HP and the like for complete systems; Intel, Broadcomm for NICs) is a priority for support although it may take a few months for the code to become generally available for the newest bits of kit. In fact, so long as the components you want to use have been on the market for around 6 months (very approximately) and they are aimed at use in server hardware rather than personal or casual use, the chances are good that they will just work in FreeBSD. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120608/0ae7ae10/signature.pgp From devin.teske at fisglobal.com Fri Jun 8 16:45:44 2012 From: devin.teske at fisglobal.com (Devin Teske) Date: Fri Jun 8 16:45:52 2012 Subject: How do I determine support for $xx? In-Reply-To: References: Message-ID: <7BDA2790-A852-4BA1-B6D3-BCA3C465A341@fisglobal.com> Hi Rick (!), On Jun 8, 2012, at 8:07 AM, Rick Miller wrote: > Hi All, > > If this question is better suited for a different list please let me > know. Simply stated, my question is 'What is the best source for > identifying supported hardware?'. The source! Actually, pciconf and "grep unknown /var/run/dmesg.boot" and using pcidatabase.com are all good starts (for me at least). When I'm integrating new/old hardware there isn't "one path" that I take. It really depends on what the situation is. (and so to give you the best advice, I read-on) > Having said that, allow me to pose > an example... > > I've attempted to identify if various ethernet controllers are > supported by FreeBSD and the drivers. I used the hardware notes and > manpages for the respective ethernet drivers. The information between > the two sometimes seems inconsistent and/or inaccurate. For example, > the BCM5719 and BCM5720 are unsupported in FreeBSD at this time. That *was* true, but it's integrated quite well now with 8.3-R. We have a few NEC workstations eval's fresh for testing that are using that hardware. > The > hardware notes at freebsd.org do not specify these controllers are > supported. Inspection of the bge(4) manpage implies that the > controllers are supported as seen in the description section where it > states: > > "The bge driver provides support for various NICs based on the > Broadcom BCM570x, 571x, 572x, 575x, 576x, 578x, 5776x and 5778x > Gigabit Ethernet controller chips and the 590x and 5779x Fast Ethernet > controller chips." > > I browsed the source and found many references to the BCM5719 and > BCM5720. However, I am unfamiliar enough with driver programming in C > to identify if a controller is fully supported. > You really need to know the 4-digit hexadecimal Vendor ID and Model ID of the chipset to KNOW that a source module will probe/attach to a given hardware by-spec. Probing/attaching is mostly done by registry arrays defining these hex values as what to attach to during probe. Of course, booting the OS is the best way. If your HW device is not picked up by any module (built-in or otherwise), then you'll get a line like the following in /var/run/dmesg.boot: pci0: (vendor=0x1106, dev=0x3057) at 4.4 There's those hex values. If you take the device value and enter it into pcidatabase.com you'll get: http://pcidatabase.com/search.php?device_search_str=0x3057&device_search=Search Which comes up as: "ACPI Power Management Controller" by "VIA Technologies, Inc" That's the unknown device. But, let's focus on BCM5720? If you were running, say, 8.0-R, even if you have the bge(4) driver loaded, you would see this in /var/run/dmesg.boot: pciN: (vendor=0x1106, dev=0x165f) at X.Y NOTE: Insert random numbers for "N", and "X.Y" How you know that 8.3-R's bge(4) driver supports the BCM5720 is because this source file: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bgereg.h?annotate=1.83.2.35.2.1 NOTE: I specifically pointed you at CVS instead of SVN so that you can see the version tagged for 8.3-R Specifically, this line: 2309: #define BCOM_DEVICEID_BCM5720 0x165F > Also, I attempted to identify whether the Intel i350 is supported. > It's not listed in the hardware notes or the igb(4) manpage so I > suspect it is not supported. Boot up and see if it shows up as an unknown device. HINT: 0x8086 is often Intel's Vendor ID It's easier to start that route and get the vendor/device hex so you can recursively grep src/sys/dev for those hex values (make sure to do it case insensitively). Investigating each match (especially if it ends in "_reg.h" or "_reg.c" or "hw.c" etc.) should show you (in code) which modules may (or may not) support a given unknown hardware (either in your current branch or another). If you're commonly dealing with new hardware on an often-enough basis, then it's advisable to have a copy of HEAD checked out for keeping src/sys/dev up to date for recursive grepping to find out if hardware is supported (in the previously described manner). > When I view the igb source, the i350 is > referenced numerous times. Are these references simply code in > preparation for support of the i350? > Maybe. If you have HW specs for the board you're trying to integrate, check for the vendor/device id's and see if they match the references that you're finding in code. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From devin.teske at fisglobal.com Fri Jun 8 17:06:25 2012 From: devin.teske at fisglobal.com (Devin Teske) Date: Fri Jun 8 17:06:32 2012 Subject: How do I determine support for $xx? In-Reply-To: <7BDA2790-A852-4BA1-B6D3-BCA3C465A341@fisglobal.com> References: <7BDA2790-A852-4BA1-B6D3-BCA3C465A341@fisglobal.com> Message-ID: <1FCB8643-87F8-4B89-A5DC-1082B20F8682@fisglobal.com> On Jun 8, 2012, at 9:45 AM, Devin Teske wrote: > Hi Rick (!), > > On Jun 8, 2012, at 8:07 AM, Rick Miller wrote: > [snip] >> >> I browsed the source and found many references to the BCM5719 and >> BCM5720. However, I am unfamiliar enough with driver programming in C >> to identify if a controller is fully supported. >> > [snip] > If you were running, say, 8.0-R, even if you have the bge(4) driver loaded, you would see this in /var/run/dmesg.boot: > > pciN: (vendor=0x1106, dev=0x165f) at X.Y > Correction, (specific to BCM5720) you'd see: pciN: (vendor=0x14e4, dev=0x165f) at X.Y Which, btw, you can confirm to yourself by executing the following within 8.3-R (with attached bge(4)): $ pciconf -lv | awk '/^bge/{print $1,$4}' bge0@pciN:A:B:C: chip=0x165f14e4 Otherwise, you can see an unknown (non-working bge(4)) Broadcom BCM5720 hardware by executing (on 8.0-R for example): $ grep unk /var/run/dmesg.boot | grep 0x14e4 pciN: (vendor=0x14e4, dev=0x165f) at X.Y NOTE: On a system where all hardware is probed/attached, "grep unk /var/run/dmesg.boot" should not produce any results. In this case, pciconf is your tool for probing vendor/device IDs. > NOTE: Insert random numbers for "N", and "X.Y" > > How you know that 8.3-R's bge(4) driver supports the BCM5720 is because this source file: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bgereg.h?annotate=1.83.2.35.2.1 > > NOTE: I specifically pointed you at CVS instead of SVN so that you can see the version tagged for 8.3-R > > Specifically, this line: > > 2309: #define BCOM_DEVICEID_BCM5720 0x165F [snip] -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From vmiller at hostileadmin.com Fri Jun 8 17:45:46 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 8 17:45:53 2012 Subject: How do I determine support for $xx? In-Reply-To: <1FCB8643-87F8-4B89-A5DC-1082B20F8682@fisglobal.com> References: <7BDA2790-A852-4BA1-B6D3-BCA3C465A341@fisglobal.com> <1FCB8643-87F8-4B89-A5DC-1082B20F8682@fisglobal.com> Message-ID: Matthew/Devin, Thanks for the feedback. After I sent this email, I determined that the Intel i350 is indeed supported as a machine I built with FreeBSD was utilizing this NIC. I've tried the BCM5719 with stable/8 (5/21/2012) and it kernel panics when the interface is configured. I was told by a source contributor that the BCM5720 does not work (confirmed as recently as within the last week), but I've not tested it. I'm just passing this on as information...I don't expect any feedback with regards to this. On Fri, Jun 8, 2012 at 1:06 PM, Devin Teske wrote: > > On Jun 8, 2012, at 9:45 AM, Devin Teske wrote: > >> Hi Rick (!), >> >> On Jun 8, 2012, at 8:07 AM, Rick Miller wrote: >> > > [snip] > >>> >>> I browsed the source and found many references to the BCM5719 and >>> BCM5720. ?However, I am unfamiliar enough with driver programming in C >>> to identify if a controller is fully supported. >>> >> > > [snip] > >> If you were running, say, 8.0-R, even if you have the bge(4) driver loaded, you would see this in /var/run/dmesg.boot: >> >> ? ? ? pciN: (vendor=0x1106, dev=0x165f) at X.Y >> > > Correction, (specific to BCM5720) you'd see: > > ? ? ? ?pciN: (vendor=0x14e4, dev=0x165f) at X.Y > > Which, btw, you can confirm to yourself by executing the following within 8.3-R (with attached bge(4)): > > $ pciconf -lv | awk '/^bge/{print $1,$4}' > bge0@pciN:A:B:C: chip=0x165f14e4 > > Otherwise, you can see an unknown (non-working bge(4)) Broadcom BCM5720 hardware by executing (on 8.0-R for example): > > $ grep unk /var/run/dmesg.boot | grep 0x14e4 > pciN: (vendor=0x14e4, dev=0x165f) at X.Y > > NOTE: On a system where all hardware is probed/attached, "grep unk /var/run/dmesg.boot" should not produce any results. In this case, pciconf is your tool for probing vendor/device IDs. > > >> NOTE: Insert random numbers for "N", and "X.Y" >> >> How you know that 8.3-R's bge(4) driver supports the BCM5720 is because this source file: >> >> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bgereg.h?annotate=1.83.2.35.2.1 >> >> NOTE: I specifically pointed you at CVS instead of SVN so that you can see the version tagged for 8.3-R >> >> Specifically, this line: >> >> ? ? ? 2309: #define ? ? ? ?BCOM_DEVICEID_BCM5720 ? ? ? ? ? 0x165F > > [snip] > > -- > Devin > > _____________ > The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. -- Take care Rick Miller From jhs at berklix.com Fri Jun 8 18:17:12 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Fri Jun 8 18:17:21 2012 Subject: How do I determine support for $xx? In-Reply-To: Your message "Fri, 08 Jun 2012 10:06:14 PDT." <1FCB8643-87F8-4B89-A5DC-1082B20F8682@fisglobal.com> Message-ID: <201206081817.q58IH6YJ025392@fire.js.berklix.net> Hi Devin There were some great tips in your last post. Would be great if they couldfo in FreeBSD handbook somewhere. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From jim at nasby.net Fri Jun 8 18:53:47 2012 From: jim at nasby.net (Jim Nasby) Date: Fri Jun 8 18:53:55 2012 Subject: cvsup of RELENG_8_1 Message-ID: <4FD248ED.702@nasby.net> I keep getting this error when trying to update source on 8.1: TreeList failed: Error in "/var/db/sup/src-all/checkouts.cvs:RELENG_8_1": 13890: Could not parse status record. Delete it and try again. I realize that 8.1 isn't formally supported anymore, but should cvsup still work? I can't upgrade right now because of the conflict between GPT and gmirror what was introduced in 8.2. -- Jim C. Nasby, Database Architect jim@nasby.net 512.569.9461 (cell) http://jim.nasby.net From bah at bananmonarki.se Fri Jun 8 19:00:28 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Fri Jun 8 19:00:35 2012 Subject: FreeBSD: SOLVED: FreeBSD9 - I can't get my mouse to work (was : FreeBSD9 - I can't get my mouse to work) In-Reply-To: References: <20120607145901.3022770d@scorpio> Message-ID: <4FD24B69.6050001@bananmonarki.se> 2012-06-08 17:51, Walter Hurry skrev: > On Fri, 08 Jun 2012 15:39:22 +0000, Walter Hurry wrote: > Never mind: Stupid moi. The answer was staring me in the face in man > rc.conf. moused_port. > You also have moused_flags="Put your flags here" That does not help, not me anyway. From freebsd-questions-local at be-well.ilk.org Fri Jun 8 20:31:04 2012 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri Jun 8 20:31:12 2012 Subject: how to filter network by MAC and IP at the same time In-Reply-To: (Bill Yuan's message of "Fri, 8 Jun 2012 07:22:34 +0800") References: Message-ID: <44y5nxy29s.fsf@be-well.ilk.org> Bill Yuan writes: > i am using freebsd 9.0 as a firewall and i want to filter the traffic by > the mac and the ip at the same time, > > for example, i only allow my laptop can go throught the > firewalll when it's using IP > > for how to config the firewall rules? > > > I tried to configure the firewall by the rule below , but it doesnt work > > ipfw add 1 allow all from to any MAC any > ipfw add 1 allow all from any to MAC any Well, for one thing if I understand your intent, you have the MAC addresses in the wrong order. Unless your firewall is acting as a bridge, you also need to keep in mind that the MAC addresses are changed when passing through, so those rules will only work on one side (i.e., you'll need "in via" type rules). > but it doesnt work. also found the explanation on google, someone already > asked this question before. I don't understand. Was there a suggested approach or not? > but I did not find the solution for this requirement. can someone tell me > how ? thanks in advance. I can't guarantee this will work, and I don't have any way to test it, but my above comments would suggest something more like: > ipfw add 1 allow all from to any MAC any ipfw add 1 allow all from any to MAC any out via $oif Good luck. From Albert.Shih at obspm.fr Fri Jun 8 21:09:21 2012 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri Jun 8 21:09:29 2012 Subject: Performance and mouse problems In-Reply-To: <4F9C75F9.9070907@dichotomia.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> Message-ID: <20120608210911.GA11210@pcjas.obspm.fr> Le 29/04/2012 ? 00:58:01+0200, Jerome Herman a ?crit > >>> > >>> I've got two very strange problem > >>> > >>> I'm running 9-stable on a Dell Laptop E4200. > >>> > >>> Since this morning when I put a USB mouse (I've try three mouses to be > >>> sure) it's not working. The kernel and HAL see the mouse but Xorg don't > >>> seem do anything. > >>> > >>> The second point is the load of the system is alway more than 1 (~1.5-2) > >>> event I do nothing. I kill all services, daemon, software and the load > >>> never drop. > >>> > >>> I've stop : > >>> > >>> hald > >>> dbus > >>> powerd > >>> etc... > >>> > >>> and ps don't show any process eating some ressource. But the load is high > >>> (and the laptop is very hot). > >>> > >>> I make a csup of world and build new userland, and news kernel. And nothing > >>> change.... > >>> > >> http://www.wonkity.com/~wblock/docs/html/aei.html > > Well I don't see why this can be from a misconfiguration, the usb mouse > > work well before I update hald and world. > > > > But I read you link and I don't have those option in my configuration of > > xorg. > > > > Any other idea ? > > > > But thanks. > > > > For the problem about performance I submit this problem on stable mailing > > list. > > > > Regards > > > > JAS > > > > I was afraid this would happen. And I fear it is just the begining. > I assume you did not create any custom hald rule. Did you ? > > The first thing to do is to add > > Option "AutoAddDevices" "Off" > > In your ServerLayout section of xorg.conf. > Then restart X and try to plug a mouse again. It may result in your mouse not working in X, but at least it should stop your computer from using all it's CPU trying to map the mouse. > > > If indeed the CPU load does not reach skyhigh levels when you plug a USB > mouse, we will be able to conclude that there is a DBus/hald problem. > After some time, and read new messages ont this mailing list, I find a solution. Deactivate hald deactivate dbus Option "AutoAddDevices" "Off" put moused_enable="On" in /etc/rc.conf .... and.... reboot and everything work fine again. I don't known why by using /usr/local/etc/rc.d/hald stop /usr/local/etc/rc.d/dbus stop /etc/rc.d/moused start it's not working.... Thank all those help. Regards. -- Albert SHIH DIO b?timent 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@jabber.obspm.fr Heure local/Local time: ven 8 jui 2012 23:06:01 CEST From rfg at tristatelogic.com Fri Jun 8 21:44:17 2012 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Fri Jun 8 21:44:27 2012 Subject: Making a bootable backup (hard)disk... how? Message-ID: <2903.1339191855@tristatelogic.com> I've been lucky. Over about the past 20 years I've never had a hard disk go bad on me. (Knock on wood.) Of course I _do_ only buy the better quality ones (with the 5 year warranties), and I'm sure that has helped. Still, one never knows, and it is best to be prepared. Primarily however, I am mostly afraid of the fumble-finger scenario... you know... cd /; rm -fr * I read a little bit about UFS filesystem snashots, and they could probably help me deal effectively with fumble-finger incidents, but I still think that I would prefer to have a whole separate physical disk as my backup. (I mean what the hell? They are so cheap these days anyway.) I got a lot of disks here, so that part is not a problem. I just need to make sure that I'm gonna do this the Right Way[tm]. (I've already been making my own ham-fisted disk-to-disk backups in the past, but I'm sure that the way I have been doing that is sub-optimal, so I'm here seeking knowledge of how to do this the Right Way.) The bottom line is this... I know how to use cpio, and would like to use it to create a complete and _bootable_ backup of my main system disk. (My main system disk has only one BIOS partition, and that is sub-divided into the usual set of FreeBSD partitions, you know, /, /dev, /tmp, /usr, /var, /usr/compat/linux/proc, and /var/named/dev.) I'm not a complete dummy, so I can can easily figure out how to use cpio to make copies of all of the things in these filesystems to another physical drive, however, there are a couple of issues that I really don't know how to deal with properly, to wit: 1) How can one induce cpio to copy over the extra magical FreeBSD-specific file flags, such as the "immutable" flag, and so forth? (Naturally, I _do_ want to preserve all of these in my backup.) 2) Of necessity, the drive/partition designators of my backup disk and my ``real'' original system disk will be different. The original is a SATA drive, designator(s) /dev/ad4s1{a,e,f,d}, but due to the limitations of what I have on hand, my backup drive will be an older PATA drive, designator(s) /dev/ad2s1{a,e,f,d}. Obviously, cpio doesn't give a darn about such things, and so making my backup will not be a problem at all. The problem will, I suspect, arise when and if I actually have to try to use my backup disk to recover from a system failure. Then, the identity of the drive that will actually hold the root partition will be new and different from whatever it is set to currently on my ``real''/original drive... which will probably cause the disk not to boot... and also, of course, a lot of the entries in /etc/fstab will be wrong for the backup drive and will have to be diddled at some time... either at the time I make my backup, or later, when I go to actually _use_ the backup disk. I need to know he Right Way to deal with these (drive designator) problems also. I guess that I can figure out for myself how to diddle the /etc/fstab file on the backup drive in an appropriate way (and I can probably even cook up a trivial script to do this diddling for me routinely, each time I make a new disk-to-disk backup). So I guess the only think that is still making me nervous is my dim recollection... leftover from FreBSD releases of long long ago, e.g. the 6.x series... that there was also something hard-coded somewhere that told the kernel the identity of the root partition. If that hard coded thing still exists somewhere (i.e. in 8.3) then I'll need to make it a point, when making my bootbale backup disk, to find and diddle that thing too, in addition to diddling the /etc/fstab entries. So my question is simple: Do I need to diddle anything other than /etc/fstab in order to allow for the fact that all of the drive designators will be different for my backup disk, as compared to my original disk? And if so, where is/are the additional things that will need to be manually diddled? Any help/advice/insight regarding the above topics will be much appreciated. Regards, rfg P.S. Maybe I just overlooked it, but I really didn't see any option listed on the man page for cpio(1)... aka bsdcpio(1)... that would permit copying/ preservation of the various file flags discussed in the man pages for chflags(1) and chflags(2). Is it just me, or can cpio really not copy these? If so, it seems like one helluva big oversight. (Even if there is as issue where these additional file flags cannot be preserved, i.e. in cpio archive files, you know, because of backward archive format com- patability issues, at the very least there could be / should be a way to get cpio to copy these things over when the -p (pass) option is being used... no? Hummm... come to think of it, I'm also not seeing any way to induce cpio to copy over things like per-file ACLs and/or per-file file attributes either. Is it just me, or does _everyone_ who uses cpio for backups loose all of this good stuff when making backups? Color me preplexed. From roberthuff at rcn.com Fri Jun 8 22:08:02 2012 From: roberthuff at rcn.com (Robert Huff) Date: Fri Jun 8 22:08:09 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <2903.1339191855@tristatelogic.com> References: <2903.1339191855@tristatelogic.com> Message-ID: <20434.30642.31558.246729@jerusalem.litteratus.org> Ronald F. Guilmette writes: > I got a lot of disks here, so that part is not a problem. I just > need to make sure that I'm gonna do this the Right Way[tm]. > (I've already been making my own ham-fisted disk-to-disk backups > in the past, but I'm sure that the way I have been doing that is > sub-optimal, so I'm here seeking knowledge of how to do this the > Right Way.) > > The bottom line is this... I know how to use cpio, and would like > to use it to create a complete and _bootable_ backup of my main > system disk. (My main system disk has only one BIOS partition, > and that is sub-divided into the usual set of FreeBSD partitions, > you know, /, /dev, /tmp, /usr, /var, /usr/compat/linux/proc, and > /var/named/dev.) As far as I know, the only way guaranteed to preserve metadata is dump/restore. See previous (not necessarily recent) discussion (on this list, and possibly in the Handbook) for more information. Robert Huff From walterhurry at gmail.com Fri Jun 8 22:10:31 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Fri Jun 8 22:10:38 2012 Subject: FreeBSD: SOLVED: FreeBSD9 - I can't get my mouse to work (was : FreeBSD9 - I can't get my mouse to work) References: <20120607145901.3022770d@scorpio> <4FD24B69.6050001@bananmonarki.se> Message-ID: On Fri, 08 Jun 2012 20:58:49 +0200, Bernt Hansson wrote: > 2012-06-08 17:51, Walter Hurry skrev: >> On Fri, 08 Jun 2012 15:39:22 +0000, Walter Hurry wrote: >> Never mind: Stupid moi. The answer was staring me in the face in man >> rc.conf. moused_port. >> >> > You also have moused_flags="Put your flags here" > > That does not help, not me anyway. Indeed you do. But I didn't need moused_flags (nor moused_type) - just moused_port. I was then able to restore /etc/rc.d/moused to its pristine state. From grarpamp at gmail.com Fri Jun 8 22:17:17 2012 From: grarpamp at gmail.com (grarpamp) Date: Fri Jun 8 22:17:25 2012 Subject: UEFI Secure Boot Specs - And some sanity In-Reply-To: <201206081611.q58GBW0J097808@fire.js.berklix.net> References: <201206081611.q58GBW0J097808@fire.js.berklix.net> Message-ID: >> Isn't there a lot of needless handwaving going on when the spec is >> pretty clear that installing your own complete PKI tree will all >> boil down to what is effectively a jumper on the motherboard? > Hoping a jumper Might be under an easily unscrewable panel seems unlikely. I did say "effectively". If people would actually read that chapter in the spec (minimally 27.5) they would find that they can: - Load a new PK without asking if in default SetupMode - If not in SetupMode, chainload a new PK provided it is signed by the current PK. - Clear the PK in a 'secure platform specific method'. There's nothing that says PK SetupMode has to be a jumper. Entering the equivalent of good old pre-boot BIOS setup mode would work so long as the OS can't get to it without the request being signed by the current PK. The point of Secure Boot is firmware checked protection against software access... not physical access protection. The spec speaks liberally of 'platform owner' being able to do whatever they want. More handwaving about EULA's and branding aside, that means US. I seriously think that people are blowing this topic way out of context, and seeing it everywhere is getting really old. People should instead be working on the facts and writing the various motherboard manufacturers to ask them what their expected PK update model will be, and to educate them if not. And to work at committing it to their OS. And yes, that includes Compal and Quanta and those sorts of OEM laptop/embedded makers. I'll send $100 to the FreeBSD foundation if those retail board makers I listed don't give the option to install/replace the PK. Nuff said. ps: I don't really care what MS does with their own branded products in the embedded/small space. Plenty of millionaires out there now who are in tune with opensource who could startup, buy the same ARM/ATOM/etc chips, the same support chips, load Android and sell it to the masses. Lot's of overseas ODM's out there for them to pick from too. Phones, tablets, notebooks, laptops... it's all there. FreeBSD on your phone in 10 years. From wblock at wonkity.com Fri Jun 8 23:58:33 2012 From: wblock at wonkity.com (Warren Block) Date: Fri Jun 8 23:58:40 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <20434.30642.31558.246729@jerusalem.litteratus.org> References: <2903.1339191855@tristatelogic.com> <20434.30642.31558.246729@jerusalem.litteratus.org> Message-ID: On Fri, 8 Jun 2012, Robert Huff wrote: > > Ronald F. Guilmette writes: > >> I got a lot of disks here, so that part is not a problem. I just >> need to make sure that I'm gonna do this the Right Way[tm]. >> (I've already been making my own ham-fisted disk-to-disk backups >> in the past, but I'm sure that the way I have been doing that is >> sub-optimal, so I'm here seeking knowledge of how to do this the >> Right Way.) >> >> The bottom line is this... I know how to use cpio, and would like >> to use it to create a complete and _bootable_ backup of my main >> system disk. (My main system disk has only one BIOS partition, >> and that is sub-divided into the usual set of FreeBSD partitions, >> you know, /, /dev, /tmp, /usr, /var, /usr/compat/linux/proc, and >> /var/named/dev.) > > As far as I know, the only way guaranteed to preserve metadata > is dump/restore. See previous (not necessarily recent) discussion > (on this list, and possibly in the Handbook) for more information. The rsync port has a flags option. I haven't tried it for a full backup. Even if it can copy all filesystem attributes like dump, there are still non-filesystem things needed for booting that neither can copy, like partition tables and boot blocks. There might be something for a bootable backup in ports, or it could be done with a script using gpart. Set up the disk with GPT labels to make it relocatable, use dump to copy everything the first time, fix up a few things like fstab and ifconfig_DEFAULT in the same script. Afterwards, rsync may be enough for fast updates. From dpchrist at holgerdanske.com Sat Jun 9 00:07:02 2012 From: dpchrist at holgerdanske.com (David Christensen) Date: Sat Jun 9 00:07:08 2012 Subject: Which FreeBSD for Intel i7-2600S and DQ67SWB3? In-Reply-To: <68FA56E48051EF71EC510826@mac-pro.magehandbook.com> References: <1841053140.95816.1339040011608.JavaMail.root@md03.insight.synacor.com> <4FD12B9C.3070107@holgerdanske.com> <68FA56E48051EF71EC510826@mac-pro.magehandbook.com> Message-ID: <4FD2939C.8080602@holgerdanske.com> On 06/07/2012 06:40 PM, Daniel Staal wrote: On 06/08/2012 01:07 AM, Thomas Mueller wrote: Thanks for the replies. :-) David From davidcollins001 at gmail.com Sat Jun 9 00:25:14 2012 From: davidcollins001 at gmail.com (David Collins) Date: Sat Jun 9 00:25:20 2012 Subject: XBMC home theater PC Message-ID: <4fd297e5.bV/9FWCnz2Xwy7zn%davidcollins001@gmail.com> Hi, I've recently got a Dell Optiplex 760 that I'm using as a home theatre PC set up with FreeBSD and XBMC. It's mostly working very well but there are just a couple of niggles I'd like to work out to see it working perfectly. 1. Suspend and resume is working well if the usb modules are kld(un/)loaded before and after suspend. I've just been gifted a radeon hd RV610 graphics card which seems quite nice. I'd like to get the card to work with suspend, but the card doesn't like resume If I do a kldunload/kldload on the radeonhd module or don't bother I see the following errors in /var/log/Xorg.0.log: > (EE) RADEONHD(0): RHDCSStop: Command Submission backend is not active! > rhd_crtc.c:586: DxModeRestore: Assertion '!RHD_CHECKDEBUGFLAG(rhdPtr, VGA_SETUP)' failed. > > FatalError re-entered, aborting > Server aborting or > Segmentation fault: 11 at address 0x4 > > Fatal server error: > Caught signal 11 (Segmentation fault: 11). Server aborting and in both cases, a load of: > (WW) RADEONHD(0): DRMCPIdle: DRM CP IDLE returned BUSY Also there are loads of the following in /var/log/messages: > Jun 8 21:13:02 xbmc kernel: info: [drm] wait idle failed status : 0xA0003030 0x00000003 Googling for these error messages returns threads dated around 2009. I would have thought that if this was an issue then it would have been solved, although they weren't related to suspend/resume. Has anyone else seen this error or know of a fix for it? Currency I just restart the X server on resume. 2. If the machine is powerd down I am able to WOL to boot the computer, but if I put the computer into suspend I am not able to. The nic light is still on but doesn't wake the computer. I'm wondering if this is the OS not the card in the same way as during a shutdown. Does anyone know of a solution to this or a work around? 3. Finally, I think this may be a bit of a shot in the dark, but is it possible to have a USB event wake the computer? I imagine that the hardware determines if this is possible (like WOL) and if not all the USB code has been unloaded from the kernel anyway. I'd still be interested to hear thoughts though. Regards, David Collins From davidcollins001 at gmail.com Sat Jun 9 00:31:24 2012 From: davidcollins001 at gmail.com (David Collins) Date: Sat Jun 9 00:31:31 2012 Subject: XBMC home theater PC Message-ID: <4fd2995a.m2TZej+KMYK1/gkZ%davidcollins001@gmail.com> Hi, I've recently got a Dell Optiplex 760 that I'm using as a home theatre PC set up with FreeBSD (9.0-STABLE) and XBMC. It's mostly working very well but there are just a couple of niggles I'd like to work out to see it working perfectly. 1. Suspend and resume is working well if the usb modules are kld(un/)loaded before and after suspend. I've just been gifted a radeon hd RV610 graphics card which seems quite nice. I'd like to get the card to work with suspend, but the card doesn't like resume If I do a kldunload/kldload on the radeonhd module or don't bother I see the following errors in /var/log/Xorg.0.log: > (EE) RADEONHD(0): RHDCSStop: Command Submission backend is not active! > rhd_crtc.c:586: DxModeRestore: Assertion '!RHD_CHECKDEBUGFLAG(rhdPtr, VGA_SETUP)' failed. > > FatalError re-entered, aborting > Server aborting or > Segmentation fault: 11 at address 0x4 > > Fatal server error: > Caught signal 11 (Segmentation fault: 11). Server aborting and in both cases, a load of: > (WW) RADEONHD(0): DRMCPIdle: DRM CP IDLE returned BUSY Also there are loads of the following in /var/log/messages: > Jun 8 21:13:02 xbmc kernel: info: [drm] wait idle failed status : 0xA0003030 0x00000003 Googling for these error messages returns threads dated around 2009. I would have thought that if this was an issue then it would have been solved, although they weren't related to suspend/resume. Has anyone else seen this error or know of a fix for it? Currency I just restart the X server on resume. 2. If the machine is powerd down I am able to WOL to boot the computer, but if I put the computer into suspend I am not able to. The nic light is still on but doesn't wake the computer. I'm wondering if this is the OS not the card in the same way as during a shutdown. Does anyone know of a solution to this or a work around? 3. Finally, I think this may be a bit of a shot in the dark, but is it possible to have a USB event wake the computer? I imagine that the hardware determines if this is possible (like WOL) and if not all the USB code has been unloaded from the kernel anyway. I'd still be interested to hear thoughts though. Regards, David Collins From m.e.sanliturk at gmail.com Sat Jun 9 01:12:06 2012 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat Jun 9 01:12:14 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: References: <2903.1339191855@tristatelogic.com> <20434.30642.31558.246729@jerusalem.litteratus.org> Message-ID: On Fri, Jun 8, 2012 at 4:58 PM, Warren Block wrote: > On Fri, 8 Jun 2012, Robert Huff wrote: > > >> Ronald F. Guilmette writes: >> >> I got a lot of disks here, so that part is not a problem. I just >>> need to make sure that I'm gonna do this the Right Way[tm]. >>> (I've already been making my own ham-fisted disk-to-disk backups >>> in the past, but I'm sure that the way I have been doing that is >>> sub-optimal, so I'm here seeking knowledge of how to do this the >>> Right Way.) >>> >>> The bottom line is this... I know how to use cpio, and would like >>> to use it to create a complete and _bootable_ backup of my main >>> system disk. (My main system disk has only one BIOS partition, >>> and that is sub-divided into the usual set of FreeBSD partitions, >>> you know, /, /dev, /tmp, /usr, /var, /usr/compat/linux/proc, and >>> /var/named/dev.) >>> >> >> As far as I know, the only way guaranteed to preserve metadata >> is dump/restore. See previous (not necessarily recent) discussion >> (on this list, and possibly in the Handbook) for more information. >> > > The rsync port has a flags option. I haven't tried it for a full backup. > Even if it can copy all filesystem attributes like dump, there are still > non-filesystem things needed for booting that neither can copy, like > partition tables and boot blocks. There might be something for a bootable > backup in ports, or it could be done with a script using gpart. Set up the > disk with GPT labels to make it relocatable, use dump to copy everything > the first time, fix up a few things like fstab and ifconfig_DEFAULT in the > same script. > > Afterwards, rsync may be enough for fast updates. > I am applying the following technique in Linux ( because I am not using FreeBSD ) : On the same computer : (1) I am disconnecting power cable of the existing HDD . (2) I am connecting a new disk ( by attaching Channel Zero SATA Cable to it ) . (3) I am installing a new operating system on HDD (4) I am installing mc ( Midnight Commander ) . (5) After obtaining a working new HDD , I am connecting the power cable of the previous disk . (6) I am booting the computer . The new operating system is "seeing" previous HDD . (7) I am mounting previous HDD . (8) By using mc , I am copying required files/directories into new HDD . Mostly I am using KDE4 . Dolphin in KDE4 has a memory leak which is causing disaster for very large list of files because for each file , it is consuming irrecoverable memory loss from 600 bytes to 1000 bytes during copying . (9) I am keeping previous HDD as bootable by disconnecting its power cable because it is not necessary to keep it powered . You can do the following : (1) Install your operating system on back-up HDD . (2) By using a script , copy required files /directories onto back-up HDD . With this technique , you can maintain a revolving back-up HDD units : Create back-up HDD 1 . Create back-up HDD 2 . . . . Create back-up HDD n . When n-th HDD is created , and a new back-up is required switch to HDD 1 . Using rsync you may update only required files / directories . Full copy is not required to update subsequent HDD units because it is very likely that many files are the same . In that form , EACH back-up HDD is bootable when it is required . You may consider HAST for a single HDD . You may use external USB HDD by selecting a robust model . Disconnecting power cable of existing HDD during a new operating system install on another HDD is preventing an accidental loss of data because naming the recognized HDD units is NOT standard and very unreliable . Thank you very much . Mehmet Erol Sanliturk From bruce at cran.org.uk Sat Jun 9 01:49:02 2012 From: bruce at cran.org.uk (Bruce Cran) Date: Sat Jun 9 01:49:08 2012 Subject: Configuration problem with IPv6 router ("cannot forward src") In-Reply-To: <4FD194BA.3060208@infracaninophile.co.uk> References: <4FD12CFF.6020205@cran.org.uk> <4FD194BA.3060208@infracaninophile.co.uk> Message-ID: <4FD2AB8B.80605@cran.org.uk> On 08/06/2012 06:59, Matthew Seaman wrote: > Probably. The good news is that once you've got it running the IPv6 > support in FreeBSD is rock solid and works like a charm. It turns out that PF was being too helpful and trying to NAT for both IPv4 and IPv6 - adding 'inet' to the "nat on $ext_if..." line fixed it. -- Bruce Cran From freebsd at edvax.de Sat Jun 9 04:16:09 2012 From: freebsd at edvax.de (Polytropon) Date: Sat Jun 9 04:16:16 2012 Subject: Mouse stopped working in X In-Reply-To: <4FD2CBD9.8080001@bananmonarki.se> References: <201205181149.q4IBndvU028665@hera.homer.att.com> <4FB64022.6010206@bananmonarki.se> <4FBB4B8C.3000806@bananmonarki.se> <20120522104441.f05a2f88.freebsd@edvax.de> <4FD2CBD9.8080001@bananmonarki.se> Message-ID: <20120609061600.55d6d972.freebsd@edvax.de> On Sat, 09 Jun 2012 06:06:49 +0200, Bernt Hansson wrote: > > > 2012-05-22 10:44, Polytropon skrev: > > On Tue, 22 May 2012 10:17:16 +0200, Bernt Hansson wrote: > >> There is a second way of doing this stunt. > >> > >> Start X > >> When X is up and running press CTRL+ALT+F3 or any F* frpm F3 up to F8 > >> then you get to the console > >> Su to root in the console and type in > >> > >> /usr/local/etc/rc.d/dbus restart&& /usr/local/etc/rc.d/hald restart > >> > >> Then press ALT+F9 to get back to X > > > > So if that is the _solution_ > > It is not near any solution. > > I do not think this issue have anything to do with hal or dbus. I didn't claim it was a solution, I just wanted to make the therapy "more elegant"; see the difference between therapy (treating symptoms) and the actual cure of a disease (removing the cause). As I'm only running old-fashioned stuff here, I can't be more specific regarding the newest inventions of why X stopped acting as expected. In the past, simply removing HAL and DBUS altogether and using a xorg.conf file to make the required settings has worked at least for me. My idea of automating the manual step of restarting HAL and DBUS (which _seems_ to have treated the symptoms of a non-working mouse) was to put that into the X initialisation file: "sudo /usr/local/etc/rc.d/dbus restart && sudo /usr/local/etc/rc.d/hald restart". Of couse that doesn't even remotely touch a possible problem caused elsewhere. And does it look totally stupid? Sure it does. It looks so wrong, but sometimes the wrongest thing "just works" (TM). :-) > My machine at the office running the same hal and X as the one at home > does not have this kind of problems. That might be a good indicator that there actually is something different in those machines, and this difference causes the problem. Maybe it's something simple, and really not related to HAL. As I said, I'm not sure, as I'm not using it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bycn82 at gmail.com Sat Jun 9 04:23:57 2012 From: bycn82 at gmail.com (Bill Yuan) Date: Sat Jun 9 04:24:05 2012 Subject: how to filter network by MAC and IP at the same time In-Reply-To: <44y5nxy29s.fsf@be-well.ilk.org> References: <44y5nxy29s.fsf@be-well.ilk.org> Message-ID: rule like below #allow the traffic which source mac is belong to the machine ipfw add 1 allow all from any to any MAC any #allow the ...... destination mac is that machine ipfw add 1 allow all from any to any MAC any ipfw add 1 deny all from any to any it is not working , all the traffic will be block by the deny !!! how come ? On Sat, Jun 9, 2012 at 4:30 AM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > Bill Yuan writes: > > > i am using freebsd 9.0 as a firewall and i want to filter the traffic by > > the mac and the ip at the same time, > > > > for example, i only allow my laptop can go throught the > > firewalll when it's using IP > > > > for how to config the firewall rules? > > > > > > I tried to configure the firewall by the rule below , but it doesnt work > > > > ipfw add 1 allow all from to any MAC any > > ipfw add 1 allow all from any to MAC any 1> > > Well, for one thing if I understand your intent, you have the MAC > addresses in the wrong order. Unless your firewall is acting as a > bridge, you also need to keep in mind that the MAC addresses are changed > when passing through, so those rules will only work on one side (i.e., > you'll need "in via" type rules). > > > but it doesnt work. also found the explanation on google, someone already > > asked this question before. > > I don't understand. Was there a suggested approach or not? > > > but I did not find the solution for this requirement. can someone tell > me > > how ? thanks in advance. > > I can't guarantee this will work, and I don't have any way to test it, > but my above comments would suggest something more like: > > > ipfw add 1 allow all from to any MAC any in via $iif > > > ipfw add 1 allow all from any to MAC > any out via $oif > > Good luck. > From wblock at wonkity.com Sat Jun 9 06:01:23 2012 From: wblock at wonkity.com (Warren Block) Date: Sat Jun 9 06:01:30 2012 Subject: Performance and mouse problems In-Reply-To: <20120608210911.GA11210@pcjas.obspm.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120608210911.GA11210@pcjas.obspm.fr> Message-ID: On Fri, 8 Jun 2012, Albert Shih wrote: > After some time, and read new messages ont this mailing list, I find a > solution. > > Deactivate hald > deactivate dbus > Option "AutoAddDevices" "Off" > put moused_enable="On" in /etc/rc.conf > .... > and.... > > reboot > > and everything work fine again. > > I don't known why by using > > /usr/local/etc/rc.d/hald stop > /usr/local/etc/rc.d/dbus stop > /etc/rc.d/moused start > > it's not working.... It should not be a dbus problem, and some things can benefit from dbus. Try it and see if the problem comes back. FWIW, I thought I suggested this a while back. It is what I run: hal not installed, but moused enabled. When hal is not installed, turning AutoAddDevices off should also not be needed. From freebsd at dreamchaser.org Sat Jun 9 06:06:47 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Sat Jun 9 06:06:55 2012 Subject: prune ports tree? Message-ID: <4FD2E7EF.1060208@dreamchaser.org> Is it possible to specify that parts of the ports tree should never be used? From lists at eitanadler.com Sat Jun 9 06:11:22 2012 From: lists at eitanadler.com (Eitan Adler) Date: Sat Jun 9 06:11:37 2012 Subject: prune ports tree? In-Reply-To: <4FD2E7EF.1060208@dreamchaser.org> References: <4FD2E7EF.1060208@dreamchaser.org> Message-ID: On 8 June 2012 23:06, Gary Aitken wrote: > Is it possible to specify that parts of the ports tree should never be used? yes, but don't do it. the ports tree needs to be complete to be guaranteed to function. -- Eitan Adler From freebsd at edvax.de Sat Jun 9 06:21:37 2012 From: freebsd at edvax.de (Polytropon) Date: Sat Jun 9 06:21:43 2012 Subject: prune ports tree? In-Reply-To: <4FD2E7EF.1060208@dreamchaser.org> References: <4FD2E7EF.1060208@dreamchaser.org> Message-ID: <20120609082134.42a36d30.freebsd@edvax.de> On Sat, 09 Jun 2012 00:06:39 -0600, Gary Aitken wrote: > Is it possible to specify that parts of the ports tree should never be used? How do you want to understand by "parts" and "not used"? The easiest way to "not use" some part of the ports tree is to remove that part. You can do that by manually deleting the port(s) and even omitting them when updating your ports tree. If you use csup, you can make /etc/sup/ports.sup like this: Don't use ports-all, but only list the categories you want to have updated. This works category-wise. You'll find examples in /usr/share/examples/cvsup/ports-supfile which you can use as a template for your own configuration file. An example of /etc/sup/ports.sup could look like this: *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ports-base ports-accessibility #ports-arabic ports-archivers [ ... list shortened ... ] ports-x11-servers ports-x11-themes ports-x11-toolkits ports-x11-wm Only the listed ports categories will be updated. Then you can add this to /etc/make.conf: SUP= /usr/bin/csup <--- SUP_UPDATE= /usr/bin/csup <--- SUPFLAGS= -L 2 <--- SUPHOST= cvsup.freebsd.org SUPFILE= /etc/sup/stable.sup PORTSSUPFILE= /etc/sup/ports.sup <--- DOCSUPFILE= /etc/sup/doc.sup DOC_LANG= en_US.ISO8859-1 de_DE.ISO8859-1 The important lines are marked with a <---. Now you can do this: # cd /usr/ports # make update and you'll get the latest ports tree _excluding_ what you have already removed. You can also use /usr/ports/.cvsignore to specify the directories csup should ignore; defaults are "distfiles" and "packages". You can list "offending" ports here. This approach does _not_ work well when using portsnap. From the portsnap.conf manpage: "Note that operating with an incomplete ports tree is not supported and may cause unexpected results." -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From lists at eitanadler.com Sat Jun 9 06:55:07 2012 From: lists at eitanadler.com (Eitan Adler) Date: Sat Jun 9 06:55:15 2012 Subject: prune ports tree? In-Reply-To: <20120609082134.42a36d30.freebsd@edvax.de> References: <4FD2E7EF.1060208@dreamchaser.org> <20120609082134.42a36d30.freebsd@edvax.de> Message-ID: On 8 June 2012 23:21, Polytropon wrote: > On Sat, 09 Jun 2012 00:06:39 -0600, Gary Aitken wrote: >> Is it possible to specify that parts of the ports tree should never be used? > This approach does _not_ work well when using portsnap. From > the portsnap.conf manpage: "Note that operating with an incomplete > ports tree is not supported and may cause unexpected results." Note that the issue of incomplete ports trees has nothing to do with portsnap - it is unsupported no matter how you obtain ports. -- Eitan Adler From 4711 at chello.at Sat Jun 9 09:12:52 2012 From: 4711 at chello.at (Christian Hiris) Date: Sat Jun 9 09:12:59 2012 Subject: how to filter network by MAC and IP at the same time In-Reply-To: References: <44y5nxy29s.fsf@be-well.ilk.org> Message-ID: <201206091112.50161.4711@chello.at> hi Bill, afaik, in your case the packets checked twice against the ipfw-rules - once for the layer2-filtering part and 2nd time for the ip-filtering part. 1st enable filtering on ethernet demux/eth. output frame: # sysctl net.link.ether.ipfw=1 then start your fw-script: # -- sniplet from fw-script -- # iif="em0" ip_client="192.168.123.45" ether_client="88:99:aa:bb:cc:dd" ether_broadcast="ff:ff:ff:ff:ff:ff" ${fwcmd} add 10 pass MAC ${ether_broadcast} ${ether_client} via ${iif} ${fwcmd} add 20 pass MAC any ${ether_client} via ${iif} ${fwcmd} add 21 pass MAC ${ether_client} any via ${iif} ${fwcmd} add 30 pass ip from ${ip_client} to any via ${iif} ${fwcmd} add 31 pass ip from any to ${ip_client} via ${iif} # -- sniplet from fw-script -- # this results in: # ipfw show 00010 1 28 allow ip from any to any MAC ff:ff:ff:ff:ff:ff \ 88:99:aa:bb:cc:dd via em0 00020 74 9564 allow ip from any to any MAC any 88:99:aa:bb:cc:dd via em0 00021 87 85336 allow ip from any to any MAC 88:99:aa:bb:cc:dd any via em0 00030 74 9564 allow ip from 192.168.123.45 to any via em0 00031 86 85290 allow ip from any to 192.168.123.45 via em0 65535 487 35078 deny ip from any to any Most of this logic is described in the section "PACKET FLOW" section in man ipfw. "Note that as packets flow through the stack, headers can be stripped or added to it, and so they may or may not be available for inspection. E.g., incoming packets will include the MAC header when ipfw is invoked from ether_demux(), but the same packets will have the MAC header stripped off when ipfw is invoked from ip_input() or ip6_input()." Cheers ch On Saturday 09 June 2012, Bill Yuan wrote: > rule like below > > #allow the traffic which source mac is belong to the machine > ipfw add 1 allow all from any to any MAC any > #allow the ...... destination mac is that machine > ipfw add 1 allow all from any to any MAC any > ipfw add 1 deny all from any to any > > > it is not working , all the traffic will be block by the deny !!! how come > ? > > > > On Sat, Jun 9, 2012 at 4:30 AM, Lowell Gilbert < > > freebsd-questions-local@be-well.ilk.org> wrote: > > Bill Yuan writes: > > > i am using freebsd 9.0 as a firewall and i want to filter the traffic > > > by the mac and the ip at the same time, > > > > > > for example, i only allow my laptop can go throught the > > > firewalll when it's using IP > > > > > > for how to config the firewall rules? > > > > > > > > > I tried to configure the firewall by the rule below , but it doesnt > > > work > > > > > > ipfw add 1 allow all from to any MAC > > > any ipfw add 1 allow all from any to MAC any > > Address > > > > 1> > > > > Well, for one thing if I understand your intent, you have the MAC > > addresses in the wrong order. Unless your firewall is acting as a > > bridge, you also need to keep in mind that the MAC addresses are changed > > when passing through, so those rules will only work on one side (i.e., > > you'll need "in via" type rules). > > > > > but it doesnt work. also found the explanation on google, someone > > > already asked this question before. > > > > I don't understand. Was there a suggested approach or not? > > > > > but I did not find the solution for this requirement. can someone tell > > > > me > > > > > how ? thanks in advance. > > > > I can't guarantee this will work, and I don't have any way to test it, > > > > but my above comments would suggest something more like: > > > ipfw add 1 allow all from to any MAC any > > > in via $iif > > > > > ipfw add 1 allow all from any to MAC > > > > any out via $oif > > > > Good luck. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From guzanovsky at gmail.com Sat Jun 9 11:45:58 2012 From: guzanovsky at gmail.com (Denis Guzanov) Date: Sat Jun 9 11:46:05 2012 Subject: Question about FreeBSD for IA-64 software Message-ID: Dear FreeBSD Team, Firstly I would like to say you Big thanks for your really good job and the best system for us, small IT staff. Second, I would like to ask you about some problem with FreeBSD source. I've downloaded .iso Image from this link: ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ia64/ISO-IMAGES/9.0/following .iso file: FreeBSD-9.0-RELEASE-ia64-release.iso And when I tried to install it I have nothing.... I did it many times, but have no result. When I've downloaded 8.3 version Installation was completed successfully. Dear FreeBSD Team, could you, please, check your .iso file for IA-64 systems or maybe consult me what I need to do? Thanks and Best regards, Denis. From m.e.sanliturk at gmail.com Sat Jun 9 11:55:58 2012 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat Jun 9 11:57:08 2012 Subject: Question about FreeBSD for IA-64 software In-Reply-To: References: Message-ID: On Sat, Jun 9, 2012 at 4:45 AM, Denis Guzanov wrote: > Dear FreeBSD Team, > > Firstly I would like to say you Big thanks for your really good job and the > best system for us, small IT staff. > > Second, I would like to ask you about some problem with FreeBSD source. > > I've downloaded .iso Image from this link: > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ia64/ISO-IMAGES/9.0/following > .iso file: FreeBSD-9.0-RELEASE-ia64-release.iso > > And when I tried to install it I have nothing.... I did it many times, but > have no result. When I've downloaded 8.3 version Installation was completed > successfully. > > Dear FreeBSD Team, could you, please, check your .iso file for IA-64 > systems or maybe consult me what I need to do? > > > Thanks and Best regards, > Denis. > >From your question , it is not possible to understand which 8.3 version is used . It is very unlikely that 9.0 fails completely but 8.3 succeeds completely . ia64 is for Itanium 64 processor , amd64 is Intel and AMD 64-bit capable desktop or notebook processors . They are different processors , and one can not execute code for the other . Thank you very much . Mehmet Erol Sanliturk From freebsd at dreamchaser.org Sat Jun 9 13:22:52 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Sat Jun 9 13:23:01 2012 Subject: ran out of inodes on /var, recommended value? Message-ID: <4FD34E2A.7060700@dreamchaser.org> I reconfigured my ssd filesystem with the /var partition of size 512M. Unfortunately, something in portsnap or the ports tree in general uses a boatload of small files, and i ran out of inodes. Can anyone recommend an appropriate size for the newfs -i value? 1024? less? Thanks, Gary From bycn82 at gmail.com Sat Jun 9 15:26:43 2012 From: bycn82 at gmail.com (Bill Yuan) Date: Sat Jun 9 15:26:50 2012 Subject: how to filter network by MAC and IP at the same time In-Reply-To: <201206091112.50161.4711@chello.at> References: <44y5nxy29s.fsf@be-well.ilk.org> <201206091112.50161.4711@chello.at> Message-ID: Thanks very much, According to your description , I changed my firewall settings , ( Because I already tried add the "via em0" or "via em1", it's not working, so I remove it , my FreeBSD is WAN is em0 ,LAN is em1 ) and made it like this below and I still cannot download things through it , and i found the result Seems some place still not working properly , the traffic has been block by some reason! On Sat, Jun 9, 2012 at 5:12 PM, Christian Hiris <4711@chello.at> wrote: > hi Bill, > afaik, in your case the packets checked twice against the ipfw-rules - once > for the layer2-filtering part and 2nd time for the ip-filtering part. > > 1st enable filtering on ethernet demux/eth. output frame: > # sysctl net.link.ether.ipfw=1 > > then start your fw-script: > > # -- sniplet from fw-script -- # > iif="em0" > ip_client="192.168.123.45" > ether_client="88:99:aa:bb:cc:dd" > ether_broadcast="ff:ff:ff:ff:ff:ff" > > ${fwcmd} add 10 pass MAC ${ether_broadcast} ${ether_client} via ${iif} > ${fwcmd} add 20 pass MAC any ${ether_client} via ${iif} > ${fwcmd} add 21 pass MAC ${ether_client} any via ${iif} > ${fwcmd} add 30 pass ip from ${ip_client} to any via ${iif} > ${fwcmd} add 31 pass ip from any to ${ip_client} via ${iif} > # -- sniplet from fw-script -- # > > this results in: > > # ipfw show > 00010 1 28 allow ip from any to any MAC ff:ff:ff:ff:ff:ff \ > 88:99:aa:bb:cc:dd via em0 > 00020 74 9564 allow ip from any to any MAC any 88:99:aa:bb:cc:dd via em0 > 00021 87 85336 allow ip from any to any MAC 88:99:aa:bb:cc:dd any via em0 > 00030 74 9564 allow ip from 192.168.123.45 to any via em0 > 00031 86 85290 allow ip from any to 192.168.123.45 via em0 > 65535 487 35078 deny ip from any to any > > Most of this logic is described in the section "PACKET FLOW" section in man > ipfw. > > "Note that as packets flow through the stack, headers can be stripped or > added to it, and so they may or may not be available for inspection. > E.g., incoming packets will include the MAC header when ipfw is invoked > from ether_demux(), but the same packets will have the MAC header > stripped off when ipfw is invoked from ip_input() or ip6_input()." > > Cheers > ch > > > On Saturday 09 June 2012, Bill Yuan wrote: > > rule like below > > > > #allow the traffic which source mac is belong to the machine > > ipfw add 1 allow all from any to any MAC any > > #allow the ...... destination mac is that machine > > ipfw add 1 allow all from any to any MAC any > > ipfw add 1 deny all from any to any > > > > > > it is not working , all the traffic will be block by the deny !!! how > come > > ? > > > > > > > > On Sat, Jun 9, 2012 at 4:30 AM, Lowell Gilbert < > > > > freebsd-questions-local@be-well.ilk.org> wrote: > > > Bill Yuan writes: > > > > i am using freebsd 9.0 as a firewall and i want to filter the traffic > > > > by the mac and the ip at the same time, > > > > > > > > for example, i only allow my laptop can go throught > the > > > > firewalll when it's using IP > > > > > > > > for how to config the firewall rules? > > > > > > > > > > > > I tried to configure the firewall by the rule below , but it doesnt > > > > work > > > > > > > > ipfw add 1 allow all from to any MAC > > > > any ipfw add 1 allow all from any to MAC any > > > Address > > > > > > 1> > > > > > > Well, for one thing if I understand your intent, you have the MAC > > > addresses in the wrong order. Unless your firewall is acting as a > > > bridge, you also need to keep in mind that the MAC addresses are > changed > > > when passing through, so those rules will only work on one side (i.e., > > > you'll need "in via" type rules). > > > > > > > but it doesnt work. also found the explanation on google, someone > > > > already asked this question before. > > > > > > I don't understand. Was there a suggested approach or not? > > > > > > > but I did not find the solution for this requirement. can someone > tell > > > > > > me > > > > > > > how ? thanks in advance. > > > > > > I can't guarantee this will work, and I don't have any way to test it, > > > > > > but my above comments would suggest something more like: > > > > ipfw add 1 allow all from to any MAC any Address > > > > > > in via $iif > > > > > > > ipfw add 1 allow all from any to MAC 1> > > > > > > any out via $oif > > > > > > Good luck. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > From colin.barnabas at gmail.com Sat Jun 9 15:50:56 2012 From: colin.barnabas at gmail.com (Colin Barnabas) Date: Sat Jun 9 15:51:02 2012 Subject: wired memory - again! In-Reply-To: References: Message-ID: <20120609155124.GB47874@hs1.VERBENA> http://apple.stackexchange.com/questions/31801/what-is-in-wired-memory On Sat, Jun 09, 2012 at 09:21:35AM +0200, Wojciech Puchar wrote: > top reports wired memory 128MB > > > WHERE it is used? below results of vmstat -m and vmstat -z > values does not sum up even to half of it > FreeBSD 9 - few days old. > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Colin Barnabas From kudzu at tenebras.com Sat Jun 9 16:40:43 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Sat Jun 9 16:40:50 2012 Subject: ran out of inodes on /var, recommended value? In-Reply-To: <4FD34E2A.7060700@dreamchaser.org> References: <4FD34E2A.7060700@dreamchaser.org> Message-ID: On Sat, Jun 9, 2012 at 6:22 AM, Gary Aitken wrote: > I reconfigured my ssd filesystem with the /var partition of size 512M. ?Unfortunately, something in portsnap or the ports tree in general uses a boatload of small files, and i ran out of inodes. ?Can anyone recommend an appropriate size for the newfs -i value? ?1024? ?less? You may find this solution cheesy, but it works. I found the problem to be /var/db, and ran into it when doing a pkg_add -r for a package with a lot of dependencies. Some things - like freebsd-update - are configurable to use a different dir without this nonsense. - M pvpn 206> ls -l /var/db total 228 ---------- 1 root wheel 990 May 11 03:03 dhclient.leases.vr0 drwx------ 2 operator operator 512 Jun 9 16:33 entropy lrwxr-xr-x 1 root wheel 37 May 11 02:32 freebsd-update -> ../../usr/local/var/db/freebsd-update drwx------ 2 root wheel 512 Apr 9 21:10 ipf -r--r--r-- 1 nobody wheel 183727 Jun 9 04:15 locate.database -rw------- 1 root wheel 40790 May 16 20:05 mergemaster.mtree lrwxr-xr-x 1 root wheel 26 May 11 02:32 pkg -> ../../usr/local/var/db/pkg lrwxr-xr-x 1 root wheel 28 May 11 02:32 ports -> ../../usr/local/var/db/ports lrwxr-xr-x 1 root wheel 31 May 11 02:32 portsnap -> ../../usr/local/var/db/portsnap drwx------ 3 root wheel 512 May 21 20:54 sudo From walterhurry at gmail.com Sat Jun 9 16:41:50 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Sat Jun 9 16:41:57 2012 Subject: Problems with portupgrade libreoffice Message-ID: FreeBSD 9 on x86_64. I am in the process of doing a portupgrade on libreoffice (from 3.4.4 to 3.5.2.5). During the build it has (so far) errored out 4 times, in the following modules: vcl framework sfx2 tail_build Each time, it told me to go into the subdirectory, do a gmake clean and a gmake -r there, then return to the top level and rerun make. This I duly did, but to my surprise, each time I ran the gmake -r, it completed successfully. When the top-level make finally succeeds, I intend simply to rerun the portupgrade, on the theory that seeing everything already made, it will just do the uninstall/reinstall, sort out the dependencies and so forth. Q1) Is this a sensible approach? Q2) Has anyone else seen this? What is going on? From perrin at apotheon.com Sat Jun 9 16:48:56 2012 From: perrin at apotheon.com (Chad Perrin) Date: Sat Jun 9 16:49:03 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> Message-ID: <20120609164855.GB31721@hemlock.hydra> On Wed, Jun 06, 2012 at 11:42:37PM +0200, Damien Fleuriot wrote: > > On 6 Jun 2012, at 21:52, Dave U. Random wrote: > > > Polytropon wrote: > > > >> On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: > >>> Having to pay Verisign instead of Microsoft makes no difference: the > >>> point is why should I have to pay anything to a third party in order to > >>> run whatever OS I want on a piece of hardware I own? > > > > It's time to dump the Intel/Microshaft mafia forever. FreeBSD, OpenBSD, > > NetBSD, and even Linux have ports to many platforms. Why stay on Intel? It's > > an overgrown ugly mess. > > > > We need to stop buying Intel mafiaware with preinstalled Microshaft mafiware > > and run a free (or in the case of Linux "apparently free") OS on free > > hardware. > > > > There are increasing numbers of SBCs and plenty of used servers on > > Ebay. They're all built better than commodity Intel mafiaware. Good > > riddance! > > > > You have no idea what you're talking about. > > This kind of religious propaganda post is neither constructive nor > helpful. It should be noted that your tone is neither constructive nor helpful, to say nothing of your contentless response. Do you have anything useful to say in response to what Dave U. Random contributed -- perhaps a thoughtful refutation of some specific point(s)? I hope you have more of value to contribute than your obvious disdain for people who disagree with you about something (without even specifying on what points you disagree). -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From davemorgan353 at btinternet.com Sat Jun 9 17:14:49 2012 From: davemorgan353 at btinternet.com (Dave Morgan) Date: Sat Jun 9 17:14:57 2012 Subject: Problems with portupgrade libreoffice In-Reply-To: References: Message-ID: <20120609171225.GA2860@rusty.rusty.com> On 09/06/12 at 04:41P, Walter Hurry wrote: > FreeBSD 9 on x86_64. > > I am in the process of doing a portupgrade on libreoffice (from 3.4.4 to > 3.5.2.5). During the build it has (so far) errored out 4 times, in the > following modules: > > vcl > framework > sfx2 > tail_build > > Each time, it told me to go into the subdirectory, do a gmake clean and a > gmake -r there, then return to the top level and rerun make. > > This I duly did, but to my surprise, each time I ran the gmake -r, it > completed successfully. > > When the top-level make finally succeeds, I intend simply to rerun the > portupgrade, on the theory that seeing everything already made, it will > just do the uninstall/reinstall, sort out the dependencies and so forth. > > Q1) Is this a sensible approach? > > Q2) Has anyone else seen this? What is going on? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" There is a thread in the forums which recommends removing boost-libs and boost-jam, building libreoffice then reinstalling them. I did this and it worked for me. -- Dave. From jhs at berklix.com Sat Jun 9 17:41:01 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Sat Jun 9 17:41:09 2012 Subject: prune ports tree? In-Reply-To: Your message "Sat, 09 Jun 2012 00:06:39 MDT." <4FD2E7EF.1060208@dreamchaser.org> Message-ID: <201206091741.q59Hf0AX022540@fire.js.berklix.net> Gary Aitken wrote: > Is it possible to specify that parts of the ports tree should never be used? Yes. Although as others pointed out it depend quite what you mean by that :-) Example setenv DUDS SomeEndPortToSkip_eg_ghostview One could also do setenv DUDS "`printenv DUDS` vietnamese chinese" ; make fetch if for instance you wanted to fetch most but not all distiles It prevents a recusion into SUBDIR (either into the 30 main ports/ dirs, or the 20,000+ 2nd level dirs. How I find DUDS useful: When I do an upgrade, I copy (using my shell http://berklix.com/~jhs/bin/.csh/customise ) about 30 Makefile.local from my personal preference directory http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/jhs/ into /usr/ports/*/Makefile.local Then I let loose a monstrous make with something like cd /usr/ports ;\ nice make BERKLIX_CLIENT=YES \ all install package package-recursive ; bell that takes days & always breaks a few times on route, (& using make -k or make -i is a bad idea, as it messes upports that other ports then think are built, but are not - so I avoid -i & -k ) Sometimes I dont have time to immediately analyse each breakage, & just want topush the compiles on, & come back later to debug broken faults, so I then use (with csh setenv DUDS "whatever_port_just_broke `printenv DUDS`" & start the make again. (PS & later after most stuff is build I start the truly monster builds eg openoffice etc with eg nice make BERKLIX_AMBITIOUS=YES \ all install package package-recursive ; bell # http://www.berklix.com/~jhs/bin/.sh/bell ) For DUDS & other ideas See: vi -c/DUDS /usr/ports/Mk/bsd.port.subdir.mk Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From jhs at berklix.com Sat Jun 9 17:43:35 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Sat Jun 9 17:43:42 2012 Subject: Question about FreeBSD for IA-64 software In-Reply-To: Your message "Sat, 09 Jun 2012 15:45:54 +0400." Message-ID: <201206091743.q59HhlRp022564@fire.js.berklix.net> Hi, Reference: > From: Denis Guzanov > Date: Sat, 9 Jun 2012 15:45:54 +0400 > Message-id: Denis Guzanov wrote: > Dear FreeBSD Team, > > Firstly I would like to say you Big thanks for your really good job and the > best system for us, small IT staff. > > Second, I would like to ask you about some problem with FreeBSD source. > > I've downloaded .iso Image from this link: > ftp://ftp.freebsd.org/pub/FreeBSD/releases/ia64/ia64/ISO-IMAGES/9.0/following > iso file: FreeBSD-9.0-RELEASE-ia64-release.iso did you check the MD5 ? > And when I tried to install it I have nothing.... You'll need to be more specific. > I did it many times, but > have no result. When I've downloaded 8.3 version Installation was completed > successfully. > > Dear FreeBSD Team, could you, please, check your .iso file for IA-64 > systems or maybe consult me what I need to do? > > > Thanks and Best regards, > Denis. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From freebsd at qeng-ho.org Sat Jun 9 17:59:30 2012 From: freebsd at qeng-ho.org (Arthur Chance) Date: Sat Jun 9 17:59:37 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: References: <2903.1339191855@tristatelogic.com> <20434.30642.31558.246729@jerusalem.litteratus.org> Message-ID: <4FD38B9A.4010400@qeng-ho.org> On 06/09/12 00:58, Warren Block wrote: > On Fri, 8 Jun 2012, Robert Huff wrote: > >> >> Ronald F. Guilmette writes: >> >>> I got a lot of disks here, so that part is not a problem. I just >>> need to make sure that I'm gonna do this the Right Way[tm]. >>> (I've already been making my own ham-fisted disk-to-disk backups >>> in the past, but I'm sure that the way I have been doing that is >>> sub-optimal, so I'm here seeking knowledge of how to do this the >>> Right Way.) >>> >>> The bottom line is this... I know how to use cpio, and would like >>> to use it to create a complete and _bootable_ backup of my main >>> system disk. (My main system disk has only one BIOS partition, >>> and that is sub-divided into the usual set of FreeBSD partitions, >>> you know, /, /dev, /tmp, /usr, /var, /usr/compat/linux/proc, and >>> /var/named/dev.) >> >> As far as I know, the only way guaranteed to preserve metadata >> is dump/restore. See previous (not necessarily recent) discussion >> (on this list, and possibly in the Handbook) for more information. > > The rsync port has a flags option. I haven't tried it for a full backup. > Even if it can copy all filesystem attributes like dump, there are still > non-filesystem things needed for booting that neither can copy, like > partition tables and boot blocks. There's a BFI (brute force and ignorance) way of doing it in the base system - dd. Provided your system disk is quiescent (ideally when running from a live CD or all partitions mounted read-only, otherwise pray to the deity of your choice) and the backup disk is a) at least as large as the system disk, and b) has the same sector size, then a simple dd from the system disk to the backup should work. [Greybeard war story:] Going back about 25-30 years, a friend of mine was responsible for running the Unix systems in an EE department of a UK university. He used to back up the disks (probably around 10 MB in those days) to 1/2" tape every night. Eventually he got sick of undergraduates asking him to restore files they'd accidentally deleted, and hit upon the idea of dd'ing the disk to tape, and then if a student wanted a restore, he'd mount the tape as a r/o file system (these were the days of tape block devices and trusting all users) and tell them to use restore to get the files themselves. It took forever, but it was the student's time that was wasted, not his. Most of them learned not to delete wanted files after one or two times of doing this. From freebsd-questions-local at be-well.ilk.org Sat Jun 9 19:43:39 2012 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sat Jun 9 19:43:45 2012 Subject: cvsup of RELENG_8_1 In-Reply-To: <4FD248ED.702@nasby.net> (Jim Nasby's message of "Fri, 08 Jun 2012 13:48:13 -0500") References: <4FD248ED.702@nasby.net> Message-ID: <443964s23l.fsf@lowell-desk.lan> Jim Nasby writes: > I keep getting this error when trying to update source on 8.1: > > TreeList failed: Error in "/var/db/sup/src-all/checkouts.cvs:RELENG_8_1": 13890: Could not parse status record. Delete it and try again. Have you tried deleting /var/db/sup/src-all/checkouts.cvs:RELENG_8_1 and retrying cvsup? > I realize that 8.1 isn't formally supported anymore, but should cvsup still work? I can't upgrade right now because of the conflict between GPT and gmirror what was introduced in 8.2. Right. This isn't version-related. From jim at nasby.net Sat Jun 9 19:47:56 2012 From: jim at nasby.net (Jim Nasby) Date: Sat Jun 9 19:48:03 2012 Subject: cvsup of RELENG_8_1 In-Reply-To: <443964s23l.fsf@lowell-desk.lan> References: <4FD248ED.702@nasby.net> <443964s23l.fsf@lowell-desk.lan> Message-ID: <4FD3A860.5000806@nasby.net> On 6/9/12 2:43 PM, Lowell Gilbert wrote: > Jim Nasby writes: > >> I keep getting this error when trying to update source on 8.1: >> >> TreeList failed: Error in "/var/db/sup/src-all/checkouts.cvs:RELENG_8_1": 13890: Could not parse status record. Delete it and try again. > > Have you tried deleting /var/db/sup/src-all/checkouts.cvs:RELENG_8_1 and > retrying cvsup? Somehow I got it in my head that that was a file living on the cvsup server and not locally. After deleting that file all is good. Thanks for your help! -- Jim C. Nasby, Database Architect jim@nasby.net 512.569.9461 (cell) http://jim.nasby.net From walterhurry at gmail.com Sat Jun 9 20:45:52 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Sat Jun 9 20:46:20 2012 Subject: FreeBSD: SOLVED: FreeBSD9 - I can't get my mouse to work (was : FreeBSD9 - I can't get my mouse to work) References: <20120607145901.3022770d@scorpio> <4FD24B69.6050001@bananmonarki.se> <4FD2C9E1.2060304@bananmonarki.se> Message-ID: On Sat, 09 Jun 2012 05:58:25 +0200, Bernt Hansson wrote: > 2012-06-09 00:10, Walter Hurry skrev: >> On Fri, 08 Jun 2012 20:58:49 +0200, Bernt Hansson wrote: >> >>> 2012-06-08 17:51, Walter Hurry skrev: >>>> On Fri, 08 Jun 2012 15:39:22 +0000, Walter Hurry wrote: >>>> Never mind: Stupid moi. The answer was staring me in the face in man >>>> rc.conf. moused_port. >>>> >>>> >>> You also have moused_flags="Put your flags here" >>> >>> That does not help, not me anyway. >> >> Indeed you do. But I didn't need moused_flags (nor moused_type) - just >> moused_port. I was then able to restore /etc/rc.d/moused to its >> pristine state. > > That would be moused_flags="-p /dev/sysmouse" Ah, good point. As ever, there's always more than one way to skin a cat. :-) From walterhurry at gmail.com Sat Jun 9 20:50:09 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Sat Jun 9 20:50:16 2012 Subject: Problems with portupgrade libreoffice References: <20120609171225.GA2860@rusty.rusty.com> Message-ID: On Sat, 09 Jun 2012 18:12:25 +0100, Dave Morgan wrote: > On 09/06/12 at 04:41P, Walter Hurry wrote: >> FreeBSD 9 on x86_64. >> >> I am in the process of doing a portupgrade on libreoffice (from 3.4.4 >> to 3.5.2.5). During the build it has (so far) errored out 4 times, in >> the following modules: >> >> vcl framework sfx2 tail_build >> >> Each time, it told me to go into the subdirectory, do a gmake clean and >> a gmake -r there, then return to the top level and rerun make. >> >> This I duly did, but to my surprise, each time I ran the gmake -r, it >> completed successfully. >> >> When the top-level make finally succeeds, I intend simply to rerun the >> portupgrade, on the theory that seeing everything already made, it will >> just do the uninstall/reinstall, sort out the dependencies and so >> forth. >> >> Q1) Is this a sensible approach? >> >> Q2) Has anyone else seen this? What is going on? > > There is a thread in the forums which recommends removing boost-libs and > boost-jam, building libreoffice then reinstalling them. > > I did this and it worked for me. Thanks. I'll try that and report back. From tundra at tundraware.com Sat Jun 9 21:43:42 2012 From: tundra at tundraware.com (Tim Daneliuk) Date: Sat Jun 9 21:43:49 2012 Subject: [ANN] tperimeter 1.113 Released And Available Message-ID: <4FD3C37C.7080009@tundraware.com> 'tperimeter' Version 1.113 is released and available at: http://www.tundraware.com/Software/tperimeter/ The last public release was 1.112 What's New ---------- Changed the wrapper file rebuild logic to delete outstanding access requests independently of how often the script is run (either by cron, or manually). This means that the 'cron' frequency now determines the average waiting time before a user's request is fulfilled. The '${DURATION}' variable in 'rebuild-hosts.allow.sh' sets how long access will be permitted (The default value is 10 minutes). Minor documentation updates, typo fixes, and housekeeping. What Is 'tperimeter'? --------------------- Have you ever been away from the office and needed, say, ssh access to your system? Ooops - you can't do that because in your zealous pursuit of security, you set your TCP wrappers to prevent outside access to all but a select group of hosts. Worse still, everywhere you go, your local IP address changes so there is no practical way to open up the wrappers for this situation. 'tperimeter' is a dynamic TCP wrapper control system that gives you (limited) remote control of your TCP wrapper configuration. It does this via a web interface that you've (hopefully) secured with https/SSL. You just log in, specify your current IP address and one of the services you want to access. 'tperimeter' will then briefly open a hole in your wrappers long enough to let you in. It then automatically closes the hole again. Voila! Remote access to your system, wherever you are. You get much of the facility of a VPN or so-called "port knocking" without most of the aggravation. As a side benefit, 'tperimeter' will also simplify management of your standard /etc/hosts.allow TCP wrapper control file. 'tperimeter' is written in python, shell script, and html. It is very small and easy to maintain. It was developed and tested on FreeBSD 4.x/8.x, and apache 1.x/2.x, but should run with very minor (or no) modification on most Unix-like systems like Linux or Mac OS X hosts. It comes complete with documentation in html, pdf, dvi, and Postscript formats. There is no licensing fee for any use, personal, commercial, government, or institutional. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From rwmaillists at googlemail.com Sat Jun 9 22:38:38 2012 From: rwmaillists at googlemail.com (RW) Date: Sat Jun 9 22:38:45 2012 Subject: ran out of inodes on /var, recommended value? In-Reply-To: <4FD34E2A.7060700@dreamchaser.org> References: <4FD34E2A.7060700@dreamchaser.org> Message-ID: <20120609233827.497b2ca4@gumby.homeunix.com> On Sat, 09 Jun 2012 07:22:50 -0600 Gary Aitken wrote: > I reconfigured my ssd filesystem with the /var partition of size > 512M. Unfortunately, something in portsnap or the ports tree in > general uses a boatload of small files, and i ran out of inodes. Can > anyone recommend an appropriate size for the newfs -i value? 1024? > less? portsnap needs roughly one file per port plus one for each out of date port during a fetch. There are 23658 ports. In FreeBSD 9 the fragment size increased, halving the default number of inodes. With only 32k inodes it's possible to run out with portsnap alone. You can probably get away with the old default of 64k (-i 8192), or perhaps 128k (-i 4096). Check how many files you have outside of portsnap and do the arithmetic. From illoai at gmail.com Sun Jun 10 00:43:32 2012 From: illoai at gmail.com (illoai@gmail.com) Date: Sun Jun 10 00:43:39 2012 Subject: ran out of inodes on /var, recommended value? In-Reply-To: <20120609233827.497b2ca4@gumby.homeunix.com> References: <4FD34E2A.7060700@dreamchaser.org> <20120609233827.497b2ca4@gumby.homeunix.com> Message-ID: On 9 June 2012 18:38, RW wrote: > On Sat, 09 Jun 2012 07:22:50 -0600 > Gary Aitken wrote: > >> I reconfigured my ssd filesystem with the /var partition of size >> 512M. ?Unfortunately, something in portsnap or the ports tree in >> general uses a boatload of small files, and i ran out of inodes. ?Can >> anyone recommend an appropriate size for the newfs -i value? ?1024? >> less? > > portsnap needs roughly one file per port plus one for each > out of date port during a fetch. There are 23658 ports. > > In FreeBSD 9 the fragment size increased, halving the default number of > inodes. With only 32k inodes it's possible to run out with portsnap > alone. You can probably get away with the old default of 64k (-i > 8192), or perhaps 128k (-i 4096). Check how many files you have outside > of portsnap and do the arithmetic. > Or, move the portsnap tree to somewhere other than /var (see /etc/portsnap.conf for that & such). I think that a file-backed md* mounted only when portsnap was in use would save on inodes, yeah? *I guess mdmfs(8) is the jawns y'all use nowadays, yo? -- -- From ml at my.gd Sun Jun 10 01:27:31 2012 From: ml at my.gd (Damien Fleuriot) Date: Sun Jun 10 01:27:39 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120609164855.GB31721@hemlock.hydra> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> Message-ID: <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> On 9 Jun 2012, at 18:48, Chad Perrin wrote: > On Wed, Jun 06, 2012 at 11:42:37PM +0200, Damien Fleuriot wrote: >> >> On 6 Jun 2012, at 21:52, Dave U. Random wrote: >> >>> Polytropon wrote: >>> >>>> On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: >>>>> Having to pay Verisign instead of Microsoft makes no difference: the >>>>> point is why should I have to pay anything to a third party in order to >>>>> run whatever OS I want on a piece of hardware I own? >>> >>> It's time to dump the Intel/Microshaft mafia forever. FreeBSD, OpenBSD, >>> NetBSD, and even Linux have ports to many platforms. Why stay on Intel? It's >>> an overgrown ugly mess. >>> >>> We need to stop buying Intel mafiaware with preinstalled Microshaft mafiware >>> and run a free (or in the case of Linux "apparently free") OS on free >>> hardware. >>> >>> There are increasing numbers of SBCs and plenty of used servers on >>> Ebay. They're all built better than commodity Intel mafiaware. Good >>> riddance! >>> >> >> You have no idea what you're talking about. >> >> This kind of religious propaganda post is neither constructive nor >> helpful. > > It should be noted that your tone is neither constructive nor helpful, to > say nothing of your contentless response. Do you have anything useful to > say in response to what Dave U. Random contributed -- perhaps a > thoughtful refutation of some specific point(s)? I hope you have more of > value to contribute than your obvious disdain for people who disagree > with you about something (without even specifying on what points you > disagree). > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > If you had bothered to read all the other mails I've posted on this very specific thread, you wouldn't need to ask the question. If you're going to participate in the Linux zealots' propaganda that makes OSS defenders sound so ridiculous and delusional, so be it. Fact is, if Microsoft didn't deliver acceptable products, people wouldn't use them. Calling them a mafia is neither constructive (I invite you to look up the word mafia in a thesaurus), nor backed up by actual facts. OP is just going on a rampage about MS and intel. You want to follow his advice and advocate the exclusive use of alpha machines ? I guess we'll have to agree to disagree here. No, I'm not gonna use alphas. And no, I'm not going to let a random person (hey, choice words !) call intel or MS a mafia just because he's on a zealot crusade. You might want to take a minute to consider the contributions of both to computing. Without MS (and IBM amongst others) it's possible that computing would never have reached such an audience as it has. So I'm going with the (possibly false) assumption that without MS and other major actors, not many people would use computers nowadays. All this magnificent OSS wouldn't be of much use then. After all, who would need FreeBSD servers to host web sites that had neither visitors nor purpose ? One might see MS as the ultimate evil, yet they're strongly implemented in corporate IT. One might wonder why, before engaging in a crusade, and brandishing empty words as their weapons. I invite you to re-read OP's post and highlight what in "mafiaware", "wintel" and "microshaft" you find constructive. I also invite you to read all his points about why exactly intel is an "overgrown ugly mess". I regret to report I have found none, might you point them out for me ? Now, I shall leave you to read my other posts on this "secure boot" topic, that you might quit claiming I have nothing to contribute. From rfg at tristatelogic.com Sun Jun 10 02:30:54 2012 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Sun Jun 10 02:31:00 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <4FD38B9A.4010400@qeng-ho.org> Message-ID: <12119.1339295453@tristatelogic.com> In message <4FD38B9A.4010400@qeng-ho.org>, Arthur Chance wrote: >There's a BFI (brute force and ignorance) way of doing it in the base >system - dd. Provided your system disk is quiescent (ideally when >running from a live CD or all partitions mounted read-only, otherwise >pray to the deity of your choice) and the backup disk is a) at least as >large as the system disk, and b) has the same sector size, then a simple >dd from the system disk to the backup should work. Thank you Arthur, and yes, trying to back up a partition that's currently mounted r/w using dd will almost certainly not produce the desired results. And of course, as you correctly note also, the target partition had best be at least as big as the source (and perhaps even identical in size). I don't care to take own my system to make backups... and don't believe that I should have to do so, and thus, this is one of the reasons why I would prefer to use something like cpio. Also, I don't like backups taking longer than absolutely necessary, and this is why I am specifically _not_ attracted to either the dd solution or to dump/restore, because as I understand it, with either of these methods you end up copying perhaps a metric buttload worth of unallocated free disk space. (I would prefer not to do that. It just seems wasteful... of time, if nothing else.) Also, in one case, one of my partitions has one directory that contains a really massive amount of stuff, and I specifically _don't_ need any of that particular stuff (in that one directory) backed up. So again, I'm looking at tar or cpio or perhaps pax. (Of course cpio is more full-featured than tar, and I don't really know anything about pax, so that leaves me with cpio.) >[Greybeard war story:] Going back about 25-30 years, a friend of mine >was responsible for running the Unix systems in an EE department of a UK >university. He used to back up the disks (probably around 10 MB in those >days) to 1/2" tape every night. Eventually he got sick of undergraduates >asking him to restore files they'd accidentally deleted, and hit upon >the idea of dd'ing the disk to tape, and then if a student wanted a >restore, he'd mount the tape as a r/o file system (these were the days >of tape block devices and trusting all users) and tell them to use >restore to get the files themselves. It took forever, but it was the >student's time that was wasted, not his. Most of them learned not to >delete wanted files after one or two times of doing this. My own greybeard story: Back in the late 70s I was in college and had just switched major to CS. My college had a mainframe, but also a PDP-11 to which were connected a number of ASR-33s (Who could ever forget THOSE!) Students who asked could get an account on the PDP-11/RSTS-E system. I did, and started experimenting. I remember one day I really pissed off the specific Computer Center staff member who was assigned to the care & feeding of the RSTS-E system when her backup tape started whizzing back and forth for no apparent reason. At least it seemed that way to her, since she had only just mounted the tape and _she_ had not issued any console commands yet which would have caused the tape drive to do anything. :-) Needless to say RSTS-E was, apparently, not quite as sophisticated at that time as, say, UNIX, in terms of protecting physical I/O devices from general Joe-Schmo users. I never became friends with that specific Computer Center staff member, but I did end up as the only CS undergraduate who got a job in the campus Computer Center. Sorry. You talking about tapes just reminded of that incident, way back when. (Sigh. The good old daze.... when men were men, and the bits ran scared!) Moral of the story is that sometimes it actually does pay to be a smartass. Regards, rfg P.S. It really is a Damn Shame[tm] that nobody ever hacked FreeBSD cpio to make it be able to copy (a) the extra file flag/mode bits and/or (b) file ACLs and/or (c) file attributes. I guess I have found a new project for myself... when/if I ever find some free time. From wblock at wonkity.com Sun Jun 10 02:48:15 2012 From: wblock at wonkity.com (Warren Block) Date: Sun Jun 10 02:48:23 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <12119.1339295453@tristatelogic.com> References: <12119.1339295453@tristatelogic.com> Message-ID: On Sat, 9 Jun 2012, Ronald F. Guilmette wrote: > > Also, I don't like backups taking longer than absolutely necessary, and > this is why I am specifically _not_ attracted to either the dd solution > or to dump/restore, because as I understand it, with either of these methods > you end up copying perhaps a metric buttload worth of unallocated free > disk space. No, that is one of the biggest advantages of dump over dd. dump knows UFS, and only copies occupied sectors and needed information. That's why it can be restored file-by-file or to a partition of a different size. > Also, in one case, one of my partitions has one directory that contains > a really massive amount of stuff, and I specifically _don't_ need any of > that particular stuff (in that one directory) backed up. So again, I'm > looking at tar or cpio or perhaps pax. (Of course cpio is more full-featured > than tar, and I don't really know anything about pax, so that leaves me > with cpio.) Directories and files can be skipped with the nodump flag. > P.S. It really is a Damn Shame[tm] that nobody ever hacked FreeBSD cpio > to make it be able to copy (a) the extra file flag/mode bits and/or (b) > file ACLs and/or (c) file attributes. A quick search shows dump should support ACLs. The other stuff is also there. Try it. http://www.wonkity.com/~wblock/docs/html/backup.html From g.todd at internet.co.nz Sun Jun 10 04:52:43 2012 From: g.todd at internet.co.nz (The Todds) Date: Sun Jun 10 04:52:50 2012 Subject: Chromium Crashes Message-ID: <1339303294.3208.6.camel@localhost> I have just have built and installed Chromium 19.0.1084.52 from the ports on my amd64 machine - 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Nov 5 08:40:03 NZDT 2011 Portversion chromium-19.0.1084.52_2 = up-to-date with port On web sites which contains graphics Chromium crashes with the following error: [3152:171983296:14310963010:ERROR:CONSOLE(1)] "Uncaught ReferenceError: ntp is not defined", source: (1) Any ideas how to resolve this issue. Glenn From subhro at 80386.org Sun Jun 10 05:04:30 2012 From: subhro at 80386.org (Subhro Sankha Kar) Date: Sun Jun 10 05:04:38 2012 Subject: link_elf_obj: symbol ata_controlcmd undefined In-Reply-To: References: Message-ID: <94FE1CB5-F92E-4083-8DC4-8A22D353EAC2@80386.org> Hello, Looks like you have missed out something related to ATA in the kernel configuration file. Can you post your complete kernel config? Thanks Subhro -- Subhro Sankha Kar System Administrator Working and playing with FreeBSD since 2002 On 20-May-2012, at 5:53 PM, C. P. Ghost wrote: > Hello, > > what does this boot message means, and where > does it come from? > > link_elf_obj: symbol ata_controlcmd undefined > linker_load_file: Unsupported file type > > It appears between between > ZFS storage pool version 28 > and > drm0: on vgapci0 > > uname -a: > > FreeBSD phenom.cordula.ws 9.0-STABLE FreeBSD 9.0-STABLE #0 > r235604: Fri May 18 15:49:06 CEST 2012 root@phenom.cordula.ws: > /usr/obj/usr/src/sys/GENERIC amd64 > > TIA, > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From subhro at 80386.org Sun Jun 10 05:07:50 2012 From: subhro at 80386.org (Subhro Sankha Kar) Date: Sun Jun 10 05:07:58 2012 Subject: Chromium Crashes In-Reply-To: <1339303294.3208.6.camel@localhost> References: <1339303294.3208.6.camel@localhost> Message-ID: <1844503E-EC4C-4AA5-837B-71E72A9FC829@80386.org> Hello, It looks like you have hit a documented bug. See this: http://code.google.com/p/chromium/issues/detail?id=125447 http://src.chromium.org/viewvc/chrome?view=rev&revision=141116 Did you try upgrading your ports? Thanks Subhro -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 On 10-Jun-2012, at 10:11 AM, The Todds wrote: > I have just have built and installed Chromium 19.0.1084.52 from the > ports on my amd64 machine - 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Nov 5 > 08:40:03 NZDT 2011 > > Portversion chromium-19.0.1084.52_2 = up-to-date with port > > On web sites which contains graphics Chromium crashes with the following > error: > > [3152:171983296:14310963010:ERROR:CONSOLE(1)] "Uncaught ReferenceError: > ntp is not defined", source: (1) > > Any ideas how to resolve this issue. > > Glenn > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From subhro at 80386.org Sun Jun 10 05:12:54 2012 From: subhro at 80386.org (Subhro Sankha Kar) Date: Sun Jun 10 05:13:01 2012 Subject: ran out of inodes on /var, recommended value? In-Reply-To: References: <4FD34E2A.7060700@dreamchaser.org> <20120609233827.497b2ca4@gumby.homeunix.com> Message-ID: On 10-Jun-2012, at 6:13 AM, illoai@gmail.com wrote: > On 9 June 2012 18:38, RW wrote: >> On Sat, 09 Jun 2012 07:22:50 -0600 >> Gary Aitken wrote: >> >>> I reconfigured my ssd filesystem with the /var partition of size >>> 512M. Unfortunately, something in portsnap or the ports tree in >>> general uses a boatload of small files, and i ran out of inodes. Can >>> anyone recommend an appropriate size for the newfs -i value? 1024? >>> less? >> >> portsnap needs roughly one file per port plus one for each >> out of date port during a fetch. There are 23658 ports. >> >> In FreeBSD 9 the fragment size increased, halving the default number of >> inodes. With only 32k inodes it's possible to run out with portsnap >> alone. You can probably get away with the old default of 64k (-i >> 8192), or perhaps 128k (-i 4096). Check how many files you have outside >> of portsnap and do the arithmetic. >> > > Or, move the portsnap tree to somewhere other than /var > (see /etc/portsnap.conf for that & such). > I think that a file-backed md* mounted only when portsnap > was in use would save on inodes, yeah? Actually I think that is a very good idea. That is how I have set up my system as well with one difference. I have tons of memory and use a memory based filesystem to store all the in-compile objects. -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 From g.todd at internet.co.nz Sun Jun 10 06:09:54 2012 From: g.todd at internet.co.nz (The Todds) Date: Sun Jun 10 06:10:02 2012 Subject: Chromium Crashes In-Reply-To: <1844503E-EC4C-4AA5-837B-71E72A9FC829@80386.org> References: <1339303294.3208.6.camel@localhost> <1844503E-EC4C-4AA5-837B-71E72A9FC829@80386.org> Message-ID: <1339308614.3208.11.camel@localhost> Yes this is the latest build (5th June) of Chromium. I suppose I could revert to the 18.0.1025.168 version using portdowngrade until this fault is fixed. Glenn On Sun, 2012-06-10 at 10:37 +0530, Subhro Sankha Kar wrote: > Hello, > > It looks like you have hit a documented bug. See this: > > http://code.google.com/p/chromium/issues/detail?id=125447 > http://src.chromium.org/viewvc/chrome?view=rev&revision=141116 > > Did you try upgrading your ports? > > Thanks > Subhro > > -- > Subhro Sankha Kar > System Administrator > Working and Playing with FreeBSD since 2002 > > On 10-Jun-2012, at 10:11 AM, The Todds wrote: > > > I have just have built and installed Chromium 19.0.1084.52 from the > > ports on my amd64 machine - 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Nov 5 > > 08:40:03 NZDT 2011 > > > > Portversion chromium-19.0.1084.52_2 = up-to-date with port > > > > On web sites which contains graphics Chromium crashes with the following > > error: > > > > [3152:171983296:14310963010:ERROR:CONSOLE(1)] "Uncaught ReferenceError: > > ntp is not defined", source: (1) > > > > Any ideas how to resolve this issue. > > > > Glenn > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From subhro at 80386.org Sun Jun 10 07:45:51 2012 From: subhro at 80386.org (Subhro Sankha Kar) Date: Sun Jun 10 07:45:57 2012 Subject: Chromium Crashes In-Reply-To: <1339308614.3208.11.camel@localhost> References: <1339303294.3208.6.camel@localhost> <1844503E-EC4C-4AA5-837B-71E72A9FC829@80386.org> <1339308614.3208.11.camel@localhost> Message-ID: <79763B58-FD6C-49A5-9D9A-48752287D611@80386.org> Hello, On 10-Jun-2012, at 11:40 AM, The Todds wrote: > Yes this is the latest build (5th June) of Chromium. I suppose I could > revert to the 18.0.1025.168 version using portdowngrade until this > fault is fixed. > > Glenn It looks like the port is lagging back from mainstream. You could also write to the maintainers. I am copying the maintainers just in case someone is already on it. Thanks Subhro -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 > On Sun, 2012-06-10 at 10:37 +0530, Subhro Sankha Kar wrote: >> Hello, >> >> It looks like you have hit a documented bug. See this: >> >> http://code.google.com/p/chromium/issues/detail?id=125447 >> http://src.chromium.org/viewvc/chrome?view=rev&revision=141116 >> >> Did you try upgrading your ports? >> >> Thanks >> Subhro >> >> -- >> Subhro Sankha Kar >> System Administrator >> Working and Playing with FreeBSD since 2002 >> >> On 10-Jun-2012, at 10:11 AM, The Todds wrote: >> >>> I have just have built and installed Chromium 19.0.1084.52 from the >>> ports on my amd64 machine - 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Nov 5 >>> 08:40:03 NZDT 2011 >>> >>> Portversion chromium-19.0.1084.52_2 = up-to-date with port >>> >>> On web sites which contains graphics Chromium crashes with the following >>> error: >>> >>> [3152:171983296:14310963010:ERROR:CONSOLE(1)] "Uncaught ReferenceError: >>> ntp is not defined", source: (1) >>> >>> Any ideas how to resolve this issue. >>> >>> Glenn >>> >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From walterhurry at gmail.com Sun Jun 10 08:01:00 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Sun Jun 10 08:01:56 2012 Subject: Problems with portupgrade libreoffice References: <20120609171225.GA2860@rusty.rusty.com> Message-ID: On Sat, 09 Jun 2012 20:46:49 +0000, Walter Hurry wrote: > On Sat, 09 Jun 2012 18:12:25 +0100, Dave Morgan wrote: > >> On 09/06/12 at 04:41P, Walter Hurry wrote: >>> FreeBSD 9 on x86_64. >>> >>> I am in the process of doing a portupgrade on libreoffice (from 3.4.4 >>> to 3.5.2.5). During the build it has (so far) errored out 4 times, in >>> the following modules: >>> >>> vcl framework sfx2 tail_build >>> >>> Each time, it told me to go into the subdirectory, do a gmake clean >>> and a gmake -r there, then return to the top level and rerun make. >>> >>> This I duly did, but to my surprise, each time I ran the gmake -r, it >>> completed successfully. >>> >>> When the top-level make finally succeeds, I intend simply to rerun the >>> portupgrade, on the theory that seeing everything already made, it >>> will just do the uninstall/reinstall, sort out the dependencies and so >>> forth. >>> >>> Q1) Is this a sensible approach? >>> >>> Q2) Has anyone else seen this? What is going on? >> >> There is a thread in the forums which recommends removing boost-libs >> and boost-jam, building libreoffice then reinstalling them. >> >> I did this and it worked for me. > > Thanks. I'll try that and report back. Yes, that did the trick. It zoomed through! Very many thanks. I'll need to keep an eye on the forum, methinks. From peter at vereshagin.org Sun Jun 10 08:31:26 2012 From: peter at vereshagin.org (Peter Vereshagin) Date: Sun Jun 10 08:31:33 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <12119.1339295453@tristatelogic.com> References: <4FD38B9A.4010400@qeng-ho.org> <12119.1339295453@tristatelogic.com> Message-ID: <20120610082056.GA12735@external.screwed.box> Hello. 2012/06/09 19:30:53 -0700 "Ronald F. Guilmette" => To Arthur Chance : RFG> Thank you Arthur, and yes, trying to back up a partition that's currently RFG> mounted r/w using dd will almost certainly not produce the desired results. You can make snapshot to back up rw-mounted volume with dd. dump(8)ing rw-mounted ufs makes a snapshot behind the scenes. -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From mike at milibyte.co.uk Sun Jun 10 08:46:07 2012 From: mike at milibyte.co.uk (Mike Clarke) Date: Sun Jun 10 08:46:14 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <12119.1339295453@tristatelogic.com> References: <12119.1339295453@tristatelogic.com> Message-ID: <201206100942.52461.mike@milibyte.co.uk> On Sunday 10 June 2012 03:30:53 Ronald F. Guilmette wrote: > I don't care to take own my system to make backups... and don't believe > that I should have to do so, and thus, this is one of the reasons why I > would prefer to use something like cpio. > > Also, I don't like backups taking longer than absolutely necessary, and > this is why I am specifically _not_ attracted to either the dd solution > or to dump/restore, Not an immediate solution but have you considered switching from UFS to ZFS ? If you have sufficient memory and CPU power then this might be worth the effort. Creating ZFS snapshots and backing them up incrementally with zfs send | zfs receive should be very quick. -- Mike Clarke From bonomi at mail.r-bonomi.com Sun Jun 10 09:12:18 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Sun Jun 10 09:12:29 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <12119.1339295453@tristatelogic.com> Message-ID: <201206100912.q5A9CkX7096739@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Sat Jun 9 21:33:57 2012 > To: Arthur Chance > Date: Sat, 09 Jun 2012 19:30:53 -0700 > From: "Ronald F. Guilmette" > Cc: freebsd-questions@freebsd.org > Subject: Re: Making a bootable backup (hard)disk... how? > > > In message <4FD38B9A.4010400@qeng-ho.org>, > Arthur Chance wrote: > > >There's a BFI (brute force and ignorance) way of doing it in the base > >system - dd. Provided your system disk is quiescent (ideally when > >running from a live CD or all partitions mounted read-only, otherwise > >pray to the deity of your choice) and the backup disk is a) at least as > >large as the system disk, and b) has the same sector size, then a simple > >dd from the system disk to the backup should work. > > Thank you Arthur, and yes, trying to back up a partition that's currently > mounted r/w using dd will almost certainly not produce the desired results. > > And of course, as you correctly note also, the target partition had best be > at least as big as the source (and perhaps even identical in size). > > I don't care to take own my system to make backups... and don't believe > that I should have to do so, and thus, this is one of the reasons why I > would prefer to use something like cpio. > > Also, I don't like backups taking longer than absolutely necessary, and > this is why I am specifically _not_ attracted to either the dd solution > or to dump/restore, because as I understand it, with either of these methods > you end up copying perhaps a metric buttload worth of unallocated free > disk space. (I would prefer not to do that. It just seems wasteful... > of time, if nothing else.) Dump does *NOT* copy 'unallocated free disk space'. It does a directory- based traversal. And copies only the contents of the files encountered. does not copy 'deleted but still open' files, nor does it include deleted directory entries in the copy of the directory. dump _can_ be used on a r/w-mounted filesystem. It is smart enough to make multiple passes, note files that have changed since the prior pass, and re-copy those changed files into the archive. As long as changes are relatvely 'infrequent', and to 'small' files, dump will generally manage to outrun the changes. Since dump works through the O/S, it also catches data and/or meta-data changes that are buffered/cached in O/S memory that have not actually made it to disk, yet. Using dump on a mounted, active, writable filesystem is "not recommended", but it -does- work adequately, assuming the write activity on the filesystem is low. *IF* the filesystem is fairly full, with source and dest arranged such that they do not saturate I/O controller capabilities, 'dd' (or, preferably 'ddd' which is a double-buffered drop-in replacement) with large buffers (several times the size of the 'on disk' cache'), _is_ the fastest way to make a backup of the data. > Also, in one case, one of my partitions has one directory that contains > a really massive amount of stuff, and I specifically _don't_ need any of > that particular stuff (in that one directory) backed up. So again, I'm > looking at tar or cpio or perhaps pax. (Of course cpio is more full-featured > than tar, and I don't really know anything about pax, so that leaves me > with cpio.) Pax (the portable archiver) is the "new, improved, with miracle whitener" cpio -- does everthing tradtional cpio does, and more. it will read/write four different (and mutually incompatable) 'cpio' formats, and two different 'tar' formats. One can replace pretty much any use of 'cpio' or 'tar' (or their cousins) with pax. It _is_ worth investigating. > when. (Sigh. The good old daze.... when men were men, and the bits ran > scared!) > > Moral of the story is that sometimes it actually does pay to be a smartass. > > > Regards, > rfg > > > P.S. It really is a Damn Shame[tm] that nobody ever hacked FreeBSD cpio > to make it be able to copy (a) the extra file flag/mode bits and/or (b) > file ACLs and/or (c) file attributes. If pax doesn't already support extended flags, it would be a relatively trivial hack to get it to do so. Ditto for ACLs. pax uses libarchive ("man 3 archive") which has the capabilities for handling those things in the description of an archive entry. One would probably want to declare it as a separate archive 'type' -- to support auto-detect of the inclusion of that 'extended' metadata. From bycn82 at gmail.com Sun Jun 10 09:43:40 2012 From: bycn82 at gmail.com (Bill Yuan) Date: Sun Jun 10 09:43:47 2012 Subject: how to allow by MAC Message-ID: Hi, how to allow by MAC in ipfw currently i set the rule like below 1 allow ip from any to any MAC any to 1 allow ip from any to any MAC any 2 deny all from any to any i want to only allow the mac address to go through the freebsd firewall, but I found it is not working on my freebsd but it works on pfsense! so maybe that means the environment is not the same ? and how to setup the ipfw properly to support this ? From rfg at tristatelogic.com Sun Jun 10 11:12:33 2012 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Sun Jun 10 11:12:39 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: Message-ID: <9715.1339326750@tristatelogic.com> In message , you wrote: >On Sat, 9 Jun 2012, Ronald F. Guilmette wrote: > >> >> Also, I don't like backups taking longer than absolutely necessary, and >> this is why I am specifically _not_ attracted to either the dd solution >> or to dump/restore, because as I understand it, with either of these methods >> you end up copying perhaps a metric buttload worth of unallocated free >> disk space. > >No, that is one of the biggest advantages of dump over dd. dump knows >UFS, and only copies occupied sectors and needed information. OK. I obviously got the Wrong Impression about dump/restore. Thanks for setting me straight. (I got the Wrong Impression, I think, because I have read assertions like "...dump backs up at the filesystem block level...". What does that mean exactly? Use of the term "block level" in this context makes me think of something operating along the lines of dd.) >> Also, in one case, one of my partitions has one directory that contains >> a really massive amount of stuff, and I specifically _don't_ need any of >> that... backed up. > >Directories and files can be skipped with the nodump flag. I am in your debt again. I really will start looking at dump/restore. >> P.S. It really is a Damn Shame[tm] that nobody ever hacked FreeBSD cpio >> to make it be able to copy (a) the extra file flag/mode bits and/or (b) >> file ACLs and/or (c) file attributes. > >A quick search shows dump should support ACLs. The other stuff is also >there. Try it. > >http://www.wonkity.com/~wblock/docs/html/backup.html THANK YOU! I am finding the above document very helpful. It really never even occured to me that one could pipe the output of dump directly to restore. (Obviously, that pairing creates something very much along the lines of cpio's -p option... which is one thing that I _am_ already familiar with.) Now that I've read your helpful document, I do have three short follow-up questions... 1) In your example under the heading "Copying Filesystems", the second shell command line shown is: dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt && restore -ruf -) Is that correct? Shouldn't it actually be this instead? dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt/usr && restore -ruf -) I mean if the goal is to create a whole backup under /mnt that looks just like the whole original system, then shouldn't ``restoration'' of the /usr part of the original system go into /mnt/usr? 2) Towards the end of your document you mention rsync. Assuming that I have made a backup of my entire /usr partition (using dump&restore) into /mnt/usr and that at midnight every night from now on I want to simply refresh that and bring it up to date with the current contents of my actual /usr partition, what is the most proper way to do this? Should I use rsync for that? Or should I use dump&restore again? If that latter, then how exactly does that work? I mean if I do the pipeline from dump to restore as you have shown in your examples in your "Copying Filesystems" section, then what must I do in order prevent dump from dumping files that haven't changed? (And likewise, how do I prevent restore from trying to restore files under /mnt/usr that have not changed? Or is that answer to that question that I simply have to do the first thing, i.e. force dump not to dump any of the unchanged files?) 3) Assuming that I have a second disk to which I plan (now) to use dump&restore to make periodic copies of all of my ``normal'' (non-backup) filesystems onto. Assuming also that I've already installed the FreeBSD boot loader into the boot block on this second disk, and that I've already run fdisk & bsdlabel on it so as to set up all of the partitioning to be essentially identical to my ``main'' system disk. Assuming that all of this is the case, by using dump&restore as you have shown in your document under the heading "Copying Filesystems", will I have succeded at doing what I was first asking about in this thread, i.e. will I have successfully created a _bootable_ mirror of my main system disk... something that I can just plug in and go with, when and if disaster strikes and my main system disk suffers a horrifying head crash, you know, the day after the manufacturer's warranty period is up? Regards, rfg From jerry at seibercom.net Sun Jun 10 11:23:28 2012 From: jerry at seibercom.net (Jerry) Date: Sun Jun 10 11:23:35 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> Message-ID: <20120610072320.43359222@scorpio> On Sun, 10 Jun 2012 03:27:25 +0200 Damien Fleuriot articulated: >On 9 Jun 2012, at 18:48, Chad Perrin wrote: > >> On Wed, Jun 06, 2012 at 11:42:37PM +0200, Damien Fleuriot wrote: >>> >>> On 6 Jun 2012, at 21:52, Dave U. Random >>> wrote: >>> >>>> Polytropon wrote: >>>> >>>>> On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: >>>>>> Having to pay Verisign instead of Microsoft makes no difference: >>>>>> the point is why should I have to pay anything to a third party >>>>>> in order to run whatever OS I want on a piece of hardware I own? >>>> >>>> It's time to dump the Intel/Microshaft mafia forever. FreeBSD, >>>> OpenBSD, NetBSD, and even Linux have ports to many platforms. Why >>>> stay on Intel? It's an overgrown ugly mess. >>>> >>>> We need to stop buying Intel mafiaware with preinstalled >>>> Microshaft mafiware and run a free (or in the case of Linux >>>> "apparently free") OS on free hardware. >>>> >>>> There are increasing numbers of SBCs and plenty of used servers on >>>> Ebay. They're all built better than commodity Intel mafiaware. Good >>>> riddance! >>>> >>> You have no idea what you're talking about. >>> >>> This kind of religious propaganda post is neither constructive nor >>> helpful. >> >> It should be noted that your tone is neither constructive nor >> helpful, to say nothing of your contentless response. Do you have >> anything useful to say in response to what Dave U. Random >> contributed -- perhaps a thoughtful refutation of some specific >> point(s)? I hope you have more of value to contribute than your >> obvious disdain for people who disagree with you about something >> (without even specifying on what points you disagree). >> >If you had bothered to read all the other mails I've posted on this >very specific thread, you wouldn't need to ask the question. > >If you're going to participate in the Linux zealots' propaganda that >makes OSS defenders sound so ridiculous and delusional, so be it. > >Fact is, if Microsoft didn't deliver acceptable products, people >wouldn't use them. Calling them a mafia is neither constructive (I >invite you to look up the word mafia in a thesaurus), nor backed up by >actual facts. > >OP is just going on a rampage about MS and intel. > >You want to follow his advice and advocate the exclusive use of alpha >machines ? I guess we'll have to agree to disagree here. >No, I'm not gonna use alphas. >And no, I'm not going to let a random person (hey, choice words !) >call intel or MS a mafia just because he's on a zealot crusade. > >You might want to take a minute to consider the contributions of both >to computing. Without MS (and IBM amongst others) it's possible that >computing would never have reached such an audience as it has. So I'm >going with the (possibly false) assumption that without MS and other >major actors, not many people would use computers nowadays. All this >magnificent OSS wouldn't be of much use then. After all, who would >need FreeBSD servers to host web sites that had neither visitors nor >purpose ? > >One might see MS as the ultimate evil, yet they're strongly >implemented in corporate IT. One might wonder why, before engaging in >a crusade, and brandishing empty words as their weapons. > >I invite you to re-read OP's post and highlight what in "mafiaware", >"wintel" and "microshaft" you find constructive. I also invite you to >read all his points about why exactly intel is an "overgrown ugly >mess". I regret to report I have found none, might you point them out >for me ? > >Now, I shall leave you to read my other posts on this "secure boot" >topic, that you might quit claiming I have nothing to >contribute._______________________________________________ It is fairly easy to understand both sides in this discussion. When Microsoft supporters refer to open-source software as "open-sore" or "socialist-software" the FOSS community becomes enraged. However, when the open-source community retaliates it is considered acceptable. Quite frankly I read far more Microsoft based forums than open-source based ones and I can say without a doubt, at least in my experience, Microsoft proponents never attack open-source with the venomous hatred that open-source attacks Microsoft. In fact, the majority of Microsoft users that I know could not care less about what they consider an overly burdensome (geeky) open-source operating system. The whole argument can probably be boiled do to this: Disparaging other operating systems (Microsoft) and pointing out its failures is beneficial, constructive and therapeutic. Pointing out problems and failures regarding your own OS is destructive and flame bait. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From wblock at wonkity.com Sun Jun 10 12:23:15 2012 From: wblock at wonkity.com (Warren Block) Date: Sun Jun 10 12:23:23 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <9715.1339326750@tristatelogic.com> References: <9715.1339326750@tristatelogic.com> Message-ID: On Sun, 10 Jun 2012, Ronald F. Guilmette wrote: > (I got the Wrong Impression, I think, because I have read assertions like > "...dump backs up at the filesystem block level...". What does that mean > exactly? Use of the term "block level" in this context makes me think of > something operating along the lines of dd.) Rather than reading just the contents of files, dump operates at a lower level, backing up all of the blocks used by a filesystem. > 1) In your example under the heading "Copying Filesystems", the second > shell command line shown is: > > dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt && restore -ruf -) > > Is that correct? Shouldn't it actually be this instead? > > dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt/usr && restore -ruf -) > > I mean if the goal is to create a whole backup under /mnt that looks just > like the whole original system, then shouldn't ``restoration'' of the /usr > part of the original system go into /mnt/usr? The mount command above that is mount /dev/da0s1f /mnt The "f" indicates it's a split filesystem layout, where /, /var, /tmp, and /usr are separate filesystems in different partitions. That's a traditional layout in FreeBSD. bsdinstall in FreeBSD 9 creates a single filesystem, / . Restoring a dump of a /usr filesystem would go to /mnt/usr in that case. (That would mean you are converting from the split layout to a single filesystem, because with a combined filesystem you can't easily back up just /usr with dump. dump does not "cross filesystems" when making a backup.) > 2) Towards the end of your document you mention rsync. Assuming that I > have made a backup of my entire /usr partition (using dump&restore) into > /mnt/usr and that at midnight every night from now on I want to simply > refresh that and bring it up to date with the current contents of my > actual /usr partition, what is the most proper way to do this? Should > I use rsync for that? Or should I use dump&restore again? If that latter, > then how exactly does that work? I mean if I do the pipeline from dump > to restore as you have shown in your examples in your "Copying Filesystems" > section, then what must I do in order prevent dump from dumping files that > haven't changed? (And likewise, how do I prevent restore from trying to > restore files under /mnt/usr that have not changed? Or is that answer to > that question that I simply have to do the first thing, i.e. force dump > not to dump any of the unchanged files?) See the dump man page about dump levels. I have not tried a dump level higher than zero with a dump|restore copy, but expect it to work. rsync will do it, and would be my choice for that; start with -aH for options, and --exclude might be used for some directories that don't need to be copied. Also see the sysutils/rsnapshot port for an interesting snapshot use. Combined with a bootable FreeBSD like mfsBSD (http://mfsbsd.vx.sk/), that might be a workable alternative to creating a bootable backup. > 3) Assuming that I have a second disk to which I plan (now) to use > dump&restore to make periodic copies of all of my ``normal'' (non-backup) > filesystems onto. Assuming also that I've already installed the FreeBSD > boot loader into the boot block on this second disk, and that I've already > run fdisk & bsdlabel on it so as to set up all of the partitioning to be > essentially identical to my ``main'' system disk. Assuming that all of > this is the case, by using dump&restore as you have shown in your document > under the heading "Copying Filesystems", will I have succeded at doing what > I was first asking about in this thread, i.e. will I have successfully > created a _bootable_ mirror of my main system disk... something that I > can just plug in and go with, when and if disaster strikes and my main > system disk suffers a horrifying head crash, you know, the day after the > manufacturer's warranty period is up? With some tuning, yes. /etc/fstab mountpoints often won't match when such a drive is connected to a different port or new system. Use gpart(8) GPT labels or tunefs(8) filesystem labels. Likewise with the Ethernet board, so see rc.conf(5) about ifconfig_DEFAULT. gpart and GPT are easier than fdisk and bsdlabel. I really need to flip that disk setup article upside down, with gpart first as the new goodness. See also: http://www.wonkity.com/~wblock/docs/html/labels.html http://www.wonkity.com/~wblock/docs/html/disksetup.html From bycn82 at gmail.com Sun Jun 10 13:09:02 2012 From: bycn82 at gmail.com (Bill Yuan) Date: Sun Jun 10 13:09:09 2012 Subject: how to allow by MAC In-Reply-To: References: Message-ID: come on , someone help please, On Sun, Jun 10, 2012 at 5:43 PM, Bill Yuan wrote: > Hi, > > how to allow by MAC in ipfw > > currently i set the rule like below > > 1 allow ip from any to any MAC any to > 1 allow ip from any to any MAC any > 2 deny all from any to any > > i want to only allow the mac address to go through the freebsd firewall, > > but I found it is not working on my freebsd but it works on pfsense! > > so maybe that means the environment is not the same ? and how to setup the > ipfw properly to support this ? > > From jhs at berklix.com Sun Jun 10 13:34:21 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Sun Jun 10 13:34:29 2012 Subject: how to allow by MAC In-Reply-To: Your message "Sun, 10 Jun 2012 21:09:01 +0800." Message-ID: <201206101334.q5ADXsS5018279@fire.js.berklix.net> Hi, Reference: > From: Bill Yuan > Date: Sun, 10 Jun 2012 21:09:01 +0800 > Message-id: Bill Yuan wrote: > come on , someone help please, > > > > On Sun, Jun 10, 2012 at 5:43 PM, Bill Yuan wrote: > > > Hi, > > > > how to allow by MAC in ipfw > > > > currently i set the rule like below > > > > 1 allow ip from any to any MAC any to > > 1 allow ip from any to any MAC any > > 2 deny all from any to any > > > > i want to only allow the mac address to go through the freebsd firewall, > > > > but I found it is not working on my freebsd but it works on pfsense! > > > > so maybe that means the environment is not the same ? and how to setup the > > ipfw properly to support this ? Maybe others ignored it for the same reason I did: blocking by MAC number seems weird & of no interest, I block & pass by IP net number. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From jhs at berklix.com Sun Jun 10 13:40:46 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Sun Jun 10 13:40:54 2012 Subject: how to allow by MAC In-Reply-To: Your message "Sun, 10 Jun 2012 15:33:54 +0200." Message-ID: <201206101340.q5ADeRua018510@fire.js.berklix.net> "Julian H. Stacey" wrote: > Bill Yuan wrote: > > come on , someone help please, > > > > > > > > On Sun, Jun 10, 2012 at 5:43 PM, Bill Yuan wrote: > > > > > Hi, > > > > > > how to allow by MAC in ipfw > > > > > > currently i set the rule like below > > > > > > 1 allow ip from any to any MAC any to > > > 1 allow ip from any to any MAC any > > > 2 deny all from any to any > > > > > > i want to only allow the mac address to go through the freebsd firewall, > > > > > > but I found it is not working on my freebsd but it works on pfsense! > > > > > > so maybe that means the environment is not the same ? and how to setup the > > > ipfw properly to support this ? > > Maybe others ignored it for the same reason I did: blocking by MAC > number seems weird & of no interest, I block & pass by IP net number. as shown by ifconfig MAC : 6 byte IP : 4 byte (IPV4) Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From nobody at dizum.com Sun Jun 10 15:09:32 2012 From: nobody at dizum.com (Nomen Nescio) Date: Sun Jun 10 15:09:41 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120610072320.43359222@scorpio> Message-ID: This is really missing the point. The issue is not open source vs. proprietary although many people seem to try to steer everything into that meaningless conflict. The point is the WinTel Mafia's many years of collusion and screwing over the customer. Try to buy a commodity PC in any major store and it will come with Windows, and you have to pay for it. Now the WinTel Mafia got many companies onboard with their system to lock you out from the box you just bought. Bad enough it comes with Windows and you had to pay for it, and you don't even get an install disk. But the WinTel Mafia adds insult to injury and stops you from installing whatever software you want on it. What does this have to do with OSS v. proprietary source? Nothing! It is just about the WinTel Mafia's illegal, abuse trade practices. From eam1edward at gmail.com Sun Jun 10 16:17:48 2012 From: eam1edward at gmail.com (Edward M) Date: Sun Jun 10 16:17:55 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: Message-ID: <4FD4C9C7.7070206@gmail.com> On 06/10/2012 08:09 AM, Nomen Nescio wrote: > This is really missing the point. The issue is not open source > vs. proprietary although many people seem to try to steer everything into > that meaningless conflict. > > The point is the WinTel Mafia's many years of collusion and screwing over > the customer. Try to buy a commodity PC in any major store and it will come > with Windows, and you have to pay for it. Now the WinTel Mafia got many > companies onboard with their system to lock you out from the box you just > bought. Bad enough it comes with Windows and you had to pay for it, and you > don't even get an install disk. But the WinTel Mafia adds insult to injury > and stops you from installing whatever software you want on it. > > What does this have to do with OSS v. proprietary source? Nothing! > > It is just about the WinTel Mafia's illegal, abuse trade practices. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Need to have that congitiive distortion ckecked out because it makes it difficult to bring a logical conclusion, and creates an ill perspective on reality and keeps the person with a child like mentality; which makes the person to excerise worlds like wintel mafia,etc. From bruce at cran.org.uk Sun Jun 10 16:31:45 2012 From: bruce at cran.org.uk (Bruce Cran) Date: Sun Jun 10 16:31:52 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: Message-ID: <4FD4CBEE.1030503@cran.org.uk> On 10/06/2012 16:09, Nomen Nescio wrote: > The point is the WinTel Mafia's many years of collusion and screwing over > the customer. Try to buy a commodity PC in any major store and it will come > with Windows, and you have to pay for it. Does Intel control AMD too? Last I checked there are plenty of AMD machines in major stores and they come with Windows too. -- Bruce Cran From freebsd at dreamchaser.org Sun Jun 10 16:37:36 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Sun Jun 10 16:37:44 2012 Subject: ports: make config-recursive doesn't really Message-ID: <4FD4CD49.40605@dreamchaser.org> I'm trying to build a script to rebuild and reinstall everything I have installed from ports. I don't want to have to keep checking on it and filling out the appropriate check boxes for options. I naively assumed: for port in $ports do cd /usr/port/$port make config-recursive cd ../.. done would allow me to set up all the dependencies before continuing with the install. It appears, however, that it doesn't really recurse properly. I say "appears" only because this is my first time trying this and despite doing the above setting of options, I am confronted with additional options screens as the build progresses. Is there a way to get around this? Thanks, Gary From freebsd at dreamchaser.org Sun Jun 10 16:47:13 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Sun Jun 10 16:47:23 2012 Subject: fn going to X Message-ID: <4FD4CF8F.3030701@dreamchaser.org> What's the trick to allow fn to still be used to switch vtys when running X? At first I thought it was the wm grabbing it, but I've disabled that and now it goes to whatever app has the focus. Seems like something in the kernel has to grab it before it gets passed on to X. From kudzu at tenebras.com Sun Jun 10 16:55:27 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Sun Jun 10 16:55:34 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <4FD4CBEE.1030503@cran.org.uk> References: <4FD4CBEE.1030503@cran.org.uk> Message-ID: On Sun, Jun 10, 2012 at 9:31 AM, Bruce Cran wrote: > Does Intel control AMD too? Last I checked there are plenty of AMD machines > in major stores and they come with Windows too. So... attempting to bring reason into the argument? That won't do, I'm afraid. ;-) From ah at dreamchaser.org Sun Jun 10 17:02:16 2012 From: ah at dreamchaser.org (Gary Aitken) Date: Sun Jun 10 17:02:23 2012 Subject: fn going to X In-Reply-To: <4FD4CF8F.3030701@dreamchaser.org> References: <4FD4CF8F.3030701@dreamchaser.org> Message-ID: <4FD4D317.3020503@dreamchaser.org> On 06/10/12 10:47, Gary Aitken wrote: > What's the trick to allow fn to still be used to switch vtys when running X? > At first I thought it was the wm grabbing it, but I've disabled that and now it goes to whatever app has the focus. Seems like something in the kernel has to grab it before it gets passed on to X. I see it's fn when in X. However, once out of X on another vty, switching to the vty where X was started does not get me back to X. How do I get back to the X display which is running? From gobble.wa at gmail.com Sun Jun 10 17:16:42 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Sun Jun 10 17:16:49 2012 Subject: USB 3.0 delay in 'detecting' attached drive Message-ID: Hi, I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I plug a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 seconds for the drive to show up, on the USB 2.0 port it's instantly. I haven't used USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I need to reconfigure something or look at a different kernel config. here's my info $ uname -a FreeBSD hunny.waitman.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Jun 2 01:25:21 PDT 2012 root@:/usr/obj/usr/src/sys/KEYSHIA amd64 Notice the time.. 9:36:49 plugin, 9:37:59 drive shows up. USB 3.0 connect: Jun 10 09:36:49 hunny kernel: ugen1.2: at usbus1 Jun 10 09:36:49 hunny kernel: umass0: on usbus1 Jun 10 09:36:49 hunny kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100 Jun 10 09:36:49 hunny kernel: umass0:4:0:-1: Attached to scbus4 Jun 10 09:37:59 hunny kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 Jun 10 09:37:59 hunny kernel: da0: < > Fixed Direct Access SCSI-0 device Jun 10 09:37:59 hunny kernel: da0: 400.000MB/s transfers Jun 10 09:37:59 hunny kernel: da0: 476940MB (976773167 512 byte sectors: 255H 63S/T 60801C) Jun 10 09:40:30 hunny ntfs-3g[1098]: Mounted /dev/da0s1 (Read-Write, label "MUSIC", NTFS 3.1) Jun 10 09:40:30 hunny ntfs-3g[1098]: Mount options: allow_other,nonempty,atime,fsname=/dev/da0s1 Jun 10 09:41:43 hunny ntfs-3g[1098]: Unmounting /dev/da0s1 (MUSIC) Jun 10 09:41:47 hunny kernel: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 0 refs Jun 10 09:41:47 hunny kernel: (da0:umass-sim0:0:0:0): removing device entry USB 2.0 - instantly Jun 10 09:42:07 hunny kernel: ugen3.2: at usbus3 Jun 10 09:42:07 hunny kernel: umass0: on usbus3 Jun 10 09:42:07 hunny kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100 Jun 10 09:42:07 hunny kernel: umass0:4:0:-1: Attached to scbus4 Jun 10 09:42:07 hunny kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 Jun 10 09:42:07 hunny kernel: da0: Fixed Direct Access SCSI-0 device Jun 10 09:42:07 hunny kernel: da0: 40.000MB/s transfers Jun 10 09:42:07 hunny kernel: da0: 476940MB (976773167 512 byte sectors: 255H 63S/T 60801C) Jun 10 09:42:24 hunny kernel: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 0 refs Jun 10 09:42:24 hunny kernel: (da0:umass-sim0:0:0:0): removing device entry ... $ dmesg | grep USB xhci0: mem 0xf0348000-0xf0349fff irq 18 at device 16.0 on pci0 xhci1: mem 0xf034a000-0xf034bfff irq 17 at device 16.1 on pci0 ohci0: mem 0xf034f000-0xf034ffff irq 18 at device 18.0 on pci0 ehci0: mem 0xf034e000-0xf034e0ff irq 17 at device 18.2 on pci0 ohci1: mem 0xf034d000-0xf034dfff irq 18 at device 19.0 on pci0 ehci1: mem 0xf034c000-0xf034c0ff irq 17 at device 19.2 on pci0 usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 5.0Gbps Super Speed USB v3.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 480Mbps High Speed USB v2.0 umass1: on usbus3 $ pciconfig -lv xhci0@pci0:0:16:0: class=0x0c0330 card=0x358b103c chip=0x78121022 rev=0x03 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Hudson USB XHCI Controller' class = serial bus subclass = USB xhci1@pci0:0:16:1: class=0x0c0330 card=0x358b103c chip=0x78121022 rev=0x03 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Hudson USB XHCI Controller' class = serial bus subclass = USB ehci0@pci0:0:18:2: class=0x0c0320 card=0x358b103c chip=0x78081022 rev=0x11 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Hudson USB EHCI Controller' class = serial bus subclass = USB ohci1@pci0:0:19:0: class=0x0c0310 card=0x358b103c chip=0x78071022 rev=0x11 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Hudson USB OHCI Controller' class = serial bus subclass = USB ehci1@pci0:0:19:2: class=0x0c0320 card=0x358b103c chip=0x78081022 rev=0x11 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Hudson USB EHCI Controller' class = serial bus subclass = USB Thank you, Waitman Gobble San Jose California USA From luvbeastie at larseighner.com Sun Jun 10 17:18:50 2012 From: luvbeastie at larseighner.com (Lars Eighner) Date: Sun Jun 10 17:18:59 2012 Subject: fn going to X In-Reply-To: <4FD4CF8F.3030701@dreamchaser.org> References: <4FD4CF8F.3030701@dreamchaser.org> Message-ID: On Sun, 10 Jun 2012, Gary Aitken wrote: > What's the trick to allow fn to still be used to switch vtys when > running X? > At first I thought it was the wm grabbing it, but I've disabled that and > now it goes to whatever app has the focus. Seems like something in the > kernel has to grab it before it gets passed on to X. KVM does not allow VT switching (at last report), but changes are promised. Otherwise, in an xterm (or other terminal in X) dump xmodmap in its reloadable form: $xmodmap -pke > foo.txt now you can edit foo.txt as you please. This is mine with ctrl-alt-Fn mapped to VT_switching. keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1 keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2 You may want, for example: keycode 67 = F1 F1 F1 F1 XF86Switch_VT_1 F1 F1 keycode 68 = F2 F2 F2 F2 XF86Switch_VT_2 F2 F2 when you have finished editing, save this file to .xmodmap because you used -pke and were careful in your editing, this can be loaded by your window manager. In fvwm2 that loading looks like: + I exec xmodmap .xmodmap as in, for example: DestroyFunc InitFunction AddToFunc InitFunction + I Module FvwmBanner + I exec xphoon + I exec xmodmap .xmodmap + I exec xmodmap -e "keysym Num_Lock = Num_Lock Pointer_EnableKeys" + I exec xclipboard You can also load .xmodmap by running $xmodmap .xmodmap in an xterm. But you almost certainly want it loaded automatically (as in the fvwm2 example above), but how to do this in your particular window manager you will have to discover from the documentation of your window manger. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From wblock at wonkity.com Sun Jun 10 17:29:13 2012 From: wblock at wonkity.com (Warren Block) Date: Sun Jun 10 17:29:20 2012 Subject: fn going to X In-Reply-To: <4FD4D317.3020503@dreamchaser.org> References: <4FD4CF8F.3030701@dreamchaser.org> <4FD4D317.3020503@dreamchaser.org> Message-ID: On Sun, 10 Jun 2012, Gary Aitken wrote: > On 06/10/12 10:47, Gary Aitken wrote: >> What's the trick to allow fn to still be used to switch vtys when running X? >> At first I thought it was the wm grabbing it, but I've disabled that and now it goes to whatever app has the focus. Seems like something in the kernel has to grab it before it gets passed on to X. > > I see it's fn when in X. > > However, once out of X on another vty, switching to the vty where X was started does not get me back to X. How do I get back to the X display which is running? Switch to the one that X is running on. It's defined in /etc/ttys, normally ttyv8, so alt-f9 for X. From lars at larseighner.com Sun Jun 10 17:33:48 2012 From: lars at larseighner.com (Lars Eighner) Date: Sun Jun 10 17:33:56 2012 Subject: fn going to X In-Reply-To: <4FD4D317.3020503@dreamchaser.org> References: <4FD4CF8F.3030701@dreamchaser.org> <4FD4D317.3020503@dreamchaser.org> Message-ID: On Sun, 10 Jun 2012, Gary Aitken wrote: > On 06/10/12 10:47, Gary Aitken wrote: >> What's the trick to allow fn to still be used to switch vtys when running X? >> At first I thought it was the wm grabbing it, but I've disabled that and now it goes to whatever app has the focus. Seems like something in the kernel has to grab it before it gets passed on to X. > > I see it's fn when in X. > > However, once out of X on another vty, switching to the vty where X was > started does not get me back to X. How do I get back to the X display > which is running? Oh, you have to swith to the vtty where X is running, which certainly is NOT where you started X. Look in /etc/ttys for a line like this: ttyvb "/usr/local/bin/xdm -nodaemon" xterm off secure The above is not standard on installation, so probably the 'ttyv?' is different. The ? is the ttyv number (in hex) where your X should be running - BUT the hex number start at 0 (zero) while your F keys start with 1. For example, the above says X should run in ttyv b = 11 decimal, but that is associated with F12 (so that F1 can be mapped to ttyv0). It is possible to run some gui programs like zgv without a terminal, but in that case there is no way to switch terminals into or out of them. You can only launch them and quit them. Maybe (or not) X could run like that if you did not have a dedicated ttyv set up in /etc/ttys. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From smithi at nimnet.asn.au Sun Jun 10 17:54:02 2012 From: smithi at nimnet.asn.au (Ian Smith) Date: Sun Jun 10 17:54:09 2012 Subject: how to allow by MAC In-Reply-To: <20120610120041.4D0F610657C3@hub.freebsd.org> References: <20120610120041.4D0F610657C3@hub.freebsd.org> Message-ID: <20120611025332.N46641@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 418, Issue 18, Message: 1 On Sun, 10 Jun 2012 17:43:39 +0800 Bill Yuan wrote: > how to allow by MAC in ipfw > > currently i set the rule like below > > 1 allow ip from any to any MAC any to > 1 allow ip from any to any MAC any > 2 deny all from any to any > > i want to only allow the mac address to go through the freebsd firewall, > > but I found it is not working on my freebsd but it works on pfsense! > > so maybe that means the environment is not the same ? and how to setup the > ipfw properly to support this ? Bill, you did get some good clues in the earlier thread, but it's not clear if you took note of them. There's also been some confusion .. Firstly, read up on layer2 (ethernet, MAC-level) filtering options in ipfw(8). Thoroughly, several times, until you've got it. Seriously. After enabling sysctl net.link.ether.ipfw=1 (add it to /etc/sysctl.conf) ipfw will be invoked 4 times instead of the normal 2, on every packet. Read carefully ipfw(8) section 'PACKET FLOW', and see that only on the inbound pass invoked from ether_demux() and the outbound pass invoked from ether_output_frame() can you test for MAC addresses (or mac-types); the 'normal' layer3 passes examine packets that have no layer2 headers. You could just add 'layer2' to any rules filtering on MAC addresses, and omit MAC addresses from all layer 3 (IP) rules, but I'd recommend using a method like shown there to separate layer2 and layer3 flows early on: # packets from ether_demux ipfw add 10 skipto 1000 all from any to any layer2 in # packets from ip_input ipfw add 10 skipto 2000 all from any to any not layer2 in # packets from ip_output ipfw add 10 skipto 3000 all from any to any not layer2 out # packets from ether_output_frame ipfw add 10 skipto 4000 all from any to any layer2 out So at (eg) 1000 and 4000 place your incoming and outgoing MAC filtering rules (remembering the reversed order of MAC addresses vs IP addresses, and to allow broadcasts as well), pass good guys and/or block bad guys, then deal with your normal IPv4|v6 traffic in a separate section(s). Or you could just split the flows into two streams, one for layer2 for your MAC filtering, the other for layer3, ie the rest of your ruleset. HTH, Ian [please cc me on any reply] From subhro at 80386.org Sun Jun 10 18:29:46 2012 From: subhro at 80386.org (Subhro Sankha Kar) Date: Sun Jun 10 18:29:54 2012 Subject: ports: make config-recursive doesn't really In-Reply-To: <4FD4CD49.40605@dreamchaser.org> References: <4FD4CD49.40605@dreamchaser.org> Message-ID: <561C693C-E951-4A55-AAB1-82510307AA61@80386.org> You can have a look at port-mgmt/portmaster. Thanks Subhro -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 On 10-Jun-2012, at 10:07 PM, Gary Aitken wrote: > I'm trying to build a script to rebuild and reinstall everything I have installed from ports. I don't want to have to keep checking on it and filling out the appropriate check boxes for options. I naively assumed: > > for port in $ports > do > cd /usr/port/$port > make config-recursive > cd ../.. > done > > would allow me to set up all the dependencies before continuing with the install. > > It appears, however, that it doesn't really recurse properly. I say "appears" only because this is my first time trying this and despite doing the above setting of options, I am confronted with additional options screens as the build progresses. > > Is there a way to get around this? > > Thanks, > > Gary > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From reinhard.haller at interactive-net.de Sun Jun 10 19:28:11 2012 From: reinhard.haller at interactive-net.de (Reinhard Haller) Date: Sun Jun 10 19:28:18 2012 Subject: nanobsd on usb-stick Message-ID: <4FD4F542.8030903@interactive-net.de> Hi, I'm struggling with nanobsd (9.0). Tried with cd-rom (error 19). The USB-Config (UsbDevice Generic 8000) with NANO_DRIVE=da0 contains no real image and dd if=...disk.full of=/dev/da0 bs=64k woks but is not mountable after writing. Is there any current and complete documentation how to use an usb-stick with nanobsd? Thanks Reinhard From jhs at berklix.com Sun Jun 10 20:06:54 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Sun Jun 10 20:07:02 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Your message "Sun, 10 Jun 2012 17:09:17 +0200." Message-ID: <201206102006.q5AK6Qts083905@fire.js.berklix.net> Too much hot air & preaching to the choir is counter productive & would die away after internal argument. Better be active Externaly. Defend our future by alerting governments there is an upcoming issue. (eg EU has mega fined MS before for monopoly abuse, EU etc could warn off MS if we alert governments there's something to monitor). Free source OSs, ie inc *BSD & *Linux etc, need to co-ordinate with eg - A few short anodyne sentences summarising the MS Win8 UEFI problem, (better too little text than too much, to reduce work, avoid risk of discredit from getting anything wrong). - List of links to specification & analysis & discussion forums. - List of contacts to alert: politicians & officials responsible for anti monopoly & anti restraint of trade policing. - List of volunteers: people in each OS project to contact governments. - A brief simple sample letter to send to alert politicians & officials (maybe via paper post or phone, not email to spam box ;-) As a start here's : http://berklix.org/uefi/ URLs welcome. Contact names welcome. Volunteers welcome. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From ah at dreamchaser.org Sun Jun 10 20:12:26 2012 From: ah at dreamchaser.org (Gary Aitken) Date: Sun Jun 10 20:12:35 2012 Subject: [solved] Re: fn going to X In-Reply-To: References: <4FD4CF8F.3030701@dreamchaser.org> <4FD4D317.3020503@dreamchaser.org> Message-ID: <4FD4FFA8.4000007@dreamchaser.org> ah... Thanks both Warren and Lars >>> What's the trick to allow fn to still be used to switch vtys when running X? >>> At first I thought it was the wm grabbing it, but I've disabled that and now it goes to whatever app has the focus. Seems like something in the kernel has to grab it before it gets passed on to X. >> >> I see it's fn when in X. >> >> However, once out of X on another vty, switching to the vty where X was >> started does not get me back to X. How do I get back to the X display >> which is running? > > Oh, you have to swith to the vtty where X is running, which certainly is NOT > where you started X. > > Look in /etc/ttys for a line like this: > > ttyvb "/usr/local/bin/xdm -nodaemon" xterm off secure > > The above is not standard on installation, so probably the > 'ttyv?' is different. The ? is the ttyv number (in hex) where > your X should be running - BUT the hex number start at 0 (zero) > while your F keys start with 1. For example, the above says X should run in > ttyv b = 11 decimal, but that is associated with F12 (so that F1 can be > mapped to ttyv0). From tech.junk at myfairpoint.net Sun Jun 10 20:30:29 2012 From: tech.junk at myfairpoint.net (sean) Date: Sun Jun 10 20:30:36 2012 Subject: Firefox Script Problems Message-ID: <4FD50011.6090703@myfairpoint.net> Hello All, I just upgraded Firefox to the latest available in ports. Since this upgrade Firefox is near unresponsive. Messages keep popping up about unresponsive script errors on the page being viewed. Would anyone have any ideas on how to best approach this problem to find the fix? Thanks in advance, Sean From bah at bananmonarki.se Sun Jun 10 20:40:40 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Sun Jun 10 20:40:48 2012 Subject: fn going to X In-Reply-To: <4FD4D317.3020503@dreamchaser.org> References: <4FD4CF8F.3030701@dreamchaser.org> <4FD4D317.3020503@dreamchaser.org> Message-ID: <4FD505DD.2020007@bananmonarki.se> 2012-06-10 19:02, Gary Aitken skrev: > On 06/10/12 10:47, Gary Aitken wrote: >> What's the trick to allowfn to still be used to switch vtys when running X? >> At first I thought it was the wm grabbing it, but I've disabled that and now it goes to whatever app has the focus. Seems like something in the kernel has to grab it before it gets passed on to X. > > I see it'sfn when in X. > > However, once out of X on another vty, switching to the vty where X was started does not get me back to X. How do I get back to the X display which is running? Alt+F9 From jerry at seibercom.net Sun Jun 10 20:56:53 2012 From: jerry at seibercom.net (Jerry) Date: Sun Jun 10 20:57:04 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <201206102006.q5AK6Qts083905@fire.js.berklix.net> References: <201206102006.q5AK6Qts083905@fire.js.berklix.net> Message-ID: <20120610165649.3408f6ad@scorpio> On Sun, 10 Jun 2012 22:06:26 +0200 Julian H. Stacey articulated: >Too much hot air & preaching to the choir is counter productive >& would die away after internal argument. Better be active Externaly. >Defend our future by alerting governments there is an upcoming issue. >(eg EU has mega fined MS before for monopoly abuse, EU etc could warn >off MS if we alert governments there's something to monitor). > >Free source OSs, ie inc *BSD & *Linux etc, need to co-ordinate with eg > - A few short anodyne sentences summarising the MS Win8 UEFI > problem, (better too little text than too much, to reduce work, > avoid risk of discredit from getting anything wrong). > - List of links to specification & analysis & discussion forums. > - List of contacts to alert: politicians & officials responsible > for anti monopoly & anti restraint of trade policing. > - List of volunteers: people in each OS project to contact > governments. > - A brief simple sample letter to send to alert politicians & > officials (maybe via paper post or phone, not email to spam > box ;-) > >As a start here's : http://berklix.org/uefi/ > >URLs welcome. Contact names welcome. Volunteers welcome. It is posts like this that basically turn my stomach. A product, any product, should succeed or fail based on its own merits and not because some government agency aided or thwarted it. Most, it not nearly all PC manufacturers exist solely because of Microsoft. The PC market balloons every time Microsoft releases a new version of Windows. Seriously now, how many PC were sold because FreeBSD released version 9 of its OS? If you want to beat someone, you make a better product. You don't go running to your mamma asking for protection. That stinks of socialism/fascism. The UEFI specification has existed for years. Supposedly, Linux has been capable of using it for 8+ years. I have no idea if FreeBSD is even capable of handling it. It wouldn't surprise me it if couldn't though. What this really tells me is that there has been way to much procrastination by the FOSS. Microsoft simply took advantage of an existing standard (remember "standards" something the FOSS is always crying about) and now FOSS is begging for mercy. This is more than just slightly funny, it is pathetic. If 1% of the effort of spreading this BS over UEFI had gone into working on a solution for UEFI two years ago, we wouldn't be having this discussion at all. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From jb.1234abcd at gmail.com Sun Jun 10 21:39:07 2012 From: jb.1234abcd at gmail.com (jb) Date: Sun Jun 10 21:39:13 2012 Subject: xfce 4.10 update problems Message-ID: Hi, after portmaster update: - there are missing icons in main menu and that of Terminal - startx fails when moused enabled (EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy. (EE) PS/2 Mouse: cannot open input device (EE) PreInit returned NULL for "PS/2 Mouse" (EE) config/hal: NewInputDeviceRequest failed (8) xinit: connection to X server lost Any known solutions ? jb From gobble.wa at gmail.com Sun Jun 10 22:08:42 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Sun Jun 10 22:08:48 2012 Subject: USB 3.0 delay in 'detecting' attached drive In-Reply-To: <201206102057.q5AKusWM087244@fire.js.berklix.net> References: <201206102057.q5AKusWM087244@fire.js.berklix.net> Message-ID: On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey wrote: > Waitman Gobble wrote: > > Hi, > > > > I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I > plug > > a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 seconds > for > > the drive to show up, on the USB 2.0 port it's instantly. I haven't used > > USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I need > to > > reconfigure something or look at a different kernel config. > > Might be a marginal power issue. > USB 3 devices are allowed to consume 1.0 Amps. > USB2 ports only need provide 0.5. > > I have a tower wont recognise my USB disc on its USB2 ports. > On my new PCI express card in same tower, it comes up quickly. > > Cheers, > Julian > -- > Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich > http://berklix.com > Reply below not above, cumulative like a play script, & indent with "> ". > Format: Plain text. Not HTML, multipart/alternative, base64, > quoted-printable. > Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ > Thanks. Not sure if there's anything I can do about that. It's a new HP dv6 laptop which according to box was mfg in May 2012... I would assume hardware would be designed and put together properly. :) Waitman From rfg at tristatelogic.com Sun Jun 10 22:15:13 2012 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Sun Jun 10 22:15:21 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: Message-ID: <48302.1339366497@tristatelogic.com> In message , Warren Block wrote: >On Sun, 10 Jun 2012, Ronald F. Guilmette wrote: >> 1) In your example under the heading "Copying Filesystems", the second >> shell command line shown is: >> >> dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt && restore -ruf -) >> >> Is that correct? Shouldn't it actually be this instead? >> >> dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt/usr && restore -ruf -) >>... >The mount command above that is > > mount /dev/da0s1f /mnt Ah! OK. I failed to notice that. Yes, that clarifies things entirely. >> ... I mean if I do the pipeline from dump >> to restore as you have shown in your examples in your "Copying Filesystems" >> section, then what must I do in order prevent dump from dumping files that >> haven't changed? (And likewise, how do I prevent restore from trying to >> restore files under /mnt/usr that have not changed? Or is that answer to >> that question that I simply have to do the first thing, i.e. force dump >> not to dump any of the unchanged files?) > >See the dump man page about dump levels. OK, I'm looking at it, and to be honest, the subject of dump levels is not covered at all well there. (Neither does it seem to be covered well in other online documents, found via Google, that purport to describe dump & restore.) The reference to "modified Tower of Hanoi algorithm" and the subsequent suggested dumplevel sequence are especially opaque and perplexing. Well, nevermind about that. I get the general idea, i.e. that dumping at level N causes dumping of everything that has changed since the last dump at level N-1. What I don't understand (and what I wish someone would enlighten me about) is just this: It would seem that in order to implement these dump levels, dump must be keeping a record somewhere, for each file in the filesystem, of the level at which that file was last dumped. But where is this infor- mation stored, exactly?? I won't be able to sleep until I know. (Aside: One of the reasons I hate Windoze is that everything is hidden. One of the reasons I love UNIX is that everything is out in the open, which is to say "documented". But even after reading the dump(1) man page, it ain't in the least bit obvious to me where dump is recording the last dump level for each node in the filesystem. This info must be stored SOMEWHERE. But where?) >I have not tried a dump level >higher than zero with a dump|restore copy, but expect it to work. > >rsync will do it, and would be my choice for that; start with -aH for >options, and --exclude might be used for some directories that don't >need to be copied. Humm... well, I am reminded of all of the reasons why I have been convinced (now) to use dump/restore, specifically the security of knowing that _all_ info will be copied across, in particular (a) extra mode bits/flags and (b) ACLs and (c) file attributes. (This is not to even mention correct handling of other obscure filesystem things like, e.g. sparse files.) So the obvious question is: If I am going to use rsync to keep my backup disk up-to-date, does rsync handle all of these additional small but important filesystem details properly too? If not, then I had best just stick with dump/restore, and use the dumplevels. >Also see the sysutils/rsnapshot port for an interesting snapshot use. >Combined with a bootable FreeBSD like mfsBSD (http://mfsbsd.vx.sk/), >that might be a workable alternative to creating a bootable backup. Thanks. I've installed that port and I am looking at the man page, but I believe that I do still want to reach my goal of just having a (recovery) hard disk that I can just boot directly from. >> 3) Assuming that I have a second disk to which I plan (now) to use >> dump&restore to make periodic copies of all of my ``normal'' (non-backup) >> filesystems onto. Assuming also that I've already installed the FreeBSD >> boot loader into the boot block on this second disk, and that I've already >> run fdisk & bsdlabel on it so as to set up all of the partitioning to be >> essentially identical to my ``main'' system disk. Assuming that all of >> this is the case, by using dump&restore as you have shown in your document >> under the heading "Copying Filesystems", will I have succeded at doing what >> I was first asking about in this thread, i.e. will I have successfully >> created a _bootable_ mirror of my main system disk... > >With some tuning, yes. /etc/fstab mountpoints often won't match when >such a drive is connected to a different port or new system. Right. There's that. So I will need to diddle the /etc/fstab in the backup. >Use gpart(8) GPT labels... Ummm... I don't know pooh about this, but I am reading about it now, and the idea make me _very_ nervous. Apparently, `MBR' is traditional, and I am very much of a traditionalist. (Mostly I find that I only get into trouble when I try to buck pre-existing conventions.) >or tunefs(8) filesystem labels. I guess you must mean the "-L volname" option. I'm not at all sure that I see how that would help anything. >Likewise with the >Ethernet board, so see rc.conf(5) about ifconfig_DEFAULT. Something else (the Handbook?) mentioned something about the ethernet card(s) in the context also. I just don't get it. Why would I even need to think about that in this context? My current system disk is alive & well and already has all of the proper ifconfig stuff in /etc/rc.conf to make the local ethernet card work properly on my network. I am engaged in making a _verbatim_ backup of my main system disk to another hard disk that, in an emergency, would be plugged in to the exact same system (with the exact same ethernet card) and if I have made the verbatim backup properly, then it also will have the proper stuff in _its_ /etc/rc.conf file to make that same ethernet card work. So what exacty is the issue? I don't get it. >gpart and GPT are easier than fdisk and bsdlabel. For you maybe. I'm ignorant. I only have experience with fdisk & bsdlabel. (But at your prompting I will try to educate myself on the alternatives.) >I really need to flip >that disk setup article upside down, with gpart first as the new goodness. See above. me personally? I am very much a fan of doing things the old & traditional way, unless there is something compelling that makes me "upgrade". Regards, rfg From rfg at tristatelogic.com Sun Jun 10 22:24:00 2012 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Sun Jun 10 22:24:07 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: Message-ID: <48774.1339367039@tristatelogic.com> Warren? Just a couple more quick questions. You recommend: >> dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt && restore -ruf -) I'm real curious about you suggestions for the -C and -b values. I have what amounts to a personal workstation. Yea, OK, it is running mail, web, and FTP servers also, but fundementailly, it is not that busy most of the time. And it's got 4GB of main installed. On average, I suspect that I ain't even using half of that. Given all that, why shouldn't I specify (e.g.): -C512 -b1024 ? Wouldn't that all make the dump go faster? Remember, I'm just gonna do like in your examples and pipe the output of dump to restore, so whereas if I was going to tape (or even to a .dump disk file), -b1024 would be rather wasteful, in my case all I am wasting is a bit of kernel time (for a bit more stuff being passed through the pipe). Regards, rfg From wblock at wonkity.com Sun Jun 10 23:05:29 2012 From: wblock at wonkity.com (Warren Block) Date: Sun Jun 10 23:05:36 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <48302.1339366497@tristatelogic.com> References: <48302.1339366497@tristatelogic.com> Message-ID: On Sun, 10 Jun 2012, Ronald F. Guilmette wrote: > > In message , > Warren Block wrote: > >> On Sun, 10 Jun 2012, Ronald F. Guilmette wrote: >>> 1) In your example under the heading "Copying Filesystems", the second >>> shell command line shown is: >>> >>> dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt && restore -ruf -) >>> >>> Is that correct? Shouldn't it actually be this instead? >>> >>> dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt/usr && restore -ruf -) >>> ... >> The mount command above that is >> >> mount /dev/da0s1f /mnt > > Ah! OK. I failed to notice that. Yes, that clarifies things entirely. > >>> ... I mean if I do the pipeline from dump >>> to restore as you have shown in your examples in your "Copying Filesystems" >>> section, then what must I do in order prevent dump from dumping files that >>> haven't changed? (And likewise, how do I prevent restore from trying to >>> restore files under /mnt/usr that have not changed? Or is that answer to >>> that question that I simply have to do the first thing, i.e. force dump >>> not to dump any of the unchanged files?) >> >> See the dump man page about dump levels. > > OK, I'm looking at it, and to be honest, the subject of dump levels is > not covered at all well there. (Neither does it seem to be covered well > in other online documents, found via Google, that purport to describe > dump & restore.) The reference to "modified Tower of Hanoi algorithm" > and the subsequent suggested dumplevel sequence are especially opaque > and perplexing. It's diffs. One complete copy to start, then a partial dump, just the files that have changed since the first. And then another partial, just the files that have changed since the second. Start over with a full dump every so often, because that reduces the amount of backups that have to be restored until you get to the final version of the file. As far as I can recall, I've always used level zero. > What I don't understand (and what I wish someone would enlighten me about) > is just this: It would seem that in order to implement these dump levels, > dump must be keeping a record somewhere, for each file in the filesystem, > of the level at which that file was last dumped. But where is this infor- > mation stored, exactly?? I won't be able to sleep until I know. > > (Aside: One of the reasons I hate Windoze is that everything is hidden. > One of the reasons I love UNIX is that everything is out in the open, > which is to say "documented". But even after reading the dump(1) man > page, it ain't in the least bit obvious to me where dump is recording > the last dump level for each node in the filesystem. This info must be > stored SOMEWHERE. But where?) Sorry, I've never checked. File dates, maybe. The source for dump would be the place to look. >> rsync will do it, and would be my choice for that; start with -aH for >> options, and --exclude might be used for some directories that don't >> need to be copied. > > Humm... well, I am reminded of all of the reasons why I have been convinced > (now) to use dump/restore, specifically the security of knowing that _all_ > info will be copied across, in particular (a) extra mode bits/flags and (b) > ACLs and (c) file attributes. (This is not to even mention correct handling > of other obscure filesystem things like, e.g. sparse files.) > > So the obvious question is: If I am going to use rsync to keep my backup > disk up-to-date, does rsync handle all of these additional small but > important filesystem details properly too? If not, then I had best just > stick with dump/restore, and use the dumplevels. It does many of those things, enough that many people use it for backup. > Right. There's that. So I will need to diddle the /etc/fstab in the backup. > >> Use gpart(8) GPT labels... > > Ummm... I don't know pooh about this, but I am reading about it now, and > the idea make me _very_ nervous. Apparently, `MBR' is traditional, and > I am very much of a traditionalist. (Mostly I find that I only get into > trouble when I try to buck pre-existing conventions.) > >> or tunefs(8) filesystem labels. > > I guess you must mean the "-L volname" option. I'm not at all sure that I > see how that would help anything. When a mountpoint is /dev/gpt/myrootfs, it doesn't matter whether the drive shows up as ada0 or ad4 or da2, the mount still works. >> Likewise with the >> Ethernet board, so see rc.conf(5) about ifconfig_DEFAULT. > > Something else (the Handbook?) mentioned something about the ethernet card(s) > in the context also. I just don't get it. Why would I even need to think > about that in this context? My current system disk is alive & well and > already has all of the proper ifconfig stuff in /etc/rc.conf to make the > local ethernet card work properly on my network. I am engaged in making a > _verbatim_ backup of my main system disk to another hard disk that, in > an emergency, would be plugged in to the exact same system (with the exact > same ethernet card) and if I have made the verbatim backup properly, then > it also will have the proper stuff in _its_ /etc/rc.conf file to make that > same ethernet card work. So what exacty is the issue? I don't get it. Lightning strikes the machine and only the backup disk is available. Labels and a generic ifconfig let that disk boot and work on a different system. Those details can make recovery significantly easier. Of course, the more we talk about this, the more it sounds like you might as well just create a mirror and let the system do all the duplication in real time. From feenberg at nber.org Sun Jun 10 23:10:45 2012 From: feenberg at nber.org (Daniel Feenberg) Date: Sun Jun 10 23:10:51 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <48302.1339366497@tristatelogic.com> References: <48302.1339366497@tristatelogic.com> Message-ID: On Sun, 10 Jun 2012, Ronald F. Guilmette wrote: > > > What I don't understand (and what I wish someone would enlighten me about) > is just this: It would seem that in order to implement these dump levels, > dump must be keeping a record somewhere, for each file in the filesystem, > of the level at which that file was last dumped. But where is this infor- > mation stored, exactly?? I won't be able to sleep until I know. > Only the dates of the levels of backup are stored, in /etc/dumpdates. Then the fact that a file has been dumped is inferred by comparing the file's last mod date with the dates in /etc/dumpdates. See the -T and -u options of the dump man page where this is implied but perhaps not actually stated. It does occur to me that /etc is not a felicitous place to keep this information, but given the desirability of dumping filesystems in read only state, placing the dump dates in the filesystem itself isn't feasible. daniel feenberg From bonomi at mail.r-bonomi.com Sun Jun 10 23:23:06 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Sun Jun 10 23:23:15 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <48302.1339366497@tristatelogic.com> Message-ID: <201206102323.q5ANNghc005925@mail.r-bonomi.com> "Ronald F. Guilmette" wrote: > Warren Block wrote: > >On Sun, 10 Jun 2012, Ronald F. Guilmette wrote: > > >> ... I mean if I do the pipeline from dump > >> to restore as you have shown in your examples in your "Copying Filesystems" > >> section, then what must I do in order prevent dump from dumping files that > >> haven't changed? (And likewise, how do I prevent restore from trying to > >> restore files under /mnt/usr that have not changed? Or is that answer to > >> that question that I simply have to do the first thing, i.e. force dump > >> not to dump any of the unchanged files?) > > > >See the dump man page about dump levels. > > OK, I'm looking at it, and to be honest, the subject of dump levels is > not covered at all well there. (Neither does it seem to be covered well > in other online documents, found via Google, that purport to describe > dump & restore.) The reference to "modified Tower of Hanoi algorithm" > and the subsequent suggested dumplevel sequence are especially opaque > and perplexing. > > Well, nevermind about that. I get the general idea, i.e. that dumping > at level N causes dumping of everything that has changed since the last > dump at level N-1. That's about all -really- need to know. The sequencing stuff is just a recommendation on a way to do multiple levels of incremental backups. > What I don't understand (and what I wish someone would enlighten me about) > is just this: It would seem that in order to implement these dump levels, > dump must be keeping a record somewhere, for each file in the filesystem, > of the level at which that file was last dumped. But where is this infor- > mation stored, exactly?? I won't be able to sleep until I know. First, your assumption is incorrect. *grin* All that dump stores is the timestamp of the completion of the last dump at each level. As for "where" that information is stored. RTFM applies. the 'files' section. By default '/etc/dumpdates', but modifiable by the -D option. > (Aside: One of the reasons I hate Windoze is that everything is hidden. > One of the reasons I love UNIX is that everything is out in the open, > which is to say "documented". But even after reading the dump(1) man > page, it ain't in the least bit obvious to me where dump is recording > the last dump level for each node in the filesystem. This info must be > stored SOMEWHERE. But where?) Wrong assumptions lead to looking for the wrong things. Why store the date for every node, when storing the date of the dump sufficies? (assuming you're consisently using the same dump command for dumps recorded to the same 'dumpfile', that is, and using different dumpfiles for different 'selective' dump commands) _Anything_ modified after the last dump at the next lower level needs to be saved as part of -this- dump, unless it is 'excluded' from this dump. A level 0 dump backs up 'everything', except things which are expliclitly excluded. A level 1 dump backs up 'everything that has changed since the last level 0 dump' (whether or not it was inclued in the level 0 dump), except for things which are eplicitly excluded. A subsequent level 1 dump catches everything since the last level _0_ dump. A level 2 dump backs up 'everything that has changed since the last level 1 dump' (whether or not it was inclued in the level 1 dump, or level 0 dump), except for things which are eplicitly excluded. A level 3 dump backs up 'everything that has changed since the last level 2 dump' (whether or not it was inclued in the level 2, 1, or 0 dump), except for things which are eplicitly excluded. A subsequent level 2 dump catches everything since the last level _1_ dump. Another level 1 dump -here- catches everything singe the prior level 0 dump. and kills the record of any level 2 (or higher) dump. A level 3 dump here -- with dump anything since the level 1 dump (since there was no 'current' level 2 dump). > So the obvious question is: If I am going to use rsync to keep my backup > disk up-to-date, does rsync handle all of these additional small but > important filesystem details properly too? If not, then I had best just > stick with dump/restore, and use the dumplevels. It doesn't matter what anybody tells you. what matters is what the machine does. Thus the authoritative response is "try it and find out." > >> I was first asking about in this thread, i.e. will I have successfully > >> created a _bootable_ mirror of my main system disk... > > > >With some tuning, yes. /etc/fstab mountpoints often won't match when > >such a drive is connected to a different port or new system. > > Right. There's that. So I will need to diddle the /etc/fstab in the backup. 'dump'/'restore' doesn't do -everything- necessary. You have to: set up slices/partitions as needed. 'label' as appropriate INSTALL BOOT BLOCKS 'newfs' the appropriate filesystems then dump/restore the filesystems on the disk. > >Likewise with the > >Ethernet board, so see rc.conf(5) about ifconfig_DEFAULT. > > Something else (the Handbook?) mentioned something about the ethernet card(s) > in the context also. I just don't get it. Why would I even need to think > about that in this context? My current system disk is alive & well and > already has all of the proper ifconfig stuff in /etc/rc.conf to make the > local ethernet card work properly on my network. I am engaged in making a > _verbatim_ backup of my main system disk to another hard disk that, in > an emergency, would be plugged in to the exact same system (with the exact > same ethernet card) and if I have made the verbatim backup properly, then > it also will have the proper stuff in _its_ /etc/rc.conf file to make that > same ethernet card work. So what exacty is the issue? I don't get it. It is an issue _only_ if you're dropping the 'cloned' drive into =another= machine. It will come up configured with the same hostname, IP address/ netmask, etc. as the 'donor' machine. If it's only use is as a backup to replace a failed original, don't worry about it. This logic applies to /etc/fstab, too. From jhs at berklix.com Sun Jun 10 23:41:06 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Sun Jun 10 23:41:12 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Your message "Sun, 10 Jun 2012 16:56:49 EDT." <20120610165649.3408f6ad@scorpio> Message-ID: <201206102340.q5ANehkI088444@fire.js.berklix.net> Jerry wrote > It is posts like this that basically turn my stomach Never argue with a drunk. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From jhs at berklix.com Mon Jun 11 00:00:14 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Mon Jun 11 00:00:22 2012 Subject: USB 3.0 delay in 'detecting' attached drive In-Reply-To: Your message "Sun, 10 Jun 2012 15:08:40 PDT." Message-ID: <201206102359.q5ANxkF1088638@fire.js.berklix.net> Waitman Gobble wrote: > On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey wrote: > > > Waitman Gobble wrote: > > > Hi, > > > > > > I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I > > plug > > > a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 seconds > > for > > > the drive to show up, on the USB 2.0 port it's instantly. I haven't used > > > USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I need > > to > > > reconfigure something or look at a different kernel config. > > > > Might be a marginal power issue. > > USB 3 devices are allowed to consume 1.0 Amps. > > USB2 ports only need provide 0.5. > > > > I have a tower wont recognise my USB disc on its USB2 ports. > > On my new PCI express card in same tower, it comes up quickly. > > > > Cheers, > > Julian > Thanks. > > Not sure if there's anything I can do about that. It's a new HP dv6 laptop > which according to box was mfg in May 2012... I would assume hardware would > be designed and put together properly. :) Sounds new enough :-) My USB3 disc on my newish laptop with USB 2 socket & 8.2 & 9.0 come up fast enough, not noticed problems, not specificaly timed it though. Try external power if you have a socket on disk box ? Try disk on another known good FreeBSD USB3 card on a tower (my card cost 30 Euro BTW) Or try a power doubler cable (connected via a female to female adapter, which Ive never seen on sale, I made my own by cutting up a dead mainboard), to the USB 3 male to male cable. (for any who dont know, cant omit that cable as USB3 socket on lapop size drives is a different shape, flater, wider. I wonder if it might be taking time dropping back to USB2 speed. if eg you don't have xhci in kernel ? I have all of config -x/boot/kernel/kernel | grep hci device uhci device ohci device xhci device ehci I just havent taken some out yet. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From wblock at wonkity.com Mon Jun 11 00:12:12 2012 From: wblock at wonkity.com (Warren Block) Date: Mon Jun 11 00:12:19 2012 Subject: xfce 4.10 update problems In-Reply-To: References: Message-ID: On Sun, 10 Jun 2012, jb wrote: > Hi, > after portmaster update: > - there are missing icons in main menu and that of Terminal > - startx fails when moused enabled > (EE) xf86OpenSerial: Cannot open device /dev/psm0 > Device busy. > (EE) PS/2 Mouse: cannot open input device > (EE) PreInit returned NULL for "PS/2 Mouse" > (EE) config/hal: NewInputDeviceRequest failed (8) > xinit: connection to X server lost > > Any known solutions ? Disable hal in xorg.conf, ServerLayout section: Option "AutoAddDevices" "Off" From weif at weif.net Mon Jun 11 00:14:06 2012 From: weif at weif.net (Keith Seyffarth) Date: Mon Jun 11 00:14:12 2012 Subject: Chromium 19 core dumps on launch... Message-ID: <84sje2zpbv.fsf@maxwell.cjones.org> Friday I installed Chromium again because it would be nice to have a browser to test in other than Firefox and Opera. It was installed using portinstall -R chromium, which *appeared* to function properly. However, trying to run chrome results in: pid 50993 (chrome), uid 1001: exited on signal 11 (core dumped) >From what I found online, it looked like I may have been encountering an issue with devel/google-perftools, but on reinstall was able to confirm that this is building with gcc not clang. I have also removed my ~/.config/chromium directory with no change in behavior. Not sure if it's relevant, but the last version of Chromium that was *functional* for me was 12. Versions 13-16 didn't support loading web pages (the browser would launch, but if I entered a URL in the address bar, I could leave the browser running overnight and it still wouldn't have started loading a page). Then when 17 and 18 wouldn't even compile (marked ignore), I just removed package. Looking for suggestions on getting Chromium to at least launch... From roberthuff at rcn.com Mon Jun 11 00:15:54 2012 From: roberthuff at rcn.com (Robert Huff) Date: Mon Jun 11 00:16:02 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <48774.1339367039@tristatelogic.com> References: <48774.1339367039@tristatelogic.com> Message-ID: <20437.14520.364554.528919@jerusalem.litteratus.org> Ronald F. Guilmette writes: > Warren? Just a couple more quick questions. You recommend: > > >> dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt && restore -ruf -) > > I'm real curious about you suggestions for the -C and -b values. > > I have what amounts to a personal workstation. Yea, OK, it is running > mail, web, and FTP servers also, but fundementailly, it is not that busy > most of the time. And it's got 4GB of main installed. On average, I > suspect that I ain't even using half of that. > > Given all that, why shouldn't I specify (e.g.): -C512 -b1024 ? > > Wouldn't that all make the dump go faster? There are many possible obstacles to faster dump speed; enumerating them is left as an exercise for the reader. As it happens, I have a set-up very similar to what you describe ... except with 8g of memory. A few years ago I did some testing with various cache sizes (as part of diagnosing other problems) and ended up with C=32. (I should probably run the tests again, given some hardware changes since.) That machine's level 0 runs tonight; I will try to remember to (retain and) post the results. Robert Huff From wblock at wonkity.com Mon Jun 11 00:36:33 2012 From: wblock at wonkity.com (Warren Block) Date: Mon Jun 11 00:36:39 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <20437.14520.364554.528919@jerusalem.litteratus.org> References: <48774.1339367039@tristatelogic.com> <20437.14520.364554.528919@jerusalem.litteratus.org> Message-ID: On Sun, 10 Jun 2012, Robert Huff wrote: > > Ronald F. Guilmette writes: > >> Warren? Just a couple more quick questions. You recommend: >> >> >> dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt && restore -ruf -) >> >> I'm real curious about you suggestions for the -C and -b values. >> >> I have what amounts to a personal workstation. Yea, OK, it is running >> mail, web, and FTP servers also, but fundementailly, it is not that busy >> most of the time. And it's got 4GB of main installed. On average, I >> suspect that I ain't even using half of that. >> >> Given all that, why shouldn't I specify (e.g.): -C512 -b1024 ? >> >> Wouldn't that all make the dump go faster? > > There are many possible obstacles to faster dump speed; > enumerating them is left as an exercise for the reader. > As it happens, I have a set-up very similar to what you > describe ... except with 8g of memory. A few years ago I did some > testing with various cache sizes (as part of diagnosing other > problems) and ended up with C=32. > (I should probably run the tests again, given some hardware > changes since.) > That machine's level 0 runs tonight; I will try to remember to > (retain and) post the results. -C16 is a little small because it's hard to tell how much memory someone running the example will have. I usually use -C32 on machines with plenty of memory. Remember that dump forks multiple times, so it's not 32M, but N*32M. -b64 is the largest safe buffer size to use. People have experienced problems with larger amounts. From gobble.wa at gmail.com Mon Jun 11 00:42:29 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Mon Jun 11 00:42:36 2012 Subject: USB 3.0 delay in 'detecting' attached drive In-Reply-To: <201206102359.q5ANxkF1088638@fire.js.berklix.net> References: <201206102359.q5ANxkF1088638@fire.js.berklix.net> Message-ID: On Sun, Jun 10, 2012 at 4:59 PM, Julian H. Stacey wrote: > Waitman Gobble wrote: > > On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey > wrote: > > > > > Waitman Gobble wrote: > > > > Hi, > > > > > > > > I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I > > > plug > > > > a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 > seconds > > > for > > > > the drive to show up, on the USB 2.0 port it's instantly. I haven't > used > > > > USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I > need > > > to > > > > reconfigure something or look at a different kernel config. > > > > > > Might be a marginal power issue. > > > USB 3 devices are allowed to consume 1.0 Amps. > > > USB2 ports only need provide 0.5. > > > > > > I have a tower wont recognise my USB disc on its USB2 ports. > > > On my new PCI express card in same tower, it comes up quickly. > > > > > > Cheers, > > > Julian > > > Thanks. > > > > Not sure if there's anything I can do about that. It's a new HP dv6 > laptop > > which according to box was mfg in May 2012... I would assume hardware > would > > be designed and put together properly. :) > > Sounds new enough :-) > > My USB3 disc on my newish laptop with USB 2 socket & 8.2 & 9.0 come > up fast enough, not noticed problems, not specificaly timed it though. > > Try external power if you have a socket on disk box ? > > Try disk on another known good FreeBSD USB3 card on a tower (my card cost > 30 Euro BTW) > > Or try a power doubler cable (connected via a female to female > adapter, which Ive never seen on sale, I made my own by cutting up > a dead mainboard), to the USB 3 male to male cable. (for any who > dont know, cant omit that cable as USB3 socket on lapop size drives > is a different shape, flater, wider. > > I wonder if it might be taking time dropping back to USB2 speed. > if eg you don't have xhci in kernel ? > > I have all of > config -x/boot/kernel/kernel | grep hci > device uhci > device ohci > device xhci > device ehci > I just havent taken some out yet. > > Cheers, > Julian > -- > Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich > http://berklix.com > Reply below not above, cumulative like a play script, & indent with "> ". > Format: Plain text. Not HTML, multipart/alternative, base64, > quoted-printable. > Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ > I believe it uses ohci for usb 2.0, xhci for 3.0, ehci for 1.0 (which I suppose might be connected to some device internally even if you do not have 1.0 port?) I originally built this system on a different machine, with different hardware, but it really shouldn't make a different AFAIK. ... But I did just csup and rebuild everything on the laptop... i needed to build some devices into the kernel anyhow, and NOW the usb 3.0 connect is instantly, there is now no 70 second delay. I'd have to check, maybe there was a change in xhci between June 2 and today which could have caused the issue. Or it was just a 'weird harold' event, for some reason it just felt like sitting there a minute. Thanks for your help, Waitman From gobble.wa at gmail.com Mon Jun 11 01:10:50 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Mon Jun 11 01:10:57 2012 Subject: xfce 4.10 update problems In-Reply-To: References: Message-ID: On Sun, Jun 10, 2012 at 5:12 PM, Warren Block wrote: > On Sun, 10 Jun 2012, jb wrote: > > Hi, >> after portmaster update: >> - there are missing icons in main menu and that of Terminal >> - startx fails when moused enabled >> (EE) xf86OpenSerial: Cannot open device /dev/psm0 >> Device busy. >> (EE) PS/2 Mouse: cannot open input device >> (EE) PreInit returned NULL for "PS/2 Mouse" >> (EE) config/hal: NewInputDeviceRequest failed (8) >> xinit: connection to X server lost >> >> Any known solutions ? >> > > Disable hal in xorg.conf, ServerLayout section: > > Option "AutoAddDevices" "Off" > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > for missing icons in xfce4.10, here is explanation in a pr with 3 solutions.. http://www.freebsd.org/cgi/query-pr.cgi?pr=168688 Waitman Gobble San Jose California USA From freebsd at edvax.de Mon Jun 11 02:09:12 2012 From: freebsd at edvax.de (Polytropon) Date: Mon Jun 11 02:09:19 2012 Subject: fn going to X In-Reply-To: References: <4FD4CF8F.3030701@dreamchaser.org> Message-ID: <20120611040903.62c008a4.freebsd@edvax.de> On Sun, 10 Jun 2012 12:17:10 -0500 (CDT), Lars Eighner wrote: > But you almost certainly want it loaded automatically (as in the fvwm2 > example above), but how to do this in your particular window manager you > will have to discover from the documentation of your window manger. It's easy loading xmodmap settings prior to the window manager and therefore independent of it, using the X startup file which is ~/.xinitrc or ~/.xsession (or a "chain loader" of them). [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc # other initialisation ... start fvwn2 However, the default key combination Ctrl+Alt+F should work without alteration in any window manager; at least it does in the few I've tried. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bycn82 at gmail.com Mon Jun 11 03:16:18 2012 From: bycn82 at gmail.com (Bill Yuan) Date: Mon Jun 11 03:16:25 2012 Subject: how to allow by MAC In-Reply-To: <20120611025332.N46641@sola.nimnet.asn.au> References: <20120610120041.4D0F610657C3@hub.freebsd.org> <20120611025332.N46641@sola.nimnet.asn.au> Message-ID: Hi Lan, Thanks for your reply, I am reading some old emails which you sent in 2008 while other place asked a same question as mine, On Mon, Jun 11, 2012 at 1:53 AM, Ian Smith wrote: > In freebsd-questions Digest, Vol 418, Issue 18, Message: 1 > On Sun, 10 Jun 2012 17:43:39 +0800 Bill Yuan wrote: > > > how to allow by MAC in ipfw > > > > currently i set the rule like below > > > > 1 allow ip from any to any MAC any to > > 1 allow ip from any to any MAC any > > 2 deny all from any to any > > > > i want to only allow the mac address to go through the freebsd firewall, > > > > but I found it is not working on my freebsd but it works on pfsense! > > > > so maybe that means the environment is not the same ? and how to setup > the > > ipfw properly to support this ? > > Bill, you did get some good clues in the earlier thread, but it's not > clear if you took note of them. There's also been some confusion .. > > Firstly, read up on layer2 (ethernet, MAC-level) filtering options in > ipfw(8). Thoroughly, several times, until you've got it. Seriously. > > After enabling sysctl net.link.ether.ipfw=1 (add it to /etc/sysctl.conf) > ipfw will be invoked 4 times instead of the normal 2, on every packet. > > Read carefully ipfw(8) section 'PACKET FLOW', and see that only on the > inbound pass invoked from ether_demux() and the outbound pass invoked > from ether_output_frame() can you test for MAC addresses (or mac-types); > the 'normal' layer3 passes examine packets that have no layer2 headers. > > You could just add 'layer2' to any rules filtering on MAC addresses, and > omit MAC addresses from all layer 3 (IP) rules, but I'd recommend using > a method like shown there to separate layer2 and layer3 flows early on: > > # packets from ether_demux > ipfw add 10 skipto 1000 all from any to any layer2 in > # packets from ip_input > ipfw add 10 skipto 2000 all from any to any not layer2 in > # packets from ip_output > ipfw add 10 skipto 3000 all from any to any not layer2 out > # packets from ether_output_frame > ipfw add 10 skipto 4000 all from any to any layer2 out > > So at (eg) 1000 and 4000 place your incoming and outgoing MAC filtering > rules (remembering the reversed order of MAC addresses vs IP addresses, > and to allow broadcasts as well), pass good guys and/or block bad guys, > then deal with your normal IPv4|v6 traffic in a separate section(s). > > Or you could just split the flows into two streams, one for layer2 for > your MAC filtering, the other for layer3, ie the rest of your ruleset. > > HTH, Ian [please cc me on any reply] > From bycn82 at gmail.com Mon Jun 11 03:16:57 2012 From: bycn82 at gmail.com (Bill Yuan) Date: Mon Jun 11 03:17:04 2012 Subject: how to allow by MAC In-Reply-To: References: <20120610120041.4D0F610657C3@hub.freebsd.org> <20120611025332.N46641@sola.nimnet.asn.au> Message-ID: forget to po the link here http://lists.freebsd.org/pipermail/freebsd-questions/2008-June/177636.html On Mon, Jun 11, 2012 at 11:16 AM, Bill Yuan wrote: > Hi Lan, > > Thanks for your reply, I am reading some old emails which you sent in 2008 > while other place asked a same question as mine, > > > On Mon, Jun 11, 2012 at 1:53 AM, Ian Smith wrote: > >> In freebsd-questions Digest, Vol 418, Issue 18, Message: 1 >> On Sun, 10 Jun 2012 17:43:39 +0800 Bill Yuan wrote: >> >> > how to allow by MAC in ipfw >> > >> > currently i set the rule like below >> > >> > 1 allow ip from any to any MAC any to >> > 1 allow ip from any to any MAC any >> > 2 deny all from any to any >> > >> > i want to only allow the mac address to go through the freebsd >> firewall, >> > >> > but I found it is not working on my freebsd but it works on pfsense! >> > >> > so maybe that means the environment is not the same ? and how to setup >> the >> > ipfw properly to support this ? >> >> Bill, you did get some good clues in the earlier thread, but it's not >> clear if you took note of them. There's also been some confusion .. >> >> Firstly, read up on layer2 (ethernet, MAC-level) filtering options in >> ipfw(8). Thoroughly, several times, until you've got it. Seriously. >> >> After enabling sysctl net.link.ether.ipfw=1 (add it to /etc/sysctl.conf) >> ipfw will be invoked 4 times instead of the normal 2, on every packet. >> >> Read carefully ipfw(8) section 'PACKET FLOW', and see that only on the >> inbound pass invoked from ether_demux() and the outbound pass invoked >> from ether_output_frame() can you test for MAC addresses (or mac-types); >> the 'normal' layer3 passes examine packets that have no layer2 headers. >> >> You could just add 'layer2' to any rules filtering on MAC addresses, and >> omit MAC addresses from all layer 3 (IP) rules, but I'd recommend using >> a method like shown there to separate layer2 and layer3 flows early on: >> >> # packets from ether_demux >> ipfw add 10 skipto 1000 all from any to any layer2 in >> # packets from ip_input >> ipfw add 10 skipto 2000 all from any to any not layer2 in >> # packets from ip_output >> ipfw add 10 skipto 3000 all from any to any not layer2 out >> # packets from ether_output_frame >> ipfw add 10 skipto 4000 all from any to any layer2 out >> >> So at (eg) 1000 and 4000 place your incoming and outgoing MAC filtering >> rules (remembering the reversed order of MAC addresses vs IP addresses, >> and to allow broadcasts as well), pass good guys and/or block bad guys, >> then deal with your normal IPv4|v6 traffic in a separate section(s). >> >> Or you could just split the flows into two streams, one for layer2 for >> your MAC filtering, the other for layer3, ie the rest of your ruleset. >> >> HTH, Ian [please cc me on any reply] >> > > From brian at brianwhalen.net Mon Jun 11 03:21:02 2012 From: brian at brianwhalen.net (Brian W.) Date: Mon Jun 11 03:21:10 2012 Subject: how to allow by MAC In-Reply-To: References: <20120610120041.4D0F610657C3@hub.freebsd.org> <20120611025332.N46641@sola.nimnet.asn.au> Message-ID: I would ask what problem do you want to solve here; is it preventing a userjust from getting out unless they are using their assigned address, or something else? On Jun 10, 2012 8:16 PM, "Bill Yuan" wrote: > Hi Lan, > > Thanks for your reply, I am reading some old emails which you sent in 2008 > while other place asked a same question as mine, > > > On Mon, Jun 11, 2012 at 1:53 AM, Ian Smith wrote: > > > In freebsd-questions Digest, Vol 418, Issue 18, Message: 1 > > On Sun, 10 Jun 2012 17:43:39 +0800 Bill Yuan wrote: > > > > > how to allow by MAC in ipfw > > > > > > currently i set the rule like below > > > > > > 1 allow ip from any to any MAC any to > > > 1 allow ip from any to any MAC any > > > 2 deny all from any to any > > > > > > i want to only allow the mac address to go through the freebsd > firewall, > > > > > > but I found it is not working on my freebsd but it works on pfsense! > > > > > > so maybe that means the environment is not the same ? and how to setup > > the > > > ipfw properly to support this ? > > > > Bill, you did get some good clues in the earlier thread, but it's not > > clear if you took note of them. There's also been some confusion .. > > > > Firstly, read up on layer2 (ethernet, MAC-level) filtering options in > > ipfw(8). Thoroughly, several times, until you've got it. Seriously. > > > > After enabling sysctl net.link.ether.ipfw=1 (add it to /etc/sysctl.conf) > > ipfw will be invoked 4 times instead of the normal 2, on every packet. > > > > Read carefully ipfw(8) section 'PACKET FLOW', and see that only on the > > inbound pass invoked from ether_demux() and the outbound pass invoked > > from ether_output_frame() can you test for MAC addresses (or mac-types); > > the 'normal' layer3 passes examine packets that have no layer2 headers. > > > > You could just add 'layer2' to any rules filtering on MAC addresses, and > > omit MAC addresses from all layer 3 (IP) rules, but I'd recommend using > > a method like shown there to separate layer2 and layer3 flows early on: > > > > # packets from ether_demux > > ipfw add 10 skipto 1000 all from any to any layer2 in > > # packets from ip_input > > ipfw add 10 skipto 2000 all from any to any not layer2 in > > # packets from ip_output > > ipfw add 10 skipto 3000 all from any to any not layer2 out > > # packets from ether_output_frame > > ipfw add 10 skipto 4000 all from any to any layer2 out > > > > So at (eg) 1000 and 4000 place your incoming and outgoing MAC filtering > > rules (remembering the reversed order of MAC addresses vs IP addresses, > > and to allow broadcasts as well), pass good guys and/or block bad guys, > > then deal with your normal IPv4|v6 traffic in a separate section(s). > > > > Or you could just split the flows into two streams, one for layer2 for > > your MAC filtering, the other for layer3, ie the rest of your ruleset. > > > > HTH, Ian [please cc me on any reply] > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From bycn82 at gmail.com Mon Jun 11 03:39:58 2012 From: bycn82 at gmail.com (Bill Yuan) Date: Mon Jun 11 03:40:04 2012 Subject: how to allow by MAC In-Reply-To: References: <20120610120041.4D0F610657C3@hub.freebsd.org> <20120611025332.N46641@sola.nimnet.asn.au> Message-ID: Hi Brian, Thanks for your care, Execute me for my English is not that good , I am from Singapore :) I want to create a white list MAC address, Only the machine which it's MAC in the white list will be allowed, all others will be blocked. Thanks On Mon, Jun 11, 2012 at 11:21 AM, Brian W. wrote: > I would ask what problem do you want to solve here; is it preventing a > userjust from getting out unless they are using their assigned address, or > something else? > On Jun 10, 2012 8:16 PM, "Bill Yuan" wrote: > >> Hi Lan, >> >> Thanks for your reply, I am reading some old emails which you sent in 2008 >> while other place asked a same question as mine, >> >> >> On Mon, Jun 11, 2012 at 1:53 AM, Ian Smith wrote: >> >> > In freebsd-questions Digest, Vol 418, Issue 18, Message: 1 >> > On Sun, 10 Jun 2012 17:43:39 +0800 Bill Yuan wrote: >> > >> > > how to allow by MAC in ipfw >> > > >> > > currently i set the rule like below >> > > >> > > 1 allow ip from any to any MAC any to >> > > 1 allow ip from any to any MAC any >> > > 2 deny all from any to any >> > > >> > > i want to only allow the mac address to go through the freebsd >> firewall, >> > > >> > > but I found it is not working on my freebsd but it works on pfsense! >> > > >> > > so maybe that means the environment is not the same ? and how to >> setup >> > the >> > > ipfw properly to support this ? >> > >> > Bill, you did get some good clues in the earlier thread, but it's not >> > clear if you took note of them. There's also been some confusion .. >> > >> > Firstly, read up on layer2 (ethernet, MAC-level) filtering options in >> > ipfw(8). Thoroughly, several times, until you've got it. Seriously. >> > >> > After enabling sysctl net.link.ether.ipfw=1 (add it to /etc/sysctl.conf) >> > ipfw will be invoked 4 times instead of the normal 2, on every packet. >> > >> > Read carefully ipfw(8) section 'PACKET FLOW', and see that only on the >> > inbound pass invoked from ether_demux() and the outbound pass invoked >> > from ether_output_frame() can you test for MAC addresses (or mac-types); >> > the 'normal' layer3 passes examine packets that have no layer2 headers. >> > >> > You could just add 'layer2' to any rules filtering on MAC addresses, and >> > omit MAC addresses from all layer 3 (IP) rules, but I'd recommend using >> > a method like shown there to separate layer2 and layer3 flows early on: >> > >> > # packets from ether_demux >> > ipfw add 10 skipto 1000 all from any to any layer2 in >> > # packets from ip_input >> > ipfw add 10 skipto 2000 all from any to any not layer2 in >> > # packets from ip_output >> > ipfw add 10 skipto 3000 all from any to any not layer2 out >> > # packets from ether_output_frame >> > ipfw add 10 skipto 4000 all from any to any layer2 out >> > >> > So at (eg) 1000 and 4000 place your incoming and outgoing MAC filtering >> > rules (remembering the reversed order of MAC addresses vs IP addresses, >> > and to allow broadcasts as well), pass good guys and/or block bad guys, >> > then deal with your normal IPv4|v6 traffic in a separate section(s). >> > >> > Or you could just split the flows into two streams, one for layer2 for >> > your MAC filtering, the other for layer3, ie the rest of your ruleset. >> > >> > HTH, Ian [please cc me on any reply] >> > >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > From subhro at 80386.org Mon Jun 11 04:27:56 2012 From: subhro at 80386.org (Subhro Sankha Kar) Date: Mon Jun 11 04:28:03 2012 Subject: Firefox Script Problems In-Reply-To: <4FD50011.6090703@myfairpoint.net> References: <4FD50011.6090703@myfairpoint.net> Message-ID: Hello Sean, Can you run FF from a terminal and report back what you see? Thanks -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 On 11-Jun-2012, at 1:44 AM, sean wrote: > Hello All, > > I just upgraded Firefox to the latest available in ports. > Since this upgrade Firefox is near unresponsive. > Messages keep popping up about unresponsive script errors on the page being viewed. > Would anyone have any ideas on how to best approach this problem to find the fix? > > Thanks in advance, > Sean > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From bc979 at lafn.org Mon Jun 11 06:20:25 2012 From: bc979 at lafn.org (Doug Hardie) Date: Mon Jun 11 06:20:32 2012 Subject: Version Selection Message-ID: I have a number of servers that I am about to upgrade to FreeBSD 9.0. The processors all have the ability to run i386 or amd64. The machines all have 2 GB memory which is more than adequate for their intended use. Some of these are replacing very old equipment that is being retired and did not have the ability to run amd64 so everything has been i386 till now. The question is what are the advantages or disadvantages of switching to amd64? I have tested all the various applications on amd64 and they work fine. Is there going to be any benefit down the road in a few years to being on amd64? If so, now would be the time to switch. From danm at prime.gushi.org Mon Jun 11 06:29:20 2012 From: danm at prime.gushi.org (Dan Mahoney, System Admin) Date: Mon Jun 11 06:29:27 2012 Subject: possbility of a port for older versions of libintl? Message-ID: Hey there, I recently discovered that the vmware-tools package is compiled against libintl.so.8 -- yes, this is probably something that should be fixed at the vmware level, but VMware's love for FreeBSD isn't there. As a workaround, it might be useful to have a port which compiles an older version of libintl (potential security issues notwithstanding, since it's assumed it will only be used by this one tool). This seems to me to be somewhat *less* destabilizing than the commonly-suggested (and perhaps, oft-used) suggestion of symlinking /usr/lib/libintl.so.8 --> libintl.so.9 Thoughts? -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From m.seaman at infracaninophile.co.uk Mon Jun 11 07:15:36 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Jun 11 07:15:43 2012 Subject: Version Selection In-Reply-To: References: Message-ID: <4FD59B0D.9030802@infracaninophile.co.uk> On 11/06/2012 07:20, Doug Hardie wrote: > I have a number of servers that I am about to upgrade to FreeBSD 9.0. > The processors all have the ability to run i386 or amd64. The > machines all have 2 GB memory which is more than adequate for their > intended use. Some of these are replacing very old equipment that is > being retired and did not have the ability to run amd64 so everything > has been i386 till now. The question is what are the advantages or > disadvantages of switching to amd64? I have tested all the various > applications on amd64 and they work fine. Is there going to be any > benefit down the road in a few years to being on amd64? If so, now > would be the time to switch. In my experience I find that amd64 is the way to go. As in: the only reason to use i386 is if there is some software that requires i386 and that you can't either replace with an amd64 compatible alternative, run in 32bit mode using lib32 shlibs etc. or just do without entirely. The principle reasoning behind this is that amd64 is essentially a super-set of i386: just about anything you can do on i386, you can do on amd64, but not necessarily vice-versa. There are some differences in performance and memory usage, but these are usually minor and in practice mostly in favour of amd64. Although you're only using 2GB RAM now, amd64 does give you the possibility of expanding that to >4GB should that become a requirement in future. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120611/58455018/signature.pgp From freebsd at edvax.de Mon Jun 11 07:23:28 2012 From: freebsd at edvax.de (Polytropon) Date: Mon Jun 11 07:23:35 2012 Subject: possbility of a port for older versions of libintl? In-Reply-To: References: Message-ID: <20120611092326.70a5ac43.freebsd@edvax.de> On Mon, 11 Jun 2012 02:11:43 -0400 (EDT), Dan Mahoney, System Admin wrote: > As a workaround, it might be useful to have a port which compiles an older > version of libintl (potential security issues notwithstanding, since it's > assumed it will only be used by this one tool). Maybe using the port compatx--. (which has the required lib version you need) in combination with the ld.so library mapping (see "man libmap.conf") will work? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From m.seaman at infracaninophile.co.uk Mon Jun 11 07:29:10 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Jun 11 07:29:19 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <48302.1339366497@tristatelogic.com> References: <48302.1339366497@tristatelogic.com> Message-ID: <4FD59E40.3060506@infracaninophile.co.uk> On 10/06/2012 23:14, Ronald F. Guilmette wrote: > Well, nevermind about that. I get the general idea, i.e. that dumping > at level N causes dumping of everything that has changed since the last > dump at level N-1. Not quite. A dump at level N includes everything that changed since the most recent dump at level M where M from Gary Aitken : I'm trying to build a script to rebuild and reinstall everything I have installed from ports. I don't want to have to keep checking on it and filling out the +appropriate check boxes for options. I naively assumed: for port in $ports do cd /usr/port/$port make config-recursive cd ../.. done would allow me to set up all the dependencies before continuing with the install. It appears, however, that it doesn't really recurse properly. I say "appears" only because this is my first time trying this and despite doing the above +setting of options, I am confronted with additional options screens as the build progresses. Is there a way to get around this? This has happened to me too, all too many times. One way to avoid this problem is to run make config-recursive repeatedly until you get no more dialog screens. Or you can try portmaster as Subhro Sankha Kar suggests; I am only getting started with portmaster, successfully portmastered cdrtools. I have a lot of ports now to upgrade (master?) I like to keep a log such as by (command) | & tee /path/to/log-file, or anything else that works equally well. Tom From mike at milibyte.co.uk Mon Jun 11 08:42:45 2012 From: mike at milibyte.co.uk (Mike Clarke) Date: Mon Jun 11 08:42:53 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: References: <48302.1339366497@tristatelogic.com> Message-ID: <201206110939.26558.mike@milibyte.co.uk> On Monday 11 June 2012 00:03:59 Daniel Feenberg wrote: > It does occur to me that /etc is not a felicitous place to keep this > information, but given the desirability of dumping filesystems in read > only state, placing the dump dates in the filesystem itself isn't > feasible. Dumping with the -L option creates a temporary read only snapshot which is used as the source for the backup. This enables you to safely backup a live filesystem, More background on snapshots at -- Mike Clarke From smithi at nimnet.asn.au Mon Jun 11 10:12:16 2012 From: smithi at nimnet.asn.au (Ian Smith) Date: Mon Jun 11 10:12:24 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120610232318.4B2111065779@hub.freebsd.org> References: <20120610232318.4B2111065779@hub.freebsd.org> Message-ID: <20120611194826.G46641@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 418, Issue 19, Message: 23 On Sun, 10 Jun 2012 16:56:49 -0400 Jerry wrote: > On Sun, 10 Jun 2012 22:06:26 +0200 > Julian H. Stacey articulated: [..] > >As a start here's : http://berklix.org/uefi/ > > > >URLs welcome. Contact names welcome. Volunteers welcome. > > It is posts like this that basically turn my stomach. A product, any > product, should succeed or fail based on its own merits and not because > some government agency aided or thwarted it. Most, it not nearly all PC > manufacturers exist solely because of Microsoft. The PC market balloons > every time Microsoft releases a new version of Windows. Seriously now, > how many PC were sold because FreeBSD released version 9 of its OS? If > you want to beat someone, you make a better product. You don't go > running to your mamma asking for protection. That stinks of > socialism/fascism. The UEFI specification has existed for years. > Supposedly, Linux has been capable of using it for 8+ years. I have > no idea if FreeBSD is even capable of handling it. It wouldn't > surprise me it if couldn't though. What this really tells me is that > there has been way to much procrastination by the FOSS. Microsoft > simply took advantage of an existing standard (remember "standards" > something the FOSS is always crying about) and now FOSS is begging for > mercy. This is more than just slightly funny, it is pathetic. If 1% of > the effort of spreading this BS over UEFI had gone into working on a > solution for UEFI two years ago, we wouldn't be having this discussion > at all. I'vw been wondering when this topic would summon our longest-serving resident troll for Microsoft out of the woodwork for a proper full-tilt rant, replete with inimitable "socialism/fascism" jibe. Gotta love it! Ian From mexas at bristol.ac.uk Mon Jun 11 11:31:43 2012 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Jun 11 11:31:53 2012 Subject: can't kill -9 Xorg Message-ID: <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> My X is unusable since the recent png update. This is r236740M on HP Compaq 6715s amd64 laptop. I've no hal installed (if this matters). # pkg info -x xorg linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) xorg-cf-files-1.0.4 X.org cf files for use with imake builds xorg-fonts-7.5.1 X.org fonts meta-port xorg-fonts-100dpi-7.5.1 X.Org 100dpi bitmap fonts xorg-fonts-75dpi-7.5.1 X.Org 75dpi bitmap fonts xorg-fonts-cyrillic-7.5.1 X.Org Cyrillic bitmap fonts xorg-fonts-miscbitmaps-7.5.1 X.Org miscellaneous bitmap fonts xorg-fonts-truetype-7.5.1 X.Org TrueType fonts xorg-fonts-type1-7.5.1 X.Org Type1 fonts xorg-libraries-7.5.1 X.org libraries meta-port xorg-macros-1.16.1 X.Org development aclocal macros xorg-server-1.7.7_5,1 X.Org X server and related programs # # pkg info -x xf86 libXxf86dga-1.1.2 X DGA Extension libXxf86misc-1.0.3 X XF86-Misc Extension libXxf86vm-1.1.1 X Vidmode Extension xf86-input-keyboard-1.6.1 X.Org keyboard input driver xf86-input-mouse-1.7.1 X.Org mouse input driver xf86-video-ati-6.14.3_1 X.Org ati display driver xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers xf86dgaproto-2.1 XFree86-DGA extension headers xf86driproto-2.1.1 XFree86-DRI extension headers xf86miscproto-0.9.3 XFree86-Misc extension headers xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers # My xorg.conf.new: Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AllowEmptyInput" "Off" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "glx" Load "dri" Load "dri2" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 330 210 # mm Identifier "Monitor0" VendorName "LPL" ModelName "d600" EndSection Section "Device" Identifier "Card0" Driver "radeon" VendorName "Advanced Micro Devices [AMD] nee ATI" BoardName "RS690M [Radeon X1200 Series]" BusID "PCI:1:5:0" Option "int10" "on" Option "BusType" "PCIE" Option "RenderAccel" "on" Option "AccelMethod" "xaa" Option "DynamicPM" "on" Option "DRI" "on" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection The Xorg.0.log: X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 10.0-CURRENT amd64 Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun 9 22:35:49 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 Build Date: 11 June 2012 12:11:20PM Current version of pixman: 0.24.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 11 12:24:08 2012 (++) Using config file: "/root/xorg.conf.new" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (**) Option "AllowEmptyInput" "Off" (==) Not automatically adding devices (==) Not automatically enabling devices (**) FontPath set to: /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/ (**) ModulePath set to "/usr/local/lib/xorg/modules" (II) Loader magic: 0x7bd3c0 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 6.0 X.Org XInput driver : 7.0 X.Org Server Extension : 2.0 (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (--) PCI:*(0:1:5:0) 1002:791f:103c:30c2 Advanced Micro Devices [AMD] nee ATI RS690M [Radeon X1200 Series] rev 0, Mem @ 0xc0000000/134217728, 0xd0200000/65536, 0xd0300000/1048576, I/O @ 0x00004000/256, BIOS @ 0x????????/65536 (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. (II) "glx" will be loaded. This was enabled by default and also specified in the config file. (II) "record" will be loaded. This was enabled by default and also specified in the config file. (II) "dri" will be loaded. This was enabled by default and also specified in the config file. (II) "dri2" will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "record" (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.13.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension RECORD (II) LoadModule: "dbe" (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX disabled (II) Loading extension GLX (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension XFree86-DRI (II) LoadModule: "dri2" (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so (II) Module dri2: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.1.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DRI2 (II) LoadModule: "radeon" (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so (II) Module radeon: vendor="X.Org Foundation" compiled for 1.7.7, module version = 6.14.3 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 6.0 (II) LoadModule: "mouse" (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.7.1 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 7.0 (II) LoadModule: "kbd" (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so (II) Module kbd: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.6.1 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 7.0 (II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI), ATI Radeon Mobility X300 (M24) 3152 (PCIE), ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI), ATI Radeon X600 (RV380) 3E50 (PCIE), ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136, ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP), ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP), ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP), ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP), ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP), ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP), ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650, ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237, ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336, ATI Radeon IGP330M/340M/350M (U2) 4337, ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI), ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP), ATI Radeon X800PRO (R420) JI (AGP), ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP), ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP), ATI Radeon Mobility 9800 (M18) JN (AGP), ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP), ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP), ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP), ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP), ATI Radeon Mobility M7 LW (AGP), ATI Mobility FireGL 7800 M7 LX (AGP), ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP), ATI FireGL Mobility 9000 (M9) Ld (AGP), ATI Radeon Mobility 9000 (M9) Lf (AGP), ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI Radeon 9700 Pro ND (AGP), ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9600TX NF (AGP), ATI FireGL X1 NG (AGP), ATI Radeon 9800PRO NH (AGP), ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP), ATI Radeon 9800XT NJ (AGP), ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP), ATI Radeon Mobility 9600 (M10) NQ (AGP), ATI Radeon Mobility 9600 (M11) NR (AGP), ATI Radeon Mobility 9600 (M10) NS (AGP), ATI FireGL Mobility T2 (M10) NT (AGP), ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP), ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP), ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP), ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI), ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI), ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI), ATI Radeon Mobility X300 (M22) 5460 (PCIE), ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE), ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE), ATI Radeon X800PRO (R423) UI (PCIE), ATI Radeon X800LE (R423) UJ (PCIE), ATI Radeon X800SE (R423) UK (PCIE), ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE), ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE), ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE), ATI FireGL unknown (R423) UR (PCIE), ATI FireGL unknown (R423) UT (PCIE), ATI Mobility FireGL V5000 (M26) (PCIE), ATI Mobility FireGL V5000 (M26) (PCIE), ATI Mobility Radeon X700 XL (M26) (PCIE), ATI Mobility Radeon X700 (M26) (PCIE), ATI Mobility Radeon X700 (M26) (PCIE), ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834, ATI Radeon Mobility 9100 IGP (U3) 5835, ATI Radeon XPRESS 200 5954 (PCIE), ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP), ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP), ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI), ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE), ATI Radeon XPRESS 200M 5975 (PCIE), ATI Radeon XPRESS 200 5A41 (PCIE), ATI Radeon XPRESS 200M 5A42 (PCIE), ATI Radeon XPRESS 200 5A61 (PCIE), ATI Radeon XPRESS 200M 5A62 (PCIE), ATI Radeon X300 (RV370) 5B60 (PCIE), ATI Radeon X600 (RV370) 5B62 (PCIE), ATI Radeon X550 (RV370) 5B63 (PCIE), ATI FireGL V3100 (RV370) 5B64 (PCIE), ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE), ATI Radeon Mobility 9200 (M9+) 5C61 (AGP), ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), ATI Mobility Radeon X800 XT (M28) (PCIE), ATI Mobility FireGL V5100 (M28) (PCIE), ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE), ATI Radeon X850 XT PE (R480) (PCIE), ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE), ATI unknown Radeon / FireGL (R480) 5D50 (PCIE), ATI Radeon X850 XT (R480) (PCIE), ATI Radeon X800XT (R423) 5D57 (PCIE), ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE), ATI Radeon X700 PRO (RV410) (PCIE), ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE), ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800, ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800, ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505, ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL, ATI Mobility Radeon X1400, ATI Radeon X1300/X1550, ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300, ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350, ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550, ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450, ATI Radeon X1300/X1550, ATI Mobility Radeon X2300, ATI Mobility Radeon X2300, ATI Mobility Radeon X1350, ATI Mobility Radeon X1350, ATI Mobility Radeon X1450, ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350, ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600, ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600, ATI Mobility FireGL V5200, ATI Mobility Radeon X1600, ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400, ATI Mobility FireGL V5250, ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT, ATI FireGL V5200, ATI Mobility Radeon X1700, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300, ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950, ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560, ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400, ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560, ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835, ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740, ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2, ATI Radeon 4800 Series, ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2, ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL), ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98, ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series, ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98, ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670, ATI FirePro M5750, ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP), ATI RV730XT [Radeon HD 4670], ATI RADEON E4600, ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650], ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL), ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830, ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740, ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770, ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870, ATI Mobility Radeon HD 3850, ATI Radeon HD3850, ATI Mobility Radeon HD 3850 X2, ATI RV670, ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850, ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710, ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series, ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630, ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT, ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP, ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630, ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600, ATI FireGL V3600, ATI Radeon HD 2600 LE, ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470, ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series, ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430, ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450, ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO, ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670, ATI Mobility FireGL V5700, ATI Mobility FireGL V5725, ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2, SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200, ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250, AMD Radeon HD 6310 Graphics, AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics, AMD Radeon HD 6250 Graphics, AMD Radeon HD 6300 Series Graphics, AMD Radeon HD 6200 Series Graphics, CYPRESS, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370, AMD Firestream 9350, ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series, ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series, ATI Mobility Radeon HD 5800 Series, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro (FireGL) Graphics Adapter, ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series, ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD, ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR, ATI Radeon HD 5450, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN, CAYMAN, CAYMAN, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS, BARTS, Mobility Radeon HD 6000 Series, Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS, AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS (II) Primary Device is: PCI 01@00:05:0 (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support (II) RADEON(0): TOTO SAYS 00000000d0200000 (II) RADEON(0): MMIO registers at 0x00000000d0200000: size 64KB (II) RADEON(0): PCI bus 1 card 5 func 0 (==) RADEON(0): Depth 24, (--) framebuffer bpp 32 (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) (==) RADEON(0): Default visual is TrueColor (**) RADEON(0): Option "BusType" "PCIE" (**) RADEON(0): Option "RenderAccel" "on" (**) RADEON(0): Option "AccelMethod" "xaa" (**) RADEON(0): Option "DRI" "on" (**) RADEON(0): Option "Int10" "on" (**) RADEON(0): Option "DynamicPM" "on" (II) Loading sub module "vgahw" (II) LoadModule: "vgahw" (II) Loading /usr/local/lib/xorg/modules/libvgahw.so (II) Module vgahw: vendor="X.Org Foundation" compiled for 1.7.7, module version = 0.1.0 ABI class: X.Org Video Driver, version 6.0 (II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (==) RADEON(0): RGB weight 888 (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) (--) RADEON(0): Chipset: "ATI Radeon X1200" (ChipID = 0x791f) (--) RADEON(0): Linear framebuffer at 0x00000000c0000000 (II) RADEON(0): PCI card detected (**) RADEON(0): Forced into PCI mode (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Loading /usr/local/lib/xorg/modules/libint10.so (II) Module int10: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org Video Driver, version 6.0 (II) RADEON(0): initializing int10 (**) RADEON(0): Option "int10" "on" (==) RADEON(0): Write-combining range (0xa0000,0x20000) was already clear (==) RADEON(0): Write-combining range (0xc0000,0x40000) was already clear (II) RADEON(0): Primary V_BIOS segment is: 0xc000 (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear (II) RADEON(0): ATOM BIOS detected (II) RADEON(0): ATOM BIOS Rom: SubsystemVendorID: 0x1002 SubsystemID: 0x791f IOBaseAddress: 0x4000 Filename: br23883.bin BIOS Bootup Message: ATI Radeon Xpress ?1250? for HP_TT (II) RADEON(0): Framebuffer space used by Firmware (kb): 20 (II) RADEON(0): Start of VRAM area used by Firmware: 0x7ffb000 (II) RADEON(0): AtomBIOS requests 20kB of VRAM scratch space (II) RADEON(0): AtomBIOS VRAM scratch base: 0x7ffb000 (II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory instead (II) RADEON(0): Default Engine Clock: 400000 (II) RADEON(0): Default Memory Clock: 200000 (II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 1200000 (II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0 (II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500 (II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000 (II) RADEON(0): Maximum Pixel Clock: 400000 (II) RADEON(0): Reference Clock: 14320 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: Searching for BusID pci:0000:01:05.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: drmOpenMinor returns 10 drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.31.0 (==) RADEON(0): Page Flipping disabled on r5xx and newer chips. (II) RADEON(0): Will try to use DMA for Xv image transfers (II) RADEON(0): Generation 2 PCI interface, using max accessible memory (II) RADEON(0): Detected total video RAM=131072K, accessible=131072K (PCI BAR=131072K) (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) (II) RADEON(0): Color tiling enabled by default (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Module "ddc" already built-in (II) Loading sub module "i2c" (II) LoadModule: "i2c" (II) Module "i2c" already built-in (II) RADEON(0): PLL parameters: rf=1432 rd=12 min=80000 max=120000; xclk=40000 (WW) RADEON(0): LVDS Info: XRes: 1280, YRes: 800, DotClock: 71000 HBlank: 160, HOverPlus: 48, HSyncWidth: 32 VBlank: 23, VOverPlus: 3, VSyncWidth: 6 (II) RADEON(0): Skipping TV-Out (II) RADEON(0): Skipping Component Video (II) RADEON(0): Output VGA-0 using monitor section Monitor0 (II) RADEON(0): I2C bus "VGA-0" initialized. (II) RADEON(0): Output LVDS has no monitor section (II) RADEON(0): I2C bus "LVDS" initialized. (II) RADEON(0): Port0: XRANDR name: VGA-0 Connector: VGA CRT1: INTERNAL_KLDSCP_DAC1 DDC reg: 0x7e50 (II) RADEON(0): Port1: XRANDR name: LVDS Connector: LVDS LCD1: INTERNAL_LVTM1 DDC reg: 0x7e40 (II) RADEON(0): I2C device "VGA-0:ddc2" registered at address 0xA0. Dac detection success (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 finished output detect: 0 (II) RADEON(0): I2C device "LVDS:ddc2" registered at address 0xA0. (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 (II) RADEON(0): Year: 2006 Week: 0 (II) RADEON(0): EDID Version: 1.3 (II) RADEON(0): Digital Display Input (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 (II) RADEON(0): Gamma: 2.20 (II) RADEON(0): No DPMS capabilities specified (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 (II) RADEON(0): First detailed timing is preferred mode (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 (II) RADEON(0): Manufacturer's mask: 0 (II) RADEON(0): Supported detailed timing: (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 (II) RADEON(0): LGPhilipsLCD (II) RADEON(0): LP154WX4-TLA1 (II) RADEON(0): EDID (in hex): (II) RADEON(0): 00ffffffffffff00320c00d600000000 (II) RADEON(0): 00100103802115780ab3409959538d27 (II) RADEON(0): 25505400000001010101010101010101 (II) RADEON(0): 010101010101bc1b00a0502017303020 (II) RADEON(0): 36004bcf100000190000000000000000 (II) RADEON(0): 00000000000000000000000000fe004c (II) RADEON(0): 475068696c6970734c43440a000000fe (II) RADEON(0): 004c503135345758342d544c4131004d finished output detect: 1 finished all detect Dac detection success (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 (II) RADEON(0): Year: 2006 Week: 0 (II) RADEON(0): EDID Version: 1.3 (II) RADEON(0): Digital Display Input (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 (II) RADEON(0): Gamma: 2.20 (II) RADEON(0): No DPMS capabilities specified (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 (II) RADEON(0): First detailed timing is preferred mode (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 (II) RADEON(0): Manufacturer's mask: 0 (II) RADEON(0): Supported detailed timing: (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 (II) RADEON(0): LGPhilipsLCD (II) RADEON(0): LP154WX4-TLA1 (II) RADEON(0): EDID (in hex): (II) RADEON(0): 00ffffffffffff00320c00d600000000 (II) RADEON(0): 00100103802115780ab3409959538d27 (II) RADEON(0): 25505400000001010101010101010101 (II) RADEON(0): 010101010101bc1b00a0502017303020 (II) RADEON(0): 36004bcf100000190000000000000000 (II) RADEON(0): 00000000000000000000000000fe004c (II) RADEON(0): 475068696c6970734c43440a000000fe (II) RADEON(0): 004c503135345758342d544c4131004d (II) RADEON(0): EDID vendor "LPL", prod id 54784 (II) RADEON(0): Output VGA-0 disconnected (II) RADEON(0): Output LVDS connected (II) RADEON(0): Using exact sizes for initial modes (II) RADEON(0): Output LVDS using initial mode 1280x800 (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. (==) RADEON(0): DPI set to (96, 96) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/local/lib/xorg/modules/libfb.so (II) Module fb: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Module "ramdac" already built-in (**) RADEON(0): Using XAA acceleration architecture (II) Loading sub module "xaa" (II) LoadModule: "xaa" (II) Loading /usr/local/lib/xorg/modules/libxaa.so (II) Module xaa: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.2.1 ABI class: X.Org Video Driver, version 6.0 (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support (--) Depth 24 pixmap format is 32 bpp (II) RADEON(0): RADEONScreenInit c0000000 0 0 (==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear Output LCD1 disable success Blank CRTC 0 success Disable CRTC 0 success Blank CRTC 1 success Disable CRTC 1 success (II) RADEON(0): Dynamic Power Management Enabled (==) RADEON(0): Using 24 bit depth buffer (II) RADEON(0): RADEONInitMemoryMap() : (II) RADEON(0): mem_size : 0x08000000 (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 (II) RADEON(0): Depth moves disabled by default (II) RADEON(0): Using 32 MB GART aperture (II) RADEON(0): Using 1 MB for the ring buffer (II) RADEON(0): Using 2 MB for vertex/indirect buffers (II) RADEON(0): Using 29 MB for GART textures (II) RADEON(0): Memory manager initialized to (0,0) (1280,8191) (II) RADEON(0): Reserved area from (0,1280) to (1280,1282) (II) RADEON(0): Largest offscreen area available: 1280 x 6909 (II) RADEON(0): Will use front buffer at offset 0x0 (II) RADEON(0): Will use back buffer at offset 0x1978000 (II) RADEON(0): Will use depth buffer at offset 0x1fb8000 (II) RADEON(0): Will use 92160 kb for textures at offset 0x25f8000 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: Searching for BusID pci:0000:01:05.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: drmOpenMinor returns 10 drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 (II) [drm] DRM interface version 1.2 (II) [drm] DRM open master succeeded. (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables. (II) RADEON(0): [drm] framebuffer handle = 0x40000000000 (II) RADEON(0): [drm] added 1 reserved context for kernel (II) RADEON(0): X context handle = 0x1 (II) RADEON(0): [drm] installed DRM signal handler (II) RADEON(0): [pci] 32768 kB allocated with handle 0xcff65000 (II) RADEON(0): [pci] ring handle = 0x00000000 (II) RADEON(0): [pci] Ring mapped at 0x804c1f000 (II) RADEON(0): [pci] Ring contents 0x00000000 (II) RADEON(0): [pci] ring read ptr handle = 0x00000000 (II) RADEON(0): [pci] Ring read ptr mapped at 0x80090e000 (II) RADEON(0): [pci] Ring read ptr contents 0x00000000 (II) RADEON(0): [pci] vertex/indirect buffers handle = 0x00000000 (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x80ce00000 (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000 (II) RADEON(0): [pci] GART texture map handle = 0x00000000 (II) RADEON(0): [pci] GART Texture map mapped at 0x80d094000 (II) RADEON(0): [drm] register handle = 0x00000000 (II) RADEON(0): [dri] Visual configs initialized (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 (==) RADEON(0): Backing store disabled (II) RADEON(0): [DRI] installation complete (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers (II) RADEON(0): [drm] dma control initialized, using IRQ 256 (II) RADEON(0): [drm] Initialized kernel GART heap manager, 29884416 (WW) RADEON(0): DRI init changed memory map, adjusting ... (WW) RADEON(0): MC_FB_LOCATION was: 0xbfffb800 is: 0xbfffb800 (WW) RADEON(0): MC_AGP_LOCATION was: 0x003f0000 is: 0xc1ffc000 (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 (II) RADEON(0): MC_AGP_LOCATION : 0xc1ffc000 (II) RADEON(0): Direct rendering enabled (II) RADEON(0): Render acceleration disabled (II) RADEON(0): num quad-pipes is 1 (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles Indirect CPU to Screen color expansion Solid Lines Scanline Image Writes Setting up tile and stipple cache: 32 128x128 slots 32 256x256 slots 16 512x512 slots (II) RADEON(0): Acceleration enabled (==) RADEON(0): DPMS enabled (==) RADEON(0): Silken mouse enabled (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00643000 (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00648000 (II) RADEON(0): Largest offscreen area available: 1280 x 6901 (II) RADEON(0): Set up textured video (II) RADEON(0): [XvMC] Associated with Radeon Textured Video. (II) RADEON(0): [XvMC] Extension initialized. Output CRT1 disable success Output LCD1 disable success Blank CRTC 0 success Disable CRTC 0 success Blank CRTC 1 success Disable CRTC 1 success I tried running Xorg -config /root/xorg.conf.new I get black screen, from which I can't recover. CTRL+ALT+F<...> does nothing, CTRL+ALT+BACKSPACE does nothing. And I can't kill Xorg: # ps ax |grep Xorg 1056 0 RE+ 5:54.16 Xorg -config /root/xorg.conf.new -retro 1112 1 RL+ 0:00.02 grep Xorg # kill -9 1056 # ps ax |grep Xorg 1056 0 RE+ 6:01.24 Xorg -config /root/xorg.conf.new -retro 1114 1 S+ 0:00.02 grep Xorg # The only way I can recover is reboot. Please advise. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From tech.junk at myfairpoint.net Mon Jun 11 12:00:01 2012 From: tech.junk at myfairpoint.net (sean) Date: Mon Jun 11 12:00:08 2012 Subject: Firefox Script Problems In-Reply-To: References: <4FD50011.6090703@myfairpoint.net> Message-ID: <06CD136E-ADC9-49D5-A849-2B58340A7D9E@myfairpoint.net> On Jun 11, 2012, at 12:27 AM, Subhro Sankha Kar wrote: > Hello Sean, > > Can you run FF from a terminal and report back what you see? > > Thanks > -- > Subhro Sankha Kar > System Administrator > Working and Playing with FreeBSD since 2002 > Thank you for the reply. I have cured the problem. To fix the unresponsiveness I had to delete the .mozilla directory in my home directory and let Firefox recreate a new one on startup. I just had to reconfigure FF to my personal settings since this is a "first time" run. Thanks again From roberthuff at rcn.com Mon Jun 11 12:14:25 2012 From: roberthuff at rcn.com (Robert Huff) Date: Mon Jun 11 12:14:33 2012 Subject: speed of "dump" In-Reply-To: <201206110559.q5B5x0Vu096317@jerusalem.litteratus.org> References: <201206110559.q5B5x0Vu096317@jerusalem.litteratus.org> Message-ID: <20437.57631.776197.982243@jerusalem.litteratus.org> Another thread, which I seem to have lost, was talking about dump and sizing its cache. Per my promise, appended is the log of this morning's level 0 dump, using C=32. THe system is -CURRENT from March, using AMD Phemon II x4/3ghz and SATA 3gbit drives (one internal, one external.). Robert Huff Backup started. at Mon Jun 11 01:59:00 EDT 2012 /backup clean Disk mounted DUMP: Date of this level 0 dump: Mon Jun 11 01:59:02 2012 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ad2s1a (/) to 2012.Jun.11.root.dump DUMP: mapping (Pass I) [regular files] DUMP: Cache 32 MB, blocksize = 65536 DUMP: mapping (Pass II) [directories] DUMP: estimated 1295163 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 1295138 tape blocks on 1 volume DUMP: finished in 106 seconds, throughput 12218 KBytes/sec DUMP: level 0 dump on Mon Jun 11 01:59:02 2012 DUMP: Closing 2012.Jun.11.root.dump DUMP: DUMP IS DONE Compressing with gzip ... done DUMP: Date of this level 0 dump: Mon Jun 11 02:02:06 2012 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ad2s1d (/var) to 2012.Jun.11.var.dump DUMP: mapping (Pass I) [regular files] DUMP: Cache 32 MB, blocksize = 65536 DUMP: mapping (Pass II) [directories] DUMP: estimated 545087 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 545009 tape blocks on 1 volume DUMP: finished in 72 seconds, throughput 7569 KBytes/sec DUMP: level 0 dump on Mon Jun 11 02:02:06 2012 DUMP: Closing 2012.Jun.11.var.dump DUMP: DUMP IS DONE Compressing with gzip... done DUMP: Date of this level 0 dump: Mon Jun 11 02:04:01 2012 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ad4p2 (/usr) to 2012.Jun.11.usr.dump DUMP: mapping (Pass I) [regular files] DUMP: Cache 32 MB, blocksize = 65536 DUMP: mapping (Pass II) [directories] DUMP: estimated 34156025 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 11.75% done, finished in 0:37 at Mon Jun 11 02:46:45 2012 DUMP: 29.89% done, finished in 0:23 at Mon Jun 11 02:37:39 2012 DUMP: 44.21% done, finished in 0:18 at Mon Jun 11 02:38:07 2012 DUMP: 63.00% done, finished in 0:11 at Mon Jun 11 02:35:56 2012 DUMP: 83.78% done, finished in 0:04 at Mon Jun 11 02:34:02 2012 DUMP: DUMP: 34166302 tape blocks on 1 volume DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec DUMP: level 0 dump on Mon Jun 11 02:04:01 2012 DUMP: Closing 2012.Jun.11.usr.dump DUMP: DUMP IS DONE 569586 /backup/Mon/root 34183010 /backup/Mon/usr 139058 /backup/Mon/var 34891656 /backup/Mon Disk unmounted. Backup complete. at Mon Jun 11 02:33:30 EDT 2012 From c.kworr at gmail.com Mon Jun 11 12:31:47 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Mon Jun 11 12:31:55 2012 Subject: prune ports tree? In-Reply-To: <4FD2E7EF.1060208@dreamchaser.org> References: <4FD2E7EF.1060208@dreamchaser.org> Message-ID: <4FD5E52D.1060400@gmail.com> Gary Aitken wrote: > Is it possible to specify that parts of the ports tree should never be used? Personally I prefer downloading full tree and then adding to /usr/local/etc/ports.conf something like: lang/gcc46: IGNORE=lang/gcc should be used instead or net-p2p/*: IGNORE=server doesn't need this It's ports-mgmt/portconf configuration file. -- Sphinx of black quartz judge my vow. From baahaa3 at gmail.com Mon Jun 11 12:33:51 2012 From: baahaa3 at gmail.com (Bahaa Babekir) Date: Mon Jun 11 12:33:58 2012 Subject: mail server Message-ID: I want to sent me configuration to build mail server step by step -- bahaa From brian at brianwhalen.net Mon Jun 11 14:21:15 2012 From: brian at brianwhalen.net (Brian W.) Date: Mon Jun 11 14:21:22 2012 Subject: Version Selection In-Reply-To: References: Message-ID: There are two advantages that come to mind quickly. With amd64 you could install more than 4 gigs of ram and have it recognized. With i386 if you need to do this pae would need to be installed, which FreeBSD doc pages say is if beta quality. I bet that amd64 will get more dev attention. On Jun 10, 2012 11:21 PM, "Doug Hardie" wrote: > I have a number of servers that I am about to upgrade to FreeBSD 9.0. The > processors all have the ability to run i386 or amd64. The machines all > have 2 GB memory which is more than adequate for their intended use. Some > of these are replacing very old equipment that is being retired and did not > have the ability to run amd64 so everything has been i386 till now. The > question is what are the advantages or disadvantages of switching to amd64? > I have tested all the various applications on amd64 and they work fine. > Is there going to be any benefit down the road in a few years to being on > amd64? If so, now would be the time to switch. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From wblock at wonkity.com Mon Jun 11 14:28:51 2012 From: wblock at wonkity.com (Warren Block) Date: Mon Jun 11 14:28:58 2012 Subject: speed of "dump" In-Reply-To: <20437.57631.776197.982243@jerusalem.litteratus.org> References: <201206110559.q5B5x0Vu096317@jerusalem.litteratus.org> <20437.57631.776197.982243@jerusalem.litteratus.org> Message-ID: On Mon, 11 Jun 2012, Robert Huff wrote: > > Another thread, which I seem to have lost, was talking about > dump and sizing its cache. > Per my promise, appended is the log of this morning's level 0 dump, > using C=32. THe system is -CURRENT from March, using AMD Phemon II > x4/3ghz and SATA 3gbit drives (one internal, one external.). > > DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec Are you using -b64 ? That can make a serious throughput improvement over smaller values. From amvandemore at gmail.com Mon Jun 11 14:45:32 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Jun 11 14:45:38 2012 Subject: speed of "dump" In-Reply-To: <20437.57631.776197.982243@jerusalem.litteratus.org> References: <201206110559.q5B5x0Vu096317@jerusalem.litteratus.org> <20437.57631.776197.982243@jerusalem.litteratus.org> Message-ID: On Mon, Jun 11, 2012 at 7:14 AM, Robert Huff wrote: > > DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec > Looks like one of your disks must be USB. -- Adam Vande More From jb.1234abcd at gmail.com Mon Jun 11 15:23:32 2012 From: jb.1234abcd at gmail.com (jb) Date: Mon Jun 11 15:24:07 2012 Subject: xfce 4.10 update problems References: Message-ID: Warren Block wonkity.com> writes: > ... > > - startx fails when moused enabled > > (EE) xf86OpenSerial: Cannot open device /dev/psm0 > > Device busy. > > (EE) PS/2 Mouse: cannot open input device > > (EE) PreInit returned NULL for "PS/2 Mouse" > > (EE) config/hal: NewInputDeviceRequest failed (8) > > xinit: connection to X server lost > > > > Any known solutions ? > > Disable hal in xorg.conf, ServerLayout section: > > Option "AutoAddDevices" "Off" OK, that's way to go. But there is something strange. I tried to fix the problem by disabling moused in /etc/rc.conf . After reboot, I could 'startx' X session. But 'ps' still showed moused processes: $ ps auxww |grep -i mouse root 1286 0.0 0.1 9716 1148 ?? Ss 8:55AM 0:01.02 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid root 1888 0.0 0.1 9716 1144 ?? Is 8:55AM 0:00.00 /usr/sbin/moused -p /dev/psm0 -t auto root 2045 0.0 0.1 12340 2516 ?? I 8:55AM 0:00.01 hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy) root 2065 0.0 0.1 12340 2520 ?? I 8:55AM 0:00.01 hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy) jb 2262 0.0 0.1 9748 1284 2 S+ 9:03AM 0:00.01 grep -i mouse I tested it by rebooting 3 times. I have 2 mouses: Lenovo Thinkpad stick and external usb mouse. How to explain that? jb From feld at feld.me Mon Jun 11 15:37:42 2012 From: feld at feld.me (Mark Felder) Date: Mon Jun 11 15:37:49 2012 Subject: xfce 4.10 update problems In-Reply-To: References: Message-ID: On Mon, 11 Jun 2012 10:22:51 -0500, jb wrote: > > I tested it by rebooting 3 times. > I have 2 mouses: Lenovo Thinkpad stick and external usb mouse. moused_nondefault_enable="NO" perhaps? From perrin at apotheon.com Mon Jun 11 16:02:51 2012 From: perrin at apotheon.com (Chad Perrin) Date: Mon Jun 11 16:02:59 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> Message-ID: <20120611160244.GB20613@hemlock.hydra> On Sun, Jun 10, 2012 at 03:27:25AM +0200, Damien Fleuriot wrote: > > > On 9 Jun 2012, at 18:48, Chad Perrin wrote: > > > On Wed, Jun 06, 2012 at 11:42:37PM +0200, Damien Fleuriot wrote: > >> > >> On 6 Jun 2012, at 21:52, Dave U. Random wrote: > >> > >>> Polytropon wrote: > >>> > >>>> On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: > >>>>> Having to pay Verisign instead of Microsoft makes no difference: the > >>>>> point is why should I have to pay anything to a third party in order to > >>>>> run whatever OS I want on a piece of hardware I own? > >>> > >>> It's time to dump the Intel/Microshaft mafia forever. FreeBSD, OpenBSD, > >>> NetBSD, and even Linux have ports to many platforms. Why stay on Intel? It's > >>> an overgrown ugly mess. > >>> > >>> We need to stop buying Intel mafiaware with preinstalled Microshaft mafiware > >>> and run a free (or in the case of Linux "apparently free") OS on free > >>> hardware. > >>> > >>> There are increasing numbers of SBCs and plenty of used servers on > >>> Ebay. They're all built better than commodity Intel mafiaware. Good > >>> riddance! > >>> > >> > >> You have no idea what you're talking about. > >> > >> This kind of religious propaganda post is neither constructive nor > >> helpful. > > > > It should be noted that your tone is neither constructive nor helpful, to > > say nothing of your contentless response. Do you have anything useful to > > say in response to what Dave U. Random contributed -- perhaps a > > thoughtful refutation of some specific point(s)? I hope you have more of > > value to contribute than your obvious disdain for people who disagree > > with you about something (without even specifying on what points you > > disagree). > > > > -- > > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > > > > If you had bothered to read all the other mails I've posted on this > very specific thread, you wouldn't need to ask the question. This has nothing to do with what I said. > > If you're going to participate in the Linux zealots' propaganda that > makes OSS defenders sound so ridiculous and delusional, so be it. I kinda wish you would respond to what I said, rather than to whatever persecution of you personally in which you imagine I have engaged. > > Fact is, if Microsoft didn't deliver acceptable products, people wouldn't use them. There are differing standards of acceptability, in many cases differentiated by the level of knowledge of circumstances on which a particular standard is founded. It is perfectly reasonable, in some cases at least, to question whether what many people consider "acceptable" when they are ignorant of salient facts is something that should, in fact, be regarded as "unacceptable", because people should be more aware of these facts. For instance, when someone plays a shell game for money, it is fraudulent to operate the game while not actually having a pea under one of the shells. People who are not aware of the fact they are being defrauded may consider the game "acceptable", and thus the operator of the game may still enjoy a steady flow of customers, but someone who knows the game operator is tricking people by removing or hiding the pea so that their guesses are always wrong can reasonably question the appropriateness of such a judgement of acceptability. > > Calling them a mafia is neither constructive (I invite you to look up > the word mafia in a thesaurus), nor backed up by actual facts. I never said anything about the language used. Your statement about the counterproductive use of exaggerative terms may accurate, but is quite irrelevant to what I said. > > OP is just going on a rampage about MS and intel. So, it seems, are you -- just from a different direction. The main differences appear to be the use of inflammatory terms and the fact that the other party, at least, is actually trying to address points others bring up, while you intermittently fail to do so in favor of simply attacking the person behind the comments made. > > You want to follow his advice and advocate the exclusive use of alpha > machines ? No. This has absolutely nothing to do with what I said. > > I guess we'll have to agree to disagree here. > No, I'm not gonna use alphas. > And no, I'm not going to let a random person (hey, choice words !) call > intel or MS a mafia just because he's on a zealot crusade. Great. Wonderful. Whatever. This has precisely zero to do with what I said. Perhaps you thought you were responding to someone else. > > Without MS (and IBM amongst others) it's possible that computing would > never have reached such an audience as it has. It's also possible that without MS (and IBM amongst others) it would have reached a broader audience in a much more functional form than its present reach. We can speculate at each other all day, and still not arrive at any statements of substance or identification of reasons you failed to actually say anything useful in the commentary of yours to which I previously responded. > > So I'm going with the (possibly false) assumption that without MS and > other major actors, not many people would use computers nowadays. While you are certainly welcome to operate on any assumptions you choose, I prefer to ignore such irrelevancies in circumstances like addressing the topic of the current discussion, and focus instead on what various parties are contributing (for good or ill) to the state of affairs in which we currently operate, and the likely consequences of such contributions in the foreseeable future. > > One might see MS as the ultimate evil, yet they're strongly implemented > in corporate IT. > One might wonder why, before engaging in a crusade, and brandishing > empty words as their weapons. One might also consider actually addressing what others say rather than simply dismissing their statements outright with counterproductive and contentless statements of derision, followed by flights of fantasy in which one speculates on whether Microsoft invented personal computing. > > I invite you to re-read OP's post and highlight what in "mafiaware", > "wintel" and "microshaft" you find constructive. I invite you to read what I said, stop imposing your own ridiculous misinterpretations on it, and actually answer what I said -- or to just state outright in clear and unequivocal terms that you are not interested in having anything particularly reminiscent of a productive discussion at all. Your attacks are against people's character and against straw men, rather than against the points people actually made. The form of a statement is not the same as its content, though you appear stubbornly unwilling to address content regardless of form. In fact, the form of my own statements was quite lacking in any inflammatory terms like "mafiaware" and "microshaft", and did not even express agreement or disagreement with anyone's substantive positions on things at all, but you have persisted in ignoring what I actually said in favor of attacking things I did not say, just as you chose to ignore the substantive position of Dave U. Random in favor of similarly pointless, meaningless commentary. "Wintel", by the way, is not an inflammatory term the way "mafiaware" and "microshaft" are. It is a reference to a long-standing market segment involving the marriage of Microsoft and Intel technologies to provide product lines intended to work together, and arose as shorthand jargon in the 1990s as used by computer repair technicians and professionals in related fields without any necessarily pejorative connotations. > > I also invite you to read all his points about why exactly intel is an > "overgrown ugly mess". > I regret to report I have found none, might you point them out for me ? Perhaps you should respond to him on that matter, rather than me, considering that my only commentary to you in this sub-discussion before this email was about how you might want to consider actually responding to his points rather than lobbing Molotov cocktails containing nothing but fuel and flame. > > Now, I shall leave you to read my other posts on this "secure boot" > topic, that you might quit claiming I have nothing to contribute. I didn't claim you have nothing to contribute. Once again, what you are attacking is not what I said. I simply claimed that your immediately previous comment in the relevant subthread was contentless. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Mon Jun 11 16:11:13 2012 From: perrin at apotheon.com (Chad Perrin) Date: Mon Jun 11 16:12:13 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120610072320.43359222@scorpio> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> <20120610072320.43359222@scorpio> Message-ID: <20120611161111.GC20613@hemlock.hydra> On Sun, Jun 10, 2012 at 07:23:20AM -0400, Jerry wrote: > > It is fairly easy to understand both sides in this discussion. When > Microsoft supporters refer to open-source software as "open-sore" or > "socialist-software" the FOSS community becomes enraged. However, when > the open-source community retaliates it is considered acceptable. Quite > frankly I read far more Microsoft based forums than open-source based > ones and I can say without a doubt, at least in my experience, > Microsoft proponents never attack open-source with the venomous hatred > that open-source attacks Microsoft. In fact, the majority of Microsoft > users that I know could not care less about what they consider an > overly burdensome (geeky) open-source operating system. > > The whole argument can probably be boiled do to this: > > Disparaging other operating systems (Microsoft) and pointing out its > failures is beneficial, constructive and therapeutic. Pointing out > problems and failures regarding your own OS is destructive and flame > bait. Perhaps you're spending too much time in the community venues of open source software projects. In communities devoted to use of software peddled by Microsoft, the reverse would be true, and this seems to me not the least bit surprising, or even particularly inappropriate. When you stroll into a venue where it can reasonably be assumed there is a general consensus position of favoring one thing over another (such as a sports bar in Colorado, which would likely favor the Broncos over the Raiders), then start loudly proclaiming the evils of the favored thing relative to the unfavored (such as talking about how much better the Raiders are than the Broncos, and how the Broncos fans are all a bunch of pansy whiners, as you tend to do about open source software users and advocates while you're hanging out here on a FreeBSD mailing list), what you are contributing to the discussion may quite understandably be called "flamebait". Expressing surprise that someone would apply such a label in these circumstances is, in my estimation, at least disingenuous if not wholly ludicrous, directly deceptive, and/or frankly dumb. I, for one, generally try to avoid saying nonfactually disparaging things about Microsoft or (especially) users of software peddled by Microsoft in venues like this mailing list, in part because it's a bit unsportsmanlike, and in part because it doesn't really contribute anything positive. It's kind of mind-boggling that people like you make no evident effort to avoid saying disparaging things about FreeBSD and its users in venues like this mailing list, where it's trollish, does not contribute anything positive, and directly offends large numbers of people subscribed to the list. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Mon Jun 11 16:43:24 2012 From: perrin at apotheon.com (Chad Perrin) Date: Mon Jun 11 16:43:31 2012 Subject: OT - enjoy it In-Reply-To: References: Message-ID: <20120611164322.GE20613@hemlock.hydra> On Fri, Jun 08, 2012 at 06:26:16AM +0000, jb wrote: > Chinese advertising of soccer championship Euro 2012 > > http://avaxnews.com/wow/Chinese_Advertising_UEFA_Euro_2012.html That . . . was nuts. What just happened? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From jerry at seibercom.net Mon Jun 11 16:59:51 2012 From: jerry at seibercom.net (Jerry) Date: Mon Jun 11 17:00:00 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120611161111.GC20613@hemlock.hydra> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> <20120610072320.43359222@scorpio> <20120611161111.GC20613@hemlock.hydra> Message-ID: <20120611125946.588e447e@scorpio> On Mon, 11 Jun 2012 10:11:11 -0600 Chad Perrin articulated: >On Sun, Jun 10, 2012 at 07:23:20AM -0400, Jerry wrote: >> >> It is fairly easy to understand both sides in this discussion. When >> Microsoft supporters refer to open-source software as "open-sore" or >> "socialist-software" the FOSS community becomes enraged. However, >> when the open-source community retaliates it is considered >> acceptable. Quite frankly I read far more Microsoft based forums >> than open-source based ones and I can say without a doubt, at least >> in my experience, Microsoft proponents never attack open-source with >> the venomous hatred that open-source attacks Microsoft. In fact, the >> majority of Microsoft users that I know could not care less about >> what they consider an overly burdensome (geeky) open-source >> operating system. >> >> The whole argument can probably be boiled do to this: >> >> Disparaging other operating systems (Microsoft) and pointing out its >> failures is beneficial, constructive and therapeutic. Pointing out >> problems and failures regarding your own OS is destructive and flame >> bait. > >Perhaps you're spending too much time in the community venues of open >source software projects. In communities devoted to use of software >peddled by Microsoft, the reverse would be true, and this seems to me >not the least bit surprising, or even particularly inappropriate. >When you stroll into a venue where it can reasonably be assumed there >is a general consensus position of favoring one thing over another >(such as a sports bar in Colorado, which would likely favor the >Broncos over the Raiders), then start loudly proclaiming the evils of >the favored thing relative to the unfavored (such as talking about how >much better the Raiders are than the Broncos, and how the Broncos fans >are all a bunch of pansy whiners, as you tend to do about open source >software users and advocates while you're hanging out here on a >FreeBSD mailing list), what you are contributing to the discussion may >quite understandably be called "flamebait". Expressing surprise that >someone would apply such a label in these circumstances is, in my >estimation, at least disingenuous if not wholly ludicrous, directly >deceptive, and/or frankly dumb. Your paranoia is kicking in again isn't it Chad. Anyway, to address your sports analogy, if I walk into a NY City bar and enter into a discussion regarding the pros and cons of the Jets VS Giants, which in itself is ridiculous since neither is actually located in NY, and blatantly scream out that the (Jets of Giants -- you pick) are a bunch of mother-fucking, wife beating pedophiles, I think you would agree, unless you happen to belong to that group, that I have gone way over the top in my team assessment. There is a major difference between criticizing and defamation. Perhaps someday you will learn the difference. For the record, I have never heard of anyone using the term "mafia" while referring to the FOSS. Then again, the "Mafia" is a highly organized operation. I might also add that many people of Italian descent consider the term "mafia" offensive. >I, for one, generally try to avoid saying nonfactually disparaging >things about Microsoft or (especially) users of software peddled by >Microsoft in venues like this mailing list, in part because it's a bit >unsportsmanlike, and in part because it doesn't really contribute >anything positive. It's kind of mind-boggling that people like you >make no evident effort to avoid saying disparaging things about >FreeBSD and its users in venues like this mailing list, where it's >trollish, does not contribute anything positive, and directly offends >large numbers of people subscribed to the list. When was this election held Chad? I am referring to the one that appointed you list spokesperson. In any case, you make an interesting statement without offering any documentation. Are you a politician Chad? I was inquiring because you seem to like making sound bites sans substance. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From gobble.wa at gmail.com Mon Jun 11 17:31:55 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Mon Jun 11 17:32:02 2012 Subject: USB 3.0 delay in 'detecting' attached drive In-Reply-To: <201206110836.q5B8afiG036817@fire.js.berklix.net> References: <201206110836.q5B8afiG036817@fire.js.berklix.net> Message-ID: On Mon, Jun 11, 2012 at 1:36 AM, Julian H. Stacey wrote: > Waitman Gobble wrote: > > On Sun, Jun 10, 2012 at 4:59 PM, Julian H. Stacey > wrote: > > > > > Waitman Gobble wrote: > > > > On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey > > > wrote: > > > > > > > > > Waitman Gobble wrote: > > > > > > Hi, > > > > > > > > > > > > I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. > When I > > > > > plug > > > > > > a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 > > > seconds > > > > > for > > > > > > the drive to show up, on the USB 2.0 port it's instantly. I > haven't > > > used > > > > > > USB 3.0 with FreeBSD so I'm not sure if this is expected or > maybe I > > > need > > > > > to > > > > > > reconfigure something or look at a different kernel config. > > > > > > > > > > Might be a marginal power issue. > > > > > USB 3 devices are allowed to consume 1.0 Amps. > > > > > USB2 ports only need provide 0.5. > > > > > > > > > > I have a tower wont recognise my USB disc on its USB2 ports. > > > > > On my new PCI express card in same tower, it comes up quickly. > > > > > > > > > > Cheers, > > > > > Julian > > > > > > > Thanks. > > > > > > > > Not sure if there's anything I can do about that. It's a new HP dv6 > > > laptop > > > > which according to box was mfg in May 2012... I would assume hardware > > > would > > > > be designed and put together properly. :) > > > > > > Sounds new enough :-) > > > > > > My USB3 disc on my newish laptop with USB 2 socket & 8.2 & 9.0 come > > > up fast enough, not noticed problems, not specificaly timed it though. > > > > > > Try external power if you have a socket on disk box ? > > > > > > Try disk on another known good FreeBSD USB3 card on a tower (my card > cost > > > 30 Euro BTW) > > > > > > Or try a power doubler cable (connected via a female to female > > > adapter, which Ive never seen on sale, I made my own by cutting up > > > a dead mainboard), to the USB 3 male to male cable. (for any who > > > dont know, cant omit that cable as USB3 socket on lapop size drives > > > is a different shape, flater, wider. > > > > > > I wonder if it might be taking time dropping back to USB2 speed. > > > if eg you don't have xhci in kernel ? > > > > > > I have all of > > > config -x/boot/kernel/kernel | grep hci > > > device uhci > > > device ohci > > > device xhci > > > device ehci > > > I just havent taken some out yet. > > > > > > Cheers, > > > Julian > > > I believe it uses ohci for usb 2.0, > > I doubt that. > > > xhci for 3.0, > > Yes > > > ehci for 1.0 > > No > > > Reading manuals: > ehci : for a controller chip that Only does USB 2.0, not 1.0 > ohci : OHCI v1.0 USB1 > uhci : UHCI v1.1 USB1 > xhci : USB 1.0, 2.0 and 3.0 > > > (which I > > suppose might be connected to some device internally even if you do not > > have 1.0 port?) > > > > I originally built this system on a different machine, with different > > hardware, but it really shouldn't make a different AFAIK. > > .. But I did just csup and rebuild everything on the laptop... i needed > to > > build some devices into the kernel anyhow, and NOW the usb 3.0 connect > is > > instantly, there is now no 70 second delay. > > Good. BTW I'd not considered you might be seeing something on current, > as this questions@ was originaly created for people new to FreeBSD > Machine my end was 8.3-RELEASE. The current@ list would know if xhci > was problematic. > > > I'd have to check, maybe there > > was a change in xhci between June 2 and today which could have caused the > > issue. Or it was just a 'weird harold' event, for some reason it just > felt > > like sitting there a minute. > > > > Thanks for your help, > > :-) > > Cheers, > Julian > -- > Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich > http://berklix.com > Reply below not above, cumulative like a play script, & indent with "> ". > Format: Plain text. Not HTML, multipart/alternative, base64, > quoted-printable. > Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ > Hi, thanks - good point. maybe even freebsd-usb group would be better. i'll see if it happens again and post in there. Waitman From freebsd at dreamchaser.org Mon Jun 11 17:32:31 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 11 17:32:38 2012 Subject: mysqld startup issue Message-ID: <4FD62BA8.7030702@dreamchaser.org> I've done the following after having a running system with a running mysql on it: moved user accounts, although no logical move: /usr/home/foo was => /hd1/foo now /usr/home => /hd1/home and /hd1/foo is now /hd1/home/foo repartitioned the SSD and restored the system from a dump taken prior to repartitioning. removed all ports and reinstalled them Unfortunately, mysqld won't start: 120611 10:55:52 [Warning] Can't create test file /var/db/mysql/breakaway.lower-test 120611 10:55:52 [Warning] Can't create test file /var/db/mysql/breakaway.lower-test mysqld: Table 'mysql.plugin' doesn't exist 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 120611 10:55:52 InnoDB: The InnoDB memory heap is disabled 120611 10:55:52 InnoDB: Mutexes and rw_locks use GCC atomic builtins 120611 10:55:52 InnoDB: Compressed tables use zlib 1.2.5 120611 10:55:52 InnoDB: Initializing buffer pool, size = 128.0M 120611 10:55:52 InnoDB: Completed initialization of buffer pool 120611 10:55:52 InnoDB: Operating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. Running mysqld --verbose shows: basedir /usr/local general-log-file /var/db/mysql/breakaway.log ls -aol /usr/local/libexec/mysqld -rwxr-xr-x 1 root wheel - 9558944 Jun 11 10:40 /usr/local/libexec/mysqld ls -dl /var/db/mysql drwxr-xr-x 2 mysql mysql 512 Jun 11 10:31 /var/db/mysql cd / find . -ls | grep my.cnf shows nothing. This looks like some kind of access / setuid problem, but I'm not sure what. Suggestions? From perrin at apotheon.com Mon Jun 11 17:44:13 2012 From: perrin at apotheon.com (Chad Perrin) Date: Mon Jun 11 17:44:28 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120611125946.588e447e@scorpio> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> <20120610072320.43359222@scorpio> <20120611161111.GC20613@hemlock.hydra> <20120611125946.588e447e@scorpio> Message-ID: <20120611174411.GA9858@hemlock.hydra> On Mon, Jun 11, 2012 at 12:59:46PM -0400, Jerry wrote: > On Mon, 11 Jun 2012 10:11:11 -0600 Chad Perrin articulated: > > >On Sun, Jun 10, 2012 at 07:23:20AM -0400, Jerry wrote: > >> > >> It is fairly easy to understand both sides in this discussion. When > >> Microsoft supporters refer to open-source software as "open-sore" or > >> "socialist-software" the FOSS community becomes enraged. However, > >> when the open-source community retaliates it is considered > >> acceptable. Quite frankly I read far more Microsoft based forums > >> than open-source based ones and I can say without a doubt, at least > >> in my experience, Microsoft proponents never attack open-source with > >> the venomous hatred that open-source attacks Microsoft. In fact, the > >> majority of Microsoft users that I know could not care less about > >> what they consider an overly burdensome (geeky) open-source > >> operating system. > >> > >> The whole argument can probably be boiled do to this: > >> > >> Disparaging other operating systems (Microsoft) and pointing out its > >> failures is beneficial, constructive and therapeutic. Pointing out > >> problems and failures regarding your own OS is destructive and flame > >> bait. > > > >Perhaps you're spending too much time in the community venues of open > >source software projects. In communities devoted to use of software > >peddled by Microsoft, the reverse would be true, and this seems to me > >not the least bit surprising, or even particularly inappropriate. > >When you stroll into a venue where it can reasonably be assumed there > >is a general consensus position of favoring one thing over another > >(such as a sports bar in Colorado, which would likely favor the > >Broncos over the Raiders), then start loudly proclaiming the evils of > >the favored thing relative to the unfavored (such as talking about how > >much better the Raiders are than the Broncos, and how the Broncos fans > >are all a bunch of pansy whiners, as you tend to do about open source > >software users and advocates while you're hanging out here on a > >FreeBSD mailing list), what you are contributing to the discussion may > >quite understandably be called "flamebait". Expressing surprise that > >someone would apply such a label in these circumstances is, in my > >estimation, at least disingenuous if not wholly ludicrous, directly > >deceptive, and/or frankly dumb. > > Your paranoia is kicking in again isn't it Chad. Anyway, to address > your sports analogy, if I walk into a NY City bar and enter into a > discussion regarding the pros and cons of the Jets VS Giants, which in > itself is ridiculous since neither is actually located in NY, and > blatantly scream out that the (Jets of Giants -- you pick) are a bunch > of mother-fucking, wife beating pedophiles, I think you would agree, > unless you happen to belong to that group, that I have gone way over > the top in my team assessment. There is a major difference between > criticizing and defamation. Perhaps someday you will learn the > difference. For the record, I have never heard of anyone using the term > "mafia" while referring to the FOSS. Then again, the "Mafia" is a > highly organized operation. I might also add that many people of > Italian descent consider the term "mafia" offensive. I'm going to actually ignore your completely irrelevant and hilariously unfounded attempt at psychiatric diagnosis beyond this sentence, and get to the point: Ignoring for the moment http://linuxmafia.com it is true that I have generally not heard of open source software or its community referred to as "mafia", but I have heard of such things referred to as being socialist, fascist, or otherwise pejoratively accused of inapplicable political, criminal, or generally objectionable (in at least someone's eyes) character. Three guesses who comes first to mind as having made such statements, and the first two guesses don't count. > > > >I, for one, generally try to avoid saying nonfactually disparaging > >things about Microsoft or (especially) users of software peddled by > >Microsoft in venues like this mailing list, in part because it's a bit > >unsportsmanlike, and in part because it doesn't really contribute > >anything positive. It's kind of mind-boggling that people like you > >make no evident effort to avoid saying disparaging things about > >FreeBSD and its users in venues like this mailing list, where it's > >trollish, does not contribute anything positive, and directly offends > >large numbers of people subscribed to the list. > > When was this election held Chad? I am referring to the one that > appointed you list spokesperson. In any case, you make an interesting > statement without offering any documentation. Are you a politician > Chad? I was inquiring because you seem to like making sound bites sans > substance. I referred to no election. I am not list spokesperson, nor do I pretend to be or act as one, any more than you are the spokesperson for capitalism. I'm simply pointing out that you are an insufferable, trollish jackass, initially in a polite manner. The fact you avoid actually engaging my points, in favor of simply bleating about transgressions I haven't even made, does a fairly good job of supporting my statements. The only good things I can say about you at this point are that: A. your email reply scaffolding does not reproduce people's email addresses in a manner that will end up on Web archives of the list, unlike some people B. your command of the English language is not atrocious C. you sometimes keep your virtual mouth shut -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From schultz at ime.usp.br Mon Jun 11 17:44:18 2012 From: schultz at ime.usp.br (schultz@ime.usp.br) Date: Mon Jun 11 17:44:30 2012 Subject: Dedicated pointing device for a Xephyr instance Message-ID: <20120611143701.11724sznswthz2kd@webmail.ime.usp.br> Hi, I have a Xorg server (x11-servers/xorg-server) running receiving input from a synaptics touchpad at /dev/psm0. I would like to run a Xephyr (x11-servers/xephyr) instance in this server that would take input from a different, dedicated pointing device, in this case a USB mouse at /dev/ums0. The Xephyr help mentions a -mouse option. I have searched a lot on the internet about this and even tried to read the relevant part of Xephyr's source code. While I could not understand the overall structure of that code, I noticed no relevant KdPointerDriver structure. It also seems that is possible on Linux with a evdev driver. Is it also possible on FreeBSD? From subhro at 80386.org Mon Jun 11 18:37:14 2012 From: subhro at 80386.org (Subhro Sankha Kar) Date: Mon Jun 11 18:37:23 2012 Subject: can't kill -9 Xorg In-Reply-To: <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> References: <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> Message-ID: Hello What happens if you run without a xorg.conf? Xorg has become pretty good at guessing correct settings these days. Thanks -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 On 11-Jun-2012, at 5:01 PM, Anton Shterenlikht wrote: > My X is unusable since the recent png update. > > This is r236740M on HP Compaq 6715s amd64 laptop. > > I've no hal installed (if this matters). > > # pkg info -x xorg > linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) > xorg-cf-files-1.0.4 X.org cf files for use with imake builds > xorg-fonts-7.5.1 X.org fonts meta-port > xorg-fonts-100dpi-7.5.1 X.Org 100dpi bitmap fonts > xorg-fonts-75dpi-7.5.1 X.Org 75dpi bitmap fonts > xorg-fonts-cyrillic-7.5.1 X.Org Cyrillic bitmap fonts > xorg-fonts-miscbitmaps-7.5.1 X.Org miscellaneous bitmap fonts > xorg-fonts-truetype-7.5.1 X.Org TrueType fonts > xorg-fonts-type1-7.5.1 X.Org Type1 fonts > xorg-libraries-7.5.1 X.org libraries meta-port > xorg-macros-1.16.1 X.Org development aclocal macros > xorg-server-1.7.7_5,1 X.Org X server and related programs > # > > # pkg info -x xf86 > libXxf86dga-1.1.2 X DGA Extension > libXxf86misc-1.0.3 X XF86-Misc Extension > libXxf86vm-1.1.1 X Vidmode Extension > xf86-input-keyboard-1.6.1 X.Org keyboard input driver > xf86-input-mouse-1.7.1 X.Org mouse input driver > xf86-video-ati-6.14.3_1 X.Org ati display driver > xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers > xf86dgaproto-2.1 XFree86-DGA extension headers > xf86driproto-2.1.1 XFree86-DRI extension headers > xf86miscproto-0.9.3 XFree86-Misc extension headers > xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers > # > > My xorg.conf.new: > > > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > Option "AllowEmptyInput" "Off" > EndSection > > Section "Files" > ModulePath "/usr/local/lib/xorg/modules" > FontPath "/usr/local/lib/X11/fonts/misc/" > FontPath "/usr/local/lib/X11/fonts/TTF/" > FontPath "/usr/local/lib/X11/fonts/OTF" > FontPath "/usr/local/lib/X11/fonts/Type1/" > FontPath "/usr/local/lib/X11/fonts/100dpi/" > FontPath "/usr/local/lib/X11/fonts/75dpi/" > EndSection > > Section "Module" > Load "extmod" > Load "record" > Load "dbe" > Load "glx" > Load "dri" > Load "dri2" > EndSection > > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection > > Section "Monitor" > #DisplaySize 330 210 # mm > Identifier "Monitor0" > VendorName "LPL" > ModelName "d600" > EndSection > > Section "Device" > Identifier "Card0" > Driver "radeon" > VendorName "Advanced Micro Devices [AMD] nee ATI" > BoardName "RS690M [Radeon X1200 Series]" > BusID "PCI:1:5:0" > Option "int10" "on" > Option "BusType" "PCIE" > Option "RenderAccel" "on" > Option "AccelMethod" "xaa" > Option "DynamicPM" "on" > Option "DRI" "on" > EndSection > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > SubSection "Display" > Viewport 0 0 > Depth 1 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 4 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 8 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 15 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 16 > EndSubSection > SubSection "Display" > Viewport 0 0 > Depth 24 > EndSubSection > EndSection > > > The Xorg.0.log: > > > > X.Org X Server 1.7.7 > Release Date: 2010-05-04 > X Protocol Version 11, Revision 0 > Build Operating System: FreeBSD 10.0-CURRENT amd64 > Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun 9 22:35:49 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 > Build Date: 11 June 2012 12:11:20PM > > Current version of pixman: 0.24.2 > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 11 12:24:08 2012 > (++) Using config file: "/root/xorg.conf.new" > (==) ServerLayout "X.org Configured" > (**) |-->Screen "Screen0" (0) > (**) | |-->Monitor "Monitor0" > (**) | |-->Device "Card0" > (**) |-->Input Device "Mouse0" > (**) |-->Input Device "Keyboard0" > (**) Option "AllowEmptyInput" "Off" > (==) Not automatically adding devices > (==) Not automatically enabling devices > (**) FontPath set to: > /usr/local/lib/X11/fonts/misc/, > /usr/local/lib/X11/fonts/TTF/, > /usr/local/lib/X11/fonts/OTF, > /usr/local/lib/X11/fonts/Type1/, > /usr/local/lib/X11/fonts/100dpi/, > /usr/local/lib/X11/fonts/75dpi/, > /usr/local/lib/X11/fonts/misc/, > /usr/local/lib/X11/fonts/TTF/, > /usr/local/lib/X11/fonts/OTF, > /usr/local/lib/X11/fonts/Type1/, > /usr/local/lib/X11/fonts/100dpi/, > /usr/local/lib/X11/fonts/75dpi/ > (**) ModulePath set to "/usr/local/lib/xorg/modules" > (II) Loader magic: 0x7bd3c0 > (II) Module ABI versions: > X.Org ANSI C Emulation: 0.4 > X.Org Video Driver: 6.0 > X.Org XInput driver : 7.0 > X.Org Server Extension : 2.0 > (--) Using syscons driver with X support (version 2.0) > (--) using VT number 9 > > (--) PCI:*(0:1:5:0) 1002:791f:103c:30c2 Advanced Micro Devices [AMD] nee ATI RS690M [Radeon X1200 Series] rev 0, Mem @ 0xc0000000/134217728, 0xd0200000/65536, 0xd0300000/1048576, I/O @ 0x00004000/256, BIOS @ 0x????????/65536 > (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. > (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. > (II) "glx" will be loaded. This was enabled by default and also specified in the config file. > (II) "record" will be loaded. This was enabled by default and also specified in the config file. > (II) "dri" will be loaded. This was enabled by default and also specified in the config file. > (II) "dri2" will be loaded. This was enabled by default and also specified in the config file. > (II) LoadModule: "extmod" > (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so > (II) Module extmod: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > Module class: X.Org Server Extension > ABI class: X.Org Server Extension, version 2.0 > (II) Loading extension MIT-SCREEN-SAVER > (II) Loading extension XFree86-VidModeExtension > (II) Loading extension XFree86-DGA > (II) Loading extension DPMS > (II) Loading extension XVideo > (II) Loading extension XVideo-MotionCompensation > (II) Loading extension X-Resource > (II) LoadModule: "record" > (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so > (II) Module record: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.13.0 > Module class: X.Org Server Extension > ABI class: X.Org Server Extension, version 2.0 > (II) Loading extension RECORD > (II) LoadModule: "dbe" > (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so > (II) Module dbe: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > Module class: X.Org Server Extension > ABI class: X.Org Server Extension, version 2.0 > (II) Loading extension DOUBLE-BUFFER > (II) LoadModule: "glx" > (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so > (II) Module glx: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > ABI class: X.Org Server Extension, version 2.0 > (==) AIGLX disabled > (II) Loading extension GLX > (II) LoadModule: "dri" > (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so > (II) Module dri: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > ABI class: X.Org Server Extension, version 2.0 > (II) Loading extension XFree86-DRI > (II) LoadModule: "dri2" > (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so > (II) Module dri2: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.1.0 > ABI class: X.Org Server Extension, version 2.0 > (II) Loading extension DRI2 > (II) LoadModule: "radeon" > (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so > (II) Module radeon: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 6.14.3 > Module class: X.Org Video Driver > ABI class: X.Org Video Driver, version 6.0 > (II) LoadModule: "mouse" > (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so > (II) Module mouse: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.7.1 > Module class: X.Org XInput Driver > ABI class: X.Org XInput driver, version 7.0 > (II) LoadModule: "kbd" > (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so > (II) Module kbd: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.6.1 > Module class: X.Org XInput Driver > ABI class: X.Org XInput driver, version 7.0 > (II) RADEON: Driver for ATI Radeon chipsets: > ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI), > ATI Radeon Mobility X300 (M24) 3152 (PCIE), > ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI), > ATI Radeon X600 (RV380) 3E50 (PCIE), > ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136, > ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP), > ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP), > ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP), > ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP), > ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP), > ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP), > ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650, > ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237, > ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336, > ATI Radeon IGP330M/340M/350M (U2) 4337, > ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI), > ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP), > ATI Radeon X800PRO (R420) JI (AGP), > ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP), > ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP), > ATI Radeon Mobility 9800 (M18) JN (AGP), > ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP), > ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP), > ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP), > ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP), > ATI Radeon Mobility M7 LW (AGP), > ATI Mobility FireGL 7800 M7 LX (AGP), > ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP), > ATI FireGL Mobility 9000 (M9) Ld (AGP), > ATI Radeon Mobility 9000 (M9) Lf (AGP), > ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI Radeon 9700 Pro ND (AGP), > ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9600TX NF (AGP), > ATI FireGL X1 NG (AGP), ATI Radeon 9800PRO NH (AGP), > ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP), > ATI Radeon 9800XT NJ (AGP), > ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP), > ATI Radeon Mobility 9600 (M10) NQ (AGP), > ATI Radeon Mobility 9600 (M11) NR (AGP), > ATI Radeon Mobility 9600 (M10) NS (AGP), > ATI FireGL Mobility T2 (M10) NT (AGP), > ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP), > ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP), > ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP), > ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI), > ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI), > ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI), > ATI Radeon Mobility X300 (M22) 5460 (PCIE), > ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE), > ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE), > ATI Radeon X800PRO (R423) UI (PCIE), > ATI Radeon X800LE (R423) UJ (PCIE), > ATI Radeon X800SE (R423) UK (PCIE), > ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE), > ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE), > ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE), > ATI FireGL unknown (R423) UR (PCIE), > ATI FireGL unknown (R423) UT (PCIE), > ATI Mobility FireGL V5000 (M26) (PCIE), > ATI Mobility FireGL V5000 (M26) (PCIE), > ATI Mobility Radeon X700 XL (M26) (PCIE), > ATI Mobility Radeon X700 (M26) (PCIE), > ATI Mobility Radeon X700 (M26) (PCIE), > ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834, > ATI Radeon Mobility 9100 IGP (U3) 5835, > ATI Radeon XPRESS 200 5954 (PCIE), > ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP), > ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP), > ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI), > ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE), > ATI Radeon XPRESS 200M 5975 (PCIE), > ATI Radeon XPRESS 200 5A41 (PCIE), > ATI Radeon XPRESS 200M 5A42 (PCIE), > ATI Radeon XPRESS 200 5A61 (PCIE), > ATI Radeon XPRESS 200M 5A62 (PCIE), > ATI Radeon X300 (RV370) 5B60 (PCIE), > ATI Radeon X600 (RV370) 5B62 (PCIE), > ATI Radeon X550 (RV370) 5B63 (PCIE), > ATI FireGL V3100 (RV370) 5B64 (PCIE), > ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE), > ATI Radeon Mobility 9200 (M9+) 5C61 (AGP), > ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), > ATI Mobility Radeon X800 XT (M28) (PCIE), > ATI Mobility FireGL V5100 (M28) (PCIE), > ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE), > ATI Radeon X850 XT PE (R480) (PCIE), > ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE), > ATI unknown Radeon / FireGL (R480) 5D50 (PCIE), > ATI Radeon X850 XT (R480) (PCIE), > ATI Radeon X800XT (R423) 5D57 (PCIE), > ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE), > ATI Radeon X700 PRO (RV410) (PCIE), > ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE), > ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800, > ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800, > ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300, > ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800, > ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, > ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505, > ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL, > ATI Mobility Radeon X1400, ATI Radeon X1300/X1550, > ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300, > ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, > ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300, > ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350, > ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550, > ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450, > ATI Radeon X1300/X1550, ATI Mobility Radeon X2300, > ATI Mobility Radeon X2300, ATI Mobility Radeon X1350, > ATI Mobility Radeon X1350, ATI Mobility Radeon X1450, > ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350, > ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600, > ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600, > ATI Mobility FireGL V5200, ATI Mobility Radeon X1600, > ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600, > ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400, > ATI Mobility FireGL V5250, ATI Mobility Radeon X1700, > ATI Mobility Radeon X1700 XT, ATI FireGL V5200, > ATI Mobility Radeon X1700, ATI Radeon X2300HD, > ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300, > ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950, > ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, > ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, > ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, > ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950, > ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560, > ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400, > ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560, > ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835, > ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, > ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740, > ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT, > ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT, > ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600, > ATI Radeon 4800 Series, ATI Radeon HD 4870 x2, > ATI Radeon 4800 Series, ATI Radeon HD 4850 x2, > ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL), > ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2, > ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270, > AMD FireStream 9250, ATI FirePro V8700 (FireGL), > ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98, > ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series, > ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98, > ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP), > ATI Mobility Radeon HD 4670, ATI FirePro M5750, > ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP), > ATI RV730XT [Radeon HD 4670], ATI RADEON E4600, > ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650], > ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL), > ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830, > ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740, > ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770, > ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT, > ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, > ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT, > ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610, > ATI FireMV 2260, ATI RV670, ATI Radeon HD3870, > ATI Mobility Radeon HD 3850, ATI Radeon HD3850, > ATI Mobility Radeon HD 3850 X2, ATI RV670, > ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2, > ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850, > ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550, > ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710, > ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series, > ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series, > ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630, > ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT, > ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP, > ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630, > ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600, > ATI FireGL V3600, ATI Radeon HD 2600 LE, > ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470, > ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series, > ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430, > ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450, > ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series, > ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO, > ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO, > ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670, > ATI Mobility FireGL V5700, ATI Mobility FireGL V5725, > ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, > ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, > ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics, > ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2, > SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200, ATI Radeon 4100, > ATI Mobility Radeon HD 4200, ATI Mobility Radeon 4100, > ATI Radeon HD 4290, ATI Radeon HD 4250, AMD Radeon HD 6310 Graphics, > AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics, > AMD Radeon HD 6250 Graphics, AMD Radeon HD 6300 Series Graphics, > AMD Radeon HD 6200 Series Graphics, CYPRESS, > ATI FirePro (FireGL) Graphics Adapter, > ATI FirePro (FireGL) Graphics Adapter, > ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370, > AMD Firestream 9350, ATI Radeon HD 5800 Series, > ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, > ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series, > ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series, > ATI Mobility Radeon HD 5800 Series, > ATI FirePro (FireGL) Graphics Adapter, > ATI FirePro (FireGL) Graphics Adapter, > ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series, > ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, > ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, > ATI Mobility Radeon HD 5000 Series, > ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570, > ATI FirePro (FireGL) Graphics Adapter, > ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670, > ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD, > ATI Mobility Radeon HD 5000 Series, > ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics, > ATI Mobility Radeon Graphics, CEDAR, > ATI FirePro (FireGL) Graphics Adapter, > ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR, > ATI Radeon HD 5450, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, > CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, AMD Radeon HD 6900 Series, > AMD Radeon HD 6900 Series, CAYMAN, CAYMAN, CAYMAN, > AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS, > BARTS, Mobility Radeon HD 6000 Series, > Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS, > AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series, > AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, > TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, CAICOS, > CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, > CAICOS, CAICOS, CAICOS > (II) Primary Device is: PCI 01@00:05:0 > (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support > (II) RADEON(0): TOTO SAYS 00000000d0200000 > (II) RADEON(0): MMIO registers at 0x00000000d0200000: size 64KB > (II) RADEON(0): PCI bus 1 card 5 func 0 > (==) RADEON(0): Depth 24, (--) framebuffer bpp 32 > (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) > (==) RADEON(0): Default visual is TrueColor > (**) RADEON(0): Option "BusType" "PCIE" > (**) RADEON(0): Option "RenderAccel" "on" > (**) RADEON(0): Option "AccelMethod" "xaa" > (**) RADEON(0): Option "DRI" "on" > (**) RADEON(0): Option "Int10" "on" > (**) RADEON(0): Option "DynamicPM" "on" > (II) Loading sub module "vgahw" > (II) LoadModule: "vgahw" > (II) Loading /usr/local/lib/xorg/modules/libvgahw.so > (II) Module vgahw: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 0.1.0 > ABI class: X.Org Video Driver, version 6.0 > (II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 > (==) RADEON(0): RGB weight 888 > (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) > (--) RADEON(0): Chipset: "ATI Radeon X1200" (ChipID = 0x791f) > (--) RADEON(0): Linear framebuffer at 0x00000000c0000000 > (II) RADEON(0): PCI card detected > (**) RADEON(0): Forced into PCI mode > (II) Loading sub module "int10" > (II) LoadModule: "int10" > (II) Loading /usr/local/lib/xorg/modules/libint10.so > (II) Module int10: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > ABI class: X.Org Video Driver, version 6.0 > (II) RADEON(0): initializing int10 > (**) RADEON(0): Option "int10" "on" > (==) RADEON(0): Write-combining range (0xa0000,0x20000) was already clear > (==) RADEON(0): Write-combining range (0xc0000,0x40000) was already clear > (II) RADEON(0): Primary V_BIOS segment is: 0xc000 > (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear > (II) RADEON(0): ATOM BIOS detected > (II) RADEON(0): ATOM BIOS Rom: > SubsystemVendorID: 0x1002 SubsystemID: 0x791f > IOBaseAddress: 0x4000 > Filename: br23883.bin > BIOS Bootup Message: > ATI Radeon Xpress ?1250? for HP_TT > > (II) RADEON(0): Framebuffer space used by Firmware (kb): 20 > (II) RADEON(0): Start of VRAM area used by Firmware: 0x7ffb000 > (II) RADEON(0): AtomBIOS requests 20kB of VRAM scratch space > (II) RADEON(0): AtomBIOS VRAM scratch base: 0x7ffb000 > (II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory instead > (II) RADEON(0): Default Engine Clock: 400000 > (II) RADEON(0): Default Memory Clock: 200000 > (II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 1200000 > (II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0 > (II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500 > (II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000 > (II) RADEON(0): Maximum Pixel Clock: 400000 > (II) RADEON(0): Reference Clock: 14320 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 10, (OK) > drmOpenByBusid: Searching for BusID pci:0000:01:05.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 10, (OK) > drmOpenByBusid: drmOpenMinor returns 10 > drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 > (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.31.0 > (==) RADEON(0): Page Flipping disabled on r5xx and newer chips. > > (II) RADEON(0): Will try to use DMA for Xv image transfers > (II) RADEON(0): Generation 2 PCI interface, using max accessible memory > (II) RADEON(0): Detected total video RAM=131072K, accessible=131072K (PCI BAR=131072K) > (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) > (II) RADEON(0): Color tiling enabled by default > (II) Loading sub module "ddc" > (II) LoadModule: "ddc" > (II) Module "ddc" already built-in > (II) Loading sub module "i2c" > (II) LoadModule: "i2c" > (II) Module "i2c" already built-in > (II) RADEON(0): PLL parameters: rf=1432 rd=12 min=80000 max=120000; xclk=40000 > (WW) RADEON(0): LVDS Info: > XRes: 1280, YRes: 800, DotClock: 71000 > HBlank: 160, HOverPlus: 48, HSyncWidth: 32 > VBlank: 23, VOverPlus: 3, VSyncWidth: 6 > (II) RADEON(0): Skipping TV-Out > (II) RADEON(0): Skipping Component Video > (II) RADEON(0): Output VGA-0 using monitor section Monitor0 > (II) RADEON(0): I2C bus "VGA-0" initialized. > (II) RADEON(0): Output LVDS has no monitor section > (II) RADEON(0): I2C bus "LVDS" initialized. > (II) RADEON(0): Port0: > XRANDR name: VGA-0 > Connector: VGA > CRT1: INTERNAL_KLDSCP_DAC1 > DDC reg: 0x7e50 > (II) RADEON(0): Port1: > XRANDR name: LVDS > Connector: LVDS > LCD1: INTERNAL_LVTM1 > DDC reg: 0x7e40 > (II) RADEON(0): I2C device "VGA-0:ddc2" registered at address 0xA0. > Dac detection success > (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 > finished output detect: 0 > (II) RADEON(0): I2C device "LVDS:ddc2" registered at address 0xA0. > (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 > (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- > (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 > (II) RADEON(0): Year: 2006 Week: 0 > (II) RADEON(0): EDID Version: 1.3 > (II) RADEON(0): Digital Display Input > (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 > (II) RADEON(0): Gamma: 2.20 > (II) RADEON(0): No DPMS capabilities specified > (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 > (II) RADEON(0): First detailed timing is preferred mode > (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 > (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 > (II) RADEON(0): Manufacturer's mask: 0 > (II) RADEON(0): Supported detailed timing: > (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm > (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 > (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 > (II) RADEON(0): LGPhilipsLCD > (II) RADEON(0): LP154WX4-TLA1 > (II) RADEON(0): EDID (in hex): > (II) RADEON(0): 00ffffffffffff00320c00d600000000 > (II) RADEON(0): 00100103802115780ab3409959538d27 > (II) RADEON(0): 25505400000001010101010101010101 > (II) RADEON(0): 010101010101bc1b00a0502017303020 > (II) RADEON(0): 36004bcf100000190000000000000000 > (II) RADEON(0): 00000000000000000000000000fe004c > (II) RADEON(0): 475068696c6970734c43440a000000fe > (II) RADEON(0): 004c503135345758342d544c4131004d > finished output detect: 1 > finished all detect > Dac detection success > (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 > (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 > (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- > (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 > (II) RADEON(0): Year: 2006 Week: 0 > (II) RADEON(0): EDID Version: 1.3 > (II) RADEON(0): Digital Display Input > (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 > (II) RADEON(0): Gamma: 2.20 > (II) RADEON(0): No DPMS capabilities specified > (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 > (II) RADEON(0): First detailed timing is preferred mode > (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 > (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 > (II) RADEON(0): Manufacturer's mask: 0 > (II) RADEON(0): Supported detailed timing: > (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm > (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 > (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 > (II) RADEON(0): LGPhilipsLCD > (II) RADEON(0): LP154WX4-TLA1 > (II) RADEON(0): EDID (in hex): > (II) RADEON(0): 00ffffffffffff00320c00d600000000 > (II) RADEON(0): 00100103802115780ab3409959538d27 > (II) RADEON(0): 25505400000001010101010101010101 > (II) RADEON(0): 010101010101bc1b00a0502017303020 > (II) RADEON(0): 36004bcf100000190000000000000000 > (II) RADEON(0): 00000000000000000000000000fe004c > (II) RADEON(0): 475068696c6970734c43440a000000fe > (II) RADEON(0): 004c503135345758342d544c4131004d > (II) RADEON(0): EDID vendor "LPL", prod id 54784 > (II) RADEON(0): Output VGA-0 disconnected > (II) RADEON(0): Output LVDS connected > (II) RADEON(0): Using exact sizes for initial modes > (II) RADEON(0): Output LVDS using initial mode 1280x800 > (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. > (==) RADEON(0): DPI set to (96, 96) > (II) Loading sub module "fb" > (II) LoadModule: "fb" > (II) Loading /usr/local/lib/xorg/modules/libfb.so > (II) Module fb: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > ABI class: X.Org ANSI C Emulation, version 0.4 > (II) Loading sub module "ramdac" > (II) LoadModule: "ramdac" > (II) Module "ramdac" already built-in > (**) RADEON(0): Using XAA acceleration architecture > (II) Loading sub module "xaa" > (II) LoadModule: "xaa" > (II) Loading /usr/local/lib/xorg/modules/libxaa.so > (II) Module xaa: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.2.1 > ABI class: X.Org Video Driver, version 6.0 > (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear > (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support > (--) Depth 24 pixmap format is 32 bpp > (II) RADEON(0): RADEONScreenInit c0000000 0 0 > (==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear > Output LCD1 disable success > Blank CRTC 0 success > Disable CRTC 0 success > Blank CRTC 1 success > Disable CRTC 1 success > (II) RADEON(0): Dynamic Power Management Enabled > (==) RADEON(0): Using 24 bit depth buffer > (II) RADEON(0): RADEONInitMemoryMap() : > (II) RADEON(0): mem_size : 0x08000000 > (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 > (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 > (II) RADEON(0): Depth moves disabled by default > (II) RADEON(0): Using 32 MB GART aperture > (II) RADEON(0): Using 1 MB for the ring buffer > (II) RADEON(0): Using 2 MB for vertex/indirect buffers > (II) RADEON(0): Using 29 MB for GART textures > (II) RADEON(0): Memory manager initialized to (0,0) (1280,8191) > (II) RADEON(0): Reserved area from (0,1280) to (1280,1282) > (II) RADEON(0): Largest offscreen area available: 1280 x 6909 > (II) RADEON(0): Will use front buffer at offset 0x0 > (II) RADEON(0): Will use back buffer at offset 0x1978000 > (II) RADEON(0): Will use depth buffer at offset 0x1fb8000 > (II) RADEON(0): Will use 92160 kb for textures at offset 0x25f8000 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 10, (OK) > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 10, (OK) > drmOpenByBusid: Searching for BusID pci:0000:01:05.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 10, (OK) > drmOpenByBusid: drmOpenMinor returns 10 > drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 > (II) [drm] DRM interface version 1.2 > (II) [drm] DRM open master succeeded. > (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables. > (II) RADEON(0): [drm] framebuffer handle = 0x40000000000 > (II) RADEON(0): [drm] added 1 reserved context for kernel > (II) RADEON(0): X context handle = 0x1 > (II) RADEON(0): [drm] installed DRM signal handler > (II) RADEON(0): [pci] 32768 kB allocated with handle 0xcff65000 > (II) RADEON(0): [pci] ring handle = 0x00000000 > (II) RADEON(0): [pci] Ring mapped at 0x804c1f000 > (II) RADEON(0): [pci] Ring contents 0x00000000 > (II) RADEON(0): [pci] ring read ptr handle = 0x00000000 > (II) RADEON(0): [pci] Ring read ptr mapped at 0x80090e000 > (II) RADEON(0): [pci] Ring read ptr contents 0x00000000 > (II) RADEON(0): [pci] vertex/indirect buffers handle = 0x00000000 > (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x80ce00000 > (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000 > (II) RADEON(0): [pci] GART texture map handle = 0x00000000 > (II) RADEON(0): [pci] GART Texture map mapped at 0x80d094000 > (II) RADEON(0): [drm] register handle = 0x00000000 > (II) RADEON(0): [dri] Visual configs initialized > (II) RADEON(0): RADEONRestoreMemMapRegisters() : > (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 > (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 > (==) RADEON(0): Backing store disabled > (II) RADEON(0): [DRI] installation complete > (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers > (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers > (II) RADEON(0): [drm] dma control initialized, using IRQ 256 > (II) RADEON(0): [drm] Initialized kernel GART heap manager, 29884416 > (WW) RADEON(0): DRI init changed memory map, adjusting ... > (WW) RADEON(0): MC_FB_LOCATION was: 0xbfffb800 is: 0xbfffb800 > (WW) RADEON(0): MC_AGP_LOCATION was: 0x003f0000 is: 0xc1ffc000 > (II) RADEON(0): RADEONRestoreMemMapRegisters() : > (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 > (II) RADEON(0): MC_AGP_LOCATION : 0xc1ffc000 > (II) RADEON(0): Direct rendering enabled > (II) RADEON(0): Render acceleration disabled > (II) RADEON(0): num quad-pipes is 1 > (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA) > Screen to screen bit blits > Solid filled rectangles > 8x8 mono pattern filled rectangles > Indirect CPU to Screen color expansion > Solid Lines > Scanline Image Writes > Setting up tile and stipple cache: > 32 128x128 slots > 32 256x256 slots > 16 512x512 slots > (II) RADEON(0): Acceleration enabled > (==) RADEON(0): DPMS enabled > (==) RADEON(0): Silken mouse enabled > (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00643000 > (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00648000 > (II) RADEON(0): Largest offscreen area available: 1280 x 6901 > (II) RADEON(0): Set up textured video > (II) RADEON(0): [XvMC] Associated with Radeon Textured Video. > (II) RADEON(0): [XvMC] Extension initialized. > Output CRT1 disable success > Output LCD1 disable success > Blank CRTC 0 success > Disable CRTC 0 success > Blank CRTC 1 success > Disable CRTC 1 success > > > I tried running Xorg -config /root/xorg.conf.new > > I get black screen, from which I can't recover. > CTRL+ALT+F<...> does nothing, > CTRL+ALT+BACKSPACE does nothing. > > And I can't kill Xorg: > > # ps ax |grep Xorg > 1056 0 RE+ 5:54.16 Xorg -config /root/xorg.conf.new -retro > 1112 1 RL+ 0:00.02 grep Xorg > # kill -9 1056 > # ps ax |grep Xorg > 1056 0 RE+ 6:01.24 Xorg -config /root/xorg.conf.new -retro > 1114 1 S+ 0:00.02 grep Xorg > # > > The only way I can recover is reboot. > > Please advise. > > > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From subhro at 80386.org Mon Jun 11 18:40:30 2012 From: subhro at 80386.org (Subhro Sankha Kar) Date: Mon Jun 11 18:40:37 2012 Subject: mysqld startup issue In-Reply-To: <4FD62BA8.7030702@dreamchaser.org> References: <4FD62BA8.7030702@dreamchaser.org> Message-ID: <721F59E6-BCA8-4589-8BB2-A0BCD5613031@80386.org> On 11-Jun-2012, at 11:02 PM, Gary Aitken wrote: > I've done the following after having a running system with a running mysql on it: > > moved user accounts, although no logical move: > /usr/home/foo was => /hd1/foo > now > /usr/home => /hd1/home and /hd1/foo is now /hd1/home/foo > repartitioned the SSD and restored the system from a dump taken prior to repartitioning. > removed all ports and reinstalled them > > Unfortunately, mysqld won't start: > > 120611 10:55:52 [Warning] Can't create test file /var/db/mysql/breakaway.lower-test What's the permission of /var/db/mysql? Also what user is mysql running as? Thanks Subhro -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 > 120611 10:55:52 [Warning] Can't create test file /var/db/mysql/breakaway.lower-test > mysqld: Table 'mysql.plugin' doesn't exist > 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. > 120611 10:55:52 InnoDB: The InnoDB memory heap is disabled > 120611 10:55:52 InnoDB: Mutexes and rw_locks use GCC atomic builtins > 120611 10:55:52 InnoDB: Compressed tables use zlib 1.2.5 > 120611 10:55:52 InnoDB: Initializing buffer pool, size = 128.0M > 120611 10:55:52 InnoDB: Completed initialization of buffer pool > 120611 10:55:52 InnoDB: Operating system error number 13 in a file operation. > InnoDB: The error means mysqld does not have the access rights to > InnoDB: the directory. > InnoDB: File name ./ibdata1 > InnoDB: File operation call: 'create'. > InnoDB: Cannot continue operation. > > Running mysqld --verbose shows: > > basedir /usr/local > general-log-file /var/db/mysql/breakaway.log > > ls -aol /usr/local/libexec/mysqld > -rwxr-xr-x 1 root wheel - 9558944 Jun 11 10:40 /usr/local/libexec/mysqld > ls -dl /var/db/mysql > drwxr-xr-x 2 mysql mysql 512 Jun 11 10:31 /var/db/mysql > > cd / > find . -ls | grep my.cnf > > shows nothing. > > This looks like some kind of access / setuid problem, but I'm not sure what. > Suggestions? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jerry at seibercom.net Mon Jun 11 18:46:54 2012 From: jerry at seibercom.net (Jerry) Date: Mon Jun 11 18:47:02 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120611174411.GA9858@hemlock.hydra> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> <20120610072320.43359222@scorpio> <20120611161111.GC20613@hemlock.hydra> <20120611125946.588e447e@scorpio> <20120611174411.GA9858@hemlock.hydra> Message-ID: <20120611144649.134f8496@scorpio> On Mon, 11 Jun 2012 11:44:11 -0600 Chad Perrin articulated: >On Mon, Jun 11, 2012 at 12:59:46PM -0400, Jerry wrote: >> On Mon, 11 Jun 2012 10:11:11 -0600 Chad Perrin articulated: >> >> >On Sun, Jun 10, 2012 at 07:23:20AM -0400, Jerry wrote: >> >> >> >> It is fairly easy to understand both sides in this discussion. >> >> When Microsoft supporters refer to open-source software as >> >> "open-sore" or "socialist-software" the FOSS community becomes >> >> enraged. However, when the open-source community retaliates it is >> >> considered acceptable. Quite frankly I read far more Microsoft >> >> based forums than open-source based ones and I can say without a >> >> doubt, at least in my experience, Microsoft proponents never >> >> attack open-source with the venomous hatred that open-source >> >> attacks Microsoft. In fact, the majority of Microsoft users that >> >> I know could not care less about what they consider an overly >> >> burdensome (geeky) open-source operating system. >> >> >> >> The whole argument can probably be boiled do to this: >> >> >> >> Disparaging other operating systems (Microsoft) and pointing out >> >> its failures is beneficial, constructive and therapeutic. >> >> Pointing out problems and failures regarding your own OS is >> >> destructive and flame bait. >> > >> >Perhaps you're spending too much time in the community venues of >> >open source software projects. In communities devoted to use of >> >software peddled by Microsoft, the reverse would be true, and this >> >seems to me not the least bit surprising, or even particularly >> >inappropriate. When you stroll into a venue where it can reasonably >> >be assumed there is a general consensus position of favoring one >> >thing over another (such as a sports bar in Colorado, which would >> >likely favor the Broncos over the Raiders), then start loudly >> >proclaiming the evils of the favored thing relative to the >> >unfavored (such as talking about how much better the Raiders are >> >than the Broncos, and how the Broncos fans are all a bunch of pansy >> >whiners, as you tend to do about open source software users and >> >advocates while you're hanging out here on a FreeBSD mailing list), >> >what you are contributing to the discussion may quite >> >understandably be called "flamebait". Expressing surprise that >> >someone would apply such a label in these circumstances is, in my >> >estimation, at least disingenuous if not wholly ludicrous, directly >> >deceptive, and/or frankly dumb. >> >> Your paranoia is kicking in again isn't it Chad. Anyway, to address >> your sports analogy, if I walk into a NY City bar and enter into a >> discussion regarding the pros and cons of the Jets VS Giants, which >> in itself is ridiculous since neither is actually located in NY, and >> blatantly scream out that the (Jets of Giants -- you pick) are a >> bunch of mother-fucking, wife beating pedophiles, I think you would >> agree, unless you happen to belong to that group, that I have gone >> way over the top in my team assessment. There is a major difference >> between criticizing and defamation. Perhaps someday you will learn >> the difference. For the record, I have never heard of anyone using >> the term "mafia" while referring to the FOSS. Then again, the >> "Mafia" is a highly organized operation. I might also add that many >> people of Italian descent consider the term "mafia" offensive. > >I'm going to actually ignore your completely irrelevant and hilariously >unfounded attempt at psychiatric diagnosis beyond this sentence, and >get to the point: > >Ignoring for the moment http://linuxmafia.com it is true that I have >generally not heard of open source software or its community referred >to as "mafia", but I have heard of such things referred to as being >socialist, fascist, or otherwise pejoratively accused of inapplicable >political, criminal, or generally objectionable (in at least someone's >eyes) character. Three guesses who comes first to mind as having made >such statements, and the first two guesses don't count. I love the way you make a statement, then add a qualifier to the statement making it virtually impossible to attack as well as giving yourself a way out. I'll explain further in my reply near the end of this post. >> >I, for one, generally try to avoid saying nonfactually disparaging >> >things about Microsoft or (especially) users of software peddled by >> >Microsoft in venues like this mailing list, in part because it's a >> >bit unsportsmanlike, and in part because it doesn't really >> >contribute anything positive. It's kind of mind-boggling that >> >people like you make no evident effort to avoid saying disparaging >> >things about FreeBSD and its users in venues like this mailing >> >list, where it's trollish, does not contribute anything positive, >> >and directly offends large numbers of people subscribed to the list. >> >> When was this election held Chad? I am referring to the one that >> appointed you list spokesperson. In any case, you make an interesting >> statement without offering any documentation. Are you a politician >> Chad? I was inquiring because you seem to like making sound bites >> sans substance. > >I referred to no election. I am not list spokesperson, nor do I >pretend to be or act as one, any more than you are the spokesperson for >capitalism. I'm simply pointing out that you are an insufferable, >trollish jackass, initially in a polite manner. The fact you avoid >actually engaging my points, in favor of simply bleating about >transgressions I haven't even made, does a fairly good job of >supporting my statements. As stated above in my latest response, it is difficult to counter a statement by you since you don't really state anything. You say, "I have heard of such things referred to as being socialist, fascist, ..." (truncated by me) etcetera. Well who the hell hasn't. News flash -- that isn't one. Then you add the "(in at least someone's eyes)" qualifier making it impossible to argue with. A good politician's trick by the way. Are you sure you are not into politics? If it were not for your paranoia, you could probably be a good one. You say nothing and speak volumes. Seriously, look over your postings for the past year. Your "transgressions I haven't even made" and similar statements are reproduced in an alarming number of them. >The only good things I can say about you at this point are that: > >A. your email reply scaffolding does not reproduce people's email >addresses in a manner that will end up on Web archives of the list, >unlike some people > >B. your command of the English language is not atrocious > >C. you sometimes keep your virtual mouth shut Thank you so very much Chad. I honestly cannot think of anything I am going to enjoy more for the next indeterminate amount of time than putting your "Chad Approved" rating on my posts. -- Jerry ? {This author has been Chad Perrin approved} Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From wblock at wonkity.com Mon Jun 11 19:08:05 2012 From: wblock at wonkity.com (Warren Block) Date: Mon Jun 11 19:08:14 2012 Subject: xfce 4.10 update problems In-Reply-To: References: Message-ID: On Mon, 11 Jun 2012, jb wrote: > Warren Block wonkity.com> writes: > >> ... >>> - startx fails when moused enabled >>> (EE) xf86OpenSerial: Cannot open device /dev/psm0 >>> Device busy. >>> (EE) PS/2 Mouse: cannot open input device >>> (EE) PreInit returned NULL for "PS/2 Mouse" >>> (EE) config/hal: NewInputDeviceRequest failed (8) >>> xinit: connection to X server lost >>> >>> Any known solutions ? >> >> Disable hal in xorg.conf, ServerLayout section: >> >> Option "AutoAddDevices" "Off" > > OK, that's way to go. > > But there is something strange. > I tried to fix the problem by disabling moused in /etc/rc.conf . > After reboot, I could 'startx' X session. > But 'ps' still showed moused processes: > $ ps auxww |grep -i mouse > root 1286 0.0 0.1 9716 1148 ?? Ss 8:55AM 0:01.02 > /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid > root 1888 0.0 0.1 9716 1144 ?? Is 8:55AM 0:00.00 > /usr/sbin/moused -p /dev/psm0 -t auto > root 2045 0.0 0.1 12340 2516 ?? I 8:55AM 0:00.01 > hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy) > root 2065 0.0 0.1 12340 2520 ?? I 8:55AM 0:00.01 > hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy) > jb 2262 0.0 0.1 9748 1284 2 S+ 9:03AM 0:00.01 > grep -i mouse > > I tested it by rebooting 3 times. > I have 2 mouses: Lenovo Thinkpad stick and external usb mouse. devd runs moused when USB mice are attached, even if moused_enable="NO" is set in rc.conf. That's not a bad thing. It seems like enabling moused is needed somehow, maybe just to get a handle on the mice before HAL starts. From nightrecon at hotmail.com Mon Jun 11 19:26:22 2012 From: nightrecon at hotmail.com (Michael Powell) Date: Mon Jun 11 19:26:29 2012 Subject: mysqld startup issue References: <4FD62BA8.7030702@dreamchaser.org> Message-ID: Gary Aitken wrote: > I've done the following after having a running system with a running mysql > on it: > > moved user accounts, although no logical move: > /usr/home/foo was => /hd1/foo > now > /usr/home => /hd1/home and /hd1/foo is now /hd1/home/foo > repartitioned the SSD and restored the system from a dump taken prior to > repartitioning. removed all ports and reinstalled them Although I have not really experienced much in the way of toruble with this, as my systems are not very 'busy', it can be better to boot from a LiveCD to do the dump because no files are open for writing and all your MySQL files will be static. No possibility of change during the dump. That being said, I have done dumps from live filesystems and have been able to restore them many times. Forewarned is forearmed. > Unfortunately, mysqld won't start: > > 120611 10:55:52 [Warning] Can't create test file > /var/db/mysql/breakaway.lower-test 120611 10:55:52 [Warning] Can't create > test file /var/db/mysql/breakaway.lower-test mysqld: Table 'mysql.plugin' > doesn't exist 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. > Please run mysql_upgrade to create it. 120611 10:55:52 InnoDB: The InnoDB > memory heap is disabled 120611 10:55:52 InnoDB: Mutexes and rw_locks use > GCC atomic builtins 120611 10:55:52 InnoDB: Compressed tables use zlib > 1.2.5 120611 10:55:52 InnoDB: Initializing buffer pool, size = 128.0M > 120611 10:55:52 InnoDB: Completed initialization of buffer pool > 120611 10:55:52 InnoDB: Operating system error number 13 in a file > operation. InnoDB: The error means mysqld does not have the access rights > to InnoDB: the directory. > InnoDB: File name ./ibdata1 > InnoDB: File operation call: 'create'. > InnoDB: Cannot continue operation. I have had trouble before when playing with these files outside of MySQL. What happens is if they get out of sync with the index they will become totally unusable. There are recovery procedures in the docs, but if memory serves it was just easier to delete the ib_logfile(x) and allow MySQL to recreate from scratch. Probably not central to your problem, per se, just thought I'd make mention in passing. I would recommend consulting the docs on this subject of index/logfile recovery prior to any blindly mucking about. > Running mysqld --verbose shows: > > basedir /usr/local > general-log-file /var/db/mysql/breakaway.log Usually this file is of the form .err > ls -aol /usr/local/libexec/mysqld > -rwxr-xr-x 1 root wheel - 9558944 Jun 11 10:40 mine shows: testbed# ls -aol /usr/local/libexec/mysqld -r-xr-xr-x 1 root wheel - 6694672 May 10 11:16 /usr/local/libexec/mysqld > /usr/local/libexec/mysqld ls -dl /var/db/mysql > drwxr-xr-x 2 mysql mysql 512 Jun 11 10:31 /var/db/mysql and my /var/db shows the below for the mysql directory: drwxr-xr-x 21 mysql mysql 3072 Jun 4 12:09 mysql > cd / > find . -ls | grep my.cnf > > shows nothing. > > This looks like some kind of access / setuid problem, but I'm not sure > what. Suggestions? Beginning with the mysql_enable="YES" I have found when using rc startup scripts you need the entire path: /usr/local/etc/rc.d/mysql-server Moving on to permissions. Don't recall specifically, but if memory serves during the port install/reinstall there is a choice displayed to keep/use a previous mysql:mysql user and group combo. Perhaps an incorrect choice allows for deleting this - never known as I have always chosen to not delete but to reuse the old accounts. Nevertheless, in /etc/group there should be an entry like this: mysql:*:88: And the user account as shown by vipw will look like this: mysql:*:88:88::0:0:MySQL Daemon:/nonexistent:/sbin/nologin These should both be handled 'automagically' by the ports build system. You can cd to /var/db and do a chown -R mysql:mysql mysql if you want to ensure file ownership is correct, provided the above referenced entries are in place. The ports these days will place the my.cnf file in /usr/local/etc instead of the old location of /var/db/mysql. I believe it is still supposed to fall back to /var/db/mysql if not found. One thing I found out when I was having a problem was that MySQL will not source this file if permissions on it are world read/write. Not exactly sure what it's supposed to be (I'm sure this can be found in the docs) but I've just chmod'd it 444 when I'm done with edits. I do not grasp why any movement of your home directories mentioned at the top would matter to MySQL. I suspect something more to do with the "removed all ports and reinstalled them" part. The mysql.plugin tells you to run an update script to update schema. There is more info on this in the docs. Don't believe that is the main problem. I suspect either you have InnoDB configs not being read in my.cnf or that InnoDB logfiles or index got corrupted by the backup process. If you have MyIsam tables and you comment out in my.cnf the activation (once you get my.cnf being read and used) of the InnoDB engine and now MySQL starts then I would focus on the InnoDB corruption issue. -Mike From roberthuff at rcn.com Mon Jun 11 19:30:15 2012 From: roberthuff at rcn.com (Robert Huff) Date: Mon Jun 11 19:30:21 2012 Subject: speed of "dump" In-Reply-To: References: <201206110559.q5B5x0Vu096317@jerusalem.litteratus.org> <20437.57631.776197.982243@jerusalem.litteratus.org> Message-ID: <20438.18242.355961.455504@jerusalem.litteratus.org> Warren Block writes: > > Another thread, which I seem to have lost, was talking about > > dump and sizing its cache. > > Per my promise, appended is the log of this morning's level 0 dump, > > using C=32. THe system is -CURRENT from March, using AMD Phemon II > > x4/3ghz and SATA 3gbit drives (one internal, one external.). > > > > DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec > > Are you using -b64 ? That can make a serious throughput improvement > over smaller values. No. I'll give it a try. Thanks, Robert Huff From roberthuff at rcn.com Mon Jun 11 19:31:36 2012 From: roberthuff at rcn.com (Robert Huff) Date: Mon Jun 11 19:31:43 2012 Subject: speed of "dump" In-Reply-To: References: <201206110559.q5B5x0Vu096317@jerusalem.litteratus.org> <20437.57631.776197.982243@jerusalem.litteratus.org> Message-ID: <20438.18327.579237.754554@jerusalem.litteratus.org> Adam Vande More writes: > > DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec > > Looks like one of your disks must be USB. Source disk: SATA, I believe 3mbit Target disk: e-SATA, which may be limited to 1.5 mbit/sec. Robert Huff From perrin at apotheon.com Mon Jun 11 19:44:38 2012 From: perrin at apotheon.com (Chad Perrin) Date: Mon Jun 11 19:44:45 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120611144649.134f8496@scorpio> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> <20120610072320.43359222@scorpio> <20120611161111.GC20613@hemlock.hydra> <20120611125946.588e447e@scorpio> <20120611174411.GA9858@hemlock.hydra> <20120611144649.134f8496@scorpio> Message-ID: <20120611194436.GA21930@hemlock.hydra> On Mon, Jun 11, 2012 at 02:46:49PM -0400, Jerry wrote: > On Mon, 11 Jun 2012 11:44:11 -0600 Chad Perrin articulated: > >On Mon, Jun 11, 2012 at 12:59:46PM -0400, Jerry wrote: > >> > >> Your paranoia is kicking in again isn't it Chad. Anyway, to address > >> your sports analogy, if I walk into a NY City bar and enter into a > >> discussion regarding the pros and cons of the Jets VS Giants, which > >> in itself is ridiculous since neither is actually located in NY, and > >> blatantly scream out that the (Jets of Giants -- you pick) are a > >> bunch of mother-fucking, wife beating pedophiles, I think you would > >> agree, unless you happen to belong to that group, that I have gone > >> way over the top in my team assessment. There is a major difference > >> between criticizing and defamation. Perhaps someday you will learn > >> the difference. For the record, I have never heard of anyone using > >> the term "mafia" while referring to the FOSS. Then again, the > >> "Mafia" is a highly organized operation. I might also add that many > >> people of Italian descent consider the term "mafia" offensive. > > > >I'm going to actually ignore your completely irrelevant and hilariously > >unfounded attempt at psychiatric diagnosis beyond this sentence, and > >get to the point: > > > >Ignoring for the moment http://linuxmafia.com it is true that I have > >generally not heard of open source software or its community referred > >to as "mafia", but I have heard of such things referred to as being > >socialist, fascist, or otherwise pejoratively accused of inapplicable > >political, criminal, or generally objectionable (in at least someone's > >eyes) character. Three guesses who comes first to mind as having made > >such statements, and the first two guesses don't count. > > I love the way you make a statement, then add a qualifier to the > statement making it virtually impossible to attack as well as giving > yourself a way out. I'll explain further in my reply near the end of > this post. This is interesting coming from someone whose immediately preceding comment was an Internet diagnosis of paranoia coupled with a hypocritical accusation of inappropriate phrasing directed at a third party. > > >> >I, for one, generally try to avoid saying nonfactually disparaging > >> >things about Microsoft or (especially) users of software peddled by > >> >Microsoft in venues like this mailing list, in part because it's a > >> >bit unsportsmanlike, and in part because it doesn't really > >> >contribute anything positive. It's kind of mind-boggling that > >> >people like you make no evident effort to avoid saying disparaging > >> >things about FreeBSD and its users in venues like this mailing > >> >list, where it's trollish, does not contribute anything positive, > >> >and directly offends large numbers of people subscribed to the list. > >> > >> When was this election held Chad? I am referring to the one that > >> appointed you list spokesperson. In any case, you make an interesting > >> statement without offering any documentation. Are you a politician > >> Chad? I was inquiring because you seem to like making sound bites > >> sans substance. > > > >I referred to no election. I am not list spokesperson, nor do I > >pretend to be or act as one, any more than you are the spokesperson for > >capitalism. I'm simply pointing out that you are an insufferable, > >trollish jackass, initially in a polite manner. The fact you avoid > >actually engaging my points, in favor of simply bleating about > >transgressions I haven't even made, does a fairly good job of > >supporting my statements. > > As stated above in my latest response, it is difficult to counter a > statement by you since you don't really state anything. You say, "I > have heard of such things referred to as being socialist, > fascist, ..." (truncated by me) etcetera. Well who the hell hasn't. > News flash -- that isn't one. Then you add the "(in at least someone's > eyes)" qualifier making it impossible to argue with. A good > politician's trick by the way. Are you sure you are not into politics? > If it were not for your paranoia, you could probably be a good one. You > say nothing and speak volumes. Seriously, look over your postings for > the past year. Your "transgressions I haven't even made" and similar > statements are reproduced in an alarming number of them. The obvious implication here is that you are one of those people who makes comments insinuating (or outright claiming) socialist or fascist ethics dominating open source communities. I make no bones about the fact I made implicative reference to you in that statement, so you don't need to play dumb and pretend you don't know I was pointing out your own hypocrisies. The "at least in someone's eyes" parenthetical remark was in reference to the presumably pejorative character of some remarks people like you often make. Nice job pretending I meant something else with that parenthetical remark, though. Your tendency to (intentionally, I think) misrepresent the context of my statements when you fail to find a concrete argument to present proves you're a real class act. What "class" that is, I leave as an inference for the reader. I'm not sure what you're talking about with regard to the transgressions I haven't made. I did not refer to anyone as "mafia" in this list, to my recollection, and I would be quite interested in seeing verifiable quotes of me saying such a thing. I similarly do not recall expressing a pathological fear of persecution here. I pointed out that one person (not you) failed to say something worthwhile in an earlier email, and that another person (you) have unreasonable expectations if you really think that you have given nobody any reason to call you a troll or refer to what you do as flamebaiting when you show up in a FreeBSD community mailing list and accuse open source software users and advocates of pejoratively socialist, fascist, and otherwise reprehensible behavior in your eyes just because they prefer something other than MS Windows, often lumping an entire community in with a single noisy individual. > > > >The only good things I can say about you at this point are that: > > > >A. your email reply scaffolding does not reproduce people's email > >addresses in a manner that will end up on Web archives of the list, > >unlike some people > > > >B. your command of the English language is not atrocious > > > >C. you sometimes keep your virtual mouth shut > > Thank you so very much Chad. I honestly cannot think of anything I am > going to enjoy more for the next indeterminate amount of time than > putting your "Chad Approved" rating on my posts. Everyone needs goals, I suppose. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From bonomi at mail.r-bonomi.com Mon Jun 11 19:48:08 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Mon Jun 11 19:48:16 2012 Subject: mysqld startup issue In-Reply-To: <4FD62BA8.7030702@dreamchaser.org> Message-ID: <201206111948.q5BJmYoK019188@mail.r-bonomi.com> Gary Aitken wrote: > To: FreeBSD Mailing List > Subject: mysqld startup issue > > I've done the following after having a running system with a running mysql on it: > > moved user accounts, although no logical move: > /usr/home/foo was => /hd1/foo > now > /usr/home => /hd1/home and /hd1/foo is now /hd1/home/foo > repartitioned the SSD and restored the system from a dump taken prior to repartitioning. > removed all ports and reinstalled them > > Unfortunately, mysqld won't start: > [ sneck ] > 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. [ sneck ] > > This looks like some kind of access / setuid problem, but I'm not sure what. > Suggestions? Have you tried doing what the error message _tells_ you to do ? If so, what happened? If not, why not? From bjmccann at gmail.com Mon Jun 11 19:53:45 2012 From: bjmccann at gmail.com (Brian McCann) Date: Mon Jun 11 19:53:59 2012 Subject: Booting from ZFS with serial console Message-ID: Hi all. I am in desperate need of some help with ZFS (maybe GPT) and serial consoles. I use 19200 for my console speed for everything, so I recompiled the boot blocks using "BOOT_COMCONSOLE_SPEED="19200" " in /etc/make.conf. I then ran this to install new blocks to my two drives in the mirror pair: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad4 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad6 If the keyboard is plugged in when the machine starts up, all is good. With the keyboard unplugged, I get a small error "dump" followed by "BTX Halted". I tried this with the files from the install DVD, and the same thing happens..."BTX Halted" without a keyboard plugged in. In both cases, /boot.config has : "-P -S19200". I tried changing it to "-Dh -S19200", and I get the "BTX Halted" on every boot now. Can someone please shed some light on why it's crashing like this? I'm fairly confident this behavior is a bug and not "by design"...but I can't believe that this bug would not be noticed up until now. Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters" From jb.1234abcd at gmail.com Mon Jun 11 20:45:59 2012 From: jb.1234abcd at gmail.com (jb) Date: Mon Jun 11 20:46:09 2012 Subject: xfce 4.10 update problems References: Message-ID: Warren Block wonkity.com> writes: > ... > > I have 2 mouses: Lenovo Thinkpad stick and external usb mouse. > > devd runs moused when USB mice are attached, even if moused_enable="NO" > is set in rc.conf. > > That's not a bad thing. It seems like enabling moused is needed > somehow, maybe just to get a handle on the mice before HAL starts. Oops, I must have goofed multiple times. Disabling moused in rc.conf did just that for the default (built-in) mouse. $ ps auxww|grep -i mouse root 1938 1.0 0.1 12340 2628 ?? S 10:31PM 0:00.92 hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy) root 1287 0.0 0.1 9716 1148 ?? Ss 10:31PM 0:00.12 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid root 1958 0.0 0.1 12340 2516 ?? I 10:31PM 0:00.01 hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy) jb 2110 0.0 0.0 1928 708 1 R+ 10:34PM 0:00.02 grep -i mouse No problem here. Thanks guys. jb From jerry at seibercom.net Mon Jun 11 20:53:16 2012 From: jerry at seibercom.net (Jerry) Date: Mon Jun 11 20:53:22 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120611194436.GA21930@hemlock.hydra> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> <20120610072320.43359222@scorpio> <20120611161111.GC20613@hemlock.hydra> <20120611125946.588e447e@scorpio> <20120611174411.GA9858@hemlock.hydra> <20120611144649.134f8496@scorpio> <20120611194436.GA21930@hemlock.hydra> Message-ID: <20120611165311.5ba19839@scorpio> On Mon, 11 Jun 2012 13:44:36 -0600 Chad Perrin articulated: >> As stated above in my latest response, it is difficult to counter a >> statement by you since you don't really state anything. You say, "I >> have heard of such things referred to as being socialist, >> fascist, ..." (truncated by me) etcetera. Well who the hell hasn't. >> News flash -- that isn't one. Then you add the "(in at least >> someone's eyes)" qualifier making it impossible to argue with. A good >> politician's trick by the way. Are you sure you are not into >> politics? If it were not for your paranoia, you could probably be a >> good one. You say nothing and speak volumes. Seriously, look over >> your postings for the past year. Your "transgressions I haven't even >> made" and similar statements are reproduced in an alarming number of >> them. > >The obvious implication here is that you are one of those people who >makes comments insinuating (or outright claiming) socialist or fascist >ethics dominating open source communities. I make no bones about the >fact I made implicative reference to you in that statement, so you >don't need to play dumb and pretend you don't know I was pointing out >your own hypocrisies. > >The "at least in someone's eyes" parenthetical remark was in reference >to the presumably pejorative character of some remarks people like you >often make. Nice job pretending I meant something else with that >parenthetical remark, though. Your tendency to (intentionally, I >think) misrepresent the context of my statements when you fail to find >a concrete argument to present proves you're a real class act. What >"class" that is, I leave as an inference for the reader. Your paranoia is working overtime now. >I'm not sure what you're talking about with regard to the >transgressions I haven't made. I did not refer to anyone as "mafia" >in this list, to my recollection, and I would be quite interested in >seeing verifiable quotes of me saying such a thing. I similarly do >not recall expressing a pathological fear of persecution here. I >pointed out that one person (not you) failed to say something >worthwhile in an earlier email, and that another person (you) have >unreasonable expectations if you really think that you have given >nobody any reason to call you a troll or refer to what you do as >flamebaiting when you show up in a FreeBSD community mailing list and >accuse open source software users and advocates of pejoratively >socialist, fascist, and otherwise reprehensible behavior in your eyes >just because they prefer something other than MS Windows, often >lumping an entire community in with a single noisy individual. Oh, poor Chad. His feelings are hurt. Chad, for some reason that totally escapes me at the moment, you feel as if you are important enough for me to really care what you think. News flash -- you aren't. I think of you as nothing more than an incorrigible bore with an inflated ego. Your attempts to portray yourself as an cognoscente while your persecution complex has pervaded numerous posts you have responded to has become laughable. Perhaps you are experiencing hypnagogic hallucinations. You really should consult an expert in the field although I fear that you would be recalcitrant to the idea. It must be sad going through life feeling that everyone is casting aspersions and heaping maledictions upon you. It is really sad. Personally, I would much rather have a discussion with Poly. I respect him, although I don't often agree with him. At least he discusses facts and doesn't spend his time trying to defend himself against non existent attacks. If you want to reply back with actual facts pertinent to the subject of this post, fine. Otherwise you are only wasting your time since I will not play your sad "woe is me" game. -- Jerry ? {This author has been Chad Perrin approved} Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From feld at feld.me Mon Jun 11 21:12:21 2012 From: feld at feld.me (Mark Felder) Date: Mon Jun 11 21:12:28 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120611165311.5ba19839@scorpio> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> <20120610072320.43359222@scorpio> <20120611161111.GC20613@hemlock.hydra> <20120611125946.588e447e@scorpio> <20120611174411.GA9858@hemlock.hydra> <20120611144649.134f8496@scorpio> <20120611194436.GA21930@hemlock.hydra> <20120611165311.5ba19839@scorpio> Message-ID: Jerry, Chad: please unsubscribe me from your mailing list. Thanks!! From pwnedomina at gmail.com Mon Jun 11 21:58:24 2012 From: pwnedomina at gmail.com (i pwn) Date: Mon Jun 11 21:58:34 2012 Subject: text format Message-ID: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> hi, sometime ago i asked a question about how to format a text, some people told me to use groff, but i would like to know how was file http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt fomatted. thanks in advance. --- JID:ipwn#cih.ms HP:ipwn.altervista.org -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 535 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120611/79f4a972/PGP.pgp From kline at thought.org Mon Jun 11 22:02:41 2012 From: kline at thought.org (Gary Kline) Date: Mon Jun 11 22:02:52 2012 Subject: any way to grab just One port to upgrade? Message-ID: <20120611220232.GA29749@thought.org> it is easy to cvs or cvsup ports and get a whole slew of ports in /usr/ports/distfiles, but too often, using portmaster [or another tool], I'll have only one of two ports that fail because they are either 1) broken, or 2) out of date. is there any way I can grab just the ones that fail to compile? I'm down to fewer than 50 ports. and wedged. tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Voice By Computer (for Universal Access): http:/www.thought.org/vbc The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From freebsd at dreamchaser.org Mon Jun 11 22:03:52 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 11 22:04:00 2012 Subject: [solved] Re: mysqld startup issue In-Reply-To: <721F59E6-BCA8-4589-8BB2-A0BCD5613031@80386.org> References: <4FD62BA8.7030702@dreamchaser.org> <721F59E6-BCA8-4589-8BB2-A0BCD5613031@80386.org> Message-ID: <4FD66B44.3080506@dreamchaser.org> Ugh. Operator error. I assumed from the docs there had to be a my.cnf file someplace, if only to serve as the system default; and that the my.cnf file was directing everything else. It turns out there doesn't have to be one anywhere. My thought process was hijacked by the errors produced from the missing --datadir option starting using: mysqld --datadir= was all that was required, although clearly a my.cnf or ~/.my.cnf would make things easier. > 120611 10:55:52 [Warning] Can't create test file /var/db/mysql/breakaway.lower-test > mysqld: Table 'mysql.plugin' doesn't exist > 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. > 120611 10:55:52 InnoDB: The InnoDB memory heap is disabled > 120611 10:55:52 InnoDB: Mutexes and rw_locks use GCC atomic builtins > 120611 10:55:52 InnoDB: Compressed tables use zlib 1.2.5 > 120611 10:55:52 InnoDB: Initializing buffer pool, size = 128.0M > 120611 10:55:52 InnoDB: Completed initialization of buffer pool > 120611 10:55:52 InnoDB: Operating system error number 13 in a file operation. > InnoDB: The error means mysqld does not have the access rights to > InnoDB: the directory. > InnoDB: File name ./ibdata1 > InnoDB: File operation call: 'create'. > InnoDB: Cannot continue operation. From freebsd at dreamchaser.org Mon Jun 11 22:11:56 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Mon Jun 11 22:12:06 2012 Subject: mysqld startup issue In-Reply-To: <201206111948.q5BJmYoK019188@mail.r-bonomi.com> References: <201206111948.q5BJmYoK019188@mail.r-bonomi.com> Message-ID: <4FD66D2A.6070001@dreamchaser.org> On 06/11/12 13:48, Robert Bonomi wrote: >> Unfortunately, mysqld won't start: >> > [ sneck ] > >> 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. > Have you tried doing what the error message _tells_ you to do ? nope, and yup nope, because the docs clearly state that the server needs to be running. yup, because I did it anyway just to see what it would do > If so, what happened? Unsurprisingly, it craps out saying it cannot connect to the server. problem was missing --datadir option when starting server From rsimmons0 at gmail.com Mon Jun 11 22:14:53 2012 From: rsimmons0 at gmail.com (Robert Simmons) Date: Mon Jun 11 22:14:59 2012 Subject: any way to grab just One port to upgrade? In-Reply-To: <20120611220232.GA29749@thought.org> References: <20120611220232.GA29749@thought.org> Message-ID: On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline wrote: > it is easy to cvs or cvsup ports and get a whole slew of ports in > /usr/ports/distfiles, but too often, using portmaster [or another > tool], I'll have only one of two ports that fail because they are > either 1) broken, or 2) out of date. ?is there any way I can grab > just the ones that fail to compile? ?I'm down to fewer than 50 > ports. > and wedged. You don't want to have /usr/ports out of sync. You want to let cvsup/portsnap do it's thing. It's ideal to have the whole ports collection up-to-date. You may want to start with a clean slate and cvsup/portsnap a fresh copy of the ports collection if you think that something is amiss. You can make a backup of /usr/ports for peace of mind too. Also, can you please supply exactly what ports you're talking about and what commands you are running to upgrade? Error output for the ports you say are broken would be another good thing to supply. From merlyn at stonehenge.com Mon Jun 11 22:18:25 2012 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Mon Jun 11 22:18:33 2012 Subject: how to allow by MAC In-Reply-To: (Bill Yuan's message of "Mon, 11 Jun 2012 11:39:56 +0800") References: <20120610120041.4D0F610657C3@hub.freebsd.org> <20120611025332.N46641@sola.nimnet.asn.au> Message-ID: <863961ze51.fsf@red.stonehenge.com> >>>>> "Bill" == Bill Yuan writes: Bill> I want to create a white list MAC address, Only the machine which it's MAC Bill> in the white list will be allowed, all others will be blocked. Bad idea. Since (a) every MAC address that *is* allowed is transmitted in the clear and (b) it's trivial to spoof a MAC address. This. is. no. security. Please stop even trying. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From geo.liaskos at gmail.com Mon Jun 11 22:55:19 2012 From: geo.liaskos at gmail.com (George Liaskos) Date: Mon Jun 11 22:58:14 2012 Subject: Chromium 19 core dumps on launch... In-Reply-To: <84sje2zpbv.fsf@maxwell.cjones.org> References: <84sje2zpbv.fsf@maxwell.cjones.org> Message-ID: On Mon, Jun 11, 2012 at 3:04 AM, Keith Seyffarth wrote: > > Friday I installed Chromium again because it would be nice to have a > browser to test in other than Firefox and Opera. It was installed using > portinstall -R chromium, which *appeared* to function properly. > > However, trying to run chrome results in: > pid 50993 (chrome), uid 1001: exited on signal 11 (core dumped) > > >From what I found online, it looked like I may have been encountering an > issue with devel/google-perftools, but on reinstall was able to confirm > that this is building with gcc not clang. > > I have also removed my ~/.config/chromium directory with no change in > behavior. > > > > Not sure if it's relevant, but the last version of Chromium that was > *functional* for me was 12. Versions 13-16 didn't support loading web > pages (the browser would launch, but if I entered a URL in the address > bar, I could leave the browser running overnight and it still wouldn't > have started loading a page). Then when 17 and 18 wouldn't even compile > (marked ignore), I just removed package. Please try 19.0.1084.56_1, devel/google-perftools is not a dependency of chromium anymore. Regards, George From ait at p2ee.org Mon Jun 11 23:40:45 2012 From: ait at p2ee.org (Alejandro Imass) Date: Mon Jun 11 23:40:52 2012 Subject: text format In-Reply-To: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> Message-ID: On Mon, Jun 11, 2012 at 5:57 PM, i pwn wrote: > hi, sometime ago i asked a question about how to format a text, some people > told me to use groff, but i would like to know how was file > http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt > fomatted. > thanks in advance. Most probably nroff / groff Take a look at the info from the authoring tools at rfceditor: http://www.rfc-editor.org/formatting.html From perrin at apotheon.com Mon Jun 11 23:45:54 2012 From: perrin at apotheon.com (Chad Perrin) Date: Mon Jun 11 23:46:01 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120611165311.5ba19839@scorpio> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> <20120610072320.43359222@scorpio> <20120611161111.GC20613@hemlock.hydra> <20120611125946.588e447e@scorpio> <20120611174411.GA9858@hemlock.hydra> <20120611144649.134f8496@scorpio> <20120611194436.GA21930@hemlock.hydra> <20120611165311.5ba19839@scorpio> Message-ID: <20120611234552.GC17934@hemlock.hydra> On Mon, Jun 11, 2012 at 04:53:11PM -0400, Jerry wrote: > > . . . You obviously aren't serious. I can't believe I let you string me along with this fantasy for so long. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From bonomi at mail.r-bonomi.com Tue Jun 12 00:28:31 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Tue Jun 12 00:28:41 2012 Subject: text format In-Reply-To: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> Message-ID: <201206120029.q5C0TAEv023019@mail.r-bonomi.com> "i pwn" wrote: > > hi, sometime ago i asked a question about how to format a text, some > people told me to use groff, but i would like to know how was file http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt > fomatted. > thanks in advance. >From the output alone, one -cannot- tell for certain. That document could have been produced by any number of programs -- including, but not limited to 'electric pencil', 'pc-write', 'volkswriter', 'xywrite', 'wordstar', 'wordperfect', 'excel', and any form of 'runoff' or its descendants (including but limited to: 'rnf','troff', 'ditroff', 'nroff', 'groff' and others) or even a 'TeX' variant, such as 'LaTeX'. 'Considering the source', ditroff (or a varient) is likely. Probably using the 'me' macro set. There are output quirks that make it unlikely that the 'ms' macroes were used.) From kline at thought.org Tue Jun 12 00:31:11 2012 From: kline at thought.org (Gary Kline) Date: Tue Jun 12 00:35:15 2012 Subject: any way to grab just One port to upgrade? In-Reply-To: References: <20120611220232.GA29749@thought.org> Message-ID: <20120612003110.GA2394@thought.org> On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote: > Date: Mon, 11 Jun 2012 18:14:52 -0400 > From: Robert Simmons > Subject: Re: any way to grab just One port to upgrade? > To: freebsd-questions@freebsd.org > > On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline wrote: > > it is easy to cvs or cvsup ports and get a whole slew of ports in > > /usr/ports/distfiles, but too often, using portmaster [or another > > tool], I'll have only one of two ports that fail because they are > > either 1) broken, or 2) out of date. ?is there any way I can grab > > just the ones that fail to compile? ?I'm down to fewer than 50 > > ports. > > and wedged. > > You don't want to have /usr/ports out of sync. You want to let > cvsup/portsnap do it's thing. It's ideal to have the whole ports > collection up-to-date. You may want to start with a clean slate and > cvsup/portsnap a fresh copy of the ports collection if you think that > something is amiss. You can make a backup of /usr/ports for peace of > mind too. > > Also, can you please supply exactly what ports you're talking about > and what commands you are running to upgrade? Error output for the > ports you say are broken would be another good thing to supply. something in x11-toolkits/gtk20 blew up. SOOOO. lolngstoryshrt, I rebuilt from scratch [[ from the very beginning ]] around 2 hours ago. it Just died. here are the last 20 lines:: gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules' Making all in demos gmake[2]: Entering directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' /usr/local/bin/gdk-pixbuf-csource --raw --build-list \ apple_red ./apple-red.png \ gnome_foot ./gnome-foot.png \ > test-inline-pixbufs.h \ || (rm -f test-inline-pixbufs.h && false) failed to load "./apple-red.png": Couldn't recognize the image file format for file './apple-red.png' gmake[2]: *** [test-inline-pixbufs.h] Error 1 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/x11-toolkits/gtk20. *** Error code 1 Stop in /usr/ports/x11-toolkits/gtk20. root@ethic:/tmp# unless this port is known to be broken, I'll cvsup the ports tree. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Voice By Computer (for Universal Access): http:/www.thought.org/vbc The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From modulok at gmail.com Tue Jun 12 00:38:47 2012 From: modulok at gmail.com (Modulok) Date: Tue Jun 12 00:38:54 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <20120611234552.GC17934@hemlock.hydra> References: <0B9FF530-AAE8-4411-8B06-2AD5662CB803@my.gd> <20120609164855.GB31721@hemlock.hydra> <1D0D020B-1F05-4546-A15C-8A721C7BC4AC@my.gd> <20120610072320.43359222@scorpio> <20120611161111.GC20613@hemlock.hydra> <20120611125946.588e447e@scorpio> <20120611174411.GA9858@hemlock.hydra> <20120611144649.134f8496@scorpio> <20120611194436.GA21930@hemlock.hydra> <20120611165311.5ba19839@scorpio> <20120611234552.GC17934@hemlock.hydra> Message-ID: This thread has united the open source community into doing something useful and constructive. Thanks guys. You really showed 'em. -Modulok- From pwnedomina at gmail.com Tue Jun 12 00:48:25 2012 From: pwnedomina at gmail.com (pwnedomina) Date: Tue Jun 12 00:48:33 2012 Subject: text format In-Reply-To: References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> Message-ID: <4FD6A057.2070101@gmail.com> On 11-06-2012 23:40, Alejandro Imass wrote: > On Mon, Jun 11, 2012 at 5:57 PM, i pwn wrote: >> hi, sometime ago i asked a question about how to format a text, some people >> told me to use groff, but i would like to know how was file >> http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt >> fomatted. >> thanks in advance. > Most probably nroff / groff > > Take a look at the info from the authoring tools at rfceditor: > > http://www.rfc-editor.org/formatting.html > *formatted. i've downloaded NroffEdit but when i open the ASCII text i want to convert/format, it says "Not a valid nroff I-D" what should i do? From walterhurry at gmail.com Tue Jun 12 02:04:55 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Tue Jun 12 02:05:02 2012 Subject: Newbie question: Why aren't my cron jobs running? Message-ID: As the subject says, this is probably a newbie question (I am new to FreeBSD but quite experienced at Linux). FreeBSD9 on x86_64. Cron is running: $ ps -ax|grep cron 1513 ?? Is 0:00.01 /usr/sbin/cron -s 2283 0 S+ 0:00.00 grep cron $ I have a syntactically valid crontab: $ crontab -l #min hr dom month dow command SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ daddy/bin HOME=/home/walterh 00 02 * * * /home/walterh/exports.sh 05 02 * * * /home/walterh/backup_etc.sh 10 02 * * * /home/walterh/systemcheck.sh 15 02 * * * /home/walterh/backup_bsd.sh $ So what is wrong? Why is nothing happening? I have consulted the handbook but see nothing. From kudzu at tenebras.com Tue Jun 12 02:10:23 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Tue Jun 12 02:10:30 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: References: Message-ID: On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry wrote: > As the subject says, this is probably a newbie question (I am new to > FreeBSD but quite experienced at Linux). > > FreeBSD9 on x86_64. > > Cron is running: > > $ ps -ax|grep cron > > ?1513 ??? ?Is ? ? 0:00.01 /usr/sbin/cron -s > > ?2283 ? 0 ?S+ ? ? 0:00.00 grep cron > > $ > > I have a syntactically valid crontab: > > $ crontab -l > #min hr dom month dow command > > SHELL=/bin/bash > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ > daddy/bin > > HOME=/home/walterh > > ?00 ?02 * ? * ? ? * ? /home/walterh/exports.sh > > ?05 ?02 * ? * ? ? * ? /home/walterh/backup_etc.sh > > ?10 ?02 * ? * ? ? * ? /home/walterh/systemcheck.sh > > ?15 ?02 * ? * ? ? * ? /home/walterh/backup_bsd.sh > > $ > > So what is wrong? Why is nothing happening? I have consulted the handbook > but see nothing. Have you installed bash? It's not in the system base. What's in your shell scripts? - M From amvandemore at gmail.com Tue Jun 12 02:21:15 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Jun 12 02:21:21 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: References: Message-ID: On Mon, Jun 11, 2012 at 9:04 PM, Walter Hurry wrote: > > #min hr dom month dow command > > SHELL=/bin/bash > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ > daddy/bin > > HOME=/home/walterh > > 00 02 * * * /home/walterh/exports.sh > > 05 02 * * * /home/walterh/backup_etc.sh > > 10 02 * * * /home/walterh/systemcheck.sh > > 15 02 * * * /home/walterh/backup_bsd.sh > > $ > > So what is wrong? Why is nothing happening? I have consulted the handbook > but see nothing. > You really have bash in /bin ? Are your scripts executable? What does /var/log/cron say? -- Adam Vande More From walterhurry at gmail.com Tue Jun 12 02:26:09 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Tue Jun 12 02:26:16 2012 Subject: Newbie question: Why aren't my cron jobs running? References: Message-ID: On Mon, 11 Jun 2012 19:10:21 -0700, Michael Sierchio wrote: > Have you installed bash? It's not in the system base. > > What's in your shell scripts? Thanks for the quick response. $ pkg_info|grep bash bash-4.2.28 The GNU Project's Bourne Again SHell $ which bash /bin/bash $ $ less $HOME/bin/exports.sh #!/bin/bash LOG=$HOME/log/exports.log logger -t walterh-cronjob Exports started echo Exports started at `date` > $LOG rm $HOME/postgresql/* psql packages -f $HOME/sql/exports.sql cd $HOME/postgresql tar cfz postgresql.tgz * rm *csv echo Exports finished at `date` >> $LOG logger -t walterh-cronjob Exports finished /home/walterh/bin/exports.sh (END) From kudzu at tenebras.com Tue Jun 12 02:36:30 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Tue Jun 12 02:36:36 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: References: Message-ID: On Mon, Jun 11, 2012 at 7:25 PM, Walter Hurry wrote: cat /etc/shells From walterhurry at gmail.com Tue Jun 12 02:47:56 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Tue Jun 12 02:48:04 2012 Subject: Newbie question: Why aren't my cron jobs running? References: Message-ID: On Mon, 11 Jun 2012 21:21:12 -0500, Adam Vande More wrote: > You really have bash in /bin ? Are your scripts executable? What does > /var/log/cron say? $ file /bin/bash /bin/bash: symbolic link to `/usr/local/bin/bash' $ sudo tail -50 /var/log/cron (result snipped at 02:22:00 for brevity) Jun 12 01:55:00 jupiter /usr/sbin/cron[1780]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:00:00 jupiter /usr/sbin/cron[1823]: (root) CMD (newsyslog) Jun 12 02:00:00 jupiter /usr/sbin/cron[1825]: (operator) CMD (/usr/ libexec/save-entropy) Jun 12 02:00:00 jupiter /usr/sbin/cron[1824]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:00:00 jupiter /usr/sbin/cron[1836]: (walterh) CMD (/home/ walterh/exports.sh) Jun 12 02:01:00 jupiter /usr/sbin/cron[1849]: (root) CMD (adjkerntz -a) Jun 12 02:05:00 jupiter /usr/sbin/cron[1874]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:05:00 jupiter /usr/sbin/cron[1875]: (walterh) CMD (/home/ walterh/backup_etc.sh) Jun 12 02:10:00 jupiter /usr/sbin/cron[1912]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:10:00 jupiter /usr/sbin/cron[1913]: (walterh) CMD (/home/ walterh/systemcheck.sh) Jun 12 02:11:00 jupiter /usr/sbin/cron[1924]: (operator) CMD (/usr/ libexec/save-entropy) Jun 12 02:15:00 jupiter /usr/sbin/cron[1981]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:15:00 jupiter /usr/sbin/cron[1982]: (walterh) CMD (/home/ walterh/backup_bsd.sh) Jun 12 02:20:00 jupiter /usr/sbin/cron[2013]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:22:00 jupiter /usr/sbin/cron[2025]: (operator) CMD (/usr/ libexec/save-entropy) From walterhurry at gmail.com Tue Jun 12 02:55:12 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Tue Jun 12 02:55:19 2012 Subject: Newbie question: Why aren't my cron jobs running? References: Message-ID: On Mon, 11 Jun 2012 19:36:28 -0700, Michael Sierchio wrote: > cat /etc/shells $ cat /etc/shells # $FreeBSD: release/9.0.0/etc/shells 59717 2000-04-27 21:58:46Z ache $ # # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bin/sh /bin/csh /bin/tcsh /usr/local/bin/bash /usr/local/bin/rbash $ From racerx at makeworld.com Tue Jun 12 02:56:02 2012 From: racerx at makeworld.com (Chris) Date: Tue Jun 12 02:56:10 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: References: Message-ID: <4FD6ADAA.1020402@makeworld.com> On 6/11/2012 9:25 PM, Walter Hurry wrote: > On Mon, 11 Jun 2012 19:10:21 -0700, Michael Sierchio wrote: > >> Have you installed bash? It's not in the system base. >> >> What's in your shell scripts? > > Thanks for the quick response. > > $ pkg_info|grep bash > > bash-4.2.28 The GNU Project's Bourne Again SHell > > $ which bash > > /bin/bash > > $ > > $ less $HOME/bin/exports.sh > > #!/bin/bash > > LOG=$HOME/log/exports.log > > logger -t walterh-cronjob Exports started > > echo Exports started at `date` > $LOG > > rm $HOME/postgresql/* > > psql packages -f $HOME/sql/exports.sql > > cd $HOME/postgresql > > tar cfz postgresql.tgz * > > rm *csv > > echo Exports finished at `date` >> $LOG > > logger -t walterh-cronjob Exports finished > > /home/walterh/bin/exports.sh (END) > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > I tend to use full path names in my shell scripts. So for shits n giggles, try that. Instead of tar cfz postgresql.tgz * Try /bin/tar cfz postgresql.tgz * etc, etc, etc Use the paths for all commands such as rm, psql, logger etc. -- Keep well, Chris <>< From fallofzero at gmail.com Tue Jun 12 03:36:01 2012 From: fallofzero at gmail.com (Arlen McIntyre) Date: Tue Jun 12 03:36:08 2012 Subject: note Message-ID: I have a ASUS laptop that came with Windows 7. I finally ended up with XP on one partition and Ubuntu on the other. ASUS only supports the Windows 7 OS with this particular architect. I want to keep XP on one partition and put FreeBSD on the other partition ( I already have created). The problem is that the files I see for installation are ISO files for booting. I don't have audio in XP but it worked in Ubuntu. I was told by an authorized ASUS dealer that I would not find any support from them because of switching from the pre-installed Windows 7. I cannot update the drivers in the BIOS to tell my laptop to boot from DVD/CD. How can I get FreeBSD on my other partition and have a dual OS system without the boot installation? I cannot afford to buy FreeBSD. Thanks, Derek From freebsd at edvax.de Tue Jun 12 03:37:36 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 12 03:37:44 2012 Subject: any way to grab just One port to upgrade? In-Reply-To: <20120612003110.GA2394@thought.org> References: <20120611220232.GA29749@thought.org> <20120612003110.GA2394@thought.org> Message-ID: <20120612053727.496f4688.freebsd@edvax.de> On Mon, 11 Jun 2012 17:31:10 -0700, Gary Kline wrote: > On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote: > > Date: Mon, 11 Jun 2012 18:14:52 -0400 > > From: Robert Simmons > > Subject: Re: any way to grab just One port to upgrade? > > To: freebsd-questions@freebsd.org > > > > On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline wrote: > > > it is easy to cvs or cvsup ports and get a whole slew of ports in > > > /usr/ports/distfiles, but too often, using portmaster [or another > > > tool], I'll have only one of two ports that fail because they are > > > either 1) broken, or 2) out of date. ?is there any way I can grab > > > just the ones that fail to compile? ?I'm down to fewer than 50 > > > ports. > > > and wedged. > > > > You don't want to have /usr/ports out of sync. You want to let > > cvsup/portsnap do it's thing. It's ideal to have the whole ports > > collection up-to-date. You may want to start with a clean slate and > > cvsup/portsnap a fresh copy of the ports collection if you think that > > something is amiss. You can make a backup of /usr/ports for peace of > > mind too. > > > > Also, can you please supply exactly what ports you're talking about > > and what commands you are running to upgrade? Error output for the > > ports you say are broken would be another good thing to supply. > > something in x11-toolkits/gtk20 blew up. SOOOO. > lolngstoryshrt, I rebuilt from scratch [[ from the very > beginning ]] around 2 hours ago. it Just died. here are > the last 20 lines:: > > > gmake[2]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules' > Making all in demos > gmake[2]: Entering directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' > /usr/local/bin/gdk-pixbuf-csource --raw --build-list \ > apple_red ./apple-red.png \ > gnome_foot ./gnome-foot.png \ > > test-inline-pixbufs.h \ > || (rm -f test-inline-pixbufs.h && false) > failed to load "./apple-red.png": Couldn't recognize the image file > format for file './apple-red.png' > gmake[2]: *** [test-inline-pixbufs.h] Error 1 > gmake[2]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6' > gmake: *** [all] Error 2 > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20. > root@ethic:/tmp# > > unless this port is known to be broken, I'll cvsup the ports > tree. If you're using csup instead of portsnap, you can get "faster" updates of your ports tree (as portsnap transmits snapshots which are less frequently taken). In case you intendedly need to DOWNgrade a port (maybe because the newer version doesn't work anymore, like the xzgv image viewer), use the "portdowngrade" tool. As it as been mentioned, having an out-of-sync ports tree is not recommended and can lead to trouble. So for example, if gtk20 fails, remove its cruft ("make clean" for this port and maybe its dependencies; maybe also remove the distfiles it downloaded), and update via CVS some hours after the incident. It sometimes happens that the problems magically resolve. :-) It's recommended to restart port builds in a somewhat clean environment, that's why it sometimes really helps to delete files of a previous build. Are you using a port management tool (e. g. portmaster) or do you operate "on bare ports")? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kudzu at tenebras.com Tue Jun 12 03:42:50 2012 From: kudzu at tenebras.com (Michael Sierchio) Date: Tue Jun 12 03:42:59 2012 Subject: note In-Reply-To: References: Message-ID: On Mon, Jun 11, 2012 at 8:36 PM, Arlen McIntyre wrote: > ? I cannot afford to buy FreeBSD. Dada is not dead! From freebsd at edvax.de Tue Jun 12 03:44:32 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 12 03:44:40 2012 Subject: text format In-Reply-To: <4FD6A057.2070101@gmail.com> References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <4FD6A057.2070101@gmail.com> Message-ID: <20120612054431.b630e37a.freebsd@edvax.de> On Tue, 12 Jun 2012 01:50:15 +0000, pwnedomina wrote: > On 11-06-2012 23:40, Alejandro Imass wrote: > > On Mon, Jun 11, 2012 at 5:57 PM, i pwn wrote: > >> hi, sometime ago i asked a question about how to format a text, some people > >> told me to use groff, but i would like to know how was file > >> http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt > >> fomatted. > >> thanks in advance. > > Most probably nroff / groff > > > > Take a look at the info from the authoring tools at rfceditor: > > > > http://www.rfc-editor.org/formatting.html > > > *formatted. > i've downloaded NroffEdit but when i open the ASCII text i want to > convert/format, it says "Not a valid nroff I-D" > what should i do? Erm, you did open the output file (as pointed to), _not_ the source file? You're trying to "edit text in a document you've scanned". :-) The output text can be edited with any text editor (vi, emacs, joe, mcedit, whichever is your favourite), but it will be kept in this format as it _has been_ generated that way (past tense). In order to change formatting, you need the SOURCE file with the macros. (Compare: HTML files rendered by browser: output looks different than input; to change it, you need to edit the HTML source.) You can compare that to editing a man page: You need the page's source (like found in /usr/src/share/examples/mdoc/example.1). The text's SOURCE file would have looked similarly I assume. THAT is the input format you need for the "NroffEdit" WYSIWYG "text" editor. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Tue Jun 12 03:53:56 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 12 03:54:03 2012 Subject: note In-Reply-To: References: Message-ID: <20120612055355.d52f9943.freebsd@edvax.de> On Mon, 11 Jun 2012 21:36:00 -0600, Arlen McIntyre wrote: > How can I get FreeBSD on > my other partition and have a dual OS system without the boot installation? Qustion part one: Prepare a USB stick with the FreeBSD "memstick edition". You'll find instructions on how to do that on the FreeBSD website, as well as the installation media. Preparation: Make sure you have _free_ disk space. This means: Do not create any DOS partitions, just leave it "empty" and let the installer perform the required tasks of partitioning and formatting. Question part two: Install the FreeBSD boot manager (which is one of the first steps during the installation process). You can then select at system startup which OS to boot into. > I cannot afford to buy FreeBSD. I'm sorry to hear that, but it won't be a problem. You won't go to jail, don't be frightened. Just install it. It's free. :-) No really: FreeBSD _is_ free to download and to use. You don't need to buy it (even though you _may_ do so; refer to the FreeBSD website for details). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From rsimmons0 at gmail.com Tue Jun 12 04:34:45 2012 From: rsimmons0 at gmail.com (Robert Simmons) Date: Tue Jun 12 04:34:54 2012 Subject: any way to grab just One port to upgrade? In-Reply-To: <20120612003110.GA2394@thought.org> References: <20120611220232.GA29749@thought.org> <20120612003110.GA2394@thought.org> Message-ID: On Mon, Jun 11, 2012 at 8:31 PM, Gary Kline wrote: > On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote: >> Date: Mon, 11 Jun 2012 18:14:52 -0400 >> From: Robert Simmons >> Subject: Re: any way to grab just One port to upgrade? >> To: freebsd-questions@freebsd.org >> >> On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline wrote: >> > it is easy to cvs or cvsup ports and get a whole slew of ports in >> > /usr/ports/distfiles, but too often, using portmaster [or another >> > tool], I'll have only one of two ports that fail because they are >> > either 1) broken, or 2) out of date. ?is there any way I can grab >> > just the ones that fail to compile? ?I'm down to fewer than 50 >> > ports. >> > and wedged. >> >> You don't want to have /usr/ports out of sync. ?You want to let >> cvsup/portsnap do it's thing. ?It's ideal to have the whole ports >> collection up-to-date. ?You may want to start with a clean slate and >> cvsup/portsnap a fresh copy of the ports collection if you think that >> something is amiss. ?You can make a backup of /usr/ports for peace of >> mind too. >> >> Also, can you please supply exactly what ports you're talking about >> and what commands you are running to upgrade? ?Error output for the >> ports you say are broken would be another good thing to supply. > > ? ? ? ?something in x11-toolkits/gtk20 blew up. ?SOOOO. > ? ? ? ?lolngstoryshrt, I rebuilt from scratch [[ from the very > ? ? ? ?beginning ]] around 2 hours ago. ?it Just died. ?here are > ? ? ? ?the last 20 lines:: > > > gmake[2]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules' > Making all in demos > gmake[2]: Entering directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' > /usr/local/bin/gdk-pixbuf-csource --raw --build-list ? ? ? ? ? ?\ > ? ? ? ?apple_red ?./apple-red.png ? ? ?\ > ? ? ? ? ? ? ? ?gnome_foot ./gnome-foot.png ? ? \ > ? ? ? ?> test-inline-pixbufs.h ? ? ? ? ? ? ? ? ? ? ? ? \ > || (rm -f test-inline-pixbufs.h && false) > failed to load "./apple-red.png": Couldn't recognize the image file > format for file './apple-red.png' > gmake[2]: *** [test-inline-pixbufs.h] Error 1 > gmake[2]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6' > gmake: *** [all] Error 2 > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/gtk20. > root@ethic:/tmp# > > ? ? ? ?unless this port is known to be broken, I'll cvsup the ports > ? ? ? ?tree. That may not be necessary. I'm building gtk20 on a freshly installed virtual machine with a freshly portsnap'd ports tree. I noticed the following in the CVS logs: CVS log for ports/x11-toolkits/gtk20/Makefile Revision 1.256: download - view: text, markup, annotated - select for diffs Fri Jun 1 05:25:47 2012 UTC (10 days, 22 hours ago) by dinoex Branches: MAIN CVS tags: HEAD Diff to: previous 1.255: preferred, colored Changes since revision 1.255: +1 -1 lines - update png to 1.5.10 Since png just changed, and the error you encountered is "failed to load "./apple-red.png": Couldn't recognize the image file", I think you may have run into a bug. I'll find out in the morning when the build is done. From bonomi at mail.r-bonomi.com Tue Jun 12 05:05:42 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Tue Jun 12 05:05:50 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: Message-ID: <201206120506.q5C56L2H026673@mail.r-bonomi.com> Walter Hurry wrote: > > As the subject says, this is probably a newbie question (I am new to > FreeBSD but quite experienced at Linux). > > FreeBSD9 on x86_64. > > Cron is running: > > $ ps -ax|grep cron > > 1513 ?? Is 0:00.01 /usr/sbin/cron -s > > 2283 0 S+ 0:00.00 grep cron > > $ > > I have a syntactically valid crontab: 'Syntactically valid', yes, but I believe "it does not mean what you think it does" applies. more below. > $ crontab -l > #min hr dom month dow command > > SHELL=/bin/bash > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ > daddy/bin > > HOME=/home/walterh > > 00 02 * * * /home/walterh/exports.sh > > 05 02 * * * /home/walterh/backup_etc.sh > > 10 02 * * * /home/walterh/systemcheck.sh > > 15 02 * * * /home/walterh/backup_bsd.sh > > $ > > So what is wrong? Why is nothing happening? I have consulted the handbook > but see nothing. It _appears_ that there is whitespace _before_ the purporte 'minutes' value on each line that you intend to invoke a command. If so, -THAT- is probably what is causinng the unexpected behavior. I believe cron is looking for the 'minutes' value _before_ any white space, and using a value of '0' when it finds 'nothing' before the white-space Field-separator. That, thus, the all the commands run at 'zero minutes' past the various hours, on the -second- day of the month, and that command-line that cron would -attempt- to execute on the 2nd looks like, "* /home/walterh/systemcheck.sh", which, of course will have *wildly* unexpected results, epecially if the first element of the '*' expansion _is_ marked as executable. Remove the leading white-space and things should work the way you 'expect'. Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- you are *strongly* encocuraged to remove them. Yes, that means numbers will not be column aligned, but it is a small price to pay to avoid the hair-tearing that =will= ensue when using it bites you. From luvbeastie at larseighner.com Tue Jun 12 05:55:14 2012 From: luvbeastie at larseighner.com (Lars Eighner) Date: Tue Jun 12 05:55:23 2012 Subject: note In-Reply-To: References: Message-ID: On Mon, 11 Jun 2012, Arlen McIntyre wrote: > I have a ASUS laptop that came with Windows 7. I finally > ended up with XP on one partition and Ubuntu on the other. > ASUS only supports the Windows 7 OS with this particular > architect. I want to keep XP on one partition and put FreeBSD > on the other partition ( I already have created). The problem is that > the files I see for installation are ISO files for booting. > I don't have audio in XP but it worked in Ubuntu. I was told by > an authorized ASUS dealer that I would not find any support from them > because of switching from the pre-installed Windows 7. I cannot update the > drivers in the BIOS > to tell my laptop to boot from DVD/CD. Really? What happens when you press F2 and keep it down during boot? > How can I get FreeBSD on > my other partition and have a dual OS system without the boot installation? > > I cannot afford to buy FreeBSD. FreeBSD is not for sale. It is free. Some services will sell releases on CD or DVD, generally at very affordable prices which are well worth it compared to downloading by dial-up. But what those services are selling is the media and the service of copying FreeBSD to the media and getting the media into your hands. You can download and/or install FreeBSD for free. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From pwnedomina at gmail.com Tue Jun 12 08:06:13 2012 From: pwnedomina at gmail.com (i pwn) Date: Tue Jun 12 08:06:21 2012 Subject: text format In-Reply-To: <20120612054431.b630e37a.freebsd@edvax.de> References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <4FD6A057.2070101@gmail.com> <20120612054431.b630e37a.freebsd@edvax.de> Message-ID: <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com> on groff i've used this cmd to format the text groff -Tascii < normal.txt | sed 's/^/ /'$1 > formatted.txt on nroff what would be the cmd? On Jun 12, 2012, at 4:44 AM, Polytropon wrote: > On Tue, 12 Jun 2012 01:50:15 +0000, pwnedomina wrote: >> On 11-06-2012 23:40, Alejandro Imass wrote: >>> On Mon, Jun 11, 2012 at 5:57 PM, i pwn wrote: >>>> hi, sometime ago i asked a question about how to format a text, >>>> some people >>>> told me to use groff, but i would like to know how was file >>>> http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt >>>> fomatted. >>>> thanks in advance. >>> Most probably nroff / groff >>> >>> Take a look at the info from the authoring tools at rfceditor: >>> >>> http://www.rfc-editor.org/formatting.html >>> >> *formatted. >> i've downloaded NroffEdit but when i open the ASCII text i want to >> convert/format, it says "Not a valid nroff I-D" >> what should i do? > > Erm, you did open the output file (as pointed to), _not_ the > source file? You're trying to "edit text in a document you've > scanned". :-) > > The output text can be edited with any text editor (vi, emacs, > joe, mcedit, whichever is your favourite), but it will be kept > in this format as it _has been_ generated that way (past tense). > In order to change formatting, you need the SOURCE file with > the macros. (Compare: HTML files rendered by browser: output > looks different than input; to change it, you need to edit > the HTML source.) > > You can compare that to editing a man page: You need the page's > source (like found in /usr/src/share/examples/mdoc/example.1). > The text's SOURCE file would have looked similarly I assume. > THAT is the input format you need for the "NroffEdit" WYSIWYG > "text" editor. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... --- JID:ipwn#cih.ms HP:ipwn.altervista.org From mexas at bristol.ac.uk Tue Jun 12 08:14:10 2012 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Jun 12 08:14:30 2012 Subject: can't kill -9 Xorg In-Reply-To: References: <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> Message-ID: <20120612081306.GA25637@mech-cluster241.men.bris.ac.uk> On Tue, Jun 12, 2012 at 12:07:06AM +0530, Subhro Sankha Kar wrote: > Hello > > What happens if you run without a xorg.conf? Xorg has become pretty good at guessing correct settings these days. > No change. I removed /etc/X11/xorg.conf completely. # X X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 10.0-CURRENT amd64 Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun 9 22:35:49 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 Build Date: 11 June 2012 12:11:20PM Current version of pixman: 0.24.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 12 09:10:17 2012 (==) Using default built-in configuration (30 lines) (EE) Failed to load module "vesa" (module does not exist, 0) (EE) Failed to load module "fbdev" (module does not exist, 0) XRANDR name: VGA-0 Connector: VGA CRT1: INTERNAL_KLDSCP_DAC1 DDC reg: 0x7e50 XRANDR name: LVDS Connector: LVDS LCD1: INTERNAL_LVTM1 DDC reg: 0x7e40 Dac detection success finished output detect: 0 finished output detect: 1 finished all detect Dac detection success Output LCD1 disable success Blank CRTC 0 success Disable CRTC 0 success Blank CRTC 1 success Disable CRTC 1 success Output CRT1 disable success Output LCD1 disable success Blank CRTC 0 success Disable CRTC 0 success Blank CRTC 1 success Disable CRTC 1 success ^C^C^C Can kill it with neither CTRL/C nor kill -9: # ps ax|grep X 1060 0 R+ 0:38.95 X (Xorg) 1073 1 R+ 0:00.01 grep X # kill -9 1060 # ps ax|grep X 1060 0 RE+ 0:45.71 X (Xorg) 1089 1 R+ 0:00.00 grep X # Anton > Thanks > -- > Subhro Sankha Kar > System Administrator > Working and Playing with FreeBSD since 2002 > > On 11-Jun-2012, at 5:01 PM, Anton Shterenlikht wrote: > > > My X is unusable since the recent png update. > > > > This is r236740M on HP Compaq 6715s amd64 laptop. > > > > I've no hal installed (if this matters). > > > > # pkg info -x xorg > > linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) > > xorg-cf-files-1.0.4 X.org cf files for use with imake builds > > xorg-fonts-7.5.1 X.org fonts meta-port > > xorg-fonts-100dpi-7.5.1 X.Org 100dpi bitmap fonts > > xorg-fonts-75dpi-7.5.1 X.Org 75dpi bitmap fonts > > xorg-fonts-cyrillic-7.5.1 X.Org Cyrillic bitmap fonts > > xorg-fonts-miscbitmaps-7.5.1 X.Org miscellaneous bitmap fonts > > xorg-fonts-truetype-7.5.1 X.Org TrueType fonts > > xorg-fonts-type1-7.5.1 X.Org Type1 fonts > > xorg-libraries-7.5.1 X.org libraries meta-port > > xorg-macros-1.16.1 X.Org development aclocal macros > > xorg-server-1.7.7_5,1 X.Org X server and related programs > > # > > > > # pkg info -x xf86 > > libXxf86dga-1.1.2 X DGA Extension > > libXxf86misc-1.0.3 X XF86-Misc Extension > > libXxf86vm-1.1.1 X Vidmode Extension > > xf86-input-keyboard-1.6.1 X.Org keyboard input driver > > xf86-input-mouse-1.7.1 X.Org mouse input driver > > xf86-video-ati-6.14.3_1 X.Org ati display driver > > xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers > > xf86dgaproto-2.1 XFree86-DGA extension headers > > xf86driproto-2.1.1 XFree86-DRI extension headers > > xf86miscproto-0.9.3 XFree86-Misc extension headers > > xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers > > # > > > > My xorg.conf.new: > > > > > > Section "ServerLayout" > > Identifier "X.org Configured" > > Screen 0 "Screen0" 0 0 > > InputDevice "Mouse0" "CorePointer" > > InputDevice "Keyboard0" "CoreKeyboard" > > Option "AllowEmptyInput" "Off" > > EndSection > > > > Section "Files" > > ModulePath "/usr/local/lib/xorg/modules" > > FontPath "/usr/local/lib/X11/fonts/misc/" > > FontPath "/usr/local/lib/X11/fonts/TTF/" > > FontPath "/usr/local/lib/X11/fonts/OTF" > > FontPath "/usr/local/lib/X11/fonts/Type1/" > > FontPath "/usr/local/lib/X11/fonts/100dpi/" > > FontPath "/usr/local/lib/X11/fonts/75dpi/" > > EndSection > > > > Section "Module" > > Load "extmod" > > Load "record" > > Load "dbe" > > Load "glx" > > Load "dri" > > Load "dri2" > > EndSection > > > > Section "InputDevice" > > Identifier "Keyboard0" > > Driver "kbd" > > EndSection > > > > Section "InputDevice" > > Identifier "Mouse0" > > Driver "mouse" > > Option "Protocol" "auto" > > Option "Device" "/dev/sysmouse" > > Option "ZAxisMapping" "4 5 6 7" > > EndSection > > > > Section "Monitor" > > #DisplaySize 330 210 # mm > > Identifier "Monitor0" > > VendorName "LPL" > > ModelName "d600" > > EndSection > > > > Section "Device" > > Identifier "Card0" > > Driver "radeon" > > VendorName "Advanced Micro Devices [AMD] nee ATI" > > BoardName "RS690M [Radeon X1200 Series]" > > BusID "PCI:1:5:0" > > Option "int10" "on" > > Option "BusType" "PCIE" > > Option "RenderAccel" "on" > > Option "AccelMethod" "xaa" > > Option "DynamicPM" "on" > > Option "DRI" "on" > > EndSection > > > > Section "Screen" > > Identifier "Screen0" > > Device "Card0" > > Monitor "Monitor0" > > SubSection "Display" > > Viewport 0 0 > > Depth 1 > > EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 4 > > EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 8 > > EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 15 > > EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 16 > > EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 24 > > EndSubSection > > EndSection > > > > > > The Xorg.0.log: > > > > > > > > X.Org X Server 1.7.7 > > Release Date: 2010-05-04 > > X Protocol Version 11, Revision 0 > > Build Operating System: FreeBSD 10.0-CURRENT amd64 > > Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun 9 22:35:49 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 > > Build Date: 11 June 2012 12:11:20PM > > > > Current version of pixman: 0.24.2 > > Before reporting problems, check http://wiki.x.org > > to make sure that you have the latest version. > > Markers: (--) probed, (**) from config file, (==) default setting, > > (++) from command line, (!!) notice, (II) informational, > > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > > (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 11 12:24:08 2012 > > (++) Using config file: "/root/xorg.conf.new" > > (==) ServerLayout "X.org Configured" > > (**) |-->Screen "Screen0" (0) > > (**) | |-->Monitor "Monitor0" > > (**) | |-->Device "Card0" > > (**) |-->Input Device "Mouse0" > > (**) |-->Input Device "Keyboard0" > > (**) Option "AllowEmptyInput" "Off" > > (==) Not automatically adding devices > > (==) Not automatically enabling devices > > (**) FontPath set to: > > /usr/local/lib/X11/fonts/misc/, > > /usr/local/lib/X11/fonts/TTF/, > > /usr/local/lib/X11/fonts/OTF, > > /usr/local/lib/X11/fonts/Type1/, > > /usr/local/lib/X11/fonts/100dpi/, > > /usr/local/lib/X11/fonts/75dpi/, > > /usr/local/lib/X11/fonts/misc/, > > /usr/local/lib/X11/fonts/TTF/, > > /usr/local/lib/X11/fonts/OTF, > > /usr/local/lib/X11/fonts/Type1/, > > /usr/local/lib/X11/fonts/100dpi/, > > /usr/local/lib/X11/fonts/75dpi/ > > (**) ModulePath set to "/usr/local/lib/xorg/modules" > > (II) Loader magic: 0x7bd3c0 > > (II) Module ABI versions: > > X.Org ANSI C Emulation: 0.4 > > X.Org Video Driver: 6.0 > > X.Org XInput driver : 7.0 > > X.Org Server Extension : 2.0 > > (--) Using syscons driver with X support (version 2.0) > > (--) using VT number 9 > > > > (--) PCI:*(0:1:5:0) 1002:791f:103c:30c2 Advanced Micro Devices [AMD] nee ATI RS690M [Radeon X1200 Series] rev 0, Mem @ 0xc0000000/134217728, 0xd0200000/65536, 0xd0300000/1048576, I/O @ 0x00004000/256, BIOS @ 0x????????/65536 > > (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. > > (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. > > (II) "glx" will be loaded. This was enabled by default and also specified in the config file. > > (II) "record" will be loaded. This was enabled by default and also specified in the config file. > > (II) "dri" will be loaded. This was enabled by default and also specified in the config file. > > (II) "dri2" will be loaded. This was enabled by default and also specified in the config file. > > (II) LoadModule: "extmod" > > (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so > > (II) Module extmod: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.0.0 > > Module class: X.Org Server Extension > > ABI class: X.Org Server Extension, version 2.0 > > (II) Loading extension MIT-SCREEN-SAVER > > (II) Loading extension XFree86-VidModeExtension > > (II) Loading extension XFree86-DGA > > (II) Loading extension DPMS > > (II) Loading extension XVideo > > (II) Loading extension XVideo-MotionCompensation > > (II) Loading extension X-Resource > > (II) LoadModule: "record" > > (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so > > (II) Module record: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.13.0 > > Module class: X.Org Server Extension > > ABI class: X.Org Server Extension, version 2.0 > > (II) Loading extension RECORD > > (II) LoadModule: "dbe" > > (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so > > (II) Module dbe: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.0.0 > > Module class: X.Org Server Extension > > ABI class: X.Org Server Extension, version 2.0 > > (II) Loading extension DOUBLE-BUFFER > > (II) LoadModule: "glx" > > (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so > > (II) Module glx: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.0.0 > > ABI class: X.Org Server Extension, version 2.0 > > (==) AIGLX disabled > > (II) Loading extension GLX > > (II) LoadModule: "dri" > > (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so > > (II) Module dri: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.0.0 > > ABI class: X.Org Server Extension, version 2.0 > > (II) Loading extension XFree86-DRI > > (II) LoadModule: "dri2" > > (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so > > (II) Module dri2: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.1.0 > > ABI class: X.Org Server Extension, version 2.0 > > (II) Loading extension DRI2 > > (II) LoadModule: "radeon" > > (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so > > (II) Module radeon: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 6.14.3 > > Module class: X.Org Video Driver > > ABI class: X.Org Video Driver, version 6.0 > > (II) LoadModule: "mouse" > > (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so > > (II) Module mouse: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.7.1 > > Module class: X.Org XInput Driver > > ABI class: X.Org XInput driver, version 7.0 > > (II) LoadModule: "kbd" > > (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so > > (II) Module kbd: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.6.1 > > Module class: X.Org XInput Driver > > ABI class: X.Org XInput driver, version 7.0 > > (II) RADEON: Driver for ATI Radeon chipsets: > > ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI), > > ATI Radeon Mobility X300 (M24) 3152 (PCIE), > > ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI), > > ATI Radeon X600 (RV380) 3E50 (PCIE), > > ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136, > > ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP), > > ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP), > > ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP), > > ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP), > > ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP), > > ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP), > > ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650, > > ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237, > > ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336, > > ATI Radeon IGP330M/340M/350M (U2) 4337, > > ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI), > > ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP), > > ATI Radeon X800PRO (R420) JI (AGP), > > ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP), > > ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP), > > ATI Radeon Mobility 9800 (M18) JN (AGP), > > ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP), > > ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP), > > ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP), > > ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP), > > ATI Radeon Mobility M7 LW (AGP), > > ATI Mobility FireGL 7800 M7 LX (AGP), > > ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP), > > ATI FireGL Mobility 9000 (M9) Ld (AGP), > > ATI Radeon Mobility 9000 (M9) Lf (AGP), > > ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI Radeon 9700 Pro ND (AGP), > > ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9600TX NF (AGP), > > ATI FireGL X1 NG (AGP), ATI Radeon 9800PRO NH (AGP), > > ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP), > > ATI Radeon 9800XT NJ (AGP), > > ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP), > > ATI Radeon Mobility 9600 (M10) NQ (AGP), > > ATI Radeon Mobility 9600 (M11) NR (AGP), > > ATI Radeon Mobility 9600 (M10) NS (AGP), > > ATI FireGL Mobility T2 (M10) NT (AGP), > > ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP), > > ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP), > > ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP), > > ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI), > > ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI), > > ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI), > > ATI Radeon Mobility X300 (M22) 5460 (PCIE), > > ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE), > > ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE), > > ATI Radeon X800PRO (R423) UI (PCIE), > > ATI Radeon X800LE (R423) UJ (PCIE), > > ATI Radeon X800SE (R423) UK (PCIE), > > ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE), > > ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE), > > ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE), > > ATI FireGL unknown (R423) UR (PCIE), > > ATI FireGL unknown (R423) UT (PCIE), > > ATI Mobility FireGL V5000 (M26) (PCIE), > > ATI Mobility FireGL V5000 (M26) (PCIE), > > ATI Mobility Radeon X700 XL (M26) (PCIE), > > ATI Mobility Radeon X700 (M26) (PCIE), > > ATI Mobility Radeon X700 (M26) (PCIE), > > ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834, > > ATI Radeon Mobility 9100 IGP (U3) 5835, > > ATI Radeon XPRESS 200 5954 (PCIE), > > ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP), > > ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP), > > ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI), > > ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE), > > ATI Radeon XPRESS 200M 5975 (PCIE), > > ATI Radeon XPRESS 200 5A41 (PCIE), > > ATI Radeon XPRESS 200M 5A42 (PCIE), > > ATI Radeon XPRESS 200 5A61 (PCIE), > > ATI Radeon XPRESS 200M 5A62 (PCIE), > > ATI Radeon X300 (RV370) 5B60 (PCIE), > > ATI Radeon X600 (RV370) 5B62 (PCIE), > > ATI Radeon X550 (RV370) 5B63 (PCIE), > > ATI FireGL V3100 (RV370) 5B64 (PCIE), > > ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE), > > ATI Radeon Mobility 9200 (M9+) 5C61 (AGP), > > ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), > > ATI Mobility Radeon X800 XT (M28) (PCIE), > > ATI Mobility FireGL V5100 (M28) (PCIE), > > ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE), > > ATI Radeon X850 XT PE (R480) (PCIE), > > ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE), > > ATI unknown Radeon / FireGL (R480) 5D50 (PCIE), > > ATI Radeon X850 XT (R480) (PCIE), > > ATI Radeon X800XT (R423) 5D57 (PCIE), > > ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE), > > ATI Radeon X700 PRO (RV410) (PCIE), > > ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE), > > ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800, > > ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800, > > ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300, > > ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800, > > ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, > > ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505, > > ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL, > > ATI Mobility Radeon X1400, ATI Radeon X1300/X1550, > > ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300, > > ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, > > ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300, > > ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350, > > ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550, > > ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450, > > ATI Radeon X1300/X1550, ATI Mobility Radeon X2300, > > ATI Mobility Radeon X2300, ATI Mobility Radeon X1350, > > ATI Mobility Radeon X1350, ATI Mobility Radeon X1450, > > ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350, > > ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600, > > ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600, > > ATI Mobility FireGL V5200, ATI Mobility Radeon X1600, > > ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600, > > ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400, > > ATI Mobility FireGL V5250, ATI Mobility Radeon X1700, > > ATI Mobility Radeon X1700 XT, ATI FireGL V5200, > > ATI Mobility Radeon X1700, ATI Radeon X2300HD, > > ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300, > > ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950, > > ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, > > ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, > > ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, > > ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950, > > ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560, > > ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400, > > ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560, > > ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835, > > ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, > > ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740, > > ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT, > > ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT, > > ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600, > > ATI Radeon 4800 Series, ATI Radeon HD 4870 x2, > > ATI Radeon 4800 Series, ATI Radeon HD 4850 x2, > > ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL), > > ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2, > > ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270, > > AMD FireStream 9250, ATI FirePro V8700 (FireGL), > > ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98, > > ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series, > > ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98, > > ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP), > > ATI Mobility Radeon HD 4670, ATI FirePro M5750, > > ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP), > > ATI RV730XT [Radeon HD 4670], ATI RADEON E4600, > > ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650], > > ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL), > > ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830, > > ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740, > > ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770, > > ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT, > > ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, > > ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT, > > ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610, > > ATI FireMV 2260, ATI RV670, ATI Radeon HD3870, > > ATI Mobility Radeon HD 3850, ATI Radeon HD3850, > > ATI Mobility Radeon HD 3850 X2, ATI RV670, > > ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2, > > ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850, > > ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550, > > ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710, > > ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series, > > ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series, > > ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630, > > ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT, > > ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP, > > ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630, > > ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600, > > ATI FireGL V3600, ATI Radeon HD 2600 LE, > > ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470, > > ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series, > > ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430, > > ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450, > > ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series, > > ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO, > > ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO, > > ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670, > > ATI Mobility FireGL V5700, ATI Mobility FireGL V5725, > > ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, > > ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, > > ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics, > > ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2, > > SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200, ATI Radeon 4100, > > ATI Mobility Radeon HD 4200, ATI Mobility Radeon 4100, > > ATI Radeon HD 4290, ATI Radeon HD 4250, AMD Radeon HD 6310 Graphics, > > AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics, > > AMD Radeon HD 6250 Graphics, AMD Radeon HD 6300 Series Graphics, > > AMD Radeon HD 6200 Series Graphics, CYPRESS, > > ATI FirePro (FireGL) Graphics Adapter, > > ATI FirePro (FireGL) Graphics Adapter, > > ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370, > > AMD Firestream 9350, ATI Radeon HD 5800 Series, > > ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, > > ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series, > > ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series, > > ATI Mobility Radeon HD 5800 Series, > > ATI FirePro (FireGL) Graphics Adapter, > > ATI FirePro (FireGL) Graphics Adapter, > > ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series, > > ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, > > ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, > > ATI Mobility Radeon HD 5000 Series, > > ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570, > > ATI FirePro (FireGL) Graphics Adapter, > > ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670, > > ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD, > > ATI Mobility Radeon HD 5000 Series, > > ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics, > > ATI Mobility Radeon Graphics, CEDAR, > > ATI FirePro (FireGL) Graphics Adapter, > > ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR, > > ATI Radeon HD 5450, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, > > CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, AMD Radeon HD 6900 Series, > > AMD Radeon HD 6900 Series, CAYMAN, CAYMAN, CAYMAN, > > AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS, > > BARTS, Mobility Radeon HD 6000 Series, > > Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS, > > AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series, > > AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, > > TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, CAICOS, > > CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, > > CAICOS, CAICOS, CAICOS > > (II) Primary Device is: PCI 01@00:05:0 > > (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support > > (II) RADEON(0): TOTO SAYS 00000000d0200000 > > (II) RADEON(0): MMIO registers at 0x00000000d0200000: size 64KB > > (II) RADEON(0): PCI bus 1 card 5 func 0 > > (==) RADEON(0): Depth 24, (--) framebuffer bpp 32 > > (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) > > (==) RADEON(0): Default visual is TrueColor > > (**) RADEON(0): Option "BusType" "PCIE" > > (**) RADEON(0): Option "RenderAccel" "on" > > (**) RADEON(0): Option "AccelMethod" "xaa" > > (**) RADEON(0): Option "DRI" "on" > > (**) RADEON(0): Option "Int10" "on" > > (**) RADEON(0): Option "DynamicPM" "on" > > (II) Loading sub module "vgahw" > > (II) LoadModule: "vgahw" > > (II) Loading /usr/local/lib/xorg/modules/libvgahw.so > > (II) Module vgahw: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 0.1.0 > > ABI class: X.Org Video Driver, version 6.0 > > (II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 > > (==) RADEON(0): RGB weight 888 > > (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) > > (--) RADEON(0): Chipset: "ATI Radeon X1200" (ChipID = 0x791f) > > (--) RADEON(0): Linear framebuffer at 0x00000000c0000000 > > (II) RADEON(0): PCI card detected > > (**) RADEON(0): Forced into PCI mode > > (II) Loading sub module "int10" > > (II) LoadModule: "int10" > > (II) Loading /usr/local/lib/xorg/modules/libint10.so > > (II) Module int10: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.0.0 > > ABI class: X.Org Video Driver, version 6.0 > > (II) RADEON(0): initializing int10 > > (**) RADEON(0): Option "int10" "on" > > (==) RADEON(0): Write-combining range (0xa0000,0x20000) was already clear > > (==) RADEON(0): Write-combining range (0xc0000,0x40000) was already clear > > (II) RADEON(0): Primary V_BIOS segment is: 0xc000 > > (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear > > (II) RADEON(0): ATOM BIOS detected > > (II) RADEON(0): ATOM BIOS Rom: > > SubsystemVendorID: 0x1002 SubsystemID: 0x791f > > IOBaseAddress: 0x4000 > > Filename: br23883.bin > > BIOS Bootup Message: > > ATI Radeon Xpress ?1250? for HP_TT > > > > (II) RADEON(0): Framebuffer space used by Firmware (kb): 20 > > (II) RADEON(0): Start of VRAM area used by Firmware: 0x7ffb000 > > (II) RADEON(0): AtomBIOS requests 20kB of VRAM scratch space > > (II) RADEON(0): AtomBIOS VRAM scratch base: 0x7ffb000 > > (II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory instead > > (II) RADEON(0): Default Engine Clock: 400000 > > (II) RADEON(0): Default Memory Clock: 200000 > > (II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 1200000 > > (II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0 > > (II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500 > > (II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000 > > (II) RADEON(0): Maximum Pixel Clock: 400000 > > (II) RADEON(0): Reference Clock: 14320 > > drmOpenDevice: node name is /dev/dri/card0 > > drmOpenDevice: open result is 10, (OK) > > drmOpenByBusid: Searching for BusID pci:0000:01:05.0 > > drmOpenDevice: node name is /dev/dri/card0 > > drmOpenDevice: open result is 10, (OK) > > drmOpenByBusid: drmOpenMinor returns 10 > > drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 > > (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.31.0 > > (==) RADEON(0): Page Flipping disabled on r5xx and newer chips. > > > > (II) RADEON(0): Will try to use DMA for Xv image transfers > > (II) RADEON(0): Generation 2 PCI interface, using max accessible memory > > (II) RADEON(0): Detected total video RAM=131072K, accessible=131072K (PCI BAR=131072K) > > (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) > > (II) RADEON(0): Color tiling enabled by default > > (II) Loading sub module "ddc" > > (II) LoadModule: "ddc" > > (II) Module "ddc" already built-in > > (II) Loading sub module "i2c" > > (II) LoadModule: "i2c" > > (II) Module "i2c" already built-in > > (II) RADEON(0): PLL parameters: rf=1432 rd=12 min=80000 max=120000; xclk=40000 > > (WW) RADEON(0): LVDS Info: > > XRes: 1280, YRes: 800, DotClock: 71000 > > HBlank: 160, HOverPlus: 48, HSyncWidth: 32 > > VBlank: 23, VOverPlus: 3, VSyncWidth: 6 > > (II) RADEON(0): Skipping TV-Out > > (II) RADEON(0): Skipping Component Video > > (II) RADEON(0): Output VGA-0 using monitor section Monitor0 > > (II) RADEON(0): I2C bus "VGA-0" initialized. > > (II) RADEON(0): Output LVDS has no monitor section > > (II) RADEON(0): I2C bus "LVDS" initialized. > > (II) RADEON(0): Port0: > > XRANDR name: VGA-0 > > Connector: VGA > > CRT1: INTERNAL_KLDSCP_DAC1 > > DDC reg: 0x7e50 > > (II) RADEON(0): Port1: > > XRANDR name: LVDS > > Connector: LVDS > > LCD1: INTERNAL_LVTM1 > > DDC reg: 0x7e40 > > (II) RADEON(0): I2C device "VGA-0:ddc2" registered at address 0xA0. > > Dac detection success > > (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 > > finished output detect: 0 > > (II) RADEON(0): I2C device "LVDS:ddc2" registered at address 0xA0. > > (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 > > (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- > > (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 > > (II) RADEON(0): Year: 2006 Week: 0 > > (II) RADEON(0): EDID Version: 1.3 > > (II) RADEON(0): Digital Display Input > > (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 > > (II) RADEON(0): Gamma: 2.20 > > (II) RADEON(0): No DPMS capabilities specified > > (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 > > (II) RADEON(0): First detailed timing is preferred mode > > (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 > > (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 > > (II) RADEON(0): Manufacturer's mask: 0 > > (II) RADEON(0): Supported detailed timing: > > (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm > > (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 > > (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 > > (II) RADEON(0): LGPhilipsLCD > > (II) RADEON(0): LP154WX4-TLA1 > > (II) RADEON(0): EDID (in hex): > > (II) RADEON(0): 00ffffffffffff00320c00d600000000 > > (II) RADEON(0): 00100103802115780ab3409959538d27 > > (II) RADEON(0): 25505400000001010101010101010101 > > (II) RADEON(0): 010101010101bc1b00a0502017303020 > > (II) RADEON(0): 36004bcf100000190000000000000000 > > (II) RADEON(0): 00000000000000000000000000fe004c > > (II) RADEON(0): 475068696c6970734c43440a000000fe > > (II) RADEON(0): 004c503135345758342d544c4131004d > > finished output detect: 1 > > finished all detect > > Dac detection success > > (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 > > (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 > > (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- > > (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 > > (II) RADEON(0): Year: 2006 Week: 0 > > (II) RADEON(0): EDID Version: 1.3 > > (II) RADEON(0): Digital Display Input > > (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 > > (II) RADEON(0): Gamma: 2.20 > > (II) RADEON(0): No DPMS capabilities specified > > (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 > > (II) RADEON(0): First detailed timing is preferred mode > > (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 > > (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 > > (II) RADEON(0): Manufacturer's mask: 0 > > (II) RADEON(0): Supported detailed timing: > > (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm > > (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 > > (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 > > (II) RADEON(0): LGPhilipsLCD > > (II) RADEON(0): LP154WX4-TLA1 > > (II) RADEON(0): EDID (in hex): > > (II) RADEON(0): 00ffffffffffff00320c00d600000000 > > (II) RADEON(0): 00100103802115780ab3409959538d27 > > (II) RADEON(0): 25505400000001010101010101010101 > > (II) RADEON(0): 010101010101bc1b00a0502017303020 > > (II) RADEON(0): 36004bcf100000190000000000000000 > > (II) RADEON(0): 00000000000000000000000000fe004c > > (II) RADEON(0): 475068696c6970734c43440a000000fe > > (II) RADEON(0): 004c503135345758342d544c4131004d > > (II) RADEON(0): EDID vendor "LPL", prod id 54784 > > (II) RADEON(0): Output VGA-0 disconnected > > (II) RADEON(0): Output LVDS connected > > (II) RADEON(0): Using exact sizes for initial modes > > (II) RADEON(0): Output LVDS using initial mode 1280x800 > > (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. > > (==) RADEON(0): DPI set to (96, 96) > > (II) Loading sub module "fb" > > (II) LoadModule: "fb" > > (II) Loading /usr/local/lib/xorg/modules/libfb.so > > (II) Module fb: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.0.0 > > ABI class: X.Org ANSI C Emulation, version 0.4 > > (II) Loading sub module "ramdac" > > (II) LoadModule: "ramdac" > > (II) Module "ramdac" already built-in > > (**) RADEON(0): Using XAA acceleration architecture > > (II) Loading sub module "xaa" > > (II) LoadModule: "xaa" > > (II) Loading /usr/local/lib/xorg/modules/libxaa.so > > (II) Module xaa: vendor="X.Org Foundation" > > compiled for 1.7.7, module version = 1.2.1 > > ABI class: X.Org Video Driver, version 6.0 > > (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear > > (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support > > (--) Depth 24 pixmap format is 32 bpp > > (II) RADEON(0): RADEONScreenInit c0000000 0 0 > > (==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear > > Output LCD1 disable success > > Blank CRTC 0 success > > Disable CRTC 0 success > > Blank CRTC 1 success > > Disable CRTC 1 success > > (II) RADEON(0): Dynamic Power Management Enabled > > (==) RADEON(0): Using 24 bit depth buffer > > (II) RADEON(0): RADEONInitMemoryMap() : > > (II) RADEON(0): mem_size : 0x08000000 > > (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 > > (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 > > (II) RADEON(0): Depth moves disabled by default > > (II) RADEON(0): Using 32 MB GART aperture > > (II) RADEON(0): Using 1 MB for the ring buffer > > (II) RADEON(0): Using 2 MB for vertex/indirect buffers > > (II) RADEON(0): Using 29 MB for GART textures > > (II) RADEON(0): Memory manager initialized to (0,0) (1280,8191) > > (II) RADEON(0): Reserved area from (0,1280) to (1280,1282) > > (II) RADEON(0): Largest offscreen area available: 1280 x 6909 > > (II) RADEON(0): Will use front buffer at offset 0x0 > > (II) RADEON(0): Will use back buffer at offset 0x1978000 > > (II) RADEON(0): Will use depth buffer at offset 0x1fb8000 > > (II) RADEON(0): Will use 92160 kb for textures at offset 0x25f8000 > > drmOpenDevice: node name is /dev/dri/card0 > > drmOpenDevice: open result is 10, (OK) > > drmOpenDevice: node name is /dev/dri/card0 > > drmOpenDevice: open result is 10, (OK) > > drmOpenByBusid: Searching for BusID pci:0000:01:05.0 > > drmOpenDevice: node name is /dev/dri/card0 > > drmOpenDevice: open result is 10, (OK) > > drmOpenByBusid: drmOpenMinor returns 10 > > drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 > > (II) [drm] DRM interface version 1.2 > > (II) [drm] DRM open master succeeded. > > (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables. > > (II) RADEON(0): [drm] framebuffer handle = 0x40000000000 > > (II) RADEON(0): [drm] added 1 reserved context for kernel > > (II) RADEON(0): X context handle = 0x1 > > (II) RADEON(0): [drm] installed DRM signal handler > > (II) RADEON(0): [pci] 32768 kB allocated with handle 0xcff65000 > > (II) RADEON(0): [pci] ring handle = 0x00000000 > > (II) RADEON(0): [pci] Ring mapped at 0x804c1f000 > > (II) RADEON(0): [pci] Ring contents 0x00000000 > > (II) RADEON(0): [pci] ring read ptr handle = 0x00000000 > > (II) RADEON(0): [pci] Ring read ptr mapped at 0x80090e000 > > (II) RADEON(0): [pci] Ring read ptr contents 0x00000000 > > (II) RADEON(0): [pci] vertex/indirect buffers handle = 0x00000000 > > (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x80ce00000 > > (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000 > > (II) RADEON(0): [pci] GART texture map handle = 0x00000000 > > (II) RADEON(0): [pci] GART Texture map mapped at 0x80d094000 > > (II) RADEON(0): [drm] register handle = 0x00000000 > > (II) RADEON(0): [dri] Visual configs initialized > > (II) RADEON(0): RADEONRestoreMemMapRegisters() : > > (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 > > (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 > > (==) RADEON(0): Backing store disabled > > (II) RADEON(0): [DRI] installation complete > > (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers > > (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers > > (II) RADEON(0): [drm] dma control initialized, using IRQ 256 > > (II) RADEON(0): [drm] Initialized kernel GART heap manager, 29884416 > > (WW) RADEON(0): DRI init changed memory map, adjusting ... > > (WW) RADEON(0): MC_FB_LOCATION was: 0xbfffb800 is: 0xbfffb800 > > (WW) RADEON(0): MC_AGP_LOCATION was: 0x003f0000 is: 0xc1ffc000 > > (II) RADEON(0): RADEONRestoreMemMapRegisters() : > > (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 > > (II) RADEON(0): MC_AGP_LOCATION : 0xc1ffc000 > > (II) RADEON(0): Direct rendering enabled > > (II) RADEON(0): Render acceleration disabled > > (II) RADEON(0): num quad-pipes is 1 > > (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA) > > Screen to screen bit blits > > Solid filled rectangles > > 8x8 mono pattern filled rectangles > > Indirect CPU to Screen color expansion > > Solid Lines > > Scanline Image Writes > > Setting up tile and stipple cache: > > 32 128x128 slots > > 32 256x256 slots > > 16 512x512 slots > > (II) RADEON(0): Acceleration enabled > > (==) RADEON(0): DPMS enabled > > (==) RADEON(0): Silken mouse enabled > > (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00643000 > > (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00648000 > > (II) RADEON(0): Largest offscreen area available: 1280 x 6901 > > (II) RADEON(0): Set up textured video > > (II) RADEON(0): [XvMC] Associated with Radeon Textured Video. > > (II) RADEON(0): [XvMC] Extension initialized. > > Output CRT1 disable success > > Output LCD1 disable success > > Blank CRTC 0 success > > Disable CRTC 0 success > > Blank CRTC 1 success > > Disable CRTC 1 success > > > > > > I tried running Xorg -config /root/xorg.conf.new > > > > I get black screen, from which I can't recover. > > CTRL+ALT+F<...> does nothing, > > CTRL+ALT+BACKSPACE does nothing. > > > > And I can't kill Xorg: > > > > # ps ax |grep Xorg > > 1056 0 RE+ 5:54.16 Xorg -config /root/xorg.conf.new -retro > > 1112 1 RL+ 0:00.02 grep Xorg > > # kill -9 1056 > > # ps ax |grep Xorg > > 1056 0 RE+ 6:01.24 Xorg -config /root/xorg.conf.new -retro > > 1114 1 S+ 0:00.02 grep Xorg > > # > > > > The only way I can recover is reboot. > > > > Please advise. > > > > > > > > -- > > Anton Shterenlikht > > Room 2.6, Queen's Building > > Mech Eng Dept > > Bristol University > > University Walk, Bristol BS8 1TR, UK > > Tel: +44 (0)117 331 5944 > > Fax: +44 (0)117 929 4423 > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From freebsd at edvax.de Tue Jun 12 08:22:02 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 12 08:22:10 2012 Subject: text format In-Reply-To: <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com> References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <4FD6A057.2070101@gmail.com> <20120612054431.b630e37a.freebsd@edvax.de> <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com> Message-ID: <20120612102200.f5d0b981.freebsd@edvax.de> On Tue, 12 Jun 2012 09:06:07 +0100, i pwn wrote: > on groff i've used this cmd to format the text > groff -Tascii < normal.txt | sed 's/^/ /'$1 > formatted.txt > on nroff what would be the cmd? Depending on your input data, I'd say the same command: groff -Tascii < normal.txt > formatted.txt. But you need to test this yourself with your input text format. See "man nroff" for details. For using roff macros, "man 7 mdoc" has a nice summary. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From mexas at bristol.ac.uk Tue Jun 12 08:25:33 2012 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Jun 12 08:25:41 2012 Subject: can't kill -9 Xorg In-Reply-To: <20120612081306.GA25637@mech-cluster241.men.bris.ac.uk> References: <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> <20120612081306.GA25637@mech-cluster241.men.bris.ac.uk> Message-ID: <20120612082456.GA25893@mech-cluster241.men.bris.ac.uk> On Tue, Jun 12, 2012 at 09:13:06AM +0100, Anton Shterenlikht wrote: > On Tue, Jun 12, 2012 at 12:07:06AM +0530, Subhro Sankha Kar wrote: > > Hello > > > > What happens if you run without a xorg.conf? Xorg has become pretty good at guessing correct settings these days. > > > > No change. > I removed /etc/X11/xorg.conf completely. Anyway, I can understand my X setup is fucked, no problem. What worries me more is the the fact that a process ignores kill -9. Doesn't it indicate a problem with the OS? I think potentially this is a security vulnerability. > > # X > > X.Org X Server 1.7.7 > Release Date: 2010-05-04 > X Protocol Version 11, Revision 0 > Build Operating System: FreeBSD 10.0-CURRENT amd64 > Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun 9 22:35:49 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 > Build Date: 11 June 2012 12:11:20PM > > Current version of pixman: 0.24.2 > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 12 09:10:17 2012 > (==) Using default built-in configuration (30 lines) > (EE) Failed to load module "vesa" (module does not exist, 0) > (EE) Failed to load module "fbdev" (module does not exist, 0) > XRANDR name: VGA-0 > Connector: VGA > CRT1: INTERNAL_KLDSCP_DAC1 > DDC reg: 0x7e50 > XRANDR name: LVDS > Connector: LVDS > LCD1: INTERNAL_LVTM1 > DDC reg: 0x7e40 > Dac detection success > finished output detect: 0 > finished output detect: 1 > finished all detect > Dac detection success > Output LCD1 disable success > Blank CRTC 0 success > Disable CRTC 0 success > Blank CRTC 1 success > Disable CRTC 1 success > Output CRT1 disable success > Output LCD1 disable success > Blank CRTC 0 success > Disable CRTC 0 success > Blank CRTC 1 success > Disable CRTC 1 success > ^C^C^C > > Can kill it with neither CTRL/C > nor kill -9: > > # ps ax|grep X > 1060 0 R+ 0:38.95 X (Xorg) > 1073 1 R+ 0:00.01 grep X > # kill -9 1060 > # ps ax|grep X > 1060 0 RE+ 0:45.71 X (Xorg) > 1089 1 R+ 0:00.00 grep X > # > > > Anton > > > > Thanks > > -- > > Subhro Sankha Kar > > System Administrator > > Working and Playing with FreeBSD since 2002 > > > > On 11-Jun-2012, at 5:01 PM, Anton Shterenlikht wrote: > > > > > My X is unusable since the recent png update. > > > > > > This is r236740M on HP Compaq 6715s amd64 laptop. > > > > > > I've no hal installed (if this matters). > > > > > > # pkg info -x xorg > > > linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) > > > xorg-cf-files-1.0.4 X.org cf files for use with imake builds > > > xorg-fonts-7.5.1 X.org fonts meta-port > > > xorg-fonts-100dpi-7.5.1 X.Org 100dpi bitmap fonts > > > xorg-fonts-75dpi-7.5.1 X.Org 75dpi bitmap fonts > > > xorg-fonts-cyrillic-7.5.1 X.Org Cyrillic bitmap fonts > > > xorg-fonts-miscbitmaps-7.5.1 X.Org miscellaneous bitmap fonts > > > xorg-fonts-truetype-7.5.1 X.Org TrueType fonts > > > xorg-fonts-type1-7.5.1 X.Org Type1 fonts > > > xorg-libraries-7.5.1 X.org libraries meta-port > > > xorg-macros-1.16.1 X.Org development aclocal macros > > > xorg-server-1.7.7_5,1 X.Org X server and related programs > > > # > > > > > > # pkg info -x xf86 > > > libXxf86dga-1.1.2 X DGA Extension > > > libXxf86misc-1.0.3 X XF86-Misc Extension > > > libXxf86vm-1.1.1 X Vidmode Extension > > > xf86-input-keyboard-1.6.1 X.Org keyboard input driver > > > xf86-input-mouse-1.7.1 X.Org mouse input driver > > > xf86-video-ati-6.14.3_1 X.Org ati display driver > > > xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers > > > xf86dgaproto-2.1 XFree86-DGA extension headers > > > xf86driproto-2.1.1 XFree86-DRI extension headers > > > xf86miscproto-0.9.3 XFree86-Misc extension headers > > > xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers > > > # > > > > > > My xorg.conf.new: > > > > > > > > > Section "ServerLayout" > > > Identifier "X.org Configured" > > > Screen 0 "Screen0" 0 0 > > > InputDevice "Mouse0" "CorePointer" > > > InputDevice "Keyboard0" "CoreKeyboard" > > > Option "AllowEmptyInput" "Off" > > > EndSection > > > > > > Section "Files" > > > ModulePath "/usr/local/lib/xorg/modules" > > > FontPath "/usr/local/lib/X11/fonts/misc/" > > > FontPath "/usr/local/lib/X11/fonts/TTF/" > > > FontPath "/usr/local/lib/X11/fonts/OTF" > > > FontPath "/usr/local/lib/X11/fonts/Type1/" > > > FontPath "/usr/local/lib/X11/fonts/100dpi/" > > > FontPath "/usr/local/lib/X11/fonts/75dpi/" > > > EndSection > > > > > > Section "Module" > > > Load "extmod" > > > Load "record" > > > Load "dbe" > > > Load "glx" > > > Load "dri" > > > Load "dri2" > > > EndSection > > > > > > Section "InputDevice" > > > Identifier "Keyboard0" > > > Driver "kbd" > > > EndSection > > > > > > Section "InputDevice" > > > Identifier "Mouse0" > > > Driver "mouse" > > > Option "Protocol" "auto" > > > Option "Device" "/dev/sysmouse" > > > Option "ZAxisMapping" "4 5 6 7" > > > EndSection > > > > > > Section "Monitor" > > > #DisplaySize 330 210 # mm > > > Identifier "Monitor0" > > > VendorName "LPL" > > > ModelName "d600" > > > EndSection > > > > > > Section "Device" > > > Identifier "Card0" > > > Driver "radeon" > > > VendorName "Advanced Micro Devices [AMD] nee ATI" > > > BoardName "RS690M [Radeon X1200 Series]" > > > BusID "PCI:1:5:0" > > > Option "int10" "on" > > > Option "BusType" "PCIE" > > > Option "RenderAccel" "on" > > > Option "AccelMethod" "xaa" > > > Option "DynamicPM" "on" > > > Option "DRI" "on" > > > EndSection > > > > > > Section "Screen" > > > Identifier "Screen0" > > > Device "Card0" > > > Monitor "Monitor0" > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 1 > > > EndSubSection > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 4 > > > EndSubSection > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 8 > > > EndSubSection > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 15 > > > EndSubSection > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 16 > > > EndSubSection > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 24 > > > EndSubSection > > > EndSection > > > > > > > > > The Xorg.0.log: > > > > > > > > > > > > X.Org X Server 1.7.7 > > > Release Date: 2010-05-04 > > > X Protocol Version 11, Revision 0 > > > Build Operating System: FreeBSD 10.0-CURRENT amd64 > > > Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun 9 22:35:49 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 > > > Build Date: 11 June 2012 12:11:20PM > > > > > > Current version of pixman: 0.24.2 > > > Before reporting problems, check http://wiki.x.org > > > to make sure that you have the latest version. > > > Markers: (--) probed, (**) from config file, (==) default setting, > > > (++) from command line, (!!) notice, (II) informational, > > > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > > > (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 11 12:24:08 2012 > > > (++) Using config file: "/root/xorg.conf.new" > > > (==) ServerLayout "X.org Configured" > > > (**) |-->Screen "Screen0" (0) > > > (**) | |-->Monitor "Monitor0" > > > (**) | |-->Device "Card0" > > > (**) |-->Input Device "Mouse0" > > > (**) |-->Input Device "Keyboard0" > > > (**) Option "AllowEmptyInput" "Off" > > > (==) Not automatically adding devices > > > (==) Not automatically enabling devices > > > (**) FontPath set to: > > > /usr/local/lib/X11/fonts/misc/, > > > /usr/local/lib/X11/fonts/TTF/, > > > /usr/local/lib/X11/fonts/OTF, > > > /usr/local/lib/X11/fonts/Type1/, > > > /usr/local/lib/X11/fonts/100dpi/, > > > /usr/local/lib/X11/fonts/75dpi/, > > > /usr/local/lib/X11/fonts/misc/, > > > /usr/local/lib/X11/fonts/TTF/, > > > /usr/local/lib/X11/fonts/OTF, > > > /usr/local/lib/X11/fonts/Type1/, > > > /usr/local/lib/X11/fonts/100dpi/, > > > /usr/local/lib/X11/fonts/75dpi/ > > > (**) ModulePath set to "/usr/local/lib/xorg/modules" > > > (II) Loader magic: 0x7bd3c0 > > > (II) Module ABI versions: > > > X.Org ANSI C Emulation: 0.4 > > > X.Org Video Driver: 6.0 > > > X.Org XInput driver : 7.0 > > > X.Org Server Extension : 2.0 > > > (--) Using syscons driver with X support (version 2.0) > > > (--) using VT number 9 > > > > > > (--) PCI:*(0:1:5:0) 1002:791f:103c:30c2 Advanced Micro Devices [AMD] nee ATI RS690M [Radeon X1200 Series] rev 0, Mem @ 0xc0000000/134217728, 0xd0200000/65536, 0xd0300000/1048576, I/O @ 0x00004000/256, BIOS @ 0x????????/65536 > > > (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. > > > (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. > > > (II) "glx" will be loaded. This was enabled by default and also specified in the config file. > > > (II) "record" will be loaded. This was enabled by default and also specified in the config file. > > > (II) "dri" will be loaded. This was enabled by default and also specified in the config file. > > > (II) "dri2" will be loaded. This was enabled by default and also specified in the config file. > > > (II) LoadModule: "extmod" > > > (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so > > > (II) Module extmod: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.0.0 > > > Module class: X.Org Server Extension > > > ABI class: X.Org Server Extension, version 2.0 > > > (II) Loading extension MIT-SCREEN-SAVER > > > (II) Loading extension XFree86-VidModeExtension > > > (II) Loading extension XFree86-DGA > > > (II) Loading extension DPMS > > > (II) Loading extension XVideo > > > (II) Loading extension XVideo-MotionCompensation > > > (II) Loading extension X-Resource > > > (II) LoadModule: "record" > > > (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so > > > (II) Module record: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.13.0 > > > Module class: X.Org Server Extension > > > ABI class: X.Org Server Extension, version 2.0 > > > (II) Loading extension RECORD > > > (II) LoadModule: "dbe" > > > (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so > > > (II) Module dbe: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.0.0 > > > Module class: X.Org Server Extension > > > ABI class: X.Org Server Extension, version 2.0 > > > (II) Loading extension DOUBLE-BUFFER > > > (II) LoadModule: "glx" > > > (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so > > > (II) Module glx: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.0.0 > > > ABI class: X.Org Server Extension, version 2.0 > > > (==) AIGLX disabled > > > (II) Loading extension GLX > > > (II) LoadModule: "dri" > > > (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so > > > (II) Module dri: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.0.0 > > > ABI class: X.Org Server Extension, version 2.0 > > > (II) Loading extension XFree86-DRI > > > (II) LoadModule: "dri2" > > > (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so > > > (II) Module dri2: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.1.0 > > > ABI class: X.Org Server Extension, version 2.0 > > > (II) Loading extension DRI2 > > > (II) LoadModule: "radeon" > > > (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so > > > (II) Module radeon: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 6.14.3 > > > Module class: X.Org Video Driver > > > ABI class: X.Org Video Driver, version 6.0 > > > (II) LoadModule: "mouse" > > > (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so > > > (II) Module mouse: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.7.1 > > > Module class: X.Org XInput Driver > > > ABI class: X.Org XInput driver, version 7.0 > > > (II) LoadModule: "kbd" > > > (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so > > > (II) Module kbd: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.6.1 > > > Module class: X.Org XInput Driver > > > ABI class: X.Org XInput driver, version 7.0 > > > (II) RADEON: Driver for ATI Radeon chipsets: > > > ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI), > > > ATI Radeon Mobility X300 (M24) 3152 (PCIE), > > > ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI), > > > ATI Radeon X600 (RV380) 3E50 (PCIE), > > > ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136, > > > ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP), > > > ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP), > > > ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP), > > > ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP), > > > ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP), > > > ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP), > > > ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650, > > > ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237, > > > ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336, > > > ATI Radeon IGP330M/340M/350M (U2) 4337, > > > ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI), > > > ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP), > > > ATI Radeon X800PRO (R420) JI (AGP), > > > ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP), > > > ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP), > > > ATI Radeon Mobility 9800 (M18) JN (AGP), > > > ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP), > > > ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP), > > > ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP), > > > ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP), > > > ATI Radeon Mobility M7 LW (AGP), > > > ATI Mobility FireGL 7800 M7 LX (AGP), > > > ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP), > > > ATI FireGL Mobility 9000 (M9) Ld (AGP), > > > ATI Radeon Mobility 9000 (M9) Lf (AGP), > > > ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI Radeon 9700 Pro ND (AGP), > > > ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9600TX NF (AGP), > > > ATI FireGL X1 NG (AGP), ATI Radeon 9800PRO NH (AGP), > > > ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP), > > > ATI Radeon 9800XT NJ (AGP), > > > ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP), > > > ATI Radeon Mobility 9600 (M10) NQ (AGP), > > > ATI Radeon Mobility 9600 (M11) NR (AGP), > > > ATI Radeon Mobility 9600 (M10) NS (AGP), > > > ATI FireGL Mobility T2 (M10) NT (AGP), > > > ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP), > > > ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP), > > > ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP), > > > ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI), > > > ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI), > > > ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI), > > > ATI Radeon Mobility X300 (M22) 5460 (PCIE), > > > ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE), > > > ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE), > > > ATI Radeon X800PRO (R423) UI (PCIE), > > > ATI Radeon X800LE (R423) UJ (PCIE), > > > ATI Radeon X800SE (R423) UK (PCIE), > > > ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE), > > > ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE), > > > ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE), > > > ATI FireGL unknown (R423) UR (PCIE), > > > ATI FireGL unknown (R423) UT (PCIE), > > > ATI Mobility FireGL V5000 (M26) (PCIE), > > > ATI Mobility FireGL V5000 (M26) (PCIE), > > > ATI Mobility Radeon X700 XL (M26) (PCIE), > > > ATI Mobility Radeon X700 (M26) (PCIE), > > > ATI Mobility Radeon X700 (M26) (PCIE), > > > ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834, > > > ATI Radeon Mobility 9100 IGP (U3) 5835, > > > ATI Radeon XPRESS 200 5954 (PCIE), > > > ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP), > > > ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP), > > > ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI), > > > ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE), > > > ATI Radeon XPRESS 200M 5975 (PCIE), > > > ATI Radeon XPRESS 200 5A41 (PCIE), > > > ATI Radeon XPRESS 200M 5A42 (PCIE), > > > ATI Radeon XPRESS 200 5A61 (PCIE), > > > ATI Radeon XPRESS 200M 5A62 (PCIE), > > > ATI Radeon X300 (RV370) 5B60 (PCIE), > > > ATI Radeon X600 (RV370) 5B62 (PCIE), > > > ATI Radeon X550 (RV370) 5B63 (PCIE), > > > ATI FireGL V3100 (RV370) 5B64 (PCIE), > > > ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE), > > > ATI Radeon Mobility 9200 (M9+) 5C61 (AGP), > > > ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), > > > ATI Mobility Radeon X800 XT (M28) (PCIE), > > > ATI Mobility FireGL V5100 (M28) (PCIE), > > > ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE), > > > ATI Radeon X850 XT PE (R480) (PCIE), > > > ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE), > > > ATI unknown Radeon / FireGL (R480) 5D50 (PCIE), > > > ATI Radeon X850 XT (R480) (PCIE), > > > ATI Radeon X800XT (R423) 5D57 (PCIE), > > > ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE), > > > ATI Radeon X700 PRO (RV410) (PCIE), > > > ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE), > > > ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800, > > > ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800, > > > ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300, > > > ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800, > > > ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, > > > ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505, > > > ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL, > > > ATI Mobility Radeon X1400, ATI Radeon X1300/X1550, > > > ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300, > > > ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, > > > ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300, > > > ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350, > > > ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550, > > > ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450, > > > ATI Radeon X1300/X1550, ATI Mobility Radeon X2300, > > > ATI Mobility Radeon X2300, ATI Mobility Radeon X1350, > > > ATI Mobility Radeon X1350, ATI Mobility Radeon X1450, > > > ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350, > > > ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600, > > > ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600, > > > ATI Mobility FireGL V5200, ATI Mobility Radeon X1600, > > > ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600, > > > ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400, > > > ATI Mobility FireGL V5250, ATI Mobility Radeon X1700, > > > ATI Mobility Radeon X1700 XT, ATI FireGL V5200, > > > ATI Mobility Radeon X1700, ATI Radeon X2300HD, > > > ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300, > > > ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950, > > > ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, > > > ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, > > > ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, > > > ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950, > > > ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560, > > > ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400, > > > ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560, > > > ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835, > > > ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, > > > ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740, > > > ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT, > > > ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT, > > > ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600, > > > ATI Radeon 4800 Series, ATI Radeon HD 4870 x2, > > > ATI Radeon 4800 Series, ATI Radeon HD 4850 x2, > > > ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL), > > > ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2, > > > ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270, > > > AMD FireStream 9250, ATI FirePro V8700 (FireGL), > > > ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98, > > > ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series, > > > ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98, > > > ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP), > > > ATI Mobility Radeon HD 4670, ATI FirePro M5750, > > > ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP), > > > ATI RV730XT [Radeon HD 4670], ATI RADEON E4600, > > > ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650], > > > ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL), > > > ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830, > > > ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740, > > > ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770, > > > ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT, > > > ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, > > > ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT, > > > ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610, > > > ATI FireMV 2260, ATI RV670, ATI Radeon HD3870, > > > ATI Mobility Radeon HD 3850, ATI Radeon HD3850, > > > ATI Mobility Radeon HD 3850 X2, ATI RV670, > > > ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2, > > > ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850, > > > ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550, > > > ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710, > > > ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series, > > > ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series, > > > ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630, > > > ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT, > > > ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP, > > > ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630, > > > ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600, > > > ATI FireGL V3600, ATI Radeon HD 2600 LE, > > > ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470, > > > ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series, > > > ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430, > > > ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450, > > > ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series, > > > ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO, > > > ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO, > > > ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670, > > > ATI Mobility FireGL V5700, ATI Mobility FireGL V5725, > > > ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, > > > ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, > > > ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics, > > > ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2, > > > SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200, ATI Radeon 4100, > > > ATI Mobility Radeon HD 4200, ATI Mobility Radeon 4100, > > > ATI Radeon HD 4290, ATI Radeon HD 4250, AMD Radeon HD 6310 Graphics, > > > AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics, > > > AMD Radeon HD 6250 Graphics, AMD Radeon HD 6300 Series Graphics, > > > AMD Radeon HD 6200 Series Graphics, CYPRESS, > > > ATI FirePro (FireGL) Graphics Adapter, > > > ATI FirePro (FireGL) Graphics Adapter, > > > ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370, > > > AMD Firestream 9350, ATI Radeon HD 5800 Series, > > > ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, > > > ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series, > > > ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series, > > > ATI Mobility Radeon HD 5800 Series, > > > ATI FirePro (FireGL) Graphics Adapter, > > > ATI FirePro (FireGL) Graphics Adapter, > > > ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series, > > > ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, > > > ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, > > > ATI Mobility Radeon HD 5000 Series, > > > ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570, > > > ATI FirePro (FireGL) Graphics Adapter, > > > ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670, > > > ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD, > > > ATI Mobility Radeon HD 5000 Series, > > > ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics, > > > ATI Mobility Radeon Graphics, CEDAR, > > > ATI FirePro (FireGL) Graphics Adapter, > > > ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR, > > > ATI Radeon HD 5450, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, > > > CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, AMD Radeon HD 6900 Series, > > > AMD Radeon HD 6900 Series, CAYMAN, CAYMAN, CAYMAN, > > > AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS, > > > BARTS, Mobility Radeon HD 6000 Series, > > > Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS, > > > AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series, > > > AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, > > > TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, CAICOS, > > > CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, > > > CAICOS, CAICOS, CAICOS > > > (II) Primary Device is: PCI 01@00:05:0 > > > (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support > > > (II) RADEON(0): TOTO SAYS 00000000d0200000 > > > (II) RADEON(0): MMIO registers at 0x00000000d0200000: size 64KB > > > (II) RADEON(0): PCI bus 1 card 5 func 0 > > > (==) RADEON(0): Depth 24, (--) framebuffer bpp 32 > > > (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) > > > (==) RADEON(0): Default visual is TrueColor > > > (**) RADEON(0): Option "BusType" "PCIE" > > > (**) RADEON(0): Option "RenderAccel" "on" > > > (**) RADEON(0): Option "AccelMethod" "xaa" > > > (**) RADEON(0): Option "DRI" "on" > > > (**) RADEON(0): Option "Int10" "on" > > > (**) RADEON(0): Option "DynamicPM" "on" > > > (II) Loading sub module "vgahw" > > > (II) LoadModule: "vgahw" > > > (II) Loading /usr/local/lib/xorg/modules/libvgahw.so > > > (II) Module vgahw: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 0.1.0 > > > ABI class: X.Org Video Driver, version 6.0 > > > (II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 > > > (==) RADEON(0): RGB weight 888 > > > (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) > > > (--) RADEON(0): Chipset: "ATI Radeon X1200" (ChipID = 0x791f) > > > (--) RADEON(0): Linear framebuffer at 0x00000000c0000000 > > > (II) RADEON(0): PCI card detected > > > (**) RADEON(0): Forced into PCI mode > > > (II) Loading sub module "int10" > > > (II) LoadModule: "int10" > > > (II) Loading /usr/local/lib/xorg/modules/libint10.so > > > (II) Module int10: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.0.0 > > > ABI class: X.Org Video Driver, version 6.0 > > > (II) RADEON(0): initializing int10 > > > (**) RADEON(0): Option "int10" "on" > > > (==) RADEON(0): Write-combining range (0xa0000,0x20000) was already clear > > > (==) RADEON(0): Write-combining range (0xc0000,0x40000) was already clear > > > (II) RADEON(0): Primary V_BIOS segment is: 0xc000 > > > (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear > > > (II) RADEON(0): ATOM BIOS detected > > > (II) RADEON(0): ATOM BIOS Rom: > > > SubsystemVendorID: 0x1002 SubsystemID: 0x791f > > > IOBaseAddress: 0x4000 > > > Filename: br23883.bin > > > BIOS Bootup Message: > > > ATI Radeon Xpress ?1250? for HP_TT > > > > > > (II) RADEON(0): Framebuffer space used by Firmware (kb): 20 > > > (II) RADEON(0): Start of VRAM area used by Firmware: 0x7ffb000 > > > (II) RADEON(0): AtomBIOS requests 20kB of VRAM scratch space > > > (II) RADEON(0): AtomBIOS VRAM scratch base: 0x7ffb000 > > > (II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory instead > > > (II) RADEON(0): Default Engine Clock: 400000 > > > (II) RADEON(0): Default Memory Clock: 200000 > > > (II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 1200000 > > > (II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0 > > > (II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500 > > > (II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000 > > > (II) RADEON(0): Maximum Pixel Clock: 400000 > > > (II) RADEON(0): Reference Clock: 14320 > > > drmOpenDevice: node name is /dev/dri/card0 > > > drmOpenDevice: open result is 10, (OK) > > > drmOpenByBusid: Searching for BusID pci:0000:01:05.0 > > > drmOpenDevice: node name is /dev/dri/card0 > > > drmOpenDevice: open result is 10, (OK) > > > drmOpenByBusid: drmOpenMinor returns 10 > > > drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 > > > (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.31.0 > > > (==) RADEON(0): Page Flipping disabled on r5xx and newer chips. > > > > > > (II) RADEON(0): Will try to use DMA for Xv image transfers > > > (II) RADEON(0): Generation 2 PCI interface, using max accessible memory > > > (II) RADEON(0): Detected total video RAM=131072K, accessible=131072K (PCI BAR=131072K) > > > (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) > > > (II) RADEON(0): Color tiling enabled by default > > > (II) Loading sub module "ddc" > > > (II) LoadModule: "ddc" > > > (II) Module "ddc" already built-in > > > (II) Loading sub module "i2c" > > > (II) LoadModule: "i2c" > > > (II) Module "i2c" already built-in > > > (II) RADEON(0): PLL parameters: rf=1432 rd=12 min=80000 max=120000; xclk=40000 > > > (WW) RADEON(0): LVDS Info: > > > XRes: 1280, YRes: 800, DotClock: 71000 > > > HBlank: 160, HOverPlus: 48, HSyncWidth: 32 > > > VBlank: 23, VOverPlus: 3, VSyncWidth: 6 > > > (II) RADEON(0): Skipping TV-Out > > > (II) RADEON(0): Skipping Component Video > > > (II) RADEON(0): Output VGA-0 using monitor section Monitor0 > > > (II) RADEON(0): I2C bus "VGA-0" initialized. > > > (II) RADEON(0): Output LVDS has no monitor section > > > (II) RADEON(0): I2C bus "LVDS" initialized. > > > (II) RADEON(0): Port0: > > > XRANDR name: VGA-0 > > > Connector: VGA > > > CRT1: INTERNAL_KLDSCP_DAC1 > > > DDC reg: 0x7e50 > > > (II) RADEON(0): Port1: > > > XRANDR name: LVDS > > > Connector: LVDS > > > LCD1: INTERNAL_LVTM1 > > > DDC reg: 0x7e40 > > > (II) RADEON(0): I2C device "VGA-0:ddc2" registered at address 0xA0. > > > Dac detection success > > > (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 > > > finished output detect: 0 > > > (II) RADEON(0): I2C device "LVDS:ddc2" registered at address 0xA0. > > > (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 > > > (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- > > > (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 > > > (II) RADEON(0): Year: 2006 Week: 0 > > > (II) RADEON(0): EDID Version: 1.3 > > > (II) RADEON(0): Digital Display Input > > > (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 > > > (II) RADEON(0): Gamma: 2.20 > > > (II) RADEON(0): No DPMS capabilities specified > > > (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 > > > (II) RADEON(0): First detailed timing is preferred mode > > > (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 > > > (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 > > > (II) RADEON(0): Manufacturer's mask: 0 > > > (II) RADEON(0): Supported detailed timing: > > > (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm > > > (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 > > > (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 > > > (II) RADEON(0): LGPhilipsLCD > > > (II) RADEON(0): LP154WX4-TLA1 > > > (II) RADEON(0): EDID (in hex): > > > (II) RADEON(0): 00ffffffffffff00320c00d600000000 > > > (II) RADEON(0): 00100103802115780ab3409959538d27 > > > (II) RADEON(0): 25505400000001010101010101010101 > > > (II) RADEON(0): 010101010101bc1b00a0502017303020 > > > (II) RADEON(0): 36004bcf100000190000000000000000 > > > (II) RADEON(0): 00000000000000000000000000fe004c > > > (II) RADEON(0): 475068696c6970734c43440a000000fe > > > (II) RADEON(0): 004c503135345758342d544c4131004d > > > finished output detect: 1 > > > finished all detect > > > Dac detection success > > > (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 > > > (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 > > > (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- > > > (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 > > > (II) RADEON(0): Year: 2006 Week: 0 > > > (II) RADEON(0): EDID Version: 1.3 > > > (II) RADEON(0): Digital Display Input > > > (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 > > > (II) RADEON(0): Gamma: 2.20 > > > (II) RADEON(0): No DPMS capabilities specified > > > (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 > > > (II) RADEON(0): First detailed timing is preferred mode > > > (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 > > > (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 > > > (II) RADEON(0): Manufacturer's mask: 0 > > > (II) RADEON(0): Supported detailed timing: > > > (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm > > > (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 > > > (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 > > > (II) RADEON(0): LGPhilipsLCD > > > (II) RADEON(0): LP154WX4-TLA1 > > > (II) RADEON(0): EDID (in hex): > > > (II) RADEON(0): 00ffffffffffff00320c00d600000000 > > > (II) RADEON(0): 00100103802115780ab3409959538d27 > > > (II) RADEON(0): 25505400000001010101010101010101 > > > (II) RADEON(0): 010101010101bc1b00a0502017303020 > > > (II) RADEON(0): 36004bcf100000190000000000000000 > > > (II) RADEON(0): 00000000000000000000000000fe004c > > > (II) RADEON(0): 475068696c6970734c43440a000000fe > > > (II) RADEON(0): 004c503135345758342d544c4131004d > > > (II) RADEON(0): EDID vendor "LPL", prod id 54784 > > > (II) RADEON(0): Output VGA-0 disconnected > > > (II) RADEON(0): Output LVDS connected > > > (II) RADEON(0): Using exact sizes for initial modes > > > (II) RADEON(0): Output LVDS using initial mode 1280x800 > > > (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. > > > (==) RADEON(0): DPI set to (96, 96) > > > (II) Loading sub module "fb" > > > (II) LoadModule: "fb" > > > (II) Loading /usr/local/lib/xorg/modules/libfb.so > > > (II) Module fb: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.0.0 > > > ABI class: X.Org ANSI C Emulation, version 0.4 > > > (II) Loading sub module "ramdac" > > > (II) LoadModule: "ramdac" > > > (II) Module "ramdac" already built-in > > > (**) RADEON(0): Using XAA acceleration architecture > > > (II) Loading sub module "xaa" > > > (II) LoadModule: "xaa" > > > (II) Loading /usr/local/lib/xorg/modules/libxaa.so > > > (II) Module xaa: vendor="X.Org Foundation" > > > compiled for 1.7.7, module version = 1.2.1 > > > ABI class: X.Org Video Driver, version 6.0 > > > (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear > > > (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support > > > (--) Depth 24 pixmap format is 32 bpp > > > (II) RADEON(0): RADEONScreenInit c0000000 0 0 > > > (==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear > > > Output LCD1 disable success > > > Blank CRTC 0 success > > > Disable CRTC 0 success > > > Blank CRTC 1 success > > > Disable CRTC 1 success > > > (II) RADEON(0): Dynamic Power Management Enabled > > > (==) RADEON(0): Using 24 bit depth buffer > > > (II) RADEON(0): RADEONInitMemoryMap() : > > > (II) RADEON(0): mem_size : 0x08000000 > > > (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 > > > (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 > > > (II) RADEON(0): Depth moves disabled by default > > > (II) RADEON(0): Using 32 MB GART aperture > > > (II) RADEON(0): Using 1 MB for the ring buffer > > > (II) RADEON(0): Using 2 MB for vertex/indirect buffers > > > (II) RADEON(0): Using 29 MB for GART textures > > > (II) RADEON(0): Memory manager initialized to (0,0) (1280,8191) > > > (II) RADEON(0): Reserved area from (0,1280) to (1280,1282) > > > (II) RADEON(0): Largest offscreen area available: 1280 x 6909 > > > (II) RADEON(0): Will use front buffer at offset 0x0 > > > (II) RADEON(0): Will use back buffer at offset 0x1978000 > > > (II) RADEON(0): Will use depth buffer at offset 0x1fb8000 > > > (II) RADEON(0): Will use 92160 kb for textures at offset 0x25f8000 > > > drmOpenDevice: node name is /dev/dri/card0 > > > drmOpenDevice: open result is 10, (OK) > > > drmOpenDevice: node name is /dev/dri/card0 > > > drmOpenDevice: open result is 10, (OK) > > > drmOpenByBusid: Searching for BusID pci:0000:01:05.0 > > > drmOpenDevice: node name is /dev/dri/card0 > > > drmOpenDevice: open result is 10, (OK) > > > drmOpenByBusid: drmOpenMinor returns 10 > > > drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 > > > (II) [drm] DRM interface version 1.2 > > > (II) [drm] DRM open master succeeded. > > > (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables. > > > (II) RADEON(0): [drm] framebuffer handle = 0x40000000000 > > > (II) RADEON(0): [drm] added 1 reserved context for kernel > > > (II) RADEON(0): X context handle = 0x1 > > > (II) RADEON(0): [drm] installed DRM signal handler > > > (II) RADEON(0): [pci] 32768 kB allocated with handle 0xcff65000 > > > (II) RADEON(0): [pci] ring handle = 0x00000000 > > > (II) RADEON(0): [pci] Ring mapped at 0x804c1f000 > > > (II) RADEON(0): [pci] Ring contents 0x00000000 > > > (II) RADEON(0): [pci] ring read ptr handle = 0x00000000 > > > (II) RADEON(0): [pci] Ring read ptr mapped at 0x80090e000 > > > (II) RADEON(0): [pci] Ring read ptr contents 0x00000000 > > > (II) RADEON(0): [pci] vertex/indirect buffers handle = 0x00000000 > > > (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x80ce00000 > > > (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000 > > > (II) RADEON(0): [pci] GART texture map handle = 0x00000000 > > > (II) RADEON(0): [pci] GART Texture map mapped at 0x80d094000 > > > (II) RADEON(0): [drm] register handle = 0x00000000 > > > (II) RADEON(0): [dri] Visual configs initialized > > > (II) RADEON(0): RADEONRestoreMemMapRegisters() : > > > (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 > > > (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 > > > (==) RADEON(0): Backing store disabled > > > (II) RADEON(0): [DRI] installation complete > > > (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers > > > (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers > > > (II) RADEON(0): [drm] dma control initialized, using IRQ 256 > > > (II) RADEON(0): [drm] Initialized kernel GART heap manager, 29884416 > > > (WW) RADEON(0): DRI init changed memory map, adjusting ... > > > (WW) RADEON(0): MC_FB_LOCATION was: 0xbfffb800 is: 0xbfffb800 > > > (WW) RADEON(0): MC_AGP_LOCATION was: 0x003f0000 is: 0xc1ffc000 > > > (II) RADEON(0): RADEONRestoreMemMapRegisters() : > > > (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 > > > (II) RADEON(0): MC_AGP_LOCATION : 0xc1ffc000 > > > (II) RADEON(0): Direct rendering enabled > > > (II) RADEON(0): Render acceleration disabled > > > (II) RADEON(0): num quad-pipes is 1 > > > (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA) > > > Screen to screen bit blits > > > Solid filled rectangles > > > 8x8 mono pattern filled rectangles > > > Indirect CPU to Screen color expansion > > > Solid Lines > > > Scanline Image Writes > > > Setting up tile and stipple cache: > > > 32 128x128 slots > > > 32 256x256 slots > > > 16 512x512 slots > > > (II) RADEON(0): Acceleration enabled > > > (==) RADEON(0): DPMS enabled > > > (==) RADEON(0): Silken mouse enabled > > > (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00643000 > > > (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00648000 > > > (II) RADEON(0): Largest offscreen area available: 1280 x 6901 > > > (II) RADEON(0): Set up textured video > > > (II) RADEON(0): [XvMC] Associated with Radeon Textured Video. > > > (II) RADEON(0): [XvMC] Extension initialized. > > > Output CRT1 disable success > > > Output LCD1 disable success > > > Blank CRTC 0 success > > > Disable CRTC 0 success > > > Blank CRTC 1 success > > > Disable CRTC 1 success > > > > > > > > > I tried running Xorg -config /root/xorg.conf.new > > > > > > I get black screen, from which I can't recover. > > > CTRL+ALT+F<...> does nothing, > > > CTRL+ALT+BACKSPACE does nothing. > > > > > > And I can't kill Xorg: > > > > > > # ps ax |grep Xorg > > > 1056 0 RE+ 5:54.16 Xorg -config /root/xorg.conf.new -retro > > > 1112 1 RL+ 0:00.02 grep Xorg > > > # kill -9 1056 > > > # ps ax |grep Xorg > > > 1056 0 RE+ 6:01.24 Xorg -config /root/xorg.conf.new -retro > > > 1114 1 S+ 0:00.02 grep Xorg > > > # > > > > > > The only way I can recover is reboot. > > > > > > Please advise. > > > > > > > > > > > > -- > > > Anton Shterenlikht > > > Room 2.6, Queen's Building > > > Mech Eng Dept > > > Bristol University > > > University Walk, Bristol BS8 1TR, UK > > > Tel: +44 (0)117 331 5944 > > > Fax: +44 (0)117 929 4423 > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From subhro at 80386.org Tue Jun 12 09:55:16 2012 From: subhro at 80386.org (Subhro Sankha Kar) Date: Tue Jun 12 09:55:25 2012 Subject: can't kill -9 Xorg In-Reply-To: <20120612082456.GA25893@mech-cluster241.men.bris.ac.uk> References: <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> <20120612081306.GA25637@mech-cluster241.men.bris.ac.uk> <20120612082456.GA25893@mech-cluster241.men.bris.ac.uk> Message-ID: On 12-Jun-2012, at 1:54 PM, Anton Shterenlikht wrote: > On Tue, Jun 12, 2012 at 09:13:06AM +0100, Anton Shterenlikht wrote: >> On Tue, Jun 12, 2012 at 12:07:06AM +0530, Subhro Sankha Kar wrote: >>> Hello >>> >>> What happens if you run without a xorg.conf? Xorg has become pretty good at guessing correct settings these days. >>> >> >> No change. >> I removed /etc/X11/xorg.conf completely. > > Anyway, I can understand my X setup is fucked, no problem. Okay. That is kind of odd. But I am assuming you figured out what the precise problem is. > > What worries me more is the the fact that a process ignores > kill -9. Doesn't it indicate a problem with the OS? > I think potentially this is a security vulnerability. No not really. There are instances when a process can ignore SIGKILL or kill -9 as colloquially stated. For example, when a process in in the state of an "uninterruptible sleep", marked as D in the top output, it will ignore all signals. Similarly for processes which are zombies, showing up as Z in the top output, will ignore the SIGKILL as well. Ideally, if you think you are hitting on a case where the process is not an uninterruptible state and still refuses to listen to SIGKILL, you should attach a strace or dtrace session to the process and see what is going on. Thanks Subhro -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 > >> >> # X >> >> X.Org X Server 1.7.7 >> Release Date: 2010-05-04 >> X Protocol Version 11, Revision 0 >> Build Operating System: FreeBSD 10.0-CURRENT amd64 >> Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun 9 22:35:49 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 >> Build Date: 11 June 2012 12:11:20PM >> >> Current version of pixman: 0.24.2 >> Before reporting problems, check http://wiki.x.org >> to make sure that you have the latest version. >> Markers: (--) probed, (**) from config file, (==) default setting, >> (++) from command line, (!!) notice, (II) informational, >> (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >> (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 12 09:10:17 2012 >> (==) Using default built-in configuration (30 lines) >> (EE) Failed to load module "vesa" (module does not exist, 0) >> (EE) Failed to load module "fbdev" (module does not exist, 0) >> XRANDR name: VGA-0 >> Connector: VGA >> CRT1: INTERNAL_KLDSCP_DAC1 >> DDC reg: 0x7e50 >> XRANDR name: LVDS >> Connector: LVDS >> LCD1: INTERNAL_LVTM1 >> DDC reg: 0x7e40 >> Dac detection success >> finished output detect: 0 >> finished output detect: 1 >> finished all detect >> Dac detection success >> Output LCD1 disable success >> Blank CRTC 0 success >> Disable CRTC 0 success >> Blank CRTC 1 success >> Disable CRTC 1 success >> Output CRT1 disable success >> Output LCD1 disable success >> Blank CRTC 0 success >> Disable CRTC 0 success >> Blank CRTC 1 success >> Disable CRTC 1 success >> ^C^C^C >> >> Can kill it with neither CTRL/C >> nor kill -9: >> >> # ps ax|grep X >> 1060 0 R+ 0:38.95 X (Xorg) >> 1073 1 R+ 0:00.01 grep X >> # kill -9 1060 >> # ps ax|grep X >> 1060 0 RE+ 0:45.71 X (Xorg) >> 1089 1 R+ 0:00.00 grep X >> # >> >> >> Anton >> >> >>> Thanks >>> -- >>> Subhro Sankha Kar >>> System Administrator >>> Working and Playing with FreeBSD since 2002 >>> >>> On 11-Jun-2012, at 5:01 PM, Anton Shterenlikht wrote: >>> >>>> My X is unusable since the recent png update. >>>> >>>> This is r236740M on HP Compaq 6715s amd64 laptop. >>>> >>>> I've no hal installed (if this matters). >>>> >>>> # pkg info -x xorg >>>> linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) >>>> xorg-cf-files-1.0.4 X.org cf files for use with imake builds >>>> xorg-fonts-7.5.1 X.org fonts meta-port >>>> xorg-fonts-100dpi-7.5.1 X.Org 100dpi bitmap fonts >>>> xorg-fonts-75dpi-7.5.1 X.Org 75dpi bitmap fonts >>>> xorg-fonts-cyrillic-7.5.1 X.Org Cyrillic bitmap fonts >>>> xorg-fonts-miscbitmaps-7.5.1 X.Org miscellaneous bitmap fonts >>>> xorg-fonts-truetype-7.5.1 X.Org TrueType fonts >>>> xorg-fonts-type1-7.5.1 X.Org Type1 fonts >>>> xorg-libraries-7.5.1 X.org libraries meta-port >>>> xorg-macros-1.16.1 X.Org development aclocal macros >>>> xorg-server-1.7.7_5,1 X.Org X server and related programs >>>> # >>>> >>>> # pkg info -x xf86 >>>> libXxf86dga-1.1.2 X DGA Extension >>>> libXxf86misc-1.0.3 X XF86-Misc Extension >>>> libXxf86vm-1.1.1 X Vidmode Extension >>>> xf86-input-keyboard-1.6.1 X.Org keyboard input driver >>>> xf86-input-mouse-1.7.1 X.Org mouse input driver >>>> xf86-video-ati-6.14.3_1 X.Org ati display driver >>>> xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers >>>> xf86dgaproto-2.1 XFree86-DGA extension headers >>>> xf86driproto-2.1.1 XFree86-DRI extension headers >>>> xf86miscproto-0.9.3 XFree86-Misc extension headers >>>> xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers >>>> # >>>> >>>> My xorg.conf.new: >>>> >>>> >>>> Section "ServerLayout" >>>> Identifier "X.org Configured" >>>> Screen 0 "Screen0" 0 0 >>>> InputDevice "Mouse0" "CorePointer" >>>> InputDevice "Keyboard0" "CoreKeyboard" >>>> Option "AllowEmptyInput" "Off" >>>> EndSection >>>> >>>> Section "Files" >>>> ModulePath "/usr/local/lib/xorg/modules" >>>> FontPath "/usr/local/lib/X11/fonts/misc/" >>>> FontPath "/usr/local/lib/X11/fonts/TTF/" >>>> FontPath "/usr/local/lib/X11/fonts/OTF" >>>> FontPath "/usr/local/lib/X11/fonts/Type1/" >>>> FontPath "/usr/local/lib/X11/fonts/100dpi/" >>>> FontPath "/usr/local/lib/X11/fonts/75dpi/" >>>> EndSection >>>> >>>> Section "Module" >>>> Load "extmod" >>>> Load "record" >>>> Load "dbe" >>>> Load "glx" >>>> Load "dri" >>>> Load "dri2" >>>> EndSection >>>> >>>> Section "InputDevice" >>>> Identifier "Keyboard0" >>>> Driver "kbd" >>>> EndSection >>>> >>>> Section "InputDevice" >>>> Identifier "Mouse0" >>>> Driver "mouse" >>>> Option "Protocol" "auto" >>>> Option "Device" "/dev/sysmouse" >>>> Option "ZAxisMapping" "4 5 6 7" >>>> EndSection >>>> >>>> Section "Monitor" >>>> #DisplaySize 330 210 # mm >>>> Identifier "Monitor0" >>>> VendorName "LPL" >>>> ModelName "d600" >>>> EndSection >>>> >>>> Section "Device" >>>> Identifier "Card0" >>>> Driver "radeon" >>>> VendorName "Advanced Micro Devices [AMD] nee ATI" >>>> BoardName "RS690M [Radeon X1200 Series]" >>>> BusID "PCI:1:5:0" >>>> Option "int10" "on" >>>> Option "BusType" "PCIE" >>>> Option "RenderAccel" "on" >>>> Option "AccelMethod" "xaa" >>>> Option "DynamicPM" "on" >>>> Option "DRI" "on" >>>> EndSection >>>> >>>> Section "Screen" >>>> Identifier "Screen0" >>>> Device "Card0" >>>> Monitor "Monitor0" >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 1 >>>> EndSubSection >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 4 >>>> EndSubSection >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 8 >>>> EndSubSection >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 15 >>>> EndSubSection >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 16 >>>> EndSubSection >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 24 >>>> EndSubSection >>>> EndSection >>>> >>>> >>>> The Xorg.0.log: >>>> >>>> >>>> >>>> X.Org X Server 1.7.7 >>>> Release Date: 2010-05-04 >>>> X Protocol Version 11, Revision 0 >>>> Build Operating System: FreeBSD 10.0-CURRENT amd64 >>>> Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun 9 22:35:49 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 >>>> Build Date: 11 June 2012 12:11:20PM >>>> >>>> Current version of pixman: 0.24.2 >>>> Before reporting problems, check http://wiki.x.org >>>> to make sure that you have the latest version. >>>> Markers: (--) probed, (**) from config file, (==) default setting, >>>> (++) from command line, (!!) notice, (II) informational, >>>> (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >>>> (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 11 12:24:08 2012 >>>> (++) Using config file: "/root/xorg.conf.new" >>>> (==) ServerLayout "X.org Configured" >>>> (**) |-->Screen "Screen0" (0) >>>> (**) | |-->Monitor "Monitor0" >>>> (**) | |-->Device "Card0" >>>> (**) |-->Input Device "Mouse0" >>>> (**) |-->Input Device "Keyboard0" >>>> (**) Option "AllowEmptyInput" "Off" >>>> (==) Not automatically adding devices >>>> (==) Not automatically enabling devices >>>> (**) FontPath set to: >>>> /usr/local/lib/X11/fonts/misc/, >>>> /usr/local/lib/X11/fonts/TTF/, >>>> /usr/local/lib/X11/fonts/OTF, >>>> /usr/local/lib/X11/fonts/Type1/, >>>> /usr/local/lib/X11/fonts/100dpi/, >>>> /usr/local/lib/X11/fonts/75dpi/, >>>> /usr/local/lib/X11/fonts/misc/, >>>> /usr/local/lib/X11/fonts/TTF/, >>>> /usr/local/lib/X11/fonts/OTF, >>>> /usr/local/lib/X11/fonts/Type1/, >>>> /usr/local/lib/X11/fonts/100dpi/, >>>> /usr/local/lib/X11/fonts/75dpi/ >>>> (**) ModulePath set to "/usr/local/lib/xorg/modules" >>>> (II) Loader magic: 0x7bd3c0 >>>> (II) Module ABI versions: >>>> X.Org ANSI C Emulation: 0.4 >>>> X.Org Video Driver: 6.0 >>>> X.Org XInput driver : 7.0 >>>> X.Org Server Extension : 2.0 >>>> (--) Using syscons driver with X support (version 2.0) >>>> (--) using VT number 9 >>>> >>>> (--) PCI:*(0:1:5:0) 1002:791f:103c:30c2 Advanced Micro Devices [AMD] nee ATI RS690M [Radeon X1200 Series] rev 0, Mem @ 0xc0000000/134217728, 0xd0200000/65536, 0xd0300000/1048576, I/O @ 0x00004000/256, BIOS @ 0x????????/65536 >>>> (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) "glx" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) "record" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) "dri" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) "dri2" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) LoadModule: "extmod" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so >>>> (II) Module extmod: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> Module class: X.Org Server Extension >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (II) Loading extension MIT-SCREEN-SAVER >>>> (II) Loading extension XFree86-VidModeExtension >>>> (II) Loading extension XFree86-DGA >>>> (II) Loading extension DPMS >>>> (II) Loading extension XVideo >>>> (II) Loading extension XVideo-MotionCompensation >>>> (II) Loading extension X-Resource >>>> (II) LoadModule: "record" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so >>>> (II) Module record: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.13.0 >>>> Module class: X.Org Server Extension >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (II) Loading extension RECORD >>>> (II) LoadModule: "dbe" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so >>>> (II) Module dbe: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> Module class: X.Org Server Extension >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (II) Loading extension DOUBLE-BUFFER >>>> (II) LoadModule: "glx" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so >>>> (II) Module glx: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (==) AIGLX disabled >>>> (II) Loading extension GLX >>>> (II) LoadModule: "dri" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so >>>> (II) Module dri: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (II) Loading extension XFree86-DRI >>>> (II) LoadModule: "dri2" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so >>>> (II) Module dri2: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.1.0 >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (II) Loading extension DRI2 >>>> (II) LoadModule: "radeon" >>>> (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so >>>> (II) Module radeon: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 6.14.3 >>>> Module class: X.Org Video Driver >>>> ABI class: X.Org Video Driver, version 6.0 >>>> (II) LoadModule: "mouse" >>>> (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so >>>> (II) Module mouse: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.7.1 >>>> Module class: X.Org XInput Driver >>>> ABI class: X.Org XInput driver, version 7.0 >>>> (II) LoadModule: "kbd" >>>> (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so >>>> (II) Module kbd: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.6.1 >>>> Module class: X.Org XInput Driver >>>> ABI class: X.Org XInput driver, version 7.0 >>>> (II) RADEON: Driver for ATI Radeon chipsets: >>>> ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI), >>>> ATI Radeon Mobility X300 (M24) 3152 (PCIE), >>>> ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI), >>>> ATI Radeon X600 (RV380) 3E50 (PCIE), >>>> ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136, >>>> ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP), >>>> ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP), >>>> ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP), >>>> ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP), >>>> ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP), >>>> ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP), >>>> ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650, >>>> ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237, >>>> ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336, >>>> ATI Radeon IGP330M/340M/350M (U2) 4337, >>>> ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI), >>>> ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP), >>>> ATI Radeon X800PRO (R420) JI (AGP), >>>> ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP), >>>> ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP), >>>> ATI Radeon Mobility 9800 (M18) JN (AGP), >>>> ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP), >>>> ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP), >>>> ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP), >>>> ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP), >>>> ATI Radeon Mobility M7 LW (AGP), >>>> ATI Mobility FireGL 7800 M7 LX (AGP), >>>> ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP), >>>> ATI FireGL Mobility 9000 (M9) Ld (AGP), >>>> ATI Radeon Mobility 9000 (M9) Lf (AGP), >>>> ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI Radeon 9700 Pro ND (AGP), >>>> ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9600TX NF (AGP), >>>> ATI FireGL X1 NG (AGP), ATI Radeon 9800PRO NH (AGP), >>>> ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP), >>>> ATI Radeon 9800XT NJ (AGP), >>>> ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP), >>>> ATI Radeon Mobility 9600 (M10) NQ (AGP), >>>> ATI Radeon Mobility 9600 (M11) NR (AGP), >>>> ATI Radeon Mobility 9600 (M10) NS (AGP), >>>> ATI FireGL Mobility T2 (M10) NT (AGP), >>>> ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP), >>>> ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP), >>>> ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP), >>>> ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI), >>>> ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI), >>>> ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI), >>>> ATI Radeon Mobility X300 (M22) 5460 (PCIE), >>>> ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE), >>>> ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE), >>>> ATI Radeon X800PRO (R423) UI (PCIE), >>>> ATI Radeon X800LE (R423) UJ (PCIE), >>>> ATI Radeon X800SE (R423) UK (PCIE), >>>> ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE), >>>> ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE), >>>> ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE), >>>> ATI FireGL unknown (R423) UR (PCIE), >>>> ATI FireGL unknown (R423) UT (PCIE), >>>> ATI Mobility FireGL V5000 (M26) (PCIE), >>>> ATI Mobility FireGL V5000 (M26) (PCIE), >>>> ATI Mobility Radeon X700 XL (M26) (PCIE), >>>> ATI Mobility Radeon X700 (M26) (PCIE), >>>> ATI Mobility Radeon X700 (M26) (PCIE), >>>> ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834, >>>> ATI Radeon Mobility 9100 IGP (U3) 5835, >>>> ATI Radeon XPRESS 200 5954 (PCIE), >>>> ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP), >>>> ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP), >>>> ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI), >>>> ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE), >>>> ATI Radeon XPRESS 200M 5975 (PCIE), >>>> ATI Radeon XPRESS 200 5A41 (PCIE), >>>> ATI Radeon XPRESS 200M 5A42 (PCIE), >>>> ATI Radeon XPRESS 200 5A61 (PCIE), >>>> ATI Radeon XPRESS 200M 5A62 (PCIE), >>>> ATI Radeon X300 (RV370) 5B60 (PCIE), >>>> ATI Radeon X600 (RV370) 5B62 (PCIE), >>>> ATI Radeon X550 (RV370) 5B63 (PCIE), >>>> ATI FireGL V3100 (RV370) 5B64 (PCIE), >>>> ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE), >>>> ATI Radeon Mobility 9200 (M9+) 5C61 (AGP), >>>> ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), >>>> ATI Mobility Radeon X800 XT (M28) (PCIE), >>>> ATI Mobility FireGL V5100 (M28) (PCIE), >>>> ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE), >>>> ATI Radeon X850 XT PE (R480) (PCIE), >>>> ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE), >>>> ATI unknown Radeon / FireGL (R480) 5D50 (PCIE), >>>> ATI Radeon X850 XT (R480) (PCIE), >>>> ATI Radeon X800XT (R423) 5D57 (PCIE), >>>> ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE), >>>> ATI Radeon X700 PRO (RV410) (PCIE), >>>> ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE), >>>> ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800, >>>> ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800, >>>> ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300, >>>> ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800, >>>> ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, >>>> ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505, >>>> ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL, >>>> ATI Mobility Radeon X1400, ATI Radeon X1300/X1550, >>>> ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300, >>>> ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, >>>> ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300, >>>> ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350, >>>> ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550, >>>> ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450, >>>> ATI Radeon X1300/X1550, ATI Mobility Radeon X2300, >>>> ATI Mobility Radeon X2300, ATI Mobility Radeon X1350, >>>> ATI Mobility Radeon X1350, ATI Mobility Radeon X1450, >>>> ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350, >>>> ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600, >>>> ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600, >>>> ATI Mobility FireGL V5200, ATI Mobility Radeon X1600, >>>> ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600, >>>> ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400, >>>> ATI Mobility FireGL V5250, ATI Mobility Radeon X1700, >>>> ATI Mobility Radeon X1700 XT, ATI FireGL V5200, >>>> ATI Mobility Radeon X1700, ATI Radeon X2300HD, >>>> ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300, >>>> ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950, >>>> ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, >>>> ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, >>>> ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, >>>> ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950, >>>> ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560, >>>> ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400, >>>> ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560, >>>> ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835, >>>> ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, >>>> ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740, >>>> ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT, >>>> ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT, >>>> ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600, >>>> ATI Radeon 4800 Series, ATI Radeon HD 4870 x2, >>>> ATI Radeon 4800 Series, ATI Radeon HD 4850 x2, >>>> ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL), >>>> ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2, >>>> ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270, >>>> AMD FireStream 9250, ATI FirePro V8700 (FireGL), >>>> ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98, >>>> ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series, >>>> ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98, >>>> ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP), >>>> ATI Mobility Radeon HD 4670, ATI FirePro M5750, >>>> ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP), >>>> ATI RV730XT [Radeon HD 4670], ATI RADEON E4600, >>>> ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650], >>>> ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL), >>>> ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830, >>>> ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740, >>>> ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770, >>>> ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT, >>>> ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, >>>> ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT, >>>> ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610, >>>> ATI FireMV 2260, ATI RV670, ATI Radeon HD3870, >>>> ATI Mobility Radeon HD 3850, ATI Radeon HD3850, >>>> ATI Mobility Radeon HD 3850 X2, ATI RV670, >>>> ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2, >>>> ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850, >>>> ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550, >>>> ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710, >>>> ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series, >>>> ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series, >>>> ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630, >>>> ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT, >>>> ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP, >>>> ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630, >>>> ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600, >>>> ATI FireGL V3600, ATI Radeon HD 2600 LE, >>>> ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470, >>>> ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series, >>>> ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430, >>>> ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450, >>>> ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series, >>>> ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO, >>>> ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO, >>>> ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670, >>>> ATI Mobility FireGL V5700, ATI Mobility FireGL V5725, >>>> ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, >>>> ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, >>>> ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics, >>>> ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2, >>>> SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200, ATI Radeon 4100, >>>> ATI Mobility Radeon HD 4200, ATI Mobility Radeon 4100, >>>> ATI Radeon HD 4290, ATI Radeon HD 4250, AMD Radeon HD 6310 Graphics, >>>> AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics, >>>> AMD Radeon HD 6250 Graphics, AMD Radeon HD 6300 Series Graphics, >>>> AMD Radeon HD 6200 Series Graphics, CYPRESS, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370, >>>> AMD Firestream 9350, ATI Radeon HD 5800 Series, >>>> ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, >>>> ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series, >>>> ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series, >>>> ATI Mobility Radeon HD 5800 Series, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series, >>>> ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, >>>> ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, >>>> ATI Mobility Radeon HD 5000 Series, >>>> ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670, >>>> ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD, >>>> ATI Mobility Radeon HD 5000 Series, >>>> ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics, >>>> ATI Mobility Radeon Graphics, CEDAR, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR, >>>> ATI Radeon HD 5450, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, >>>> CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, AMD Radeon HD 6900 Series, >>>> AMD Radeon HD 6900 Series, CAYMAN, CAYMAN, CAYMAN, >>>> AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS, >>>> BARTS, Mobility Radeon HD 6000 Series, >>>> Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS, >>>> AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series, >>>> AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, >>>> TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, CAICOS, >>>> CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, >>>> CAICOS, CAICOS, CAICOS >>>> (II) Primary Device is: PCI 01@00:05:0 >>>> (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support >>>> (II) RADEON(0): TOTO SAYS 00000000d0200000 >>>> (II) RADEON(0): MMIO registers at 0x00000000d0200000: size 64KB >>>> (II) RADEON(0): PCI bus 1 card 5 func 0 >>>> (==) RADEON(0): Depth 24, (--) framebuffer bpp 32 >>>> (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) >>>> (==) RADEON(0): Default visual is TrueColor >>>> (**) RADEON(0): Option "BusType" "PCIE" >>>> (**) RADEON(0): Option "RenderAccel" "on" >>>> (**) RADEON(0): Option "AccelMethod" "xaa" >>>> (**) RADEON(0): Option "DRI" "on" >>>> (**) RADEON(0): Option "Int10" "on" >>>> (**) RADEON(0): Option "DynamicPM" "on" >>>> (II) Loading sub module "vgahw" >>>> (II) LoadModule: "vgahw" >>>> (II) Loading /usr/local/lib/xorg/modules/libvgahw.so >>>> (II) Module vgahw: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 0.1.0 >>>> ABI class: X.Org Video Driver, version 6.0 >>>> (II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 >>>> (==) RADEON(0): RGB weight 888 >>>> (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) >>>> (--) RADEON(0): Chipset: "ATI Radeon X1200" (ChipID = 0x791f) >>>> (--) RADEON(0): Linear framebuffer at 0x00000000c0000000 >>>> (II) RADEON(0): PCI card detected >>>> (**) RADEON(0): Forced into PCI mode >>>> (II) Loading sub module "int10" >>>> (II) LoadModule: "int10" >>>> (II) Loading /usr/local/lib/xorg/modules/libint10.so >>>> (II) Module int10: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> ABI class: X.Org Video Driver, version 6.0 >>>> (II) RADEON(0): initializing int10 >>>> (**) RADEON(0): Option "int10" "on" >>>> (==) RADEON(0): Write-combining range (0xa0000,0x20000) was already clear >>>> (==) RADEON(0): Write-combining range (0xc0000,0x40000) was already clear >>>> (II) RADEON(0): Primary V_BIOS segment is: 0xc000 >>>> (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear >>>> (II) RADEON(0): ATOM BIOS detected >>>> (II) RADEON(0): ATOM BIOS Rom: >>>> SubsystemVendorID: 0x1002 SubsystemID: 0x791f >>>> IOBaseAddress: 0x4000 >>>> Filename: br23883.bin >>>> BIOS Bootup Message: >>>> ATI Radeon Xpress ?1250? for HP_TT >>>> >>>> (II) RADEON(0): Framebuffer space used by Firmware (kb): 20 >>>> (II) RADEON(0): Start of VRAM area used by Firmware: 0x7ffb000 >>>> (II) RADEON(0): AtomBIOS requests 20kB of VRAM scratch space >>>> (II) RADEON(0): AtomBIOS VRAM scratch base: 0x7ffb000 >>>> (II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory instead >>>> (II) RADEON(0): Default Engine Clock: 400000 >>>> (II) RADEON(0): Default Memory Clock: 200000 >>>> (II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 1200000 >>>> (II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0 >>>> (II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500 >>>> (II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000 >>>> (II) RADEON(0): Maximum Pixel Clock: 400000 >>>> (II) RADEON(0): Reference Clock: 14320 >>>> drmOpenDevice: node name is /dev/dri/card0 >>>> drmOpenDevice: open result is 10, (OK) >>>> drmOpenByBusid: Searching for BusID pci:0000:01:05.0 >>>> drmOpenDevice: node name is /dev/dri/card0 >>>> drmOpenDevice: open result is 10, (OK) >>>> drmOpenByBusid: drmOpenMinor returns 10 >>>> drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 >>>> (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.31.0 >>>> (==) RADEON(0): Page Flipping disabled on r5xx and newer chips. >>>> >>>> (II) RADEON(0): Will try to use DMA for Xv image transfers >>>> (II) RADEON(0): Generation 2 PCI interface, using max accessible memory >>>> (II) RADEON(0): Detected total video RAM=131072K, accessible=131072K (PCI BAR=131072K) >>>> (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) >>>> (II) RADEON(0): Color tiling enabled by default >>>> (II) Loading sub module "ddc" >>>> (II) LoadModule: "ddc" >>>> (II) Module "ddc" already built-in >>>> (II) Loading sub module "i2c" >>>> (II) LoadModule: "i2c" >>>> (II) Module "i2c" already built-in >>>> (II) RADEON(0): PLL parameters: rf=1432 rd=12 min=80000 max=120000; xclk=40000 >>>> (WW) RADEON(0): LVDS Info: >>>> XRes: 1280, YRes: 800, DotClock: 71000 >>>> HBlank: 160, HOverPlus: 48, HSyncWidth: 32 >>>> VBlank: 23, VOverPlus: 3, VSyncWidth: 6 >>>> (II) RADEON(0): Skipping TV-Out >>>> (II) RADEON(0): Skipping Component Video >>>> (II) RADEON(0): Output VGA-0 using monitor section Monitor0 >>>> (II) RADEON(0): I2C bus "VGA-0" initialized. >>>> (II) RADEON(0): Output LVDS has no monitor section >>>> (II) RADEON(0): I2C bus "LVDS" initialized. >>>> (II) RADEON(0): Port0: >>>> XRANDR name: VGA-0 >>>> Connector: VGA >>>> CRT1: INTERNAL_KLDSCP_DAC1 >>>> DDC reg: 0x7e50 >>>> (II) RADEON(0): Port1: >>>> XRANDR name: LVDS >>>> Connector: LVDS >>>> LCD1: INTERNAL_LVTM1 >>>> DDC reg: 0x7e40 >>>> (II) RADEON(0): I2C device "VGA-0:ddc2" registered at address 0xA0. >>>> Dac detection success >>>> (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 >>>> finished output detect: 0 >>>> (II) RADEON(0): I2C device "LVDS:ddc2" registered at address 0xA0. >>>> (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 >>>> (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- >>>> (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 >>>> (II) RADEON(0): Year: 2006 Week: 0 >>>> (II) RADEON(0): EDID Version: 1.3 >>>> (II) RADEON(0): Digital Display Input >>>> (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 >>>> (II) RADEON(0): Gamma: 2.20 >>>> (II) RADEON(0): No DPMS capabilities specified >>>> (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 >>>> (II) RADEON(0): First detailed timing is preferred mode >>>> (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 >>>> (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 >>>> (II) RADEON(0): Manufacturer's mask: 0 >>>> (II) RADEON(0): Supported detailed timing: >>>> (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm >>>> (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 >>>> (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 >>>> (II) RADEON(0): LGPhilipsLCD >>>> (II) RADEON(0): LP154WX4-TLA1 >>>> (II) RADEON(0): EDID (in hex): >>>> (II) RADEON(0): 00ffffffffffff00320c00d600000000 >>>> (II) RADEON(0): 00100103802115780ab3409959538d27 >>>> (II) RADEON(0): 25505400000001010101010101010101 >>>> (II) RADEON(0): 010101010101bc1b00a0502017303020 >>>> (II) RADEON(0): 36004bcf100000190000000000000000 >>>> (II) RADEON(0): 00000000000000000000000000fe004c >>>> (II) RADEON(0): 475068696c6970734c43440a000000fe >>>> (II) RADEON(0): 004c503135345758342d544c4131004d >>>> finished output detect: 1 >>>> finished all detect >>>> Dac detection success >>>> (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 >>>> (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 >>>> (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- >>>> (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 >>>> (II) RADEON(0): Year: 2006 Week: 0 >>>> (II) RADEON(0): EDID Version: 1.3 >>>> (II) RADEON(0): Digital Display Input >>>> (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 >>>> (II) RADEON(0): Gamma: 2.20 >>>> (II) RADEON(0): No DPMS capabilities specified >>>> (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 >>>> (II) RADEON(0): First detailed timing is preferred mode >>>> (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 >>>> (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 >>>> (II) RADEON(0): Manufacturer's mask: 0 >>>> (II) RADEON(0): Supported detailed timing: >>>> (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm >>>> (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 >>>> (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 >>>> (II) RADEON(0): LGPhilipsLCD >>>> (II) RADEON(0): LP154WX4-TLA1 >>>> (II) RADEON(0): EDID (in hex): >>>> (II) RADEON(0): 00ffffffffffff00320c00d600000000 >>>> (II) RADEON(0): 00100103802115780ab3409959538d27 >>>> (II) RADEON(0): 25505400000001010101010101010101 >>>> (II) RADEON(0): 010101010101bc1b00a0502017303020 >>>> (II) RADEON(0): 36004bcf100000190000000000000000 >>>> (II) RADEON(0): 00000000000000000000000000fe004c >>>> (II) RADEON(0): 475068696c6970734c43440a000000fe >>>> (II) RADEON(0): 004c503135345758342d544c4131004d >>>> (II) RADEON(0): EDID vendor "LPL", prod id 54784 >>>> (II) RADEON(0): Output VGA-0 disconnected >>>> (II) RADEON(0): Output LVDS connected >>>> (II) RADEON(0): Using exact sizes for initial modes >>>> (II) RADEON(0): Output LVDS using initial mode 1280x800 >>>> (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. >>>> (==) RADEON(0): DPI set to (96, 96) >>>> (II) Loading sub module "fb" >>>> (II) LoadModule: "fb" >>>> (II) Loading /usr/local/lib/xorg/modules/libfb.so >>>> (II) Module fb: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> ABI class: X.Org ANSI C Emulation, version 0.4 >>>> (II) Loading sub module "ramdac" >>>> (II) LoadModule: "ramdac" >>>> (II) Module "ramdac" already built-in >>>> (**) RADEON(0): Using XAA acceleration architecture >>>> (II) Loading sub module "xaa" >>>> (II) LoadModule: "xaa" >>>> (II) Loading /usr/local/lib/xorg/modules/libxaa.so >>>> (II) Module xaa: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.2.1 >>>> ABI class: X.Org Video Driver, version 6.0 >>>> (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear >>>> (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support >>>> (--) Depth 24 pixmap format is 32 bpp >>>> (II) RADEON(0): RADEONScreenInit c0000000 0 0 >>>> (==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear >>>> Output LCD1 disable success >>>> Blank CRTC 0 success >>>> Disable CRTC 0 success >>>> Blank CRTC 1 success >>>> Disable CRTC 1 success >>>> (II) RADEON(0): Dynamic Power Management Enabled >>>> (==) RADEON(0): Using 24 bit depth buffer >>>> (II) RADEON(0): RADEONInitMemoryMap() : >>>> (II) RADEON(0): mem_size : 0x08000000 >>>> (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 >>>> (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 >>>> (II) RADEON(0): Depth moves disabled by default >>>> (II) RADEON(0): Using 32 MB GART aperture >>>> (II) RADEON(0): Using 1 MB for the ring buffer >>>> (II) RADEON(0): Using 2 MB for vertex/indirect buffers >>>> (II) RADEON(0): Using 29 MB for GART textures >>>> (II) RADEON(0): Memory manager initialized to (0,0) (1280,8191) >>>> (II) RADEON(0): Reserved area from (0,1280) to (1280,1282) >>>> (II) RADEON(0): Largest offscreen area available: 1280 x 6909 >>>> (II) RADEON(0): Will use front buffer at offset 0x0 >>>> (II) RADEON(0): Will use back buffer at offset 0x1978000 >>>> (II) RADEON(0): Will use depth buffer at offset 0x1fb8000 >>>> (II) RADEON(0): Will use 92160 kb for textures at offset 0x25f8000 >>>> drmOpenDevice: node name is /dev/dri/card0 >>>> drmOpenDevice: open result is 10, (OK) >>>> drmOpenDevice: node name is /dev/dri/card0 >>>> drmOpenDevice: open result is 10, (OK) >>>> drmOpenByBusid: Searching for BusID pci:0000:01:05.0 >>>> drmOpenDevice: node name is /dev/dri/card0 >>>> drmOpenDevice: open result is 10, (OK) >>>> drmOpenByBusid: drmOpenMinor returns 10 >>>> drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 >>>> (II) [drm] DRM interface version 1.2 >>>> (II) [drm] DRM open master succeeded. >>>> (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables. >>>> (II) RADEON(0): [drm] framebuffer handle = 0x40000000000 >>>> (II) RADEON(0): [drm] added 1 reserved context for kernel >>>> (II) RADEON(0): X context handle = 0x1 >>>> (II) RADEON(0): [drm] installed DRM signal handler >>>> (II) RADEON(0): [pci] 32768 kB allocated with handle 0xcff65000 >>>> (II) RADEON(0): [pci] ring handle = 0x00000000 >>>> (II) RADEON(0): [pci] Ring mapped at 0x804c1f000 >>>> (II) RADEON(0): [pci] Ring contents 0x00000000 >>>> (II) RADEON(0): [pci] ring read ptr handle = 0x00000000 >>>> (II) RADEON(0): [pci] Ring read ptr mapped at 0x80090e000 >>>> (II) RADEON(0): [pci] Ring read ptr contents 0x00000000 >>>> (II) RADEON(0): [pci] vertex/indirect buffers handle = 0x00000000 >>>> (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x80ce00000 >>>> (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000 >>>> (II) RADEON(0): [pci] GART texture map handle = 0x00000000 >>>> (II) RADEON(0): [pci] GART Texture map mapped at 0x80d094000 >>>> (II) RADEON(0): [drm] register handle = 0x00000000 >>>> (II) RADEON(0): [dri] Visual configs initialized >>>> (II) RADEON(0): RADEONRestoreMemMapRegisters() : >>>> (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 >>>> (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 >>>> (==) RADEON(0): Backing store disabled >>>> (II) RADEON(0): [DRI] installation complete >>>> (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers >>>> (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers >>>> (II) RADEON(0): [drm] dma control initialized, using IRQ 256 >>>> (II) RADEON(0): [drm] Initialized kernel GART heap manager, 29884416 >>>> (WW) RADEON(0): DRI init changed memory map, adjusting ... >>>> (WW) RADEON(0): MC_FB_LOCATION was: 0xbfffb800 is: 0xbfffb800 >>>> (WW) RADEON(0): MC_AGP_LOCATION was: 0x003f0000 is: 0xc1ffc000 >>>> (II) RADEON(0): RADEONRestoreMemMapRegisters() : >>>> (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 >>>> (II) RADEON(0): MC_AGP_LOCATION : 0xc1ffc000 >>>> (II) RADEON(0): Direct rendering enabled >>>> (II) RADEON(0): Render acceleration disabled >>>> (II) RADEON(0): num quad-pipes is 1 >>>> (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA) >>>> Screen to screen bit blits >>>> Solid filled rectangles >>>> 8x8 mono pattern filled rectangles >>>> Indirect CPU to Screen color expansion >>>> Solid Lines >>>> Scanline Image Writes >>>> Setting up tile and stipple cache: >>>> 32 128x128 slots >>>> 32 256x256 slots >>>> 16 512x512 slots >>>> (II) RADEON(0): Acceleration enabled >>>> (==) RADEON(0): DPMS enabled >>>> (==) RADEON(0): Silken mouse enabled >>>> (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00643000 >>>> (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00648000 >>>> (II) RADEON(0): Largest offscreen area available: 1280 x 6901 >>>> (II) RADEON(0): Set up textured video >>>> (II) RADEON(0): [XvMC] Associated with Radeon Textured Video. >>>> (II) RADEON(0): [XvMC] Extension initialized. >>>> Output CRT1 disable success >>>> Output LCD1 disable success >>>> Blank CRTC 0 success >>>> Disable CRTC 0 success >>>> Blank CRTC 1 success >>>> Disable CRTC 1 success >>>> >>>> >>>> I tried running Xorg -config /root/xorg.conf.new >>>> >>>> I get black screen, from which I can't recover. >>>> CTRL+ALT+F<...> does nothing, >>>> CTRL+ALT+BACKSPACE does nothing. >>>> >>>> And I can't kill Xorg: >>>> >>>> # ps ax |grep Xorg >>>> 1056 0 RE+ 5:54.16 Xorg -config /root/xorg.conf.new -retro >>>> 1112 1 RL+ 0:00.02 grep Xorg >>>> # kill -9 1056 >>>> # ps ax |grep Xorg >>>> 1056 0 RE+ 6:01.24 Xorg -config /root/xorg.conf.new -retro >>>> 1114 1 S+ 0:00.02 grep Xorg >>>> # >>>> >>>> The only way I can recover is reboot. >>>> >>>> Please advise. >>>> >>>> >>>> >>>> -- >>>> Anton Shterenlikht >>>> Room 2.6, Queen's Building >>>> Mech Eng Dept >>>> Bristol University >>>> University Walk, Bristol BS8 1TR, UK >>>> Tel: +44 (0)117 331 5944 >>>> Fax: +44 (0)117 929 4423 >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>> >>> >> >> -- >> Anton Shterenlikht >> Room 2.6, Queen's Building >> Mech Eng Dept >> Bristol University >> University Walk, Bristol BS8 1TR, UK >> Tel: +44 (0)117 331 5944 >> Fax: +44 (0)117 929 4423 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From ramirocaso08 at gmail.com Tue Jun 12 12:16:03 2012 From: ramirocaso08 at gmail.com (Ramiro Caso) Date: Tue Jun 12 12:16:10 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: References: Message-ID: <4FD732FF.4020404@gmail.com> On 11/06/2012 23:10, Michael Sierchio wrote: > On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry wrote: >> As the subject says, this is probably a newbie question (I am new to >> FreeBSD but quite experienced at Linux). >> >> FreeBSD9 on x86_64. >> >> Cron is running: >> >> $ ps -ax|grep cron >> >> 1513 ?? Is 0:00.01 /usr/sbin/cron -s >> >> 2283 0 S+ 0:00.00 grep cron >> >> $ >> >> I have a syntactically valid crontab: >> >> $ crontab -l >> #min hr dom month dow command >> >> SHELL=/bin/bash Pitfall: Even if bash is installed, it's not usually under /bin, but under /usr/local/bin >> >> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ >> daddy/bin >> >> HOME=/home/walterh >> >> 00 02 * * * /home/walterh/exports.sh >> >> 05 02 * * * /home/walterh/backup_etc.sh >> >> 10 02 * * * /home/walterh/systemcheck.sh >> >> 15 02 * * * /home/walterh/backup_bsd.sh >> >> $ >> >> So what is wrong? Why is nothing happening? I have consulted the handbook >> but see nothing. > Have you installed bash? It's not in the system base. > > What's in your shell scripts? > > - M > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From hans at beastielabs.net Tue Jun 12 12:22:16 2012 From: hans at beastielabs.net (Hans Ottevanger) Date: Tue Jun 12 12:22:25 2012 Subject: can't kill -9 Xorg In-Reply-To: <20120612082456.GA25893@mech-cluster241.men.bris.ac.uk> References: <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> <20120612081306.GA25637@mech-cluster241.men.bris.ac.uk> <20120612082456.GA25893@mech-cluster241.men.bris.ac.uk> Message-ID: <4FD7325D.2000506@beastielabs.net> On 06/12/12 10:24, Anton Shterenlikht wrote: > On Tue, Jun 12, 2012 at 09:13:06AM +0100, Anton Shterenlikht wrote: >> On Tue, Jun 12, 2012 at 12:07:06AM +0530, Subhro Sankha Kar wrote: >>> Hello >>> >>> What happens if you run without a xorg.conf? Xorg has become pretty good at guessing correct settings these days. >>> >> >> No change. >> I removed /etc/X11/xorg.conf completely. > > Anyway, I can understand my X setup is fucked, no problem. > > What worries me more is the the fact that a process ignores > kill -9. Doesn't it indicate a problem with the OS? > I think potentially this is a security vulnerability. > I had a similar issue with my desktop system a while ago, also using a Radeon adaptor. In my case the system ended up with a frozen image or black screen and was only accessible remotely. It appeared that the X server took 100% of a CPU and was looping in the driver in kernel space and thus unkillable. If a remember well a PCIE register seemed to be inaccessible after returning from the screen saver and the driver kept looping on this. I finally worked around the problem by removing the (barely documented) option DynamicPM from my xorg.conf. This could have consequences for power saving on a laptop however, but it could be worth trying. Kind regards, Hans > > > >> >> # X >> >> X.Org X Server 1.7.7 >> Release Date: 2010-05-04 >> X Protocol Version 11, Revision 0 >> Build Operating System: FreeBSD 10.0-CURRENT amd64 >> Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun 9 22:35:49 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 >> Build Date: 11 June 2012 12:11:20PM >> >> Current version of pixman: 0.24.2 >> Before reporting problems, check http://wiki.x.org >> to make sure that you have the latest version. >> Markers: (--) probed, (**) from config file, (==) default setting, >> (++) from command line, (!!) notice, (II) informational, >> (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >> (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 12 09:10:17 2012 >> (==) Using default built-in configuration (30 lines) >> (EE) Failed to load module "vesa" (module does not exist, 0) >> (EE) Failed to load module "fbdev" (module does not exist, 0) >> XRANDR name: VGA-0 >> Connector: VGA >> CRT1: INTERNAL_KLDSCP_DAC1 >> DDC reg: 0x7e50 >> XRANDR name: LVDS >> Connector: LVDS >> LCD1: INTERNAL_LVTM1 >> DDC reg: 0x7e40 >> Dac detection success >> finished output detect: 0 >> finished output detect: 1 >> finished all detect >> Dac detection success >> Output LCD1 disable success >> Blank CRTC 0 success >> Disable CRTC 0 success >> Blank CRTC 1 success >> Disable CRTC 1 success >> Output CRT1 disable success >> Output LCD1 disable success >> Blank CRTC 0 success >> Disable CRTC 0 success >> Blank CRTC 1 success >> Disable CRTC 1 success >> ^C^C^C >> >> Can kill it with neither CTRL/C >> nor kill -9: >> >> # ps ax|grep X >> 1060 0 R+ 0:38.95 X (Xorg) >> 1073 1 R+ 0:00.01 grep X >> # kill -9 1060 >> # ps ax|grep X >> 1060 0 RE+ 0:45.71 X (Xorg) >> 1089 1 R+ 0:00.00 grep X >> # >> >> >> Anton >> >> >>> Thanks >>> -- >>> Subhro Sankha Kar >>> System Administrator >>> Working and Playing with FreeBSD since 2002 >>> >>> On 11-Jun-2012, at 5:01 PM, Anton Shterenlikht wrote: >>> >>>> My X is unusable since the recent png update. >>>> >>>> This is r236740M on HP Compaq 6715s amd64 laptop. >>>> >>>> I've no hal installed (if this matters). >>>> >>>> # pkg info -x xorg >>>> linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) >>>> xorg-cf-files-1.0.4 X.org cf files for use with imake builds >>>> xorg-fonts-7.5.1 X.org fonts meta-port >>>> xorg-fonts-100dpi-7.5.1 X.Org 100dpi bitmap fonts >>>> xorg-fonts-75dpi-7.5.1 X.Org 75dpi bitmap fonts >>>> xorg-fonts-cyrillic-7.5.1 X.Org Cyrillic bitmap fonts >>>> xorg-fonts-miscbitmaps-7.5.1 X.Org miscellaneous bitmap fonts >>>> xorg-fonts-truetype-7.5.1 X.Org TrueType fonts >>>> xorg-fonts-type1-7.5.1 X.Org Type1 fonts >>>> xorg-libraries-7.5.1 X.org libraries meta-port >>>> xorg-macros-1.16.1 X.Org development aclocal macros >>>> xorg-server-1.7.7_5,1 X.Org X server and related programs >>>> # >>>> >>>> # pkg info -x xf86 >>>> libXxf86dga-1.1.2 X DGA Extension >>>> libXxf86misc-1.0.3 X XF86-Misc Extension >>>> libXxf86vm-1.1.1 X Vidmode Extension >>>> xf86-input-keyboard-1.6.1 X.Org keyboard input driver >>>> xf86-input-mouse-1.7.1 X.Org mouse input driver >>>> xf86-video-ati-6.14.3_1 X.Org ati display driver >>>> xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers >>>> xf86dgaproto-2.1 XFree86-DGA extension headers >>>> xf86driproto-2.1.1 XFree86-DRI extension headers >>>> xf86miscproto-0.9.3 XFree86-Misc extension headers >>>> xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers >>>> # >>>> >>>> My xorg.conf.new: >>>> >>>> >>>> Section "ServerLayout" >>>> Identifier "X.org Configured" >>>> Screen 0 "Screen0" 0 0 >>>> InputDevice "Mouse0" "CorePointer" >>>> InputDevice "Keyboard0" "CoreKeyboard" >>>> Option "AllowEmptyInput" "Off" >>>> EndSection >>>> >>>> Section "Files" >>>> ModulePath "/usr/local/lib/xorg/modules" >>>> FontPath "/usr/local/lib/X11/fonts/misc/" >>>> FontPath "/usr/local/lib/X11/fonts/TTF/" >>>> FontPath "/usr/local/lib/X11/fonts/OTF" >>>> FontPath "/usr/local/lib/X11/fonts/Type1/" >>>> FontPath "/usr/local/lib/X11/fonts/100dpi/" >>>> FontPath "/usr/local/lib/X11/fonts/75dpi/" >>>> EndSection >>>> >>>> Section "Module" >>>> Load "extmod" >>>> Load "record" >>>> Load "dbe" >>>> Load "glx" >>>> Load "dri" >>>> Load "dri2" >>>> EndSection >>>> >>>> Section "InputDevice" >>>> Identifier "Keyboard0" >>>> Driver "kbd" >>>> EndSection >>>> >>>> Section "InputDevice" >>>> Identifier "Mouse0" >>>> Driver "mouse" >>>> Option "Protocol" "auto" >>>> Option "Device" "/dev/sysmouse" >>>> Option "ZAxisMapping" "4 5 6 7" >>>> EndSection >>>> >>>> Section "Monitor" >>>> #DisplaySize 330 210 # mm >>>> Identifier "Monitor0" >>>> VendorName "LPL" >>>> ModelName "d600" >>>> EndSection >>>> >>>> Section "Device" >>>> Identifier "Card0" >>>> Driver "radeon" >>>> VendorName "Advanced Micro Devices [AMD] nee ATI" >>>> BoardName "RS690M [Radeon X1200 Series]" >>>> BusID "PCI:1:5:0" >>>> Option "int10" "on" >>>> Option "BusType" "PCIE" >>>> Option "RenderAccel" "on" >>>> Option "AccelMethod" "xaa" >>>> Option "DynamicPM" "on" >>>> Option "DRI" "on" >>>> EndSection >>>> >>>> Section "Screen" >>>> Identifier "Screen0" >>>> Device "Card0" >>>> Monitor "Monitor0" >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 1 >>>> EndSubSection >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 4 >>>> EndSubSection >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 8 >>>> EndSubSection >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 15 >>>> EndSubSection >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 16 >>>> EndSubSection >>>> SubSection "Display" >>>> Viewport 0 0 >>>> Depth 24 >>>> EndSubSection >>>> EndSection >>>> >>>> >>>> The Xorg.0.log: >>>> >>>> >>>> >>>> X.Org X Server 1.7.7 >>>> Release Date: 2010-05-04 >>>> X Protocol Version 11, Revision 0 >>>> Build Operating System: FreeBSD 10.0-CURRENT amd64 >>>> Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun 9 22:35:49 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 >>>> Build Date: 11 June 2012 12:11:20PM >>>> >>>> Current version of pixman: 0.24.2 >>>> Before reporting problems, check http://wiki.x.org >>>> to make sure that you have the latest version. >>>> Markers: (--) probed, (**) from config file, (==) default setting, >>>> (++) from command line, (!!) notice, (II) informational, >>>> (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >>>> (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 11 12:24:08 2012 >>>> (++) Using config file: "/root/xorg.conf.new" >>>> (==) ServerLayout "X.org Configured" >>>> (**) |-->Screen "Screen0" (0) >>>> (**) | |-->Monitor "Monitor0" >>>> (**) | |-->Device "Card0" >>>> (**) |-->Input Device "Mouse0" >>>> (**) |-->Input Device "Keyboard0" >>>> (**) Option "AllowEmptyInput" "Off" >>>> (==) Not automatically adding devices >>>> (==) Not automatically enabling devices >>>> (**) FontPath set to: >>>> /usr/local/lib/X11/fonts/misc/, >>>> /usr/local/lib/X11/fonts/TTF/, >>>> /usr/local/lib/X11/fonts/OTF, >>>> /usr/local/lib/X11/fonts/Type1/, >>>> /usr/local/lib/X11/fonts/100dpi/, >>>> /usr/local/lib/X11/fonts/75dpi/, >>>> /usr/local/lib/X11/fonts/misc/, >>>> /usr/local/lib/X11/fonts/TTF/, >>>> /usr/local/lib/X11/fonts/OTF, >>>> /usr/local/lib/X11/fonts/Type1/, >>>> /usr/local/lib/X11/fonts/100dpi/, >>>> /usr/local/lib/X11/fonts/75dpi/ >>>> (**) ModulePath set to "/usr/local/lib/xorg/modules" >>>> (II) Loader magic: 0x7bd3c0 >>>> (II) Module ABI versions: >>>> X.Org ANSI C Emulation: 0.4 >>>> X.Org Video Driver: 6.0 >>>> X.Org XInput driver : 7.0 >>>> X.Org Server Extension : 2.0 >>>> (--) Using syscons driver with X support (version 2.0) >>>> (--) using VT number 9 >>>> >>>> (--) PCI:*(0:1:5:0) 1002:791f:103c:30c2 Advanced Micro Devices [AMD] nee ATI RS690M [Radeon X1200 Series] rev 0, Mem @ 0xc0000000/134217728, 0xd0200000/65536, 0xd0300000/1048576, I/O @ 0x00004000/256, BIOS @ 0x????????/65536 >>>> (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) "glx" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) "record" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) "dri" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) "dri2" will be loaded. This was enabled by default and also specified in the config file. >>>> (II) LoadModule: "extmod" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so >>>> (II) Module extmod: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> Module class: X.Org Server Extension >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (II) Loading extension MIT-SCREEN-SAVER >>>> (II) Loading extension XFree86-VidModeExtension >>>> (II) Loading extension XFree86-DGA >>>> (II) Loading extension DPMS >>>> (II) Loading extension XVideo >>>> (II) Loading extension XVideo-MotionCompensation >>>> (II) Loading extension X-Resource >>>> (II) LoadModule: "record" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so >>>> (II) Module record: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.13.0 >>>> Module class: X.Org Server Extension >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (II) Loading extension RECORD >>>> (II) LoadModule: "dbe" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so >>>> (II) Module dbe: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> Module class: X.Org Server Extension >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (II) Loading extension DOUBLE-BUFFER >>>> (II) LoadModule: "glx" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so >>>> (II) Module glx: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (==) AIGLX disabled >>>> (II) Loading extension GLX >>>> (II) LoadModule: "dri" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so >>>> (II) Module dri: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (II) Loading extension XFree86-DRI >>>> (II) LoadModule: "dri2" >>>> (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so >>>> (II) Module dri2: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.1.0 >>>> ABI class: X.Org Server Extension, version 2.0 >>>> (II) Loading extension DRI2 >>>> (II) LoadModule: "radeon" >>>> (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so >>>> (II) Module radeon: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 6.14.3 >>>> Module class: X.Org Video Driver >>>> ABI class: X.Org Video Driver, version 6.0 >>>> (II) LoadModule: "mouse" >>>> (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so >>>> (II) Module mouse: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.7.1 >>>> Module class: X.Org XInput Driver >>>> ABI class: X.Org XInput driver, version 7.0 >>>> (II) LoadModule: "kbd" >>>> (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so >>>> (II) Module kbd: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.6.1 >>>> Module class: X.Org XInput Driver >>>> ABI class: X.Org XInput driver, version 7.0 >>>> (II) RADEON: Driver for ATI Radeon chipsets: >>>> ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI), >>>> ATI Radeon Mobility X300 (M24) 3152 (PCIE), >>>> ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI), >>>> ATI Radeon X600 (RV380) 3E50 (PCIE), >>>> ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136, >>>> ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP), >>>> ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP), >>>> ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP), >>>> ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP), >>>> ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP), >>>> ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP), >>>> ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650, >>>> ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237, >>>> ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336, >>>> ATI Radeon IGP330M/340M/350M (U2) 4337, >>>> ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI), >>>> ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP), >>>> ATI Radeon X800PRO (R420) JI (AGP), >>>> ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP), >>>> ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP), >>>> ATI Radeon Mobility 9800 (M18) JN (AGP), >>>> ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP), >>>> ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP), >>>> ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP), >>>> ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP), >>>> ATI Radeon Mobility M7 LW (AGP), >>>> ATI Mobility FireGL 7800 M7 LX (AGP), >>>> ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP), >>>> ATI FireGL Mobility 9000 (M9) Ld (AGP), >>>> ATI Radeon Mobility 9000 (M9) Lf (AGP), >>>> ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI Radeon 9700 Pro ND (AGP), >>>> ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9600TX NF (AGP), >>>> ATI FireGL X1 NG (AGP), ATI Radeon 9800PRO NH (AGP), >>>> ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP), >>>> ATI Radeon 9800XT NJ (AGP), >>>> ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP), >>>> ATI Radeon Mobility 9600 (M10) NQ (AGP), >>>> ATI Radeon Mobility 9600 (M11) NR (AGP), >>>> ATI Radeon Mobility 9600 (M10) NS (AGP), >>>> ATI FireGL Mobility T2 (M10) NT (AGP), >>>> ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP), >>>> ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP), >>>> ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP), >>>> ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI), >>>> ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI), >>>> ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI), >>>> ATI Radeon Mobility X300 (M22) 5460 (PCIE), >>>> ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE), >>>> ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE), >>>> ATI Radeon X800PRO (R423) UI (PCIE), >>>> ATI Radeon X800LE (R423) UJ (PCIE), >>>> ATI Radeon X800SE (R423) UK (PCIE), >>>> ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE), >>>> ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE), >>>> ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE), >>>> ATI FireGL unknown (R423) UR (PCIE), >>>> ATI FireGL unknown (R423) UT (PCIE), >>>> ATI Mobility FireGL V5000 (M26) (PCIE), >>>> ATI Mobility FireGL V5000 (M26) (PCIE), >>>> ATI Mobility Radeon X700 XL (M26) (PCIE), >>>> ATI Mobility Radeon X700 (M26) (PCIE), >>>> ATI Mobility Radeon X700 (M26) (PCIE), >>>> ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834, >>>> ATI Radeon Mobility 9100 IGP (U3) 5835, >>>> ATI Radeon XPRESS 200 5954 (PCIE), >>>> ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP), >>>> ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP), >>>> ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI), >>>> ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE), >>>> ATI Radeon XPRESS 200M 5975 (PCIE), >>>> ATI Radeon XPRESS 200 5A41 (PCIE), >>>> ATI Radeon XPRESS 200M 5A42 (PCIE), >>>> ATI Radeon XPRESS 200 5A61 (PCIE), >>>> ATI Radeon XPRESS 200M 5A62 (PCIE), >>>> ATI Radeon X300 (RV370) 5B60 (PCIE), >>>> ATI Radeon X600 (RV370) 5B62 (PCIE), >>>> ATI Radeon X550 (RV370) 5B63 (PCIE), >>>> ATI FireGL V3100 (RV370) 5B64 (PCIE), >>>> ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE), >>>> ATI Radeon Mobility 9200 (M9+) 5C61 (AGP), >>>> ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), >>>> ATI Mobility Radeon X800 XT (M28) (PCIE), >>>> ATI Mobility FireGL V5100 (M28) (PCIE), >>>> ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE), >>>> ATI Radeon X850 XT PE (R480) (PCIE), >>>> ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE), >>>> ATI unknown Radeon / FireGL (R480) 5D50 (PCIE), >>>> ATI Radeon X850 XT (R480) (PCIE), >>>> ATI Radeon X800XT (R423) 5D57 (PCIE), >>>> ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE), >>>> ATI Radeon X700 PRO (RV410) (PCIE), >>>> ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE), >>>> ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800, >>>> ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800, >>>> ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300, >>>> ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800, >>>> ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, >>>> ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505, >>>> ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL, >>>> ATI Mobility Radeon X1400, ATI Radeon X1300/X1550, >>>> ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300, >>>> ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, >>>> ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300, >>>> ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350, >>>> ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550, >>>> ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450, >>>> ATI Radeon X1300/X1550, ATI Mobility Radeon X2300, >>>> ATI Mobility Radeon X2300, ATI Mobility Radeon X1350, >>>> ATI Mobility Radeon X1350, ATI Mobility Radeon X1450, >>>> ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350, >>>> ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600, >>>> ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600, >>>> ATI Mobility FireGL V5200, ATI Mobility Radeon X1600, >>>> ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600, >>>> ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400, >>>> ATI Mobility FireGL V5250, ATI Mobility Radeon X1700, >>>> ATI Mobility Radeon X1700 XT, ATI FireGL V5200, >>>> ATI Mobility Radeon X1700, ATI Radeon X2300HD, >>>> ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300, >>>> ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950, >>>> ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, >>>> ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, >>>> ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, >>>> ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950, >>>> ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560, >>>> ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400, >>>> ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560, >>>> ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835, >>>> ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, >>>> ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740, >>>> ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT, >>>> ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT, >>>> ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600, >>>> ATI Radeon 4800 Series, ATI Radeon HD 4870 x2, >>>> ATI Radeon 4800 Series, ATI Radeon HD 4850 x2, >>>> ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL), >>>> ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2, >>>> ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270, >>>> AMD FireStream 9250, ATI FirePro V8700 (FireGL), >>>> ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98, >>>> ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series, >>>> ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98, >>>> ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP), >>>> ATI Mobility Radeon HD 4670, ATI FirePro M5750, >>>> ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP), >>>> ATI RV730XT [Radeon HD 4670], ATI RADEON E4600, >>>> ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650], >>>> ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL), >>>> ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830, >>>> ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740, >>>> ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770, >>>> ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT, >>>> ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, >>>> ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT, >>>> ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610, >>>> ATI FireMV 2260, ATI RV670, ATI Radeon HD3870, >>>> ATI Mobility Radeon HD 3850, ATI Radeon HD3850, >>>> ATI Mobility Radeon HD 3850 X2, ATI RV670, >>>> ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2, >>>> ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850, >>>> ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550, >>>> ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710, >>>> ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series, >>>> ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series, >>>> ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630, >>>> ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT, >>>> ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP, >>>> ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630, >>>> ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600, >>>> ATI FireGL V3600, ATI Radeon HD 2600 LE, >>>> ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470, >>>> ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series, >>>> ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430, >>>> ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450, >>>> ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series, >>>> ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO, >>>> ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO, >>>> ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670, >>>> ATI Mobility FireGL V5700, ATI Mobility FireGL V5725, >>>> ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, >>>> ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, >>>> ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics, >>>> ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2, >>>> SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200, ATI Radeon 4100, >>>> ATI Mobility Radeon HD 4200, ATI Mobility Radeon 4100, >>>> ATI Radeon HD 4290, ATI Radeon HD 4250, AMD Radeon HD 6310 Graphics, >>>> AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics, >>>> AMD Radeon HD 6250 Graphics, AMD Radeon HD 6300 Series Graphics, >>>> AMD Radeon HD 6200 Series Graphics, CYPRESS, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370, >>>> AMD Firestream 9350, ATI Radeon HD 5800 Series, >>>> ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, >>>> ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series, >>>> ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series, >>>> ATI Mobility Radeon HD 5800 Series, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series, >>>> ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, >>>> ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, >>>> ATI Mobility Radeon HD 5000 Series, >>>> ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670, >>>> ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD, >>>> ATI Mobility Radeon HD 5000 Series, >>>> ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics, >>>> ATI Mobility Radeon Graphics, CEDAR, >>>> ATI FirePro (FireGL) Graphics Adapter, >>>> ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR, >>>> ATI Radeon HD 5450, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, >>>> CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, AMD Radeon HD 6900 Series, >>>> AMD Radeon HD 6900 Series, CAYMAN, CAYMAN, CAYMAN, >>>> AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS, >>>> BARTS, Mobility Radeon HD 6000 Series, >>>> Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS, >>>> AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series, >>>> AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, >>>> TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, CAICOS, >>>> CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, >>>> CAICOS, CAICOS, CAICOS >>>> (II) Primary Device is: PCI 01@00:05:0 >>>> (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support >>>> (II) RADEON(0): TOTO SAYS 00000000d0200000 >>>> (II) RADEON(0): MMIO registers at 0x00000000d0200000: size 64KB >>>> (II) RADEON(0): PCI bus 1 card 5 func 0 >>>> (==) RADEON(0): Depth 24, (--) framebuffer bpp 32 >>>> (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) >>>> (==) RADEON(0): Default visual is TrueColor >>>> (**) RADEON(0): Option "BusType" "PCIE" >>>> (**) RADEON(0): Option "RenderAccel" "on" >>>> (**) RADEON(0): Option "AccelMethod" "xaa" >>>> (**) RADEON(0): Option "DRI" "on" >>>> (**) RADEON(0): Option "Int10" "on" >>>> (**) RADEON(0): Option "DynamicPM" "on" >>>> (II) Loading sub module "vgahw" >>>> (II) LoadModule: "vgahw" >>>> (II) Loading /usr/local/lib/xorg/modules/libvgahw.so >>>> (II) Module vgahw: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 0.1.0 >>>> ABI class: X.Org Video Driver, version 6.0 >>>> (II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 >>>> (==) RADEON(0): RGB weight 888 >>>> (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) >>>> (--) RADEON(0): Chipset: "ATI Radeon X1200" (ChipID = 0x791f) >>>> (--) RADEON(0): Linear framebuffer at 0x00000000c0000000 >>>> (II) RADEON(0): PCI card detected >>>> (**) RADEON(0): Forced into PCI mode >>>> (II) Loading sub module "int10" >>>> (II) LoadModule: "int10" >>>> (II) Loading /usr/local/lib/xorg/modules/libint10.so >>>> (II) Module int10: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> ABI class: X.Org Video Driver, version 6.0 >>>> (II) RADEON(0): initializing int10 >>>> (**) RADEON(0): Option "int10" "on" >>>> (==) RADEON(0): Write-combining range (0xa0000,0x20000) was already clear >>>> (==) RADEON(0): Write-combining range (0xc0000,0x40000) was already clear >>>> (II) RADEON(0): Primary V_BIOS segment is: 0xc000 >>>> (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear >>>> (II) RADEON(0): ATOM BIOS detected >>>> (II) RADEON(0): ATOM BIOS Rom: >>>> SubsystemVendorID: 0x1002 SubsystemID: 0x791f >>>> IOBaseAddress: 0x4000 >>>> Filename: br23883.bin >>>> BIOS Bootup Message: >>>> ATI Radeon Xpress ?1250? for HP_TT >>>> >>>> (II) RADEON(0): Framebuffer space used by Firmware (kb): 20 >>>> (II) RADEON(0): Start of VRAM area used by Firmware: 0x7ffb000 >>>> (II) RADEON(0): AtomBIOS requests 20kB of VRAM scratch space >>>> (II) RADEON(0): AtomBIOS VRAM scratch base: 0x7ffb000 >>>> (II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory instead >>>> (II) RADEON(0): Default Engine Clock: 400000 >>>> (II) RADEON(0): Default Memory Clock: 200000 >>>> (II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 1200000 >>>> (II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0 >>>> (II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500 >>>> (II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000 >>>> (II) RADEON(0): Maximum Pixel Clock: 400000 >>>> (II) RADEON(0): Reference Clock: 14320 >>>> drmOpenDevice: node name is /dev/dri/card0 >>>> drmOpenDevice: open result is 10, (OK) >>>> drmOpenByBusid: Searching for BusID pci:0000:01:05.0 >>>> drmOpenDevice: node name is /dev/dri/card0 >>>> drmOpenDevice: open result is 10, (OK) >>>> drmOpenByBusid: drmOpenMinor returns 10 >>>> drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 >>>> (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.31.0 >>>> (==) RADEON(0): Page Flipping disabled on r5xx and newer chips. >>>> >>>> (II) RADEON(0): Will try to use DMA for Xv image transfers >>>> (II) RADEON(0): Generation 2 PCI interface, using max accessible memory >>>> (II) RADEON(0): Detected total video RAM=131072K, accessible=131072K (PCI BAR=131072K) >>>> (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) >>>> (II) RADEON(0): Color tiling enabled by default >>>> (II) Loading sub module "ddc" >>>> (II) LoadModule: "ddc" >>>> (II) Module "ddc" already built-in >>>> (II) Loading sub module "i2c" >>>> (II) LoadModule: "i2c" >>>> (II) Module "i2c" already built-in >>>> (II) RADEON(0): PLL parameters: rf=1432 rd=12 min=80000 max=120000; xclk=40000 >>>> (WW) RADEON(0): LVDS Info: >>>> XRes: 1280, YRes: 800, DotClock: 71000 >>>> HBlank: 160, HOverPlus: 48, HSyncWidth: 32 >>>> VBlank: 23, VOverPlus: 3, VSyncWidth: 6 >>>> (II) RADEON(0): Skipping TV-Out >>>> (II) RADEON(0): Skipping Component Video >>>> (II) RADEON(0): Output VGA-0 using monitor section Monitor0 >>>> (II) RADEON(0): I2C bus "VGA-0" initialized. >>>> (II) RADEON(0): Output LVDS has no monitor section >>>> (II) RADEON(0): I2C bus "LVDS" initialized. >>>> (II) RADEON(0): Port0: >>>> XRANDR name: VGA-0 >>>> Connector: VGA >>>> CRT1: INTERNAL_KLDSCP_DAC1 >>>> DDC reg: 0x7e50 >>>> (II) RADEON(0): Port1: >>>> XRANDR name: LVDS >>>> Connector: LVDS >>>> LCD1: INTERNAL_LVTM1 >>>> DDC reg: 0x7e40 >>>> (II) RADEON(0): I2C device "VGA-0:ddc2" registered at address 0xA0. >>>> Dac detection success >>>> (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 >>>> finished output detect: 0 >>>> (II) RADEON(0): I2C device "LVDS:ddc2" registered at address 0xA0. >>>> (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 >>>> (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- >>>> (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 >>>> (II) RADEON(0): Year: 2006 Week: 0 >>>> (II) RADEON(0): EDID Version: 1.3 >>>> (II) RADEON(0): Digital Display Input >>>> (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 >>>> (II) RADEON(0): Gamma: 2.20 >>>> (II) RADEON(0): No DPMS capabilities specified >>>> (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 >>>> (II) RADEON(0): First detailed timing is preferred mode >>>> (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 >>>> (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 >>>> (II) RADEON(0): Manufacturer's mask: 0 >>>> (II) RADEON(0): Supported detailed timing: >>>> (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm >>>> (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 >>>> (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 >>>> (II) RADEON(0): LGPhilipsLCD >>>> (II) RADEON(0): LP154WX4-TLA1 >>>> (II) RADEON(0): EDID (in hex): >>>> (II) RADEON(0): 00ffffffffffff00320c00d600000000 >>>> (II) RADEON(0): 00100103802115780ab3409959538d27 >>>> (II) RADEON(0): 25505400000001010101010101010101 >>>> (II) RADEON(0): 010101010101bc1b00a0502017303020 >>>> (II) RADEON(0): 36004bcf100000190000000000000000 >>>> (II) RADEON(0): 00000000000000000000000000fe004c >>>> (II) RADEON(0): 475068696c6970734c43440a000000fe >>>> (II) RADEON(0): 004c503135345758342d544c4131004d >>>> finished output detect: 1 >>>> finished all detect >>>> Dac detection success >>>> (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 >>>> (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 >>>> (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- >>>> (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 >>>> (II) RADEON(0): Year: 2006 Week: 0 >>>> (II) RADEON(0): EDID Version: 1.3 >>>> (II) RADEON(0): Digital Display Input >>>> (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 >>>> (II) RADEON(0): Gamma: 2.20 >>>> (II) RADEON(0): No DPMS capabilities specified >>>> (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 >>>> (II) RADEON(0): First detailed timing is preferred mode >>>> (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 >>>> (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 >>>> (II) RADEON(0): Manufacturer's mask: 0 >>>> (II) RADEON(0): Supported detailed timing: >>>> (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm >>>> (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 >>>> (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 >>>> (II) RADEON(0): LGPhilipsLCD >>>> (II) RADEON(0): LP154WX4-TLA1 >>>> (II) RADEON(0): EDID (in hex): >>>> (II) RADEON(0): 00ffffffffffff00320c00d600000000 >>>> (II) RADEON(0): 00100103802115780ab3409959538d27 >>>> (II) RADEON(0): 25505400000001010101010101010101 >>>> (II) RADEON(0): 010101010101bc1b00a0502017303020 >>>> (II) RADEON(0): 36004bcf100000190000000000000000 >>>> (II) RADEON(0): 00000000000000000000000000fe004c >>>> (II) RADEON(0): 475068696c6970734c43440a000000fe >>>> (II) RADEON(0): 004c503135345758342d544c4131004d >>>> (II) RADEON(0): EDID vendor "LPL", prod id 54784 >>>> (II) RADEON(0): Output VGA-0 disconnected >>>> (II) RADEON(0): Output LVDS connected >>>> (II) RADEON(0): Using exact sizes for initial modes >>>> (II) RADEON(0): Output LVDS using initial mode 1280x800 >>>> (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. >>>> (==) RADEON(0): DPI set to (96, 96) >>>> (II) Loading sub module "fb" >>>> (II) LoadModule: "fb" >>>> (II) Loading /usr/local/lib/xorg/modules/libfb.so >>>> (II) Module fb: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.0.0 >>>> ABI class: X.Org ANSI C Emulation, version 0.4 >>>> (II) Loading sub module "ramdac" >>>> (II) LoadModule: "ramdac" >>>> (II) Module "ramdac" already built-in >>>> (**) RADEON(0): Using XAA acceleration architecture >>>> (II) Loading sub module "xaa" >>>> (II) LoadModule: "xaa" >>>> (II) Loading /usr/local/lib/xorg/modules/libxaa.so >>>> (II) Module xaa: vendor="X.Org Foundation" >>>> compiled for 1.7.7, module version = 1.2.1 >>>> ABI class: X.Org Video Driver, version 6.0 >>>> (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear >>>> (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support >>>> (--) Depth 24 pixmap format is 32 bpp >>>> (II) RADEON(0): RADEONScreenInit c0000000 0 0 >>>> (==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear >>>> Output LCD1 disable success >>>> Blank CRTC 0 success >>>> Disable CRTC 0 success >>>> Blank CRTC 1 success >>>> Disable CRTC 1 success >>>> (II) RADEON(0): Dynamic Power Management Enabled >>>> (==) RADEON(0): Using 24 bit depth buffer >>>> (II) RADEON(0): RADEONInitMemoryMap() : >>>> (II) RADEON(0): mem_size : 0x08000000 >>>> (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 >>>> (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 >>>> (II) RADEON(0): Depth moves disabled by default >>>> (II) RADEON(0): Using 32 MB GART aperture >>>> (II) RADEON(0): Using 1 MB for the ring buffer >>>> (II) RADEON(0): Using 2 MB for vertex/indirect buffers >>>> (II) RADEON(0): Using 29 MB for GART textures >>>> (II) RADEON(0): Memory manager initialized to (0,0) (1280,8191) >>>> (II) RADEON(0): Reserved area from (0,1280) to (1280,1282) >>>> (II) RADEON(0): Largest offscreen area available: 1280 x 6909 >>>> (II) RADEON(0): Will use front buffer at offset 0x0 >>>> (II) RADEON(0): Will use back buffer at offset 0x1978000 >>>> (II) RADEON(0): Will use depth buffer at offset 0x1fb8000 >>>> (II) RADEON(0): Will use 92160 kb for textures at offset 0x25f8000 >>>> drmOpenDevice: node name is /dev/dri/card0 >>>> drmOpenDevice: open result is 10, (OK) >>>> drmOpenDevice: node name is /dev/dri/card0 >>>> drmOpenDevice: open result is 10, (OK) >>>> drmOpenByBusid: Searching for BusID pci:0000:01:05.0 >>>> drmOpenDevice: node name is /dev/dri/card0 >>>> drmOpenDevice: open result is 10, (OK) >>>> drmOpenByBusid: drmOpenMinor returns 10 >>>> drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 >>>> (II) [drm] DRM interface version 1.2 >>>> (II) [drm] DRM open master succeeded. >>>> (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables. >>>> (II) RADEON(0): [drm] framebuffer handle = 0x40000000000 >>>> (II) RADEON(0): [drm] added 1 reserved context for kernel >>>> (II) RADEON(0): X context handle = 0x1 >>>> (II) RADEON(0): [drm] installed DRM signal handler >>>> (II) RADEON(0): [pci] 32768 kB allocated with handle 0xcff65000 >>>> (II) RADEON(0): [pci] ring handle = 0x00000000 >>>> (II) RADEON(0): [pci] Ring mapped at 0x804c1f000 >>>> (II) RADEON(0): [pci] Ring contents 0x00000000 >>>> (II) RADEON(0): [pci] ring read ptr handle = 0x00000000 >>>> (II) RADEON(0): [pci] Ring read ptr mapped at 0x80090e000 >>>> (II) RADEON(0): [pci] Ring read ptr contents 0x00000000 >>>> (II) RADEON(0): [pci] vertex/indirect buffers handle = 0x00000000 >>>> (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x80ce00000 >>>> (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000 >>>> (II) RADEON(0): [pci] GART texture map handle = 0x00000000 >>>> (II) RADEON(0): [pci] GART Texture map mapped at 0x80d094000 >>>> (II) RADEON(0): [drm] register handle = 0x00000000 >>>> (II) RADEON(0): [dri] Visual configs initialized >>>> (II) RADEON(0): RADEONRestoreMemMapRegisters() : >>>> (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 >>>> (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 >>>> (==) RADEON(0): Backing store disabled >>>> (II) RADEON(0): [DRI] installation complete >>>> (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers >>>> (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers >>>> (II) RADEON(0): [drm] dma control initialized, using IRQ 256 >>>> (II) RADEON(0): [drm] Initialized kernel GART heap manager, 29884416 >>>> (WW) RADEON(0): DRI init changed memory map, adjusting ... >>>> (WW) RADEON(0): MC_FB_LOCATION was: 0xbfffb800 is: 0xbfffb800 >>>> (WW) RADEON(0): MC_AGP_LOCATION was: 0x003f0000 is: 0xc1ffc000 >>>> (II) RADEON(0): RADEONRestoreMemMapRegisters() : >>>> (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 >>>> (II) RADEON(0): MC_AGP_LOCATION : 0xc1ffc000 >>>> (II) RADEON(0): Direct rendering enabled >>>> (II) RADEON(0): Render acceleration disabled >>>> (II) RADEON(0): num quad-pipes is 1 >>>> (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA) >>>> Screen to screen bit blits >>>> Solid filled rectangles >>>> 8x8 mono pattern filled rectangles >>>> Indirect CPU to Screen color expansion >>>> Solid Lines >>>> Scanline Image Writes >>>> Setting up tile and stipple cache: >>>> 32 128x128 slots >>>> 32 256x256 slots >>>> 16 512x512 slots >>>> (II) RADEON(0): Acceleration enabled >>>> (==) RADEON(0): DPMS enabled >>>> (==) RADEON(0): Silken mouse enabled >>>> (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00643000 >>>> (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00648000 >>>> (II) RADEON(0): Largest offscreen area available: 1280 x 6901 >>>> (II) RADEON(0): Set up textured video >>>> (II) RADEON(0): [XvMC] Associated with Radeon Textured Video. >>>> (II) RADEON(0): [XvMC] Extension initialized. >>>> Output CRT1 disable success >>>> Output LCD1 disable success >>>> Blank CRTC 0 success >>>> Disable CRTC 0 success >>>> Blank CRTC 1 success >>>> Disable CRTC 1 success >>>> >>>> >>>> I tried running Xorg -config /root/xorg.conf.new >>>> >>>> I get black screen, from which I can't recover. >>>> CTRL+ALT+F<...> does nothing, >>>> CTRL+ALT+BACKSPACE does nothing. >>>> >>>> And I can't kill Xorg: >>>> >>>> # ps ax |grep Xorg >>>> 1056 0 RE+ 5:54.16 Xorg -config /root/xorg.conf.new -retro >>>> 1112 1 RL+ 0:00.02 grep Xorg >>>> # kill -9 1056 >>>> # ps ax |grep Xorg >>>> 1056 0 RE+ 6:01.24 Xorg -config /root/xorg.conf.new -retro >>>> 1114 1 S+ 0:00.02 grep Xorg >>>> # >>>> >>>> The only way I can recover is reboot. >>>> >>>> Please advise. >>>> >>>> >>>> >>>> -- >>>> Anton Shterenlikht >>>> Room 2.6, Queen's Building >>>> Mech Eng Dept >>>> Bristol University >>>> University Walk, Bristol BS8 1TR, UK >>>> Tel: +44 (0)117 331 5944 >>>> Fax: +44 (0)117 929 4423 >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>> >>> >> >> -- >> Anton Shterenlikht >> Room 2.6, Queen's Building >> Mech Eng Dept >> Bristol University >> University Walk, Bristol BS8 1TR, UK >> Tel: +44 (0)117 331 5944 >> Fax: +44 (0)117 929 4423 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From ml at my.gd Tue Jun 12 13:26:50 2012 From: ml at my.gd (Damien Fleuriot) Date: Tue Jun 12 13:27:00 2012 Subject: rc.conf ifconfig ipv6 address fails at boot Message-ID: <4FD74396.4090202@my.gd> Hello questions, I can't figure out what I'm doing wrong here. Trying to get a static IPv6 on a server at boot time from rc.conf, and that fails. Notice I haven't set ipv6_network_interfaces , so it defaults to "auto". ===== ipv6_enable="YES" ipv6_defaultrouter="2a01:e35:2f1b:e2a0::1" # VLAN 99 = WAN / CISCO INTERCONNECTION ifconfig_vlan99="vlan 99 vlandev re0 up" ipv4_addrs_vlan99="192.168.99.3/24" ipv6_addrs_vlan99="2a01:e35:2f1b:e2a0::dead:beef/64" ===== I resorted to adding the IPv6 and default gateway via a @reboot line in /etc/crontab , but this is really not right... The machine is running 8.3-PRERELEASE from february. Should I instead try the following ? ifconfig_vlan99="inet 192.168.99.3/24 vlan 99 vlandev re0 up" ipv6_ifconfig_vlan99="2a01:e35:2f1b:e2a0::dead:beef/64" I'm not really at liberty to reboot the server to test during work time ;) From feld at feld.me Tue Jun 12 13:29:13 2012 From: feld at feld.me (Mark Felder) Date: Tue Jun 12 13:29:27 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: <201206120506.q5C56L2H026673@mail.r-bonomi.com> References: <201206120506.q5C56L2H026673@mail.r-bonomi.com> Message-ID: On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi wrote: > Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- > you > are *strongly* encocuraged to remove them. Yes, that means numbers will > not > be column aligned, but it is a small price to pay to avoid the > hair-tearing > that =will= ensue when using it bites you. Any other info on this? I've never heard of this before and I've never seen an issue using leading zeroes on the minutes value. From freebsd-questions-local at be-well.ilk.org Tue Jun 12 14:36:41 2012 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue Jun 12 14:36:48 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: (Mark Felder's message of "Tue, 12 Jun 2012 08:29:02 -0500") References: <201206120506.q5C56L2H026673@mail.r-bonomi.com> Message-ID: <443960ppfu.fsf@be-well.ilk.org> Mark Felder writes: > On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi > wrote: > >> Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- >> you >> are *strongly* encocuraged to remove them. Yes, that means numbers >> will not >> be column aligned, but it is a small price to pay to avoid the >> hair-tearing >> that =will= ensue when using it bites you. > > Any other info on this? I've never heard of this before and I've never > seen an issue using leading zeroes on the minutes value. I don't have ready access to source at the moment, but I would expect (like the normal C I/O functions) it will be interpreted as octal. From feld at feld.me Tue Jun 12 14:48:48 2012 From: feld at feld.me (Mark Felder) Date: Tue Jun 12 14:48:54 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: <443960ppfu.fsf@be-well.ilk.org> References: <201206120506.q5C56L2H026673@mail.r-bonomi.com> <443960ppfu.fsf@be-well.ilk.org> Message-ID: On Tue, 12 Jun 2012 09:36:37 -0500, Lowell Gilbert wrote: > I don't have ready access to source at the moment, but I would expect > (like the normal C I/O functions) it will be interpreted as octal. Suppose we could always ask Paul Vixie :-) From mexas at bristol.ac.uk Tue Jun 12 14:56:02 2012 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Jun 12 14:56:09 2012 Subject: can't kill -9 Xorg In-Reply-To: <4FD7325D.2000506@beastielabs.net> References: <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> <20120612081306.GA25637@mech-cluster241.men.bris.ac.uk> <20120612082456.GA25893@mech-cluster241.men.bris.ac.uk> <4FD7325D.2000506@beastielabs.net> Message-ID: <20120612145553.GA38503@mech-cluster241.men.bris.ac.uk> On Tue, Jun 12, 2012 at 02:13:17PM +0200, Hans Ottevanger wrote: > On 06/12/12 10:24, Anton Shterenlikht wrote: > >On Tue, Jun 12, 2012 at 09:13:06AM +0100, Anton Shterenlikht wrote: > >>On Tue, Jun 12, 2012 at 12:07:06AM +0530, Subhro Sankha Kar wrote: > >>>Hello > >>> > >>>What happens if you run without a xorg.conf? Xorg has become pretty good > >>>at guessing correct settings these days. > >>> > >> > >>No change. > >>I removed /etc/X11/xorg.conf completely. > > > >Anyway, I can understand my X setup is fucked, no problem. > > > >What worries me more is the the fact that a process ignores > >kill -9. Doesn't it indicate a problem with the OS? > >I think potentially this is a security vulnerability. > > > > I had a similar issue with my desktop system a while ago, also using a > Radeon adaptor. In my case the system ended up with a frozen image or > black screen and was only accessible remotely. It appeared that the X > server took 100% of a CPU and was looping in the driver in kernel space > and thus unkillable. If a remember well a PCIE register seemed to be > inaccessible after returning from the screen saver and the driver kept > looping on this. > > I finally worked around the problem by removing the (barely documented) > option DynamicPM from my xorg.conf. This could have consequences for > power saving on a laptop however, but it could be worth trying. > > Kind regards, > > Hans Thank you for the explanation. I my case Option "DRI" "off" helped. With DRI off I get X working (nearly) as expected. However, I'm now thinking that DRI not working is perhaps a bug? I'm using xf86-video-ati-6.14.3_1 with Driver "radeon" VendorName "Advanced Micro Devices [AMD] nee ATI" BoardName "RS690M [Radeon X1200 Series]" Maybe I should ask in x11@? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From freebsd at edvax.de Tue Jun 12 17:07:12 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 12 17:07:19 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: References: <201206120506.q5C56L2H026673@mail.r-bonomi.com> Message-ID: <20120612190629.6a45cb11.freebsd@edvax.de> On Tue, 12 Jun 2012 08:29:02 -0500, Mark Felder wrote: > On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi > wrote: > > > Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- > > you > > are *strongly* encocuraged to remove them. Yes, that means numbers will > > not > > be column aligned, but it is a small price to pay to avoid the > > hair-tearing > > that =will= ensue when using it bites you. > > Any other info on this? I've never heard of this before and I've never > seen an issue using leading zeroes on the minutes value. There are some "specific interpretations" that _may_ be interpreted according to the C rules, e. g. prefix 0x- for hexadecimal or 08- for octal notation. For example, 083 != 83, just as 0x83 != 83. As it has been mentioned, spaces also have a significant meaning in crontabs, so they cannot be used everywhere to align data columns. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From lists.dan at gmail.com Tue Jun 12 17:21:33 2012 From: lists.dan at gmail.com (Dan Lists) Date: Tue Jun 12 17:21:40 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: <20120612190629.6a45cb11.freebsd@edvax.de> References: <201206120506.q5C56L2H026673@mail.r-bonomi.com> <20120612190629.6a45cb11.freebsd@edvax.de> Message-ID: On Tue, Jun 12, 2012 at 12:06 PM, Polytropon wrote: > On Tue, 12 Jun 2012 08:29:02 -0500, Mark Felder wrote: >> On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi >> wrote: >> >> > Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- >> > you >> > are *strongly* encocuraged to remove them. ?Yes, that means numbers will >> > not >> > be column aligned, but it is a small price to pay to avoid the >> > hair-tearing >> > that =will= ensue when using it bites you. >> >> Any other info on this? I've never heard of this before and I've never >> seen an issue using leading zeroes on the minutes value. > > There are some "specific interpretations" that _may_ be > interpreted according to the C rules, e. g. prefix 0x- > for hexadecimal or 08- for octal notation. For example, > 083 != 83, just as 0x83 != 83. As it has been mentioned, > spaces also have a significant meaning in crontabs, so > they cannot be used everywhere to align data columns. > The syntax of his crontab file is correct. Vixie cron does care about leading spaces, tabs, extra spaces, or leading zeros. Earlier versions of cron are much pickier about the crontab file. The cron logs show that it is starting his jobs at the correct times. It is far more likely that there is a problem with the scripts. A very common cause of problems with scripts run from cron is that they do not inherit your environment. Do the scripts run from the command line? If the do, then the problem is most likely something in your environment that the scripts need. From hans at beastielabs.net Tue Jun 12 17:29:37 2012 From: hans at beastielabs.net (Hans Ottevanger) Date: Tue Jun 12 17:29:48 2012 Subject: can't kill -9 Xorg In-Reply-To: <20120612145553.GA38503@mech-cluster241.men.bris.ac.uk> References: <20120611113135.GA99238@mech-cluster241.men.bris.ac.uk> <20120612081306.GA25637@mech-cluster241.men.bris.ac.uk> <20120612082456.GA25893@mech-cluster241.men.bris.ac.uk> <4FD7325D.2000506@beastielabs.net> <20120612145553.GA38503@mech-cluster241.men.bris.ac.uk> Message-ID: <4FD77C6C.8050702@beastielabs.net> On 06/12/12 16:55, Anton Shterenlikht wrote: > On Tue, Jun 12, 2012 at 02:13:17PM +0200, Hans Ottevanger wrote: >> On 06/12/12 10:24, Anton Shterenlikht wrote: >>> On Tue, Jun 12, 2012 at 09:13:06AM +0100, Anton Shterenlikht wrote: >>>> On Tue, Jun 12, 2012 at 12:07:06AM +0530, Subhro Sankha Kar wrote: >>>>> Hello >>>>> >>>>> What happens if you run without a xorg.conf? Xorg has become pretty good >>>>> at guessing correct settings these days. >>>>> >>>> >>>> No change. >>>> I removed /etc/X11/xorg.conf completely. >>> >>> Anyway, I can understand my X setup is fucked, no problem. >>> >>> What worries me more is the the fact that a process ignores >>> kill -9. Doesn't it indicate a problem with the OS? >>> I think potentially this is a security vulnerability. >>> >> >> I had a similar issue with my desktop system a while ago, also using a >> Radeon adaptor. In my case the system ended up with a frozen image or >> black screen and was only accessible remotely. It appeared that the X >> server took 100% of a CPU and was looping in the driver in kernel space >> and thus unkillable. If a remember well a PCIE register seemed to be >> inaccessible after returning from the screen saver and the driver kept >> looping on this. >> >> I finally worked around the problem by removing the (barely documented) >> option DynamicPM from my xorg.conf. This could have consequences for >> power saving on a laptop however, but it could be worth trying. >> >> Kind regards, >> >> Hans > > Thank you for the explanation. > I my case > > Option "DRI" "off" > > helped. With DRI off I get X working (nearly) as expected. > > However, I'm now thinking that DRI not > working is perhaps a bug? I'm using > xf86-video-ati-6.14.3_1 > with > > Driver "radeon" > VendorName "Advanced Micro Devices [AMD] nee ATI" > BoardName "RS690M [Radeon X1200 Series]" Here I have: Driver "radeon" VendorName "ATI Technologies Inc" BoardName "RV370 5B60 [Radeon X300 (PCIE)]" which actually is from an xorg.conf initially generated with "Xorg -configure" quite a while ago and only slightly edited afterwards. If I generate a new xorg.conf in this way it is virtually identical. As I understand from your original post you only got this problem after the png upgrade. Did Xorg work correctly before that time and did you have the same version of Xorg that you have now? The xorg-server-1.7.7_5,1 itself does not even depend on png, so you should be able to run Xorg without hanging kernel driver. You could do a forced rebuild of all X packages, also those that do depend on png. > > Maybe I should ask in x11@? > Not a bad idea at all, if you fully specify your problem (as you did in your original posting) and keep in mind that response times can be somewhat longer there. Kind regards, Hans From kline at thought.org Tue Jun 12 17:56:41 2012 From: kline at thought.org (Gary Kline) Date: Tue Jun 12 17:56:49 2012 Subject: any way to grab just One port to upgrade? In-Reply-To: References: <20120611220232.GA29749@thought.org> <20120612003110.GA2394@thought.org> Message-ID: <20120612175640.GA16926@thought.org> On Tue, Jun 12, 2012 at 12:34:44AM -0400, Robert Simmons wrote: > Date: Tue, 12 Jun 2012 00:34:44 -0400 > From: Robert Simmons > Subject: Re: any way to grab just One port to upgrade? > To: freebsd-questions@freebsd.org > > On Mon, Jun 11, 2012 at 8:31 PM, Gary Kline wrote: > > On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote: > >> Date: Mon, 11 Jun 2012 18:14:52 -0400 > >> From: Robert Simmons > >> Subject: Re: any way to grab just One port to upgrade? > >> To: freebsd-questions@freebsd.org > >> > >> On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline wrote: > >> > it is easy to cvs or cvsup ports and get a whole slew of ports in > >> > /usr/ports/distfiles, but too often, using portmaster [or another > >> > tool], I'll have only one of two ports that fail because they are > >> > either 1) broken, or 2) out of date. ?is there any way I can grab > >> > just the ones that fail to compile? ?I'm down to fewer than 50 > >> > ports. > >> > and wedged. > >> > >> You don't want to have /usr/ports out of sync. ?You want to let > >> cvsup/portsnap do it's thing. ?It's ideal to have the whole ports > >> collection up-to-date. ?You may want to start with a clean slate and > >> cvsup/portsnap a fresh copy of the ports collection if you think that > >> something is amiss. ?You can make a backup of /usr/ports for peace of > >> mind too. > >> > >> Also, can you please supply exactly what ports you're talking about > >> and what commands you are running to upgrade? ?Error output for the > >> ports you say are broken would be another good thing to supply. > > > > ? ? ? ?something in x11-toolkits/gtk20 blew up. ?SOOOO. > > ? ? ? ?lolngstoryshrt, I rebuilt from scratch [[ from the very > > ? ? ? ?beginning ]] around 2 hours ago. ?it Just died. ?here are > > ? ? ? ?the last 20 lines:: > > > > > > gmake[2]: Leaving directory > > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules' > > Making all in demos > > gmake[2]: Entering directory > > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' > > /usr/local/bin/gdk-pixbuf-csource --raw --build-list ? ? ? ? ? ?\ > > ? ? ? ?apple_red ?./apple-red.png ? ? ?\ > > ? ? ? ? ? ? ? ?gnome_foot ./gnome-foot.png ? ? \ > > ? ? ? ?> test-inline-pixbufs.h ? ? ? ? ? ? ? ? ? ? ? ? \ > > || (rm -f test-inline-pixbufs.h && false) > > failed to load "./apple-red.png": Couldn't recognize the image file > > format for file './apple-red.png' > > gmake[2]: *** [test-inline-pixbufs.h] Error 1 > > gmake[2]: Leaving directory > > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' > > gmake[1]: *** [all-recursive] Error 1 > > gmake[1]: Leaving directory > > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6' > > gmake: *** [all] Error 2 > > *** Error code 1 > > > > Stop in /usr/ports/x11-toolkits/gtk20. > > *** Error code 1 > > > > Stop in /usr/ports/x11-toolkits/gtk20. > > root@ethic:/tmp# > > > > ? ? ? ?unless this port is known to be broken, I'll cvsup the ports > > ? ? ? ?tree. > > That may not be necessary. I'm building gtk20 on a freshly installed > virtual machine with a freshly portsnap'd ports tree. I noticed the > following in the CVS logs: > CVS log for ports/x11-toolkits/gtk20/Makefile > Revision 1.256: download - view: text, markup, annotated - select for diffs > Fri Jun 1 05:25:47 2012 UTC (10 days, 22 hours ago) by dinoex > Branches: MAIN > CVS tags: HEAD > Diff to: previous 1.255: preferred, colored > Changes since revision 1.255: +1 -1 lines > - update png to 1.5.10 > > Since png just changed, and the error you encountered is "failed to > load "./apple-red.png": Couldn't recognize the image file", I think > you may have run into a bug. I'll find out in the morning when the > build is done. thanks much++. I can't understand how a *pmg file could fail .. but then all it takes is one byte.... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Voice By Computer (for Universal Access): http:/www.thought.org/vbc The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From ryanrfrederick at gmail.com Tue Jun 12 19:30:05 2012 From: ryanrfrederick at gmail.com (Ryan Frederick) Date: Tue Jun 12 19:30:11 2012 Subject: freebsd-update Not Recognizing Updated Custom Kernel for 9.0-RELEASE-p3 Message-ID: <4FD798B7.9000003@gmail.com> I have several FreeBSD 9 systems with custom compiled kernels. After using freebsd-update to go from 9.0-RELEASE-p2 to 9.0-RELEASE-p3 this morning I rebuilt the kernels. However after recompiling, installing, and rebooting with the custom kernels subsequent update checks using freebsd-update cron or freebsd-update fetch indicate that /boot/kernel/kernel (and only /boot/kernel/kernel) needs to be updated despite the custom kernel indicating 9.0-RELEASE-p3 in the output of uname -a. Ryan From ohartman at zedat.fu-berlin.de Tue Jun 12 19:32:01 2012 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Tue Jun 12 19:32:07 2012 Subject: FreeBSD 10/9: Lexar 64GB JumpDrive USB 2.0 isn't recognized anymore! Message-ID: <4FD79922.50106@zedat.fu-berlin.de> I have a Lexar 64GB USB 2.0 JumpDrive which worked in its "pristine" or "virgine" state very well. I used it yesterday, brand new, to fill it up with data. Some 30GB data got stored, I shut down the system (FreeBSD 10.0-CURRENT/amd64) and this morning, I put the USB drive out of the USB port (computer off) and took it to the office. At the office, neither a FreeBSD10.0-CURRENT box nor a FreeBSD 9.0-STABLE box (both moth recent buildworld) where able to recognize the drive! While the USB drive was recognized as /dev/da1s1 before, this time I see in the console something like this: ugen7.6: at usbus7 umass1: on usbus7 And nothing further anymore. On a Linux box (Suse) the USB drive can be read as well as on a Windows 7 box (I only read the content, I didn't write onto the USB drive on both systems). What is up? Since Windows and Linux can read/recognize the drive and FreeBSD not, I guess FreeBSD does have a problem with that kind of 64GB drive. I do not care of the data on the USB drive, so I'd like to GPART it. But without having a device node created, this is very unlikely to achieve. Any suggestions? Please CC my email, I'm not subscribing this specific list. Regards, Oliver -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120612/b5244a4e/signature.pgp From cwhiteh at onetel.com Tue Jun 12 19:35:12 2012 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Tue Jun 12 19:35:20 2012 Subject: note In-Reply-To: <20120612055355.d52f9943.freebsd@edvax.de> References: <20120612055355.d52f9943.freebsd@edvax.de> Message-ID: <4FD799E8.1000608@onetel.com> On 12/06/2012 04:53, Polytropon wrote: > On Mon, 11 Jun 2012 21:36:00 -0600, Arlen McIntyre wrote: >> How can I get FreeBSD on >> my other partition and have a dual OS system without the boot installation? > > Qustion part one: > > Prepare a USB stick with the FreeBSD "memstick edition". > You'll find instructions on how to do that on the FreeBSD > website, as well as the installation media. > > Preparation: Make sure you have _free_ disk space. This > means: Do not create any DOS partitions, just leave it > "empty" and let the installer perform the required tasks > of partitioning and formatting. > If you have XP on the other partition you will need to install FreeBSD using the "old style" MBR partitioning scheme. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-pre.html You might want to consider sticking with FreeBSD 8.3 which I think only supports MPR partitioning. FreeBSD 9.0 supports both MBR and the newer GPT scheme so you would have to work out how to choose during the installation. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html Chris From pwnedomina at gmail.com Tue Jun 12 19:38:29 2012 From: pwnedomina at gmail.com (pwnedomina) Date: Tue Jun 12 19:38:36 2012 Subject: text format In-Reply-To: <20120612102200.f5d0b981.freebsd@edvax.de> References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <4FD6A057.2070101@gmail.com> <20120612054431.b630e37a.freebsd@edvax.de> <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com> <20120612102200.f5d0b981.freebsd@edvax.de> Message-ID: <4FD7A937.5030607@gmail.com> On 12-06-2012 08:22, Polytropon wrote: > On Tue, 12 Jun 2012 09:06:07 +0100, i pwn wrote: >> on groff i've used this cmd to format the text >> groff -Tascii< normal.txt | sed 's/^/ /'$1> formatted.txt >> on nroff what would be the cmd? > Depending on your input data, I'd say the same command: > groff -Tascii< normal.txt> formatted.txt. But you need > to test this yourself with your input text format. > > See "man nroff" for details. > > For using roff macros, "man 7 mdoc" has a nice summary. > > > im only asking what cmd should i use to format an ascii text to be identical to that one, centered and aligned.. From bonomi at mail.r-bonomi.com Tue Jun 12 20:10:33 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Tue Jun 12 20:10:39 2012 Subject: text format In-Reply-To: <4FD7A937.5030607@gmail.com> Message-ID: <201206122011.q5CKB557038063@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Tue Jun 12 14:39:59 2012 > Date: Tue, 12 Jun 2012 20:40:23 +0000 > From: pwnedomina > To: Polytropon > Cc: freebsd-questions@freebsd.org > Subject: Re: text format > > On 12-06-2012 08:22, Polytropon wrote: > > On Tue, 12 Jun 2012 09:06:07 +0100, i pwn wrote: > >> on groff i've used this cmd to format the text > >> groff -Tascii< normal.txt | sed 's/^/ /'$1> formatted.txt > >> on nroff what would be the cmd? > > Depending on your input data, I'd say the same command: > > groff -Tascii< normal.txt> formatted.txt. But you need > > to test this yourself with your input text format. > > > > See "man nroff" for details. > > > > For using roff macros, "man 7 mdoc" has a nice summary. > > > > > > > im only asking what cmd should i use to format an ascii text to be > identical to that one, centered and aligned.. There *ISN'T* any simple command-line tool that will do what you want, all "automatically". You have to take the 'plain text' ASCII file, and embed 'mark-up' codes in it that describe *what* the desired actions are, and =where= the are to be applied. Then, and -ONLY- then, can you run the 'marked up' file through a 'formatter' function to produce the "pretty-printed', centered/aligned, output. There are basically -two- approaches to this kind of problem. One approach is a 'word processor', where you _interactively_ select` the visual effects you desire, and where to apply then. This includes programs like MS-Word, WordPerfect, OpenOffice, etc. The other approach is a 'text formatter' -- less intuitive than a 'word processor', but much better for large, _structured_, documents. In this situation, you embed codes that identify 'logical' units/sub-divisions of the document, and provide a 'style' specification as to how those various types of units should be rendered. A command-line program then takes the 'marked up' text, and the 'style' specification, and creates the 'formatted' output file. From matthew at FreeBSD.org Tue Jun 12 20:24:41 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Tue Jun 12 20:24:50 2012 Subject: text format In-Reply-To: <201206122011.q5CKB557038063@mail.r-bonomi.com> References: <201206122011.q5CKB557038063@mail.r-bonomi.com> Message-ID: <4FD7A57A.4050203@FreeBSD.org> On 12/06/2012 21:11, Robert Bonomi wrote: >> im only asking what cmd should i use to format an ascii text to be >> > identical to that one, centered and aligned.. > There *ISN'T* any simple command-line tool that will do what you want, > all "automatically". I dunno. 'fmt -c' looks pretty close to me. Seems to work best if you wrap the lines first, then center: % fmt 65 72 < lorem-ipsum.txt | fmt -c Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ac metus nisi. Praesent sit amet accumsan diam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam lobortis tortor vitae arcu pretium et hendrerit lectus semper. Pellentesque ante diam, dictum vel adipiscing vel, rutrum eget elit. Nam et metus nulla. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed convallis dui sit amet ligula imperdiet at tincidunt arcu euismod. Nullam posuere imperdiet est et mattis. Sed nunc leo, vehicula faucibus porttitor luctus, aliquam at tortor. Aliquam hendrerit condimentum nibh, eu interdum quam sodales id. Morbi aliquam fermentum lorem a molestie. Donec commodo odio a mauris elementum semper. Aliquam at massa vel magna vehicula consequat in a tortor. Proin ut est eu lectus aliquet blandit eget vel nulla. Donec risus dolor, tempor ut ultricies quis, adipiscing a dolor. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut adipiscing metus sed justo accumsan tempus. Ut sollicitudin aliquet lorem et faucibus. Maecenas vel metus ut diam luctus fermentum sollicitudin eu neque. Cras vitae ipsum sit amet justo aliquam placerat id consectetur urna. Pellentesque vitae mi eu lorem tincidunt feugiat. Quisque vel orci mi, nec ornare dolor. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120612/0ea0c65e/signature.pgp From jhs at berklix.com Tue Jun 12 20:51:11 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Tue Jun 12 20:51:19 2012 Subject: freebsd-update Not Recognizing Updated Custom Kernel for 9.0-RELEASE-p3 In-Reply-To: Your message "Tue, 12 Jun 2012 14:29:59 CDT." <4FD798B7.9000003@gmail.com> Message-ID: <201206122050.q5CKojv2090161@fire.js.berklix.net> Resend as I lost cc questions@ by mistake ---- Ryan Frederick wrote: > I have several FreeBSD 9 systems with custom compiled kernels. After > using freebsd-update to go from 9.0-RELEASE-p2 to 9.0-RELEASE-p3 this > morning I rebuilt the kernels. However after recompiling, installing, > and rebooting with the custom kernels subsequent update checks using > freebsd-update cron or freebsd-update fetch indicate that > /boot/kernel/kernel (and only /boot/kernel/kernel) needs to be updated > despite the custom kernel indicating 9.0-RELEASE-p3 in the output of > uname -a. Maybe freebsd-update is taking cognisance of recent posts to security-advisories@freebsd.org Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From ryanrfrederick at gmail.com Tue Jun 12 20:54:55 2012 From: ryanrfrederick at gmail.com (Ryan Frederick) Date: Tue Jun 12 20:55:21 2012 Subject: freebsd-update Not Recognizing Updated Custom Kernel for 9.0-RELEASE-p3 In-Reply-To: <4FD798B7.9000003@gmail.com> References: <4FD798B7.9000003@gmail.com> Message-ID: <4FD7AC9A.608@gmail.com> I realized I made a couple of wording/clarification errors in my original message. First just about all of these kernels are not custom but simply locally compiled with no custom modifications. Second the locally compiled kernels are all named GENERIC (no custom name). Ryan On 6/12/12 2:29 PM, Ryan Frederick wrote: > I have several FreeBSD 9 systems with custom compiled kernels. After > using freebsd-update to go from 9.0-RELEASE-p2 to 9.0-RELEASE-p3 this > morning I rebuilt the kernels. However after recompiling, installing, > and rebooting with the custom kernels subsequent update checks using > freebsd-update cron or freebsd-update fetch indicate that > /boot/kernel/kernel (and only /boot/kernel/kernel) needs to be updated > despite the custom kernel indicating 9.0-RELEASE-p3 in the output of > uname -a. > > Ryan From jhs at berklix.com Tue Jun 12 20:55:07 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Tue Jun 12 20:55:43 2012 Subject: FreeBSD 10/9: Lexar 64GB JumpDrive USB 2.0 isn't recognized anymore! In-Reply-To: Your message "Tue, 12 Jun 2012 21:31:46 +0200." <4FD79922.50106@zedat.fu-berlin.de> Message-ID: <201206122054.q5CKsfMf090296@fire.js.berklix.net> > I have a Lexar 64GB USB 2.0 JumpDrive which worked in its "pristine" or > "virgine" state very well. I used it yesterday, brand new, to fill it up > with data. Some 30GB data got stored, I shut down the system (FreeBSD > 10.0-CURRENT/amd64) and this morning, I put the USB drive out of the USB > port (computer off) and took it to the office. > > At the office, neither a FreeBSD10.0-CURRENT box nor a FreeBSD > 9.0-STABLE box (both moth recent buildworld) where able to recognize the > drive! While the USB drive was recognized as /dev/da1s1 before, this > time I see in the console something like this: > > ugen7.6: at usbus7 > umass1: on usb= > us7 > > And nothing further anymore. > > On a Linux box (Suse) the USB drive can be read as well as on a Windows > 7 box (I only read the content, I didn't write onto the USB drive on > both systems). > > What is up? Since Windows and Linux can read/recognize the drive and > FreeBSD not, I guess FreeBSD does have a problem with that kind of 64GB > drive. > > I do not care of the data on the USB drive, so I'd like to GPART it. But > without having a device node created, this is very unlikely to achieve. > > Any suggestions? > > Please CC my email, I'm not subscribing this specific list. Think hardware power cabling bad socket, Power available from socket. Power doubler (twin plug) cables. external powered hub I have some towers here cant power some discs. I have one powered hub here, has an extremely weak power supply, Its not always the OS that bites you, but hardware too. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From bsam at passap.ru Tue Jun 12 20:55:11 2012 From: bsam at passap.ru (Boris Samorodov) Date: Tue Jun 12 20:55:45 2012 Subject: mail server In-Reply-To: References: Message-ID: <4FD7ACAC.2020705@passap.ru> 11.06.2012 16:33, Bahaa Babekir ?????: > I want to sent me configuration to build mail server step by step I'd suggest to begin with: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From eam1edward at gmail.com Tue Jun 12 20:57:00 2012 From: eam1edward at gmail.com (Edward M) Date: Tue Jun 12 20:59:26 2012 Subject: text format In-Reply-To: <4FD7A937.5030607@gmail.com> References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <4FD6A057.2070101@gmail.com> <20120612054431.b630e37a.freebsd@edvax.de> <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com> <20120612102200.f5d0b981.freebsd@edvax.de> <4FD7A937.5030607@gmail.com> Message-ID: <4FD7AE3A.9020404@gmail.com> On 06/12/2012 01:40 PM, pwnedomina wrote: > to format an ascii text to be identical to that one, centered and > aligned.. would not that require the use of HTML? From eam1edward at gmail.com Tue Jun 12 21:08:03 2012 From: eam1edward at gmail.com (Edward M) Date: Tue Jun 12 21:08:11 2012 Subject: text format In-Reply-To: <4FD7AE3A.9020404@gmail.com> References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <4FD6A057.2070101@gmail.com> <20120612054431.b630e37a.freebsd@edvax.de> <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com> <20120612102200.f5d0b981.freebsd@edvax.de> <4FD7A937.5030607@gmail.com> <4FD7AE3A.9020404@gmail.com> Message-ID: <4FD7B0D1.70103@gmail.com> On 06/12/2012 02:01 PM, Edward M wrote: > On 06/12/2012 01:40 PM, pwnedomina wrote: >> to format an ascii text to be identical to that one, centered and >> aligned.. > > > would not that require the use of HTML? > Oops... just dawn on me you may be trying to print an ascii file and may not be trying to ceate a website to look like that. so disregard HTML part. if that is the case:-[ From lars at larseighner.com Tue Jun 12 21:34:15 2012 From: lars at larseighner.com (Lars Eighner) Date: Tue Jun 12 21:34:22 2012 Subject: text format In-Reply-To: <4FD7A937.5030607@gmail.com> References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <4FD6A057.2070101@gmail.com> <20120612054431.b630e37a.freebsd@edvax.de> <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com> <20120612102200.f5d0b981.freebsd@edvax.de> <4FD7A937.5030607@gmail.com> Message-ID: On Tue, 12 Jun 2012, pwnedomina wrote: > On 12-06-2012 08:22, Polytropon wrote: >> On Tue, 12 Jun 2012 09:06:07 +0100, i pwn wrote: >>> on groff i've used this cmd to format the text >>> groff -Tascii< normal.txt | sed 's/^/ /'$1> formatted.txt >>> on nroff what would be the cmd? >> Depending on your input data, I'd say the same command: >> groff -Tascii< normal.txt> formatted.txt. But you need >> to test this yourself with your input text format. >> >> See "man nroff" for details. >> >> For using roff macros, "man 7 mdoc" has a nice summary. >> >> >> > im only asking what cmd should i use to format an ascii text to be identical > to that one, centered and aligned.. I do not believe there is one. It seems to me there were some DOS "amusement" programs that would do this, and you might find one and run it in dosbox. There is very little demand for fully justified monospaced text because it is extremely ugly, hard to read, and error prone. Nonetheless, OpenOffice appears able to do this and so can MS-Word. I suspect many others can without the necessity of writing your own macro. There may be modules in perl and other scripting languages that might be helpful. Rivers are very difficult to avoid, but as Matthew suggests, you might start with fmt and fix up the output with whatever scripting language you know. If you could find a good hyphenation routine you might get better results. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From ihsan.junaidi at gmail.com Tue Jun 12 21:53:20 2012 From: ihsan.junaidi at gmail.com (Ihsan Junaidi Ibrahim) Date: Tue Jun 12 21:53:29 2012 Subject: IPMI SoL oddity on 9.0 Message-ID: <5AA101A1-CE57-4F41-A6F1-4049367FBC6D@gmail.com> Folks, I'm hitting a roadblock on getting IPMI SoL up and running on my Supermicro box. It's a X9SCL-F with a dedicated IPMI LAN. I've installed ipmitool and set the necessary console redirects (COM1, COM2 and SoL) in the BIOS. The new AMI BIOS does not seem to indicate the SoL is sharing resources with either one of the two COM ports. All 3 redirect speed is 9600. Serial console works, as far as COM ports are concerned. The BIOS, the boot, loader, kernel messages and TTY are all redirected to the COMs. However SoL only works with the BIOS, boot and reading loader defaults. It will get stuck once it enters the spinning kernel boot and it will stay there. I've tried playing with 0x10 uart flags in device.hints alternating between uart0 and uart1 also to no available in hoping that the SoL port is sharing with either one of the two COMs. Regardless SoL simply will not work entering the kernel onwards. Attached are what I believe the configs relevant to my problem. inf02-kul# cat /boot.config -P inf02-kul# cat /boot/loader.conf autoboot_delay="1" console="comconsole" boot_serial="" boot_multicons="" inf02-kul# grep uart /var/run/dmesg.boot uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 inf02-kul# grep ttyu /etc/ttys ttyu0 "/usr/libexec/getty std.9600" vt100 on secure ttyu1 "/usr/libexec/getty std.9600" vt100 on secure ttyu2 "/usr/libexec/getty std.9600" vt100 on secure ttyu3 "/usr/libexec/getty std.9600" dialup off secure inf02-kul# ipmitool sol info Set in progress : set-complete Enabled : true Force Encryption : false Force Authentication : false Privilege Level : USER Character Accumulate Level (ms) : 5 Character Send Threshold : 1 Retry Count : 0 Retry Interval (ms) : 0 Volatile Bit Rate (kbps) : 9.6 Non-Volatile Bit Rate (kbps) : 9.6 Payload Channel : 1 (0x01) Payload Port : 623 inf02-kul# cat /var/run/dmesg.boot Copyright (c) 1992-2012 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 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 CPU: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (3292.59-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306a9 Family = 6 Model = 3a Stepping = 9 Features=0xbfebfbff Features2=0x77bae3ff> AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 8219156480 (7838 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: 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 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: reservation of 67, 1 (4) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 1.1 on pci0 pci2: on pcib2 igb0: port 0xe020-0xe03f mem 0xf7a20000-0xf7a3ffff,0xf7800000-0xf79fffff,0xf7a44000-0xf7a47fff irq 17 at device 0.0 on pci2 igb0: Using MSIX interrupts with 5 vectors igb0: Ethernet address: 00:25:90:6c:25:00 igb1: port 0xe000-0xe01f mem 0xf7a00000-0xf7a1ffff,0xf7400000-0xf75fffff,0xf7a40000-0xf7a43fff irq 18 at device 0.1 on pci2 igb1: Using MSIX interrupts with 5 vectors igb1: Ethernet address: 00:25:90:6c:25:01 em0: port 0xf020-0xf03f mem 0xf7100000-0xf711ffff,0xf7125000-0xf7125fff irq 20 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Setup of Shared code failed device_attach: em0 attach returned 6 ehci0: mem 0xf7124000-0xf71243ff irq 16 at device 26.0 on pci0 usbus0: EHCI version 1.0 usbus0: on ehci0 pcib3: irq 16 at device 28.0 on pci0 pci3: on pcib3 pcib4: irq 16 at device 28.4 on pci0 pci4: on pcib4 em1: port 0xd000-0xd01f mem 0xf7c00000-0xf7c1ffff,0xf7c20000-0xf7c23fff irq 16 at device 0.0 on pci4 em1: Using MSIX interrupts with 3 vectors em1: Ethernet address: 00:25:90:77:35:08 ehci1: mem 0xf7123000-0xf71233ff irq 23 at device 29.0 on pci0 usbus1: EHCI version 1.0 usbus1: on ehci1 pcib5: at device 30.0 on pci0 pci5: on pcib5 vgapci0: mem 0xf5000000-0xf5ffffff,0xf7000000-0xf7003fff,0xf6800000-0xf6ffffff irq 19 at device 3.0 on pci5 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf000-0xf01f mem 0xf7122000-0xf71227ff irq 19 at device 31.2 on pci0 ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier not 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 ahcich4: at channel 4 on ahci0 ahcich5: at channel 5 on ahci0 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. 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 Event timer "i8254" frequency 1193182 Hz quality 100 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 ipmi0: port 0xca2,0xca3 on acpi0 ipmi0: KCS mode found at io 0xca2 on acpi ipmi1: on isa0 device_attach: ipmi1 attach returned 16 ipmi1: on isa0 device_attach: ipmi1 attach returned 16 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range 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 Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ipmi0: IPMI device rev. 1, firmware rev. 1.64, version 2.0 ipmi0: Number of channels 2 ipmi0: Attached watchdog ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-8 SATA 3.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 57241MB (117231408 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ahcich2 bus 0 scbus2 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad8 SMP: AP CPU #1 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered Root mount waiting for: usbus1 usbus0 ugen0.2: at usbus0 uhub2: on usbus0 ugen1.2: at usbus1 uhub3: on usbus1 Root mount waiting for: usbus1 usbus0 uhub2: 6 ports with 6 removable, self powered uhub3: 6 ports with 6 removable, self powered ugen0.3: at usbus0 ums0: on usbus0 ums0: 3 buttons and [Z] coordinates ID=0 ukbd0: on usbus0 kbd2 at ukbd0 Trying to mount root from ufs:/dev/ada0p2 [rw]... From jerrymc at msu.edu Tue Jun 12 23:26:18 2012 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Jun 12 23:26:26 2012 Subject: mail server In-Reply-To: <4FD7ACAC.2020705@passap.ru> References: <4FD7ACAC.2020705@passap.ru> Message-ID: <20120612232616.GA68438@jerrymc.net> On Wed, Jun 13, 2012 at 12:55:08AM +0400, Boris Samorodov wrote: > 11.06.2012 16:33, Bahaa Babekir ??????????: > > > I want to sent me configuration to build mail server step by step > > I'd suggest to begin with: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html Yes, read the handbook first and then ask specific questions. You need to do your homework. This shotgun style of question will not get much useful response. But, making a mail server with FreeBSD is so easy. Unless you want to do something weird or exotic, then FreeBSD already comes with a good mail server all installed. All you have to do it enable it. Put sendmail_enable="yes" in /etc/rc.conf and the next time you reboot you have the most common mail server running. It will receive and send Email just fine. Then you might want to install mutt from /usr/ports/mail/mutt or some other Email client to help you read your Email. Of course, you could just use the already installed 'mail' utility. If you must have a web-based Email reader, try installing squirrelmail. ////jerry > > -- > WBR, Boris Samorodov (bsam) > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From rsimmons0 at gmail.com Wed Jun 13 00:20:46 2012 From: rsimmons0 at gmail.com (Robert Simmons) Date: Wed Jun 13 00:20:53 2012 Subject: any way to grab just One port to upgrade? In-Reply-To: <20120612175640.GA16926@thought.org> References: <20120611220232.GA29749@thought.org> <20120612003110.GA2394@thought.org> <20120612175640.GA16926@thought.org> Message-ID: On Tue, Jun 12, 2012 at 1:56 PM, Gary Kline wrote: > On Tue, Jun 12, 2012 at 12:34:44AM -0400, Robert Simmons wrote: >> Date: Tue, 12 Jun 2012 00:34:44 -0400 >> From: Robert Simmons >> Subject: Re: any way to grab just One port to upgrade? >> To: freebsd-questions@freebsd.org >> >> On Mon, Jun 11, 2012 at 8:31 PM, Gary Kline wrote: >> > On Mon, Jun 11, 2012 at 06:14:52PM -0400, Robert Simmons wrote: >> >> Date: Mon, 11 Jun 2012 18:14:52 -0400 >> >> From: Robert Simmons >> >> Subject: Re: any way to grab just One port to upgrade? >> >> To: freebsd-questions@freebsd.org >> >> >> >> On Mon, Jun 11, 2012 at 6:02 PM, Gary Kline wrote: >> >> > it is easy to cvs or cvsup ports and get a whole slew of ports in >> >> > /usr/ports/distfiles, but too often, using portmaster [or another >> >> > tool], I'll have only one of two ports that fail because they are >> >> > either 1) broken, or 2) out of date. ?is there any way I can grab >> >> > just the ones that fail to compile? ?I'm down to fewer than 50 >> >> > ports. >> >> > and wedged. >> >> >> >> You don't want to have /usr/ports out of sync. ?You want to let >> >> cvsup/portsnap do it's thing. ?It's ideal to have the whole ports >> >> collection up-to-date. ?You may want to start with a clean slate and >> >> cvsup/portsnap a fresh copy of the ports collection if you think that >> >> something is amiss. ?You can make a backup of /usr/ports for peace of >> >> mind too. >> >> >> >> Also, can you please supply exactly what ports you're talking about >> >> and what commands you are running to upgrade? ?Error output for the >> >> ports you say are broken would be another good thing to supply. >> > >> > ? ? ? ?something in x11-toolkits/gtk20 blew up. ?SOOOO. >> > ? ? ? ?lolngstoryshrt, I rebuilt from scratch [[ from the very >> > ? ? ? ?beginning ]] around 2 hours ago. ?it Just died. ?here are >> > ? ? ? ?the last 20 lines:: >> > >> > >> > gmake[2]: Leaving directory >> > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/modules' >> > Making all in demos >> > gmake[2]: Entering directory >> > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' >> > /usr/local/bin/gdk-pixbuf-csource --raw --build-list ? ? ? ? ? ?\ >> > ? ? ? ?apple_red ?./apple-red.png ? ? ?\ >> > ? ? ? ? ? ? ? ?gnome_foot ./gnome-foot.png ? ? \ >> > ? ? ? ?> test-inline-pixbufs.h ? ? ? ? ? ? ? ? ? ? ? ? \ >> > || (rm -f test-inline-pixbufs.h && false) >> > failed to load "./apple-red.png": Couldn't recognize the image file >> > format for file './apple-red.png' >> > gmake[2]: *** [test-inline-pixbufs.h] Error 1 >> > gmake[2]: Leaving directory >> > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6/demos' >> > gmake[1]: *** [all-recursive] Error 1 >> > gmake[1]: Leaving directory >> > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.24.6' >> > gmake: *** [all] Error 2 >> > *** Error code 1 >> > >> > Stop in /usr/ports/x11-toolkits/gtk20. >> > *** Error code 1 >> > >> > Stop in /usr/ports/x11-toolkits/gtk20. >> > root@ethic:/tmp# >> > >> > ? ? ? ?unless this port is known to be broken, I'll cvsup the ports >> > ? ? ? ?tree. >> >> That may not be necessary. ?I'm building gtk20 on a freshly installed >> virtual machine with a freshly portsnap'd ports tree. ?I noticed the >> following in the CVS logs: >> CVS log for ports/x11-toolkits/gtk20/Makefile >> Revision 1.256: download - view: text, markup, annotated - select for diffs >> Fri Jun 1 05:25:47 2012 UTC (10 days, 22 hours ago) by dinoex >> Branches: MAIN >> CVS tags: HEAD >> Diff to: previous 1.255: preferred, colored >> Changes since revision 1.255: +1 -1 lines >> - update png to 1.5.10 >> >> Since png just changed, and the error you encountered is "failed to >> load "./apple-red.png": Couldn't recognize the image file", I think >> you may have run into a bug. ?I'll find out in the morning when the >> build is done. > > > ? ? ? ?thanks much++. ?I can't understand how a *pmg file could > ? ? ? ?fail .. but then all it takes is one byte.... Well, I am unable to reproduce the build failure, so I suggest basically reproducing my environment in your own. Backup your ports tree (mv ports ports.old is good if you have space). Then backup the directory with your cvsup data (the checkouts files). Run your cvsup to get a fresh copy of the ports tree. Perform your upgrades again with portmaster, or whatever you would like to use. See if this doesn't solve your problem. From will at worrbase.com Wed Jun 13 01:13:38 2012 From: will at worrbase.com (William Orr) Date: Wed Jun 13 01:13:45 2012 Subject: Lost /var/db/pkg Message-ID: Hello, I had a hard disk failure some time ago, and I ended up losing /var/db/pkg/ and everything under it (before you say I should've been backing it up, I know, I was actually doing an initial full when this happened). Is there a way I can restore it, or at least manually add entries I know for sure about? Thanks, Will Orr (Please cc me on the replies, as I'm not subscribed to the list) From sales at pingbrother.com Wed Jun 13 01:30:08 2012 From: sales at pingbrother.com (PingBrother Networking) Date: Wed Jun 13 01:30:17 2012 Subject: NO SUBJECT Message-ID: is watching your devices - MONITORING - CONTROL - WATCHDOG Dear network expert, We would like to introduce our new low cost, but high reliable industry POE switch model: EPIW114 This is suitable for standard or non standard POE IP cameras, or other POE devices and provides many other remote monitoring, control, and watchdog functions. Of course all other earlier models are also available. Please see our features comparsion table, or to learn more watch our video presentation. Become our partner! We have special conditions for system integrators, wholesalers and distributors. For further details and order information feel free to contact us at sales@pingbrother.com Features of EPIW114 POE switch for standard or passive-POE devices Manageable POE power Management of any devices by contact outlets Monitoring with measuring of the Inpout voltage Internal temperature Manageable automatic watchdog functions Watched events: Lost ping of any host Faulty http answer of any host Automatic watchdog responses: Turn ON/OFF/RESET of the POE power Control of any other device by contact outlets Email warning Free management software to remotely control several devices in one clear GUI Robust industrial design and construction Broperator is our free managenent software It is suitable for all PingBrother devices. Using this application you can have an overview of the measured temperatures, consumption and power supply values and channel statuses in hourly, daily, weekly, monthly and yearly breakdown. You can view the log entries for specific devices, and you can also switch the status of the channels. If you operate a larger network, this little software application can be an essential tool for you to remotely manage up to hundreds of devices sorted by various field or logical groups on a clear interface. To learn more or contact us: www.pingbrother.com sales@pingbrother.com Tel: +3615999099 Regards, Mate Horvath sales engineer We have found your email address on the Internet. It is not necessary to unsubscribe. If you do not answer us, we will not send email anymore to you. PingBrother is a 4 port industrial 10/100 passive POE ethernet switch and IP watchdog with built in web based GUI. It is an intelligent device, which watches a lot of qualities of its environment, such as input voltage, temperature, current consumption of the connected POE devices, operability of any network devices (ping, http availability), water leakage or condensation. It gives a user defined response, for example turns off /on or reset the power of the POE ethernet ports, controls any connected device by its relay contact, and/or sends an email. PingBrother can work on nearly any low voltage (8-56V DC or 9-42V AC), and can distribute its input power to any kind of connected standard or non standard POE devices (PD). PingBrother can manage other, non-IP devices through the relay contacts connected to the terminal blocks. 012 From Sukoga at webmasters.com Wed Jun 13 01:54:09 2012 From: Sukoga at webmasters.com (Sukoga) Date: Wed Jun 13 01:54:23 2012 Subject: A lire !!!, Moteur de recherche Sukoga Message-ID: <20120612231127.5367.qmail@ks25428.kimsufi.com> Sukoga.com est un moteur de recherche qui permet d'effectuer des recherches sur les th?mes suivants : web, sport, ebay, pdf, forums, images, twitter, video, wiki, news et bien plus encore. La recherche d'informations sur sukoga.com est tr?s rapide et simplifi?e. Sukoga est multilingue et disponible sur mobile. Sur ce lien : http://www.sukoga.com/ From freebsd at edvax.de Wed Jun 13 06:11:24 2012 From: freebsd at edvax.de (Polytropon) Date: Wed Jun 13 06:11:33 2012 Subject: text format In-Reply-To: References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <4FD6A057.2070101@gmail.com> <20120612054431.b630e37a.freebsd@edvax.de> <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com> <20120612102200.f5d0b981.freebsd@edvax.de> <4FD7A937.5030607@gmail.com> Message-ID: <20120613081121.9efe53d5.freebsd@edvax.de> On Tue, 12 Jun 2012 16:32:40 -0500 (CDT), Lars Eighner wrote: > On Tue, 12 Jun 2012, pwnedomina wrote: > > > On 12-06-2012 08:22, Polytropon wrote: > >> On Tue, 12 Jun 2012 09:06:07 +0100, i pwn wrote: > >>> on groff i've used this cmd to format the text > >>> groff -Tascii< normal.txt | sed 's/^/ /'$1> formatted.txt > >>> on nroff what would be the cmd? > >> Depending on your input data, I'd say the same command: > >> groff -Tascii< normal.txt> formatted.txt. But you need > >> to test this yourself with your input text format. > >> > >> See "man nroff" for details. > >> > >> For using roff macros, "man 7 mdoc" has a nice summary. > >> > >> > >> > > im only asking what cmd should i use to format an ascii text to be identical > > to that one, centered and aligned.. Depending on what your actual text input is (no markup, plain ASCII text), this _should_ work: groff -Tascii < normal.txt > formatted.txt But _you_ need to try yourself and _maybe_ adjust your input accordingly. Also consider using the "fmt" program as it has been suggested for "document preparation". > I do not believe there is one. It seems to me there were some DOS > "amusement" programs that would do this, and you might find one and run it > in dosbox. I know that "Context Pro" can do this. Also "WordStar" or "TP" are able to apply margins and align text to "justify" ("solid column"). > There is very little demand for fully justified monospaced text > because it is extremely ugly, hard to read, and error prone. Nonetheless, > OpenOffice appears able to do this and so can MS-Word. I suspect many > others can without the necessity of writing your own macro. There may be > modules in perl and other scripting languages that might be helpful. It's even possible to search the web for a simple LaTeX enclosing and put it into that, but then we leave the domain of ASCII text in the output. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From brian at brianwhalen.net Wed Jun 13 06:17:10 2012 From: brian at brianwhalen.net (Brian W.) Date: Wed Jun 13 06:17:16 2012 Subject: P5-FuzzyOcr port Message-ID: Pkg_add -r can't find a package for this; I presume this is deliberate because of the unmaintained status of fuzzyocr? Brian From matthew at FreeBSD.org Wed Jun 13 06:27:35 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Wed Jun 13 06:27:43 2012 Subject: Lost /var/db/pkg In-Reply-To: References: Message-ID: <4FD8304C.7000004@FreeBSD.org> On 13/06/2012 02:03, William Orr wrote: > I had a hard disk failure some time ago, and I ended up losing > /var/db/pkg/ and everything under it (before you say I should've been > backing it up, I know, I was actually doing an initial full when this > happened). Is there a way I can restore it, or at least manually add > entries I know for sure about? Reinstall all the ports on your system? Since you've lost /var/db/pkg, you won't have a handy record of what the necessary packages are. You can get a long way by starting with ports you want directly (eg. firefox) and reinstalling all of their dependencies. It's unlikely to be completely accurate, and the system will probably have odd little issues with normal ports maintenance going on. Perhaps the most effective procedure would be to wipe out the contents of /usr/local and /compat/linux and just start again from scratch. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120613/cb68ae7e/signature.pgp From freebsd at edvax.de Wed Jun 13 06:27:51 2012 From: freebsd at edvax.de (Polytropon) Date: Wed Jun 13 06:28:02 2012 Subject: P5-FuzzyOcr port In-Reply-To: References: Message-ID: <20120613082640.49e03b75.freebsd@edvax.de> On Tue, 12 Jun 2012 23:17:08 -0700, Brian W. wrote: > Pkg_add -r can't find a package for this; I presume this is deliberate > because of the unmaintained status of fuzzyocr? Seems there is no precompiled package (see the package location ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/ or whatever matches your platform and OS version). But the ports p5-FuzzyOcr and p5-FuzzyOcr-devel are still present (at least in my not up-to-date ports tree) - have you tried installing from a port instead? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From grarpamp at gmail.com Wed Jun 13 07:08:17 2012 From: grarpamp at gmail.com (grarpamp) Date: Wed Jun 13 07:08:24 2012 Subject: Many open branches = excess FreeBSD project work? Message-ID: We talk about release dates and always slippage and effect on downstream in other thread. But maybe some causes and even just related efficiency thing is: FreeBSD officially maintaining right now [1]: - G HEAD - G RELENG_9 - S RELENG_9_0 - G RELENG_8 - S RELENG_8_3 - S RELENG_8_2 - S RELENG_8_1 - G RELENG_7 - S RELENG_7_4 Woah!?!? Seem a lot of [G]eneral dev and [S]ecurity branches open at once. It seem crazy, and much extra work for whole FreeBSD project. Maybe some ways out there to reduce number of open trees/work? And enhance quality of releases or something in result. Suggest maybe making just two rolling RELENG (features, stable). Features be good for adopters and fine polishing post dev teams. Stable be amazing good production quality all downstream want. Then short live security/bug (only maintain till next from branch) releases from both (these be the formal releases). Focus be on quality level and first row left to right movement (timing) of feature sets. Second row past Xs1 be just closed snaps in time. HEAD -> Features ----------> Stable +- Fs1 x Fs2 x Fs3 +- Ss1 x Ss2 x Ss3 Similar to: Do a horizontal collapse two below rows into formal branches... 2.2.x, 4.x, 8.x = good (stable) other branch.x = intermediate, not maintain worthy (features) Today FreeBSD think it have to maintain nine trains (aka: rly, wtf)? I say with some focus tuning tomorrow it does not :) And just document another project ways (not make any imply from it): https://www.youtube.com/watch?v=i7pkyDUX5uM [1] http://www.freebsd.org/releng/index.html From guru at unixarea.de Wed Jun 13 07:12:25 2012 From: guru at unixarea.de (Matthias Apitz) Date: Wed Jun 13 07:12:32 2012 Subject: Lost /var/db/pkg In-Reply-To: <4FD8304C.7000004@FreeBSD.org> References: <4FD8304C.7000004@FreeBSD.org> Message-ID: <20120613071213.GA1231@tiny.Sisis.de> El d?a Wednesday, June 13, 2012 a las 07:16:44AM +0100, Matthew Seaman escribi?: > On 13/06/2012 02:03, William Orr wrote: > > I had a hard disk failure some time ago, and I ended up losing > > /var/db/pkg/ and everything under it (before you say I should've been > > backing it up, I know, I was actually doing an initial full when this > > happened). Is there a way I can restore it, or at least manually add > > entries I know for sure about? > > Reinstall all the ports on your system? Since you've lost /var/db/pkg, > you won't have a handy record of what the necessary packages are. You > can get a long way by starting with ports you want directly (eg. > firefox) and reinstalling all of their dependencies. > > It's unlikely to be completely accurate, and the system will probably > have odd little issues with normal ports maintenance going on. Perhaps > the most effective procedure would be to wipe out the contents of > /usr/local and /compat/linux and just start again from scratch. The later is the only way: wipe out /usr/local and /compat/linux because many ports during the intent of 'make install' will check for files there and do nothing for ports they depend on because they 'think' that the port on which they depend on is installed already. Without this you will never ever get a correct /var/db/pkg. matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From m.seaman at infracaninophile.co.uk Wed Jun 13 07:25:04 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Jun 13 07:25:10 2012 Subject: P5-FuzzyOcr port In-Reply-To: References: Message-ID: <4FD8403D.7080808@infracaninophile.co.uk> On 13/06/2012 07:17, Brian W. wrote: > Pkg_add -r can't find a package for this; I presume this is deliberate > because of the unmaintained status of fuzzyocr? Not directly. As many pkgs as possible are built from ports, irrespective of who the maintainers are. An unmaintained port is however less likely to have any issues attended to promptly. If you want to see exactly why no pkg exists, use portsmon: http://portsmon.freebsd.org/portoverview.py?category=mail&portname=p5-FuzzyOcr and the reason is that the graphics/giflib port -- one of the dependencies -- failed to work properly. On 9.0-RELEASE it shows the problem is to do with XML validation, and there's an open PR about that which is assigned to the graphics/giflib maintainer. There should be a fix fairly soon. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120613/970c0cc5/signature.pgp From jmc-freebsd2 at milibyte.co.uk Wed Jun 13 08:51:47 2012 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Wed Jun 13 08:52:16 2012 Subject: Making a bootable backup (hard)disk... how? In-Reply-To: <48302.1339366497@tristatelogic.com> References: <48302.1339366497@tristatelogic.com> Message-ID: <201206130951.31804.jmc-freebsd2@milibyte.co.uk> On Sunday 10 June 2012 23:14:57 Ronald F. Guilmette wrote: > Well, nevermind about that. ?I get the general idea, i.e. that dumping > at level N causes dumping of everything that has changed since the last > dump at level N-1. A point to be aware of is that if you restore from a full backup followed by one or more incrementals then you will restore ALL files which were present when each dump was made - including any files which have been intentionally deleted since the dump was created. This isn't normally a problem but there might be some obscure situations where it could be. -- Mike Clarke From smithi at nimnet.asn.au Wed Jun 13 08:56:41 2012 From: smithi at nimnet.asn.au (Ian Smith) Date: Wed Jun 13 08:56:48 2012 Subject: how to allow by MAC In-Reply-To: <863961ze51.fsf@red.stonehenge.com> References: <20120610120041.4D0F610657C3@hub.freebsd.org> <20120611025332.N46641@sola.nimnet.asn.au> <863961ze51.fsf@red.stonehenge.com> Message-ID: <20120613182325.K46641@sola.nimnet.asn.au> On Mon, 11 Jun 2012 15:18:18 -0700, Randal L. Schwartz wrote: > >>>>> "Bill" == Bill Yuan writes: > Bill> I want to create a white list MAC address, Only the machine which it's MAC > Bill> in the white list will be allowed, all others will be blocked. > > Bad idea. Since (a) every MAC address that *is* allowed is transmitted > in the clear and (b) it's trivial to spoof a MAC address. > > This. is. no. security. Indeed, that's right Randal. But I got the impression from Bill's mails that this is more likely just something inside his internal network. > Please stop even trying. Well I don't think learning how to use ipfw properly at layer2 is a bad idea in itself, and I wouldn't want to discourage anyone from that. For some years I ran a filtering transparent bridge with ipfw + dummynet for a small network of about 20 mostly W98, XP and Mac boxes sharing one slow ADSL gateway between various assorted community groups (talk about herding cats! :) and MAC filtering was one of the handiest tools when some box or other got owned (again!) by some virus and started spewing spam, provider complains and/or cuts access .. you know the deal. In that sort of environment, none of the punters had any clue about forging MACs or anything vaguely like that, and it stopped people randomly plugging boxes into the network. Horses for courses. I replied in more detail to another from Bill privately, copy follows. cheers, Ian From ihsan.junaidi at gmail.com Wed Jun 13 10:33:43 2012 From: ihsan.junaidi at gmail.com (Ihsan Junaidi Ibrahim) Date: Wed Jun 13 10:33:51 2012 Subject: IPMI SoL oddity on 9.0 In-Reply-To: <5AA101A1-CE57-4F41-A6F1-4049367FBC6D@gmail.com> References: <5AA101A1-CE57-4F41-A6F1-4049367FBC6D@gmail.com> Message-ID: <84702286-89A2-41AA-B004-0B26EA5B11CD@gmail.com> I've managed to get SoL to work. Turned out the IPMI is utilizing uart2 on my box so modified loader.conf so uart2 is configured to be the serial console port. hint.uart.0.flags="0x0" hint.uart.2.at="isa" hint.uart.2.port="0x3E8" hint.uart.2.irq="10" hint.uart.2.flags="0x10" The handbook does not seem to indicate this very clearly but well, now that it's working, I'm a happy man. ihsan On Jun 13, 2012, at 5:53 AM, Ihsan Junaidi Ibrahim wrote: > Folks, > > I'm hitting a roadblock on getting IPMI SoL up and running on my Supermicro box. It's a X9SCL-F with a dedicated IPMI LAN. > > I've installed ipmitool and set the necessary console redirects (COM1, COM2 and SoL) in the BIOS. The new AMI BIOS does not seem to indicate the SoL is sharing resources with either one of the two COM ports. All 3 redirect speed is 9600. > > Serial console works, as far as COM ports are concerned. The BIOS, the boot, loader, kernel messages and TTY are all redirected to the COMs. > > However SoL only works with the BIOS, boot and reading loader defaults. > > It will get stuck once it enters the spinning kernel boot and it will stay there. > > I've tried playing with 0x10 uart flags in device.hints alternating between uart0 and uart1 also to no available in hoping that the SoL port is sharing with either one of the two COMs. > > Regardless SoL simply will not work entering the kernel onwards. > > Attached are what I believe the configs relevant to my problem. > > inf02-kul# cat /boot.config > -P > > inf02-kul# cat /boot/loader.conf > autoboot_delay="1" > console="comconsole" > boot_serial="" > boot_multicons="" > > inf02-kul# grep uart /var/run/dmesg.boot > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: console (9600,n,8,1) > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 > > inf02-kul# grep ttyu /etc/ttys > ttyu0 "/usr/libexec/getty std.9600" vt100 on secure > ttyu1 "/usr/libexec/getty std.9600" vt100 on secure > ttyu2 "/usr/libexec/getty std.9600" vt100 on secure > ttyu3 "/usr/libexec/getty std.9600" dialup off secure > > inf02-kul# ipmitool sol info > Set in progress : set-complete > Enabled : true > Force Encryption : false > Force Authentication : false > Privilege Level : USER > Character Accumulate Level (ms) : 5 > Character Send Threshold : 1 > Retry Count : 0 > Retry Interval (ms) : 0 > Volatile Bit Rate (kbps) : 9.6 > Non-Volatile Bit Rate (kbps) : 9.6 > Payload Channel : 1 (0x01) > Payload Port : 623 > > inf02-kul# cat /var/run/dmesg.boot > Copyright (c) 1992-2012 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 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > CPU: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (3292.59-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x306a9 Family = 6 Model = 3a Stepping = 9 > Features=0xbfebfbff > Features2=0x77bae3ff> > AMD Features=0x28100800 > AMD Features2=0x1 > TSC: P-state invariant, performance statistics > real memory = 8589934592 (8192 MB) > avail memory = 8219156480 (7838 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > 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 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: Power Button (fixed) > acpi0: reservation of 67, 1 (4) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > cpu4: on acpi0 > cpu5: on acpi0 > cpu6: on acpi0 > cpu7: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > pcib2: irq 16 at device 1.1 on pci0 > pci2: on pcib2 > igb0: port 0xe020-0xe03f mem 0xf7a20000-0xf7a3ffff,0xf7800000-0xf79fffff,0xf7a44000-0xf7a47fff irq 17 at device 0.0 on pci2 > igb0: Using MSIX interrupts with 5 vectors > igb0: Ethernet address: 00:25:90:6c:25:00 > igb1: port 0xe000-0xe01f mem 0xf7a00000-0xf7a1ffff,0xf7400000-0xf75fffff,0xf7a40000-0xf7a43fff irq 18 at device 0.1 on pci2 > igb1: Using MSIX interrupts with 5 vectors > igb1: Ethernet address: 00:25:90:6c:25:01 > em0: port 0xf020-0xf03f mem 0xf7100000-0xf711ffff,0xf7125000-0xf7125fff irq 20 at device 25.0 on pci0 > em0: Using an MSI interrupt > em0: Setup of Shared code failed > device_attach: em0 attach returned 6 > ehci0: mem 0xf7124000-0xf71243ff irq 16 at device 26.0 on pci0 > usbus0: EHCI version 1.0 > usbus0: on ehci0 > pcib3: irq 16 at device 28.0 on pci0 > pci3: on pcib3 > pcib4: irq 16 at device 28.4 on pci0 > pci4: on pcib4 > em1: port 0xd000-0xd01f mem 0xf7c00000-0xf7c1ffff,0xf7c20000-0xf7c23fff irq 16 at device 0.0 on pci4 > em1: Using MSIX interrupts with 3 vectors > em1: Ethernet address: 00:25:90:77:35:08 > ehci1: mem 0xf7123000-0xf71233ff irq 23 at device 29.0 on pci0 > usbus1: EHCI version 1.0 > usbus1: on ehci1 > pcib5: at device 30.0 on pci0 > pci5: on pcib5 > vgapci0: mem 0xf5000000-0xf5ffffff,0xf7000000-0xf7003fff,0xf6800000-0xf6ffffff irq 19 at device 3.0 on pci5 > isab0: at device 31.0 on pci0 > isa0: on isab0 > ahci0: port 0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf000-0xf01f mem 0xf7122000-0xf71227ff irq 19 at device 31.2 on pci0 > ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier not 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 > ahcich4: at channel 4 on ahci0 > ahcich5: at channel 5 on ahci0 > pci0: at device 31.3 (no driver attached) > acpi_button0: on acpi0 > acpi_tz0: on acpi0 > acpi_tz1: on acpi0 > hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 550 > atrtc0: port 0x70-0x77 irq 8 on acpi0 > atrtc0: Warning: Couldn't map I/O. > 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 > Event timer "i8254" frequency 1193182 Hz quality 100 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: console (9600,n,8,1) > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 > ipmi0: port 0xca2,0xca3 on acpi0 > ipmi0: KCS mode found at io 0xca2 on acpi > ipmi1: on isa0 > device_attach: ipmi1 attach returned 16 > ipmi1: on isa0 > device_attach: ipmi1 attach returned 16 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ppc0: cannot reserve I/O port range > 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 > Timecounters tick every 1.000 msec > usbus0: 480Mbps High Speed USB v2.0 > usbus1: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > ipmi0: IPMI device rev. 1, firmware rev. 1.64, version 2.0 > ipmi0: Number of channels 2 > ipmi0: Attached watchdog > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada0: ATA-8 SATA 3.x device > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 57241MB (117231408 512 byte sectors: 16H 63S/T 16383C) > ada0: Previously was known as ad4 > ada1 at ahcich2 bus 0 scbus2 target 0 lun 0 > ada1: ATA-8 SATA 2.x device > ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > ada1: Command Queueing enabled > ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) > ada1: Previously was known as ad8 > SMP: AP CPU #1 Launched! > SMP: AP CPU #6 Launched! > SMP: AP CPU #5 Launched! > SMP: AP CPU #4 Launched! > SMP: AP CPU #7 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #3 Launched! > uhub0: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > Root mount waiting for: usbus1 usbus0 > ugen0.2: at usbus0 > uhub2: on usbus0 > ugen1.2: at usbus1 > uhub3: on usbus1 > Root mount waiting for: usbus1 usbus0 > uhub2: 6 ports with 6 removable, self powered > uhub3: 6 ports with 6 removable, self powered > ugen0.3: at usbus0 > ums0: on usbus0 > ums0: 3 buttons and [Z] coordinates ID=0 > ukbd0: on usbus0 > kbd2 at ukbd0 > Trying to mount root from ufs:/dev/ada0p2 [rw]... From roberthuff at rcn.com Wed Jun 13 12:04:00 2012 From: roberthuff at rcn.com (Robert Huff) Date: Wed Jun 13 12:04:07 2012 Subject: Lost /var/db/pkg In-Reply-To: <4FD8304C.7000004@FreeBSD.org> References: <4FD8304C.7000004@FreeBSD.org> Message-ID: <20440.33190.905351.819751@jerusalem.litteratus.org> Matthew Seaman writes: > > I had a hard disk failure some time ago, and I ended up losing > > /var/db/pkg/ and everything under it (before you say I should've been > > backing it up, I know, I was actually doing an initial full when this > > happened). Is there a way I can restore it, or at least manually add > > entries I know for sure about? > > Reinstall all the ports on your system? Since you've lost > /var/db/pkg, you won't have a handy record of what the necessary > packages are. You can get a long way by starting with ports you > want directly (eg. firefox) and reinstalling all of their > dependencies. > > It's unlikely to be completely accurate, and the system will > probably have odd little issues with normal ports maintenance > going on. Perhaps the most effective procedure would be to wipe > out the contents of /usr/local and /compat/linux and just start > again from scratch. Only that's going to eradicate anything in /usr/local that a) one wants/uses and b) wasn't put there by ports. (Tell me you don't have a handful of scripts which have been working happily away since you wrote them in the early Devonian. :-) A less drastic path would be to wipe out /usr/local/{lib, libexec}, /compat/linux, and whatever directory has port-installed docs. Check /usr/local/bin, /usr/local/etc (especially rc.d/), and /usr/local/share; many files there are named for their ports. Grep bin/ for anything whose first line is "#! /bin/sh", and figure out where it came from. _Now_ start with major prograns you know were installed - on my system that would be emacs, FireFox, Java, LibreOffice, ImageMagick, and mplayer - and get out your copy of - because even on a fast system you're talking days to put everything back. Robert "learned the hard way" Huff From blue.seahorse.syndicate at gmail.com Wed Jun 13 14:33:55 2012 From: blue.seahorse.syndicate at gmail.com (Lynn Steven Killingsworth) Date: Wed Jun 13 14:34:01 2012 Subject: hwpstate0 set frequency err 6 Message-ID: <000d01cd4971$8d36bfc0$a7a43f40$@gmail.com> Hi FreeBSD - This is the fourth time I have installed FreeBSD while learning the in's and out's. I have a new mainboard this time (ASUS M5A97 EVO + AMD FX 8120.) I have set up dual booting because of a few legacy apps. When the boot of OS gets to the login prompt I begin to get the error message 'hwpstate0 set frequency err 6' During installation my super-workstation started to run as though it were getting the absolutely maximum stress test. The fans on my new Corsair H80 started to whine as well. The 'stress test' effect starts the three next times I have booted so I am not booting into FreeBSD at the moment. Any advice? Thanks Lynn Steven Killingsworth From brian at brianwhalen.net Wed Jun 13 14:44:14 2012 From: brian at brianwhalen.net (Brian W.) Date: Wed Jun 13 14:44:21 2012 Subject: P5-FuzzyOcr port In-Reply-To: <4FD8403D.7080808@infracaninophile.co.uk> References: <4FD8403D.7080808@infracaninophile.co.uk> Message-ID: I was migrating from v7 to v8 when I saw this a few nights ago. The upgrade was going speedily well till I hit that. Like I said I was able to get through it by building the port. On Jun 13, 2012 12:25 AM, "Matthew Seaman" wrote: > On 13/06/2012 07:17, Brian W. wrote: > > Pkg_add -r can't find a package for this; I presume this is deliberate > > because of the unmaintained status of fuzzyocr? > > Not directly. As many pkgs as possible are built from ports, > irrespective of who the maintainers are. An unmaintained port is > however less likely to have any issues attended to promptly. > > If you want to see exactly why no pkg exists, use portsmon: > > > http://portsmon.freebsd.org/portoverview.py?category=mail&portname=p5-FuzzyOcr > > and the reason is that the graphics/giflib port -- one of the > dependencies -- failed to work properly. On 9.0-RELEASE it shows the > problem is to do with XML validation, and there's an open PR about that > which is assigned to the graphics/giflib maintainer. There should be a > fix fairly soon. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > > > > From feld at feld.me Wed Jun 13 15:20:35 2012 From: feld at feld.me (Mark Felder) Date: Wed Jun 13 15:21:15 2012 Subject: Many open branches = excess FreeBSD project work? In-Reply-To: References: Message-ID: On Wed, 13 Jun 2012 02:08:12 -0500, wrote: > - S RELENG_8_2 > - S RELENG_8_1 > - G RELENG_7 > - S RELENG_7_4 These are all going away soon. Don't worry. :-) From sean.page at epsb.ca Wed Jun 13 16:39:59 2012 From: sean.page at epsb.ca (Sean Page) Date: Wed Jun 13 16:40:06 2012 Subject: freebsd-update problem Message-ID: <529374128DC1B04D9D037911B8E8F053156619D3@Exchange26.EDU.epsb.ca> Hi, Hopefully a simple problem with a simple solution. Trying to update a server using freebsd-update, but when I try I get the following: # freebsd-update fetch install Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 8.3-RELEASE from update5.FreeBSD.org... invalid signature. Fetching metadata signature for 8.3-RELEASE from update4.FreeBSD.org... invalid signature. Fetching metadata signature for 8.3-RELEASE from update3.FreeBSD.org... invalid signature. No mirrors remaining, giving up. FreeBSD 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC 2012 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 root mount ZFS I used freebsd-update to upgrade from 8.2 to 8.3 so it's worked in the past, and 4 other servers (running different versions) updated successfully. The key in my conf file is the same as the other servers and I don't have anything in the log files to indicate a problem. Probably missing something stupid but, any suggestions? Thanks in advance! Sean. Sean Page Network Analyst, Internet Services Information Technology Services Edmonton Public Schools Phone: (780) 429-8206 http://its.epsb.ca Supporting teaching and learning through the effective use of Technology. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6448 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120613/0d61088e/smime.bin From simon at optinet.com Wed Jun 13 18:34:14 2012 From: simon at optinet.com (Simon) Date: Wed Jun 13 18:34:21 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 Message-ID: <20120613183414.CE84B106566C@hub.freebsd.org> Hi, I upgrade to FreeBSD 8.3-p3 and installed MySQL 5.0.95 from ports. It runs fine until it dies silently. Does anyone run a heavy loaded MySQL under such setup? how can I troubleshoot this? I could never compile a stable MySQL server from the ports and always relied on MySQL community server binaries but there is no binary for latest 5.0.xx Thank you! Simon From simon at optinet.com Wed Jun 13 18:43:25 2012 From: simon at optinet.com (Simon) Date: Wed Jun 13 18:43:32 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: Message-ID: <20120613184325.9D406106578B@hub.freebsd.org> Possible but extremely unlikely, I always had issues whenever I tried to build MySQL server myself. The hardware where this is running has been very stable. I don't have any issues whatsoever making world, etc... There is no segfault which is what usually happens when you have memory issues. And why would MySQL community server run stable if it was somehow my hardware? Bottom line, if this was hardware issue, the server would have paniced long ago. I wish I could get some input from someone running MySQL server with 300+ queries a second and what MySQL version/build they are running. -Simon On Wed, 13 Jun 2012 11:36:48 -0700, Chuck Swiger wrote: >On Jun 13, 2012, at 11:34 AM, Simon wrote: >> I upgrade to FreeBSD 8.3-p3 and installed MySQL 5.0.95 from ports. >> >> It runs fine until it dies silently. Does anyone run a heavy loaded MySQL >> under such setup? how can I troubleshoot this? >> >> I could never compile a stable MySQL server from the ports and always >> relied on MySQL community server binaries but there is no binary for >> latest 5.0.xx >This sounds like marginal hardware which is failing under load. Make >sure you can run something like memtest86 or prime95 overnight without >errors.... >Regards, >-- >-Chuck From cswiger at mac.com Wed Jun 13 18:57:33 2012 From: cswiger at mac.com (Chuck Swiger) Date: Wed Jun 13 18:57:46 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: <0M5K00IAFK0DQGR0@st11b01mm-smtpin204.mac.com> References: <0M5K00IAFK0DQGR0@st11b01mm-smtpin204.mac.com> Message-ID: <6F47A2B6-C9FE-47AC-848F-FF3BC5D06373@mac.com> On Jun 13, 2012, at 11:43 AM, Simon wrote: > Possible but extremely unlikely, I always had issues whenever I tried to build > MySQL server myself. That by itself is interesting. > The hardware where this is running has been very > stable. I don't have any issues whatsoever making world, etc... A make world is a decent stress test, but it doesn't take long enough on modern hardware to reliably uncover problems. > There is no segfault which is what usually happens when you have memory > issues. And why would MySQL community server run stable if it was somehow > my hardware? Bottom line, if this was hardware issue, the server would have > paniced long ago. > > I wish I could get some input from someone running MySQL server with 300+ > queries a second and what MySQL version/build they are running. By all means-- while I'm quite familiar with busy databases, folks aren't running MySQL for that kind of TPS load. Regards, -- -Chuck From doug at fledge.watson.org Wed Jun 13 19:17:52 2012 From: doug at fledge.watson.org (doug) Date: Wed Jun 13 19:17:59 2012 Subject: Many open branches = excess FreeBSD project work? In-Reply-To: References: Message-ID: On Wed, 13 Jun 2012, Mark Felder wrote: > On Wed, 13 Jun 2012 02:08:12 -0500, wrote: > >> - S RELENG_8_2 >> - S RELENG_8_1 >> - G RELENG_7 >> - S RELENG_7_4 > > These are all going away soon. Don't worry. :-) I hope that does not mean we will not be able to [re]build older versions. No one [me anyway] would expect older branches to be maintained but I do hope they would remain available. From simon at optinet.com Wed Jun 13 19:24:25 2012 From: simon at optinet.com (Simon) Date: Wed Jun 13 19:24:31 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: <6F47A2B6-C9FE-47AC-848F-FF3BC5D06373@mac.com> Message-ID: <20120613192424.DBA051065678@hub.freebsd.org> >> I wish I could get some input from someone running MySQL server with 300+ >> queries a second and what MySQL version/build they are running. >By all means-- while I'm quite familiar with busy databases, folks aren't running >MySQL for that kind of TPS load. Why not? it is designed precisely for this. Like I said, whenever I used MySQL project community server built binaries, I never had it crash. Right now I'm thinking: 1. the port build of 5.0.95 does something incorrectly. 2. it's running out of memory (FreeBSD's kernel still does not report out of memory errors for processes if it kills them; there is no way to know if kernel killed a process due to memory limit, it does not log this) 3. it's hitting some kind of 5.0.95 bug Maybe I'm contacting wrong mailling list, I can't seem to get ahold of ISP/hosting guys on this list. Truly amazing that for a server OS, there is so little input for something like MySQL server. Perhaps everyone else is still using text files, does 10TPS, or runs linux, don't know what to make of it :\ -Simon From doug at safeport.com Wed Jun 13 19:32:10 2012 From: doug at safeport.com (doug@safeport.com) Date: Wed Jun 13 19:32:18 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: <20120613192424.DBA051065678@hub.freebsd.org> References: <20120613192424.DBA051065678@hub.freebsd.org> Message-ID: On Wed, 13 Jun 2012, Simon wrote: >>> I wish I could get some input from someone running MySQL server with 300+ >>> queries a second and what MySQL version/build they are running. > >> By all means-- while I'm quite familiar with busy databases, folks aren't running >> MySQL for that kind of TPS load. > > > Why not? it is designed precisely for this. Like I said, whenever I used MySQL > project community server built binaries, I never had it crash. > > Right now I'm thinking: > > 1. the port build of 5.0.95 does something incorrectly. > 2. it's running out of memory (FreeBSD's kernel still does not report out of memory > errors for processes if it kills them; there is no way to know if kernel killed a process > due to memory limit, it does not log this) > 3. it's hitting some kind of 5.0.95 bug > > Maybe I'm contacting wrong mailling list, I can't seem to get ahold of ISP/hosting guys > on this list. Truly amazing that for a server OS, there is so little input for something like > MySQL server. Perhaps everyone else is still using text files, does 10TPS, or runs > linux, don't know what to make of it :\ try mysql@lists.mysql.com - when I was an utter newbie they were quite helpful and tolerant. From cswiger at mac.com Wed Jun 13 19:36:59 2012 From: cswiger at mac.com (Chuck Swiger) Date: Wed Jun 13 19:37:06 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: <20120613183414.CE84B106566C@hub.freebsd.org> References: <20120613183414.CE84B106566C@hub.freebsd.org> Message-ID: On Jun 13, 2012, at 11:34 AM, Simon wrote: > I upgrade to FreeBSD 8.3-p3 and installed MySQL 5.0.95 from ports. > > It runs fine until it dies silently. Does anyone run a heavy loaded MySQL > under such setup? how can I troubleshoot this? > > I could never compile a stable MySQL server from the ports and always > relied on MySQL community server binaries but there is no binary for > latest 5.0.xx This sounds like marginal hardware which is failing under load. Make sure you can run something like memtest86 or prime95 overnight without errors.... Regards, -- -Chuck From jhs at berklix.com Wed Jun 13 20:06:38 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Wed Jun 13 20:06:45 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: Your message "Wed, 13 Jun 2012 15:24:28 EDT." <20120613192424.DBA051065678@hub.freebsd.org> Message-ID: <201206132006.q5DK6CVp018788@fire.js.berklix.net> > Maybe I'm contacting wrong mailling list, I can't seem to get ahold of ISP/hosting guys > on this list. Truly amazing that for a server OS, there is so little input for something like > MySQL server. Perhaps everyone else is still using text files, does 10TPS, or runs > linux, don't know what to make of it :\ > > -Simon Yes you too are using the wrong list. The questions@ list was created to catch FreeBSD newbies, somewhere to point /etc/motd at. ( It's evolved to also deal with _some_ more complex issues 'cos some on questions@ failed to move on, & post more complex non beginner issues to the maybe 50+ or more specialist lists. ) Examples for this topic might include: freebsd-isp@freebsd.org freebsd-database@freebsd.org freebsd-hackers@freebsd.org freebsd-performance@freebsd.org See http://lists.freebsd.org/mailman/listinfo Just 2 clicks from http://freebsd.org/ Sad how many people don't look, & dump all on questions@, breaking the whole point of having 50+ different themed FreeBSD lists. Those only using questions@ _Please_ realise there are other lists. http://lists.freebsd.org/mailman/listinfo Read the remits of the other lists & subscribe &/or post those lists that match your topic. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From cswiger at mac.com Wed Jun 13 20:17:57 2012 From: cswiger at mac.com (Chuck Swiger) Date: Wed Jun 13 20:18:10 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: <0M5K00F1HLWOQI90@st11b01mm-smtpin207.mac.com> References: <0M5K00F1HLWOQI90@st11b01mm-smtpin207.mac.com> Message-ID: On Jun 13, 2012, at 12:24 PM, Simon wrote: >>> I wish I could get some input from someone running MySQL server with 300+ >>> queries a second and what MySQL version/build they are running. > >> By all means-- while I'm quite familiar with busy databases, folks aren't running >> MySQL for that kind of TPS load. > > > Why not? it is designed precisely for this. That depends on workload. Table-level or page-level locking is fine for read-only or read-mostly; it wasn't until InnoDB storage that MySQL had row-level locking, which is kinda important when you *aren't* read-mostly. > Like I said, whenever I used MySQL > project community server built binaries, I never had it crash. But the process from these "community server built binaries" went away, right? > Right now I'm thinking: > > 1. the port build of 5.0.95 does something incorrectly. > 2. it's running out of memory (FreeBSD's kernel still does not report out of memory > errors for processes if it kills them; there is no way to know if kernel killed a process > due to memory limit, it does not log this) > 3. it's hitting some kind of 5.0.95 bug The program termination ought to log something, at least if you enable logging or have a monitor in place which can see mysqld's error status; even mysqld_safe ought to take --log-error flag.... > Maybe I'm contacting wrong mailling list, I can't seem to get ahold of ISP/hosting guys > on this list. Truly amazing that for a server OS, there is so little input for something like > MySQL server. Perhaps everyone else is still using text files, does 10TPS, or runs > linux, don't know what to make of it :\ That's likely to be a valid point; freebsd-ports would be appropriate for discussing the build problems with mysql port. freebsd-isp has a different population oriented towards hosting provider issues etc that you've mentioned. However, I can assure you that some folks here on freebsd-questions do deal with more than 10TPS. :-) Regards, -- -Chuck From simon at optinet.com Wed Jun 13 20:33:48 2012 From: simon at optinet.com (Simon) Date: Wed Jun 13 20:33:55 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: <201206132006.q5DK6CVp018788@fire.js.berklix.net> Message-ID: <20120613203348.35B3F106564A@hub.freebsd.org> >Yes you too are using the wrong list. >The questions@ list was created to catch FreeBSD newbies, >somewhere to point /etc/motd at. > ( It's evolved to also deal with _some_ more complex issues > 'cos some on questions@ failed to move on, & post more > complex non beginner issues to the maybe 50+ or more > specialist lists. ) >Examples for this topic might include: > freebsd-isp@freebsd.org > freebsd-database@freebsd.org > freebsd-hackers@freebsd.org > freebsd-performance@freebsd.org >See > http://lists.freebsd.org/mailman/listinfo >Just 2 clicks from > http://freebsd.org/ >Sad how many people don't look, & dump all on questions@, >breaking the whole point of having 50+ different themed FreeBSD lists. >Those only using questions@ _Please_ realise there are other lists. > http://lists.freebsd.org/mailman/listinfo >Read the remits of the other lists & subscribe &/or post those lists >that match your topic. >Cheers, >Julian >-- Thanks Julian. The reason for freebsd-questions is because when I looked thru isp, database, and performance, and few others, they had one or two threads a month with barely much input. I figured I would reach more people on this list. The reason why I didn't use freebsd-hackers is because I thought perhaps this was somewhat trivial, like I was overlooking something, but I guess not. Next time I'll just use that list instead. I think it would be my best bet. -Simon From feld at feld.me Wed Jun 13 20:42:59 2012 From: feld at feld.me (Mark Felder) Date: Wed Jun 13 20:43:06 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: <20120613183414.CE84B106566C@hub.freebsd.org> References: <20120613183414.CE84B106566C@hub.freebsd.org> Message-ID: Can you repeat this issue with MariaDB? From jhs at berklix.com Wed Jun 13 20:46:23 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Wed Jun 13 20:46:32 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: Your message "Wed, 13 Jun 2012 22:06:12 +0200." <201206132006.q5DK6CVp018788@fire.js.berklix.net> Message-ID: <201206132046.q5DKjvw3020347@fire.js.berklix.net> > Those only using questions@ _Please_ realise there are other lists. > http://lists.freebsd.org/mailman/listinfo > Read the remits of the other lists & subscribe &/or post those lists > that match your topic. PS All credit & thanks to a few highly skilled & informed people on questions@ who regularly contribute good advice helping newcomers. Just that many Was-once-a-beginner should start to think: "I've been using FreeBSD a while now, I'm no longer just a newbie to cluelessly use just questions@, I should look at what other FreeBSD lists there are." Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From jhs at berklix.com Wed Jun 13 20:59:27 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Wed Jun 13 20:59:35 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: Your message "Wed, 13 Jun 2012 16:33:51 EDT." <20120613203348.35B3F106564A@hub.freebsd.org> Message-ID: <201206132059.q5DKx2id020906@fire.js.berklix.net> Hi Simon > Thanks Julian. The reason for freebsd-questions is because when I looked > thru isp, database, and performance, and few others, they had one or two > threads a month with barely much input. Yup, isp@ is quiet, some other lists too, doesn't necessarily mean there'snot good people listening, though I suspect total sub. # on isp@ might be low. > I figured I would reach more people > on this list. Certainly lots, but some specialist lists have good people listening, & less troll noise than lately on questions@. > The reason why I didn't use freebsd-hackers is because I thought > perhaps this was somewhat trivial, like I was overlooking something, but I > guess not. Next time I'll just use that list instead. I think it would be my best bet. Welcome to hackers@ & the rest :-) PS The one list I periodicaly notice is not quite there, & or a handbook entry either I think, is something for all of us who periodically suspect a machine is maybe a bit sick, & want to give it a damn good thrashing to test it. Well, complex issue, & "how long is a piece of string ?" but there's performance@ & ports@ for ideas & tools etc. Good luck. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From jb.1234abcd at gmail.com Wed Jun 13 21:18:13 2012 From: jb.1234abcd at gmail.com (jb) Date: Wed Jun 13 21:18:20 2012 Subject: Lost /var/db/pkg References: Message-ID: William Orr worrbase.com> writes: > > Hello, > > I had a hard disk failure some time ago, and I ended up losing > /var/db/pkg/ and everything under it (before you say I should've been > backing it up, I know, I was actually doing an initial full when this > happened). Is there a way I can restore it, or at least manually add > entries I know for sure about? forums.freebsd.org/showthread.php?t=6466 "The application themselves are still installed and will keep functioning, you just removed the records of their installation. When you later install newer versions, you may have to use a force flag to overwrite files (the port thinks it is uninstalled after all). The new port installations will get recorded in /var/db/pkg again.' jb From peter at vereshagin.org Wed Jun 13 21:26:43 2012 From: peter at vereshagin.org (Peter Vereshagin) Date: Wed Jun 13 21:26:52 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: <20120613184325.9D406106578B@hub.freebsd.org> References: <20120613184325.9D406106578B@hub.freebsd.org> Message-ID: <20120613185821.GB5800@external.screwed.box> Hello. 2012/06/13 14:43:29 -0400 Simon => To Chuck Swiger : S> There is no segfault which is what usually happens when you have memory then there is the daemon's log... -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From lists at eitanadler.com Wed Jun 13 21:27:23 2012 From: lists at eitanadler.com (Eitan Adler) Date: Wed Jun 13 21:27:32 2012 Subject: Lost /var/db/pkg In-Reply-To: References: Message-ID: On 13 June 2012 12:17, jb wrote: > William Orr worrbase.com> writes: > >> >> Hello, >> >> I had a hard disk failure some time ago, and I ended up losing >> /var/db/pkg/ and everything under it (before you say I should've been >> backing it up, I know, I was actually doing an initial full when this >> happened). Is there a way I can restore it, or at least manually add >> entries I know for sure about? > > forums.freebsd.org/showthread.php?t=6466 > "The application themselves are still installed and will keep functioning, you > just removed the records of their installation. When you later install newer > versions, you may have to use a force flag to overwrite files (the port thinks > it is uninstalled after all). The new port installations will get recorded in > /var/db/pkg again.' > > jb This will work if you need minimal downtime, but *will* come back to bite you some time down the line. -- Eitan Adler From peter at vereshagin.org Wed Jun 13 21:41:43 2012 From: peter at vereshagin.org (Peter Vereshagin) Date: Wed Jun 13 21:41:49 2012 Subject: `ls -l` shows size of file other than of the folder? Message-ID: <20120613202325.GC5800@external.screwed.box> Hello. I have the directory in the file system with 2 regular files each of which is sized as 700M according to 'ls -l'. But the torrent client and 'du -s' and 'ls -l's 'total' show that the directory size is 300M. How can that be? Are there different file sizes stored on a ufs1 in their metadata? ot the least how could I see the 'real' size of each of those files, both ~150M actulally, with a system command? Thank you. -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From weif at weif.net Wed Jun 13 22:35:58 2012 From: weif at weif.net (Keith Seyffarth) Date: Wed Jun 13 22:36:06 2012 Subject: Chromium 19 core dumps on launch... In-Reply-To: (message from George Liaskos on Tue, 12 Jun 2012 01:55:13 +0300) Message-ID: <84d352j0vs.fsf@maxwell.cjones.org> George Liaskos writes: > On Mon, Jun 11, 2012 at 3:04 AM, Keith Seyffarth wrote: >> >> Friday I installed Chromium again because it would be nice to have a >> browser to test in other than Firefox and Opera. It was installed using >> portinstall -R chromium, which *appeared* to function properly. >> >> However, trying to run chrome results in: >> pid 50993 (chrome), uid 1001: exited on signal 11 (core dumped) >> >> >From what I found online, it looked like I may have been encountering an >> issue with devel/google-perftools, but on reinstall was able to confirm >> that this is building with gcc not clang. >> >> I have also removed my ~/.config/chromium directory with no change in >> behavior. >> >> >> >> Not sure if it's relevant, but the last version of Chromium that was >> *functional* for me was 12. Versions 13-16 didn't support loading web >> pages (the browser would launch, but if I entered a URL in the address >> bar, I could leave the browser running overnight and it still wouldn't >> have started loading a page). Then when 17 and 18 wouldn't even compile >> (marked ignore), I just removed package. > > Please try 19.0.1084.56_1, devel/google-perftools is not a dependency > of chromium anymore. Thanks, George. Upgrading from chromium-19.0.1084.52_2 to chromium-19.0.1084.56_1 (and removing google-perftools) will allow Chromium to launch. However, it can't load many pages. For example: http://tools.google.com/chrome/intl/en/welcome.html http://www.alexa.com/ https://support.google.com/chrome/bin/answer.py?hl=en&answer=1270364&p=e_deadjim http://www.atlatl.com/ https://support.google.com/chrome/bin/answer.py?hl=en&answer=95669&p=e_awsnap chrome://chrome/settings/ and http://www.mariahschallenge.com/ eventually give a "the page has become unresponsive" error. But pages like: http://www.amazon.com/ http://www.google.com/ http://www.firsttankguide.net/ and http://www.visitphilipsburg.com/ load right away. Also, when you close the browser, either by closing the last tab, closing the window, or selecting "Exit" from the tools menu, it doesn't release memory or terminate the process, it just gets rid of the window... It looks like the process hangs around until you kill it. I've tried deleting the profile files again as well, with the same response. Any further ideas? Keith From cswiger at mac.com Wed Jun 13 22:55:54 2012 From: cswiger at mac.com (Chuck Swiger) Date: Wed Jun 13 22:56:02 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: <20120613202325.GC5800@external.screwed.box> References: <20120613202325.GC5800@external.screwed.box> Message-ID: <1D62BA9B-7B6A-4313-B73F-0C7C695B7211@mac.com> Hi-- On Jun 13, 2012, at 1:23 PM, Peter Vereshagin wrote: > I have the directory in the file system with 2 regular files each of which is > sized as 700M according to 'ls -l'. But the torrent client and 'du -s' and 'ls > -l's 'total' show that the directory size is 300M. > > How can that be? Are there different file sizes stored on a ufs1 in their > metadata? It's very likely that these are sparse files. Your torrent client creates a file of the appropriate size via fseek()/lseek() or similar, but the space isn't actually consumed until it writes the data it is obtaining from the network.... Random link: http://www.unixguide.net/unix/sparse_file.shtml Regards, -- -Chuck From gobble.wa at gmail.com Wed Jun 13 23:10:37 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Wed Jun 13 23:10:45 2012 Subject: Lost /var/db/pkg In-Reply-To: References: Message-ID: On Wed, Jun 13, 2012 at 2:26 PM, Eitan Adler wrote: > On 13 June 2012 12:17, jb wrote: > > William Orr worrbase.com> writes: > > > >> > >> Hello, > >> > >> I had a hard disk failure some time ago, and I ended up losing > >> /var/db/pkg/ and everything under it (before you say I should've been > >> backing it up, I know, I was actually doing an initial full when this > >> happened). Is there a way I can restore it, or at least manually add > >> entries I know for sure about? > > > > forums.freebsd.org/showthread.php?t=6466 > > "The application themselves are still installed and will keep > functioning, you > > just removed the records of their installation. When you later install > newer > > versions, you may have to use a force flag to overwrite files (the port > thinks > > it is uninstalled after all). The new port installations will get > recorded in > > /var/db/pkg again.' > > > > jb > > This will work if you need minimal downtime, but *will* come back to > bite you some time down the line. > > > -- > Eitan Adler > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > you could cross reference the package .tbz files with what's on your system. ie, tar -ztvf apache-2.2.22_5.tbz shows you what's in /usr/local/bin, etc. Might even be able to focus on man pages only to get an xref index. I believe the files for /var/db/pkg are in the tbz files. if you didn't keep your system up to date it might be trouble matching versions, but you could get the list and see what's what, or at least have a good idea of what _was_ installed. I haven't tried but you could stick the 'current' files for /var/db/pkg from tbz, matching what's installed - regardless of the 'new' version and actual version installed, then to a pkg_delete --force then pkg_add .tbz . it might complain about missing files but will 'prolly function. If you have like 700-1000+ packages it might be worth the trouble. A thought :) Waitman Gobble San Jose California USA From david.robison at fisglobal.com Wed Jun 13 23:14:10 2012 From: david.robison at fisglobal.com (Robison, Dave) Date: Wed Jun 13 23:14:18 2012 Subject: Lost /var/db/pkg In-Reply-To: References: Message-ID: <4FD91E5F.6040502@fisglobal.com> On 06/13/2012 16:10, Waitman Gobble wrote: > On Wed, Jun 13, 2012 at 2:26 PM, Eitan Adler wrote: > >> On 13 June 2012 12:17, jb wrote: >>> William Orr worrbase.com> writes: >>> >>>> Hello, >>>> >>>> I had a hard disk failure some time ago, and I ended up losing >>>> /var/db/pkg/ and everything under it (before you say I should've been >>>> backing it up, I know, I was actually doing an initial full when this >>>> happened). Is there a way I can restore it, or at least manually add >>>> entries I know for sure about? >>> forums.freebsd.org/showthread.php?t=6466 >>> "The application themselves are still installed and will keep >> functioning, you >>> just removed the records of their installation. When you later install >> newer >>> versions, you may have to use a force flag to overwrite files (the port >> thinks >>> it is uninstalled after all). The new port installations will get >> recorded in >>> /var/db/pkg again.' >>> >>> jb >> This will work if you need minimal downtime, but *will* come back to >> bite you some time down the line. >> >> >> -- >> Eitan Adler >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > you could cross reference the package .tbz files with what's on your > system. > > ie, tar -ztvf apache-2.2.22_5.tbz > shows you what's in /usr/local/bin, etc. Might even be able to focus on man > pages only to get an xref index. > > I believe the files for /var/db/pkg are in the tbz files. > if you didn't keep your system up to date it might be trouble matching > versions, but you could get the list and see what's what, or at least have > a good idea of what _was_ installed. > I haven't tried but you could stick the 'current' files for /var/db/pkg > from tbz, matching what's installed - regardless of the 'new' version and > actual version installed, then to a pkg_delete --force then pkg_add .tbz . > it might complain about missing files but will 'prolly function. > If you have like 700-1000+ packages it might be worth the trouble. > > A thought :) > > Waitman Gobble > San Jose California USA > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > locate /var/db/pkg Might show you what was there recently... ls /usr/ports/distfiles might also go a long way toward showing you what you once had installed. apologies if these were previously mentioned. -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From illoai at gmail.com Wed Jun 13 23:19:07 2012 From: illoai at gmail.com (illoai@gmail.com) Date: Wed Jun 13 23:19:20 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: <20120613202325.GC5800@external.screwed.box> References: <20120613202325.GC5800@external.screwed.box> Message-ID: On 13 June 2012 16:23, Peter Vereshagin wrote: > Hello. > > I have the directory in the file system with 2 regular files each ?of ?which ?is > sized as 700M according to 'ls -l'. ?But the torrent client and 'du -s' and ?'ls > -l's 'total' show that the directory size is 300M. > > How can that be? ?Are there different file sizes ?stored ?on ?a ?ufs1 ?in ?their > metadata? > > ot the least how could I see the 'real' size of each of those files, both ?~150M > actulally, with a system command? > The -s flag to ls(1) will show you the actual number of blocks in use (I believe it honours BLOCKSIZE, though you might want to check). -- -- From walterhurry at gmail.com Wed Jun 13 23:23:22 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Wed Jun 13 23:23:34 2012 Subject: Newbie question: Why aren't my cron jobs running? References: <201206120506.q5C56L2H026673@mail.r-bonomi.com> <20120612190629.6a45cb11.freebsd@edvax.de> Message-ID: On Tue, 12 Jun 2012 12:21:31 -0500, Dan Lists wrote: > The syntax of his crontab file is correct. Vixie cron does care about > leading spaces, tabs, extra spaces, or leading zeros. Earlier versions > of cron are much pickier about the crontab file. The cron logs show > that it is starting his jobs at the correct times. > > It is far more likely that there is a problem with the scripts. A very > common cause of problems with scripts run from cron is that they do not > inherit your environment. Do the scripts run from the command line? > If the do, then the problem is most likely something in your environment > that the scripts need. I'm a complete idiot, and I feel embarrassed. Everything was fine, except that I had missed out '/bin' in the paths of the jobs. I had: /home/walterh/exports.sh /home/walterh/backup_etc.sh /home/walterh/systemcheck.sh /home/walterh/backup_bsd.sh which should of course have been: /home/walterh/bin/exports.sh /home/walterh/bin/backup_etc.sh /home/walterh/bin/systemcheck.sh /home/walterh/bin/backup_bsd.sh What a stupid mistake! Thanks for all the replies, but I must say sorry for wasting your time. Sorry! WH From nightrecon at hotmail.com Wed Jun 13 23:23:22 2012 From: nightrecon at hotmail.com (Michael Powell) Date: Wed Jun 13 23:23:36 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 References: <20120613184325.9D406106578B@hub.freebsd.org> Message-ID: Simon wrote: Hint: Please learn to not top post. It makes it more difficult to arrange answers coherently. > Possible but extremely unlikely, I always had issues whenever I tried to > build MySQL server myself. The hardware where this is running has been > very stable. I don't have any issues whatsoever making world, etc... > > There is no segfault which is what usually happens when you have memory > issues. And why would MySQL community server run stable if it was somehow > my hardware? Bottom line, if this was hardware issue, the server would > have paniced long ago. > > I wish I could get some input from someone running MySQL server with 300+ > queries a second and what MySQL version/build they are running. > > -Simon > > On Wed, 13 Jun 2012 11:36:48 -0700, Chuck Swiger wrote: > >>On Jun 13, 2012, at 11:34 AM, Simon wrote: >>> I upgrade to FreeBSD 8.3-p3 and installed MySQL 5.0.95 from ports. >>> >>> It runs fine until it dies silently. Does anyone run a heavy loaded >>> MySQL under such setup? how can I troubleshoot this? >>> >>> I could never compile a stable MySQL server from the ports and always >>> relied on MySQL community server binaries but there is no binary for >>> latest 5.0.xx > >>This sounds like marginal hardware which is failing under load. Make >>sure you can run something like memtest86 or prime95 overnight without >>errors.... > I don't know about 300+ queries per second, but I have been running MySQL since version 3.x.x, and so on, without much difficulty. It has been very stable for me for many years. Hardware related problems can be a cause of general flakiness one person can see while many, many others do not experience. Can be things such as old, weak, under rated power supply that has poor regulation and excessive ripple under load. This can actually resemble RAM problems at times, because with things like memtest there will be failures. It can be other things as well, such as a disk controller running a driver that has a bug. Rather than ramble through myriad possibilities, a general rule I've noticed over many years of dealing with computers: Hardware is often involved when the problem is very random, while when you can reproduce a specific error condition repeatedly by executing a set of commands or instructions in particular and specific order it is software related. I also question why you would want to run such an old version. Particularly I am aware that versions 5.0.50 and 5.0.51 contain several serious bugs. I run the latest version of the 5.1.xx branch, with an eye to moving towards 5.5.xx very soon. I have always compiled from the ports system. I have also tuned my.cnf according to the examples and the documentation recommendations. One of the first things you should look at is what about the compilation process on your machine is producing your flaky, crashy binaries. Using a GCC from ports?, CLANG?, remove any so-called 'optimizations' from your make.conf, etc. In the make config for building MySQL do _not_ select the 'build optimized binaries' choice (which sets -O3 optimization) and see if that makes a difference. I have used the -O3 in my builds for many years and never had a problem. Circle outwards in looking at OS tuning. An example would be vmstat -i, looking for a piece of hardware with a run away interrupt storm. Other things like IPC, SYSVSHM, Semaphores, and other such structure pools looking for resource starvation. If hardware proves not to be central to the problem, see if you can arrange a way to _not_ load it so heavily. If it runs at a lower load without crashing it might indicate you need some tuning. I would look at the hardware very hard. I would look at how you are building the compilation. I would also _not_ use this version, but rather at least 5.1.x and preferably (especially if this is a new start up) look at trying the latest in the 5.5.xx series. The 5.5.xx is supposed to offer better performance, and maybe with your 300+ per second query rate maybe you should focus on the version with the best performance. Bottom line: Many thousands of people and companies have run MySQL for many years and had it work just fine. Your particular situation is an aberration of some form. -Mike From rwmaillists at googlemail.com Wed Jun 13 23:38:12 2012 From: rwmaillists at googlemail.com (RW) Date: Wed Jun 13 23:38:19 2012 Subject: Lost /var/db/pkg In-Reply-To: References: Message-ID: <20120614003805.61746d06@gumby.homeunix.com> On Wed, 13 Jun 2012 19:17:20 +0000 (UTC) jb wrote: > William Orr worrbase.com> writes: > > > > > Hello, > > > > I had a hard disk failure some time ago, and I ended up losing > > /var/db/pkg/ and everything under it (before you say I should've > > been backing it up, I know, I was actually doing an initial full > > when this happened). Is there a way I can restore it, or at least > > manually add entries I know for sure about? > > forums.freebsd.org/showthread.php?t=6466 > "The application themselves are still installed and will keep > functioning, you just removed the records of their installation. When > you later install newer versions, you may have to use a force flag to > overwrite files (the port thinks it is uninstalled after all). The > new port installations will get recorded in /var/db/pkg again.' I wouldn't do that, it's not as simple as that post suggests. It's likely to lead to a lot of files being orphaned, which may lead to build or runtime errors in the future, or vulnerabilities that portaudit can't detect. From lists at eitanadler.com Wed Jun 13 23:40:51 2012 From: lists at eitanadler.com (Eitan Adler) Date: Wed Jun 13 23:41:02 2012 Subject: Lost /var/db/pkg In-Reply-To: References: Message-ID: On 12 June 2012 18:03, William Orr wrote: > Hello, > > I had a hard disk failure some time ago, and I ended up losing > /var/db/pkg/ and everything under it (before you say I should've been > backing it up, I know, I was actually doing an initial full when this > happened). Is there a way I can restore it, or at least manually add > entries I know for sure about? look in /var/db/pkgdb.bak.tbz -- Eitan Adler From wblock at wonkity.com Thu Jun 14 00:03:13 2012 From: wblock at wonkity.com (Warren Block) Date: Thu Jun 14 00:03:21 2012 Subject: Lost /var/db/pkg In-Reply-To: References: Message-ID: On Wed, 13 Jun 2012, Eitan Adler wrote: > On 12 June 2012 18:03, William Orr wrote: >> Hello, >> >> I had a hard disk failure some time ago, and I ended up losing >> /var/db/pkg/ and everything under it (before you say I should've been >> backing it up, I know, I was actually doing an initial full when this >> happened). Is there a way I can restore it, or at least manually add >> entries I know for sure about? > > look in /var/db/pkgdb.bak.tbz ^^^ ITYM /var/backups/pkgdb.bak.tbz. From racerx at makeworld.com Thu Jun 14 00:16:19 2012 From: racerx at makeworld.com (Chris) Date: Thu Jun 14 00:16:27 2012 Subject: Newbie question: Why aren't my cron jobs running? In-Reply-To: References: <201206120506.q5C56L2H026673@mail.r-bonomi.com> <20120612190629.6a45cb11.freebsd@edvax.de> Message-ID: <4FD92D52.50603@makeworld.com> On 6/13/2012 6:23 PM, Walter Hurry wrote: > On Tue, 12 Jun 2012 12:21:31 -0500, Dan Lists wrote: > >> The syntax of his crontab file is correct. Vixie cron does care about >> leading spaces, tabs, extra spaces, or leading zeros. Earlier versions >> of cron are much pickier about the crontab file. The cron logs show >> that it is starting his jobs at the correct times. >> >> It is far more likely that there is a problem with the scripts. A very >> common cause of problems with scripts run from cron is that they do not >> inherit your environment. Do the scripts run from the command line? >> If the do, then the problem is most likely something in your environment >> that the scripts need. > > I'm a complete idiot, and I feel embarrassed. Everything was fine, except > that I had missed out '/bin' in the paths of the jobs. > > I had: > /home/walterh/exports.sh > /home/walterh/backup_etc.sh > /home/walterh/systemcheck.sh > /home/walterh/backup_bsd.sh > > which should of course have been: > /home/walterh/bin/exports.sh > /home/walterh/bin/backup_etc.sh > /home/walterh/bin/systemcheck.sh > /home/walterh/bin/backup_bsd.sh > > What a stupid mistake! Thanks for all the replies, but I must say sorry > for wasting your time. Sorry! > > WH ... Damned those full path names. -- Keep well, Chris <>< From dmtilbrook at gmail.com Thu Jun 14 00:18:42 2012 From: dmtilbrook at gmail.com (David Tilbrook) Date: Thu Jun 14 00:18:50 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: <20120613202325.GC5800@external.screwed.box> References: <20120613202325.GC5800@external.screwed.box> Message-ID: What you have are sparse files. The size listed by ls -l is the length of the files as if all the file from start to end contain data, but unix allows one to seek beyond the end of a file and add more data, thus leaving unused blocks. A common example of sparse files is the *.pag file in a dbm database as created by Ken (Thompson). The ls -s flag will show you how many real blocks are used. The program stat(1) will also show you the number of blocks used. The following creates a file with a size of 1024000002 (a gig), that actually contains only 2 chars. #include main() { fwrite("a", 1, 1, stdout); fseek(stdout, 1000000*1024, SEEK_END); fwrite("b", 1, 1, stdout); } cc foo.c ; ./a.out > ,z ; ls -ls ,z You can od ,z Old codger story from the distant past (circa 1975): When we were using rk05s as our disks, we had to watch for programs that used to fill-in the holes as we often had files that had sizes that were bigger than the amount of storage on an rk05 (5 Meg). Yes people used to live that way. >From the not so distant past (1985): The Andrew File system at CMU used to fill in the holes as it copied files from the file servers to the local host, and back again -- ycccch. -- david On Wed, Jun 13, 2012 at 4:23 PM, Peter Vereshagin wrote: > Hello. > > I have the directory in the file system with 2 regular files each ?of ?which ?is > sized as 700M according to 'ls -l'. ?But the torrent client and 'du -s' and ?'ls > -l's 'total' show that the directory size is 300M. > > How can that be? ?Are there different file sizes ?stored ?on ?a ?ufs1 ?in ?their > metadata? > > ot the least how could I see the 'real' size of each of those files, both ?~150M > actulally, with a system command? > > Thank you. > > -- > Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From grarpamp at gmail.com Thu Jun 14 02:33:55 2012 From: grarpamp at gmail.com (grarpamp) Date: Thu Jun 14 02:34:02 2012 Subject: `ls -l` shows size of file other than of the folder? Message-ID: > The following creates a file with a size of 1024000002 (a gig) > fseek(stdout, 1000000*1024, SEEK_END); Nope :) What you have there is not actually called (anything). A proper gibibyte = GiB = 2^30 = 1024^3 = 1073741824 for data storage, ram (binary bit handling) A proper gigabyte = GB = 1E9 = 1000^3 = 1000000000 for data transmission (packet counting, rocketships) There be current standards, please use them. https://en.wikipedia.org/wiki/Binary_prefix https://en.wikipedia.org/wiki/ISO/IEC_80000 http://www.swedeteam.com/kibi/ From walterhurry at gmail.com Thu Jun 14 02:38:48 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Thu Jun 14 02:38:55 2012 Subject: Newbie question: Why aren't my cron jobs running? References: <201206120506.q5C56L2H026673@mail.r-bonomi.com> <20120612190629.6a45cb11.freebsd@edvax.de> <4FD92D52.50603@makeworld.com> Message-ID: On Wed, 13 Jun 2012 19:16:18 -0500, Chris wrote: > On 6/13/2012 6:23 PM, Walter Hurry wrote: >> On Tue, 12 Jun 2012 12:21:31 -0500, Dan Lists wrote: >> >>> The syntax of his crontab file is correct. Vixie cron does care about >>> leading spaces, tabs, extra spaces, or leading zeros. Earlier >>> versions of cron are much pickier about the crontab file. The cron >>> logs show that it is starting his jobs at the correct times. >>> >>> It is far more likely that there is a problem with the scripts. A >>> very common cause of problems with scripts run from cron is that they >>> do not inherit your environment. Do the scripts run from the command >>> line? If the do, then the problem is most likely something in your >>> environment that the scripts need. >> >> I'm a complete idiot, and I feel embarrassed. Everything was fine, >> except that I had missed out '/bin' in the paths of the jobs. >> >> I had: >> /home/walterh/exports.sh /home/walterh/backup_etc.sh >> /home/walterh/systemcheck.sh /home/walterh/backup_bsd.sh >> >> which should of course have been: >> /home/walterh/bin/exports.sh /home/walterh/bin/backup_etc.sh >> /home/walterh/bin/systemcheck.sh /home/walterh/bin/backup_bsd.sh >> >> What a stupid mistake! Thanks for all the replies, but I must say sorry >> for wasting your time. Sorry! >> >> WH > > ... Damned those full path names. Actually, given that PATH i specified in the crontab, I don't think the full pathnames are needed. I'll try that next. When I finally have this cracked, I can add the rest of the cron jobs. $ crontab -l SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ walterh/bin HOME=/home/walterh PGHOST=jupiter #min hr dom month dow command 00 02 * * * /home/walterh/bin/exports.sh 05 02 * * * /home/walterh/bin/backup_etc.sh 10 02 * * * /home/walterh/bin/systemcheck.sh 15 02 * * * /home/walterh/bin/backup_bsd.sh $ From freebsd at dreamchaser.org Thu Jun 14 04:26:23 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Thu Jun 14 04:26:31 2012 Subject: USB device activity when not mounted Message-ID: <4FD967E8.60305@dreamchaser.org> I can understand why I would see activity on a USB device when it's first plugged in. But why do I see continued activity (i.e. the light blinks on a usb disk or memory stick)? When I umount one of these, they keep being beat up on and it makes me nervous... At what point is it sync'd and safe to unplug? I assume when the umount returns, but what's going on after that? Gary From wojtek at wojtek.tensor.gdynia.pl Thu Jun 14 04:49:33 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 14 04:49:40 2012 Subject: slowoffice doesn't work Message-ID: trying to start openoffice shows: [wojtek@wojtek ~]$ openoffice-3.4.0-swriter XDM authorization key matches an existing client!/usr/local/openoffice-3.4.0/openoffice.org3/program/soffice.bin X11 error: Can't open display: Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See "man X" resp. "man xhost" for details) everything else works, doing xhost + "fixed" the problem. any idea what is wrong. deleting .openoffice doesn't change anything From freebsd at edvax.de Thu Jun 14 06:05:20 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 14 06:05:26 2012 Subject: USB device activity when not mounted In-Reply-To: <4FD967E8.60305@dreamchaser.org> References: <4FD967E8.60305@dreamchaser.org> Message-ID: <20120614080511.0d855639.freebsd@edvax.de> On Wed, 13 Jun 2012 22:26:16 -0600, Gary Aitken wrote: > I can understand why I would see activity on a USB device > when it's first plugged in. But why do I see continued > activity (i.e. the light blinks on a usb disk or memory stick)? > When I umount one of these, they keep being beat up on and > it makes me nervous... At what point is it sync'd and safe > to unplug? I assume when the umount returns, but what's going > on after that? I don't think that's a problem. I've got a USB stick here that has a blinkenlight as soon as it's powered on (plugged in), even if there is no reading / writing / mounting activity. After you've successfully performed umount, the USB stick _is_ synced and can safely be removed, no matter what you assume the funny lights want to tell you. Maybe that's just a "modern feature" to make the USB stick "more entertaining". :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Thu Jun 14 06:11:08 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 14 06:11:18 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: References: Message-ID: <20120614081107.c0439718.freebsd@edvax.de> On Wed, 13 Jun 2012 22:33:50 -0400, grarpamp wrote: > > The following creates a file with a size of 1024000002 (a gig) > > fseek(stdout, 1000000*1024, SEEK_END); > > Nope :) What you have there is not actually called (anything). It would maybe be called a MKiB. :-) > A proper gibibyte = GiB = 2^30 = 1024^3 = 1073741824 > for data storage, ram (binary bit handling) > A proper gigabyte = GB = 1E9 = 1000^3 = 1000000000 > for data transmission (packet counting, rocketships) > > There be current standards, please use them. > > https://en.wikipedia.org/wiki/Binary_prefix > https://en.wikipedia.org/wiki/ISO/IEC_80000 > http://www.swedeteam.com/kibi/ In IT context, already in the 60's and 70's, unit prefixes k, M and G always were interpreted as of 2^n (or 1024*), even if the unit was _words_, not bytes. :-) Even school taught that in the 80's: When dealing with computers, 1 kB != 1000 B, but 1 kB = 1024 B. That is considered basic knowledge. Every IT person should be aware of this. It's common to "abuse" the SI units with the (known!) deviant interpretation. Sometimes, you find hardware vendors "forgetting" the factor mismatch 1024 vs. 1000 when they tell you how many GB the new shiny hard disk has. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From lists at eitanadler.com Thu Jun 14 07:07:42 2012 From: lists at eitanadler.com (Eitan Adler) Date: Thu Jun 14 07:07:49 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: <20120614081107.c0439718.freebsd@edvax.de> References: <20120614081107.c0439718.freebsd@edvax.de> Message-ID: On 13 June 2012 23:11, Polytropon wrote: > On Wed, 13 Jun 2012 22:33:50 -0400, grarpamp wrote: >> > The following creates a file with a size of 1024000002 (a gig) >> > fseek(stdout, 1000000*1024, SEEK_END); >> >> Nope :) What you have there is not actually called (anything). > > It would maybe be called a MKiB. :-) In SI units it is called a gigabyte. The value 2^30 is called a gibibyte. Everyone knows what he talking about so playing semantic games is silly. Can we move on to real questions? :) -- Eitan Adler From m.seaman at infracaninophile.co.uk Thu Jun 14 07:40:47 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Jun 14 07:40:56 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: <20120614081107.c0439718.freebsd@edvax.de> References: <20120614081107.c0439718.freebsd@edvax.de> Message-ID: <4FD9956B.2010501@infracaninophile.co.uk> On 14/06/2012 07:11, Polytropon wrote: > In IT context, already in the 60's and 70's, unit prefixes > k, M and G always were interpreted as of 2^n (or 1024*), > even if the unit was _words_, not bytes. :-) Which was incorrect in principle > Even school taught that in the 80's: When dealing with > computers, 1 kB != 1000 B, but 1 kB = 1024 B. That is > considered basic knowledge. Schools teach a lot of things that are so glossed over or so over-simplified as to be basically wrong. They have been known to teach things that were common knowledge at the time and were later shown to be simply incorrect[*]. > Every IT person should be aware of this. It's common to "abuse" > the SI units with the (known!) deviant interpretation. Really? If I said the bandwidth usage was 10Mb/s would you immediately understand that was 10,000,000,000 bits per second? Yes, bandwidth is always denoted in strict SI powers-of-1000 scale modifiers, always has been, but the corrosive effect of muddling 2^10 vs 10^3 in computing just leads to confusion and error. > Sometimes, you find hardware vendors "forgetting" the factor > mismatch 1024 vs. 1000 when they tell you how many GB the new > shiny hard disk has. :-) Oh dear. It is so galling to realise that the sales people were actually right all along isn't it? Does one's geek credibility no good at all to realise that we've been out pedanted by some suits... SI has published the standard for byte-wise scale factors: Ki, Mi, Gi etc. Best to start using them immediately and pretend that the whole shameful episode of being unable to distinguish 1024 from 1000 never ever happened. Cheers, Matthew [*] I have memories of school lessons stating definitively that there were only 2 allotropes of carbon[+]. Buckminsterfullerene wasn't discovered until I was at University. [+] Although this was factually incorrect at the time of teaching: look up lonsdaleite. Just because it never occurs in any more than microscopic amounts doesn't mean it doesn't matter. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120614/d64e960e/signature.pgp From cpghost at cordula.ws Thu Jun 14 07:51:51 2012 From: cpghost at cordula.ws (C. P. Ghost) Date: Thu Jun 14 07:52:01 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: Message-ID: On Tue, Jun 5, 2012 at 8:19 PM, Kurt Buff wrote: > UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries > http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > > This would seem to make compiling from source difficult. > > Kurt I'm not sure I understand the issue, but this is my take on it so far: 1. What's preventing the makers of boot loaders like GRUB (which can also boot FreeBSD) from getting a certificate ONCE? And if they have one, what's preventing them from loading ANY kernel at all? It is only the first stage boot loader that needs to be signed, or not? 2. What's preventing anyone of us in the EU from stepping up efforts with the EU Commission and the EU Parliament to stop Microsoft from monopolizing the ARM (and later x86) platforms, i.e. by becoming the only gatekeepers? After all, EU sovereign states and their economies can't depend on a US corporation having a global kill switch to their whole infrastructure. We're not just talking about Windows dominance here, but a lot more: dominance on the whole hardware segment. I'm pretty sure this scheme is highly anti-competitive, and I guess it runs afoul of a lot of already existing EU regulations. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From m.seaman at infracaninophile.co.uk Thu Jun 14 07:52:04 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Jun 14 07:52:11 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: <4FD9956B.2010501@infracaninophile.co.uk> References: <20120614081107.c0439718.freebsd@edvax.de> <4FD9956B.2010501@infracaninophile.co.uk> Message-ID: <4FD9981F.1010200@infracaninophile.co.uk> On 14/06/2012 08:40, Matthew Seaman wrote: > Really? If I said the bandwidth usage was 10Mb/s would you immediately > understand that was 10,000,000,000 bits per second? Err... of course you wouldn't. 10,000,000 bits per second. That's what I meant to type. Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120614/f73fbc86/signature.pgp From cpghost at cordula.ws Thu Jun 14 07:57:30 2012 From: cpghost at cordula.ws (C. P. Ghost) Date: Thu Jun 14 07:57:40 2012 Subject: link_elf_obj: symbol ata_controlcmd undefined In-Reply-To: <94FE1CB5-F92E-4083-8DC4-8A22D353EAC2@80386.org> References: <94FE1CB5-F92E-4083-8DC4-8A22D353EAC2@80386.org> Message-ID: On Sun, Jun 10, 2012 at 7:04 AM, Subhro Sankha Kar wrote: > Hello, > > Looks like you have missed out something related to ATA in the kernel configuration file. Can you post your complete kernel config? Hi, I'm just using the GENERIC config on amd64, as of r235604. Nothing modified there. # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 # # For more information on this file, please read the config(5) manual page, # and/or the handbook section on Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: stable/9/sys/amd64/conf/GENERIC 233797 2012-04-02 18:13:29Z jkim $ cpu HAMMER ident GENERIC makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options NFSCL # New Network Filesystem Client options NFSD # New Network Filesystem Server options NFSLOCKD # Network Lock Manager options NFS_ROOT # NFS usable as /, requires NFSCL options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_FREEBSD32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options AUDIT # Security event auditing options MAC # TrustedBSD MAC Framework #options KDTRACE_FRAME # Ensure frames are compiled in #options KDTRACE_HOOKS # Kernel DTrace hooks options INCLUDE_CONFIG_FILE # Include this file in kernel options KDB # Kernel debugger related code options KDB_TRACE # Print a stack trace for a panic # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel # CPU frequency control device cpufreq # Bus support. device acpi device pci # Floppy drives device fdc # ATA controllers device ahci # AHCI-compatible SATA controllers device ata # Legacy ATA/SATA controllers options ATA_CAM # Handle legacy controllers with CAM options ATA_STATIC_ID # Static device numbering device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA # SCSI Controllers device ahc # AHA2940 and onboard AIC7xxx devices options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. device ahd # AHA39320/29320 and onboard AIC79xx devices options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. device esp # AMD Am53C974 (Tekram DC-390(T)) device hptiop # Highpoint RocketRaid 3xxx series device isp # Qlogic family #device ispfw # Firmware for QLogic HBAs- normally a module device mpt # LSI-Logic MPT-Fusion device mps # LSI-Logic MPT-Fusion 2 #device ncr # NCR/Symbios Logic device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') device trm # Tekram DC395U/UW/F DC315U adapters device adv # Advansys SCSI adapters device adw # Advansys wide SCSI adapters device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. device bt # Buslogic/Mylex MultiMaster SCSI adapters device isci # Intel C600 SAS controller # ATA/SCSI peripherals device scbus # SCSI bus (required for ATA/SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct ATA/SCSI access) device ses # Enclosure Services (SES and SAF-TE) device ctl # CAM Target Layer # RAID controllers interfaced to the SCSI subsystem device amr # AMI MegaRAID device arcmsr # Areca SATA II RAID #XXX it is not 64-bit clean, -scottl #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID device ciss # Compaq Smart RAID 5* device dpt # DPT Smartcache III, IV - See NOTES for options device hptmv # Highpoint RocketRAID 182x device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx device iir # Intel Integrated RAID device ips # IBM (Adaptec) ServeRAID device mly # Mylex AcceleRAID/eXtremeRAID device twa # 3ware 9000 series PATA/SATA RAID # RAID controllers device aac # Adaptec FSA RAID device aacp # SCSI passthrough for aac (requires CAM) device ida # Compaq Smart RAID device mfi # LSI MegaRAID SAS device mlx # Mylex DAC960 family #XXX pointer/int warnings #device pst # Promise Supertrak SX6000 device twe # 3ware ATA RAID device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver options VESA # Add support for VESA BIOS Extensions (VBE) device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc options SC_PIXEL_MODE # add support for the raster text mode device agp # support several AGP chipsets # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports device uart # Generic UART driver # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da device puc # Multi I/O cards and multi-channel UARTs # PCI Ethernet NICs. device bxe # Broadcom BCM57710/BCM57711/BCM57711E 10Gb Ethernet device de # DEC/Intel DC21x4x (``Tulip'') device em # Intel PRO/1000 Gigabit Ethernet Family device igb # Intel PRO/1000 PCIE Server Gigabit Family device ixgbe # Intel PRO/10GbE PCIE Ethernet Family device le # AMD Am7900 LANCE and Am79C9xx PCnet device ti # Alteon Networks Tigon I/II gigabit Ethernet device txp # 3Com 3cR990 (``Typhoon'') device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device ae # Attansic/Atheros L2 FastEthernet device age # Attansic/Atheros L1 Gigabit Ethernet device alc # Atheros AR8131/AR8132 Ethernet device ale # Atheros AR8121/AR8113/AR8114 Ethernet device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet device bfe # Broadcom BCM440x 10/100 Ethernet device bge # Broadcom BCM570xx Gigabit Ethernet device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn device dc # DEC/Intel 21143 and various workalikes device et # Agere ET1310 10/100/Gigabit Ethernet device fxp # Intel EtherExpress PRO/100B (82557, 82558) device gem # Sun GEM/Sun ERI/Apple GMAC device hme # Sun HME (Happy Meal Ethernet) device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet device lge # Level 1 LXT1001 gigabit Ethernet device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet device nfe # nVidia nForce MCP on-board Ethernet device nge # NatSemi DP83820 gigabit Ethernet #device nve # nVidia nForce MCP on-board Ethernet Networking device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') device re # RealTek 8139C+/8169/8169S/8110S device rl # RealTek 8129/8139 device sf # Adaptec AIC-6915 (``Starfire'') device sge # Silicon Integrated Systems SiS190/191 device sis # Silicon Integrated Systems SiS 900/SiS 7016 device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet device ste # Sundance ST201 (D-Link DFE-550TX) device stge # Sundance/Tamarack TC9021 gigabit Ethernet device tl # Texas Instruments ThunderLAN device tx # SMC EtherPower II (83c170 ``EPIC'') device vge # VIA VT612x gigabit Ethernet device vr # VIA Rhine, Rhine II device wb # Winbond W89C840F device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards device ex # Intel EtherExpress Pro/10 and Pro/10+ device ep # Etherlink III based cards device fe # Fujitsu MB8696x based cards device sn # SMC's 9000 series of Ethernet chips device xe # Xircom pccard Ethernet # Wireless NIC cards device wlan # 802.11 support options IEEE80211_DEBUG # enable debug msgs options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's options IEEE80211_SUPPORT_MESH # enable 802.11s draft support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm device an # Aironet 4500/4800 802.11 wireless NICs. device ath # Atheros NIC's device ath_pci # Atheros pci/cardbus glue device ath_hal # pci/cardbus chip support options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors device ath_rate_sample # SampleRate tx rate control for ath #device bwi # Broadcom BCM430x/BCM431x wireless NICs. #device bwn # Broadcom BCM43xx wireless NICs. device ipw # Intel 2100 wireless NICs. device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs. device iwn # Intel 4965/1000/5000/6000 wireless NICs. device malo # Marvell Libertas wireless NICs. device mwl # Marvell 88W8363 802.11n wireless NICs. device ral # Ralink Technology RT2500 wireless NICs. device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. device wpi # Intel 3945ABG wireless NICs. # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support options USB_DEBUG # enable debug msgs device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device xhci # XHCI PCI->USB interface (USB 3.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices (needs netgraph) device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device urio # Diamond Rio 500 MP3 player # USB Serial devices device u3g # USB-based 3G modems (Option, Huawei, Sierra) device uark # Technologies ARK3116 based serial adapters device ubsa # Belkin F5U103 and compatible serial adapters device uftdi # For FTDI usb serial adapters device uipaq # Some WinCE based devices device uplcom # Prolific PL-2303 serial adapters device uslcom # SI Labs CP2101/CP2102 serial adapters device uvisor # Visor and Palm devices device uvscom # USB serial support for DDI pocket's PHS # USB Ethernet, requires miibus device aue # ADMtek USB Ethernet device axe # ASIX Electronics USB Ethernet device cdce # Generic USB over Ethernet device cue # CATC USB Ethernet device kue # Kawasaki LSI USB Ethernet device rue # RealTek RTL8150 USB Ethernet device udav # Davicom DM9601E USB # USB Wireless device rum # Ralink Technology RT2501USB wireless NICs device run # Ralink Technology RT2700/RT2800/RT3000 NICs. device uath # Atheros AR5523 wireless NICs device upgt # Conexant/Intersil PrismGT wireless NICs. device ural # Ralink Technology RT2500USB wireless NICs device urtw # Realtek RTL8187B/L wireless NICs device zyd # ZyDAS zd1211/zd1211b wireless NICs # FireWire support device firewire # FireWire bus code # sbp(4) works for some systems but causes boot failure on others #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 # Sound support device sound # Generic sound driver (required) device snd_es137x # Ensoniq AudioPCI ES137x device snd_hda # Intel High Definition Audio device snd_ich # Intel, NVidia and other ICH AC'97 Audio device snd_uaudio # USB Audio device snd_via8233 # VIA VT8233x Audio Regards, -cpghost. > Thanks > Subhro > > -- > Subhro Sankha Kar > System Administrator > Working and playing with FreeBSD since 2002 > > On 20-May-2012, at 5:53 PM, C. P. Ghost wrote: > >> Hello, >> >> what does this boot message means, and where >> does it come from? >> >> link_elf_obj: symbol ata_controlcmd undefined >> linker_load_file: Unsupported file type >> >> It appears between between >> ?ZFS storage pool version 28 >> and >> ?drm0: on vgapci0 >> >> uname -a: >> >> FreeBSD phenom.cordula.ws 9.0-STABLE FreeBSD 9.0-STABLE #0 >> r235604: Fri May 18 15:49:06 CEST 2012 root@phenom.cordula.ws: >> /usr/obj/usr/src/sys/GENERIC ?amd64 >> >> TIA, >> -cpghost. -- Cordula's Web. http://www.cordula.ws/ From freebsd at edvax.de Thu Jun 14 08:00:19 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 14 08:00:26 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: <4FD9956B.2010501@infracaninophile.co.uk> References: <20120614081107.c0439718.freebsd@edvax.de> <4FD9956B.2010501@infracaninophile.co.uk> Message-ID: <20120614100017.f636fc8d.freebsd@edvax.de> On Thu, 14 Jun 2012 08:40:27 +0100, Matthew Seaman wrote: > On 14/06/2012 07:11, Polytropon wrote: > > Even school taught that in the 80's: When dealing with > > computers, 1 kB != 1000 B, but 1 kB = 1024 B. That is > > considered basic knowledge. > > Schools teach a lot of things that are so glossed over or so > over-simplified as to be basically wrong. They have been known to teach > things that were common knowledge at the time and were later shown to be > simply incorrect[*]. That's why you never can stop learning in IT, and fighting bad habits in all imaginable areas. :-) > > Every IT person should be aware of this. It's common to "abuse" > > the SI units with the (known!) deviant interpretation. > > Really? If I said the bandwidth usage was 10Mb/s would you immediately > understand that was 10,000,000,000 bits per second? Yes, bandwidth is > always denoted in strict SI powers-of-1000 scale modifiers, always has > been, but the corrosive effect of muddling 2^10 vs 10^3 in computing > just leads to confusion and error. In that case, it's simple: The base unit is b (bit), not B (byte), so M = *1000*1000 as the normal SI interpretation. The abuse of M as in *1024*1024 (SI: Mi) only happens to bytes. :-) > > Sometimes, you find hardware vendors "forgetting" the factor > > mismatch 1024 vs. 1000 when they tell you how many GB the new > > shiny hard disk has. :-) > > Oh dear. It is so galling to realise that the sales people were > actually right all along isn't it? Does one's geek credibility no good > at all to realise that we've been out pedanted by some suits... And it becomes even more funny when an "IT aware" advertising manager says: "Hey, there's this cool Gi prefix, why not just say the disk is 800 GiB instead of 800 GB? Then more geeks will buy our products!" :-) (No, I won't try to even mention the fun of usable file system capacity vs. gross disk "hardware-only" capacity.) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From paul at ifdnrg.com Thu Jun 14 08:31:07 2012 From: paul at ifdnrg.com (Paul Macdonald) Date: Thu Jun 14 08:31:14 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: <20120613183414.CE84B106566C@hub.freebsd.org> References: <20120613183414.CE84B106566C@hub.freebsd.org> Message-ID: <4FD99B0A.6050105@ifdnrg.com> On 13/06/2012 19:34, Simon wrote: > Hi, > > I upgrade to FreeBSD 8.3-p3 and installed MySQL 5.0.95 from ports. > > It runs fine until it dies silently. Does anyone run a heavy loaded MySQL > under such setup? how can I troubleshoot this? > > I could never compile a stable MySQL server from the ports and always > relied on MySQL community server binaries but there is no binary for > latest 5.0.xx > > Thank you! > Simon > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Its not clear if you upgraded mysql or just did a vanilla fresh install, but assuming the former, i take it you ran the mysql_upgrade script post upgrade? /usr/ports/databases/mysqlXX-scripts -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546< Message-ID: <1bb5abbb8f8b777782bfad58f015d8f6@dizum.com> Hi is there any update on this? I would like to be able to run FreeBSD MIPS and I don't have a MIPS box! You wrote: > On Tue, May 15, 2012 at 10:06 AM, Adrian Chadd wrote: > > The short answer is yes - I've seen this. I've not done it myself > > though, I've just acquired cheap mips hardware. > > I'd currently preference the use of GXemul over the use of QEMU. > GXemul has a built-in test machine that we support disk, networking > and SMP on now. I'll try to take the time to write-up complete > instructions (I've done it so many times I'd surely leave something > out if I wrote it up right now) in the next few days, or perhaps > rwatson will, as I know his lab is using GXemul in that way. We > should try to get something on the Wiki for this as soon as possible > as it's a very easy way to get started with FreeBSD on MIPS, and is > infinitely-useful for debugging and some kinds of performance testing. From leslie at eskk.nu Thu Jun 14 09:41:25 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Thu Jun 14 09:41:32 2012 Subject: freebsd-update procedure, question Message-ID: <4FD9B1C4.6010403@eskk.nu> When one recives the FreeBSD Errata Notice or FreeBSD Security Advisory The instruction is to do: # freebsd-update fetch # freebsd-update install From earlier discussions on this list about the -px number not changing, I usually rebuild and install the kernel. My question is: Do I need to reboot after # freebsd-update install or can I rebuild and install the kernel before the reboot? Thanks /Leslie From leslie at eskk.nu Thu Jun 14 09:45:45 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Thu Jun 14 09:46:04 2012 Subject: freebsd-update install question Message-ID: <4FD9B2D3.5020409@eskk.nu> When I do freebsd-update install I get this error: Installing updates...install: ///usr/src/lib/libc/gen/libc_dlopen.c: No such file or directory I think it's because I do not have all sources installed. So I just want to confirm that it's the case. Also, should I care and install the source needed? Thanks /Leslie From matthew at FreeBSD.org Thu Jun 14 10:12:24 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Thu Jun 14 10:12:31 2012 Subject: freebsd-update procedure, question In-Reply-To: <4FD9B1C4.6010403@eskk.nu> References: <4FD9B1C4.6010403@eskk.nu> Message-ID: <4FD9B8F5.5060909@FreeBSD.org> On 14/06/2012 10:41, Leslie Jensen wrote: > When one recives the > > FreeBSD Errata Notice or > > FreeBSD Security Advisory > > The instruction is to do: > > > # freebsd-update fetch > > # freebsd-update install > > > > From earlier discussions on this list about the -px number not changing, > I usually rebuild and install the kernel. > > My question is: > > Do I need to reboot after # freebsd-update install or can I rebuild and > install the kernel before the reboot? freebsd-update will fetch any updates to /usr/src, so any time after you've done 'freebsd-update install' you can build and install a new kernel with all the security patches applied. Given that you are only applying security updates within one release branch and you are using a kernel configuration that has been well tested, you should be fine to just install the new kernel before rebooting at the end of your update procedure. However, if you're going to be doing anything more ambitious (switching RELEASE version, modifying the kernel config non-trivially), then you should adopt a more cautious approach. You need to make sure you've got a world+kernel combination that still works after freebsd-update has applied all its changes to the system before you try booting to your customised kernel. In the case of major version upgrades, use the default kernels that freebsd-update supplies during the actual upgrade so you can be assured that you have a working combination (working in the sense that you can log in and build/install a new kernel; if you need a custom kernel to support some odd bits of hardware then those temporarily won't work). Once you've got the system up and running after updating, then go ahead and build and install your new kernel. Should it fail to boot properly, you will be able to back-out to the previous known-working kernel. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120614/30ff9a2b/signature.pgp From m.seaman at infracaninophile.co.uk Thu Jun 14 10:18:25 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Jun 14 10:18:36 2012 Subject: freebsd-update install question In-Reply-To: <4FD9B2D3.5020409@eskk.nu> References: <4FD9B2D3.5020409@eskk.nu> Message-ID: <4FD9BA6C.70404@infracaninophile.co.uk> On 14/06/2012 10:45, Leslie Jensen wrote: > When I do > > freebsd-update install > > I get this error: > > Installing updates...install: ///usr/src/lib/libc/gen/libc_dlopen.c: No > such file or directory > > I think it's because I do not have all sources installed. So I just want > to confirm that it's the case. If you're using freebsd-update then you don't need the libc sources. Does no harm to have them around. Given you're using a custom kernel then you definitely do need the kernel sources: that's everything under /usr/src/sys plus a few other bits and pieces. > Also, should I care and install the source needed? The default setting for freebsd-update is to install the system sources. If you haven't changed /etc/freebsd-update.conf then something odd is happening. Perhaps you manually deleted the contents of /usr/src ? If you definitely don't want the system sources, then edit /etc/freebsd-update.conf and change this section in the obvious way: # Components of the base system which should be kept updated. Components src world kernel # Example for updating the userland and the kernel source code only: # Components src/base src/sys world ie. comment out the first 'Components' line and uncomment the second. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120614/4a6a99ce/signature.pgp From leslie at eskk.nu Thu Jun 14 10:30:30 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Thu Jun 14 10:30:40 2012 Subject: freebsd-update install question In-Reply-To: <4FD9BA6C.70404@infracaninophile.co.uk> References: <4FD9B2D3.5020409@eskk.nu> <4FD9BA6C.70404@infracaninophile.co.uk> Message-ID: <4FD9BD3D.2090601@eskk.nu> 2012-06-14 12:18, Matthew Seaman skrev: > On 14/06/2012 10:45, Leslie Jensen wrote: >> When I do >> >> freebsd-update install >> >> I get this error: >> >> Installing updates...install: ///usr/src/lib/libc/gen/libc_dlopen.c: No >> such file or directory >> >> I think it's because I do not have all sources installed. So I just want >> to confirm that it's the case. > > If you're using freebsd-update then you don't need the libc sources. > Does no harm to have them around. > > Given you're using a custom kernel then you definitely do need the > kernel sources: that's everything under /usr/src/sys plus a few other > bits and pieces. > >> Also, should I care and install the source needed? > > The default setting for freebsd-update is to install the system sources. > If you haven't changed /etc/freebsd-update.conf then something odd is > happening. Perhaps you manually deleted the contents of /usr/src ? > > If you definitely don't want the system sources, then edit > /etc/freebsd-update.conf and change this section in the obvious way: > > # Components of the base system which should be kept updated. > Components src world kernel > > # Example for updating the userland and the kernel source code only: > # Components src/base src/sys world > > ie. comment out the first 'Components' line and uncomment the second. > > Cheers, > > Matthew > I use the default kernel, on changes whatsoever. I haven't changed anything. I installed the sources because it was needed for VirtualBox, I think. I didn't install all sources only what was needed. I've not touched /etc/frebsd-update.conf at all. Should I install the libc souces? thanks /Leslie From om-lists-bsd at omx.ch Thu Jun 14 10:48:38 2012 From: om-lists-bsd at omx.ch (Olivier Mueller) Date: Thu Jun 14 10:48:45 2012 Subject: FreeBSD compatibility with HP ProLiant DL360p Generation 8 (Gen8) ? Message-ID: <1339670513.7205.27.camel@ompc.insign> Hello, I need to order a few more servers for an internal project, and instead of the usual DL360G7 we now use without any problem with FreeBSD, there would now be the next generation, called "Gen8". Intel? C600 Series Chipset Intel? E5-2600 Processor Family Storage Controller : HP Smart Array P420i/1GB Network Controller : HP Ethernet 1Gb 4-port 331FLR Adapter (full specs: http://h18000.www1.hp.com/products/quickspecs/14211_na/14211_na.pdf ) I am just wondering if it would also be compatible with the current version of FreeBSD. I guess it is the case at least for the cpu/chipset according to http://www.freebsd.org/releases/9.0R/hardware.html , but I miss for example the P420 or the network interface in the actual hardware list, so a confirmation before ordering would be really nice to have :) Thanks & kind regards, Olivier From nightrecon at hotmail.com Thu Jun 14 11:41:58 2012 From: nightrecon at hotmail.com (Michael Powell) Date: Thu Jun 14 11:42:05 2012 Subject: USB device activity when not mounted References: <4FD967E8.60305@dreamchaser.org> <20120614080511.0d855639.freebsd@edvax.de> Message-ID: Polytropon wrote: > On Wed, 13 Jun 2012 22:26:16 -0600, Gary Aitken wrote: >> I can understand why I would see activity on a USB device >> when it's first plugged in. But why do I see continued >> activity (i.e. the light blinks on a usb disk or memory stick)? >> When I umount one of these, they keep being beat up on and >> it makes me nervous... At what point is it sync'd and safe >> to unplug? I assume when the umount returns, but what's going >> on after that? > > I don't think that's a problem. I've got a USB stick here > that has a blinkenlight as soon as it's powered on (plugged > in), even if there is no reading / writing / mounting activity. > > After you've successfully performed umount, the USB stick _is_ > synced and can safely be removed, no matter what you assume > the funny lights want to tell you. > > Maybe that's just a "modern feature" to make the USB stick "more > entertaining". :-) I think der Blinkenlights is a Windows thing - some Windows driver bit turns it on and off. When you click the 'safe to remove' thing it's supposed to turn it off to tell you it's OK to pull it out. Totally meaningless and useless 'feature' if you're not using Windows, aside from the entertainment. :-) -Mike From vmiller at hostileadmin.com Thu Jun 14 11:52:01 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Thu Jun 14 11:52:08 2012 Subject: FreeBSD compatibility with HP ProLiant DL360p Generation 8 (Gen8) ? In-Reply-To: <1339670513.7205.27.camel@ompc.insign> References: <1339670513.7205.27.camel@ompc.insign> Message-ID: Reply inline... On Thu, Jun 14, 2012 at 6:41 AM, Olivier Mueller wrote: > Hello, > > I need to order a few more servers for an internal project, and instead > of the usual DL360G7 we now use without any problem with FreeBSD, there > would now be the next generation, called "Gen8". > > Intel? C600 Series Chipset > Intel? E5-2600 Processor Family > Storage Controller : HP Smart Array P420i/1GB > Network Controller : HP Ethernet 1Gb 4-port 331FLR Adapter > (full specs: http://h18000.www1.hp.com/products/quickspecs/14211_na/14211_na.pdf ) I cannot comment on 9.x as we have not yet tested it on the 360p G8. I can, however, say that we did not have problems with the RAID controller with stable/8. We did have problems with the on-board NIC, I don't remember what model it is, but it is based on the BCM5719 controller. We ordered a few PCIe Intel NICs and tried the 82571 which did work with stable/8. We've got on order a few of the HP NC361T, which is based on the Intel i350, which we tested in a Dell and it worked there. Again, all this is with stable/8, but generally if the driver works in 8, it will work in 9. -- Take care Rick Miller From dalescott at shaw.ca Thu Jun 14 12:59:38 2012 From: dalescott at shaw.ca (Dale Scott) Date: Thu Jun 14 12:59:45 2012 Subject: freebsd-update install question In-Reply-To: <4FD9BD3D.2090601@eskk.nu> References: <4FD9B2D3.5020409@eskk.nu> <4FD9BA6C.70404@infracaninophile.co.uk> <4FD9BD3D.2090601@eskk.nu> Message-ID: <019301cd4a2d$8cf5dfc0$a6e19f40$@shaw.ca> > Should I install the libc souces? I had this error when upgrading 8.x (8.1 to 8.2?), and solved it by creating the directory only (actual sources not required). I recall someone had posted this solution to the list at the time. Regards, Dale From jmc-freebsd2 at milibyte.co.uk Thu Jun 14 13:38:06 2012 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Thu Jun 14 13:40:46 2012 Subject: USB device activity when not mounted In-Reply-To: <20120614080511.0d855639.freebsd@edvax.de> References: <4FD967E8.60305@dreamchaser.org> <20120614080511.0d855639.freebsd@edvax.de> Message-ID: <201206141437.52763.jmc-freebsd2@milibyte.co.uk> On Thursday 14 June 2012 07:05:11 Polytropon wrote: > I don't think that's a problem. I've got a USB stick here > that has a blinkenlight as soon as it's powered on (plugged > in), even if there is no reading / writing / mounting activity. > > After you've successfully performed umount, the USB stick _is_ > synced and can safely be removed, no matter what you assume > the funny lights want to tell you. > > Maybe that's just a "modern feature" to make the USB stick "more > entertaining". :-) I have a Kingston one here which does appear to only blink while data is being transferred but one thing I have noticed is that the light continues to blink for a few seconds after the umount command completes. Presumably syncing is not compled until a few seconds after umount. Perhaps it's always safer to wait a few seconds after umounting before removing any USB storage device? -- Mike Clarke From cyberleo at cyberleo.net Thu Jun 14 13:41:27 2012 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Thu Jun 14 13:41:40 2012 Subject: slowoffice doesn't work In-Reply-To: References: Message-ID: <4FD9EA00.6000409@cyberleo.net> On 06/13/2012 11:49 PM, Wojciech Puchar wrote: > trying to start openoffice shows: > > [wojtek@wojtek ~]$ openoffice-3.4.0-swriter > XDM authorization key matches an existing > client!/usr/local/openoffice-3.4.0/openoffice.org3/program/soffice.bin > X11 error: Can't open display: > Set DISPLAY environment variable, use -display option > or check permissions of your X-Server > (See "man X" resp. "man xhost" for details) > > > > everything else works, doing > > xhost + > > "fixed" the problem. any idea what is wrong. > deleting .openoffice doesn't change anything This was a big problem with certain programs that like to re-exec themselves very quickly upon startup. It affected Firefox[1] and Thunderbird[2] circa 2003-2004. The pedantically correct solution is to fix the limitation in the xsecurity protocol. The realistically correct solution is to fix the bug in OpenOffice. The more useful solution is to put something like this in your .xinitrc/.xsession script: ----8<---- # Tell X to authorize me xhost +si:localuser:$(id -un) >&/dev/null ----8<---- [1] https://bugzilla.mozilla.org/show_bug.cgi?id=246313 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=224966 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2011-02/msg00086.html http://lists.debian.org/debian-devel/2000/11/msg01823.html -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From feenberg at nber.org Thu Jun 14 13:55:51 2012 From: feenberg at nber.org (Daniel Feenberg) Date: Thu Jun 14 13:55:58 2012 Subject: USB device activity when not mounted In-Reply-To: <201206141437.52763.jmc-freebsd2@milibyte.co.uk> References: <4FD967E8.60305@dreamchaser.org> <20120614080511.0d855639.freebsd@edvax.de> <201206141437.52763.jmc-freebsd2@milibyte.co.uk> Message-ID: On Thu, 14 Jun 2012, Mike Clarke wrote: > On Thursday 14 June 2012 07:05:11 Polytropon wrote: >> I don't think that's a problem. I've got a USB stick here >> that has a blinkenlight as soon as it's powered on (plugged >> in), even if there is no reading / writing / mounting activity. >> >> After you've successfully performed umount, the USB stick _is_ >> synced and can safely be removed, no matter what you assume >> the funny lights want to tell you. >> Is it possible that there is volitile memory buffering in the stick that may not have been written to flash when umount thinks it is complete, and the flashing light is an indication that power is still required to complete the write to non-volitile memory? Futhermore, are we sure that umount even waits for a sync? There is no mention of that in the man page and I don't recall any long waits for umount to return. daniel feenberg From simon at optinet.com Thu Jun 14 14:07:20 2012 From: simon at optinet.com (Simon) Date: Thu Jun 14 14:07:27 2012 Subject: FreeBSD 8.3 + MySQL 5.0.95 In-Reply-To: <4FD99B0A.6050105@ifdnrg.com> Message-ID: <20120614140720.251AA106564A@hub.freebsd.org> On Thu, 14 Jun 2012 09:04:26 +0100, Paul Macdonald wrote: >On 13/06/2012 19:34, Simon wrote: >> Hi, >> >> I upgrade to FreeBSD 8.3-p3 and installed MySQL 5.0.95 from ports. >> >> It runs fine until it dies silently. Does anyone run a heavy loaded MySQL >> under such setup? how can I troubleshoot this? >> >> I could never compile a stable MySQL server from the ports and always >> relied on MySQL community server binaries but there is no binary for >> latest 5.0.xx >> >> Thank you! >> Simon >> >Its not clear if you upgraded mysql or just did a vanilla fresh install, >but assuming the former, >i take it you ran the mysql_upgrade script post upgrade? >/usr/ports/databases/mysqlXX-scripts No, I did not run the mysql_upgrade because this was a minor upgrade. I was running 5.0.88 Community Server binary install built by mysql developers rock solid for long time. Then I decided to upgrade to latest 5.0.x but there is no such build for FreeBSD by the MySQL developers. So I decided to give the ports version a shot. I compiled and installed databases/mysql50-server with BUILD_STATIC The latest mysql50-server under FBSD 8.3 is 5.0.95 BTW, I'm doing this on FreeBSD 8.3-p3 AMD64 PS I just had it die on a different machine that is less loaded and uses less memory. -Simon From freebsd at edvax.de Thu Jun 14 14:45:54 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 14 14:46:01 2012 Subject: USB device activity when not mounted In-Reply-To: References: <4FD967E8.60305@dreamchaser.org> <20120614080511.0d855639.freebsd@edvax.de> <201206141437.52763.jmc-freebsd2@milibyte.co.uk> Message-ID: <20120614164546.6e83bb12.freebsd@edvax.de> On Thu, 14 Jun 2012 09:49:00 -0400 (EDT), Daniel Feenberg wrote: > Is it possible that there is volitile memory buffering in the stick that > may not have been written to flash when umount thinks it is complete, and > the flashing light is an indication that power is still required to > complete the write to non-volitile memory? That is possible, but then, the light should be silent after a finite amount of time. > Futhermore, are we sure that umount even waits for a sync? There is no > mention of that in the man page and I don't recall any long waits for > umount to return. If I remember correctly, the umount command instructs the kernel to write all pending file buffers and then detach the device from the file system hierarchy. When the device has been detached (doesn't appear anymore in mount output), everything should have been written. However, as you said it might be possible that _inside_ the USB stick there is still an action that needs to be performed and therefore requires power. But I doubt this takes several seconds to complete... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From will at worrbase.com Thu Jun 14 14:59:12 2012 From: will at worrbase.com (William Orr) Date: Thu Jun 14 14:59:18 2012 Subject: Lost /var/db/pkg In-Reply-To: References: Message-ID: Thanks, it looks like I had a copy from May in there that was fairly accurate! On Jun 13, 2012 5:03 PM, "Warren Block" wrote: > On Wed, 13 Jun 2012, Eitan Adler wrote: > > On 12 June 2012 18:03, William Orr wrote: >> >>> Hello, >>> >>> I had a hard disk failure some time ago, and I ended up losing >>> /var/db/pkg/ and everything under it (before you say I should've been >>> backing it up, I know, I was actually doing an initial full when this >>> happened). Is there a way I can restore it, or at least manually add >>> entries I know for sure about? >>> >> >> look in /var/db/pkgdb.bak.tbz >> > ^^^ > ITYM /var/backups/pkgdb.bak.tbz. > From jmc-freebsd2 at milibyte.co.uk Thu Jun 14 15:18:55 2012 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Thu Jun 14 15:19:03 2012 Subject: USB device activity when not mounted In-Reply-To: <20120614164546.6e83bb12.freebsd@edvax.de> References: <4FD967E8.60305@dreamchaser.org> <20120614164546.6e83bb12.freebsd@edvax.de> Message-ID: <201206141618.44981.jmc-freebsd2@milibyte.co.uk> On Thursday 14 June 2012 15:45:46 Polytropon wrote: > However, as you said > it might be possible that _inside_ the USB stick there is > still an action that needs to be performed and therefore > requires power. That's a possibility. > But I doubt this takes several seconds to > complete... I've just run a test here. The umount command returns almost instantaneously and the light, which is normally only lit while data is flowing, flickers for about 2 seconds after the umount command. But further testing showed that it flickers for 2 seconds after reading single byte file so perhaps the blinkenlight is configured with a minimum activation time. Being cautious however, I always wait a few seconds before removing any USB stick from any computer. -- Mike Clarke From jhs at berklix.com Thu Jun 14 15:32:22 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Thu Jun 14 15:32:30 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: Your message "Thu, 14 Jun 2012 09:51:46 +0200." Message-ID: <201206141531.q5EFVnt4085652@fire.js.berklix.net> Hi, Reference: > From: "C. P. Ghost" > Date: Thu, 14 Jun 2012 09:51:46 +0200 > Message-id: "C. P. Ghost" wrote: > On Tue, Jun 5, 2012 at 8:19 PM, Kurt Buff wrote: > > UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries > > http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > > > > This would seem to make compiling from source difficult. > > > > Kurt > > I'm not sure I understand the issue, but this is my take on it > so far: > > 1. What's preventing the makers of boot loaders like GRUB (which can > also boot FreeBSD) from getting a certificate ONCE? And if they have > one, what's preventing them from loading ANY kernel at all? If you read Fedora's page they were planning to tighten their boot sequence to then only boot their approved binary kernels. Not that others ( eg us) would have to, presumably we could leave it wide open (aside of terms of purchase see discussion earlier in thread), (aside of risk of key revocation on some hardware manufacturers) Risk of key revocation later If hardware manufacturer ships new bios or uefi, or user upgrades to new UEFI (eg I as a user must upgrade a uefi soon as a laptop overheats). + if MS get away with this intrusion, next they'll consider requiring a "Call Home" demon (that could also run on *UX, I guess they'd be pleased to provide source free of charge for that next stage entrapment ! ;-) that all PC users must run periodicaly, to update UEFI table with new revised list of authorised keys. > It is only > the first stage boot loader that needs to be signed, or not? Far as I've read, yes. I wasn't sure about AMD so I looked here: /usr/ports/sysutils/grub/Makefile ONLY_FOR_ARCHS= i386 http://www.gnu.org/software/grub/grub-faq.html (Re Grub 2) The current release is working on Intel/AMD PCs, OpenFirmware-based PowerPC machines (PowerMac and Pegasos), EFI-based PC (IntelMac) and coreboot (formerly, LinuxBIOS), and is being ported to UltraSparc. > 2. What's preventing anyone of us in the EU from stepping up > efforts with the EU Commission and the EU Parliament to stop > Microsoft from monopolizing the ARM (and later x86) platforms, > i.e. by becoming the only gatekeepers? After all, EU sovereign > states and their economies can't depend on a US corporation > having a global kill switch to their whole infrastructure. We're not > just talking about Windows dominance here, but a lot more: > dominance on the whole hardware segment. I'm pretty sure this > scheme is highly anti-competitive, and I guess it runs afoul of a lot > of already existing EU regulations. I think we will need to contact the EU, hence assembling URLs first: http://berklix.org/uefi/ Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From demelier.david at gmail.com Thu Jun 14 16:02:51 2012 From: demelier.david at gmail.com (David Demelier) Date: Thu Jun 14 16:53:06 2012 Subject: No surround sound with Creative SB Live! card Message-ID: <4FDA0B5E.4090901@gmail.com> Hello, I have an old SB Live! card with a 5.1 speaker set, but i can't get sound from center and rear speakers with mplayer. I'm using the snd_emu10kx driver and when I try to play a DVD I get sound only through the front speakers (and LFE) like a 2.1 Adding -channels 6 to the mplayer args does not help. Cheers, -- David Demelier From smithi at nimnet.asn.au Thu Jun 14 18:22:32 2012 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu Jun 14 18:22:40 2012 Subject: hwpstate0 set frequency err 6 In-Reply-To: <20120613234107.B85DF10656D3@hub.freebsd.org> References: <20120613234107.B85DF10656D3@hub.freebsd.org> Message-ID: <20120615040137.S46641@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 419, Issue 9, Message: 2 On Wed, 13 Jun 2012 10:33:49 -0400 Lynn Steven Killingsworth wrote: > This is the fourth time I have installed FreeBSD while learning the in's and > out's. I have a new mainboard this time (ASUS M5A97 EVO + AMD FX 8120.) > I have set up dual booting because of a few legacy apps. When the boot of > OS gets to the login prompt I begin to get the error message 'hwpstate0 set > frequency err 6' > During installation my super-workstation started to run as though it were > getting the absolutely maximum stress test. The fans on my new Corsair H80 > started to whine as well. The 'stress test' effect starts the three next > times I have booted so I am not booting into FreeBSD at the moment. > Any advice? Only that it seems perhaps similar or related to some threads in May on freebsd-stable@ subject: "[stable 9] broken hwpstate calls" that may or may not have yet resulted in a patch you could try. http://lists.freebsd.org/pipermail/freebsd-stable/2012-May/thread.html Thread continues in June, as a perhaps more general p-state discussion. > Thanks Lynn Steven Killingsworth cheers, Ian From dieterbsd at engineer.com Thu Jun 14 18:26:41 2012 From: dieterbsd at engineer.com (Dieter BSD) Date: Thu Jun 14 18:26:53 2012 Subject: UEFI Secure Boot Specs - And some sanity Message-ID: <20120614181940.22680@gmx.com> grarpamp writes: > Plenty of millionaires > out there now who are in tune with opensource who could startup, > buy the same ARM/ATOM/etc chips, the same support chips, load > Android and sell it to the masses. Would you please post a list of these millionaire FLOSS entrepreneurs? Thank you. From anonymous at anonymitaet-im-inter.net Thu Jun 14 18:51:23 2012 From: anonymous at anonymitaet-im-inter.net (Dave U. Random) Date: Thu Jun 14 18:51:30 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <201206141531.q5EFVnt4085652@fire.js.berklix.net> Message-ID: <00882ecb3a2e442175aeb10cfad98122@anonymitaet-im-inter.net> > If you read Fedora's page they were planning to tighten their boot > sequence to then only boot their approved binary kernels. Save your old copies of lilo and grub. You're gonna need them if you want to stay on Intel Mafioso hardware. > Risk of key revocation later > If hardware manufacturer ships new bios or uefi, or user > upgrades to new UEFI (eg I as a user must upgrade a uefi > soon as a laptop overheats). + if MS get away with this > intrusion, next they'll consider requiring a "Call Home" > demon No, this doesn't run on the OS. It runs from UEFI in the BIOS. Internet connectivity is already part of the UEFI spec. Your box doesn't even to have to be running. As long as it's plugged in, you're at their beck and call. Say NO to the WinTel Mafia! From peter at vereshagin.org Thu Jun 14 19:38:21 2012 From: peter at vereshagin.org (Peter Vereshagin) Date: Thu Jun 14 19:38:28 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: <20120613202325.GC5800@external.screwed.box> References: <20120613202325.GC5800@external.screwed.box> Message-ID: <20120614193758.GA6419@external.screwed.box> Hello. 2012/06/14 00:23:25 +0400 Peter Vereshagin => To freebsd-questions@freebsd.org: PV> ot the least how could I see the 'real' size of each of those files, both ~150M PV> actulally, with a system command? also, 'du' works that way for regular files. But implicitly I wanted about ls's key, thanks a lot guys! Kind of a very humble unadvertised feature but needed for ages in contrast from EA and ACL. Another interesting thing is that it seems to be supported by perl's stat() builtin. -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From chris at monochrome.org Thu Jun 14 21:35:41 2012 From: chris at monochrome.org (Chris Hill) Date: Thu Jun 14 21:36:14 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: <4FDA0B5E.4090901@gmail.com> References: <4FDA0B5E.4090901@gmail.com> Message-ID: On Thu, 14 Jun 2012, David Demelier wrote: > I have an old SB Live! card with a 5.1 speaker set, but i can't get > sound from center and rear speakers with mplayer. > > I'm using the snd_emu10kx driver and when I try to play a DVD I get > sound only through the front speakers (and LFE) like a 2.1 > > Adding -channels 6 to the mplayer args does not help. Does the DVD source material actually have 5.1 sound? Silly question, I know, but it has to be asked. You may also want to pose this question to multimedia@ -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From gull at gull.us Thu Jun 14 21:52:50 2012 From: gull at gull.us (David Brodbeck) Date: Thu Jun 14 21:52:57 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: <20120614193758.GA6419@external.screwed.box> References: <20120613202325.GC5800@external.screwed.box> <20120614193758.GA6419@external.screwed.box> Message-ID: On Thu, Jun 14, 2012 at 12:37 PM, Peter Vereshagin wrote: > Hello. > > 2012/06/14 00:23:25 +0400 Peter Vereshagin => To freebsd-questions@freebsd.org: > > PV> ot the least how could I see the 'real' size of each of those files, both ?~150M > PV> actulally, with a system command? > > also, 'du' works that way for regular files. But implicitly I wanted about ls's > key, thanks a lot guys! Yes, the default for du is the actual disk usage, and "du -A" gives the apparent size. We run an OpenSolaris filer with on-the-fly compression, and I've occasionally had people express confusion after copying a large text file to it and finding the copy to be smaller than the original when viewed with 'du'. ;) From cn2i-solaire at e-mailink.fr Thu Jun 14 22:08:29 2012 From: cn2i-solaire at e-mailink.fr (CN2i SOLAIRE 9% Rendement Sud FRANCE) Date: Thu Jun 14 22:08:38 2012 Subject: INVESTISSEMENT SOLAIRE 9% Securite EDF et REVENTE a 6 ans MP s Message-ID: <20120614214202.80B9C1F631E@smtp.e-mailink.fr> Pour afficher correctem= ent la page [1]Cliquez-ici Pour = Devenir Partenaire [2]Cliq= uez-ici [3]3D"PV4_NEWSLETTER_SOLAIRE_PV4_CAVAILLON_CN2i_DEVELOPPEMENT_MARS_20= Pour Dev= enir Partenaire [4]Cliq= uez-ici Michael FRAYSSE =AB&n= bsp;Direction =BB CN2i DEVELOPPEMENT Site Web : [5]www.cn2i.fr &n= bsp; &nb= sp; Skype :=A0michael.frayss= e Accueil : 05 . 61 . 214 . 942 = ; Mobile de Permanence : 06 . 60 . 168 . 528 Fax =AB Back Office =BB : = ; 08 . 21 . 896 . 859 _____________________________________________________________________ = ______ =A9CN2i D=E9veloppement =AB Promoteur National en Investissement Photovolta=EFque =BB =AB Plate-forme de Commercialisation Centrales Solaires Photovolta=EFq= ues =BB Rcs : 502 083 652 .NAF : 66 19 B Capital Social : 50.000 =80 = &nb= sp; = &nb= sp; Si=E8ge Social : 10 Ter Avenue des PYRENEES 31120 LACROIX FALGARDE ______________________________________________________________________ _____= Michael Tv Piano YouTube : [6]http://www.youtube.com/user/MichaelMusicPiano/videos Michael Tv Piano Dailymotion : [7]http://www.dailymotion.com/Michael_Fraysse?fbc=3D503 [8]DESINSCRIPTION : CLIQUEZ-ICI = References 1. 3D"http://www.cn2i.fr/NEWSLETTER/PV4_NEWSLETTER_SOLAIRE_PV4_CAVAILL= 2. 3D"http://www.cn2i.fr/devenir_partenaire.php" 3. 3D"http://www.cn2i.fr/Projet-d-Investissement-Centrale-Photovoltaiq= 4. 3D"http://www.cn2i.fr/devenir_partenaire.php" 5. 3D"http://www.cn2i.fr"/ 6. 3D"http://www.youtube.com/user/MichaelMusicPiano/videos" 7. 3D"http://www.dailymotion.com/Michael_Fraysse?fbc=3D503" 8. 3D"mailto:desabo-solaire@e-mailink.fr?Subject=3DRef_Desabo=3DElk-50= From cpghost at cordula.ws Fri Jun 15 00:23:30 2012 From: cpghost at cordula.ws (C. P. Ghost) Date: Fri Jun 15 00:23:36 2012 Subject: UEFI Secure Boot Specs - And some sanity In-Reply-To: References: <201206081611.q58GBW0J097808@fire.js.berklix.net> Message-ID: On Sat, Jun 9, 2012 at 12:17 AM, grarpamp wrote: > I did say "effectively". If people would actually read that chapter > in the spec (minimally 27.5) they would find that they can: > - Load a new PK without asking if in default SetupMode > - If not in SetupMode, chainload a new PK provided it is > signed by the current PK. > - Clear the PK in a 'secure platform specific method'. Only if they fully follow the spec. This is rather unlikely. Even today, there are still many broken DMI/SMBIOS tables out there that contain barely enough stuff for Windows to boot successfully. What makes you think UEFI BIOS makers will go all the trouble to implement such a complex spec, if all they have to do is to ensure compliance with MS requirements? I wouldn't count on an option or switch to override this system. Technically, we may very well have to replace the BIOS, or even the BIOS chip itself (that'll be fun if it is physically mounted on the board!), and replace it with a chip flashed with a free BIOS. And by then, the corps who are responsible for this UEFI mess will have made it illegal to 1. tinker with your own hardware, as it would be DRM circumvention and 2. implement a free UEFI BIOS as it would violate some UEFI patents. Basically, we may end up in a situation where running FreeBSD on a modified motherboard could be outright illegal. Which is exactly the point, isn't it? -cpghost. -- Cordula's Web. http://www.cordula.ws/ From steve.bertrand at gmail.com Fri Jun 15 03:20:31 2012 From: steve.bertrand at gmail.com (Steve Bertrand) Date: Fri Jun 15 03:20:38 2012 Subject: Uptime [OT] Message-ID: <4FDAA9F3.8050308@gmail.com> I still have non-root access to a box from my old job... it is non-available and doing nothing, so updates are irrelevant: %uptime 9:01PM up 1142 days, 5:29, 1 user, load averages: 0.00, 0.00, 0.00 Steve From feld at feld.me Fri Jun 15 03:35:13 2012 From: feld at feld.me (Mark Felder) Date: Fri Jun 15 03:35:21 2012 Subject: Uptime [OT] In-Reply-To: <4FDAA9F3.8050308@gmail.com> References: <4FDAA9F3.8050308@gmail.com> Message-ID: In production and survived many area-wide power outages: % uptime 10:34PM up 2021 days, 18:02, 1 user, load averages: 0.00, 0.00, 0.00 From steve.bertrand at gmail.com Fri Jun 15 03:35:53 2012 From: steve.bertrand at gmail.com (Steve Bertrand) Date: Fri Jun 15 03:36:00 2012 Subject: Uptime [OT] In-Reply-To: <4FDAA9F3.8050308@gmail.com> References: <4FDAA9F3.8050308@gmail.com> Message-ID: <4FDAAD94.9080409@gmail.com> On 14/06/2012 9:20 PM, Steve Bertrand wrote: > I still have non-root access to a box from my old job... it is > non-available and doing nothing, so updates are irrelevant: > > %uptime > 9:01PM up 1142 days, 5:29, 1 user, load averages: 0.00, 0.00, 0.00 fwiw: %uname -a FreeBSD xxxx.xxxx.xxx 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #1: Wed Apr 29 06:34:04 EDT 2009 steve@xxx.xxxx.xxx:/usr/obj/usr/src/sys/xxxx i386 From steve.bertrand at gmail.com Fri Jun 15 03:38:02 2012 From: steve.bertrand at gmail.com (Steve Bertrand) Date: Fri Jun 15 03:38:09 2012 Subject: Uptime [OT] In-Reply-To: References: <4FDAA9F3.8050308@gmail.com> Message-ID: <4FDAAE17.5000300@gmail.com> On 14/06/2012 9:35 PM, Mark Felder wrote: > In production and survived many area-wide power outages: > > % uptime > 10:34PM up 2021 days, 18:02, 1 user, load averages: 0.00, 0.00, 0.00 That's hardcore homie... wow! What does this box survive to do? Steve From eam1edward at gmail.com Fri Jun 15 03:38:38 2012 From: eam1edward at gmail.com (Edward M) Date: Fri Jun 15 03:38:45 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: <4FDA0B5E.4090901@gmail.com> References: <4FDA0B5E.4090901@gmail.com> Message-ID: <4FDAAF5E.4040500@gmail.com> On 06/14/2012 09:03 AM, David Demelier wrote: > I have an old SB Live! card with a 5.1 speaker set, but i can't get > sound from center and rear speakers with mplayer. > > I'm using the snd_emu10kx driver and when I try to play a DVD I get > sound only through the front speakers (and LFE) like a 2.1 > > Adding -channels 6 to the mplayer args does not help. > > Cheers, Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or DTS. So a decorder is needed. From feld at feld.me Fri Jun 15 03:43:20 2012 From: feld at feld.me (Mark Felder) Date: Fri Jun 15 03:43:26 2012 Subject: Uptime [OT] In-Reply-To: <4FDAAE17.5000300@gmail.com> References: <4FDAA9F3.8050308@gmail.com> <4FDAAE17.5000300@gmail.com> Message-ID: On Thu, 14 Jun 2012 22:37:59 -0500, Steve Bertrand wrote: > That's hardcore homie... wow! > What does this box survive to do? Transparent traffic shaping/firewalling via IPFW; it's not actually visible to the internet. There isn't much load at all, but the hardware is quickly aging. The dual power supply has saved it a few times, too. I think there's another server which I believe is close to 2600 days uptime but I'll have to brainstorm and see if I can remember which one it is. From steve.bertrand at gmail.com Fri Jun 15 03:51:35 2012 From: steve.bertrand at gmail.com (Steve Bertrand) Date: Fri Jun 15 03:51:42 2012 Subject: Uptime [OT] In-Reply-To: References: <4FDAA9F3.8050308@gmail.com> <4FDAAE17.5000300@gmail.com> Message-ID: <4FDAB144.6040102@gmail.com> On 14/06/2012 9:43 PM, Mark Felder wrote: > On Thu, 14 Jun 2012 22:37:59 -0500, Steve Bertrand > wrote: > >> That's hardcore homie... wow! >> What does this box survive to do? > > > Transparent traffic shaping/firewalling via IPFW; it's not actually > visible to the internet. There isn't much load at all, but the hardware > is quickly aging. The dual power supply has saved it a few times, too. I > think there's another server which I believe is close to 2600 days > uptime but I'll have to brainstorm and see if I can remember which one > it is. lmao... you must be a sysadmin ;) IPFW is all I've used on FreeBSD. I designed an ISP edge based on Microtic hardware with flash-based FBSD installs with Quagga and IPFW. I was hesitant to change to anything else, because I wrote an awful lot of Perl code that automated IPFW changes across the network. I don't use FBSD as much as I used to, but I still stick to my roots and write most of my code on it. I don't maintain many servers with it anymore though. This is why I thought I'd speak up... to let everyone know I'm still alive and kicking. Apparently, so is one of my boxes ;) Steve From feld at feld.me Fri Jun 15 03:51:54 2012 From: feld at feld.me (Mark Felder) Date: Fri Jun 15 03:51:59 2012 Subject: Uptime [OT] In-Reply-To: <4FDAAD94.9080409@gmail.com> References: <4FDAA9F3.8050308@gmail.com> <4FDAAD94.9080409@gmail.com> Message-ID: FreeBSD REDACTED 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 15 16:29:10 CST 2006 root@REDACTED:/usr/src/sys/i386/compile/IPFW-POLING-ALTQ i386 Theres no way I'm giving out the organization name or hostname haha. We're slowly moving customers away from this device, but not forcing anyone. I wonder if the technician who compiled that kernel considered how long it would run.... Oh, perhaps this thread should be renamed to "Why are you using FreeBSD?" to fit in with the others... From grarpamp at gmail.com Fri Jun 15 04:21:02 2012 From: grarpamp at gmail.com (grarpamp) Date: Fri Jun 15 04:21:07 2012 Subject: `ls -l` shows size of file other than of the folder? In-Reply-To: References: <20120614081107.c0439718.freebsd@edvax.de> Message-ID: >>> > The following creates a file with a size of 1024000002 (a gig) >>> > fseek(stdout, 1000000*1024, SEEK_END); >>> Nope :) What you have there is not actually called (anything). >> It would maybe be called a MKiB. :-) I'll buy that, if someone chips in the deuce :) > In SI units it is called a gigabyte. No, it's not called anything. > Everyone knows what he talking about so playing semantic > games is silly. Rockets crash due to assumptions and trivializing semantics. "That's why you never can stop learning in IT, and fighting bad habits in all imaginable areas. :-)" > Can we move on to real questions? :) Ok :) From jacqui at somethingsocial.com.au Fri Jun 15 07:30:59 2012 From: jacqui at somethingsocial.com.au (Jacqueline Parlane) Date: Fri Jun 15 07:31:13 2012 Subject: Account access Message-ID: <078B045D-F00A-4F0C-8716-A41C9BC1867E@somethingsocial.com.au> Hi there Just hoping I can hear back from someone on the process to unlock one of my clients accounts with http://freedns.afraid.org/ please. Her previous web developer is no longer in contact and we need to put in place some domain redirects and access a mailing list. I look forward to hearing from you. Kind Regards Jacqueline From mbsd at isgroup.com.ua Fri Jun 15 09:22:51 2012 From: mbsd at isgroup.com.ua (mbsd) Date: Fri Jun 15 09:22:58 2012 Subject: Freebsd without swap Message-ID: <1339752157.58075.24.camel@localhost> Hi there. Now I'm using FreeBSD 9 without swap, and without additional swap - related configurations. ? ~ ? gpart show => 34 234441581 ada0 GPT (111G) 34 128 1 freebsd-boot (64k) 162 234441453 2 freebsd-zfs (111G) ? ~ ? pstat -T 3857/12328 files 0M/0M swap space And all work perfectly or that seems to me :). My working machine is ThinkPad T61 with 4G ram. I'm typically desktop user. And the question is: Does it correct to use freebsd like this? Or I need specific setup? Option NO_SWAPPING if I understand right not for this purpose. Sysctl vm.swap_enabled=0 seems to be useful. From mueller23 at insightbb.com Fri Jun 15 09:26:17 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Fri Jun 15 09:26:24 2012 Subject: USB device activity when not mounted Message-ID: <17.97.18914.61FFADF4@smtp01.insight.synacor.com> > I can understand why I would see activity on a USB device when it's first plugged in. But why do I see continued activity (i.e. the light blinks on a usb disk or memory stick)? When I umount one of these, they keep being beat up on and it makes me nervous... At what point is it sync'd and safe to unplug? I assume when the umount returns, but what's going on after that? > Gary _______________________________________________ I had that problem/quirk with a SanDisk Cruzer 8 GB USB stick. Light would slowly blink in all OSes (FreeBSD, NetBSD, Linux) I use, but not in FreeDOS. This even happened before mounting and persisted after umounting. I just tested on the new computer, running FreeBSD 9.0-STABLE #10 amd64, got the slow blink even without mounting. No other USB sticks ever did this in my experience, though I can't speak for brands I've never used. USB sticks are not all created equal. One lot of Kingston Data Travelers would not work in NetBSD but were good in Linux and FreeBSD, and even FreeDOS and OpenIndiana on the new computer. Other USB sticks, including Kingston Data Travelers, worked in NetBSD as well as Linux and FreeBSD. But I was not able to install OpenIndiana on the new computer because it couldn't access a GPT-partitioned hard drive, neither could FreeDOS. Tom From jhs at berklix.com Fri Jun 15 09:58:40 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Fri Jun 15 09:58:48 2012 Subject: UEFI Secure Boot Specs - And some sanity In-Reply-To: Your message "Fri, 15 Jun 2012 02:23:29 +0200." Message-ID: <201206150958.q5F9w3N9023951@fire.js.berklix.net> Hi Cordula, Good points you made. The sooner it's blocked the easier to block. *BSD, + *Linux, Solaris etc people could start contacting their local anti monopoly / anti free trade, government departments to give them time to look into the issues. If eg EU commision found it a monopolist conspiracy, & imposed swingeing fines like on Microsoft last time, that could persuade Asian mainboard manufacturers not to monopolise with Microsoft. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From gmx at ross.cx Fri Jun 15 10:48:49 2012 From: gmx at ross.cx (Michael Ross) Date: Fri Jun 15 10:48:56 2012 Subject: Trigger action on link state change Message-ID: Hi all, i was wondering if there is any ready-made method to trigger an action as soon as a link changes state. Along the lines of onifdown_em0="/run/this/script" in rc.conf Background: Discussing physical data security with a client yesterday: The machine has to run 24/7. The filesystem is encrypted on boot, but this doesn't help a lot if anybody brings an AC generator to steal the machine *AND* the UPS. Best point in time to lock the machine I could think of was when somebody pulls the NIC cable. Regards, Michael From guru at unixarea.de Fri Jun 15 10:53:27 2012 From: guru at unixarea.de (Matthias Apitz) Date: Fri Jun 15 10:53:34 2012 Subject: Trigger action on link state change In-Reply-To: References: Message-ID: <20120615105321.GA1904@tiny.Sisis.de> El d?a Friday, June 15, 2012 a las 12:32:15PM +0200, Michael Ross escribi?: > > Hi all, > > i was wondering if there is any ready-made method to trigger an action as > soon as a link changes state. > Along the lines of > onifdown_em0="/run/this/script" > in rc.conf Hi, check the man pages of devd(8) and devd.conf(5) HIH matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From demelier.david at gmail.com Fri Jun 15 08:00:14 2012 From: demelier.david at gmail.com (David Demelier) Date: Fri Jun 15 11:05:59 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: References: <4FDA0B5E.4090901@gmail.com> Message-ID: <4FDAEBC3.40307@gmail.com> On 14/06/2012 23:35, Chris Hill wrote: > On Thu, 14 Jun 2012, David Demelier wrote: > >> I have an old SB Live! card with a 5.1 speaker set, but i can't get >> sound from center and rear speakers with mplayer. >> >> I'm using the snd_emu10kx driver and when I try to play a DVD I get >> sound only through the front speakers (and LFE) like a 2.1 >> >> Adding -channels 6 to the mplayer args does not help. > > Does the DVD source material actually have 5.1 sound? Silly question, I > know, but it has to be asked. > Yes it has I think, "Dolby digitial" is written on it, but it also works on Linux and Windows. > You may also want to pose this question to multimedia@ > > I did, but no one answered :(. Cheers, -- David Demelier From ml at my.gd Fri Jun 15 11:12:45 2012 From: ml at my.gd (Damien Fleuriot) Date: Fri Jun 15 11:12:52 2012 Subject: Trigger action on link state change In-Reply-To: References: Message-ID: <4FDB18A5.6020004@my.gd> On 6/15/12 12:32 PM, Michael Ross wrote: > > Hi all, > > i was wondering if there is any ready-made method to trigger an action > as soon as a link changes state. > Along the lines of > onifdown_em0="/run/this/script" > in rc.conf > > Background: > Discussing physical data security with a client yesterday: The machine > has to run 24/7. The filesystem is encrypted on boot, but this doesn't > help a lot if anybody brings an AC generator to steal the machine *AND* > the UPS. Best point in time to lock the machine I could think of was > when somebody pulls the NIC cable. > > Regards, > > Michael Aside from Matthias' suggestion of devd, you may want to also look up ifstated. We actually use it in production to send nagios passive alerts on CARP status change and LAGG interface loss of fault tolerance. From demelier.david at gmail.com Fri Jun 15 08:05:21 2012 From: demelier.david at gmail.com (David Demelier) Date: Fri Jun 15 11:17:00 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: <4FDAAF5E.4040500@gmail.com> References: <4FDA0B5E.4090901@gmail.com> <4FDAAF5E.4040500@gmail.com> Message-ID: <4FDAECF8.4080007@gmail.com> On 15/06/2012 05:43, Edward M wrote: > On 06/14/2012 09:03 AM, David Demelier wrote: >> I have an old SB Live! card with a 5.1 speaker set, but i can't get >> sound from center and rear speakers with mplayer. >> >> I'm using the snd_emu10kx driver and when I try to play a DVD I get >> sound only through the front speakers (and LFE) like a 2.1 >> >> Adding -channels 6 to the mplayer args does not help. >> >> Cheers, > > Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or > DTS. So a decorder is needed. > That's what mplayer says: ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) ========================================================================== AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) What do you mean by "a decoder is needed"? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Cheers, -- David Demelier From bah at bananmonarki.se Fri Jun 15 11:27:19 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Fri Jun 15 11:27:27 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: <4FDAECF8.4080007@gmail.com> References: <4FDA0B5E.4090901@gmail.com> <4FDAAF5E.4040500@gmail.com> <4FDAECF8.4080007@gmail.com> Message-ID: <4FDB1BB0.8060800@bananmonarki.se> On 2012-06-15 10:06, David Demelier wrote: > On 15/06/2012 05:43, Edward M wrote: >> On 06/14/2012 09:03 AM, David Demelier wrote: >>> I have an old SB Live! card with a 5.1 speaker set, but i can't get >>> sound from center and rear speakers with mplayer. >>> >>> I'm using the snd_emu10kx driver and when I try to play a DVD I get >>> sound only through the front speakers (and LFE) like a 2.1 >>> >>> Adding -channels 6 to the mplayer args does not help. >>> >>> Cheers, >> >> Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or >> DTS. So a decorder is needed. >> > > That's what mplayer says: > > ========================================================================== > Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders > AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000) > Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) > ========================================================================== > AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) > > What do you mean by "a decoder is needed"? Have you tried vlc or xine? From blue.seahorse.syndicate at gmail.com Fri Jun 15 11:36:23 2012 From: blue.seahorse.syndicate at gmail.com (Lynn Steven Killingsworth) Date: Fri Jun 15 11:36:34 2012 Subject: Error in latest KDE4 install attempt Message-ID: Hi FreeBSD - I have just updated my Ports again this morning and I still have the same problem installing KDE4. When verifying libphonon.so in /multimedia/phonon [phonon-4.6.0-1][from the numbers it appears to be KDE4 4.8.4] my machine does not find library qzeitgeist.1 so it begins verifying the install of qzeitgeist-0.8.0 . The installer then determines that this version of qzeitgeist is not compatible. Since the master site seems to be unavailable much of the time how can I determine the tar.gz from the version number so that I may have an for instance //ftp1.freebsd.org/.... to put in the the master site change in the make fetch command? Thanks - Steve -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From rwmaillists at googlemail.com Fri Jun 15 11:48:18 2012 From: rwmaillists at googlemail.com (RW) Date: Fri Jun 15 11:48:25 2012 Subject: Freebsd without swap In-Reply-To: <1339752157.58075.24.camel@localhost> References: <1339752157.58075.24.camel@localhost> Message-ID: <20120615124813.4bb28623@gumby.homeunix.com> On Fri, 15 Jun 2012 12:22:37 +0300 mbsd wrote: > Hi there. > > Now I'm using FreeBSD 9 without swap, and without additional swap - > related configurations. >.. > And the question is: > Does it correct to use freebsd like this? Or I need specific setup? > > Option NO_SWAPPING if I understand right not for this purpose. > Sysctl vm.swap_enabled=0 seems to be useful. NO_SWAPPING builds-out code related to paging to swap along with the related sysctl options, and is probably what you are after. vm.swap_enabled enables actual swapping in addition to normal paging when short of memory, and isn't relevant if you have no swap space. From rwmaillists at googlemail.com Fri Jun 15 12:07:40 2012 From: rwmaillists at googlemail.com (RW) Date: Fri Jun 15 12:07:47 2012 Subject: Freebsd without swap In-Reply-To: <20120615124813.4bb28623@gumby.homeunix.com> References: <1339752157.58075.24.camel@localhost> <20120615124813.4bb28623@gumby.homeunix.com> Message-ID: <20120615130735.39c11377@gumby.homeunix.com> On Fri, 15 Jun 2012 12:48:13 +0100 RW wrote: > On Fri, 15 Jun 2012 12:22:37 +0300 > mbsd wrote: > > > Hi there. > > > > Now I'm using FreeBSD 9 without swap, and without additional swap - > > related configurations. > >.. > > And the question is: > > Does it correct to use freebsd like this? Or I need specific setup? Sorry, missed this bit. No, you don't have to do anything. > > Option NO_SWAPPING if I understand right not for this purpose. > > Sysctl vm.swap_enabled=0 seems to be useful. > > NO_SWAPPING builds-out code related to paging to swap along with the > related sysctl options, and is probably what you are after. > > vm.swap_enabled enables actual swapping in addition to normal paging > when short of memory, and isn't relevant if you have no swap space. From jb.1234abcd at gmail.com Fri Jun 15 12:27:56 2012 From: jb.1234abcd at gmail.com (jb) Date: Fri Jun 15 12:28:03 2012 Subject: libreoffice package and port troubles Message-ID: Hi, FreeBSD 9.0. I can not build a port of LibreOffice: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/168717 I can not install package too: # pkg_add -r libreoffice Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/Latest libreoffice.tbz...lib/libreoffice/basis3.4/program/libunopkgapp.so: bzip decompression failed ... < 123 errors about dependencies out of sync due to prior ports updates > ... pkg_add: warning: package 'libreoffice-3.4.4' requires 'libwpg-0.2.0_1', but 'libwpg-0.2.1_1' is installed # Could we somehow improve on this process ? jb From bonomi at mail.r-bonomi.com Fri Jun 15 12:49:08 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 15 12:49:15 2012 Subject: Uptime [OT] In-Reply-To: Message-ID: <201206151249.q5FCnnKF019002@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Thu Jun 14 22:56:16 2012 > To: freebsd-questions@freebsd.org > Date: Thu, 14 Jun 2012 22:51:45 -0500 > From: Mark Felder > Cc: Steve Bertrand > Subject: Re: Uptime [OT] > > FreeBSD REDACTED 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 15 16:29:10 > CST 2006 root@REDACTED:/usr/src/sys/i386/compile/IPFW-POLING-ALTQ i386 > > Theres no way I'm giving out the organization name or hostname haha. We're > slowly moving customers away from this device, but not forcing anyone. > > I wonder if the technician who compiled that kernel considered how long it > would run.... Heh. check out -this- one: % uname -a ****** ******************** *** **** ****** *** Kernel #0: Thu Mar 20 16:40:01 CST 1997 ************************:/usr/src/sys/compile/LOCAL i386 The build date _is_ accurate, the hardware it's running on is old enough to vote. It's publicly accessible on the Internet, It's not quite as ridiculous as it looks, the (limited) apps running on it _are_ up-to-date. Uptime is nothing to brag about -- no UPS, combined with 'unreliable' public utility power, does have an impact. From b.smeelen at ose.nl Fri Jun 15 12:53:34 2012 From: b.smeelen at ose.nl (Bas Smeelen) Date: Fri Jun 15 12:53:47 2012 Subject: Uptime [OT] In-Reply-To: References: <4FDAA9F3.8050308@gmail.com> <4FDAAD94.9080409@gmail.com> Message-ID: <4FDB2DE8.4040201@ose.nl> On 06/15/2012 05:51 AM, Mark Felder wrote: > FreeBSD REDACTED 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 15 16:29:10 > CST 2006 root@REDACTED:/usr/src/sys/i386/compile/IPFW-POLING-ALTQ i386 > > Theres no way I'm giving out the organization name or hostname haha. We're > slowly moving customers away from this device, but not forcing anyone. > > I wonder if the technician who compiled that kernel considered how long it > would run.... > > > Oh, perhaps this thread should be renamed to "Why are you using FreeBSD?" > to fit in with the others... Nice. Here's another one. Used mainly for imap proxy and ipfw. Too bad it will be moved to another physical location in a week or two. $ uptime 2:38PM up 2266 days, 20:43, 1 user, load averages: 0.00, 0.00, 0.00 Disclaimer: http://www.ose.nl/email From ra at iop.kiev.ua Fri Jun 15 13:35:06 2012 From: ra at iop.kiev.ua (Andrey S. Rybak) Date: Fri Jun 15 13:35:14 2012 Subject: milter wants erase sendmail Message-ID: <4FDB27DB.4090500@iop.kiev.ua> hello! i use bundle sendmail and milter greylist on my e-mail freebsd server. every time I want upgrade milter-greylist it wants install sendmail port. But I use sendmail+tls+sasl2 port. There is conflict. I should deinstall sendmail+tls+sasl, install milter-greylist, deinstall sendmail and then install sendmail+tls+sasl2. Every time doing so I think something going not elegant. Is there more simple path to upgrade milter-greylist? From c.kworr at gmail.com Fri Jun 15 13:53:48 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Fri Jun 15 13:53:56 2012 Subject: milter wants erase sendmail In-Reply-To: <4FDB27DB.4090500@iop.kiev.ua> References: <4FDB27DB.4090500@iop.kiev.ua> Message-ID: <4FDB3E67.104@gmail.com> Andrey S. Rybak wrote: > hello! > i use bundle sendmail and milter greylist on my e-mail freebsd server. > every time I want upgrade milter-greylist it wants install sendmail > port. But I use sendmail+tls+sasl2 port. > There is conflict. I should deinstall sendmail+tls+sasl, install > milter-greylist, deinstall sendmail and then install sendmail+tls+sasl2. > Every time doing so I think something going not elegant. Is there more > simple path to upgrade milter-greylist? IMHO creating multiple ports is horrible way for managing different configurations... You can build mail/sendmail with SENDMAIL_WITH_TLS and SENDMAIL_WITH_SASL2. This way you will get exactly the same package originating from mail/sendmail. You can simply alter package +CONTENTS to originate it from mail/sendmail. -- Sphinx of black quartz judge my vow. From matthew at FreeBSD.org Fri Jun 15 14:07:16 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Fri Jun 15 14:07:23 2012 Subject: milter wants erase sendmail In-Reply-To: <4FDB27DB.4090500@iop.kiev.ua> References: <4FDB27DB.4090500@iop.kiev.ua> Message-ID: <4FDB4189.30105@FreeBSD.org> On 15/06/2012 13:17, Andrey S. Rybak wrote: > i use bundle sendmail and milter greylist on my e-mail freebsd server. > every time I want upgrade milter-greylist it wants install sendmail > port. But I use sendmail+tls+sasl2 port. > There is conflict. I should deinstall sendmail+tls+sasl, install > milter-greylist, deinstall sendmail and then install sendmail+tls+sasl2. > Every time doing so I think something going not elegant. Is there more > simple path to upgrade milter-greylist? Have you added this to /etc/make.cnf? WITH_SENDMAIL_PORT= yes That makes milter-greylist depend on the sendmail port, rather than the base version of sendmail: % cd /usr/ports/mail/milter-greylist % make -V BUILD_DEPENDS /usr/local/lib/libmilter.so.4:/usr/ports/mail/sendmail The mail/sendmail port is odd in that it changes package name depending on what configuration options you select. So if you go into /usr/ports/mail/sendmail and: # make config You will be able to enable tls and sasl2 (amongst a whole bunch of other stuff) giving you the correct functionality. This should not result in the ports trying to reinstall sendmail constantly, but it may confuse some tools that rely on the data in /usr/ports/INDEX-N. If that's a problem for you, then you will need to build your own INDEX. But it probably isn't. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120615/10c82310/signature.pgp From matthias at d2ux.net Fri Jun 15 14:15:57 2012 From: matthias at d2ux.net (Matthias Petermann) Date: Fri Jun 15 14:16:05 2012 Subject: libreoffice package and port troubles In-Reply-To: Message-ID: <520-4fdb3e80-169-66b90500@69840155> Hi, a couple of days ago I had the same issue. Install via pkg_add -r did result in the same error you reported. But building LIbreOffice from the ports worked well. The pkg_add issue only appeared on i386 system for me, it worked on amd64 so I guess the i386 packages are corrupted? Kind regards, Matthias Am Freitag, 15. Juni 2012 14:27 CEST, jb schrieb: Hi, FreeBSD 9.0. I can not build a port of LibreOffice: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/168717 I can not install package too: # pkg_add -r libreoffice Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/L atest libreoffice.tbz...lib/libreoffice/basis3.4/program/libunopkgapp.so: bzip decompression failed ... < 123 errors about dependencies out of sync due to prior ports updates > ... pkg_add: warning: package 'libreoffice-3.4.4' requires 'libwpg-0.2.0_1', but 'libwpg-0.2.1_1' is installed # Could we somehow improve on this process ? jb _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jb.1234abcd at gmail.com Fri Jun 15 14:29:58 2012 From: jb.1234abcd at gmail.com (jb) Date: Fri Jun 15 14:30:06 2012 Subject: libreoffice package and port troubles References: <520-4fdb3e80-169-66b90500@69840155> Message-ID: Matthias Petermann d2ux.net> writes: > > > Hi, > a couple of days ago I had the same issue. Install via pkg_add -r did > result in the same error you reported. > But building LIbreOffice from the ports worked well. > The pkg_add issue only appeared on i386 system for me, it worked on > amd64 so I guess the i386 packages are corrupted? Yes, it is a i386 system. I am just wondering, is there any way to pkg_add -r libreoffice and ask to restore (download/install) all its dependencies (that is, the old deps that were there prior to ports updates that replaced them with newer ones) ? Actually, I read the PKG_ADD(1) and see this: 3. Scan all the package dependencies (from @pkgdep directives, see pkg_create(1)) are read from the packing list. If any of these required packages is not currently installed, an attempt is made to find and install it; if the missing package cannot be found or installed, the installation is terminated. Is this not what I want it to do ? These old deps (packages) should be still available - I am still on FB 9.0 and its original repo. Or can I request the same (old package with old deps) with portmaster ? portmaster libreoffice jb From bbartlomiej.mail at gmail.com Fri Jun 15 14:33:42 2012 From: bbartlomiej.mail at gmail.com (Bartek Krawczyk) Date: Fri Jun 15 14:33:50 2012 Subject: Issuing ACPI calls or Nvidia Optimus support Message-ID: Hello. I have an Asus U36JC laptop which has two graphic cards (NVIDIA Optimus technology): an Intel integrated card and GeForce 310M. To save power on Linux I use acpi_call module to disable nvidia card completely. This acpi_call module (https://github.com/mkottman/acpi_call) enables an interface to pass ACPI methods. Then when I issue echo '\_SB.PCI0.PEG1.GFX0._OFF' > /proc/acpi/call I'm disabling the nvidia card. Is something like that possible with FreeBSD? I'd like to use it on my laptop, but unfortunately it gets too hot when both Intel and Nvidia card are powered on. Are there any plans on supporting nvidia optimus? Or at least an option to disable the nvidia card and use the intel one? Regards, -- Bartek Krawczyk From perrin at apotheon.com Fri Jun 15 16:04:06 2012 From: perrin at apotheon.com (Chad Perrin) Date: Fri Jun 15 16:04:13 2012 Subject: Uptime [OT] In-Reply-To: <4FDAA9F3.8050308@gmail.com> References: <4FDAA9F3.8050308@gmail.com> Message-ID: <20120615160401.GC20814@hemlock.hydra> On Thu, Jun 14, 2012 at 09:20:19PM -0600, Steve Bertrand wrote: > I still have non-root access to a box from my old job... it is > non-available and doing nothing, so updates are irrelevant: > > %uptime > 9:01PM up 1142 days, 5:29, 1 user, load averages: 0.00, 0.00, 0.00 Hmm. My longest uptime system right now -- basically just an SSH-accessible store of digital audio files ripped from CD and attached to speakers in the living room -- is at 500 days uptime today. My oldest build date on a running system is "Sun May 7 04:32:43 UTC 2006". Obviously, neither of these is set up for public access. They're just neglected single-purpose machines. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Fri Jun 15 16:06:55 2012 From: perrin at apotheon.com (Chad Perrin) Date: Fri Jun 15 16:07:02 2012 Subject: Uptime [OT] In-Reply-To: <201206151249.q5FCnnKF019002@mail.r-bonomi.com> References: <201206151249.q5FCnnKF019002@mail.r-bonomi.com> Message-ID: <20120615160005.GB20814@hemlock.hydra> On Fri, Jun 15, 2012 at 07:49:49AM -0500, Robert Bonomi wrote: > > Heh. check out -this- one: > > % uname -a > ****** ******************** *** **** ****** *** Kernel #0: Thu Mar 20 16:40:01 CST 1997 ************************:/usr/src/sys/compile/LOCAL i386 > > The build date _is_ accurate, the hardware it's running on is old enough to > vote. > > It's publicly accessible on the Internet, > > It's not quite as ridiculous as it looks, the (limited) apps running on it > _are_ up-to-date. > > Uptime is nothing to brag about -- no UPS, combined with 'unreliable' public > utility power, does have an impact. No power conditioning (implied by no UPS) is nothing to brag about. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From fbsd8 at a1poweruser.com Fri Jun 15 16:55:33 2012 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Fri Jun 15 16:55:39 2012 Subject: Account access In-Reply-To: <078B045D-F00A-4F0C-8716-A41C9BC1867E@somethingsocial.com.au> References: <078B045D-F00A-4F0C-8716-A41C9BC1867E@somethingsocial.com.au> Message-ID: <4FDB68B9.9090503@a1poweruser.com> Jacqueline Parlane wrote: > Hi there > > Just hoping I can hear back from someone on the process to unlock one of my clients accounts with http://freedns.afraid.org/ please. > > Her previous web developer is no longer in contact and we need to put in place some domain redirects and access a mailing list. > > I look forward to hearing from you. > > Kind Regards > Jacqueline > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > This is the wrong place to be asking about this. You should be asking this question of the people at http://freedns.afraid.org I would say "unlock" is the wrong word. What you want is to login to an existing account at their website. Like it says to recover your account ID and or password you need to know the email address used to sign up with. If you dont know it or can not guess it then you are SOL. You could alway contact them and ask for help. From nobody at dizum.com Fri Jun 15 18:30:24 2012 From: nobody at dizum.com (Nomen Nescio) Date: Fri Jun 15 18:30:32 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: <201206141531.q5EFVnt4085652@fire.js.berklix.net> Message-ID: <00882ecb3a2e442175aeb10cfad98122@dizum.com> > If you read Fedora's page they were planning to tighten their boot > sequence to then only boot their approved binary kernels. Save your old copies of lilo and grub. You're gonna need them if you want to stay on Intel Mafioso hardware. > Risk of key revocation later > If hardware manufacturer ships new bios or uefi, or user > upgrades to new UEFI (eg I as a user must upgrade a uefi > soon as a laptop overheats). + if MS get away with this > intrusion, next they'll consider requiring a "Call Home" > demon No, this doesn't run on the OS. It runs from UEFI in the BIOS. Internet connectivity is already part of the UEFI spec. Your box doesn't even to have to be running. As long as it's plugged in, you're at their beck and call. Say NO to the WinTel Mafia! From eam1edward at gmail.com Fri Jun 15 19:03:03 2012 From: eam1edward at gmail.com (Edward M) Date: Fri Jun 15 19:03:10 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: <4FDAECF8.4080007@gmail.com> References: <4FDA0B5E.4090901@gmail.com> <4FDAAF5E.4040500@gmail.com> <4FDAECF8.4080007@gmail.com> Message-ID: <4FDB8808.1070806@gmail.com> On 06/15/2012 01:06 AM, David Demelier wrote: > That's what mplayer says: > > ========================================================================== > > Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders > AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000) > Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) > ========================================================================== > > AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) > > What do you mean by "a decoder is needed"? A decorder is either a special plugin/codex that gets installed into the OS ( codex called a52dec) and decoding happens internally. or a hardware device like a stereo receiver that is able to understand Dolby Digital signals from the DVD through S/PDIF connector from the sound card to decorder. however, it only appears you are only missing a52dec? Have you installed a52dec from ports/audio/gstreamer-plugins-a52dec/ ? From david.robison at fisglobal.com Fri Jun 15 19:05:10 2012 From: david.robison at fisglobal.com (Robison, Dave) Date: Fri Jun 15 19:05:17 2012 Subject: Uptime [OT] In-Reply-To: <4FDB54FD.7030902@bananmonarki.se> References: <4FDAA9F3.8050308@gmail.com> <4FDAAD94.9080409@gmail.com> <4FDB54FD.7030902@bananmonarki.se> Message-ID: <4FDB8760.2070605@fisglobal.com> On 06/15/2012 08:30, Bernt Hansson wrote: > > Aha.....A pissing contest and it's friday....count me in... > > FreeBSD fqdn 4.11-RELEASE-p20 FreeBSD 4.11-RELEASE-p20 #0: Mon Aug 28 > 07:21:42 CEST 2006 user@fqdn:/usr/obj/usr/src/sys/HPNETSERVERFW i386 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I'll bite. Here's an internal machine. Old timers should appreciate the name "ref1". I remember the original ref machine. I got to kick it in the head a few times. firewall0# uname -a FreeBSD firewall0.dev.vicor.com 4.4-RELEASE FreeBSD 4.4-RELEASE #5: Thu Nov 1 14:57:38 PST 2001 julian@ref1.dev.vicor-nb.com:/usr/home/julian/checkout_test/prod/kernel/external_source/compile/VICOR i386 -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From johnl at iecc.com Fri Jun 15 21:02:41 2012 From: johnl at iecc.com (John Levine) Date: Fri Jun 15 21:02:48 2012 Subject: Free space in ZFS Message-ID: <20120615210217.87837.qmail@joyce.lan> I made a three disk zraid ZFS pool yesterday from three new 1 TB disks, which I'm using for backup. Then I did a backup and made a zfs volume. The free space numbers don't make sense. This is on 8.3, ZFS version 15. # zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT backup2 2.72T 310G 2.42T 11% ONLINE - Given that it's zraid, the total available space should be a little under 2TB since the third disk is for parity. But zpool gives me a total of 2.72T, as though the third disk was for data. # zfs list NAME USED AVAIL REFER MOUNTPOINT backup2 206G 1.58T 31.3K /backup2 backup2/20120615 206G 1.58T 206G /backup2/20120615 Well, that makes more sense, total is 1.78Tb. # df -g Filesystem 1G-blocks Used Avail Capacity Mounted on backup2 1618 0 1618 0% /backup2 backup2/20120615 1825 206 1618 11% /backup2/20120615 Now the total is 1.82Tb. Huh? The backup filesystems are compressed, but surely they're showing me the actual size, not the uncompressed size. Or are they? R's, John From wojtek at wojtek.tensor.gdynia.pl Fri Jun 15 21:15:13 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 15 21:15:19 2012 Subject: openoffice doesn't work - any ideas? In-Reply-To: <4FB80D3E.8020308@gmx.de> References: <4FB80D3E.8020308@gmx.de> Message-ID: >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > Google find many things with "javaldx failed". > Is a problem with java, but different solutions (wrong xml, home permission, > java- version ...). > > Hope you find a solution. thanks From wojtek at wojtek.tensor.gdynia.pl Fri Jun 15 21:16:05 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 15 21:16:12 2012 Subject: ipfw subnetting In-Reply-To: <4FBA0584.8030004@ifdnrg.com> References: <4FBA0584.8030004@ifdnrg.com> Message-ID: > can anyone suggest what i'm doing wrong here. > > Desired: drop everything from 180.0.0.0 to 180.255.255.255 > > ipfw -q add 137 deny all from 180.0.0.0/8 to any nothing wrong. all is fine. From lobo at bsd.com.br Fri Jun 15 21:33:00 2012 From: lobo at bsd.com.br (Mario Lobo) Date: Fri Jun 15 21:33:07 2012 Subject: Uptime [OT] In-Reply-To: <201206151249.q5FCnnKF019002@mail.r-bonomi.com> References: <201206151249.q5FCnnKF019002@mail.r-bonomi.com> Message-ID: <201206151833.32856.lobo@bsd.com.br> On Friday 15 June 2012 09:49:49 Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Thu Jun 14 22:56:16 2012 > > To: freebsd-questions@freebsd.org > > Date: Thu, 14 Jun 2012 22:51:45 -0500 > > From: Mark Felder > > Cc: Steve Bertrand > > Subject: Re: Uptime [OT] > > > > FreeBSD REDACTED 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 15 16:29:10 > > CST 2006 root@REDACTED:/usr/src/sys/i386/compile/IPFW-POLING-ALTQ i386 > > > > Theres no way I'm giving out the organization name or hostname haha. > > We're slowly moving customers away from this device, but not forcing > > anyone. > > > > I wonder if the technician who compiled that kernel considered how long > > it would run.... > > Heh. check out -this- one: > > % uname -a > ****** ******************** *** **** ****** *** Kernel #0: Thu Mar 20 > 16:40:01 CST 1997 ************************:/usr/src/sys/compile/LOCAL > i386 > > The build date _is_ accurate, the hardware it's running on is old enough to > vote. > > It's publicly accessible on the Internet, > > It's not quite as ridiculous as it looks, the (limited) apps running on it > _are_ up-to-date. Hi; This is from a colleague Alex Moura at our brazilian bsd list. > > > FreeBSD helm 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Wed Dec 13 16:19:46 > > > BRST 2000 > > > 11:47AM up 3532 days, 3:43, 1 user, load averages: 0.00, 0.00, 0.00 > > > > > > 3532 days before now Friday, July 13, 2001 > > > > > > 9 years, 8 months, 3 days, 16 hours ref. http://www.mail-archive.com/freebsd-chat@freebsd.org/msg02477.html -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From freebsd at dreamchaser.org Fri Jun 15 23:12:49 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Fri Jun 15 23:12:57 2012 Subject: print woes Message-ID: <4FDBC16A.3040004@dreamchaser.org> got my hp officejet 8500 connected to network working a while ago but now I notice the following: 1. Using gv, pdf files in portrait orientation print fine. pdf files in landscape orientation cause the printer to wake up but nothing prints. No errors in the log. Same behavior using lp or lpr. 2. lpoptions shows no printers. 3. lp -o landscape -o fit-to-page foo.pdf does the same (printer wakes up but prints nothing) 4. lpoptions -d lp (or any other printer name from /etc/printcap) says Unknown printer or class. Not sure where to look from here. Not sure how to tell what protocol is being used. lpd is running but no cupsd. Hints? Thanks, Gary From gull at gull.us Fri Jun 15 23:48:07 2012 From: gull at gull.us (David Brodbeck) Date: Fri Jun 15 23:48:13 2012 Subject: Uptime [OT] In-Reply-To: <20120615160005.GB20814@hemlock.hydra> References: <201206151249.q5FCnnKF019002@mail.r-bonomi.com> <20120615160005.GB20814@hemlock.hydra> Message-ID: On Fri, Jun 15, 2012 at 4:00 PM, Chad Perrin wrote: > No power conditioning (implied by no UPS) is nothing to brag about. If your utility power is very -- common now in places with buried utilities -- a UPS of the non-enterprise variety can actually make reliability *worse*. I've found that standby-type UPSs (like the popular APC BackUPS and SmartUPS units) will drop the load at the slightest power blip once the batteries go bad, while machines connected directly to utility power will often ride out short blips. It's especially insidious on the BackUPS units because the only way to test the battery is to hit the test button and see if the load drops. ;) When I lived in a place that had a power outage once a week, I used a UPS. Now that I live in a place where I get maybe one power outage a *year*, I'm better off without out. From gull at gull.us Fri Jun 15 23:48:41 2012 From: gull at gull.us (David Brodbeck) Date: Fri Jun 15 23:48:47 2012 Subject: Uptime [OT] In-Reply-To: References: <201206151249.q5FCnnKF019002@mail.r-bonomi.com> <20120615160005.GB20814@hemlock.hydra> Message-ID: On Fri, Jun 15, 2012 at 11:47 PM, David Brodbeck wrote: > On Fri, Jun 15, 2012 at 4:00 PM, Chad Perrin wrote: >> No power conditioning (implied by no UPS) is nothing to brag about. > > If your utility power is very -- common now in places with buried > utilities -- a UPS of the non-enterprise variety can actually make > reliability *worse*. Err, meant to say "if your utility power is very reliable..." From perrin at apotheon.com Fri Jun 15 23:54:15 2012 From: perrin at apotheon.com (Chad Perrin) Date: Fri Jun 15 23:54:22 2012 Subject: Uptime [OT] In-Reply-To: References: <201206151249.q5FCnnKF019002@mail.r-bonomi.com> <20120615160005.GB20814@hemlock.hydra> Message-ID: <20120615235414.GA15957@hemlock.hydra> On Fri, Jun 15, 2012 at 11:47:55PM +0000, David Brodbeck wrote: > On Fri, Jun 15, 2012 at 4:00 PM, Chad Perrin wrote: > > No power conditioning (implied by no UPS) is nothing to brag about. > > If your utility power is very -- common now in places with buried > utilities -- a UPS of the non-enterprise variety can actually make > reliability *worse*. I've found that standby-type UPSs (like the > popular APC BackUPS and SmartUPS units) will drop the load at the > slightest power blip once the batteries go bad, while machines > connected directly to utility power will often ride out short blips. > It's especially insidious on the BackUPS units because the only way to > test the battery is to hit the test button and see if the load drops. > ;) These bargain-basement throw-away UPSes you mention are not the kinds of UPSes that give you power conditioning, and thus (I hope) obviously not the kinds of UPSes I meant. > > When I lived in a place that had a power outage once a week, I used a > UPS. Now that I live in a place where I get maybe one power outage a > *year*, I'm better off without out. I don't consider the ability to stay up for a few minutes when there's a brief blackout to be the most important function of a good UPS, even though that's kinda the reason the things were invented in the first place. The most important function of such a thing is power conditioning, which eliminates the problems of spikes and brownouts in the supply of power from the utility company even when nothing dramatic enough happens to actually crash a running machine right away. Such variability in power can be bad for both hardware and consistent, stable running of software. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From gull at gull.us Sat Jun 16 00:01:00 2012 From: gull at gull.us (David Brodbeck) Date: Sat Jun 16 00:01:06 2012 Subject: Uptime [OT] In-Reply-To: <20120615235414.GA15957@hemlock.hydra> References: <201206151249.q5FCnnKF019002@mail.r-bonomi.com> <20120615160005.GB20814@hemlock.hydra> <20120615235414.GA15957@hemlock.hydra> Message-ID: On Fri, Jun 15, 2012 at 11:54 PM, Chad Perrin wrote: > I don't consider the ability to stay up for a few minutes when there's a > brief blackout to be the most important function of a good UPS, even > though that's kinda the reason the things were invented in the first > place. ?The most important function of such a thing is power > conditioning, which eliminates the problems of spikes and brownouts in > the supply of power from the utility company even when nothing dramatic > enough happens to actually crash a running machine right away. ?Such > variability in power can be bad for both hardware and consistent, stable > running of software. Hard to get unless you have several kilobucks to spend on an online type UPS, though. I actually had one I got surplus, several years back, but the constant inverter buzz got old fast in a home environment. From gull at gull.us Sat Jun 16 00:08:52 2012 From: gull at gull.us (David Brodbeck) Date: Sat Jun 16 00:08:59 2012 Subject: UEFI Secure Boot Specs - And some sanity In-Reply-To: References: <201206081611.q58GBW0J097808@fire.js.berklix.net> Message-ID: On Fri, Jun 15, 2012 at 12:23 AM, C. P. Ghost wrote: > Only if they fully follow the spec. This is rather unlikely. > > Even today, there are still many broken DMI/SMBIOS > tables out there that contain barely enough stuff for > Windows to boot successfully. What makes you think > UEFI BIOS makers will go all the trouble to implement > such a complex spec, if all they have to do is to ensure > compliance with MS requirements? > > I wouldn't count on an option or switch to override this > system. Any server manufacturer who chooses to only support MS products is going to find they don't get much business from the academic market. So I suspect this may crop up on some desktop machines and laptops, but most servers will probably allow installing whatever OS you like. And the market will probably reject even desktop machines with this problem quickly, just like it quickly forced manufacturers to add a way to turn off Intel's CPU ID feature when it became a privacy concern. From freebsd at dreamchaser.org Sat Jun 16 05:38:37 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Sat Jun 16 05:38:44 2012 Subject: USB device activity when not mounted In-Reply-To: <17.97.18914.61FFADF4@smtp01.insight.synacor.com> References: <17.97.18914.61FFADF4@smtp01.insight.synacor.com> Message-ID: <4FDC1BDA.4080806@dreamchaser.org> On 06/15/12 03:23, Thomas Mueller wrote: >> I can understand why I would see activity on a USB device when it's first plugged in. But why do I see continued activity (i.e. the light blinks on a usb disk or memory stick)? When I umount one of these, they keep being beat up on and it makes me nervous... At what point is it sync'd and safe to unplug? I assume when the umount returns, but what's going on after that? > > I had that problem/quirk with a SanDisk Cruzer 8 GB USB stick. Heh. My 4 gig one does it too. However, so does my seagate usb hard drive, so it's not specific to one mfg. On 06/14/12 07:49, Daniel Feenberg wrote: > Is it possible that there is volitile memory buffering in the stick that may not have been written to flash when umount thinks it is complete, and the flashing light is an indication that power is still required to complete the write to non-volitile memory? I'm pretty sure that's not it. My devices (memstick and usb disk) will blink happily for hours. Well, minutes, anyway. I haven't got the patience to wait it out beyond that... From freebsd at dreamchaser.org Sat Jun 16 05:57:17 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Sat Jun 16 05:57:24 2012 Subject: print woes In-Reply-To: <4FDBC16A.3040004@dreamchaser.org> References: <4FDBC16A.3040004@dreamchaser.org> Message-ID: <4FDC203C.6070508@dreamchaser.org> On 06/15/12 17:12, Gary Aitken wrote: > got my hp officejet 8500 connected to network working a while ago but now I notice the following: > > 1. Using gv, pdf files in portrait orientation print fine. pdf files in landscape orientation cause the printer to wake up but nothing prints. No errors in the log. Same behavior using lp or lpr. > > 2. lpoptions shows no printers. > > 3. lp -o landscape -o fit-to-page foo.pdf > does the same (printer wakes up but prints nothing) > > 4. lpoptions -d lp (or any other printer name from /etc/printcap) says Unknown printer or class. more questions... Where does the image rotation occur? I'm using gv for an input filter. Does gv get PS with embedded instructions to rotate, so gv rotates the image before sending on to the printer? Or does gv send to the printer and let the printer do the rotation? How does gv get its instructions to rotate the image? I'm not sure where to look... I've always been befuddled by UI interfaces that have print dialogs with orientation in them, and then printer config dialogs which are sub-dialogs of those that do the same. Two horizontals sometimes do seem to make a vertical. I guess if you beat it long enough, like three times, maybe you get what you want... Gary From cyberleo at cyberleo.net Sat Jun 16 08:35:28 2012 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Sat Jun 16 08:35:33 2012 Subject: Free space in ZFS In-Reply-To: <20120615210217.87837.qmail@joyce.lan> References: <20120615210217.87837.qmail@joyce.lan> Message-ID: <4FDC4548.3020606@cyberleo.net> On 06/15/2012 04:02 PM, John Levine wrote: > I made a three disk zraid ZFS pool yesterday from three new 1 TB > disks, which I'm using for backup. Then I did a backup and made a zfs > volume. The free space numbers don't make sense. This is on 8.3, ZFS > version 15. > > # zpool list > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > backup2 2.72T 310G 2.42T 11% ONLINE - > > Given that it's zraid, the total available space should be a little > under 2TB since the third disk is for parity. But zpool gives me a > total of 2.72T, as though the third disk was for data. raidz does not operate entirely like a traditional raid5. It stores enough redundant information to survive a full disk failure, but that's where the similarity ends. When you write to a raid5, the data is striped in even strides across n-1 disks, and parity is written to the remaining disk. The layout is very rigidly structured, such that you can always determine where a particular piece of data will end up by performing simple arithmetic. When you write data to a raidz1, a single ZFS data block is chopped up into n-1 equal-sized pieces (plus 1 piece for parity), and stored wherever it will fit inside the pool. The storage allocator will make sure that each piece ends up on a separate physical disk, but that's the only restriction on placement. So, when looking at the zpool itself, you see raw capacity that is burned through at a rate of four-thirds (for a 4-disk raidz) as you commit data to the pool. > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > backup2 206G 1.58T 31.3K /backup2 > backup2/20120615 206G 1.58T 206G /backup2/20120615 > > Well, that makes more sense, total is 1.78Tb. ...but, when looking at the dataset itself, you see how much (compressed, deduped) data is present (since you don't care about parity at this level), and how much more data the allocator predicts you can safely store on this dataset (which is affected by things like compression, deduplication, reservations, and quotas). > # df -g > Filesystem 1G-blocks Used Avail Capacity Mounted on > backup2 1618 0 1618 0% /backup2 > backup2/20120615 1825 206 1618 11% /backup2/20120615 > > Now the total is 1.82Tb. Huh? The backup filesystems are compressed, > but surely they're showing me the actual size, not the uncompressed > size. Or are they? Don't bother with df. Because df was designed in the era of static filesystems that never change capacity and always write verbatim, zfs has to be 'creative' to represent the size in a manner that would be in any way useful to a user. It doesn't always work. Google 'ZFS versus df'[1] for more information. Hope this helps! [1] https://duckduckgo.com/?q=zfs+versus+df -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From naylor.b.david at gmail.com Sat Jun 16 08:35:29 2012 From: naylor.b.david at gmail.com (David Naylor) Date: Sat Jun 16 08:35:45 2012 Subject: Wine-fbsd64 updated to 1.5.6 (32bit Wine for 64bit FreeBSD) Message-ID: <201206161035.09956.naylor.b.david@gmail.com> Hi, Packages [1] for wine-fbsd64-1.5.6 have been uploaded to mediafire [2]. The packages for FreeBSD 10 use the pkgng* [3] format. There are many reports that wine does not work with a clang compiled world (help in fixing this problem is appreciated as it affects quite a few users). The patch [4] for nVidia users is now included in the package and is run on installation (if the relevant files are accessible). Please read the installation messages for further information. Regards, David [1] MD5 (wine-1.5.x-freebsd8/wine-fbsd64-1.5.6,1.tbz) = 5a89d8cd18c65c6f27a565e78598ebd8 MD5 (wine-1.5.x-freebsd9/wine-fbsd64-1.5.6,1.txz) = 0992a7d5bf73759f8a8f97ae793c6eee MD5 (wine-1.5.x-freebsd10/wine-fbsd64-1.5.6,1.txz) = 2f807a63ff2f8d8833b4b89846e5e68a [2] http://www.mediafire.com/wine_fbsd64 [3] http://wiki.freebsd.org/pkgng [4] The patch is located at /usr/local/share/wine/patch-nvidia.sh * Support for pkgng has been added to the nvidia-patch script -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120616/39968a2a/attachment.pgp From jb.1234abcd at gmail.com Sat Jun 16 12:12:49 2012 From: jb.1234abcd at gmail.com (jb) Date: Sat Jun 16 12:12:56 2012 Subject: libreoffice package and port troubles References: Message-ID: jb gmail.com> writes: > > Hi, > > FreeBSD 9.0. > > I can not build a port of LibreOffice: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/168717 > ... I sent some build and debugging output there. Hopefully it can be useful to somebody out there. jb From naylor.b.david at gmail.com Sat Jun 16 14:43:03 2012 From: naylor.b.david at gmail.com (David Naylor) Date: Sat Jun 16 14:43:15 2012 Subject: Wine-fbsd64 updated to 1.4.1 (32bit Wine for 64bit FreeBSD) Message-ID: <201206161642.51562.naylor.b.david@gmail.com> Hi, Packages [1] for wine-fbsd64-1.4.1 have been uploaded to mediafire [2]. The packages for FreeBSD 10 use the pkgng* [3] format. There are many reports that wine does not work with a clang compiled world (help in fixing this problem is appreciated as it affects quite a few users). The patch [4] for nVidia users is now included in the package and is run on installation (if the relevant files are accessible). Please read the installation messages for further information. Regards, David [1] MD5 (wine-1.4.x-freebsd8/wine-fbsd64-1.4.1,1.tbz) = 63f031c996b1201b056db34e6aa5b8f3 MD5 (wine-1.4.x-freebsd9/wine-fbsd64-1.4.1,1.txz) = 86aa9c66f05c61def997076befac5ba3 MD5 (wine-1.4.x-freebsd10/wine-fbsd64-1.4.1,1.txz) = b0b19714510f278187dcf8c696cae9c0 [2] http://www.mediafire.com/wine_fbsd64 [3] http://wiki.freebsd.org/pkgng [4] The patch is located at /usr/local/share/wine/patch-nvidia.sh -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120616/c556c004/attachment.pgp From ra at iop.kiev.ua Sat Jun 16 14:43:43 2012 From: ra at iop.kiev.ua (Andrey S. Rybak) Date: Sat Jun 16 14:43:49 2012 Subject: milter wants erase sendmail In-Reply-To: <4FDB4189.30105@FreeBSD.org> References: <4FDB27DB.4090500@iop.kiev.ua> <4FDB4189.30105@FreeBSD.org> Message-ID: <4FDC8DD6.5020309@iop.kiev.ua> _ > Have you added this to /etc/make.cnf? > > WITH_SENDMAIL_PORT= yes Yes, I have > > So if you go into > /usr/ports/mail/sendmail and: > > # make config > > You will be able to enable tls and sasl2 (amongst a whole bunch of other > stuff) giving you the correct functionality. No, this is not give me possibility to enable tls or sasl2: > > [root@myComp /usr/ports/mail/sendmail]# make config > ===> No options to configure > [root@myComp /usr/ports/mail/sendmail]# make rmconfig > ===> No user-specified options configured for sendmail-8.14.5 > I have latest version of ports... From wojtek at wojtek.tensor.gdynia.pl Sat Jun 16 16:13:28 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 16 16:13:35 2012 Subject: Is this something we (as consumers of FreeBSD) need to be aware of? In-Reply-To: References: Message-ID: > UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries > http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ > > This would seem to make compiling from source difficult. simply do not support it. As long as they are users of Fedora (as well as FreeBSD and other FREE software) there will be hardware available. Possibly the right time for non-wintel hardware to emerge. it isn't already better and cheaper only because of economy of scale - PCs are still produced by millions. But less and less, PC market is already falling. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 16 16:15:35 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 16 16:15:42 2012 Subject: Why Clang In-Reply-To: <4FCF9333.70201@speakeasy.org> References: <4FCF9333.70201@speakeasy.org> Message-ID: > Has the discussion on why change to clang been made available? > > I would like to know the reasoning. CLANG isn't GNU licenced. Getting rid of communist licence is right, but still it should not be the prime reason for doing things, as having GNU licenced gcc doesn't really hurt. personally i don't see CLANG anyhow better for now. AFAIK it is even more bloated than gcc > Or, is it simply a gratuitous change? > > Tom Dean > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From wojtek at wojtek.tensor.gdynia.pl Sat Jun 16 16:17:23 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 16 16:17:30 2012 Subject: Why Clang In-Reply-To: <4FCF9C07.2000607@FreeBSD.org> References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: > > Clearly an update was necessary. Unfortunately, later versions of gcc > have switched to GPLv3, which is a viral license and unacceptable to the > FreeBSD project. wasn't aware of that. > > Therefore clang was chosen from amongst a number of alternatives as the > best replacement. That makes it sound as if clang is a second class > option compared to recent gcc, but this is certainly not the case: > results from clang are comparable to the latest gcc versions and the > design of clang is such that further optimizations and improvements can > be readily incorporated. and - at least for now - clang itself is very slow. But produces not worse (or better) code than gcc. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 16 16:19:23 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 16 16:19:30 2012 Subject: dumping file system subtree (/var) In-Reply-To: <4FD1098E.7020203@dreamchaser.org> References: <4FD1098E.7020203@dreamchaser.org> Message-ID: > When I originally set up my SSD, the stuff I was following indicated there was no need to put anythng on a separate filesystem. I'm now trying to build a backup system on a usb drive and I want a separate /var and /tmp. > > I had originally set the nodump flag on /tmp and /var, so my snapshot is empty for those. > > I don't think there's any reason to preserve /tmp, but is there any good way to copy /var from the running system on the SSD to another filesystem (and still preserve everything, including flags)? My impression is both mksnap_ffs and dump should only be used on a complete filesystem, not a subtree. > > Or do I need to unset the nodump flag on /var, make a snapshot of /, take a dump :-), and then split the /var out upon restore? > > And would it be wise to repartition the SSD to put /var and /tmp on their own partitions? > i really have no idea why you just don't dump it all? restore have -i option that allow you to partially restore files from a dump. I have SSD, single partition and i use dump to backup it to external hard disk. alternatively - use tar. From feld at feld.me Sat Jun 16 20:27:12 2012 From: feld at feld.me (Mark Felder) Date: Sat Jun 16 20:27:19 2012 Subject: Uptime [OT] In-Reply-To: References: <201206151249.q5FCnnKF019002@mail.r-bonomi.com> <20120615160005.GB20814@hemlock.hydra> <20120615235414.GA15957@hemlock.hydra> Message-ID: On Fri, 15 Jun 2012 19:00:57 -0500, David Brodbeck wrote: > Hard to get unless you have several kilobucks to spend on an online > type UPS, though. I actually had one I got surplus, several years > back, but the constant inverter buzz got old fast in a home > environment. Refurbups.com -- go look at the refurbished Liebert online UPSes. Plenty cheap and plenty sufficient. From feld at feld.me Sat Jun 16 20:29:02 2012 From: feld at feld.me (Mark Felder) Date: Sat Jun 16 20:29:43 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: On Sat, 16 Jun 2012 11:17:19 -0500, Wojciech Puchar wrote: > and - at least for now - clang itself is very slow. But produces not > worse (or better) code than gcc. Clang is consistently faster at compiling than GCC and it is very clean and modular -- not bloated. From freebsd at dreamchaser.org Sun Jun 17 03:39:49 2012 From: freebsd at dreamchaser.org (Gary Aitken) Date: Sun Jun 17 03:39:56 2012 Subject: dumping file system subtree (/var) In-Reply-To: References: <4FD1098E.7020203@dreamchaser.org> Message-ID: <4FDD517E.3060206@dreamchaser.org> On 06/16/12 10:19, Wojciech Puchar wrote: >> When I originally set up my SSD, the stuff I was following indicated there was no need to put anythng on a separate filesystem. I'm now trying to build a backup system on a usb drive and I want a separate /var and /tmp. >> >> I had originally set the nodump flag on /tmp and /var, so my snapshot is empty for those. >> >> I don't think there's any reason to preserve /tmp, but is there any good way to copy /var from the running system on the SSD to another filesystem (and still preserve everything, including flags)? My impression is both mksnap_ffs and dump should only be used on a complete filesystem, not a subtree. >> >> Or do I need to unset the nodump flag on /var, make a snapshot of /, take a dump :-), and then split the /var out upon restore? >> >> And would it be wise to repartition the SSD to put /var and /tmp on their own partitions? >> > i really have no idea why you just don't dump it all? restore have -i option that allow you to partially restore files from a dump. > > I have SSD, single partition and i use dump to backup it to external hard disk. > > > alternatively - use tar. What I was trying to achieve, which I haven't done yet, was a smallish dump of the "core system". By that I mean system + ports, without distfiles, etc. Then a separate dump of user data, which is considerably larger. At this point I am thinking I should do this: make clean distclean ports to remove temporary stuff set /usr/home NODUMP dump /, /var, and /usr unset /usr/home NODUMP dump /usr/home From bc979 at lafn.org Sun Jun 17 10:45:32 2012 From: bc979 at lafn.org (Doug Hardie) Date: Sun Jun 17 10:45:39 2012 Subject: Problem with spamlogd Message-ID: I am using spamd on several systems and started encountering a problem awhile ago with FreeBSD 7.2 servers, but let it go since I am in the process of upgrading the servers. However, I now am encountering the same issue on FreeBSD 9.0 with spamlogd. It never reads pflog0. pflogd reads the entries just fine. I set up syslog to log all the spamlogd messages and when spamlogd is started it gives: spamlogd: Listening on pflog0 for all interfaces. lsof shows that it is connected to bpf0 as is pflogd. However, pflogd shows an offset into the file that appears to be the end of the file. spamlogd shows an offset of 0. It is periodically reading the file as shown by ktrace but always getting back a 0 size return. spamd itself is working just fine. However, the expiration times are not being updated so white entries are timed out way too often. spamlogd used to update them. The rc.conf entries are: obspamd_enable="YES" obspamd_flags="-G 2:1:1728" obspamd_setup_flags="" obspamd_grey=YES obspamlogd_enable="YES" obspamlogd_flags="-W 1728" These were established a few years ago and worked up till short while ago. I don't recall any changes I made to anything, but? Looking through the spamlogd source it appears to be building a filter for the pcap routines with: "ip and port 25 and action pass and tcp[13]&0x12=0x2" Using that filter on pflog yields no output. I believe the pass item requires there to be some logging of the pass actions and those are not appearing in the pflog or in the pfctl counts for those rules. I suspect that is the problem. The pf.conf is: (mail server is on this machine) ext_if="em0" table persist file "/etc/blackhole" table persist table persist table persist file "/etc/mail/whitelist" no rdr on { lo0, lo1 } from any to any no rdr on { lo0, lo1 } from any to any MAILHOSTS = "{zool.lafn.org 10.0.1.10}" rdr pass log on $ext_if inet proto tcp from to port smtp -> 127.0.0.1 port smtp rdr pass log on $ext_if inet proto tcp from to port smtp -> 127.0.0.1 port smtp rdr pass log on $ext_if inet proto tcp to $MAILHOSTS port smtp -> 127.0.0.1 port spamd pass in on lo0 pass in log on $ext_if inet proto tcp to 127.0.0.1 port smtp pass out log on $ext_if inet proto tcp from 127.0.0.1 to any port smtp block in quick log on $ext_if from to any From m.seaman at infracaninophile.co.uk Sun Jun 17 13:30:03 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Jun 17 13:30:11 2012 Subject: Problem with spamlogd In-Reply-To: References: Message-ID: <4FDDDBC5.9070206@infracaninophile.co.uk> On 17/06/2012 11:45, Doug Hardie wrote: > I am using spamd on several systems and started encountering a problem awhile ago with FreeBSD 7.2 servers, but let it go since I am in the process of upgrading the servers. However, I now am encountering the same issue on FreeBSD 9.0 with spamlogd. It never reads pflog0. pflogd reads the entries just fine. I set up syslog to log all the spamlogd messages and when spamlogd is started it gives: > > spamlogd: Listening on pflog0 for all interfaces. > > lsof shows that it is connected to bpf0 as is pflogd. However, pflogd shows an offset into the file that appears to be the end of the file. spamlogd shows an offset of 0. It is periodically reading the file as shown by ktrace but always getting back a 0 size return. spamd itself is working just fine. However, the expiration times are not being updated so white entries are timed out way too often. spamlogd used to update them. The rc.conf entries are: > > obspamd_enable="YES" > obspamd_flags="-G 2:1:1728" > obspamd_setup_flags="" > obspamd_grey=YES > obspamlogd_enable="YES" > obspamlogd_flags="-W 1728" > > > These were established a few years ago and worked up till short while ago. I don't recall any changes I made to anything, but? > > Looking through the spamlogd source it appears to be building a filter for the pcap routines with: > > "ip and port 25 and action pass and tcp[13]&0x12=0x2" > > Using that filter on pflog yields no output. I believe the pass item requires there to be some logging of the pass actions and those are not appearing in the pflog or in the pfctl counts for those rules. I suspect that is the problem. The pf.conf is: (mail server is on this machine) > > ext_if="em0" > > table persist file "/etc/blackhole" > table persist > table persist > table persist file "/etc/mail/whitelist" > > > no rdr on { lo0, lo1 } from any to any > > no rdr on { lo0, lo1 } from any to any > MAILHOSTS = "{zool.lafn.org 10.0.1.10}" > > rdr pass log on $ext_if inet proto tcp from to port smtp -> 127.0.0.1 port smtp > rdr pass log on $ext_if inet proto tcp from to port smtp -> 127.0.0.1 port smtp > rdr pass log on $ext_if inet proto tcp to $MAILHOSTS port smtp -> 127.0.0.1 port spamd > > > pass in on lo0 > > pass in log on $ext_if inet proto tcp to 127.0.0.1 port smtp > pass out log on $ext_if inet proto tcp from 127.0.0.1 to any port smtp > > block in quick log on $ext_if from to any You seem to be logging all the SMTP traffic that passes through pf in any direction. Which doesn't make a lot of sense to me -- obspamlogd will see the logged SMTP packets, assume that's valid traffic and add the hosts to the whitelist. Even if that's the incoming SYN packet from some dubious mailer trying to inject you full of spam. You should only log the SYN packets going out of your upstream (egress) interface for obspamlogd -- that way it immediately whitelists anyone you send email to, so they can reply without delay due to greylisting. A good way of doing that is to log SMTP traffic to a separate log device. eg: pass log (to pflog1) on $ext_if proto tcp \ from any to any port smtp \ flags S/SA keep state then in /etc/rc.conf, tell obspamlogd to use pflog1: obspamlogd_enable="YES" obspamlogd_flags="-i em0" obspamlogd_pflog_if="pflog1" That way you can keep pflog0 for doing the normal packet logging that is usual with pf -- typically, logging anything that gets dropped by the firewall -- without getting obspamlogd confused. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120617/67b1802e/signature.pgp From bycn82 at gmail.com Sun Jun 17 15:39:21 2012 From: bycn82 at gmail.com (Bill Yuan) Date: Sun Jun 17 15:39:29 2012 Subject: how to allow by MAC In-Reply-To: <20120613182325.K46641@sola.nimnet.asn.au> References: <20120610120041.4D0F610657C3@hub.freebsd.org> <20120611025332.N46641@sola.nimnet.asn.au> <863961ze51.fsf@red.stonehenge.com> <20120613182325.K46641@sola.nimnet.asn.au> Message-ID: On Wed, Jun 13, 2012 at 4:56 PM, Ian Smith wrote: > On Mon, 11 Jun 2012 15:18:18 -0700, Randal L. Schwartz wrote: > > >>>>> "Bill" == Bill Yuan writes: > > Bill> I want to create a white list MAC address, Only the machine > which it's MAC > > Bill> in the white list will be allowed, all others will be blocked. > > > > Bad idea. Since (a) every MAC address that *is* allowed is transmitted > > in the clear and (b) it's trivial to spoof a MAC address. > > > > This. is. no. security. > > Indeed, that's right Randal. But I got the impression from Bill's mails > that this is more likely just something inside his internal network. Filtering by MAC is not secure, I agree. but at least secure enough for a internal network. And I am quite sure what I want to archive. I am really want to know how to FILTER BY MAC . > > > Please stop even trying. > > Well I don't think learning how to use ipfw properly at layer2 is a bad > idea in itself, and I wouldn't want to discourage anyone from that. > > For some years I ran a filtering transparent bridge with ipfw + dummynet > for a small network of about 20 mostly W98, XP and Mac boxes sharing one > slow ADSL gateway between various assorted community groups (talk about > herding cats! :) and MAC filtering was one of the handiest tools when > some box or other got owned (again!) by some virus and started spewing > spam, provider complains and/or cuts access .. you know the deal. > > In that sort of environment, none of the punters had any clue about > forging MACs or anything vaguely like that, and it stopped people > randomly plugging boxes into the network. Horses for courses. > > I replied in more detail to another from Bill privately, copy follows. Thanks. I saw your email already .very helpful . I will continue to try in that way . and share with all here in the feature.:) cheers, Ian From bc979 at lafn.org Sun Jun 17 16:41:01 2012 From: bc979 at lafn.org (Doug Hardie) Date: Sun Jun 17 16:41:09 2012 Subject: Problem with spamlogd In-Reply-To: <4FDDDBC5.9070206@infracaninophile.co.uk> References: <4FDDDBC5.9070206@infracaninophile.co.uk> Message-ID: On 17 June 2012, at 06:29, Matthew Seaman wrote: > On 17/06/2012 11:45, Doug Hardie wrote: >> I am using spamd on several systems and started encountering a problem awhile ago with FreeBSD 7.2 servers, but let it go since I am in the process of upgrading the servers. However, I now am encountering the same issue on FreeBSD 9.0 with spamlogd. It never reads pflog0. pflogd reads the entries just fine. I set up syslog to log all the spamlogd messages and when spamlogd is started it gives: >> >> spamlogd: Listening on pflog0 for all interfaces. >> >> lsof shows that it is connected to bpf0 as is pflogd. However, pflogd shows an offset into the file that appears to be the end of the file. spamlogd shows an offset of 0. It is periodically reading the file as shown by ktrace but always getting back a 0 size return. spamd itself is working just fine. However, the expiration times are not being updated so white entries are timed out way too often. spamlogd used to update them. The rc.conf entries are: >> >> obspamd_enable="YES" >> obspamd_flags="-G 2:1:1728" >> obspamd_setup_flags="" >> obspamd_grey=YES >> obspamlogd_enable="YES" >> obspamlogd_flags="-W 1728" >> >> >> These were established a few years ago and worked up till short while ago. I don't recall any changes I made to anything, but? >> >> Looking through the spamlogd source it appears to be building a filter for the pcap routines with: >> >> "ip and port 25 and action pass and tcp[13]&0x12=0x2" >> >> Using that filter on pflog yields no output. I believe the pass item requires there to be some logging of the pass actions and those are not appearing in the pflog or in the pfctl counts for those rules. I suspect that is the problem. The pf.conf is: (mail server is on this machine) >> >> ext_if="em0" >> >> table persist file "/etc/blackhole" >> table persist >> table persist >> table persist file "/etc/mail/whitelist" >> >> >> no rdr on { lo0, lo1 } from any to any >> >> no rdr on { lo0, lo1 } from any to any >> MAILHOSTS = "{zool.lafn.org 10.0.1.10}" >> >> rdr pass log on $ext_if inet proto tcp from to port smtp -> 127.0.0.1 port smtp >> rdr pass log on $ext_if inet proto tcp from to port smtp -> 127.0.0.1 port smtp >> rdr pass log on $ext_if inet proto tcp to $MAILHOSTS port smtp -> 127.0.0.1 port spamd >> >> >> pass in on lo0 >> >> pass in log on $ext_if inet proto tcp to 127.0.0.1 port smtp >> pass out log on $ext_if inet proto tcp from 127.0.0.1 to any port smtp >> >> block in quick log on $ext_if from to any > > You seem to be logging all the SMTP traffic that passes through pf in > any direction. Which doesn't make a lot of sense to me -- obspamlogd > will see the logged SMTP packets, assume that's valid traffic and add > the hosts to the whitelist. Even if that's the incoming SYN packet from > some dubious mailer trying to inject you full of spam. Right now, I would like spamlogd to be a bit confused ;-) However, its not seeing any of the logging. It never receives any input from pflog0. From the filter, the pass action indicates it won't look at any of the rdr logging (which is in the log) but is waiting for the pass rules to log something. The tcp[13]&0x12=0x2 item is the TCP SYN flag so it should be able to separate out what it wants from the log. However, the pass rules are never being used and hence they never generate any log entries. pfctl -vvsr shows all zeros for both of those rules. I understand that the pass rules are applied after the rdr rules but apparently I am getting the matching criteria wrong. At this point switching them to a separate log stream won't help since it would never get anything logged to it. > > You should only log the SYN packets going out of your upstream (egress) > interface for obspamlogd -- that way it immediately whitelists anyone > you send email to, so they can reply without delay due to greylisting. > > A good way of doing that is to log SMTP traffic to a separate log > device. eg: > > pass log (to pflog1) on $ext_if proto tcp \ > from any to any port smtp \ > flags S/SA keep state > > then in /etc/rc.conf, tell obspamlogd to use pflog1: > > obspamlogd_enable="YES" > obspamlogd_flags="-i em0" > obspamlogd_pflog_if="pflog1" > > That way you can keep pflog0 for doing the normal packet logging that is > usual with pf -- typically, logging anything that gets dropped by the > firewall -- without getting obspamlogd confused. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > > > From wojtek at wojtek.tensor.gdynia.pl Sun Jun 17 20:14:26 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 17 20:14:41 2012 Subject: UEFI Secure Boot Specs - And some sanity In-Reply-To: References: <201206081611.q58GBW0J097808@fire.js.berklix.net> Message-ID: > Any server manufacturer who chooses to only support MS products is > going to find they don't get much business from the academic market. such behaviour is even more stupid today as globally PC market is shrinking. From wojtek at wojtek.tensor.gdynia.pl Sun Jun 17 20:18:10 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 17 20:18:17 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: > > Clang is consistently faster at compiling than GCC and it is very clean and > modular -- not bloated. -r-xr-xr-x 3 root wheel 37025016 12 cze 21:46 /usr/bin/clang well.. From wojtek at wojtek.tensor.gdynia.pl Sun Jun 17 20:25:47 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 17 20:25:54 2012 Subject: dumping file system subtree (/var) In-Reply-To: <4FDD517E.3060206@dreamchaser.org> References: <4FD1098E.7020203@dreamchaser.org> <4FDD517E.3060206@dreamchaser.org> Message-ID: >> alternatively - use tar. > > What I was trying to achieve, which I haven't done yet, was a smallish dump of the "core system". By that I mean system + ports, without distfiles, etc. Then a separate dump of user data, which is considerably larger. At this point I am thinking I should do this: > make clean distclean ports to remove temporary stuff > set /usr/home NODUMP > dump /, /var, and /usr > unset /usr/home NODUMP > dump /usr/home really - use tar. dump is not for that, but to QUICKLY dump a filesystem. on SSD - both are faster than writing to backup target disk. From mark at exonetric.com Sun Jun 17 21:03:26 2012 From: mark at exonetric.com (Mark Blackman) Date: Sun Jun 17 21:03:35 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: <7B54F8CE-9CA5-4C06-B3D8-F365A67A5300@exonetric.com> On 17 Jun 2012, at 21:13, Wojciech Puchar wrote: >> >> Clang is consistently faster at compiling than GCC and it is very clean and modular -- not bloated. > > -r-xr-xr-x 3 root wheel 37025016 12 cze 21:46 /usr/bin/clang > > well.. hope you just left the debugging symbols in and statically linked it? - Mark From bc979 at lafn.org Sun Jun 17 21:49:51 2012 From: bc979 at lafn.org (Doug Hardie) Date: Sun Jun 17 21:49:59 2012 Subject: Problem with spamlogd In-Reply-To: References: <4FDDDBC5.9070206@infracaninophile.co.uk> Message-ID: <3356910C-703E-4908-B6DE-8A71B7CD5E7F@lafn.org> After many hundreds of tests, I have uncovered something that I never found in any of the pf documents or man pages. If an incoming packet is processed by an rdr rule, it will always be logged as rdr with the rdr rule number. The pass action is never logged, even if the rdr rule does not include log and the pass rule does. As a result, since spamlogd is specifically looking for a pass action, it will never see those log entries. Hence, you must ensure that the packets which do get sent to the mailserver (real one) never are processed by a rdr rule. I ended up having to use no rdr rules for those to get the logging done such that spamlogd would find them: no rdr inet proto tcp from to any port smtp no rdr inet proto tcp from to any port smtp rdr pass on $ext_if inet proto tcp to $MAILHOSTS port smtp -> 127.0.0.1 port spa md pass in log on $ext_if inet proto tcp to $MAILHOSTS port smtp This setup works on FreeBSD 7.2 and 9.0. I couldn't find any other that actually worked including those in the various pf books, man pages, and other writings on pf. On 17 June 2012, at 09:40, Doug Hardie wrote: > > On 17 June 2012, at 06:29, Matthew Seaman wrote: > >> On 17/06/2012 11:45, Doug Hardie wrote: >>> I am using spamd on several systems and started encountering a problem awhile ago with FreeBSD 7.2 servers, but let it go since I am in the process of upgrading the servers. However, I now am encountering the same issue on FreeBSD 9.0 with spamlogd. It never reads pflog0. pflogd reads the entries just fine. I set up syslog to log all the spamlogd messages and when spamlogd is started it gives: >>> >>> spamlogd: Listening on pflog0 for all interfaces. >>> >>> lsof shows that it is connected to bpf0 as is pflogd. However, pflogd shows an offset into the file that appears to be the end of the file. spamlogd shows an offset of 0. It is periodically reading the file as shown by ktrace but always getting back a 0 size return. spamd itself is working just fine. However, the expiration times are not being updated so white entries are timed out way too often. spamlogd used to update them. The rc.conf entries are: >>> >>> obspamd_enable="YES" >>> obspamd_flags="-G 2:1:1728" >>> obspamd_setup_flags="" >>> obspamd_grey=YES >>> obspamlogd_enable="YES" >>> obspamlogd_flags="-W 1728" >>> >>> >>> These were established a few years ago and worked up till short while ago. I don't recall any changes I made to anything, but? >>> >>> Looking through the spamlogd source it appears to be building a filter for the pcap routines with: >>> >>> "ip and port 25 and action pass and tcp[13]&0x12=0x2" >>> >>> Using that filter on pflog yields no output. I believe the pass item requires there to be some logging of the pass actions and those are not appearing in the pflog or in the pfctl counts for those rules. I suspect that is the problem. The pf.conf is: (mail server is on this machine) >>> >>> ext_if="em0" >>> >>> table persist file "/etc/blackhole" >>> table persist >>> table persist >>> table persist file "/etc/mail/whitelist" >>> >>> >>> no rdr on { lo0, lo1 } from any to any >>> >>> no rdr on { lo0, lo1 } from any to any >>> MAILHOSTS = "{zool.lafn.org 10.0.1.10}" >>> >>> rdr pass log on $ext_if inet proto tcp from to port smtp -> 127.0.0.1 port smtp >>> rdr pass log on $ext_if inet proto tcp from to port smtp -> 127.0.0.1 port smtp >>> rdr pass log on $ext_if inet proto tcp to $MAILHOSTS port smtp -> 127.0.0.1 port spamd >>> >>> >>> pass in on lo0 >>> >>> pass in log on $ext_if inet proto tcp to 127.0.0.1 port smtp >>> pass out log on $ext_if inet proto tcp from 127.0.0.1 to any port smtp >>> >>> block in quick log on $ext_if from to any >> >> You seem to be logging all the SMTP traffic that passes through pf in >> any direction. Which doesn't make a lot of sense to me -- obspamlogd >> will see the logged SMTP packets, assume that's valid traffic and add >> the hosts to the whitelist. Even if that's the incoming SYN packet from >> some dubious mailer trying to inject you full of spam. > > Right now, I would like spamlogd to be a bit confused ;-) However, its not seeing any of the logging. It never receives any input from pflog0. From the filter, the pass action indicates it won't look at any of the rdr logging (which is in the log) but is waiting for the pass rules to log something. The tcp[13]&0x12=0x2 item is the TCP SYN flag so it should be able to separate out what it wants from the log. However, the pass rules are never being used and hence they never generate any log entries. pfctl -vvsr shows all zeros for both of those rules. > > I understand that the pass rules are applied after the rdr rules but apparently I am getting the matching criteria wrong. At this point switching them to a separate log stream won't help since it would never get anything logged to it. > > >> >> You should only log the SYN packets going out of your upstream (egress) >> interface for obspamlogd -- that way it immediately whitelists anyone >> you send email to, so they can reply without delay due to greylisting. >> >> A good way of doing that is to log SMTP traffic to a separate log >> device. eg: >> >> pass log (to pflog1) on $ext_if proto tcp \ >> from any to any port smtp \ >> flags S/SA keep state >> >> then in /etc/rc.conf, tell obspamlogd to use pflog1: >> >> obspamlogd_enable="YES" >> obspamlogd_flags="-i em0" >> obspamlogd_pflog_if="pflog1" >> >> That way you can keep pflog0 for doing the normal packet logging that is >> usual with pf -- typically, logging anything that gets dropped by the >> firewall -- without getting obspamlogd confused. >> >> Cheers, >> >> Matthew >> >> -- >> Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard >> Flat 3 >> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate >> JID: matthew@infracaninophile.co.uk Kent, CT11 9PW >> >> >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From mueller230 at insightbb.com Mon Jun 18 04:37:43 2012 From: mueller230 at insightbb.com (Thomas Mueller) Date: Mon Jun 18 04:37:49 2012 Subject: Why Clang? Message-ID: What is the current status of Clang vs. GCC as default compiler for ports and for "make buildworld" and "make buildkernel" in HEAD and 9.0-STABLE? Now one concern is wine not working when Clang is used to "make buildworld". I see from reading the emailing lists that the intention is to make Clang the default (or only?) compiler suite for 10.0-RELEASE. I realize that still leaves much time to work out many of the bugs. Tom From lists at eitanadler.com Mon Jun 18 05:24:07 2012 From: lists at eitanadler.com (Eitan Adler) Date: Mon Jun 18 05:24:15 2012 Subject: Why Clang? In-Reply-To: References: Message-ID: On 17 June 2012 21:37, Thomas Mueller wrote: > What is the current status of Clang vs. GCC as default compiler for ports and for > "make buildworld" and "make buildkernel" in HEAD and 9.0-STABLE? http://wiki.freebsd.org/PortsAndClang > Now one concern is wine not working when Clang is used to "make buildworld". This isn't good. Can you please follow up with more debugging information? (gdb backtrace with debugging symbols enabled) > I see from reading the emailing lists that the intention is to make Clang the default (or only?) compiler suite for 10.0-RELEASE. Yes. > I realize that still leaves much time to work out many of the bugs. We need your help though. -- Eitan Adler From mueller230 at insightbb.com Mon Jun 18 07:27:12 2012 From: mueller230 at insightbb.com (Thomas Mueller) Date: Mon Jun 18 07:27:19 2012 Subject: Why Clang? Message-ID: <92.29.28005.086DEDF4@smtp02.insight.synacor.com> > On 17 June 2012 21:37, Thomas Mueller wrote: > > What is the current status of Clang vs. GCC as default compiler for ports and for > > "make buildworld" and "make buildkernel" in HEAD and 9.0-STABLE? > http://wiki.freebsd.org/PortsAndClang > > Now one concern is wine not working when Clang is used to "make buildworld". > This isn't good. Can you please follow up with more debugging > information? (gdb backtrace with debugging symbols enabled) > > I see from reading the emailing lists that the intention is to make Clang the default (or only?) compiler suite for 10.0-RELEASE. > Yes. > > I realize that still leaves much time to work out many of the bugs. > We need your help though. > Eitan Adler Now you give me incentive to try current (HEAD) with Clang, on a separate partition from my 9.0-STABLE installation, if and when I get the time. I could use the old 9.0-BETA1 partition. I went straight for the wiki link you gave (PortsAndClang). My information on wine not working with clang-compiled world came from the emailing list (freebsd-questions) rather than my own experience. These pertinent messages come when the announcement of a new Wine-fbsd64 is announced. Latest such message that I see is: From: David Naylor Subject: Wine-fbsd64 updated to 1.4.1 (32bit Wine for 64bit FreeBSD) Packages [1] for wine-fbsd64-1.4.1 have been uploaded to mediafire [2]. The packages for FreeBSD 10 use the pkgng* [3] format. There are many reports that wine does not work with a clang compiled world (help in fixing this problem is appreciated as it affects quite a few users). The patch [4] for nVidia users is now included in the package and is run on installation (if the relevant files are accessible). Please read the installation messages for further information. Regards, David [1] MD5 (wine-1.4.x-freebsd8/wine-fbsd64-1.4.1,1.tbz) = 63f031c996b1201b056db34e6aa5b8f3 MD5 (wine-1.4.x-freebsd9/wine-fbsd64-1.4.1,1.txz) = 86aa9c66f05c61def997076befac5ba3 MD5 (wine-1.4.x-freebsd10/wine-fbsd64-1.4.1,1.txz) = b0b19714510f278187dcf8c696cae9c0 [2] http://www.mediafire.com/wine_fbsd64 [3] http://wiki.freebsd.org/pkgng [4] The patch is located at /usr/local/share/wine/patch-nvidia.sh (end of quote from David Naylor) Tom From matthew at FreeBSD.org Mon Jun 18 07:29:13 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Mon Jun 18 07:29:21 2012 Subject: Why Clang? In-Reply-To: References: Message-ID: <4FDED8BC.6030501@FreeBSD.org> On 18/06/2012 05:37, Thomas Mueller wrote: > What is the current status of Clang vs. GCC as default compiler for ports and for > "make buildworld" and "make buildkernel" in HEAD and 9.0-STABLE? Most ports work fine with clang -- at the last count 18252 out of 23661 ports compiled just fine. Of the failing ports, around a thousand are caused by a broken dependency, so the situation is actually better than it appears. See: http://wiki.freebsd.org/PortsAndClang > Now one concern is wine not working when Clang is used to "make buildworld". That's not one of the ports listed as failing in the page above (but that only tests building the port, not if it actually performs its intended function), nor are there any open PRs on the subject. Please can you open a PR showing how to reproduce the problem? > I see from reading the emailing lists that the intention is to make > Clang the default (or only?) compiler suite for 10.0-RELEASE. clang will be the only compiler in the base system, true. However there are a number of C/C++ compilers available from ports, and there is work going on to allow switching between those and the base system compiler more easily when compiling ports. You aren't going to be forced to use clang if you don't want to (although I can't understand why you wouldn't want to. It's an excellent compiler.) > I realize that still leaves much time to work out many of the bugs. clang already compiles the system perfectly well. I'm using it by default for that on my personal machines without problems. Any remaining clang-bugs in the system would be few and far between and generally in areas which are quite hard to trigger. clang with ports is less well covered. A lot of ported code is not written to the highest quality, nor does it conform to recently (or not so recently) published standards. It's a hard task for any compiler. One point that possibly hasn't been as apparent as it might is that FreeBSD adopting clang has had a big effect on clang development, and not just the other way round. We're discovering bugs and getting fixes committed upstream pretty effectively. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120618/86731d04/signature.pgp From c.kworr at gmail.com Mon Jun 18 11:34:39 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Mon Jun 18 11:34:47 2012 Subject: Why Clang? In-Reply-To: References: Message-ID: <4FDF123A.6040306@gmail.com> Thomas Mueller wrote: > Now one concern is wine not working when Clang is used to "make buildworld". For me I'm just waiting on toolchain stabilization as both this one and (open|libre)office fail because of libgcc_s compiled with clang on amd64. -- Sphinx of black quartz judge my vow. From nobody at dizum.com Mon Jun 18 12:26:59 2012 From: nobody at dizum.com (Nomen Nescio) Date: Mon Jun 18 12:27:06 2012 Subject: Why Clang? In-Reply-To: <4FDED8BC.6030501@FreeBSD.org> Message-ID: <21882b1fd46f0f76a5213474532397e0@dizum.com> > clang already compiles the system perfectly well. I'm using it by > default for that on my personal machines without problems. Any > remaining clang-bugs in the system would be few and far between and > generally in areas which are quite hard to trigger. > > clang with ports is less well covered. A lot of ported code is not > written to the highest quality, nor does it conform to recently (or not > so recently) published standards. It's a hard task for any compiler. I'm sure autotools doesn't help. I ASSume that issue doesn't exist with the system itself so yeah I would expect gnu's autotools not to get along with anything but gcc (damn them!) Ports are probably mostly written for Linux since that is the only "operating system" that exists as far as they know. > One point that possibly hasn't been as apparent as it might is that > FreeBSD adopting clang has had a big effect on clang development, and > not just the other way round. We're discovering bugs and getting fixes > committed upstream pretty effectively. I'm very grateful for that and I give two thumbs up to FreeBSD for doing so much to help free us from the Marxist gnu ecosystem. I meant it. I'm seriously considering ditching my long-time Linux setup for FreeBSD when you guys make clang the default and build everything with it. I've used FreeBSD on and off in the past and I'm thinking about switching back. Thank you, FreeBSD team! Hopefully all the *BSD OS will follow your lead in this. From subhro at 80386.org Mon Jun 18 12:51:25 2012 From: subhro at 80386.org (Subhro Sankha Kar) Date: Mon Jun 18 12:51:31 2012 Subject: openoffice doesn't work - any ideas? In-Reply-To: References: <4FB80D3E.8020308@gmx.de> Message-ID: <2E5AA9E9-4A5B-49C4-B05D-0188F85C6163@80386.org> Hello, On 20-May-2012, at 3:00 AM, User Wojtek wrote: > the problem is that what i found is not this. > > all description i found is that deleting .openoffice* from $HOME fixes it. it doesn't. i even created new user with no leftover any config files and still same. Are your ports up to date? Also, did you apply any funky compile time flags? Thanks -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 > > On Sat, 19 May 2012, lokadamus@gmx.de wrote: > >> On 05/19/12 13:24, User Wojtek wrote: >>> [wojtek@wojtek ~/robod]$ openoffice-3.4.0 >>> [Java framework] Error in function createSettingsDocument (elements.cxx).javaldx failed! >>> terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException' >>> compiled fine, installed without problems jdk 1.6 too. >>> any ideas? thanks >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> Google find many things with "javaldx failed". >> Is a problem with java, but different solutions (wrong xml, home permission, java- version ...). >> >> Hope you find a solution. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 13:12:40 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 13:12:47 2012 Subject: Why Clang In-Reply-To: <7B54F8CE-9CA5-4C06-B3D8-F365A67A5300@exonetric.com> References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> <7B54F8CE-9CA5-4C06-B3D8-F365A67A5300@exonetric.com> Message-ID: >>> Clang is consistently faster at compiling than GCC and it is very clean and modular -- not bloated. >> >> -r-xr-xr-x 3 root wheel 37025016 12 cze 21:46 /usr/bin/clang >> >> well.. > > hope you just left the debugging symbols in and statically linked it? standard FreeBSD built, assumed freebsd build system do the right things. test done with SSD disk so I/O time are insignificant. /usr/bin/clang: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 9.0 (900506), stripped /usr/bin/clang: libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x802b58000) libm.so.5 => /lib/libm.so.5 (0x802e68000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x803089000) libc.so.7 => /lib/libc.so.7 (0x803296000) [wojtek@wojtek ~]$ ls -l /usr/libexec/cc1* -r-xr-xr-x 1 root wheel 6265360 12 cze 21:46 /usr/libexec/cc1 -r-xr-xr-x 1 root wheel 6813856 12 cze 21:46 /usr/libexec/cc1plus [wojtek@wojtek ~]$ file /usr/libexec/cc1* /usr/libexec/cc1: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 9.0 (900506), stripped /usr/libexec/cc1plus: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 9.0 (900506), stripped [wojtek@wojtek ~]$ ls -l /usr/bin/cc -r-xr-xr-x 2 root wheel 450184 12 cze 21:46 /usr/bin/cc [wojtek@wojtek ~]$ ls -l /usr/bin/cpp -r-xr-xr-x 2 root wheel 199304 12 cze 21:46 /usr/bin/cpp that's about bloat. now about speed: compiling time of my custom kernel (just kernel, no modules, -j 2) gcc: real 2m2.880s user 3m35.788s sys 0m23.799s makeoptions CC="clang" : real 2m8.511s user 3m48.025s sys 0m22.602s resulting programs (gzip as example,stripped, dynamic link): -rwxr-xr-x 1 root wheel 36792 18 cze 14:53 gzip.cc -rwxr-xr-x 1 root wheel 36728 18 cze 14:53 gzip.clang speed test (compression -9 to /dev/null of 4GB file - windows XP image in virtualbox): gzip.clang: [root@wojtek ~/NOBACKUP]# time ./gzip.clang -9c /home/wojtek/NOBACKUP/Winda.part1 >/dev/null real 9m17.495s user 8m59.466s sys 0m5.724s gzip.cc: [root@wojtek ~/NOBACKUP]# time ./gzip.cc -9c /home/wojtek/NOBACKUP/Winda.part1 >/dev/null real 9m26.206s user 9m2.700s sys 0m7.551s clang is slightly slower (nearly comparable) to gcc, produced similar sized code, that executes in similar speed (<0.5% difference in CPU time), while clang itself is 5 times bigger. sometimes spending just a few minutes to CHECK how things are is far better than following a hype. I would say not just sometimes, but always. Don't forget that gcc is result of much over 20 years of constant patching, modifying, adding and changing the same code which MUST result in bloat and inefficiency. Clang written recently with "fresh look" resulted in no faster, but far more bloated program. quite strange IMHO, think what will be within 5 years. From lenzi.sergio at gmail.com Mon Jun 18 13:20:14 2012 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Mon Jun 18 13:20:57 2012 Subject: libc version Message-ID: <1340025609.95799.4.camel@z6000.lenzicasa> Hello... I upgrade the server from version 8.2 to 8.3, and rebuild all packages.. it all works... Then I installed a binary package (8.3) in an old 8.2 ... every package works... gnome, nautilus, wget.... about 800 of them the only one that does not work is postgesql84-server when I try to run it it I got the message: /libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.3 required by /usr/local/bin/postgres not found seems that only postgres is check for the libc version??? is there a compile switch to check for that??? Of course, if I compile postgres in the 8.2 or upgrade to 8.3 it works... Thanks for any help, From naylor.b.david at gmail.com Mon Jun 18 13:31:13 2012 From: naylor.b.david at gmail.com (David Naylor) Date: Mon Jun 18 13:31:22 2012 Subject: Why Clang? In-Reply-To: <92.29.28005.086DEDF4@smtp02.insight.synacor.com> References: <92.29.28005.086DEDF4@smtp02.insight.synacor.com> Message-ID: <201206181530.57970.naylor.b.david@gmail.com> Hi, On Monday, 18 June 2012 09:19:28 Thomas Mueller wrote: > > On 17 June 2012 21:37, Thomas Mueller wrote: > > > Now one concern is wine not working when Clang is used to "make > > > buildworld". > > > > This isn't good. Can you please follow up with more debugging > > information? (gdb backtrace with debugging symbols enabled) > > > These pertinent messages come when the announcement of a new Wine-fbsd64 is > announced. I am the one who sends these persistent messages. Some users of my packages reported that wine didn't run due to a clang compiled world. I never verified them (although I got multiple reports). With the updates to clang it may have also been corrected. I attributed the problem to clang miscompiling a library in base used by wine and Volodymyr, I think, confirms this: On Monday, 18 June 2012 13:34:18 Volodymyr Kostyrko wrote: > Thomas Mueller wrote: > > Now one concern is wine not working when Clang is used to "make > > buildworld". > > For me I'm just waiting on toolchain stabilization as both this one and > (open|libre)office fail because of libgcc_s compiled with clang on amd64. Regards -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120618/c3395156/attachment.pgp From vladimir.budnev at gmail.com Mon Jun 18 13:32:00 2012 From: vladimir.budnev at gmail.com (Budnev Vladimir) Date: Mon Jun 18 13:32:08 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? Message-ID: <4FDF2DCA.2020105@gmail.com> Hello everyone. We'v noticed some strange situation. After reboot and login, system didn't ask for password while switchig with su -l. In details, there was root login from terminal and one from ssh. Terminal login was directly as root(via ip-console), and ssh was as user, then attemped switch to root with su -l, and there were NO password request,no prompt at all. At the same time login from terminal accepted root password, first I thought that means password wasn't empty, but system even with empty password should print "Password:"..and that time it was nothing absolultey. We even logged out and then su -l again. And It looked such way: %su -l St-serv# St-serv# exit %su -l St-serv# We'v been shocked and hurried a bit and changed root password without /etc/master.passwd backup for explorations. After chagning password we cant no reprocude such behaviour. It's also should be noticed that system was booting after unsafe power shutdown, and there was fs-check running in background(accroding to logs), corrected cleared some files(searching by inum resulted to nothing). sysctl -a gave such string: <118>Starting background file system checks in 60 seconds. <118> and in /var/log/messages we could see: Jun 15 14:57:39 St-serv kernel: em0: link state changed to UP Jun 15 14:57:49 St-serv login: ROOT LOGIN (root) ON ttyv0 Jun 15 14:58:47 St-serv fsck: /dev/ad0s1e: 71 files, 11 used, 2538508 free (84 frags, 317303 blocks, 0.0% fragmentation) Jun 15 15:02:31 St-serv fsck: /dev/ad0s1f: 264646 files, 1378041 used, 60368113 free (43545 frags, 7540571 blocks, 0.1% fragmentation) Jun 15 15:03:31 St-serv su: zimmer to root on /dev/ttyp0 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=1931747 (897632 should be 897600) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=1931748 (1865184 should be 1865120) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=2284637 (4 should be 0) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=2284713 (4 should be 0) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: UNREF FILE I=23557 OWNER=root MODE=100644 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: SIZE=0 MTIME=Jun 9 18:51 2012 (CLEARED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: UNREF FILE I=1931319 OWNER=root MODE=100640 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: SIZE=728 MTIME=Jul 26 17:37 2011 (CLEARED) <...> I'v googled and found only one thread with su didnt'asking for password, that one was abut jails, but this time we have a 100% garanty that we didnt put any virtual enviroments. So the thing that scares is, mb this is symptop of server rootkit? (We'v found nothing unusual in logs but it means nothing...) Or there is some other explanation why su could not ask password? Thanks in advance PS Duplicated question to freebsd-questions and freebsd-security because unsure which one it should be send. From mike at sentex.net Mon Jun 18 14:03:01 2012 From: mike at sentex.net (Mike Tancsa) Date: Mon Jun 18 14:03:08 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? In-Reply-To: <4FDF2DCA.2020105@gmail.com> References: <4FDF2DCA.2020105@gmail.com> Message-ID: <4FDF3513.5050909@sentex.net> On 6/18/2012 9:31 AM, Budnev Vladimir wrote: > > And It looked such way: > > %su -l Before you enter this command, post the output of id ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From vladimir.budnev at gmail.com Mon Jun 18 14:24:40 2012 From: vladimir.budnev at gmail.com (Budnev Vladimir) Date: Mon Jun 18 14:24:47 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? In-Reply-To: <4FDF3513.5050909@sentex.net> References: <4FDF2DCA.2020105@gmail.com> <4FDF3513.5050909@sentex.net> Message-ID: <4FDF3A22.7030307@gmail.com> 18.06.2012 18:02, Mike Tancsa ???????: > On 6/18/2012 9:31 AM, Budnev Vladimir wrote: >> And It looked such way: >> >> %su -l > Before you enter this command, post the output of > id Unfortunately, we can not flashback or reproduce that step now, cause we'v hurried and changed root password to avoid such strange "free logins". And changing it back didnt change a thing. It was...and't went. We had only buffered console output :( But mb you can point in what case there is possibility to make "su -l" without any prompt. I suppose you mean that user has gid=0 or smthng like that but it hasn't. And as i mentioned changin root password to another and backwards doesn't allow to reproduce discribed behaviour. > > ---Mike > > From utisoft at gmail.com Mon Jun 18 14:32:31 2012 From: utisoft at gmail.com (Chris Rees) Date: Mon Jun 18 14:32:45 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? In-Reply-To: <4FDF2DCA.2020105@gmail.com> References: <4FDF2DCA.2020105@gmail.com> Message-ID: On Jun 18, 2012 2:34 PM, "Budnev Vladimir" wrote: > > Hello everyone. > We'v noticed some strange situation. After reboot and login, system didn't ask for password while switchig with su -l. > > In details, there was root login from terminal and one from ssh. > Terminal login was directly as root(via ip-console), and ssh was as user, then attemped switch to root with su -l, and there were NO password request,no prompt at all. At the same time login from terminal accepted root password, first I thought that means password wasn't empty, but system even with empty password should print "Password:"..and that time it was nothing absolultey. Empty password behaviour is for no prompt, so what you are seeing is normal, and means that you did indeed have a empty password. Check your logs very carefully over the past few weeks to make sure no one has broken in. Chris From mike at sentex.net Mon Jun 18 14:37:17 2012 From: mike at sentex.net (Mike Tancsa) Date: Mon Jun 18 14:37:24 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? In-Reply-To: <4FDF3A22.7030307@gmail.com> References: <4FDF2DCA.2020105@gmail.com> <4FDF3513.5050909@sentex.net> <4FDF3A22.7030307@gmail.com> Message-ID: <4FDF3D1B.2010408@sentex.net> On 6/18/2012 10:24 AM, Budnev Vladimir wrote: > But mb you can point in what case there is possibility to make "su -l" > without any prompt. If the uid is 0, you wont need to enter a passwd ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From vladimir.budnev at gmail.com Mon Jun 18 14:41:39 2012 From: vladimir.budnev at gmail.com (Budnev Vladimir) Date: Mon Jun 18 14:41:48 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? In-Reply-To: References: <4FDF2DCA.2020105@gmail.com> Message-ID: <4FDF3E1E.8040100@gmail.com> 18.06.2012 18:32, Chris Rees ???????: > > > On Jun 18, 2012 2:34 PM, "Budnev Vladimir" > wrote: > > > > Hello everyone. > > We'v noticed some strange situation. After reboot and login, system > didn't ask for password while switchig with su -l. > > > > In details, there was root login from terminal and one from ssh. > > Terminal login was directly as root(via ip-console), and ssh was as > user, then attemped switch to root with su -l, and there were NO > password request,no prompt at all. At the same time login from > terminal accepted root password, first I thought that means password > wasn't empty, but system even with empty password should print > "Password:"..and that time it was nothing absolultey. > > Empty password behaviour is for no prompt, so what you are seeing is > normal, and means that you did indeed have a empty password. > Interesintg could it be that master.passwd file corrupted (after power shutdown) and fsck corrected in background.. which resulted in such behaviour. The strange thing with possibly empty password is that login from ip-console accepted correct password. So dont sure about empty...It seems like su was accepting any password at that time. > > Check your logs very carefully over the past few weeks to make sure no > one has broken in. > Yeah, seems we are forced to mount disks to another system and check for changes in critical system tools. Argh....and then anyway redeploy system. > > Chris > From jhellenthal at dataix.net Mon Jun 18 14:43:03 2012 From: jhellenthal at dataix.net (Jason Hellenthal) Date: Mon Jun 18 14:43:10 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? In-Reply-To: <4FDF2DCA.2020105@gmail.com> References: <4FDF2DCA.2020105@gmail.com> Message-ID: <20120618144259.GB74775@DataIX.net> On Mon, Jun 18, 2012 at 05:31:54PM +0400, Budnev Vladimir wrote: > Hello everyone. > We'v noticed some strange situation. After reboot and login, system > didn't ask for password while switchig with su -l. > > In details, there was root login from terminal and one from ssh. > Terminal login was directly as root(via ip-console), and ssh was as > user, then attemped switch to root with su -l, and there were NO > password request,no prompt at all. At the same time login from terminal > accepted root password, first I thought that means password wasn't > empty, but system even with empty password should print "Password:"..and > that time it was nothing absolultey. We even logged out and then su -l > again. > > And It looked such way: > > %su -l > St-serv# > St-serv# exit > %su -l > St-serv# > > We'v been shocked and hurried a bit and changed root password without > /etc/master.passwd backup for explorations. > After chagning password we cant no reprocude such behaviour. > > It's also should be noticed that system was booting after unsafe power > shutdown, and there was fs-check running in background(accroding to > logs), corrected cleared some files(searching by inum resulted to nothing). > > sysctl -a gave such string: > <118>Starting background file system checks in 60 seconds. > <118> > > and in /var/log/messages we could see: > Jun 15 14:57:39 St-serv kernel: em0: link state changed to UP > Jun 15 14:57:49 St-serv login: ROOT LOGIN (root) ON ttyv0 > Jun 15 14:58:47 St-serv fsck: /dev/ad0s1e: 71 files, 11 used, 2538508 > free (84 frags, 317303 blocks, 0.0% fragmentation) > Jun 15 15:02:31 St-serv fsck: /dev/ad0s1f: 264646 files, 1378041 used, > 60368113 free (43545 frags, 7540571 blocks, 0.1% fragmentation) > Jun 15 15:03:31 St-serv su: zimmer to root on /dev/ttyp0 > Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT > I=1931747 (897632 should be 897600) (CORRECTED) > Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT > I=1931748 (1865184 should be 1865120) (CORRECTED) > Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT > I=2284637 (4 should be 0) (CORRECTED) > Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT > I=2284713 (4 should be 0) (CORRECTED) > Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: UNREF FILE I=23557 > OWNER=root MODE=100644 > Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: SIZE=0 MTIME=Jun 9 18:51 > 2012 (CLEARED) > Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: UNREF FILE I=1931319 > OWNER=root MODE=100640 > Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: SIZE=728 MTIME=Jul 26 17:37 > 2011 (CLEARED) > <...> > > > I'v googled and found only one thread with su didnt'asking for password, > that one was abut jails, but this time we have a 100% garanty that we > didnt put any virtual enviroments. > > So the thing that scares is, mb this is symptop of server rootkit? (We'v > found nothing unusual in logs but it means nothing...) Or there is some > other explanation why su could not ask password? > The only thing I can think of ATM is .. did you recently perform and upgrade from source with this system ? mergemaster ? The reason why I ask is that when doing such things the master.passwd is compared to the default master.passwd which has no passowrd set. If a merge when wrong then there is a possibility that it was set back to defaults by accident. I also see that your system booted up and did a fsck(8). There is a chance that something wierd happened here as well. > > Thanks in advance > > PS Duplicated question to freebsd-questions and freebsd-security because > unsure which one it should be send. > > > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" -- - (2^(N-1)) From vladimir.budnev at gmail.com Mon Jun 18 14:43:53 2012 From: vladimir.budnev at gmail.com (Budnev Vladimir) Date: Mon Jun 18 14:44:00 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? In-Reply-To: <4FDF3D1B.2010408@sentex.net> References: <4FDF2DCA.2020105@gmail.com> <4FDF3513.5050909@sentex.net> <4FDF3A22.7030307@gmail.com> <4FDF3D1B.2010408@sentex.net> Message-ID: <4FDF3EA4.5050004@gmail.com> 18.06.2012 18:37, Mike Tancsa ???????: > On 6/18/2012 10:24 AM, Budnev Vladimir wrote: >> But mb you can point in what case there is possibility to make "su -l" >> without any prompt. > If the uid is 0, you wont need to enter a passwd Yeah i realized that you mean things came that way, but as I mentioned in prev mail, no gid or uid were 0, and we can not reproduce situation after password changing (we DID not changed any other system users) > > ---Mike > > From blue.seahorse.syndicate at gmail.com Mon Jun 18 15:01:27 2012 From: blue.seahorse.syndicate at gmail.com (Lynn Steven Killingsworth) Date: Mon Jun 18 15:01:35 2012 Subject: Fwd: Error in latest KDE4 install attempt In-Reply-To: References: Message-ID: Hi FreeBSD - I thought someone would probably inspect the files for KDE4 so I would try to install periodically. This morning the error messages were slightly different. While attempting to install qzeitgeist-0.8.0 my machine almost immediately states that moc 4.8.2 has changed too much for these to be compatible. [During verifying qt-something] Then there is a list of items that are 'not in scope' - for instance monitoradaptor or classOrgGnomeZeitgeistDataSourceRegistryInterface. A fetch command for qzeitgeist-0.8.0 is not given so I would not know how to fetch a newer version if I knew the newer version. Which is to say are all the fetch commands from the distfiles directory? Steve ------- Forwarded message ------- From: "Lynn Steven Killingsworth" To: "freebsd-questions@freebsd.org" Cc: Subject: Error in latest KDE4 install attempt Date: Fri, 15 Jun 2012 07:36:20 -0400 Hi FreeBSD - I have just updated my Ports again this morning and I still have the same problem installing KDE4. When verifying libphonon.so in /multimedia/phonon [phonon-4.6.0-1][from the numbers it appears to be KDE4 4.8.4] my machine does not find library qzeitgeist.1 so it begins verifying the install of qzeitgeist-0.8.0 . The installer then determines that this version of qzeitgeist is not compatible. Since the master site seems to be unavailable much of the time how can I determine the tar.gz from the version number so that I may have an for instance //ftp1.freebsd.org/.... to put in the the master site change in the make fetch command? Thanks - Steve -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From brian at brianwhalen.net Mon Jun 18 15:10:20 2012 From: brian at brianwhalen.net (Brian W.) Date: Mon Jun 18 15:10:28 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? In-Reply-To: <4FDF3A22.7030307@gmail.com> References: <4FDF2DCA.2020105@gmail.com> <4FDF3513.5050909@sentex.net> <4FDF3A22.7030307@gmail.com> Message-ID: I have only seen thuis after a source upgrade where mergemaster wants to remove the passwd. Has a source upgrade been done recently? Brian On Jun 18, 2012 7:26 AM, "Budnev Vladimir" wrote: > 18.06.2012 18:02, Mike Tancsa ???????: > >> On 6/18/2012 9:31 AM, Budnev Vladimir wrote: >> >>> And It looked such way: >>> >>> %su -l >>> >> Before you enter this command, post the output of >> id >> > Unfortunately, we can not flashback or reproduce that step now, cause we'v > hurried and changed root password to avoid such strange "free logins". And > changing it back didnt change a thing. It was...and't went. We had only > buffered console output :( > But mb you can point in what case there is possibility to make "su -l" > without any prompt. I suppose you mean that user has gid=0 or smthng like > that but it hasn't. And as i mentioned changin root password to another and > backwards doesn't allow to reproduce discribed behaviour. > >> >> ---Mike >> >> >> > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > From bah at bananmonarki.se Mon Jun 18 15:27:28 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Mon Jun 18 15:27:36 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? In-Reply-To: <4FDF3E1E.8040100@gmail.com> References: <4FDF2DCA.2020105@gmail.com> <4FDF3E1E.8040100@gmail.com> Message-ID: <4FDF4879.9040509@bananmonarki.se> On 2012-06-18 16:41, Budnev Vladimir wrote: > The strange thing with possibly empty password is that login from > ip-console accepted correct password. So dont sure about empty...It > seems like su was accepting any password at that time. That is the behavior with an empty password. The login would accept any password. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 15:27:40 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 15:27:47 2012 Subject: openoffice doesn't work - any ideas? In-Reply-To: <2E5AA9E9-4A5B-49C4-B05D-0188F85C6163@80386.org> References: <4FB80D3E.8020308@gmx.de> <2E5AA9E9-4A5B-49C4-B05D-0188F85C6163@80386.org> Message-ID: >> all description i found is that deleting .openoffice* from $HOME fixes it. it doesn't. i even created new user with no leftover any config files and still same. > > Are your ports up to date? Also, did you apply any funky compile time flags? yes and no. But i found the answer. when i use xdm as login manager (my favourite) it happens. when gdm or kdm - it does not. From feld at feld.me Mon Jun 18 15:35:06 2012 From: feld at feld.me (Mark Felder) Date: Mon Jun 18 15:35:13 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: On Sun, 17 Jun 2012 15:13:05 -0500, Wojciech Puchar wrote: >> >> Clang is consistently faster at compiling than GCC and it is very clean >> and modular -- not bloated. > > -r-xr-xr-x 3 root wheel 37025016 12 cze 21:46 /usr/bin/clang > > well.. > # ls -la /usr/local/bin/clang -rwxr-xr-x 1 root wheel 14360344 Jun 18 09:57 /usr/local/bin/clang # ls -la /usr/bin/clang -r-xr-xr-x 3 root wheel 32578976 Jun 18 09:12 /usr/bin/clang Looks like FreeBSD's current base build includes debugging/symbols even in -RELEASE. I'm sure there's a reason for this. # ls -la /usr/bin/g++ -r-xr-xr-x 3 root wheel 199208 May 22 14:26 /usr/bin/g++ # ls -la /usr/bin/clang++ -r-xr-xr-x 3 root wheel 32578976 Jun 18 09:12 /usr/bin/clang++ # ls -la /usr/local/bin/clang++ lrwxr-xr-x 1 root wheel 5 Jun 18 09:57 /usr/local/bin/clang++ -> clang FreeBSD and Ports installation method of CLANG differs further here # stat -x /usr/bin/clang File: "/usr/bin/clang" Size: 32578976 FileType: Regular File Mode: (0555/-r-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ wheel) Device: 85,3144417526 Inode: 23483 Links: 3 Access: Tue May 22 14:27:20 2012 Modify: Mon Jun 18 09:12:53 2012 Change: Mon Jun 18 09:12:53 2012 # stat -x /usr/bin/clang++ File: "/usr/bin/clang++" Size: 32578976 FileType: Regular File Mode: (0555/-r-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ wheel) Device: 85,3144417526 Inode: 23483 Links: 3 Access: Tue May 22 14:27:20 2012 Modify: Mon Jun 18 09:12:53 2012 Change: Mon Jun 18 09:12:53 2012 Yup, so Ports symlinks (without full path -- this should be fixed) and FreeBSD BASE uses a hardlink. # ldd /usr/local/bin/clang /usr/local/bin/clang: libLLVM-3.0.so => /usr/local/lib/libLLVM-3.0.so (0x80155e000) libthr.so.3 => /lib/libthr.so.3 (0x802ea0000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x8030c3000) libm.so.5 => /lib/libm.so.5 (0x8033d3000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8035f4000) libc.so.7 => /lib/libc.so.7 (0x803801000) # ldd /usr/bin/clang /usr/bin/clang: libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x80269e000) libm.so.5 => /lib/libm.so.5 (0x8029ae000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x802bcf000) libc.so.7 => /lib/libc.so.7 (0x802ddc000) # ls -la /usr/local/lib/libLLVM-3.0.so -rwxr-xr-x 1 root wheel 27543632 Jun 18 09:53 /usr/local/lib/libLLVM-3.0.so # ls -la /lib/libthr.so.3 -r--r--r-- 1 root wheel 101712 May 22 14:26 /lib/libthr.so.3 So from what I can tell LLVM is the monster here, not Clang (which is also of significant size, but it's 2012 so Clang isn't *that* big) None of this seems very relevant, but here's also lines of code via sloccount: # sloccount clang-3.0.src/ Totals grouped by language (dominant language first): cpp: 390865 (82.34%) ansic: 50466 (10.63%) objc: 24970 (5.26%) python: 5874 (1.24%) perl: 1951 (0.41%) lisp: 379 (0.08%) pascal: 123 (0.03%) sh: 86 (0.02%) Total Physical Source Lines of Code (SLOC) = 474,714 # sloccount llvm-3.0.src/ Totals grouped by language (dominant language first): cpp: 468021 (75.80%) asm: 109345 (17.71%) ansic: 13782 (2.23%) sh: 12848 (2.08%) ml: 4716 (0.76%) python: 4351 (0.70%) perl: 2093 (0.34%) pascal: 1566 (0.25%) exp: 389 (0.06%) lisp: 187 (0.03%) csh: 117 (0.02%) Total Physical Source Lines of Code (SLOC) = 617,415 # sloccount gcc-4.2.1/ Totals grouped by language (dominant language first): ansic: 1306440 (43.95%) ada: 584415 (19.66%) java: 583316 (19.62%) cpp: 346603 (11.66%) asm: 37548 (1.26%) f90: 36055 (1.21%) sh: 30089 (1.01%) yacc: 15006 (0.50%) exp: 11218 (0.38%) fortran: 7139 (0.24%) objc: 6921 (0.23%) perl: 3038 (0.10%) pascal: 1194 (0.04%) cs: 879 (0.03%) lex: 857 (0.03%) awk: 732 (0.02%) python: 582 (0.02%) tcl: 271 (0.01%) haskell: 93 (0.00%) lisp: 59 (0.00%) Total Physical Source Lines of Code (SLOC) = 2,972,455 So GCC 4.2.1 is nearly 3 million lines of code, but CLANG+LLVM is sitting at 1.1 million lines of code. Are you sure CLANG is the bloated project? From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 15:51:35 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 15:51:42 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: > Are you sure CLANG is the bloated project? already posted comparision. your seems like too much propaganda. I don't say clang is just bad, but i prefer real data over hype. From feld at feld.me Mon Jun 18 16:07:21 2012 From: feld at feld.me (Mark Felder) Date: Mon Jun 18 16:07:29 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: On Mon, 18 Jun 2012 10:50:37 -0500, Wojciech Puchar wrote: > I don't say clang is just bad, but i prefer real data over hype. This is the most memorable and impacting set of graphs that I remember. I haven't followed the data much since. http://clang.llvm.org/performance-2008-10-31.html Now imagine having to rebuild projects constantly during your dev cycle. The time savings is going to add up quick. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 16:38:11 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 16:38:17 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: >> I don't say clang is just bad, but i prefer real data over hype. > > This is the most memorable and impacting set of graphs that I remember. I > haven't followed the data much since. > > http://clang.llvm.org/performance-2008-10-31.html > > Now imagine having to rebuild projects constantly during your dev cycle. The > time savings is going to add up quick. still not read my mail where i actually compared it in real. or don't want? I really don't care about cool graphs but at facts for me as a USER (not developer) of C compiler. And the facts are: Lots of worktime were spent to make new C compiler from scratch and this resulted with thing 5 times larger, working at similar speed and producing similar code to GCC that is already considered bloat. Not something to be proud about. That's truth. and truth is the only thing i do care about. I leave hype and propaganda and cool graphic bars that shows a really not important part of C compiler performance - code parsing and generating unoptimized code (-O0). The truth is sad. Starting from fresh and not being able to beat 25-year old bloated gcc is just funny. That's my view - as a final "consumer", not developer. My view is that bloatware is replaced by another bloatware, which - because of it's young age - have greater future potential of bloat than GCC. This tens or hundreds of thousands of work-hours could be spent far better by getting latest gcc available on GPLv2 licence and start from there, just improving it. GNU communist licence for C compiler is not bad at all (contrary to other software). From feld at feld.me Mon Jun 18 16:44:28 2012 From: feld at feld.me (Mark Felder) Date: Mon Jun 18 16:44:40 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: On Mon, 18 Jun 2012 11:37:55 -0500, Wojciech Puchar wrote: > This tens or hundreds of thousands of work-hours could be spent far > better by getting latest gcc available on GPLv2 licence and start from > there, just improving it. We already have the latest available with GPLv2, which is very far behind and it requires GCC codebase experts to make any changes at all. This is equivalent to letting any random coder make major changes to OpenSSL -- you simply cannot afford to risk it. Yes, I noticed you showed a few benchmarks where Clang was slower. It's bound to be a bit slower with some test cases at first -- they're rounding out the features before going back for major optimizations. It won't be long and it will be sufficiently on par if not exceeding GCC's capabilities. Writing a compiler is no trivial task, and they've built the right framework and have a very active community. Listen, Apple has a MAJOR investment in Clang/LLVM. They simply would not allow major across-the-board speed regressions to happen during the release of iOS or OSX. They're going to throw tons of time and money to make it destroy GCC and target any ARCH they have the slightest interest in. Clang has a very bright future, so don't be so discouraged. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 16:46:55 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 16:47:02 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: > > We already have the latest available with GPLv2, which is very far behind and > it requires GCC codebase experts to make any changes at all. This is > equivalent to letting any random coder make major changes to OpenSSL -- you > simply cannot afford to risk it. so not doing anything and just spent that time drinking beer seems to be better. Anyway "far behind" gcc is roughly as good as "leading edge" clang. Actually - lots of time spend and zero gain. From feld at feld.me Mon Jun 18 16:56:34 2012 From: feld at feld.me (Mark Felder) Date: Mon Jun 18 16:56:41 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: Please stop asking for instant gratification; you won't have it no matter how loud you yell. The Clang decision is far-reaching and gives numerous advantages to the FreeBSD platform. It's also not been a waste of time; you're implying that the FreeBSD devs have spent thousands of hours hacking away at Clang which is far away from the fact. We're simply building upon their work, testing Clang on the codebase (and finding bugs GCC was hiding!!), and reporting any issues upstream which get fixed very very quickly. If you want to recompile everything with lang/gcc (4.6.3) and the latest binutils go right ahead, but don't expect support when things go horribly pear-shaped. From joe.gain at gmail.com Mon Jun 18 17:21:07 2012 From: joe.gain at gmail.com (Joe Gain) Date: Mon Jun 18 17:21:28 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: On Mon, Jun 18, 2012 at 6:56 PM, Mark Felder wrote: > Please stop asking for instant gratification; you won't have it no matter > how loud you yell. The Clang decision is far-reaching and gives numerous > advantages to the FreeBSD platform. It's also not been a waste of time; > you're implying that the FreeBSD devs have spent thousands of hours hacking > away at Clang which is far away from the fact. We're simply building upon > their work, testing Clang on the codebase (and finding bugs GCC was > hiding!!), and reporting any issues upstream which get fixed very very > quickly. > > If you want to recompile everything with lang/gcc (4.6.3) and the latest > binutils go right ahead, but don't expect support when things go horribly > pear-shaped. Clang is a great set of compiler tools. If you are only a user, as you suggest, than you shouldn't be compiling anything, just running binaries. If you are using a compiler, than you may not be a developer, but you aren't just a user. In any case, if you're not developing, like me, you don't really get a say-- well, you do, but probably nobody is listening. http://www.drdobbs.com/cpp/240001128 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) From lumiwa at gmail.com Mon Jun 18 17:31:49 2012 From: lumiwa at gmail.com (Franci Nabalanci) Date: Mon Jun 18 17:32:01 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: Apple had no problem using a GPL v2 licensed compiler. It looks like they have a huge problem using a GPL v3 licensed compiler. On Mon, Jun 18, 2012 at 12:21 PM, Joe Gain wrote: > On Mon, Jun 18, 2012 at 6:56 PM, Mark Felder wrote: > > Please stop asking for instant gratification; you won't have it no matter > > how loud you yell. The Clang decision is far-reaching and gives numerous > > advantages to the FreeBSD platform. It's also not been a waste of time; > > you're implying that the FreeBSD devs have spent thousands of hours > hacking > > away at Clang which is far away from the fact. We're simply building upon > > their work, testing Clang on the codebase (and finding bugs GCC was > > hiding!!), and reporting any issues upstream which get fixed very very > > quickly. > > > > If you want to recompile everything with lang/gcc (4.6.3) and the latest > > binutils go right ahead, but don't expect support when things go horribly > > pear-shaped. > > Clang is a great set of compiler tools. If you are only a user, as you > suggest, > than you shouldn't be compiling anything, just running binaries. If you are > using a compiler, than you may not be a developer, but you aren't just a > user. > > In any case, if you're not developing, like me, you don't really get a > say-- well, > you do, but probably nobody is listening. > > http://www.drdobbs.com/cpp/240001128 > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > -- > joe gain > > jacob-burckhardt-str. 16 > 78464 konstanz > germany > > +49 (0)7531 60389 > > (...otherwise in ???) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From bonomi at mail.r-bonomi.com Mon Jun 18 18:28:35 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Mon Jun 18 18:28:43 2012 Subject: libc version In-Reply-To: <1340025609.95799.4.camel@z6000.lenzicasa> Message-ID: <201206181828.q5IISbt7013745@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Mon Jun 18 08:21:38 2012 > From: Sergio de Almeida Lenzi > To: freebsd-questions@freebsd.org > Date: Mon, 18 Jun 2012 10:20:09 -0300 > Subject: libc version > > Hello... > > I upgrade the server from version 8.2 to 8.3, and rebuild all packages.. > it all works... > > Then I installed a binary package (8.3) in an old 8.2 ... > every package works... gnome, nautilus, wget.... about 800 of them > the only one that does not work is postgesql84-server > when I try to run it it I got the message: > /libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.3 required > by /usr/local/bin/postgres not found > > seems that only postgres is check for the libc version??? INCORRECT. Postgres is jjust the only one of those programs that _requires_ a 'minimum' version level that is newer than the one installed. > is there a compile switch to check for that??? No. > Of course, if I compile postgres in the 8.2 or upgrade to 8.3 it > works... Naturally. "do it right and it will work'. The required _minimum_ version of a runtime library is specified in the program source code -- because it uses features that did not exist in any version prior to that one. There is *NO* way to tell _at_compile_time_ what version of a runtome library will be present when the program is executed. The 'compiled on 8.3' Postgres binary requires a newer version of libc than exists in 8.2. Compile on 8.2 and it builds using diferent code that does not require the newer libc feature. hence the 8.2-compiled code works on 8.2. The solution to your problem, as you found, is to _not_ use 'more current' binaries in 'down-rev' environments. "upward compatibility" is almost always present in a package. "backward compatibility" is *always* a crap-shoot. From bonomi at mail.r-bonomi.com Mon Jun 18 18:32:39 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Mon Jun 18 18:32:46 2012 Subject: (Free 7.2) "su -l" didnt prompt password.Is it possbile? In-Reply-To: <4FDF3A22.7030307@gmail.com> Message-ID: <201206181832.q5IIWltv013775@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Mon Jun 18 09:25:32 2012 > Date: Mon, 18 Jun 2012 18:24:34 +0400 > From: Budnev Vladimir > To: Mike Tancsa > Cc: freebsd-questions@freebsd.org > Subject: Re: (Free 7.2) "su -l" didnt prompt password.Is it possbile? > > 18.06.2012 18:02, Mike Tancsa напиÑал: > > On 6/18/2012 9:31 AM, Budnev Vladimir wrote: > >> And It looked such way: > >> > >> %su -l > > Before you enter this command, post the output of > > id > Unfortunately, we can not flashback or reproduce that step now, cause > we'v hurried and changed root password to avoid such strange "free > logins". And changing it back didnt change a thing. It was...and't went. > We had only buffered console output :( > But mb you can point in what case there is possibility to make "su -l" > without any prompt.``o This _will_ happen if one is root, does 'su' to another user. and then another 'su' to root. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 18:33:38 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 18:37:23 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: > > pear-shaped. > > Clang is a great set of compiler tools. If you are only a user, as you suggest, as i suggested - i am a user of compiler. i do compile my own programs, as well as programs from ports. and i hate just telling something is white while it is at most grey. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 18:34:36 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 18:37:27 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: > Please stop asking for instant gratification; you won't have it no matter how > loud you yell. gratification???? Seems like you ask for it. > The Clang decision is far-reaching and gives numerous > advantages to the FreeBSD platform. for example what? From demelier.david at gmail.com Mon Jun 18 18:07:26 2012 From: demelier.david at gmail.com (David Demelier) Date: Mon Jun 18 18:53:09 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: <4FDB1BB0.8060800@bananmonarki.se> References: <4FDA0B5E.4090901@gmail.com> <4FDAAF5E.4040500@gmail.com> <4FDAECF8.4080007@gmail.com> <4FDB1BB0.8060800@bananmonarki.se> Message-ID: <4FDF6E58.2050204@gmail.com> On 15/06/2012 13:25, Bernt Hansson wrote: > On 2012-06-15 10:06, David Demelier wrote: >> On 15/06/2012 05:43, Edward M wrote: >>> On 06/14/2012 09:03 AM, David Demelier wrote: >>>> I have an old SB Live! card with a 5.1 speaker set, but i can't get >>>> sound from center and rear speakers with mplayer. >>>> >>>> I'm using the snd_emu10kx driver and when I try to play a DVD I get >>>> sound only through the front speakers (and LFE) like a 2.1 >>>> >>>> Adding -channels 6 to the mplayer args does not help. >>>> >>>> Cheers, >>> >>> Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or >>> DTS. So a decorder is needed. >>> >> >> That's what mplayer says: >> >> ========================================================================== >> >> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders >> AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000) >> Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) >> ========================================================================== >> >> AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) >> >> What do you mean by "a decoder is needed"? > > Have you tried vlc or xine? Seen in multimedia/mplayer/Makefile.shared: CONFIGURE_ARGS= --cc="${CC}" \ [..snip..] --disable-liba52 \ That's probably why mplayer won't play surround sound, I'll try with VLC tonight. Cheers, -- David Demelier From lenzi.sergio at gmail.com Mon Jun 18 18:52:49 2012 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Mon Jun 18 18:55:18 2012 Subject: libc version In-Reply-To: <201206181828.q5IISbt7013745@mail.r-bonomi.com> References: <201206181828.q5IISbt7013745@mail.r-bonomi.com> Message-ID: <1340045558.720.20.camel@z6000.lenzicasa> Ok thank you for your answer... the "problem" is in the postgres code and not in a compile switch or something like that... I will upgrade all my 8.2 to 8.3... systems to do this, I build an 8.3 from ground zero, and than do a rsync from this one to the others, directories: /usr/obj /usr/src than... on each target, a make installworld installkernel should do the upgrade... Any comments?? Sergio From demelier.david at gmail.com Mon Jun 18 18:27:50 2012 From: demelier.david at gmail.com (David Demelier) Date: Mon Jun 18 18:57:44 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: <4FDB1BB0.8060800@bananmonarki.se> References: <4FDA0B5E.4090901@gmail.com> <4FDAAF5E.4040500@gmail.com> <4FDAECF8.4080007@gmail.com> <4FDB1BB0.8060800@bananmonarki.se> Message-ID: <4FDF7326.1080201@gmail.com> On 15/06/2012 13:25, Bernt Hansson wrote: > On 2012-06-15 10:06, David Demelier wrote: >> On 15/06/2012 05:43, Edward M wrote: >>> On 06/14/2012 09:03 AM, David Demelier wrote: >>>> I have an old SB Live! card with a 5.1 speaker set, but i can't get >>>> sound from center and rear speakers with mplayer. >>>> >>>> I'm using the snd_emu10kx driver and when I try to play a DVD I get >>>> sound only through the front speakers (and LFE) like a 2.1 >>>> >>>> Adding -channels 6 to the mplayer args does not help. >>>> >>>> Cheers, >>> >>> Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or >>> DTS. So a decorder is needed. >>> >> >> That's what mplayer says: >> >> ========================================================================== >> >> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders >> AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000) >> Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) >> ========================================================================== >> >> AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) >> >> What do you mean by "a decoder is needed"? > > Have you tried vlc or xine? It does not work with VLC too, do you need to tweak some settings? Cheers, -- David Demelier From joe.gain at gmail.com Mon Jun 18 19:02:28 2012 From: joe.gain at gmail.com (Joe Gain) Date: Mon Jun 18 19:06:16 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: On Mon, Jun 18, 2012 at 8:34 PM, Wojciech Puchar wrote: >> Please stop asking for instant gratification; you won't have it no matter >> how loud you yell. > > > gratification???? ?Seems like you ask for it. > This might be to gratuitous for most on the list, but diversity is almost reason enough. And I don't mean this is some sort of fashion-way. I think llvm and clang are interesting and serious projects. Actually, to be honest, c programming with clang is really nice, it gives me really nice error messages, which makes debugging easier. I like it for that too. >From a practical point of view, the only negative thing about using clang is that some applications which have been written using gcc won't compile using it, but gcc is also ok. I'm not that interested in saving a few minutes compile time, or bytes of memory. > >> The Clang decision is far-reaching and gives numerous advantages to the >> FreeBSD platform. > > for example what? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) From gull at gull.us Mon Jun 18 19:17:20 2012 From: gull at gull.us (David Brodbeck) Date: Mon Jun 18 19:19:53 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: On Mon, Jun 18, 2012 at 4:37 PM, Wojciech Puchar wrote: > And the facts are: Lots of worktime were spent to make new C compiler from > scratch and this resulted with thing 5 times larger, working at similar > speed and producing similar code to GCC that is already considered bloat. > The truth is sad. Starting from fresh and not being able to beat 25-year old > bloated gcc is just funny. Another way of looking at it is after 25 years of optimization GCC is unable to beat a new compiler that's had almost none... From david.robison at fisglobal.com Mon Jun 18 19:24:21 2012 From: david.robison at fisglobal.com (Robison, Dave) Date: Mon Jun 18 19:27:07 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: <4FDF8054.9030906@fisglobal.com> GPL runs contrary to the nature and intent of the BSD style license. Free and open software benefits us all. Getting rid of GPL is a good thing, and well worth any (debatable) performance hits. -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 19:29:13 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 19:32:10 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: >> >> gratification???? ?Seems like you ask for it. >> > > This might be to gratuitous for most on the list, but diversity is almost > reason enough. And I don't mean this is some sort of fashion-way. I > think llvm and clang are interesting and serious projects. never told otherwise. i just try to do what is really needed - something like "mythbusters" would help greatly here. clang is very good C compiler, but JUST NOT BETTER than gcc. overall it is comparable. at most. wouldn't it be better to say - well, clang is good and OK, and we are not dependent of GNU communist licence v3 which is important. But instead we here lies about incomparably better compiler. No it is not better. it is at the same class, in some respect actually worse. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 19:29:40 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 19:34:18 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: >> bloated gcc is just funny. > > Another way of looking at it is after 25 years of optimization GCC is > unable to beat a new compiler that's had almost none... none? so why it takes so much time to optimize? From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 19:32:32 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 19:36:43 2012 Subject: Why Clang In-Reply-To: <4FDF8054.9030906@fisglobal.com> References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> <4FDF8054.9030906@fisglobal.com> Message-ID: > GPL runs contrary to the nature and intent of the BSD style license. > Free and open software benefits us all. True. GPL is definitely not FREE software. Freedom doesn't have different types. Something is free or it is not free. GPL software is not free as i can not do whatever i want with it. > > Getting rid of GPL is a good thing, and well worth any (debatable) I fully agree. So why all this lies about much higher performance and others? I don't consider CLANG to be a great success. I consider it acceptable replacement of GCC. i just hate hype and lies. ALWAYS. From jakub_lach at mailplus.pl Mon Jun 18 20:08:09 2012 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Mon Jun 18 20:13:54 2012 Subject: Why Clang In-Reply-To: References: <4FDF8054.9030906@fisglobal.com> Message-ID: <1340050088483-5719484.post@n5.nabble.com> That's interesting discussion. I hit some cases where clang produced binaries were clearly faster than those made with latest gcc. But it's far from rule. Where you have found statements that clang is always faster than gcc? >From my perspective, it's almost as good OR better than gcc, with potential for further improvement and nice license, errors etc. Fair enough. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Why-Clang-tp5715861p5719484.html Sent from the freebsd-questions mailing list archive at Nabble.com. From bonomi at mail.r-bonomi.com Mon Jun 18 20:14:23 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Mon Jun 18 20:22:19 2012 Subject: Why Clang In-Reply-To: Message-ID: <201206182014.q5IKEVdQ014212@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Mon Jun 18 11:39:03 2012 > Date: Mon, 18 Jun 2012 18:37:55 +0200 (CEST) > From: Wojciech Puchar > To: Mark Felder > Cc: freebsd-questions@freebsd.org > Subject: Re: Why Clang > > >> I don't say clang is just bad, but i prefer real data over hype. > > > > This is the most memorable and impacting set of graphs that I remember. I > > haven't followed the data much since. > > > > http://clang.llvm.org/performance-2008-10-31.html > > > > Now imagine having to rebuild projects constantly during your dev cycle. The > > time savings is going to add up quick. > > still not read my mail where i actually compared it in real. or don't > want? > > I really don't care about cool graphs but at facts for me as a USER (not > developer) of C compiler. > > And the facts are: Lots of worktime were spent to make new C compiler from > scratch and this resulted with thing 5 times larger, *YOUR* measurement of sizes was faulty. > working at similar > speed and producing similar code to GCC that is already considered bloat. > The truth is sad. Starting from fresh and not being able to beat 25-year > old bloated gcc is just funny. You _do_ understand that they could not use -any- of the technology implementations in GCC, that they had to redevelop everything from scratch, right? I'm sure that you _also_ are aware that a larger program size does *NOT* necessarily mean 'bloat'. That 'optimizing for speed', which can, and does, result in code that is larger than the unoptimized code, is not 'bloat'. That increasing the clarity of explanations in error messages -- which takes more words -- is not 'bloat'. That additional logic to more precisely identify -what- error occured, and provide a 'better' identification/explanation, compared to just 'parse error near {token}', is not 'bloat'. That writing code for clarity and *maintainability*, even if it incurs some 'cost' in increased size, is not 'bloat'. That doing things the 'long way', rather than the 'short way', because it is necessary for _compete_ compliance with a standard, it not 'bloat'. The fact that this _totally_new_ implementation runs roughly as fast and generates similar quality code to a package that has undergone over two-and-a-half_decades of tweaking and polishing -- well, it is little short of miraculous that it is -that- good, _that_ quickly. Feel free to demonstrate that _you_ can do it better, faster, AND smaller. *WITHOUT* lifting anything from any existing, copyrigthted, code that is.z > That's my view - as a final "consumer", not developer. My view is that > bloatware is replaced by another bloatware, which - because of it's young > age - have greater future potential of bloat than GCC. Obviously, you would then prefer to use a compiler which eliminated the text of all the information/warning/error messages and replaced all those messages with just 'Error: {number}' -- or, even shorter, just 'E{number}' -- which was done in the name of reducing that dreaded 'bloat'. (The reduction in in executable size from this approach can be _surprisingly_ large). Obviously, you would also prefer to use a compiler which 'gave up' and aborted the entire compile after reporting the first fatal error. This will eliminate all that dreaded 'bloat' involved with unwinding the parse state, and all the other 'overhead' stuff you have to do to be able to "sort-of" continue parsing the rest of the source file. > This tens or hundreds of thousands of work-hours could be spent far better > by getting latest gcc available on GPLv2 licence and start from there, That *cannot* be done. There is simply *NO* way to license anything derived from a GPLv3 product under GPLv2. The GPL itself expressly forbids it. Thus, one would have to _start_ with a GPLv2 compiler and *independently* create all the changes/improvements that have been made since that GPLv2 version was released. This is a _far_ bigger project than converting to the use of a different, but _more_standards_compliant_, compiler. From feld at feld.me Mon Jun 18 20:17:45 2012 From: feld at feld.me (Mark Felder) Date: Mon Jun 18 20:22:54 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: On Mon, 18 Jun 2012 14:29:36 -0500, Wojciech Puchar wrote: > none? so why it takes so much time to optimize? I don't think you understand how compilers work or the concept that new programming methodologies have been developed over the last 25 years, so this conversation is going to get stuck in a loop. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 20:28:15 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 20:35:41 2012 Subject: Why Clang In-Reply-To: <1340050088483-5719484.post@n5.nabble.com> References: <4FDF8054.9030906@fisglobal.com> <1340050088483-5719484.post@n5.nabble.com> Message-ID: > That's interesting discussion. > > I hit some cases where clang produced binaries were > clearly faster than those made with latest gcc. But it's far > from rule. i did few more test on common unix tools, or my programs and results are that by average there are just as fast within 1% range. by average it is just like gcc both im compiling speed and execution speed. > Where you have found statements that clang is always > faster than gcc? from that mailing list - mostly from mark fedler. He even showed me some nice graphs to "prove" it - graphs showed speed of -O0 compilation. > >> From my perspective, it's almost as good OR better > than gcc, with potential for further improvement and > nice license, errors etc. Fair enough. actually good licence is for me the only adventage over gcc. But yes - it is great adventage. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 20:30:28 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 20:35:56 2012 Subject: Why Clang In-Reply-To: <201206182014.q5IKEVdQ014212@mail.r-bonomi.com> References: <201206182014.q5IKEVdQ014212@mail.r-bonomi.com> Message-ID: >> scratch and this resulted with thing 5 times larger, > > *YOUR* measurement of sizes was faulty. be more exact. >> old bloated gcc is just funny. > > You _do_ understand that they could not use -any- of the technology > implementations in GCC, that they had to redevelop everything from > scratch, right? even stated this. > I'm sure that you _also_ are aware that a larger program size does *NOT* > necessarily mean 'bloat'. of course. really i can write programs. and really - i don't understand all this fuss about "better error reporting". Really i don't have problems to read gcc error messages when i compile my programs. From wojtek at wojtek.tensor.gdynia.pl Mon Jun 18 20:31:32 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 18 20:40:10 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> Message-ID: > >> none? so why it takes so much time to optimize? > > I don't think you understand how compilers work or the concept that new > programming methodologies have been developed over the last 25 years, so this > conversation is going to get stuck in a loop. Right. You just behave as defender of CLANG people that will not be paid because of not really good work. but it is free project isn't it? From perrin at apotheon.com Mon Jun 18 21:00:51 2012 From: perrin at apotheon.com (Chad Perrin) Date: Mon Jun 18 21:06:52 2012 Subject: Why Clang In-Reply-To: References: <201206182014.q5IKEVdQ014212@mail.r-bonomi.com> Message-ID: <20120618210049.GA2508@hemlock.hydra> On Mon, Jun 18, 2012 at 10:30:23PM +0200, Wojciech Puchar wrote: > >>scratch and this resulted with thing 5 times larger, > > > >*YOUR* measurement of sizes was faulty. > > be more exact. I believe Robert Bonomi (you didn't include attribution for the previous email, I notice) *was* more exact, in that the rest of his email explained what he thought of your glossing over the various factors that might contribute to binary size. I notice you ignored most of it in your response, too. > > > >I'm sure that you _also_ are aware that a larger program size does *NOT* > >necessarily mean 'bloat'. > > of course. really i can write programs. > > and really - i don't understand all this fuss about "better error > reporting". > > Really i don't have problems to read gcc error messages when i > compile my programs. I can generally puzzle out what caused various GCC warning and error messages when trying to compile my own code, given comparison of what's going on in the messages with what's going on in my code and reasoning through the connections between different parts of the code. That sort of thing is required probably 70% of the time, in my experience. With Clang, by contrast, I find that's required only about 20% to 30% of the time. Otherwise, the warning and error messages tend to get me a lot closer to the actual point of failure than GCC. *That* is what "all this fuss about 'better error reporting'" is about. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From jhs at berklix.com Mon Jun 18 21:58:29 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Mon Jun 18 22:14:11 2012 Subject: Why Clang In-Reply-To: Your message "Mon, 18 Jun 2012 18:37:55 +0200." Message-ID: <201206182157.q5ILvKna010233@fire.js.berklix.net> > GNU communist licence for C compiler is not bad at all (contrary to other ......^^^^^^^^^ ......^^^^^^^^^ > software). I & many others _Know_ what BSD & FSF licenses are. Don't wwant repeated nonsense about 'communism'. If you didn't subscribe http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain before the GCC V Clang decision was made, your views now irrelevant. If you still must emit noise about licenses subscribe http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy Best subscribe & follow up about communism to http://lists.freebsd.org/mailman/listinfo/freebsd-chat or /dev/null Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From jhs at berklix.com Mon Jun 18 22:19:35 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Mon Jun 18 22:35:30 2012 Subject: Why Clang In-Reply-To: Your message "Mon, 18 Jun 2012 23:57:20 +0200." Message-ID: <201206182218.q5IMIPjQ010495@fire.js.berklix.net> Sorry, my last header wrongly to Mark Felder, & could give the wrong impression. I would like Wojciech Puchar (not Mark F.) to stop banging on about 'GNU communist licence' etc. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From olivares14031 at gmail.com Tue Jun 19 00:50:02 2012 From: olivares14031 at gmail.com (Antonio Olivares) Date: Tue Jun 19 00:50:10 2012 Subject: converting mpost(ed) files individually to eps Message-ID: Dear folks, I am taking a plunge to learning a little bit of metapost. I have found examples page using google. http://www.tlhiv.org/MetaPost/examples/examples.html I want to convert output files individually to eps. I can only convert the first one output say file.1 to file.eps, but when there are more files, ie, file.2, ..., file.10, all the files between .2 and .10 do not get converted/saved to *.eps extension. script called mpost-eps below: =========================================================== $ cat mpost-eps #!/bin/sh MPOST=/usr/local/bin/kertex/mpost GS=/usr/local/bin/gs ERROR="Too few arguments : no file name specified" [ $# -eq 0 ] && echo $ERROR && exit # no args? ... print error and exit # check that the file exists if [ -f $1.mp ] then # if it exists then metapost it,then convert with ghostscript, then remove all the unneeded files $MPOST $1.mp $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.1 # these lines can be appended to delete other files, such as *.out if [ -f $1.log ] then rm *.log fi else # otherwise give this output line with a list of available metapost files echo the file doesnt exist butthead! Choose one of these: ls *.mp fi =========================================================== I run the script $ ./mpost-eps file without *.mp extension. but only one gets converted. I don't know enough shell programming to do something like for i in file.i do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.i but it does not work correctly. I can change the mpost executable[using kertex by T. Laronde (http://www.kergis.com/en/kertex.html) ] at will as I also have texlive installed by FreeBSD TeXLive Ports by Roman Tartiere(https://code.google.com/p/freebsd-texlive/) , /usr/local/bin/mpost is the executable there, or same one but in metapost executable by default teTeX. Is there a magical incantanation I can use to output all the files to eps and include them in documents either \TeX{}ed or \LaTeX{}ed? Thanks in Advance, Antonio From bonomi at mail.r-bonomi.com Tue Jun 19 01:10:42 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Tue Jun 19 01:10:52 2012 Subject: converting mpost(ed) files individually to eps In-Reply-To: Message-ID: <201206190110.q5J1AorD015312@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Mon Jun 18 19:50:45 2012 > Date: Mon, 18 Jun 2012 19:50:01 -0500 > From: Antonio Olivares > To: FreeBSD Questions > Subject: converting mpost(ed) files individually to eps > > Dear folks, > > I am taking a plunge to learning a little bit of metapost. I have > found examples page using google. > > http://www.tlhiv.org/MetaPost/examples/examples.html > > I want to convert output files individually to eps. > > I can only convert the first one output say file.1 to file.eps, but > when there are more files, ie, file.2, ..., file.10, all the files > between .2 and .10 do not get converted/saved to *.eps extension. Correct. The script you showd processes a _single_ argument only. Use a 'for loop' to handle multiple files, something like -- for thisfile in file.* do `mpost-eps $thisfile end > > [[ sneck -- copy of script itself ]] > > I run the script > $ ./mpost-eps file > without *.mp extension. but only one gets converted. I don't know > enough shell programming to do something like > for i in file.i do > $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.i You were *close*. what you wanted is (assuming MPOST and GS are defined: for file in {{list or wildcard}} do $MPOST $file $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$ile.eps $file.1 end From bonomi at mail.r-bonomi.com Tue Jun 19 01:30:17 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Tue Jun 19 01:30:23 2012 Subject: converting mpost(ed) files individually to eps In-Reply-To: <201206190110.q5J1AorD015312@mail.r-bonomi.com> Message-ID: <201206190130.q5J1UQ1C015381@mail.r-bonomi.com> > > Date: Mon, 18 Jun 2012 19:50:01 -0500 > > From: Antonio Olivares > > Subject: converting mpost(ed) files individually to eps > > > > Dear folks, > > > > I am taking a plunge to learning a little bit of metapost. I have > > found examples page using google. > > > > http://www.tlhiv.org/MetaPost/examples/examples.html > > > > I want to convert output files individually to eps. > > > > I can only convert the first one output say file.1 to file.eps, but > > when there are more files, ie, file.2, ..., file.10, all the files > > between .2 and .10 do not get converted/saved to *.eps extension. > > Correct. The script you showd processes a _single_ argument only. > Use a 'for loop' to handle multiple files, something like -- > for thisfile in file.* do > `mpost-eps $thisfile > end > > > > > [[ sneck -- copy of script itself ]] > > > > I run the script > > $ ./mpost-eps file > > without *.mp extension. but only one gets converted. I don't know > > enough shell programming to do something like > > for i in file.i do > > $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.i > > You were *close*. what you wanted is (assuming MPOST and GS are defined: > for file in {{list or wildcard}} do > $MPOST $file > $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file.1 > end I may have understood. if it is MPOST that is producing the multiple files, then you want: $MPOST for file in file.* do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file end This will produce a series of files named file.1.eps, file.2.eps, etc. From olivares14031 at gmail.com Tue Jun 19 02:00:04 2012 From: olivares14031 at gmail.com (Antonio Olivares) Date: Tue Jun 19 02:00:13 2012 Subject: converting mpost(ed) files individually to eps In-Reply-To: <201206190130.q5J1UQ1C015381@mail.r-bonomi.com> References: <201206190110.q5J1AorD015312@mail.r-bonomi.com> <201206190130.q5J1UQ1C015381@mail.r-bonomi.com> Message-ID: On Mon, Jun 18, 2012 at 8:30 PM, Robert Bonomi wrote: >> > Date: Mon, 18 Jun 2012 19:50:01 -0500 >> > From: Antonio Olivares >> > Subject: converting mpost(ed) files individually to eps >> > >> > Dear folks, >> > >> > I am taking a plunge to learning a little bit of metapost. ?I have >> > found examples page using google. >> > >> > http://www.tlhiv.org/MetaPost/examples/examples.html >> > >> > I want to convert output files individually to eps. >> > >> > I can only convert the first one output say file.1 to file.eps, but >> > when there are more files, ie, file.2, ..., file.10, all the files >> > between .2 and .10 do not get converted/saved to *.eps extension. >> >> Correct. ?The script you showd processes a _single_ argument only. >> Use a 'for loop' to handle multiple files, something like ?-- >> ? ?for thisfile in file.* do >> ? ? `mpost-eps $thisfile >> ? ?end >> >> > >> > [[ sneck -- copy of script itself ]] >> > >> > I run the script >> > $ ./mpost-eps file >> > without *.mp extension. ?but only one gets converted. ?I don't know >> > enough shell programming to do something like >> > for i in file.i do >> > $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.i >> >> You were *close*. ?what you wanted is (assuming MPOST and GS are defined: >> ? for file in {{list or wildcard}} do >> ? ?$MPOST $file >> ? ?$GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file.1 >> ? end > > I may have understood. ?if it is MPOST that is producing the multiple files, > then you want: > ? $MPOST > ? for file in file.* ?do > ? ?$GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file > ? end > > This will produce a series of files named ?file.1.eps, file.2.eps, etc. I added this to the script: $MPOST $1.mp for file in file.* do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file end But I get error in line 16: $ ./mpost-eps webfig ./mpost-eps: 16: Syntax error: word unexpected File follows here: mpost-eps: ======================= $ cat mpost-eps #!/bin/sh MPOST=/usr/bin/kertex/mpost GS=/usr/bin/gs ERROR="Too few arguments : no file name specified" [ $# -eq 0 ] && echo $ERROR && exit # no args? ... print error and exit # check that the file exists if [ -f $1.mp ] then # if it exists then metapost it,then convert with ghostscript, then remove all the unneeded files $MPOST $1.mp for file in file.* do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file end #$MPOST $1.mp #$GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.1 # these lines can be appended to delete other files, such as *.out if [ -f $1.log ] then rm *.log fi else # otherwise give this output line with a list of available metapost files echo the file doesnt exist butthead! Choose one of these: ls *.mp fi ======================= It would probably be better if insead of file.1.eps, file.2.eps, file.3.eps , ... , fileN.eps to write to file-1.eps, file-2.eps, file-3.eps, ..., file-N.eps. Some friends tell me that the file generated by metapost is already an eps file, that I am only making things difficult :( Thanks for your help & suggestions. Regards, Antonio From olivares14031 at gmail.com Tue Jun 19 02:07:12 2012 From: olivares14031 at gmail.com (Antonio Olivares) Date: Tue Jun 19 02:07:19 2012 Subject: urtw0 wireless device on FreeBSD problems Message-ID: Dear Folks, following an excellent guide by W. Block: http://www.wonkity.com/~wblock/docs/html/wireless.html I connected successfully to a wireless network. However, the connection works for a while then drops off. At the end I get a kernel panic and the machine presents press something to avoid shutdown. $ dmesg | grep 'urtw0' urtw0: on usbus3 urtw0: unknown RTL8187L type: 0x8000000 urtw0: rtl8187l rf rtl8225u hwrev none quadcore# tail -f /var/log/messages Jun 18 20:53:22 quadcore wpa_supplicant[515]: CTRL-EVENT-SCAN-RESULTS Jun 18 20:58:29 quadcore wpa_supplicant[515]: CTRL-EVENT-SCAN-RESULTS Jun 18 21:02:36 quadcore su: olivares to root on /dev/pts/0 I will see how I can post pictures to another website and find a way to troubleshoot this. Any ideas? Is there a place where the panics/oops are saved to retrieve them and cut + paste them here? /var/log/, /tmp/ ? Thanks, Antonio From wblock at wonkity.com Tue Jun 19 03:32:29 2012 From: wblock at wonkity.com (Warren Block) Date: Tue Jun 19 03:32:36 2012 Subject: converting mpost(ed) files individually to eps In-Reply-To: References: <201206190110.q5J1AorD015312@mail.r-bonomi.com> <201206190130.q5J1UQ1C015381@mail.r-bonomi.com> Message-ID: On Mon, 18 Jun 2012, Antonio Olivares wrote: > But I get error in line 16: > > $ ./mpost-eps webfig > ./mpost-eps: 16: Syntax error: word unexpected > > for file in file.* do Either put the "do" on the next line, or put a ; before it: for file in file.* ; do From wojtek at wojtek.tensor.gdynia.pl Tue Jun 19 04:51:14 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 19 04:51:29 2012 Subject: Why Clang In-Reply-To: <20120618210049.GA2508@hemlock.hydra> References: <201206182014.q5IKEVdQ014212@mail.r-bonomi.com> <20120618210049.GA2508@hemlock.hydra> Message-ID: >> be more exact. > > I believe Robert Bonomi (you didn't include attribution for the previous > email, I notice) *was* more exact, in that the rest of his email > explained what he thought of your glossing over the various factors that > might contribute to binary size. > > I notice you ignored most of it in your response, too. or maybe missed. So please tell me finally what is wrong in measuring speed by measuring time of execution doing same things? What i should measure? time in heavens? > I can generally puzzle out what caused various GCC warning and error > messages when trying to compile my own code, given comparison of what's strange but i don't have a problem - and i always set -Wall when using gcc as 99% of warnings are actually errors. From wojtek at wojtek.tensor.gdynia.pl Tue Jun 19 04:53:15 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 19 04:54:08 2012 Subject: Why Clang In-Reply-To: <201206182218.q5IMIPjQ010495@fire.js.berklix.net> References: <201206182218.q5IMIPjQ010495@fire.js.berklix.net> Message-ID: > Sorry, my last header wrongly to Mark Felder, & could give > the wrong impression. I would like Wojciech Puchar (not Mark F.) > to stop banging on about 'GNU communist licence' etc. because you don't like facts. Sorry but i like only facts. From blue.seahorse.syndicate at gmail.com Tue Jun 19 05:17:03 2012 From: blue.seahorse.syndicate at gmail.com (Lynn Steven Killingsworth) Date: Tue Jun 19 05:17:11 2012 Subject: Error in latest KDE4 install attempt Message-ID: Hi FreeBSD - This note does not have the proper running commentary since I get hit from the Internet constantly. The other note on the page is from this past Friday I think. At 12a Tuesday (6/19) I decided to try installing KDE4 again. When I tried to change directory to /x11/kde4 the directory did not exist. I decided to try to install from my FreeBSD 9 disk at this point. In about 10 sec the install told me that it was unable to install 'qt4-svg-4.7.4' I then decided to update my ports collection with portsnap. When the fetch command was downloading the 4 updated metapackages I twice received this error [snapshot is corrupt gnuzip (stdin)] I then tried to change directory to /x11/kde4 thinking that since make is reported to try to fetch the latest files any kde4 would do. I succeeded and started make. The only option was for the 'better diagnostics' library. A bison file was fetched and then the installation began using only files that were found already on my computer. After a good 15 minutes this appeared: /usr/ports/devel/qt4-designer/work/qt-everywhere-opensourse-src-4.8.2/lib/QtDesignerComponents.so: undefined reference to 'QMetaObject: cast (QOject const*) const' Perhaps this helps. Thanks - Steve Hi FreeBSD - I have just updated my Ports again this morning and I still have the same problem installing KDE4. When verifying libphonon.so in /multimedia/phonon [phonon-4.6.0-1][from the numbers it appears to be KDE4 4.8.4] my machine does not find library qzeitgeist.1 so it begins verifying the install of qzeitgeist-0.8.0 . The installer then determines that this version of qzeitgeist is not compatible. Since the master site seems to be unavailable much of the time how can I determine the tar.gz from the version number so that I may have an for instance //ftp1.freebsd.org/.... to put in the the master site change in the make fetch command? Thanks - Steve -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From wojtek at wojtek.tensor.gdynia.pl Tue Jun 19 05:36:13 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 19 05:36:20 2012 Subject: Error in latest KDE4 install attempt In-Reply-To: References: Message-ID: > At 12a Tuesday (6/19) I decided to try installing KDE4 again. When I tried > to change directory to /x11/kde4 the directory did not exist. I decided to because it does not exist. /usr/ports/x11/kde4 exist. > try to install from my FreeBSD 9 disk at this point. In about 10 sec the > install told me that it was unable to install 'qt4-svg-4.7.4' > what was a message? > I then decided to update my ports collection with portsnap. When the fetch > command was downloading the 4 updated metapackages I twice received this > error [snapshot is corrupt gnuzip (stdin)] > isn't something (ftp/http proxy) on route corrupting data? i NEVER got such a message. rm -rf /var/db/portsnap and portsnap fetch check if you will get corruption. if so - something must be wrong within your network enviromnent. From vkushnir at bigmir.net Tue Jun 19 06:47:28 2012 From: vkushnir at bigmir.net (Vladimir Kushnir) Date: Tue Jun 19 06:47:35 2012 Subject: Why Clang In-Reply-To: References: <201206182218.q5IMIPjQ010495@fire.js.berklix.net> Message-ID: On Tue, 19 Jun 2012, Wojciech Puchar wrote: >> Sorry, my last header wrongly to Mark Felder, & could give >> the wrong impression. I would like Wojciech Puchar (not Mark F.) >> to stop banging on about 'GNU communist licence' etc. > > because you don't like facts. No you don't. You like what YOU (and ONLY you) think of as facts (see below). > Sorry but i like only facts. Only facts? Well and good. Do you have any proof GNU is in any way connected to any communist movement? Do you have any facts (NOT living in your head) GPLvX is in any way inspired/based on/even remotely connected to/ ANY communist movement/party/literature? And PLEASE don't push on us all that trash like "obligation to provide sorces"==communism. GPLvX (for any X) do not forbid to make profit out of your software. It just stands again closing of the sources and therefore against infringing of the (totally democratic) human right of having the (vital for somebody) information. So: since you are against GPL means you are communist. Perhaps even stalinist. Period. P.S. If needs be I could prove an opposite. And be quite a bit meaner. P.P.S. Now PLEASE take any moral/political/religious garbage out of this mailing list to chat, advocacy or any other non-technical forum. GPL-vs-BSD, Linux-vs-Windows-vs-BSD-vs-whatever else, Christianity-vs-Buddhism and so on does not belong here. Vladimir. From wojtek at wojtek.tensor.gdynia.pl Tue Jun 19 06:53:59 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 19 06:54:06 2012 Subject: Why Clang In-Reply-To: References: <201206182218.q5IMIPjQ010495@fire.js.berklix.net> Message-ID: > > No you don't. You like what YOU (and ONLY you) think of as facts (see below). still not explained what is wrong in comparing end results of benchmark and seeing that they are quite same. This is the only meaningful point for me. I live ideology for others. > Only facts? Well and good. Do you have any proof GNU is in any way connected > to any communist movement? Yes. Exactly the same targets and understanding of "freedom". Just Richard Stallman is (fortunately) limited mostly to computing. If you cannot see this - i cannot help you any more. sorry. From paul at ifdnrg.com Tue Jun 19 07:17:18 2012 From: paul at ifdnrg.com (Paul Macdonald) Date: Tue Jun 19 07:17:25 2012 Subject: Munin crashing : p5-Net-Server Message-ID: <4FE02775.7000109@ifdnrg.com> Hi, After a recent upgrade to p5-Net-Server-2.005 on various boxes, I'm finding that munin-node is going down regularly. (Multiple machines, looks to be affected on FreeBSD8.2 and FreeBSD8.3 REL, but not 9.0 machines) It looks related to trying to start on an ipv6 interface ( which is not there) and i suspect this is a default from the perl Net-Server module rather than munin? Jun 19 00:00:01 ifdnrg20 newsyslog[24331]: logfile turned over Pid_file created by this same process. Doing nothing. 2012/06/19-00:00:02 Munin::Node::Server (type Net::Server::Fork) starting! pid(50897) sysctl: unknown oid 'net.ipv6.bindv6only' Resolved [*]:4949 to [::]:4949, IPv6 Resolved [*]:4949 to [0.0.0.0]:4949, IPv4 Binding open file descriptors 2012/06/19-00:00:02 Bad file descriptor at line 298 in file /usr/local/lib/perl5/site_perl/5.12.4/Net/Server.pm 2012/06/19-00:00:02 Server closing! shutdown() on unopened socket GEN0 at /usr/local/lib/perl5/5.12.4/mach/IO/Socket.pm line 295. shutdown() on unopened socket GEN1 at /usr/local/lib/perl5/5.12.4/mach/IO/Socket.pm line 295. Paul. From kenyon at kenyonralph.com Tue Jun 19 07:42:26 2012 From: kenyon at kenyonralph.com (Kenyon Ralph) Date: Tue Jun 19 07:42:34 2012 Subject: [munin-users] Munin crashing : p5-Net-Server In-Reply-To: <4FE02775.7000109@ifdnrg.com> References: <4FE02775.7000109@ifdnrg.com> Message-ID: <20120619074225.GB9940@kenyonralph.com> On 2012-06-19T08:17:09+0100, Paul Macdonald wrote: > After a recent upgrade to p5-Net-Server-2.005 on various boxes, I'm > finding that munin-node is going down regularly. > > (Multiple machines, looks to be affected on FreeBSD8.2 and FreeBSD8.3 > REL, but not 9.0 machines) This is due to newsyslog sending a signal to munin-node (notice the first line of the log). As a workaround, if you comment the munin-node line in /etc/newsyslog.conf, munin-node will stay running, but you'll have to figure out another way to rotate the logs, if you care about rotating those logs. This is probably a bug somewhere. I haven't debugged further than this due to lack of time, but maybe this will help you determine the root cause, and a fix. > It looks related to trying to start on an ipv6 interface ( which is not > there) and i suspect this is a default from the perl Net-Server module > rather than munin? > > Jun 19 00:00:01 ifdnrg20 newsyslog[24331]: logfile turned over > Pid_file created by this same process. Doing nothing. > 2012/06/19-00:00:02 Munin::Node::Server (type Net::Server::Fork) > starting! pid(50897) > sysctl: unknown oid 'net.ipv6.bindv6only' > Resolved [*]:4949 to [::]:4949, IPv6 > Resolved [*]:4949 to [0.0.0.0]:4949, IPv4 > Binding open file descriptors > 2012/06/19-00:00:02 Bad file descriptor > at line 298 in file /usr/local/lib/perl5/site_perl/5.12.4/Net/Server.pm > 2012/06/19-00:00:02 Server closing! > shutdown() on unopened socket GEN0 at > /usr/local/lib/perl5/5.12.4/mach/IO/Socket.pm line 295. > shutdown() on unopened socket GEN1 at > /usr/local/lib/perl5/5.12.4/mach/IO/Socket.pm line 295. > > Paul. -- Kenyon Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120619/42143c26/attachment.pgp From cyberleo at cyberleo.net Tue Jun 19 08:37:25 2012 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Tue Jun 19 08:37:32 2012 Subject: urtw0 wireless device on FreeBSD problems In-Reply-To: References: Message-ID: <4FE03A3D.8090808@cyberleo.net> On 06/18/2012 09:07 PM, Antonio Olivares wrote: > Dear Folks, ... > Is there a place where the panics/oops are saved to retrieve them and > cut + paste them here? > /var/log/, /tmp/ ? If you have set dumpdev in rc.conf to the location of a swap device (or AUTO to have it pick one), the core dump (and a neat automated analysis, on 8.x and later) should end up in /var/crash. Keep in mind that coredumps can be as large as the machine's installed RAM, so you will probably want at least that much swap and disk to hold it. Also, there may still be some issues with obtaining consistent coredumps on multiprocessor machines, but I got rid of the miscreant hardware before I could test that claim on anything newer than 8.1. You can find more comprehensive information in the handbook[1]. [1] http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From mueller230 at insightbb.com Tue Jun 19 09:09:03 2012 From: mueller230 at insightbb.com (Thomas Mueller) Date: Tue Jun 19 09:09:11 2012 Subject: Why Clang? Message-ID: <14.FA.06229.7A140EF4@smtp01.insight.synacor.com> from David Naylor: > I am the one who sends these persistent messages. Some users of my packages > reported that wine didn't run due to a clang compiled world. I never verified > them (although I got multiple reports). With the updates to clang it may have > also been corrected. > I attributed the problem to clang miscompiling a library in base used by wine > and Volodymyr, I think, confirms this: I only have other people's experience on this issue, need to test this, but want to keep a GCC-compiled world for now, at least for a production system. This would not stop me from trying Clang on an experimental/testing installation, such as HEAD, where the basic intent is development. >From Volodymyr Kostyrko: > Thomas Mueller wrote: > >Now one concern is wine not working when Clang is used to "make buildworld". > For me I'm just waiting on toolchain stabilization as both this one and > (open|libre)office fail because of libgcc_s compiled with clang on amd64. I guess that's why I want to keep at least one GCC-compiled world for now. Like it or not, Linux is by far the leading open-source OS, and most of the ports are originally developed with mainly Linux in mind. Linux software development is GCC-centric, I don't know if there is any work with Clang in Linux. Now how will I know whether GCC or Clang is the default compiler for building the world and kernel, and for ports? Not that I want to avoid Clang, just don't want to be caught by surprise. Tom From jhs at berklix.com Tue Jun 19 11:42:21 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Tue Jun 19 11:42:28 2012 Subject: Why Clang In-Reply-To: Your message "Tue, 19 Jun 2012 08:53:53 +0200." Message-ID: <201206191141.q5JBfrtL047180@fire.js.berklix.net> Wojciech Puchar wrote: > > If you cannot see this - i cannot help you any more. sorry. Your noise is no help. Use appropriate lists. http://lists.freebsd.org/mailman/listinfo Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From roberthuff at rcn.com Tue Jun 19 11:42:37 2012 From: roberthuff at rcn.com (Robert Huff) Date: Tue Jun 19 11:42:45 2012 Subject: Why Clang? In-Reply-To: <14.FA.06229.7A140EF4@smtp01.insight.synacor.com> References: <14.FA.06229.7A140EF4@smtp01.insight.synacor.com> Message-ID: <20448.26026.963013.57533@jerusalem.litteratus.org> Thomas Mueller writes: > Now how will I know whether GCC or Clang is the default compiler > for building the world and kernel, and for ports? My understanding is: 8.* base - gcc ports - gcc 9.0 (and possibly 9.*) base - gcc ports - clang (with the caveat some ports need either any gcc or a specific version) CURRENT base - as of this writing, clang (look for announcement in current@ or hackers@) ports - clang, as above though with a shorter list (Someone please correct me if they have more accurate information.) Robert Huff From nobody at dizum.com Tue Jun 19 11:52:42 2012 From: nobody at dizum.com (Nomen Nescio) Date: Tue Jun 19 11:52:50 2012 Subject: Why Clang In-Reply-To: Message-ID: <4dd15dac54dd928e38fe030fea13427a@dizum.com> > Only facts? Well and good. Do you have any proof GNU is in any way > connected to any communist movement? Yes, see the Gnu Manifesto. Hint: it's named that way for a reason. > Do you have any facts (NOT living in your head) GPLvX is in any way > inspired/based on/even remotely connected to/ ANY communist > movement/party/literature? Yes, see above. Stallman is a self-described atheist Marxist. > information. So: since you are against GPL means you are communist. > Perhaps even stalinist. Period. No, but that is a good example of a Marxist/Stalinist tactic. Lies, lies, and more lies. The truth is Stallman is to software what Stalin was to people. You must do everything according to his will or you will be branded an enemy of the people. Sick, because in truth Stallman is an enemy of the people. He's the programming equivalent of a televangelist, making a religion out of his sick communist ideals and at the expense of honest people who sell write and sell software. He wants to drive them out of business but only so he can create more power and fame by making more groupies. Sick! > P.S. If needs be I could prove an opposite. And be quite a bit meaner. > P.P.S. Now PLEASE take any moral/political/religious garbage out of this > mailing list to chat, advocacy or any other non-technical forum. Morality does have a place in software and everywhere else in life. > GPL-vs-BSD, Linux-vs-Windows-vs-BSD-vs-whatever else, > Christianity-vs-Buddhism and so on does not belong here. But it is "Free" BSD so freedom needs to be understood. GPL is wrong, it's not free and it doesn't belong in FreeBSD. From joe.gain at gmail.com Tue Jun 19 11:51:25 2012 From: joe.gain at gmail.com (Joe Gain) Date: Tue Jun 19 12:16:05 2012 Subject: Why Clang? In-Reply-To: <20448.26026.963013.57533@jerusalem.litteratus.org> References: <14.FA.06229.7A140EF4@smtp01.insight.synacor.com> <20448.26026.963013.57533@jerusalem.litteratus.org> Message-ID: On Tue, Jun 19, 2012 at 1:42 PM, Robert Huff wrote: > > Thomas Mueller writes: > >> ?Now how will I know whether GCC or Clang is the default compiler >> ?for building the world and kernel, and for ports? > > ? ? ? ?My understanding is: > > ? ? ? ?8.* > ? ? ? ?base - gcc > ? ? ? ?ports - gcc > > ? ? ? ?9.0 (and possibly 9.*) > ? ? ? ?base - gcc > ? ? ? ?ports - clang (with the caveat some ports need either any gcc > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?or a specific version) > I can't confirm this other than to say, that I compile stable 9 base (kernel + world) using clang and ports using gcc. I have to compile base using WERROR= and NO_WERROR= settings in make.conf so that the compilation doesn't halt on error messages. Maybe this is no longer required. This is as per wiki, though admittedly, as per wiki a couple of months ago. I can imagine that the problem will be compiling ports with clang. Some of the gcc code is not correct as per specification. There's a list somewhere of currently compilable ports using clang. > ? ? ? ?CURRENT > ? ? ? ?base - as of this writing, clang (look for announcement in > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?current@ or hackers@) > ? ? ? ?ports - clang, as above though with a shorter list > > ? ? ? ?(Someone please correct me if they have more accurate > information.) > > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Robert Huff > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) From ml at my.gd Tue Jun 19 13:37:28 2012 From: ml at my.gd (Damien Fleuriot) Date: Tue Jun 19 13:37:35 2012 Subject: rm returns 0 although directory didn't exist and wasn't deleted ? Message-ID: <4FE08093.1040607@my.gd> I've stumbled upon this *so weird* behaviour. # ls -la /var/tmp/stunnel/ ls: /var/tmp/stunnel/: No such file or directory # rm -Rf /var/tmp/stunnel/ # echo $? 0 Anyone knows if that's intended ? FreeBSD pf2.[snip].com 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Jun 19 10:45:31 CEST 2012 From magik at roorback.net Tue Jun 19 13:41:37 2012 From: magik at roorback.net (Grzegorz Blach) Date: Tue Jun 19 13:41:45 2012 Subject: rm returns 0 although directory didn't exist and wasn't deleted ? In-Reply-To: <4FE08093.1040607@my.gd> References: <4FE08093.1040607@my.gd> Message-ID: <4FE0818B.2080508@roorback.net> On 06/19/2012 03:37 PM, Damien Fleuriot wrote: > I've stumbled upon this *so weird* behaviour. > > > > # ls -la /var/tmp/stunnel/ > ls: /var/tmp/stunnel/: No such file or directory > > # rm -Rf > /var/tmp/stunnel/ > > # echo $? > 0 > > > > Anyone knows if that's intended ? > rm without -f return 1 in this case From fred.morcos at gmail.com Tue Jun 19 13:43:41 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Tue Jun 19 13:43:49 2012 Subject: rm returns 0 although directory didn't exist and wasn't deleted ? In-Reply-To: <4FE08093.1040607@my.gd> References: <4FE08093.1040607@my.gd> Message-ID: You used -f which means rm will not complain if a file or directory cannot be deleted (or does not exist in the first place). On Tue, Jun 19, 2012 at 3:37 PM, Damien Fleuriot wrote: > I've stumbled upon this *so weird* behaviour. > > > > # ls -la /var/tmp/stunnel/ > ls: /var/tmp/stunnel/: No such file or directory > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? # rm -Rf > /var/tmp/stunnel/ > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? # echo $? > 0 > > > > Anyone knows if that's intended ? > > FreeBSD pf2.[snip].com 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Jun 19 > 10:45:31 CEST 2012 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From ml at my.gd Tue Jun 19 14:16:18 2012 From: ml at my.gd (Damien Fleuriot) Date: Tue Jun 19 14:16:26 2012 Subject: rm returns 0 although directory didn't exist and wasn't deleted ? In-Reply-To: References: <4FE08093.1040607@my.gd> Message-ID: <4FE089AE.5050206@my.gd> I always assumed -f would only force removal, not modify the exit code. No bug then, working as intended, all good. Cheers On 6/19/12 3:43 PM, Fred Morcos wrote: > You used -f which means rm will not complain if a file or directory > cannot be deleted (or does not exist in the first place). > > On Tue, Jun 19, 2012 at 3:37 PM, Damien Fleuriot wrote: >> I've stumbled upon this *so weird* behaviour. >> >> >> >> # ls -la /var/tmp/stunnel/ >> ls: /var/tmp/stunnel/: No such file or directory >> >> # rm -Rf >> /var/tmp/stunnel/ >> >> # echo $? >> 0 >> >> >> >> Anyone knows if that's intended ? >> >> FreeBSD pf2.[snip].com 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Jun 19 >> 10:45:31 CEST 2012 >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From fred.morcos at gmail.com Tue Jun 19 14:20:04 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Tue Jun 19 14:20:21 2012 Subject: rm returns 0 although directory didn't exist and wasn't deleted ? In-Reply-To: <4FE089AE.5050206@my.gd> References: <4FE08093.1040607@my.gd> <4FE089AE.5050206@my.gd> Message-ID: The man page [1] explicitly states that if the file doesn't exist, -f will not show an error message nor alter the exit code. -f Attempt to remove the files without prompting for confirmation, regardless of the file's permissions. If the file does not exist, do not display a diagnostic message or modify the exit status to reflect an error. The -f option overrides any previous -i options. [1] http://www.freebsd.org/cgi/man.cgi?query=rm&apropos=0&sektion=0&manpath=FreeBSD+9.0-RELEASE&arch=default&format=html On Tue, Jun 19, 2012 at 4:16 PM, Damien Fleuriot wrote: > I always assumed -f would only force removal, not modify the exit code. > > No bug then, working as intended, all good. > > > > Cheers > > On 6/19/12 3:43 PM, Fred Morcos wrote: >> You used -f which means rm will not complain if a file or directory >> cannot be deleted (or does not exist in the first place). >> >> On Tue, Jun 19, 2012 at 3:37 PM, Damien Fleuriot wrote: >>> I've stumbled upon this *so weird* behaviour. >>> >>> >>> >>> # ls -la /var/tmp/stunnel/ >>> ls: /var/tmp/stunnel/: No such file or directory >>> >>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? # rm -Rf >>> /var/tmp/stunnel/ >>> >>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? # echo $? >>> 0 >>> >>> >>> >>> Anyone knows if that's intended ? >>> >>> FreeBSD pf2.[snip].com 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Jun 19 >>> 10:45:31 CEST 2012 >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From talon at lpthe.jussieu.fr Tue Jun 19 14:44:16 2012 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Tue Jun 19 14:44:24 2012 Subject: Why Clang Message-ID: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> David Brodbeck said: > Another way of looking at it is after 25 years of optimization GCC is > unable to beat a new compiler that's had almost none... Unfortunately this affirmation is blatantly false, recent gcc produce code much faster than clang. I give here an example which i like, a monte carlo computation for a spin lattice. Everything runs on my macbook. lilas% clang -v Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn) Target: x86_64-apple-darwin11.4.0 lilas% clang -O4 test.c -lf2c lilas% time ./a.out ... real 0m2.359s user 0m2.341s sys 0m0.003s lilas% /usr/local/bin/gcc -v ? gcc version 4.6.1 (GCC) lilas% /usr/local/bin/gcc -O3 test.c -lf2c lilas% time ./a.out ? real 0m1.241s user 0m1.234s sys 0m0.003s So gcc gives an executable running twice faster than clang, basically, when both compilers are run at maximal optimization. To show the effectiveness of the optimizer, here is the running time without any optimization: lilas% /usr/local/bin/gcc test.c -lf2c lilas% time ./a.out ? real 0m6.895s user 0m6.889s sys 0m0.005s What this demonstrates is that for programs which do real computations, optimization is *very* important, and gcc is now very good (i have not shown the numbers but they match the Intel compiler) while clang is at the level gcc was ten years ago. So i fully agree with Wojciech Puchar, the move to clang is only driven by anti GPL propaganda which is frankly completely stupid, since in any events, gcc does not contaminate the binaries it produces (except when using contaminated accompanying libraries e.g. for C++). Of course, when compiling FreeBSD kernel or similar programs which do little computation there is no harm using clang. I suspect that the price is higher for programs like mencoder which require the highest efficiency. I will not comment on the better error messages coming from clang, this could be a more serious argument. -- Michel Talon talon@lpthe.jussieu.fr From fred.morcos at gmail.com Tue Jun 19 15:14:47 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Tue Jun 19 15:14:57 2012 Subject: Why Clang In-Reply-To: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> Message-ID: I would also guess that the base system is stuck with gcc ~4.1 due to the GPLv3-ization of later gcc version. Is that correct? On Tue, Jun 19, 2012 at 4:43 PM, Michel Talon wrote: > David Brodbeck said: >> Another way of looking at it is after 25 years of optimization GCC is >> unable to beat a new compiler that's had almost none... > Unfortunately this affirmation is blatantly false, recent gcc produce code > much faster than clang. I give here an example which i like, a monte carlo computation for a spin lattice. > Everything runs on my macbook. > > lilas% clang -v > Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn) > Target: x86_64-apple-darwin11.4.0 > lilas% clang -O4 test.c -lf2c > lilas% time ./a.out > ... > > real ? ?0m2.359s > user ? ?0m2.341s > sys ? ? 0m0.003s > > lilas% /usr/local/bin/gcc -v > ? > gcc version 4.6.1 (GCC) > > lilas% /usr/local/bin/gcc -O3 test.c -lf2c > lilas% time ./a.out > ? > > real ? ?0m1.241s > user ? ?0m1.234s > sys ? ? 0m0.003s > > So gcc gives an executable running twice faster than clang, basically, when both compilers > are run at maximal optimization. To show the effectiveness of the optimizer, here is the running > time without any optimization: > > lilas% /usr/local/bin/gcc ?test.c -lf2c > lilas% time ./a.out > ? > > real ? ?0m6.895s > user ? ?0m6.889s > sys ? ? 0m0.005s > > What this demonstrates is that for programs which do real computations, optimization is > *very* important, and gcc is now very good (i have not shown the numbers but they match the Intel compiler) > while clang is at the level gcc was ten years ago. So i fully agree with Wojciech Puchar, the move to clang > is only driven by anti GPL propaganda which is frankly completely stupid, since in any events, gcc > does not contaminate the binaries it produces (except when using contaminated accompanying libraries > e.g. for C++). Of course, when compiling FreeBSD kernel or similar programs which do little computation > there is no harm using clang. I suspect that the price is higher for programs like mencoder which require > the highest efficiency. > > I will not comment on the better error messages coming from clang, this could be a more serious argument. > > -- > > Michel Talon > talon@lpthe.jussieu.fr > > > > > From feld at feld.me Tue Jun 19 15:19:34 2012 From: feld at feld.me (Mark Felder) Date: Tue Jun 19 15:19:41 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> Message-ID: On Tue, 19 Jun 2012 10:14:25 -0500, Fred Morcos wrote: > I would also guess that the base system is stuck with gcc ~4.1 due to > the GPLv3-ization of later gcc version. Is that correct? Yes, 4.2.1 is the latest we can use. Also, I have no idea what version of Clang Michael is using on OSX. That tag means nothing to me; for all I know that really could be back in Clang 2.1 days which makes this exercise pointless. We need to be comparing at a minimum the very latest Clang to GCC 4.2.1. Further benchmarks against the latest GCC is welcome, but we should care more about not having a huge performance regression in comparison to what GCC 4.2.1 already provides us. From perrin at apotheon.com Tue Jun 19 16:35:50 2012 From: perrin at apotheon.com (Chad Perrin) Date: Tue Jun 19 16:35:59 2012 Subject: Why Clang In-Reply-To: References: <201206182014.q5IKEVdQ014212@mail.r-bonomi.com> <20120618210049.GA2508@hemlock.hydra> Message-ID: <20120619163549.GA5561@hemlock.hydra> You should really configure your email client to attribute quoted commentary properly (or, as a first step, at all). On Tue, Jun 19, 2012 at 06:51:00AM +0200, Wojciech Puchar wrote: > >>be more exact. > > > >I believe Robert Bonomi (you didn't include attribution for the previous > >email, I notice) *was* more exact, in that the rest of his email > >explained what he thought of your glossing over the various factors that > >might contribute to binary size. > > > >I notice you ignored most of it in your response, too. > > or maybe missed. So please tell me finally what is wrong in > measuring speed by measuring time of execution doing same things? > What i should measure? time in heavens? He didn't say anything about your measurement of time being faulty. He said your measurement of size was faulty. > > > >I can generally puzzle out what caused various GCC warning and error > >messages when trying to compile my own code, given comparison of what's > > strange but i don't have a problem - and i always set -Wall when > using gcc as 99% of warnings are actually errors. I guess you're either some kind of rare genius or suffering from Stockholm syndrome. Everyone I've encountered with something to say about warning and error reporting with regard to Clang vs. GCC has remarked about how much nicer it is with Clang. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From ulrich at pukruppa.de Tue Jun 19 17:11:06 2012 From: ulrich at pukruppa.de (Peter Ulrich Kruppa) Date: Tue Jun 19 17:11:13 2012 Subject: Why Clang In-Reply-To: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> Message-ID: <4FE0AC19.5080506@pukruppa.de> On 19.06.2012 16:43, Michel Talon wrote: > David Brodbeck said: >> Another way of looking at it is after 25 years of optimization GCC is >> unable to beat a new compiler that's had almost none... > Unfortunately this affirmation is blatantly false, recent gcc produce code > much faster than clang. I give here an example which i like, a monte carlo computation for a spin lattice. > Everything runs on my macbook. > > lilas% clang -v > Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn) > Target: x86_64-apple-darwin11.4.0 > lilas% clang -O4 test.c -lf2c > lilas% time ./a.out > ... > > real 0m2.359s > user 0m2.341s > sys 0m0.003s > > lilas% /usr/local/bin/gcc -v > ? > gcc version 4.6.1 (GCC) > > lilas% /usr/local/bin/gcc -O3 test.c -lf2c > lilas% time ./a.out > ? > > real 0m1.241s > user 0m1.234s > sys 0m0.003s > > So gcc gives an executable running twice faster than clang, basically, when both compilers > are run at maximal optimization. To show the effectiveness of the optimizer, here is the running > time without any optimization: > > lilas% /usr/local/bin/gcc test.c -lf2c > lilas% time ./a.out > ? > > real 0m6.895s > user 0m6.889s > sys 0m0.005s > > What this demonstrates is that for programs which do real computations, optimization is > *very* important, and gcc is now very good (i have not shown the numbers but they match the Intel compiler) > while clang is at the level gcc was ten years ago. So i fully agree with Wojciech Puchar, the move to clang > is only driven by anti GPL propaganda which is frankly completely stupid, since in any events, gcc > does not contaminate the binaries it produces (except when using contaminated accompanying libraries > e.g. for C++). Of course, when compiling FreeBSD kernel or similar programs which do little computation > there is no harm using clang. I suspect that the price is higher for programs like mencoder which require > the highest efficiency. Really - just to throw in another opinion: As an average user I don't see any performance impact on my clang-built desktop-every-day-workstation. The only thing that is getting on my nerves are some ports I frequently have to rebuild with gcc. It would be nice if the porting team could set up some automagic for that. There seems to be no harm in running a mixed clang/gcc built userland. Some members of this list seem to fear some kind of communist infiltration by gcc - I hope this is no serious issue, is it? > > I will not comment on the better error messages coming from clang, this could be a more serious argument. I don't know what they mean, but they really do look good :-) Greetings Peter > > -- > > Michel Talon > talon@lpthe.jussieu.fr > > > > > From wojtek at wojtek.tensor.gdynia.pl Tue Jun 19 17:53:22 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 19 17:53:28 2012 Subject: Why Clang In-Reply-To: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> Message-ID: > lilas% clang -v > Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn) > Target: x86_64-apple-darwin11.4.0 > lilas% clang -O4 test.c -lf2c > lilas% time ./a.out > ... > > real 0m2.359s > user 0m2.341s > sys 0m0.003s > > lilas% /usr/local/bin/gcc -v > ? > gcc version 4.6.1 (GCC) > > lilas% /usr/local/bin/gcc -O3 test.c -lf2c > lilas% time ./a.out > ? > > real 0m1.241s > user 0m1.234s > sys 0m0.003s So gcc actually improved. Can you compare the execution speed of latest gcc vs. latest clang. thank you i compared FReeBSD 9 supplied gcc with FreeBSD 9 supplied clang. From wojtek at wojtek.tensor.gdynia.pl Tue Jun 19 17:54:48 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 19 17:54:55 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> Message-ID: > I would also guess that the base system is stuck with gcc ~4.1 due to > the GPLv3-ization of later gcc version. Is that correct? true. anyway - can someone point me an article about explaining in human language (contrary to lawyer language) why GPLv3 is more limiting in reality over v2 . Does GPLv3 does force programs you compile with gcc to be GPLed? From wojtek at wojtek.tensor.gdynia.pl Tue Jun 19 17:59:34 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 19 17:59:41 2012 Subject: Why Clang In-Reply-To: <4FE0AC19.5080506@pukruppa.de> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <4FE0AC19.5080506@pukruppa.de> Message-ID: >> programs like mencoder which require >> the highest efficiency. > Really - just to throw in another opinion: > > As an average user I don't see any performance impact on my clang-built > desktop-every-day-workstation. The only thing that is getting on my nerves > are some ports I frequently have to rebuild with gcc. every time anyone will point a fact about clang not being really the best - some fanatics will reply by going off topic, or worse (fortunately not you) - by aggression, attack or lies. Can you finally behave like normal intelligent people or clang-religion fanatics?! facts are important. ONLY FACTS, unless you want to turn whole FreeBSD project from technical quality to useless propaganda. Please don't do it, as FreeBSD is the only really usable unix remaining! From rdv.dmitry at gmail.com Tue Jun 19 18:48:06 2012 From: rdv.dmitry at gmail.com (=?UTF-8?B?0JTQvNC40YLRgNC40Lkg0KDQtdC30L3QuNGH0LXQvdC60L4=?=) Date: Tue Jun 19 18:48:14 2012 Subject: Question about GEOM_ELI` root partition automount [COPY from inc@rdmitry.name] Message-ID: <4FE0C985.9000704@gmail.com> * [COPY from inc@rdmitry.name]* { # (Russian lang, ORIGINAL) ???????:: 1) ??????????? ?????????????? ???????? /boot ?? ????????? ???? 9.0-release ? ????? ?????; 2) ???????????? ?????? ????-?????? (???? ????? ?????? ? (1)/boot ) ??????? ???????? ?? ???? ????? ??????????. ????????: ??? ???????? ??????????? ???????? ???? ???????????, ?? ???? ???????? ?????. ????? ?????? ?? ?????, ?? ?? ?????? (???????? ??????????). ????: ??? - ?? ??????? ???, ??? ?? ???? ??? ?????, ?? ????????. ?????, ????? ?????-?? ?? ?????????? ????????, ???????? ????? ????, ???????? ? /boot/loader , ???, ??? ?? ?? ??? ???????? ???????? ???? ???????, ? ????? ???????????? ?????? ??????? ??????? (dd ? ???? ?????). ? ?? ?? ??? ?? ?????????, ????????????? ? ??????: ???? ?? ????? ???? ? ?????????? ????????, ? ????? ????? ?????? ????? ???? ??? ???? ??????????? P.S. ? ????? ????? ??? ??????? ??? ???????? ? ??????, ?? ??? ?????, ?.?. initrd-image ????? ??????????????? ? ????? ??????????????. } { # (ENG, translated not so good) What we have now (FreeBSD 9.0-release): 1) /boot partition, uncrypted, with it`s boot scripts, kernel and so on; 2) crypted root partition (geli init -s 4096 -P -K /root/keyfile /dev/adXX), without password but with key; that partition have all its freebsd content. The keyfile located now in (1)/boot. The problem need to solve: Need have end system, when keyfile when boot will be created automatically, and erased securelly just after root crypto` partition mounts (by dd with of=keyfile, for example) That need to do because freebsd have remote hosting. Needs: To make key not (at least EASELY!) catched by unautorised personnel, and noone cat pass password there after reboot or power fail/restore cases. Maby you can give me tip, what pard of src (and maby how, maby /boot/loader src) need to change? P.S. I solve same with linux box, but there i can extract already working initrd.img, change in by adding binary program which make their work, and make new initrd.img } I hope, you will can help me with it, thanks in advance! btw i don`t power user oc C language :) From freebsd at edvax.de Tue Jun 19 18:52:36 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 19 18:52:44 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> Message-ID: <20120619205225.21d6709f.freebsd@edvax.de> On Tue, 19 Jun 2012 19:54:45 +0200 (CEST), Wojciech Puchar wrote: > anyway - can someone point me an article about explaining in human > language (contrary to lawyer language) why GPLv3 is more limiting in > reality over v2 . > > Does GPLv3 does force programs you compile with gcc to be GPLed? As far as I know, the main difference is that the GPLv3 is often called a "viral license". Software linking against v3 libraries and so maybe programs compiled by a v3 compiler will have - according to the license - to be released as v3 too. Code that is v3 once cannot become "something different" (either v2, BSDL or closed). GPLv2 does have fewer restrictions, emphasizing the freedom of the developer: It's not okay to turn v2 programs into closed source. However, it is okay to make derivates from it as long as the derivates are also published (contributed back). GPLv3 also has this requirement. GPL protects the freedom of the programmer who licensed his code under those licenses: He wants it to be free for use, but not to be turned into closed source products. A programmer who does not want to raise this barrier will typically use the BSD license which is "more free". BSDL in opposite is often criticized a "rape me license". It explicitely (!) allows creating derivates in a closed source manner. This means that parts of BSD licensed code can be a key component in a proprietary closed source product that is for sale (e. g. a firewall appliance), and nobody will find out about that fact. WP has a nice comparison: http://en.wikipedia.org/wiki/Comparison_of_free_and_open_source_software_licenses http://en.wikipedia.org/wiki/GNU_General_Public_License All those licenses do _not_ allow to steal copyright! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bcr at freebsd.org Tue Jun 19 19:49:45 2012 From: bcr at freebsd.org (bcr@freebsd.org) Date: Tue Jun 19 19:50:25 2012 Subject: We'll pay you from $ 98 per hour for remote assistance in our clinic Message-ID: <0A0CAA2DF378ED530B00464E7889248F@kjikekckdfakhcmtb.canaca.com> We invite you to work in the remote assistant position. This work takes 2-3 hours per week and requires absolutely no investment. The essence of this work for incoming client requests in your city. The starting salary is about 2500 EUR per month + bonuses. You get paid your salary every 2 weeks and your bonuses after fulfilling each task! We guarantee work for everyone. But we accept applications this week only! Therefore, you should write a request right now. And you will start earning money, starting from next week. Please indicate in the request: Your name: Your email address: City of residence: Please send the request to my email Sung@workineurop.com,and I will answer you personally as soon as possible Sincerely, Sung Booth From inc at rdmitry.name Tue Jun 19 18:46:00 2012 From: inc at rdmitry.name (Dmitry Reznichenko) Date: Tue Jun 19 19:50:55 2012 Subject: Question about GEOM_ELI` root partition automount Message-ID: <4FE0C909.1000304@rdmitry.name> { # (Russian lang, ORIGINAL) ???????:: 1) ??????????? ?????????????? ???????? /boot ?? ????????? ???? 9.0-release ? ????? ?????; 2) ???????????? ?????? ????-?????? (???? ????? ?????? ? (1)/boot ) ??????? ???????? ?? ???? ????? ??????????. ????????: ??? ???????? ??????????? ???????? ???? ???????????, ?? ???? ???????? ?????. ????? ?????? ?? ?????, ?? ?? ?????? (???????? ??????????). ????: ??? - ?? ??????? ???, ??? ?? ???? ??? ?????, ?? ????????. ?????, ????? ?????-?? ?? ?????????? ????????, ???????? ????? ????, ???????? ? /boot/loader , ???, ??? ?? ?? ??? ???????? ???????? ???? ???????, ? ????? ???????????? ?????? ??????? ??????? (dd ? ???? ?????). ? ?? ?? ??? ?? ?????????, ????????????? ? ??????: ???? ?? ????? ???? ? ?????????? ????????, ? ????? ????? ?????? ????? ???? ??? ???? ??????????? P.S. ? ????? ????? ??? ??????? ??? ???????? ? ??????, ?? ??? ?????, ?.?. initrd-image ????? ??????????????? ? ????? ??????????????. } { # (ENG, translated not so good) What we have now (FreeBSD 9.0-release): 1) /boot partition, uncrypted, with it`s boot scripts, kernel and so on; 2) crypted root partition (geli init -s 4096 -P -K /root/keyfile /dev/adXX), without password but with key; that partition have all its freebsd content. The keyfile located now in (1)/boot. The problem need to solve: Need have end system, when keyfile when boot will be created automatically, and erased securelly just after root crypto` partition mounts (by dd with of=keyfile, for example) That need to do because freebsd have remote hosting. Needs: To make key not (at least EASELY!) catched by unautorised personnel, and noone cat pass password there after reboot or power fail/restore cases. Maby you can give me tip, what pard of src (and maby how, maby /boot/loader src) need to change? P.S. I solve same with linux box, but there i can extract already working initrd.img, change in by adding binary program which make their work, and make new initrd.img } I hope, you will can help me with it, thanks in advance! btw i don`t power user oc C language :) From wojtek at wojtek.tensor.gdynia.pl Tue Jun 19 19:58:48 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 19 19:58:54 2012 Subject: Why Clang In-Reply-To: <20120619205225.21d6709f.freebsd@edvax.de> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> Message-ID: >> >> Does GPLv3 does force programs you compile with gcc to be GPLed? > > As far as I know, the main difference is that the GPLv3 is > often called a "viral license". Software linking against v3 > libraries and so maybe programs compiled by a v3 compiler > will have - according to the license - to be released as > v3 too. This word: "MAYBE" is most crucial here. wouldn't it be just simplest solution to ask GNU leader for clearing it out? i wouldn't be surprised that FreeBSD team would decide to go back to gcc soon. From wojtek at wojtek.tensor.gdynia.pl Tue Jun 19 20:00:53 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 19 20:01:00 2012 Subject: Question about GEOM_ELI` root partition automount In-Reply-To: <4FE0C909.1000304@rdmitry.name> References: <4FE0C909.1000304@rdmitry.name> Message-ID: > The problem need to solve: > Need have end system, when keyfile when boot will be created automatically, > and erased securelly just after root crypto` partition mounts (by dd with > of=keyfile, for example) > That need to do because freebsd have remote hosting. > > Needs: > To make key not (at least EASELY!) catched by unautorised personnel, and > noone cat pass password there after reboot or power fail/restore cases. > > Maby you can give me tip, what pard of src (and maby how, maby /boot/loader > src) need to change? how do you want to enter that key? i would make system bootable and ssh-able but with secure data unmounted and very small malloc based md device created. then you upload keyfile to it, run geli to attach encrypted device, overwrite md device and destroy md device. if i understand correctly. From millenia2000 at hotmail.com Tue Jun 19 20:17:39 2012 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Tue Jun 19 20:17:47 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> Message-ID: > > i wouldn't be surprised that FreeBSD team would decide to go back to gcc > soon. > I would as one of the driving forces of the change was to replace GPL licensed code in FreeBSD core with more permissive licensed code. This helps to remove a massive legal encumberment for a lot of developers who no longer have to worry how their BSD licensed code has to be treated if its compiled thru a GPL compiler. From mixmaster at remailer.privacy.at Tue Jun 19 20:21:01 2012 From: mixmaster at remailer.privacy.at (Anonymous Remailer (austria)) Date: Tue Jun 19 20:21:09 2012 Subject: Why Clang In-Reply-To: <20120619205225.21d6709f.freebsd@edvax.de> Message-ID: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> > GPL protects the freedom of the programmer who licensed his > code under those licenses: He wants it to be free for use, > but not to be turned into closed source products. What a lying sonofabitch. That is not called freedom. That is called "forcible, viral open source". I think we can all see the difference. Open your motherfucking eyes, communist goofball... > A programmer who does not want to raise this barrier will > typically use the BSD license which is "more free". No, it's just plain "free." > BSDL in opposite is often criticized a "rape me license". No, it is not, except perhaps by lying atheist Marxist bastards and his religious adherents. > It explicitely (!) allows creating derivates in a closed > source manner. This means that parts of BSD licensed code > can be a key component in a proprietary closed source > product that is for sale (e. g. a firewall appliance), > and nobody will find out about that fact. Now you got it! GPL is about forcing people to do what /you/ want and BSD is about letting them do what /they/ want. Let's see if you can guess which one of those licenses is about freedom. Hint: freedom is not defined as forcing people to do what you want. From lists at eitanadler.com Tue Jun 19 20:21:30 2012 From: lists at eitanadler.com (Eitan Adler) Date: Tue Jun 19 20:21:38 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> Message-ID: On 19 June 2012 12:58, Wojciech Puchar wrote: >>> >>> Does GPLv3 does force programs you compile with gcc to be GPLed? >> >> >> As far as I know, the main difference is that the GPLv3 is >> often called a "viral license". Software linking against v3 >> libraries and so maybe programs compiled by a v3 compiler >> will have - according to the license - to be released as >> v3 too. > > This word: "MAYBE" is most crucial here. This is false: http://www.gnu.org/licenses/gcc-exception-faq.html > i wouldn't be surprised that FreeBSD team would decide to go back to gcc > soon. Unlikely. clang is much better on all the other fronts. Even if clang produces slightly slower code for math heavy code for now we don't care that much. The kernel does not spend much time in compute heavy code. :) -- Eitan Adler From fred.morcos at gmail.com Tue Jun 19 20:26:47 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Tue Jun 19 20:26:54 2012 Subject: Why Clang In-Reply-To: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> References: <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> Message-ID: I don't see much fruit coming out of that conversation anymore. On Tue, Jun 19, 2012 at 10:06 PM, Anonymous Remailer (austria) wrote: > >> GPL protects the freedom of the programmer who licensed his >> code under those licenses: He wants it to be free for use, >> but not to be turned into closed source products. > > What a lying sonofabitch. That is not called freedom. That is called > "forcible, viral open source". I think we can all see the difference. Open > your motherfucking eyes, communist goofball... > >> A programmer who does not want to raise this barrier will >> typically use the BSD license which is "more free". > > No, it's just plain "free." > >> BSDL in opposite is often criticized a "rape me license". > > No, it is not, except perhaps by lying atheist Marxist bastards and his > religious adherents. > >> It explicitely (!) allows creating derivates in a closed >> source manner. This means that parts of BSD licensed code >> can be a key component in a proprietary closed source >> product that is for sale (e. g. a firewall appliance), >> and nobody will find out about that fact. > > Now you got it! GPL is about forcing people to do what /you/ want and BSD is > about letting them do what /they/ want. Let's see if you can guess which one > of those licenses is about freedom. Hint: freedom is not defined as forcing > people to do what you want. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From bonomi at mail.r-bonomi.com Tue Jun 19 20:31:37 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Tue Jun 19 20:31:45 2012 Subject: rm returns 0 although directory didn't exist and wasn't deleted ? In-Reply-To: <4FE08093.1040607@my.gd> Message-ID: <201206192031.q5JKVfwr021405@mail.r-bonomi.com> Damien Fleuriot wrote: > > I've stumbled upon this *so weird* behaviour. > > # ls -la /var/tmp/stunnel/ > ls: /var/tmp/stunnel/: No such file or directory > # rm -Rf /var/tmp/stunnel/ > # echo $? > 0 > > Anyone knows if that's intended ? yes. From freebsd at edvax.de Tue Jun 19 20:50:16 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 19 20:50:23 2012 Subject: Why Clang In-Reply-To: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> References: <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> Message-ID: <20120619225013.2513e8bd.freebsd@edvax.de> On Tue, 19 Jun 2012 22:06:49 +0200 (CEST), Anonymous Remailer (austria) wrote: > > > GPL protects the freedom of the programmer who licensed his > > code under those licenses: He wants it to be free for use, > > but not to be turned into closed source products. > > What a lying sonofabitch. By insulting you think your arguments get any better? Sorry, it's not the case. > That is not called freedom. That is called > "forcible, viral open source". That's what I initially called "viral license" (or which, to be precise, is a phrase someone else invented, and which I just repeated). A developer is always the key person to decide what he will do with his source code. Giving it for free WITH NO SPECIAL RESTRICTIONS is a very generous act. (Note that this act does not mean he gives up copyright, the attribution that _he_ was the creator of the code!) If a developer wants to donate his work to the public, but does not want others to make money with his work, he will probably choose the GPL to release the source code. Others are allowed to modify it, to create derivate works and even use it in their products, as long as the requirement (which you may validly see as a restriction!) of "contribution back" is met. A much more strict requirement seems to be in the GPLv3 which limits those who "take" the open source. The "aspect of being viral" includes that the source will not be turned into closed source. The most negative effect is that GPLv3 licensed components may have side effects of non-GLPv3 licensed code. This is something worth seeing critically. > I think we can all see the difference. Open > your motherfucking eyes, communist goofball... All those insults fly back to you and therefore apply to you. It makes all your argumentation (which may be valid) futile. In fact, that kind of acting is a typical means of communist dictatures - using insulting language to actually avoid any discussion and instead strengthen the means of oppression! You should learn some history. And maybe calm down, as the hatred you're spreading is really unpleasant. > > A programmer who does not want to raise this barrier will > > typically use the BSD license which is "more free". > > No, it's just plain "free." Among the many licenses, the BSD license seems to be the most free license (or, the "only free license", which is a valid point of view), as it explicitely allows things that the GPL does not. Of course, there are different interpretations if this is a good or a bad thing. For a system like FreeBSD that wants to offer a free system (in the widest sense), GPLv3 system components (such as compilers) could be a no-go. > > BSDL in opposite is often criticized a "rape me license". > > No, it is not, except perhaps by lying atheist Marxist bastards and his > religious adherents. By "no, except" you have actually agreed that the statement is true, even if you tried to deny it. Again, please try to have some culture in discussion. Maybe you should also read Marx. :-) > > It explicitely (!) allows creating derivates in a closed > > source manner. This means that parts of BSD licensed code > > can be a key component in a proprietary closed source > > product that is for sale (e. g. a firewall appliance), > > and nobody will find out about that fact. > > Now you got it! GPL is about forcing people to do what /you/ want and BSD is > about letting them do what /they/ want. Licensing is about choosing - a main criteria of a free society. A developer is free to even keep his sources closed, to release them as GPL v2 or v3, or as BSDL (or choose from other licenses, or even write his own). In the next step, licenses have impact on how sources can be used. As I did explain, GPLv3 code may be problematic in this regards in certain environments. It may perfectly fit in others. As long as there's an agreement of the users of such source to accept the license, it's okay. What's _not_ okay is when the license forces you to do something you don't want to do, or simply can't do. > Let's see if you can guess which one > of those licenses is about freedom. Hint: freedom is not defined as forcing > people to do what you want. If people don't do what I want, they're limiting my freedom. :-) Seriously, you should pay more attention to what I wrote. Even though English is not my native language, I try to be as precise as possible, and if I can't do that (because a lack of knowledge, because of assumptions or deduction), I make clear that it is not the case. Hint: Read carefully: "I think", "as far as I know" or similar formulas are an indicator. Finally: Insulting me is not a way to go. It shows that you don't value the freedom of speech. Of course you are free to say whatever you want. But as soon as you insult people and limit their freedom, maybe even their right (moral right, not law) to have a polite and normal discussion on this list, you're not any better than the communists you hate that much. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From root1101 at gmail.com Tue Jun 19 20:54:10 2012 From: root1101 at gmail.com (=?windows-1251?Q?=C5=E2=E3=E5=ED=E8=E9_=CB=E0=EA=F2=E0=ED=EE=E2?=) Date: Tue Jun 19 20:54:27 2012 Subject: Why Clang In-Reply-To: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> Message-ID: <4FE0E739.8000104@gmail.com> 20.06.2012 00:06, Anonymous Remailer (austria) ?????: >> GPL protects the freedom of the programmer who licensed his >> code under those licenses: He wants it to be free for use, >> but not to be turned into closed source products. > What a lying sonofabitch. That is not called freedom. That is called > "forcible, viral open source". I think we can all see the difference. Open > your motherfucking eyes, communist goofball... > >> A programmer who does not want to raise this barrier will >> typically use the BSD license which is "more free". > No, it's just plain "free." > >> BSDL in opposite is often criticized a "rape me license". > No, it is not, except perhaps by lying atheist Marxist bastards and his > religious adherents. > >> It explicitely (!) allows creating derivates in a closed >> source manner. This means that parts of BSD licensed code >> can be a key component in a proprietary closed source >> product that is for sale (e. g. a firewall appliance), >> and nobody will find out about that fact. > Now you got it! GPL is about forcing people to do what /you/ want and BSD is > about letting them do what /they/ want. Let's see if you can guess which one > of those licenses is about freedom. Hint: freedom is not defined as forcing > people to do what you want. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Mmmmm, all that rage, all that conspiracy crap and especially the hypocrisy! I love it, this is here, my friends, a daily dose of quality entertainment. P.S. Topic is pretty much dead From root1101 at gmail.com Tue Jun 19 21:08:01 2012 From: root1101 at gmail.com (=?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JvQsNC60YLQsNC90L7Qsg==?=) Date: Tue Jun 19 21:08:07 2012 Subject: Why Clang In-Reply-To: <20120619225013.2513e8bd.freebsd@edvax.de> References: <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <20120619225013.2513e8bd.freebsd@edvax.de> Message-ID: <4FE0EA77.2010408@gmail.com> 20.06.2012 00:50, Polytropon ?????: > On Tue, 19 Jun 2012 22:06:49 +0200 (CEST), Anonymous Remailer (austria) wrote: >>> GPL protects the freedom of the programmer who licensed his >>> code under those licenses: He wants it to be free for use, >>> but not to be turned into closed source products. >> What a lying sonofabitch. > By insulting you think your arguments get any better? Sorry, > it's not the case. > > > >> That is not called freedom. That is called >> "forcible, viral open source". > That's what I initially called "viral license" (or which, to > be precise, is a phrase someone else invented, and which I > just repeated). > > A developer is always the key person to decide what he will > do with his source code. Giving it for free WITH NO SPECIAL > RESTRICTIONS is a very generous act. (Note that this act does > not mean he gives up copyright, the attribution that _he_ was > the creator of the code!) > > If a developer wants to donate his work to the public, but does > not want others to make money with his work, he will probably > choose the GPL to release the source code. Others are allowed > to modify it, to create derivate works and even use it in their > products, as long as the requirement (which you may validly see > as a restriction!) of "contribution back" is met. > > A much more strict requirement seems to be in the GPLv3 which > limits those who "take" the open source. The "aspect of being > viral" includes that the source will not be turned into closed > source. The most negative effect is that GPLv3 licensed components > may have side effects of non-GLPv3 licensed code. This is something > worth seeing critically. > > > >> I think we can all see the difference. Open >> your motherfucking eyes, communist goofball... > All those insults fly back to you and therefore apply to you. > It makes all your argumentation (which may be valid) futile. > In fact, that kind of acting is a typical means of communist > dictatures - using insulting language to actually avoid any > discussion and instead strengthen the means of oppression! > You should learn some history. And maybe calm down, as the > hatred you're spreading is really unpleasant. > > > >>> A programmer who does not want to raise this barrier will >>> typically use the BSD license which is "more free". >> No, it's just plain "free." > Among the many licenses, the BSD license seems to be the most > free license (or, the "only free license", which is a valid > point of view), as it explicitely allows things that the GPL > does not. > > Of course, there are different interpretations if this is a > good or a bad thing. For a system like FreeBSD that wants to > offer a free system (in the widest sense), GPLv3 system > components (such as compilers) could be a no-go. > > > >>> BSDL in opposite is often criticized a "rape me license". >> No, it is not, except perhaps by lying atheist Marxist bastards and his >> religious adherents. > By "no, except" you have actually agreed that the statement is > true, even if you tried to deny it. Again, please try to have > some culture in discussion. Maybe you should also read Marx. :-) > > > >>> It explicitely (!) allows creating derivates in a closed >>> source manner. This means that parts of BSD licensed code >>> can be a key component in a proprietary closed source >>> product that is for sale (e. g. a firewall appliance), >>> and nobody will find out about that fact. >> Now you got it! GPL is about forcing people to do what /you/ want and BSD is >> about letting them do what /they/ want. > Licensing is about choosing - a main criteria of a free society. > A developer is free to even keep his sources closed, to release > them as GPL v2 or v3, or as BSDL (or choose from other licenses, > or even write his own). > > In the next step, licenses have impact on how sources can be used. > As I did explain, GPLv3 code may be problematic in this regards in > certain environments. It may perfectly fit in others. As long as > there's an agreement of the users of such source to accept the > license, it's okay. > > What's _not_ okay is when the license forces you to do something > you don't want to do, or simply can't do. > > > >> Let's see if you can guess which one >> of those licenses is about freedom. Hint: freedom is not defined as forcing >> people to do what you want. > If people don't do what I want, they're limiting my freedom. :-) > > Seriously, you should pay more attention to what I wrote. Even > though English is not my native language, I try to be as precise > as possible, and if I can't do that (because a lack of knowledge, > because of assumptions or deduction), I make clear that it is not > the case. Hint: Read carefully: "I think", "as far as I know" or > similar formulas are an indicator. > > Finally: Insulting me is not a way to go. It shows that you don't > value the freedom of speech. Of course you are free to say whatever > you want. But as soon as you insult people and limit their freedom, > maybe even their right (moral right, not law) to have a polite and > normal discussion on this list, you're not any better than the > communists you hate that much. > > People like that have a very-very skewered views on freedom ... One can say hypocritical and immature From freebsd at edvax.de Tue Jun 19 21:22:41 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 19 21:22:48 2012 Subject: Why Clang In-Reply-To: <4FE0EA77.2010408@gmail.com> References: <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <20120619225013.2513e8bd.freebsd@edvax.de> <4FE0EA77.2010408@gmail.com> Message-ID: <20120619232239.925d0aa4.freebsd@edvax.de> On Wed, 20 Jun 2012 01:09:11 +0400, ??????? ???????? wrote: > 20.06.2012 00:50, Polytropon ?????: > > On Tue, 19 Jun 2012 22:06:49 +0200 (CEST), Anonymous Remailer (austria) wrote: > >>> GPL protects the freedom of the programmer who licensed his > >>> code under those licenses: He wants it to be free for use, > >>> but not to be turned into closed source products. > >> What a lying sonofabitch. > > By insulting you think your arguments get any better? Sorry, > > it's not the case. > > > > > > > >> That is not called freedom. That is called > >> "forcible, viral open source". > > That's what I initially called "viral license" (or which, to > > be precise, is a phrase someone else invented, and which I > > just repeated). > > > > A developer is always the key person to decide what he will > > do with his source code. Giving it for free WITH NO SPECIAL > > RESTRICTIONS is a very generous act. (Note that this act does > > not mean he gives up copyright, the attribution that _he_ was > > the creator of the code!) > > > > If a developer wants to donate his work to the public, but does > > not want others to make money with his work, he will probably > > choose the GPL to release the source code. Others are allowed > > to modify it, to create derivate works and even use it in their > > products, as long as the requirement (which you may validly see > > as a restriction!) of "contribution back" is met. > > > > A much more strict requirement seems to be in the GPLv3 which > > limits those who "take" the open source. The "aspect of being > > viral" includes that the source will not be turned into closed > > source. The most negative effect is that GPLv3 licensed components > > may have side effects of non-GLPv3 licensed code. This is something > > worth seeing critically. > > > > > > > >> I think we can all see the difference. Open > >> your motherfucking eyes, communist goofball... > > All those insults fly back to you and therefore apply to you. > > It makes all your argumentation (which may be valid) futile. > > In fact, that kind of acting is a typical means of communist > > dictatures - using insulting language to actually avoid any > > discussion and instead strengthen the means of oppression! > > You should learn some history. And maybe calm down, as the > > hatred you're spreading is really unpleasant. > > > > > > > >>> A programmer who does not want to raise this barrier will > >>> typically use the BSD license which is "more free". > >> No, it's just plain "free." > > Among the many licenses, the BSD license seems to be the most > > free license (or, the "only free license", which is a valid > > point of view), as it explicitely allows things that the GPL > > does not. > > > > Of course, there are different interpretations if this is a > > good or a bad thing. For a system like FreeBSD that wants to > > offer a free system (in the widest sense), GPLv3 system > > components (such as compilers) could be a no-go. > > > > > > > >>> BSDL in opposite is often criticized a "rape me license". > >> No, it is not, except perhaps by lying atheist Marxist bastards and his > >> religious adherents. > > By "no, except" you have actually agreed that the statement is > > true, even if you tried to deny it. Again, please try to have > > some culture in discussion. Maybe you should also read Marx. :-) > > > > > > > >>> It explicitely (!) allows creating derivates in a closed > >>> source manner. This means that parts of BSD licensed code > >>> can be a key component in a proprietary closed source > >>> product that is for sale (e. g. a firewall appliance), > >>> and nobody will find out about that fact. > >> Now you got it! GPL is about forcing people to do what /you/ want and BSD is > >> about letting them do what /they/ want. > > Licensing is about choosing - a main criteria of a free society. > > A developer is free to even keep his sources closed, to release > > them as GPL v2 or v3, or as BSDL (or choose from other licenses, > > or even write his own). > > > > In the next step, licenses have impact on how sources can be used. > > As I did explain, GPLv3 code may be problematic in this regards in > > certain environments. It may perfectly fit in others. As long as > > there's an agreement of the users of such source to accept the > > license, it's okay. > > > > What's _not_ okay is when the license forces you to do something > > you don't want to do, or simply can't do. > > > > > > > >> Let's see if you can guess which one > >> of those licenses is about freedom. Hint: freedom is not defined as forcing > >> people to do what you want. > > If people don't do what I want, they're limiting my freedom. :-) > > > > Seriously, you should pay more attention to what I wrote. Even > > though English is not my native language, I try to be as precise > > as possible, and if I can't do that (because a lack of knowledge, > > because of assumptions or deduction), I make clear that it is not > > the case. Hint: Read carefully: "I think", "as far as I know" or > > similar formulas are an indicator. > > > > Finally: Insulting me is not a way to go. It shows that you don't > > value the freedom of speech. Of course you are free to say whatever > > you want. But as soon as you insult people and limit their freedom, > > maybe even their right (moral right, not law) to have a polite and > > normal discussion on this list, you're not any better than the > > communists you hate that much. > > > > > People like that have a very-very skewered views on freedom ... One can > say hypocritical and immature I assume it's just an aspect of "still being too young" in regards of missing the difference between freedom and anarchy: the right to extend one's freedom is limited as soon as it limits the freedom of others. Maybe another aspect is the lack of discussion culture and the proper use of means of language. You often find such behaviour among school children of the lower grades. Using words without knowing their meaning is very typical for people in puberty. :-) Okay, to try to come back on topic, especially regarding the use of CLANG as a system compiler: I recently read the following interesting article which I want to throw into the discussion: John Regehr: The Little C Function From Hell http://blog.regehr.org/archives/482 It's more a minor observation than an evaluation of CLANG, but this article shows a significant change of how CLANG handles (char) meeting it's margin CHAR_MAX vs. (int) in a C function call. The impressing thing here is that CLANG 2.7 vs. rev. 126534 seems to bring a massive change on how the compiler handles certain boundaries and implicit type conversions. I _may_ assume that this is something "quite normal" during the evolution and improvement of a compiler, but it could become critical when used at system level. If FreeBSD chooses CLANG as the default system compiler and the primary compiler for ports (instead of sticking with the "well proven", but old GCC, and _not_ moving to a newer GPLv3 GCC), I hope the performed tests have made sure that the new compiler will work properly in all imaginable cases. Finally, the article illustrates that the depicted bug has been corrected in LLVM/CLANG within 24 hours, which is a good thing, and it emphasizes _quality_ of the product, which is the right attitude in my opinion. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kdk at daleco.biz Tue Jun 19 22:53:28 2012 From: kdk at daleco.biz (Kevin Kinsey) Date: Tue Jun 19 22:53:34 2012 Subject: An idea I have! In-Reply-To: <4FDFEAAE.7090807@comcast.net> References: <4FDFEAAE.7090807@comcast.net> Message-ID: <20120619224028.GA73113@rootbsd.daleco.biz> On Mon, Jun 18, 2012 at 10:57:50PM -0400, Allen wrote: > Hello all! > > So, I'm sitting here watching True Blood, and also checking my Email, > and updating my Ports, and a thought hits me; Wouldn't it be a cool way > to do FreeBSD Advocacy, by making a BSD based band??? > > And the name would be so simple! "The BSD Boys" !! (Yea I know, BSD has > been sued enough lol, but come on, you have to admit that "Beastie" as a > mascot, the name was chosen and meant to be pronounced "BSD" because > "Beastie" sort of sounds like that when said out loud. > > I could even try writing a song like "BSD Licensed to Init" or something > else moderately funny ;) Ohh!!! "License to Kill -9" ;) > > I know some of this is just silly and all, but in my experience, most of > you have a very good sense of humor, and it's almost 11 PM right now, > and I have to get up for work at 1:30 AM, so, between the no sleep > thing, and me having to much to do right now, I needed a little break, > and, well, I like humor, and making people laugh. > > Of course, this COULD actually be a neat idea if done right lol. > Anyway, I Hope someone gets a good laugh out of this. I'm generally > actually pretty good with coming up with ideas, as I'm usually pretty > creative for the most part, and, well, what can I say? I'm sitting here > in one of my Christmas Presents (Oldschool FreeBSD "Power to Serve" Tee > Shirt) and I thought "Hey, I wonder if I can try this out". Anyway, I > can probably come up with way more than this, and if anyone likes it, or > thinks it's funny, I'll try more :) > > If nothing else, I Hope it gives someone a laugh, > > -Allen I did smile, for sure. Do you suppose we could have grog@ on bassoon? Slightly more seriously, look WAY back in the archives (well, less than 15 years, more than 5) and see if you can find W. Palfreman's take on the Beatles "Let it Be". "BSD, BSD, BSD, yeah, BSD ... there will be an answer..." I don't know if I could perform with such a group, but I'd be interested in helping produce the studio work. Unfortunately, my audio box runs Windows. Win98, AAMOF. My synth is on its last legs, too. Kevin Kinsey PS > I found it for ya: http://lists.freebsd.org/pipermail/freebsd-chat/2004-March/002195.html From dmtilbrook at gmail.com Wed Jun 20 00:52:59 2012 From: dmtilbrook at gmail.com (David Tilbrook) Date: Wed Jun 20 00:53:06 2012 Subject: Attaching a monitor via vga Message-ID: I have a thinkpad t61p running freebsd9.0. The window size is 1680x1050 -- a reasonable size -- but the screen itself is 38cm. (15") which is irritatingly small for my old eyes. So I want to attach an external monitor via a vga cable, which I have been doing with my RedHat thinkpad A31P for years. I tried attaching Asus VE228H (1920x1080) but it would display only part of the window (the top-left corner). I get a similar behaviour with a Samsung SyncMaster. When I tried to xinit with the monitor attached, it displays an even smaller part of the screen. (On my previous thinkpad with a Samsung, to get a reasonable full window I had to unplug the vga, start xinit, and then plug in the vga, but I can live with that.) My questions: 1) What can I do to display the whole window on an external monitor? 2) Is there a monitor out there that would better support such use? 3) Would a Samsung T220HD 22" which claims to support 1680x1050 work, and is there someone in Toronto who sells it and would let me test it? (Craigs list doesn't qualify). -- david From erichfreebsdlist at ovitrap.com Wed Jun 20 02:25:12 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Wed Jun 20 02:25:20 2012 Subject: Attaching a monitor via vga In-Reply-To: References: Message-ID: <201206200922.44032.erichfreebsdlist@ovitrap.com> Hi, On Wednesday 20 June 2012 07:52:58 David Tilbrook wrote: > I have a thinkpad t61p running freebsd9.0. The window size is 1680x1050 > -- a reasonable size -- but the screen itself is 38cm. (15") which is > irritatingly > small for my old eyes. > yeah, the age. > So I want to attach an external monitor via a vga cable, which I have been > doing with my RedHat thinkpad A31P for years. Do you still have access to the xorg.conf? Try to set a single configuration which only supports the native resolution of that screen. You also could have a test with a normal PC and the monitor. Erich From perrin at apotheon.com Wed Jun 20 03:08:55 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 03:09:10 2012 Subject: Why Clang In-Reply-To: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> References: <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> Message-ID: <20120620030854.GA15821@hemlock.hydra> On Tue, Jun 19, 2012 at 10:06:49PM +0200, Anonymous Remailer (austria) wrote: > > > > GPL protects the freedom of the programmer who licensed his > > code under those licenses: He wants it to be free for use, > > but not to be turned into closed source products. > > What a lying sonofabitch. That is not called freedom. That is called > "forcible, viral open source". I think we can all see the difference. Open > your motherfucking eyes, communist goofball... Give him a break. His heart is in the right place, though his choice of phrasing may have been imperfect in this case. He was, it seems to me, trying to take an even-handed approach to describing the positions of both sides of a contentious matter, and letting the reader make up his or her own mind about it. In fact, if there's any bias showing in what he said, I think it leans toward copyfree licenses like the various BSD licenses, rather than toward copyleft licenses such as the various GNU licenses. There are better targets than Polytropon for your ire. > > > > A programmer who does not want to raise this barrier will > > typically use the BSD license which is "more free". > > No, it's just plain "free." This would seem like a much more reasonable statement if it was not preceded by your immediately prior invective. > > > > BSDL in opposite is often criticized a "rape me license". > > No, it is not, except perhaps by lying atheist Marxist bastards and his > religious adherents. Yes, it is often criticized that way -- by people who, in my considered opinion, have their heads up their asses -- and the fact that Polytropon pointed out this simple fact does not make him a bad person. It's also worth noting that a lot of the people who make such ridiculous comments about copyfree licenses are often not atheists, Marxists, or bastards. They're often just nuts. . . . and what's wrong with being an atheist? I'm not an atheist (more of an agnostic Taoist), but if someone wants to believe he or she has absolute knowledge of the (non-)existence of any god, that's his or her prerogative. I would judge such a person no more harshly than a devoted monotheist. Your beliefs are your own affair; only your behavior, as it affects other people, is of particular concern to me. In the particular venue of a FreeBSD mailing list, my interest narrows further to exclude things that have nothing to do with FreeBSD and associated software, community, and so on. I don't see how "atheist" is a meaningful insult, especially when we're talking about software, or how it can be gleaned from someone's licensing preferences. > > > > It explicitely (!) allows creating derivates in a closed > > source manner. This means that parts of BSD licensed code > > can be a key component in a proprietary closed source > > product that is for sale (e. g. a firewall appliance), > > and nobody will find out about that fact. > > Now you got it! GPL is about forcing people to do what /you/ want and BSD is > about letting them do what /they/ want. Let's see if you can guess which one > of those licenses is about freedom. Hint: freedom is not defined as forcing > people to do what you want. This would probably be a better-received statement if the rest of your commentary in the same email was not mostly about (probably entirely inaccurate) insults flung at someone for failing to use the specific phrasing you prefer when referring to the crazies who believe using software distributed under a copyfree license is an act of pure evil. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From olivares14031 at gmail.com Wed Jun 20 03:10:08 2012 From: olivares14031 at gmail.com (Antonio Olivares) Date: Wed Jun 20 03:10:14 2012 Subject: converting mpost(ed) files individually to eps In-Reply-To: References: <201206190110.q5J1AorD015312@mail.r-bonomi.com> <201206190130.q5J1UQ1C015381@mail.r-bonomi.com> Message-ID: On Mon, Jun 18, 2012 at 10:32 PM, Warren Block wrote: > On Mon, 18 Jun 2012, Antonio Olivares wrote: > >> But I get error in line 16: >> >> $ ./mpost-eps webfig >> ./mpost-eps: 16: Syntax error: word unexpected >> >> ?for file in file.* ?do > > > Either put the "do" on the next line, or put a ; before it: > > > for file in file.* ; do Moving the do to the next line does it :) Thanks for helping! Regards, Antonio From perrin at apotheon.com Wed Jun 20 03:28:25 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 03:28:40 2012 Subject: Attaching a monitor via vga In-Reply-To: References: Message-ID: <20120620032824.GD15821@hemlock.hydra> On Tue, Jun 19, 2012 at 08:52:58PM -0400, David Tilbrook wrote: > I have a thinkpad t61p running freebsd9.0. The window size is 1680x1050 > -- a reasonable size -- but the screen itself is 38cm. (15") which is > irritatingly > small for my old eyes. > > So I want to attach an external monitor via a vga cable, which I have been > doing with my RedHat thinkpad A31P for years. > > I tried attaching Asus VE228H (1920x1080) but it would display > only part of the window (the top-left corner). I get a similar behaviour > with a Samsung SyncMaster. > > When I tried to xinit with the monitor attached, it displays an even smaller > part of the screen. (On my previous thinkpad with a Samsung, to get a > reasonable full window I had to unplug the vga, start xinit, and then plug > in the vga, but I can live with that.) > > My questions: > > 1) What can I do to display the whole window on an external monitor? > 2) Is there a monitor out there that would better support such use? > 3) Would a Samsung T220HD 22" which claims to support 1680x1050 > work, and is there someone in Toronto who sells it and would let > me test it? (Craigs list doesn't qualify). You probably want to look into using the xrandr command to configure output for connected monitors. Try this first: xrandr --auto If that does not work, you may have to do something more sophisticated. For instance, I have a shell script that looks like this for when I connect my laptop to an external monitor: #!/bin/sh xrandr --auto xrandr --output LVDS1 --off xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync xrandr --addmode VGA1 1680x1050_60.00 xrandr --output VGA1 --mode 1680x1050_60.00 xli -onroot -border black -center /path/to/enso_16x9.png You should use this to find out the name of the display you identify in the --output line: xrandr -q You'll need to get information about your monitor's display parameters for the --newmode line, and the --addmode and --mode lines uses the same resolution string as in the --newmode line. The xli line is there just to re-apply my background image, because it gets a little out of whack when I change monitors like that. When I'm going to disconnect from the external monitor, I run "xrandr --auto" before disconnecting to get the laptop to recognize my laptop's built-in display again, then run "xrandr --auto" one more time after disconnecting the external monitor to get it to forget about the settings for the external monitor so my laptop display won't act "funny" because it "thinks" there's a larger external monitor still attached. I hope that helps. Let me know if you want any more information about how this works. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 04:26:21 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 04:26:28 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: i tested your test program, and in that case, contrary to testing common unix programs, difference is far higher showing gcc superiority. i did this test with FreeBSD 9 supplied clang and FreeBSD 9 supplied gcc. clearly shows that clang actually cannot do more agressive optimization (that trades space) at all, and at -O2 is far slower. produced: -rwxr-xr-x 1 tmp tmp 11168 20 cze 06:18 test.cc.O2 -rwxr-xr-x 1 tmp tmp 17024 20 cze 06:18 test.cc.O3 -rwxr-xr-x 1 tmp tmp 17024 20 cze 06:18 test.cc.O9 -rwxr-xr-x 1 tmp tmp 11096 20 cze 06:18 test.clang.O2 -rwxr-xr-x 1 tmp tmp 11096 20 cze 06:18 test.clang.O3 cc.O2: real 0m2.877s user 0m2.829s sys 0m0.030s cc.O3: real 0m2.142s user 0m2.131s sys 0m0.000s cc.09: real 0m2.071s user 0m2.054s sys 0m0.008s clang.O2: real 0m3.440s user 0m3.405s sys 0m0.018s clang.O3: real 0m3.217s user 0m3.205s sys 0m0.001s How about leaving politics and getting back to technical grounds? >From what i know now GPLv3 isn't really a problem for us, your may freely distribute binary only software compiled by latest gcc. From erichfreebsdlist at ovitrap.com Wed Jun 20 04:40:54 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Wed Jun 20 04:41:01 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: <201206201140.31525.erichfreebsdlist@ovitrap.com> Hi, On Wednesday 20 June 2012 11:26:13 Wojciech Puchar wrote: > How about leaving politics and getting back to technical grounds? what is the problem as long as gcc is in the ports tree? Erich From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 04:45:24 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 04:45:31 2012 Subject: Why Clang In-Reply-To: <20120620030854.GA15821@hemlock.hydra> References: <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <20120620030854.GA15821@hemlock.hydra> Message-ID: >>> but not to be turned into closed source products. >> >> What a lying sonofabitch. That is not called freedom. That is called >> "forcible, viral open source". I think we can all see the difference. Open >> your motherfucking eyes, communist goofball... > > Give him a break. His heart is in the right place, though his choice of GNU licence is nothing about freedom, it just says it is freedom. But what really is important for FreeBSD is if it can be used. IMHO nothing from GPLv3 prevents it, and it is no licence based reasons to use clang. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 04:46:21 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 04:46:29 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <201206201140.31525.erichfreebsdlist@ovitrap.com> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> <201206201140.31525.erichfreebsdlist@ovitrap.com> Message-ID: > >> How about leaving politics and getting back to technical grounds? > > what is the problem as long as gcc is in the ports tree? what is a problem as clang is in the ports tree? the problem is that these compilers are not 100% compatible and soon if clang will be default it will be not just easy to build freebsd with gcc. From amvandemore at gmail.com Wed Jun 20 04:57:39 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Jun 20 04:57:52 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: On Tue, Jun 19, 2012 at 11:26 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > i tested your test program, and in that case, contrary to testing common > unix programs, difference is far higher showing gcc superiority. > > i did this test with FreeBSD 9 supplied clang and FreeBSD 9 supplied gcc. > > clearly shows that clang actually cannot do more agressive optimization > (that trades space) at all, and at -O2 is far slower. > Yes, Clang in general produces slower binaries than gcc. Is that in dispute or something? Or is this just repetition in case we didn't hear you the first time? Try thinking of the transition as a step back to take many steps forward. Or just change your compiler. Complaining on this list is definitely the wrong place though. Those who have offended your sensibilities by moving to Clang don't live here. People have already done nice work on the benchmarks: http://blog.vx.sk/archives/25-FreeBSD-Compiler-Benchmark-gcc-base-vs-gcc-ports-vs-clang.html -- Adam Vande More From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 05:18:45 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 05:18:52 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: > Yes, Clang in general produces slower binaries than gcc. ?Is that in dispute or something? ?Or is this just repetition in case we > didn't hear you the first time? just yesterday i've heard lots of otherwise claim. > > Try thinking of the transition as a step back to take many steps forward. What exactly step forward it means? For now i see ONLY politics and aggression after pointing out facts. This doesn't look like serious behaviour of serious people. > ?Or just change your compiler. Will i be able to compile FreeBSD base system with gcc after some time? not sure. From erichfreebsdlist at ovitrap.com Wed Jun 20 05:31:59 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Wed Jun 20 05:32:06 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <201206201140.31525.erichfreebsdlist@ovitrap.com> Message-ID: <201206201231.52725.erichfreebsdlist@ovitrap.com> Hi, On Wednesday 20 June 2012 11:46:20 Wojciech Puchar wrote: > >> How about leaving politics and getting back to technical grounds? > > > > what is the problem as long as gcc is in the ports tree? > > what is a problem as clang is in the ports tree? for the port? It does not make a difference. > > the problem is that these compilers are not 100% compatible and soon if > clang will be default it will be not just easy to build freebsd with gcc. For the kernel? How old is the gcc which comes with the kernel? Why are newer versions not in the base system? Erich From joe.gain at gmail.com Wed Jun 20 06:02:54 2012 From: joe.gain at gmail.com (Joe Gain) Date: Wed Jun 20 06:03:01 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: On Wed, Jun 20, 2012 at 7:18 AM, Wojciech Puchar wrote: >> Yes, Clang in general produces slower binaries than gcc. ?Is that in >> dispute or something? ?Or is this just repetition in case we >> didn't hear you the first time? > > > just yesterday i've heard lots of otherwise claim. > > >> >> Try thinking of the transition as a step back to take many steps forward. > > > What exactly step forward it means? > For now i see ONLY politics and aggression after pointing out facts. > > This doesn't look like serious behaviour of serious people. > I think that this is a more complicated decision than just choosing the 'fastest' compiler. There are many other variables involved, and of course the decision has a political dimension. Most things do. Diversity and competition are nice attributes to have in a system. Having alternatives allows users choose a compiler based on what criteria they think are important. Users also benefit from the experience, but more importantly, for such non-trivial projects as LLVM, different designs are interesting in themselves. I personally, am looking forward to seeing what the lldb debugger can do. Historically, some of the most important software projects have been themselves disasters, but they've lead people to change the way they think about a problem and lead to later better solutions-- for example MULTICS ;) This is part of the development process. And this can't just happen in a laboratory. LLVM needs projects like FreeBSD to test it and simply be involved. I notice that bitrig, which recently forked from OpenBSD, and which want to be a more progressive operating system will also be swapping to LLVM and Clang. We don't know what possible benefits there will be from the LLVM project. But there will be some. I was a bit frustrated about being stuck with gcc4.2 for a while, and was trying to compile as many ports as possible using gcc4.6 (FreeBSD 8.2). There seemed to be some improvement in performance, but now I don't bother, world is compiled with Clang and the ports are compiled with gcc4.2 and everything works (most of the time.) I'm satisfied with performance. I don't really understand your concerns. I mean unless you're a fairly radical environmentalist and are really concerned about saving every clock-cycle, running a bit slower really isn't that much of a problem most of the time. > >> ?Or just change your compiler. > > Will i be able to compile FreeBSD base system with gcc after some time? > not sure. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) From amvandemore at gmail.com Wed Jun 20 06:12:02 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Jun 20 06:12:24 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: On Wed, Jun 20, 2012 at 12:18 AM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > Yes, Clang in general produces slower binaries than gcc. Is that in >> dispute or something? Or is this just repetition in case we >> didn't hear you the first time? >> > > just yesterday i've heard lots of otherwise claim. > > > >> Try thinking of the transition as a step back to take many steps forward. >> > > What exactly step forward it means? > These are a few: http://clang.llvm.org/comparison.html#gcc And the performance overall in clang is gaining more rapidly than gcc. At it's present rate, it won't be long until your are complaining for clang to be the default if that is your primary objection. Other factors have pushed this change into motion sooner than perhaps desirable for some. However, it is inevitable given the licensing barriers and the project's long term goals. Eliminating, or at least not being dependent on a GNU toolchain. GPL v3 brings with it a whole host problems such as: http://www.tech-faq.com/linux-licensing-in-conflict-with-secure-boot-support.html Those licensing issues may not be an issue for you, but they are for many of the targets FreeBSD wishes to serve so keeping the base system as unpolluted as possible is important. -- Adam Vande More From bc979 at lafn.org Wed Jun 20 06:12:43 2012 From: bc979 at lafn.org (Doug Hardie) Date: Wed Jun 20 06:12:59 2012 Subject: Problem with freebsd-update Message-ID: I tried to update an amd64 FreeBSD 9.0 p0 system via freebsd-update tonight. It fetched everything fine. However, the install just hung after about 10 minutes. The 2 sh processes are basically doing nothing. Not consuming any processor time and not doing any I/O. I killed it and tried another install. Same thing. Tried a rollback. Same thing. The system still runs mostly. Top takes about 5 minutes before it produces any output. It shows basically nothing running. I really don't want to reinstall again as the system has a lot of files customized including many ports. Is there any way to recover this? From fernando.apesteguia at gmail.com Wed Jun 20 06:13:41 2012 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Wed Jun 20 06:13:48 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> Message-ID: On Tue, Jun 19, 2012 at 9:58 PM, Wojciech Puchar wrote: >>> >>> Does GPLv3 does force programs you compile with gcc to be GPLed? >> >> >> As far as I know, the main difference is that the GPLv3 is >> often called a "viral license". Software linking against v3 >> libraries and so maybe programs compiled by a v3 compiler >> will have - according to the license - to be released as >> v3 too. > > This word: "MAYBE" is most crucial here. I don't see how GPLv3 is viral. Here[1] we can read a program linking agains a gpl v3 library should be released under the gplv3 too. However, the only concern would be when the program is implicitly linked against libgcc right? Well, there's even an exception[2] for this. I'm not saying moving to clang is a bad idea. I just don't think the viral license argumentation is strong enough. Can anyone provide an example of viral propagation of the license if we compile the base system with a gpl v3 gcc? Thanks. [1] http://www.gnu.org/licenses/gpl-faq.en.html#IfLibraryIsGPL [2] http://www.gnu.org/licenses/gpl-faq.en.html#LibGCCException > > wouldn't it be just simplest solution to ask GNU leader for clearing it out? > > i wouldn't be surprised that FreeBSD team would decide to go back to gcc > soon. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 06:54:33 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 06:54:40 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> Message-ID: > Here[1] we can read a program linking agains a gpl v3 library should be released > under the gplv3 too. However, the only concern would be when the program is > implicitly linked against libgcc right? Well, there's even an > exception[2] for this. > this is exactly how i understand that. Anyway DragonFly BSD developers (which is BSD licenced) don't have any problems and just use latest gcc. > I'm not saying moving to clang is a bad idea. I am saying this. Moving to worse compiler is a definitely bad idea. This is not a place of politics. As GPLv3 doesn't prevent it from being used in FreeBSD and is better - it should be used. It's simple. If clang would be better - it should be used. > Can anyone provide an example of viral propagation of the license if we compile > the base system with a gpl v3 gcc? > there are none probably. Before actually testing it i believed we move to clang because it is better compiler AND and supported a move. Good lesson to test first and don't believe, even with FreeBSD. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 06:59:50 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 06:59:56 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: > long term goals. Eliminating, or at least not being dependent on a GNU > toolchain. GPL v3 brings with it a whole host problems such as: As you already know i don't like GPL very much. As i already said for me GNU is computer communism. But like or not like, i don't prefer my likeness above facts and FreeBSD performance. And the facts are against clang. BUT PLEASE stop offtopic explaining about secure boot problems and answer one clear question: What exactly GPLv3 have wrong that we can use gcc in longer term for FreeBSD system? OK? Can you just answer that simple question clearly? From leslie at eskk.nu Wed Jun 20 07:01:10 2012 From: leslie at eskk.nu (Leslie Jensen) Date: Wed Jun 20 07:01:17 2012 Subject: freebsd-update install question In-Reply-To: <019301cd4a2d$8cf5dfc0$a6e19f40$@shaw.ca> References: <4FD9B2D3.5020409@eskk.nu> <4FD9BA6C.70404@infracaninophile.co.uk> <4FD9BD3D.2090601@eskk.nu> <019301cd4a2d$8cf5dfc0$a6e19f40$@shaw.ca> Message-ID: <4FE17525.9030801@eskk.nu> Dale Scott skrev 2012-06-14 14:59: >> Should I install the libc souces? > > I had this error when upgrading 8.x (8.1 to 8.2?), and solved it by creating > the directory only (actual sources not required). I recall someone had > posted this solution to the list at the time. > > Regards, > Dale > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I followed your suggestion and created the directory. I then installed the latest update with freebsd-update and it went well without any warnings. Thanks for the advice :-) /Leslie From amvandemore at gmail.com Wed Jun 20 07:10:20 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Jun 20 07:10:28 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: On Wed, Jun 20, 2012 at 1:59 AM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > > OK? Can you just answer that simple question clearly? > Yes Wojciech, I can attempt an answer for you. Pay attention, this gets very complex. The decision to move to Clang was motivated by what is best for the project, and not what is best for Wojciech. -- Adam Vande More From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 08:24:03 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 08:24:10 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* Message-ID: i have samba server and few virtualbox sessions using vboxnet which is started by /usr/local/etc/rc.d/vboxheadless i want samba to be started AFTER vboxheadless as the latter configures vboxnet0 automatically when started, and samba do bind to vboxnet0. so i appended vboxheadless to REQUIRE: line in /usr/local/etc/rc.d/samba because vboxheadless is a word after PROVIDE: in /usr/local/etc/rc.d/vboxheadless script yet - samba still is started before vboxheadless. what i am missing? From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 08:25:07 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 08:25:14 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: > > > Yes Wojciech, I can attempt an answer for you. ?Pay attention, this gets very complex. > The decision to move to Clang was motivated by what is best for the project, and not what is best for?Wojciech. still not stopped personal attacks (last part of last sentence) but lets forget. So please give an answer - not summary. From c.kworr at gmail.com Wed Jun 20 08:29:19 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Wed Jun 20 08:29:26 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> Message-ID: <4FE189D9.4040404@gmail.com> Wojciech Puchar wrote: >> Here[1] we can read a program linking agains a gpl v3 library should >> be released >> under the gplv3 too. However, the only concern would be when the >> program is >> implicitly linked against libgcc right? Well, there's even an >> exception[2] for this. >> > this is exactly how i understand that. Anyway DragonFly BSD developers > (which is BSD licenced) don't have any problems and just use latest gcc. > >> I'm not saying moving to clang is a bad idea. > > I am saying this. Moving to worse compiler is a definitely bad idea. > > This is not a place of politics. As GPLv3 doesn't prevent it from being > used in FreeBSD and is better - it should be used. It's simple. > > If clang would be better - it should be used. > >> Can anyone provide an example of viral propagation of the license if >> we compile >> the base system with a gpl v3 gcc? >> > there are none probably. > > Before actually testing it i believed we move to clang because it is > better compiler AND and supported a move. Good lesson to test first and > don't believe, even with FreeBSD. The bad thing about GPLv3 is that if anyone commits any code under this license into the tree vendors that use our code base for making their own OSes will ditch FreeBSD as they can be sued by FSF. Juniper for example. It would be wise to listen to their point of view on GPLv3. As for DragonflyBSD they AFAIK are taking the path of fixing world to build on any stock compiler as we currently do. And they have no such user base to support. FreeBSD is heading the right way: bringing BSD toolchain to the world and fixing world compilation with gcc46 from ports would give anyone a choice on which compiler to use keeping GPL out of tree. -- Sphinx of black quartz judge my vow. From fred.morcos at gmail.com Wed Jun 20 08:45:16 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Wed Jun 20 08:45:30 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: The answer is: 1. gcc will still be available through the ports system. 2. The move to clang/llvm as a default compiler will reduce the amount of GPL code in the base system, eventually reducing distribution issues (especially for 3rd parties). 3. clang/llvm provides better error and warning messages, as well as good static code analysis, which helps reduce some classes of bugs and eventually will result in a more reliable FreeBSD system. 4. clang/llvm is improving quickly. 5. clang/llvm is more modular than gcc, although there are plans for gcc to become as modular, it will take time. 6. gcc produces faster code, but clang/llvm will eventually (soon enough) get there. 7. From the reasons above, it makes sense to complete a task sooner rather than later, especially that clang/llvm isn't showing any signs of weakness (lack of development power, etc). 8. There might be more reasons for or against, but I couldn't think of any. On Wed, Jun 20, 2012 at 10:25 AM, Wojciech Puchar wrote: >> >> >> Yes Wojciech, I can attempt an answer for you. ?Pay attention, this gets >> very complex. >> The decision to move to Clang was motivated by what is best for the >> project, and not what is best for?Wojciech. > > still not stopped personal attacks (last part of last sentence) but lets > forget. > > So please give an answer - not summary. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From matthew at FreeBSD.org Wed Jun 20 08:45:20 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Wed Jun 20 08:45:32 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: References: Message-ID: <4FE18D93.4060809@FreeBSD.org> On 20/06/2012 09:24, Wojciech Puchar wrote: > i have samba server and few virtualbox sessions using vboxnet which is > started by /usr/local/etc/rc.d/vboxheadless > > i want samba to be started AFTER vboxheadless as the latter configures > vboxnet0 automatically when started, and samba do bind to vboxnet0. > > so i appended vboxheadless to REQUIRE: line in /usr/local/etc/rc.d/samba > because vboxheadless is a word after PROVIDE: in > /usr/local/etc/rc.d/vboxheadless script > > yet - samba still is started before vboxheadless. > > what i am missing? Create a new file in /usr/local/etc/rc.d/precedence with the following contents: #!/bin/sh # # Persuade vboxheadless to start before samba. # PROVIDE: precedence # REQUIRE: vboxheadless # BEFORE: samba : Make it executable. Note -- the ':' does seem to be necessary. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120620/207061af/signature.pgp From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 08:51:05 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 08:51:11 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: <4FE18D93.4060809@FreeBSD.org> References: <4FE18D93.4060809@FreeBSD.org> Message-ID: > > Create a new file in /usr/local/etc/rc.d/precedence with the following > contents: > > #!/bin/sh > # > # Persuade vboxheadless to start before samba. > > # PROVIDE: precedence > # REQUIRE: vboxheadless > # BEFORE: samba > > : > > Make it executable. Note -- the ':' does seem to be necessary. > thank you for help. I will test it when being on place and could reboot. But still - do you know why it is necessary? cannot i just add BEFORE: samba in vboxheadless? From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 08:54:38 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 08:54:46 2012 Subject: Why Clang In-Reply-To: <4FE189D9.4040404@gmail.com> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <4FE189D9.4040404@gmail.com> Message-ID: > > The bad thing about GPLv3 is that if anyone commits any code under this > license into the tree vendors that use our code base for making their own > OSes will ditch FreeBSD as they can be sued by FSF. Juniper for example. It > would be wise to listen to their point of view on GPLv3. not really understood this. -------- if anyone commits any code under this license into the tree -------- into what tree? gcc tree or FreeBSD tree? FreeBSD has it's own copy of gcc so any change in gcc doesn't automatically change FreeBSD code and licencing. Can you explain it more precisely privately? thanks > FreeBSD is heading the right way: bringing BSD toolchain to the world and > fixing world compilation with gcc46 from ports would give anyone a choice on > which compiler to use keeping GPL out of tree. the right way is to use best performing tools as long as no law problems exist. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 09:09:25 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 09:09:32 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: > 1. gcc will still be available through the ports system. As well as clang is available in ports. not an argument. > 2. The move to clang/llvm as a default compiler will reduce the amount > of GPL code in the base system, eventually reducing distribution > issues (especially for 3rd parties). true. But JUST reducing GPL code should be a target per se. FreeBSD is about performance and quality not politics or religion. We don't want GPL code because it prevents doing binary only distributions and closed source derivatives, which means reducing FREEDOM. But - if you do closed source derivatives you don't need to include C compiler to run it. And you may allow C compiler separately with source included. No problem. > 3. clang/llvm provides better error and warning messages, as well as > good static code analysis, which helps reduce some classes of bugs and > eventually will result in a more reliable FreeBSD system. as with 1 - you may use clang when developing. > 4. clang/llvm is improving quickly. When/If it WILL actually improve to be better than gcc it should be imported to FreeBSD. not sooner. > 5. clang/llvm is more modular than gcc, although there are plans for > gcc to become as modular, it will take time. Doesn't matter how it is written, but how it performs. > 6. gcc produces faster code, but clang/llvm will eventually (soon > enough) get there. This is your prediction. Not definite fact, mine and other predictions are different. > 7. From the reasons above, it makes sense to complete a task sooner > rather than later, especially that clang/llvm isn't showing any signs > of weakness (lack of development power, etc). NOBODY prevent you and FreeBSD developers to fix things already - so FreeBSD and ports would compile with both compilers. Actually it is good to fix it already, as making programs compile with both means usually fixing non-portability bug which would help using third compiler that may possibly emerge. But this DO NOT require clang to be a part of main system. As well as making it default. > 8. There might be more reasons for or against, but I couldn't think of any. Against: All "for" arguments assumes clang WILL be better. This is a change as less than 2 days before it was stated to already be better. As a comparision - DragonFly BSD is stated to have better ideas that would result in better performing system in a future. But FOR NOW it is much worse performer than FreeBSD that's why i (and lots of other people) does not switch to DragonFly but of course will when(and if) DragonFly BSD will actually be better. And i don't really think this "IF" will happen at all, but i wish to DragonFly BSD i am wrong. Same should be used for clang. AS LONG as it is not better it should not be imported into base system or worse - used as default. Making decision based on wishes and personal likes instead of technical facts isn't something that anyone should be proud about. As for your words about doing decision good for FreeBSD, not me - it is pure nonsense attacks because anything that is good for FreeBSD quality is good for me, and the reverse. The decision of switching to clang now it shows that ideologic and "religious" arguments won over technical arguments. The agressive and data-manipulationg reactions of many people on that list shows that above sentence is true. This IMHO much change. From matthew at FreeBSD.org Wed Jun 20 09:09:55 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Wed Jun 20 09:10:02 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: References: <4FE18D93.4060809@FreeBSD.org> Message-ID: <4FE1935C.60902@FreeBSD.org> On 20/06/2012 09:51, Wojciech Puchar wrote: >> >> Create a new file in /usr/local/etc/rc.d/precedence with the following >> contents: >> >> #!/bin/sh >> # >> # Persuade vboxheadless to start before samba. >> >> # PROVIDE: precedence >> # REQUIRE: vboxheadless >> # BEFORE: samba >> >> : >> >> Make it executable. Note -- the ':' does seem to be necessary. >> > thank you for help. I will test it when being on place and could reboot. > > But still - do you know why it is necessary? > > cannot i just add BEFORE: samba in vboxheadless? > Yes, that should work too. However any time you update vboxheadless you'll have to remember to add that modification back to the rc script. Using a separate file stops that being a problem. If you want to test that your changes are having the desired effect without having to reboot: # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* which will print out the order all the rc-scripts would be run. (It includes all the scripts, not just the ones enabled in /etc/rc.conf, but that shouldn't matter.) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120620/92e40b8d/signature.pgp From c.kworr at gmail.com Wed Jun 20 09:23:24 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Wed Jun 20 09:23:33 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <4FE189D9.4040404@gmail.com> Message-ID: <4FE19687.80602@gmail.com> Wojciech Puchar wrote: >> >> The bad thing about GPLv3 is that if anyone commits any code under >> this license into the tree vendors that use our code base for making >> their own OSes will ditch FreeBSD as they can be sued by FSF. Juniper >> for example. It would be wise to listen to their point of view on GPLv3. > > not really understood this. > > -------- > if anyone commits any code under this > license into the tree > -------- > into what tree? gcc tree or FreeBSD tree? I was talking about FreeBSD sources here. > FreeBSD has it's own copy of gcc so any change in gcc doesn't > automatically change FreeBSD code and licencing. FreeBSD has old and abandoned copy of gcc, the last version available under GPLv2 license. >> FreeBSD is heading the right way: bringing BSD toolchain to the world >> and fixing world compilation with gcc46 from ports would give anyone a >> choice on which compiler to use keeping GPL out of tree. > > the right way is to use best performing tools as long as no law problems > exist. There can be different ways for selecting best tools. Someone needs better performance while other one state that stability is a must. For now clang is a choice for stability and not the performance. Yet due to the rapid development this is subject to change while gcc is not. Think of it like we are changing a car that shines for the one that can move. -- Sphinx of black quartz judge my vow. From jerry at seibercom.net Wed Jun 20 09:25:31 2012 From: jerry at seibercom.net (Jerry) Date: Wed Jun 20 09:25:46 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: References: <4FE18D93.4060809@FreeBSD.org> Message-ID: <20120620052526.08c1a5b1@scorpio> On Wed, 20 Jun 2012 10:51:04 +0200 (CEST) Wojciech Puchar articulated: > > Create a new file in /usr/local/etc/rc.d/precedence with the > > following contents: > > > > #!/bin/sh > > # > > # Persuade vboxheadless to start before samba. > > > > # PROVIDE: precedence > > # REQUIRE: vboxheadless > > # BEFORE: samba > > > > : > > > > Make it executable. Note -- the ':' does seem to be necessary. > > > thank you for help. I will test it when being on place and could > reboot. > > But still - do you know why it is necessary? > > cannot i just add BEFORE: samba in vboxheadless? I had a similar problem about two years ago. One program required program "X" to load prior to it while program "Y" wanted to load it after it. It was causing a conflict. It is slightly difficult to explain in a few words. I had to manually check every file in the /usr/local/etc/rc.d directory to straighten it out. I believe that there is a way to have all of that information displayed without going through that much intervention; however, I do not remember how to do it at the moment. Anyway, in the "samba" file, it has this notation: # PROVIDE: nmbd smbd I don't know if that makes any difference or not. I have never had to move the starting order of samba around. I do know that in other applications, they appear to have their name in the "PROVIDE" line. For example, from the Postfix script: # PROVIDE: postfix mail -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From proace at gmail.com Wed Jun 20 09:27:58 2012 From: proace at gmail.com (ProAce) Date: Wed Jun 20 09:28:21 2012 Subject: packet filter problem on transparent firewall using bridge and pf Message-ID: I have some trouble with pf on freebsd bridge. Network topology: ( untrust ) -- { em0 , bridge0 , em1 } -- ( trust ) Bridge Network: 10.1.1.0/24 bridge0 IP: 10.1.1.1 ( freebsd's ip ) default gw: 10.1.1.254 ( in untrust area ) server: 10.1.1.101 ~ 200 ( in trust area ) pf.conf on freebsd serv1="10.1.1.101" client1="10.1.6.73" block in all block out all pass in quick on lo0 all pass out quick on lo0 all pass in quick on bridge0 from 10.1.1.0/24 to any pass out quick on bridge0 from 10.1.1.0/24 to any pass in quick on bridge0 from $client1 to 10.1.1.1 pass in quick on bridge0 from $client1 to $serv1 When I turn on the pf, I test some connection status. 1. client1 cannot connect to serv1. 2. gw cannot connect to serv1 3. client1 connect to freebsd ( 10.1.1.1 ) successfully 4. gw connect to freebsd ( 10.1.1.1 ) successfully If I turn off the pf, all conneciton test are success. What's wrong with the pf rules? The following is some description of the bridge topology. Freebsd and server are vmware guest in the vmware ESXi. The ESXi has two virtual switchs, vSw1: connect to untrust vSw2: interconnect with freebsd and servers freebsd has tow vNICs, em0: connect to vSw1 em1: connect to vSw2. servers has only one vNIC, em0: connect to vSw2 freebsd's rc.conf cloned_interfaces="bridge0" ifconfig_bridge0="inet 10.1.1.1 netmask 255.255.255.0 addm em0 addm em1 up" ifconfig_em0="up" ifconfig_em1="up" pf_enable="YES" pf_rules="/etc/pf.conf" freebsd's sysctl net.link.bridge.ipfw: 0 net.link.bridge.inherit_mac: 0 net.link.bridge.log_stp: 0 net.link.bridge.pfil_local_phys: 0 net.link.bridge.pfil_member: 1 net.link.bridge.pfil_bridge: 1 net.link.bridge.ipfw_arp: 0 net.link.bridge.pfil_onlyip: 1 From c.kworr at gmail.com Wed Jun 20 09:46:49 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Wed Jun 20 09:46:56 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: <4FE19BFC.7030304@gmail.com> Wojciech Puchar wrote: >> 5. clang/llvm is more modular than gcc, although there are plans for >> gcc to become as modular, it will take time. > > Doesn't matter how it is written, but how it performs. That's a hard one. I remember an error in gcc loop optimizer which makes gcc produce SSE2 opcodes for pre-SSE2 athlon chips. Due to gcc internal design such errors are often seen and almost never patched as you should have eternal knowledge of gcc code. gcc's bugtraq is just a cemetery. Opposing to this ones most fixes to clang touch minimal source lines and minimal set of files. > Same should be used for clang. AS LONG as it is not better it should not > be imported into base system or worse - used as default. And why you think it's not better then gcc? With gcc I can result in code that will hang locking some parts of system forever, yet with clang the code will break predictably yielding a core and a point on where the debugging should start. That was long ago and I can't correctly remember the PR's are I noted this but that was long ago and helped me to debug ZFS issues a lot. The code that runs faster is not the best one. The code that is predictable and runs as fast as possible is. -- Sphinx of black quartz judge my vow. From dmtilbrook at gmail.com Wed Jun 20 10:04:12 2012 From: dmtilbrook at gmail.com (David Tilbrook) Date: Wed Jun 20 10:04:20 2012 Subject: where's ppmtoxpm Message-ID: I have searched for ppmtoxpm in ports and in FreeBSD Search Services to no avail. ppmtoxpm converts a portable pixmap into an X11 pixmap. Is there a freebsd equivalent or alternative? -- david From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 10:10:09 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 10:10:15 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: <4FE1935C.60902@FreeBSD.org> References: <4FE18D93.4060809@FreeBSD.org> <4FE1935C.60902@FreeBSD.org> Message-ID: >>> #!/bin/sh >>> # >>> # Persuade vboxheadless to start before samba. >>> >>> # PROVIDE: precedence >>> # REQUIRE: vboxheadless >>> # BEFORE: samba >>> >>> : >>> >>> Make it executable. Note -- the ':' does seem to be necessary. >>> >> thank you for help. I will test it when being on place and could reboot. >> >> But still - do you know why it is necessary? >> >> cannot i just add BEFORE: samba in vboxheadless? >> > > Yes, that should work too. However any time you update vboxheadless > you'll have to remember to add that modification back to the rc script. > Using a separate file stops that being a problem. now i understood completely. thank you From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 10:11:49 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 10:11:56 2012 Subject: where's ppmtoxpm In-Reply-To: References: Message-ID: > I have searched for ppmtoxpm in ports and in FreeBSD Search Services to > no avail. > > ppmtoxpm converts a portable pixmap into an X11 pixmap. > > Is there a freebsd equivalent or alternative? No equivalent just the same netpbm package /usr/ports/graphics/netpbm From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 10:14:11 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 10:14:18 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <4FE19BFC.7030304@gmail.com> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> <4FE19BFC.7030304@gmail.com> Message-ID: > > And why you think it's not better then gcc? because - as you already should know - test shows otherwise. As well as FreeBSD running predictable with gcc anyway. Still theory and ideology. From bonomi at mail.r-bonomi.com Wed Jun 20 10:15:10 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Jun 20 10:15:17 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: Message-ID: <201206201015.q5KAFKKj026496@mail.r-bonomi.com> [ Semi-apologies to all for being blunt, and possibly somewhat offensive. ] [ More tactful approaches have been shown to be ineffective, and Wojceich ] [ has a demonstrated propensity to blather on as though he knows more ] [ about everything than anyone else. ] > From: Wojciech Puchar > > > Yes Wojciech, I can attempt an answer for you. Pay attention, this gets > > very complex. > > The decision to move to Clang was motivated by what is best for the > > project, and not what is best for Wojciech. > > still not stopped personal attacks (last part of last sentence) but lets > forget. Fact; that was NOT a personal attack. Your entire line of reasoning so far has been about -your- preferences, and things as you see them, for _your_ use. The Project does not make decisions based on what is best for any particular user -- be it 'Wojceich' or _anyone_ else. You admit you are 'not a developer'. That *you* don't see problems, is irrelevant to whether those who _are_ developers do. Your perceptions of problems, or the lack thereof, is similarly immaterial. Those who _do_ do the work have a number of valid issues with GCC, of -long- standing. *Major* users of FreeBSD have serious 'issues' with the GPLv3, based on the opinions received from their professional legal counsel -- your "legally uninformed" opinion not withstanding. > So please give an answer - not summary. What would be the use of *repeating* the _multiple_ valid reasons that, in combination, compelled the Project to make the change? They were already provided, once, far earlier in this thread. You dismissed them, and dragged in 'strawman' reasoning, based on arrogant personal bias and flawed reasoning/analysis. The facts; 1) Your opinion about the choice of the standard compiler "doesn't matter". 2) The decision _has_ been made. The only question at this point is "when". 3) Nobody 'owes' you an explanation for why the decision was made. Nonetheless, you _were_ given an outline of the multiple factors that went into the decision. 4) In your personal view, you didn't find those reasons compelling. Too bad for you. But -irrelevant- to the decision process. 5) You _are_ 'free' to use GCC for anything you want, now or in the future. Nobody is under any obligation to make it particularly 'easy' for you. 6) In the future, to use GCC you may have to do lots of code fix-ups on base-system components -- to work around situations where GCC generates *BAD*CODE* from standards-compliant source, and/or where GNU has introduced 'extensions' that are incompatible with standards-compliant code. That _is_ your choice, and your problem. The Project has chosen not to spend any more time working around those _growing_ deficiencies in GCC. You have stated that you are 'not a developer' -- that means that you are _not_competent_ to have an opinion with regard to the magnitude of problems the 'non standards compliant' behavior of all even remotely- recent versions of GCC causes. 7) *Regardless* of your "non-professional" opinion of the GPLv3, it is a undisputed fact that it is 'unacceptable' to many large-scale users (and paying supporters of FreeBSD), based on the opinions of their PAID, PROFESSIONAL, legal counsel. 8) "Keeping Wojciech happy", at the 'cost' of *all* the problems that using newer versions of GCC brings to the Project, it's staff, and it's _major_ users, is simply 'not worth it.' Live with it. Your ongoing "bitching and moaning" about the already-made decision is *NOT* going to change anything. And is getting tiresome to listen to. From bonomi at mail.r-bonomi.com Wed Jun 20 10:19:38 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Jun 20 10:19:45 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: Message-ID: <201206201019.q5KAJpVP026516@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Wed Jun 20 03:51:43 2012 > Date: Wed, 20 Jun 2012 10:51:04 +0200 (CEST) > From: Wojciech Puchar > To: Matthew Seaman > Cc: freebsd-questions@freebsd.org > Subject: Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* > > > > > Create a new file in /usr/local/etc/rc.d/precedence with the following > > contents: > > > > #!/bin/sh > > # > > # Persuade vboxheadless to start before samba. > > > > # PROVIDE: precedence > > # REQUIRE: vboxheadless > > # BEFORE: samba > > > > : > > > > Make it executable. Note -- the ':' does seem to be necessary. > > > thank you for help. I will test it when being on place and could > reboot. > > But still - do you know why it is necessary? An explanation written some 80 years ago; 'Because that way it will work'. From venkatduvvuru.ml at gmail.com Wed Jun 20 10:48:23 2012 From: venkatduvvuru.ml at gmail.com (Venkat Duvvuru) Date: Wed Jun 20 10:48:30 2012 Subject: MSI-X limitation in freebsd 8.2 Message-ID: Hi, MSI-x supports upto 2048 vectors but what I see in freebsd 8.2 is that when I use more than ~30 vectors, system becomes dead slow. Is there a limitation on number of msi vectors that can be used in 8.2? From sclists at gmail.com Wed Jun 20 10:59:50 2012 From: sclists at gmail.com (Stephen Cook) Date: Wed Jun 20 10:59:56 2012 Subject: Why Clang In-Reply-To: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> Message-ID: <4FE1AD27.8000704@gmail.com> On 6/19/2012 4:06 PM, Anonymous Remailer (austria) wrote: >> BSDL in opposite is often criticized a "rape me license". > > No, it is not, except perhaps by lying atheist Marxist bastards and his > religious adherents. > Please don't use "atheist" as a derogatory term. There are plenty of capitalistic atheists who neither lie nor have unmarried parents! I'm a relative newcomer. Are the FreeBSD mailing lists always this flame-y? I realize that this particular post might be trolling / satire, but others in the thread (and other unrelated threads recently) are a FAR CRY from the technical support and discussion I expected. I thought I'd see an occasional RTFM, maybe a random "WinBlows" here and there... but this type of thing just diminished everyone involved. -- Stephen From fred.morcos at gmail.com Wed Jun 20 11:05:10 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Wed Jun 20 11:05:17 2012 Subject: Why Clang In-Reply-To: <4FE1AD27.8000704@gmail.com> References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> Message-ID: I am also a newcomer and I agree with Stephen. But I guess the only way is to simply ignore those who make such statements. I don't see much benefit in arguing or reasoning with them. On Wed, Jun 20, 2012 at 12:59 PM, Stephen Cook wrote: > On 6/19/2012 4:06 PM, Anonymous Remailer (austria) wrote: >>> >>> BSDL in opposite is often criticized a "rape me license". >> >> >> No, it is not, except perhaps by lying atheist Marxist bastards and his >> religious adherents. >> > > Please don't use "atheist" as a derogatory term. There are plenty of > capitalistic atheists who neither lie nor have unmarried parents! > > I'm a relative newcomer. Are the FreeBSD mailing lists always this flame-y? > I realize that this particular post might be trolling / satire, but others > in the thread (and other unrelated threads recently) are a FAR CRY from the > technical support and discussion I expected. I thought I'd see an occasional > RTFM, maybe a random "WinBlows" here and there... but this type of thing > just diminished everyone involved. > > -- Stephen > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jerry at seibercom.net Wed Jun 20 11:35:05 2012 From: jerry at seibercom.net (Jerry) Date: Wed Jun 20 11:35:12 2012 Subject: Why Clang In-Reply-To: References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> Message-ID: <20120620073454.0a5f2f87@scorpio> On Wed, 20 Jun 2012 13:04:47 +0200 Fred Morcos articulated: > On Wed, Jun 20, 2012 at 12:59 PM, Stephen Cook > wrote: > > On 6/19/2012 4:06 PM, Anonymous Remailer (austria) wrote: > >>> > >>> BSDL in opposite is often criticized a "rape me license". > >> > >> No, it is not, except perhaps by lying atheist Marxist bastards > >> and his religious adherents. > >> > > Please don't use "atheist" as a derogatory term. There are plenty of > > capitalistic atheists who neither lie nor have unmarried parents! > > > > I'm a relative newcomer. Are the FreeBSD mailing lists always this > > flame-y? I realize that this particular post might be trolling / > > satire, but others in the thread (and other unrelated threads > > recently) are a FAR CRY from the technical support and discussion I > > expected. I thought I'd see an occasional RTFM, maybe a random > > "WinBlows" here and there... but this type of thing just diminished > > everyone involved. > > I am also a newcomer and I agree with Stephen. But I guess the only > way is to simply ignore those who make such statements. I don't see > much benefit in arguing or reasoning with them. A somewhat haphazardly search of the postings in this forum would seem to indicate that any post questioning the ethics or usefulness of FreeBSD as compared to other operating systems that elicit six or more responses, seems to inevitably result in "Godwin's Law" being invoked. You might also want to check out . I just read it for the first time a few days ago. You might also want to familiarize yourself with the term "Sour Grapes" . It is expressed by a certain clique here quite frequently. By the way Fred, please don't "Top Post". That pisses people off too, plus it makes following a really good argument a lot more difficult than it needs to be. Welcome to the fray ... -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From mexas at bristol.ac.uk Wed Jun 20 11:45:12 2012 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed Jun 20 11:45:21 2012 Subject: X broken - top quarter of the screen not updated by *some* programs - EXA/XAA issue? Message-ID: <20120620114421.GA40326@mech-cluster241.men.bris.ac.uk> Hi This is on HP Compaq 6715s laptop, amd64, r236740M. At some point (prior to the recent png- triggered update) I started seeing this strainge behaviour: The top part of the screen, about 1/4, is not updated by some windows, and the exact behaviour is affected by Option "AccelMethod". For example if I have Option "AccelMethod" "EXA" Then xterm and xpdf don't update the top part of their windows, which happens to be in top 1/4 of the screen. If I resize the windows such that the top 1/4 of screen is not used, then the whole window is updated. However other programs, e.g. firefox, are not affected. If I switch to XAA: Option "AccelMethod" "XAA" then the situation is partly reversed. Now xterm is not affected, but firefox can't update the top part of it's window, if it happens to occupy the top 1/4 of the screen. xpdf behaviour is unaffected - whether I use XAA or EXA, xpdf can't update the top part of its window if it lies in the top 1/4 of the screen. I'm not sure what to make of it. Below are my xorg.conf, xdm.log and Xorg.0.log when I use EXA option. Finally, not sure if it's related, but I have to disable DRI for X to work at all. Please advise Thanks ******************************************************************************* xorg.conf ******************************************************************************* Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/terminus-font/" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 330 210 # mm Identifier "Monitor0" VendorName "LPL" ModelName "d600" EndSection Section "Device" Identifier "Card0" Driver "radeon" VendorName "Advanced Micro Devices [AMD] nee ATI" BoardName "RS690M [Radeon X1200 Series]" BusID "PCI:1:5:0" Option "DRI" "off" Option "AccelMethod" "EXA" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x1280" EndSubSection EndSection ******************************************************************************* xdm.log ******************************************************************************* xdm info (pid 50419): Starting xdm info (pid 50419): Starting X server on :0 X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 10.0-CURRENT amd64 Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r236740M: Tue Jun 12 15:17:21 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 Build Date: 11 June 2012 12:11:20PM Current version of pixman: 0.24.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 20 12:38:59 2012 (==) Using config file: "/etc/X11/xorg.conf" XRANDR name: VGA-0 Connector: VGA CRT1: INTERNAL_KLDSCP_DAC1 DDC reg: 0x7e50 XRANDR name: LVDS Connector: LVDS LCD1: INTERNAL_LVTM1 DDC reg: 0x7e40 Dac detection success finished output detect: 0 finished output detect: 1 finished all detect Dac detection success Output LCD1 disable success Blank CRTC 0 success Disable CRTC 0 success Blank CRTC 1 success Disable CRTC 1 success Output CRT1 disable success Output LCD1 disable success Blank CRTC 0 success Disable CRTC 0 success Blank CRTC 1 success Disable CRTC 1 success Output LCD1 disable success Blank CRTC 0 success Disable CRTC 0 success Set CRTC 0 Source success Mode 1280x800 - 1440 823 10 Picked PLL 0 best_freq: 71152 best_feedback_div: 159 best_frac_feedback_div: 0 best_ref_div: 2 best_post_div: 16 Set CRTC 0 PLL success Set CRTC Timing success Set CRTC 0 Overscan success Not using RMX scaler 0 setup success Set CRTC 0 Source success crtc 0 YUV disable setup success Output digital setup success Output LCD1 enable success Enable CRTC 0 success Unblank CRTC 0 success Output CRT1 disable success Blank CRTC 1 success Disable CRTC 1 success xdm info (pid 50426): sourcing /usr/local/lib/X11/xdm/Xsetup_0 xdm info (pid 50426): sourcing /usr/local/lib/X11/xdm/GiveConsole xdm info (pid 50435): executing session /usr/local/lib/X11/xdm/Xsession ******************************************************************************* Xorg.0.log ******************************************************************************* X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 10.0-CURRENT amd64 Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r236740M: Tue Jun 12 15:17:21 BST 2012 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 Build Date: 11 June 2012 12:11:20PM Current version of pixman: 0.24.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 20 12:38:59 2012 (==) Using config file: "/etc/X11/xorg.conf" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (==) Not automatically adding devices (==) Not automatically enabling devices (**) FontPath set to: /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, /usr/local/lib/X11/fonts/terminus-font/, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/ (**) ModulePath set to "/usr/local/lib/xorg/modules" (II) Loader magic: 0x7bd3c0 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 6.0 X.Org XInput driver : 7.0 X.Org Server Extension : 2.0 (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (--) PCI:*(0:1:5:0) 1002:791f:103c:30c2 Advanced Micro Devices [AMD] nee ATI RS690M [Radeon X1200 Series] rev 0, Mem @ 0xc0000000/134217728, 0xd0200000/65536, 0xd0300000/1048576, I/O @ 0x00004000/256, BIOS @ 0x????????/65536 (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "dbe" (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX disabled (II) Loading extension GLX (II) LoadModule: "record" (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.13.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension RECORD (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension XFree86-DRI (II) LoadModule: "dri2" (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so (II) Module dri2: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.1.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DRI2 (II) LoadModule: "radeon" (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so (II) Module radeon: vendor="X.Org Foundation" compiled for 1.7.7, module version = 6.14.3 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 6.0 (II) LoadModule: "mouse" (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.7.1 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 7.0 (II) LoadModule: "kbd" (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so (II) Module kbd: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.6.1 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 7.0 (II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI), ATI Radeon Mobility X300 (M24) 3152 (PCIE), ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI), ATI Radeon X600 (RV380) 3E50 (PCIE), ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136, ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP), ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP), ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP), ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP), ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP), ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP), ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650, ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237, ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336, ATI Radeon IGP330M/340M/350M (U2) 4337, ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI), ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP), ATI Radeon X800PRO (R420) JI (AGP), ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP), ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP), ATI Radeon Mobility 9800 (M18) JN (AGP), ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP), ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP), ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP), ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP), ATI Radeon Mobility M7 LW (AGP), ATI Mobility FireGL 7800 M7 LX (AGP), ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP), ATI FireGL Mobility 9000 (M9) Ld (AGP), ATI Radeon Mobility 9000 (M9) Lf (AGP), ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI Radeon 9700 Pro ND (AGP), ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9600TX NF (AGP), ATI FireGL X1 NG (AGP), ATI Radeon 9800PRO NH (AGP), ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP), ATI Radeon 9800XT NJ (AGP), ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP), ATI Radeon Mobility 9600 (M10) NQ (AGP), ATI Radeon Mobility 9600 (M11) NR (AGP), ATI Radeon Mobility 9600 (M10) NS (AGP), ATI FireGL Mobility T2 (M10) NT (AGP), ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP), ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP), ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP), ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI), ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI), ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI), ATI Radeon Mobility X300 (M22) 5460 (PCIE), ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE), ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE), ATI Radeon X800PRO (R423) UI (PCIE), ATI Radeon X800LE (R423) UJ (PCIE), ATI Radeon X800SE (R423) UK (PCIE), ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE), ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE), ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE), ATI FireGL unknown (R423) UR (PCIE), ATI FireGL unknown (R423) UT (PCIE), ATI Mobility FireGL V5000 (M26) (PCIE), ATI Mobility FireGL V5000 (M26) (PCIE), ATI Mobility Radeon X700 XL (M26) (PCIE), ATI Mobility Radeon X700 (M26) (PCIE), ATI Mobility Radeon X700 (M26) (PCIE), ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834, ATI Radeon Mobility 9100 IGP (U3) 5835, ATI Radeon XPRESS 200 5954 (PCIE), ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP), ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP), ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI), ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE), ATI Radeon XPRESS 200M 5975 (PCIE), ATI Radeon XPRESS 200 5A41 (PCIE), ATI Radeon XPRESS 200M 5A42 (PCIE), ATI Radeon XPRESS 200 5A61 (PCIE), ATI Radeon XPRESS 200M 5A62 (PCIE), ATI Radeon X300 (RV370) 5B60 (PCIE), ATI Radeon X600 (RV370) 5B62 (PCIE), ATI Radeon X550 (RV370) 5B63 (PCIE), ATI FireGL V3100 (RV370) 5B64 (PCIE), ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE), ATI Radeon Mobility 9200 (M9+) 5C61 (AGP), ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), ATI Mobility Radeon X800 XT (M28) (PCIE), ATI Mobility FireGL V5100 (M28) (PCIE), ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE), ATI Radeon X850 XT PE (R480) (PCIE), ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE), ATI unknown Radeon / FireGL (R480) 5D50 (PCIE), ATI Radeon X850 XT (R480) (PCIE), ATI Radeon X800XT (R423) 5D57 (PCIE), ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE), ATI Radeon X700 PRO (RV410) (PCIE), ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE), ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800, ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800, ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800, ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505, ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL, ATI Mobility Radeon X1400, ATI Radeon X1300/X1550, ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300, ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350, ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550, ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450, ATI Radeon X1300/X1550, ATI Mobility Radeon X2300, ATI Mobility Radeon X2300, ATI Mobility Radeon X1350, ATI Mobility Radeon X1350, ATI Mobility Radeon X1450, ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350, ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600, ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600, ATI Mobility FireGL V5200, ATI Mobility Radeon X1600, ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400, ATI Mobility FireGL V5250, ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT, ATI FireGL V5200, ATI Mobility Radeon X1700, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300, ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900, ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950, ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560, ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400, ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560, ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835, ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740, ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2, ATI Radeon 4800 Series, ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2, ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL), ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98, ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series, ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98, ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670, ATI FirePro M5750, ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP), ATI RV730XT [Radeon HD 4670], ATI RADEON E4600, ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650], ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL), ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830, ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740, ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770, ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870, ATI Mobility Radeon HD 3850, ATI Radeon HD3850, ATI Mobility Radeon HD 3850 X2, ATI RV670, ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850, ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710, ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series, ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630, ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT, ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP, ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630, ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600, ATI FireGL V3600, ATI Radeon HD 2600 LE, ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470, ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series, ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430, ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450, ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO, ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670, ATI Mobility FireGL V5700, ATI Mobility FireGL V5725, ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2, SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200, ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250, AMD Radeon HD 6310 Graphics, AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics, AMD Radeon HD 6250 Graphics, AMD Radeon HD 6300 Series Graphics, AMD Radeon HD 6200 Series Graphics, CYPRESS, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370, AMD Firestream 9350, ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series, ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series, ATI Mobility Radeon HD 5800 Series, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro (FireGL) Graphics Adapter, ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series, ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD, ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR, ATI Radeon HD 5450, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN, CAYMAN, CAYMAN, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS, BARTS, Mobility Radeon HD 6000 Series, Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS, AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS (II) Primary Device is: PCI 01@00:05:0 (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support (II) RADEON(0): TOTO SAYS 00000000d0200000 (II) RADEON(0): MMIO registers at 0x00000000d0200000: size 64KB (II) RADEON(0): PCI bus 1 card 5 func 0 (==) RADEON(0): Depth 24, (--) framebuffer bpp 32 (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) (==) RADEON(0): Default visual is TrueColor (**) RADEON(0): Option "AccelMethod" "XAA" (**) RADEON(0): Option "DRI" "off" (II) Loading sub module "vgahw" (II) LoadModule: "vgahw" (II) Loading /usr/local/lib/xorg/modules/libvgahw.so (II) Module vgahw: vendor="X.Org Foundation" compiled for 1.7.7, module version = 0.1.0 ABI class: X.Org Video Driver, version 6.0 (II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (==) RADEON(0): RGB weight 888 (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) (--) RADEON(0): Chipset: "ATI Radeon X1200" (ChipID = 0x791f) (--) RADEON(0): Linear framebuffer at 0x00000000c0000000 (II) RADEON(0): PCI card detected (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Loading /usr/local/lib/xorg/modules/libint10.so (II) Module int10: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org Video Driver, version 6.0 (II) RADEON(0): initializing int10 (==) RADEON(0): Write-combining range (0xa0000,0x20000) was already clear (==) RADEON(0): Write-combining range (0xc0000,0x40000) was already clear (II) RADEON(0): Primary V_BIOS segment is: 0xc000 (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear (II) RADEON(0): ATOM BIOS detected (II) RADEON(0): ATOM BIOS Rom: SubsystemVendorID: 0x1002 SubsystemID: 0x791f IOBaseAddress: 0x4000 Filename: br23883.bin BIOS Bootup Message: ATI Radeon Xpress ?1250? for HP_TT (II) RADEON(0): Framebuffer space used by Firmware (kb): 20 (II) RADEON(0): Start of VRAM area used by Firmware: 0x7ffb000 (II) RADEON(0): AtomBIOS requests 20kB of VRAM scratch space (II) RADEON(0): AtomBIOS VRAM scratch base: 0x7ffb000 (II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory instead (II) RADEON(0): Default Engine Clock: 400000 (II) RADEON(0): Default Memory Clock: 200000 (II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 1200000 (II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0 (II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500 (II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000 (II) RADEON(0): Maximum Pixel Clock: 400000 (II) RADEON(0): Reference Clock: 14320 (II) RADEON(0): Direct rendering forced off (II) RADEON(0): Generation 2 PCI interface, using max accessible memory (II) RADEON(0): Detected total video RAM=131072K, accessible=131072K (PCI BAR=131072K) (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) (II) RADEON(0): Color tiling enabled by default (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Module "ddc" already built-in (II) Loading sub module "i2c" (II) LoadModule: "i2c" (II) Module "i2c" already built-in (II) RADEON(0): PLL parameters: rf=1432 rd=12 min=80000 max=120000; xclk=40000 (WW) RADEON(0): LVDS Info: XRes: 1280, YRes: 800, DotClock: 71000 HBlank: 160, HOverPlus: 48, HSyncWidth: 32 VBlank: 23, VOverPlus: 3, VSyncWidth: 6 (II) RADEON(0): Skipping TV-Out (II) RADEON(0): Skipping Component Video (II) RADEON(0): Output VGA-0 using monitor section Monitor0 (II) RADEON(0): I2C bus "VGA-0" initialized. (II) RADEON(0): Output LVDS has no monitor section (II) RADEON(0): I2C bus "LVDS" initialized. (II) RADEON(0): Port0: XRANDR name: VGA-0 Connector: VGA CRT1: INTERNAL_KLDSCP_DAC1 DDC reg: 0x7e50 (II) RADEON(0): Port1: XRANDR name: LVDS Connector: LVDS LCD1: INTERNAL_LVTM1 DDC reg: 0x7e40 (II) RADEON(0): I2C device "VGA-0:ddc2" registered at address 0xA0. Dac detection success (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 finished output detect: 0 (II) RADEON(0): I2C device "LVDS:ddc2" registered at address 0xA0. (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 (II) RADEON(0): Year: 2006 Week: 0 (II) RADEON(0): EDID Version: 1.3 (II) RADEON(0): Digital Display Input (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 (II) RADEON(0): Gamma: 2.20 (II) RADEON(0): No DPMS capabilities specified (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 (II) RADEON(0): First detailed timing is preferred mode (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 (II) RADEON(0): Manufacturer's mask: 0 (II) RADEON(0): Supported detailed timing: (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 (II) RADEON(0): LGPhilipsLCD (II) RADEON(0): LP154WX4-TLA1 (II) RADEON(0): EDID (in hex): (II) RADEON(0): 00ffffffffffff00320c00d600000000 (II) RADEON(0): 00100103802115780ab3409959538d27 (II) RADEON(0): 25505400000001010101010101010101 (II) RADEON(0): 010101010101bc1b00a0502017303020 (II) RADEON(0): 36004bcf100000190000000000000000 (II) RADEON(0): 00000000000000000000000000fe004c (II) RADEON(0): 475068696c6970734c43440a000000fe (II) RADEON(0): 004c503135345758342d544c4131004d finished output detect: 1 finished all detect Dac detection success (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0 (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2 (II) RADEON(0): EDID data from the display on output: LVDS ---------------------- (II) RADEON(0): Manufacturer: LPL Model: d600 Serial#: 0 (II) RADEON(0): Year: 2006 Week: 0 (II) RADEON(0): EDID Version: 1.3 (II) RADEON(0): Digital Display Input (II) RADEON(0): Max Image Size [cm]: horiz.: 33 vert.: 21 (II) RADEON(0): Gamma: 2.20 (II) RADEON(0): No DPMS capabilities specified (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 (II) RADEON(0): First detailed timing is preferred mode (II) RADEON(0): redX: 0.600 redY: 0.351 greenX: 0.324 greenY: 0.554 (II) RADEON(0): blueX: 0.153 blueY: 0.145 whiteX: 0.312 whiteY: 0.328 (II) RADEON(0): Manufacturer's mask: 0 (II) RADEON(0): Supported detailed timing: (II) RADEON(0): clock: 71.0 MHz Image Size: 331 x 207 mm (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0 (II) RADEON(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0 (II) RADEON(0): LGPhilipsLCD (II) RADEON(0): LP154WX4-TLA1 (II) RADEON(0): EDID (in hex): (II) RADEON(0): 00ffffffffffff00320c00d600000000 (II) RADEON(0): 00100103802115780ab3409959538d27 (II) RADEON(0): 25505400000001010101010101010101 (II) RADEON(0): 010101010101bc1b00a0502017303020 (II) RADEON(0): 36004bcf100000190000000000000000 (II) RADEON(0): 00000000000000000000000000fe004c (II) RADEON(0): 475068696c6970734c43440a000000fe (II) RADEON(0): 004c503135345758342d544c4131004d (II) RADEON(0): EDID vendor "LPL", prod id 54784 (II) RADEON(0): Output VGA-0 disconnected (II) RADEON(0): Output LVDS connected (II) RADEON(0): Using exact sizes for initial modes (II) RADEON(0): Output LVDS using initial mode 1280x800 (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. (==) RADEON(0): DPI set to (96, 96) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/local/lib/xorg/modules/libfb.so (II) Module fb: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Module "ramdac" already built-in (**) RADEON(0): Using XAA acceleration architecture (II) Loading sub module "xaa" (II) LoadModule: "xaa" (II) Loading /usr/local/lib/xorg/modules/libxaa.so (II) Module xaa: vendor="X.Org Foundation" compiled for 1.7.7, module version = 1.2.1 ABI class: X.Org Video Driver, version 6.0 (==) RADEON(0): Write-combining range (0x0,0x1000) was already clear (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support (--) Depth 24 pixmap format is 32 bpp (II) RADEON(0): RADEONScreenInit c0000000 0 0 (==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear Output LCD1 disable success Blank CRTC 0 success Disable CRTC 0 success Blank CRTC 1 success Disable CRTC 1 success (II) RADEON(0): Dynamic Power Management Disabled (II) RADEON(0): RADEONInitMemoryMap() : (II) RADEON(0): mem_size : 0x08000000 (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 (II) RADEON(0): Depth moves disabled by default (II) RADEON(0): Memory manager initialized to (0,0) (1280,8191) (II) RADEON(0): Reserved area from (0,1280) to (1280,1282) (II) RADEON(0): Largest offscreen area available: 1280 x 6909 (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 (==) RADEON(0): Backing store disabled (WW) RADEON(0): Direct rendering disabled (II) RADEON(0): Render acceleration disabled (II) RADEON(0): num quad-pipes is 1 (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles Indirect CPU to Screen color expansion Solid Lines Scanline Image Writes Setting up tile and stipple cache: 32 128x128 slots 32 256x256 slots 16 512x512 slots (II) RADEON(0): Acceleration enabled (==) RADEON(0): DPMS enabled (==) RADEON(0): Silken mouse enabled (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00643000 (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00648000 (II) RADEON(0): Largest offscreen area available: 1280 x 6901 (II) RADEON(0): Textured video requires CP on R5xx/R6xx/R7xx/IGP Output CRT1 disable success Output LCD1 disable success Blank CRTC 0 success Disable CRTC 0 success Blank CRTC 1 success Disable CRTC 1 success Output LCD1 disable success Blank CRTC 0 success Disable CRTC 0 success Set CRTC 0 Source success Mode 1280x800 - 1440 823 10 (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0xbfffb800 0xbfffb800 (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 Picked PLL 0 best_freq: 71152 best_feedback_div: 159 best_frac_feedback_div: 0 best_ref_div: 2 best_post_div: 16 (II) RADEON(0): crtc(0) Clock: mode 71000, PLL 711520 (II) RADEON(0): crtc(0) PLL : refdiv 2, fbdiv 0x9F(159), fracfbdiv 0, pdiv 16 Set CRTC 0 PLL success Set CRTC Timing success Set CRTC 0 Overscan success Not using RMX scaler 0 setup success Set CRTC 0 Source success crtc 0 YUV disable setup success Output digital setup success Output LCD1 enable success Enable CRTC 0 success Unblank CRTC 0 success Output CRT1 disable success Blank CRTC 1 success Disable CRTC 1 success (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message. (--) RandR disabled (II) Initializing built-in extension Generic Event Extension (II) Initializing built-in extension SHAPE (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension BIG-REQUESTS (II) Initializing built-in extension SYNC (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension XC-MISC (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFIXES (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) Initializing built-in extension COMPOSITE (II) Initializing built-in extension DAMAGE (II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so (II) GLX: Initialized DRISWRAST GL provider for screen 0 (II) RADEON(0): Setting screen physical size to 338 x 211 (WW) Mouse0: No Device specified, looking for one... (II) Mouse0: Setting Device option to "/dev/sysmouse" (--) Mouse0: Device: "/dev/sysmouse" (==) Mouse0: Protocol: "Auto" (**) Option "CorePointer" (**) Mouse0: always reports core events (**) Option "Device" "/dev/sysmouse" (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50 (**) Option "ZAxisMapping" "4 5 6 7" (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7 (**) Mouse0: Buttons: 11 (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE) (**) Mouse0: (accel) keeping acceleration scheme 1 (**) Mouse0: (accel) acceleration profile 0 (II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0 (II) Mouse0: SetupAuto: protocol is SysMouse (**) Option "CoreKeyboard" (**) Keyboard0: always reports core events (**) Option "Protocol" "standard" (**) Option "XkbRules" "base" (**) Option "XkbModel" "pc105" (**) Option "XkbLayout" "us" (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From jakub_lach at mailplus.pl Wed Jun 20 11:45:32 2012 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Wed Jun 20 11:45:40 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> Message-ID: <1340192731894-5720039.post@n5.nabble.com> Really, this format of discussion is rather exception than rule (from my experience). Nothing wrong with productive flaming for me, but it's just not typical code of conduct in FreeBSD mailing list at all. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Why-Clang-tp5715861p5720039.html Sent from the freebsd-questions mailing list archive at Nabble.com. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 11:46:39 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 11:46:47 2012 Subject: Why Clang In-Reply-To: <4FE1AD27.8000704@gmail.com> References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> Message-ID: > I'm a relative newcomer. Are the FreeBSD mailing lists always this flame-y? I no. it is temporary. From rwmaillists at googlemail.com Wed Jun 20 11:47:33 2012 From: rwmaillists at googlemail.com (RW) Date: Wed Jun 20 11:47:41 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: <4FE18D93.4060809@FreeBSD.org> References: <4FE18D93.4060809@FreeBSD.org> Message-ID: <20120620124729.7f50b781@gumby.homeunix.com> On Wed, 20 Jun 2012 09:45:07 +0100 Matthew Seaman wrote: > #!/bin/sh > # > # Persuade vboxheadless to start before samba. > > # PROVIDE: precedence > # REQUIRE: vboxheadless > # BEFORE: samba > > : > > Make it executable. Note -- the ':' does seem to be necessary. Why? None of the dummy scripts in the base system have a ":". From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 11:48:16 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 11:48:24 2012 Subject: Why Clang In-Reply-To: <20120620073454.0a5f2f87@scorpio> References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <20120620073454.0a5f2f87@scorpio> Message-ID: > A somewhat haphazardly search of the postings in this forum would seem > to indicate that any post questioning the ethics or usefulness of > FreeBSD as compared to other operating systems that elicit six or more strange but usefulness of FreeBSD wasn't questioned. > > By the way Fred, please don't "Top Post". That pisses people off too, Well. I have to explain people at least once a day not to do it. Sometimes i even get a result and sometime someone learn. rarely. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 11:52:13 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 11:52:20 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: <201206201019.q5KAJpVP026516@mail.r-bonomi.com> References: <201206201019.q5KAJpVP026516@mail.r-bonomi.com> Message-ID: >> But still - do you know why it is necessary? > > An explanation written some 80 years ago; > 'Because that way it will work'. if you don't have anything to say - just don't do it. From blue.seahorse.syndicate at gmail.com Wed Jun 20 12:02:35 2012 From: blue.seahorse.syndicate at gmail.com (Lynn Steven Killingsworth) Date: Wed Jun 20 12:02:48 2012 Subject: Need latest xorg Message-ID: Hi FreeBSD - I have an AMD HD 7950 video card so I am trying to install the latest FreeBSD xorg available (7.5.2) for an updated driver. When I start make the install immediately stops at MesaLib-7.6.1.tar.gz. I can restart it on a primary using the location given then after a short time the install stops at /x11/9menu (/9menu-1.8.shar.gz) I can also attempt to restart this on a couple of servers but after a trip around the world my install still stops at /x11/9menu I live in Maine (USA) so I pick the MIT primary ftp5 since I inadvertly determined it was MIT. ftp1 also sends me on a trip around the world with the same result. If I can install xorg-7.5.2 I am hoping then that the install of kde4-4.8.4 will complete on this new install of FreeBSD 9.0 Does anyone else have a favorite ftp that cooperates? (And I notice the location in the server is different from the primaries on other servers?) Steve -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 12:02:37 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 12:02:50 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <201206201015.q5KAFKKj026496@mail.r-bonomi.com> References: <201206201015.q5KAFKKj026496@mail.r-bonomi.com> Message-ID: >> still not stopped personal attacks (last part of last sentence) but lets >> forget. > > Fact; that was NOT a personal attack. Your entire line of reasoning so far > has been about -your- preferences, and things as you see them, for _your_ What is specifically my preference? > 1) Your opinion about the choice of the standard compiler "doesn't matter". Once more - messing with my words and you know this. I am saying that it doesn't matter others than performance. Clang performance is just bad. > 2) The decision _has_ been made. The only question at this point is "when". And can be reversed because it is faulty. I successfully predicted the fall of linux (in quality point of view) years ago, then netbsd - after this and my prediction were good. Now i predict FreeBSD will fall within 2015 time frame. What i mean fall - that it would be better to use older version as long as possible because newer are worse. For now - FreeBSD 6 was an improvement - FreeBSD 7 was an improvement, except first releases but that's normal - FreeBSD 8 was a big improvement in performance and quality. FreeBSD 9 as for now: - have similar performance at most - have some improvement and important functionality like TRIM support. - have some useful functionality like softdep journalling, but risky. Still - forcing full check reveals some inconsistencies now and then. FreeBSD 10 will unlikely be better, but for sure slower unless you will force gcc build that MAYBE will work. possibly not. So now there will be more and more backports done by users just for new drivers until something that replace FreeBSD will be available. Assuming there will at all. Wish i am wrong. Twice i wasn't From jerry at seibercom.net Wed Jun 20 12:02:53 2012 From: jerry at seibercom.net (Jerry) Date: Wed Jun 20 12:03:00 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: <20120620124729.7f50b781@gumby.homeunix.com> References: <4FE18D93.4060809@FreeBSD.org> <20120620124729.7f50b781@gumby.homeunix.com> Message-ID: <20120620080248.7f3cb6c9@scorpio> On Wed, 20 Jun 2012 12:47:29 +0100 RW articulated: > On Wed, 20 Jun 2012 09:45:07 +0100 > Matthew Seaman wrote: > > > #!/bin/sh > > # > > # Persuade vboxheadless to start before samba. > > > > # PROVIDE: precedence > > # REQUIRE: vboxheadless > > # BEFORE: samba > > > > : > > > > Make it executable. Note -- the ':' does seem to be necessary. > > Why? None of the dummy scripts in the base system have a ":". From "man rc" EXAMPLES The following is a minimal rc.d/ style script. Most scripts require lit- tle more than the following. #!/bin/sh # # PROVIDE: foo # REQUIRE: bar_service_required_to_precede_foo . /etc/rc.subr name="foo" rcvar=`set_rcvar` command="/usr/local/bin/foo" load_rc_config $name run_rc_command "$1" You will notice the prominent use of ":". If you feel that is in error, please feel free to submit a PR against it. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 12:03:28 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 12:03:35 2012 Subject: Why Clang In-Reply-To: <1340192731894-5720039.post@n5.nabble.com> References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> Message-ID: > Really, this format of discussion is rather exception > than rule (from my experience). or rather - discussion is a rule :) From ulrich at pukruppa.de Wed Jun 20 12:05:51 2012 From: ulrich at pukruppa.de (Peter Ulrich Kruppa) Date: Wed Jun 20 12:06:04 2012 Subject: Why Clang In-Reply-To: <1340192731894-5720039.post@n5.nabble.com> References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> Message-ID: <4FE1BD0E.5060300@pukruppa.de> On 20.06.2012 13:45, Jakub Lach wrote: > Really, this format of discussion is rather exception > than rule (from my experience). > > Nothing wrong with productive flaming for me, > but it's just not typical code of conduct in FreeBSD > mailing list at all. Actually I can't remember any flame-war about system compilers - this is the first one. But I believe it is a good proof, that clang is a serious alternative to gcc - else people would talk about "an interesting project" or something like that. Greetings Peter. > > -- > View this message in context: http://freebsd.1045724.n5.nabble.com/Why-Clang-tp5715861p5720039.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From c.kworr at gmail.com Wed Jun 20 12:11:30 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Wed Jun 20 12:11:36 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> <4FE19BFC.7030304@gmail.com> Message-ID: <4FE1BDEC.1040705@gmail.com> Wojciech Puchar wrote: >> >> And why you think it's not better then gcc? > > because - as you already should know - test shows otherwise. Test show only that clang-compiled binaries are still subject for improvement. It doesn't show how strict and clear this binary is. > As well as FreeBSD running predictable with gcc anyway. You mileage may vary. I'm using clang-compiled world & ports on production servers since clang was added to the ports. And nothing bad happens to me. > Still theory and ideology. That what you do too. You are stating clang is less potent only by counting speed estimates. You leave aside things like standard compliance, ease of use and healthy ecosystem. Besides, NetBSD and OpenBSD has already selected and using pcc now. And they are fine with that one. -- Sphinx of black quartz judge my vow. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 12:16:45 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 12:16:52 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <4FE1BDEC.1040705@gmail.com> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> <4FE19BFC.7030304@gmail.com> <4FE1BDEC.1040705@gmail.com> Message-ID: > speed estimates. there are a difference between speed estimate and actual speed - and i talk about the latter only. > > Besides, NetBSD and OpenBSD has already selected and using pcc now. And they > are fine with that one. their problem. From jerry at seibercom.net Wed Jun 20 12:16:53 2012 From: jerry at seibercom.net (Jerry) Date: Wed Jun 20 12:17:02 2012 Subject: Why Clang In-Reply-To: References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <20120620073454.0a5f2f87@scorpio> Message-ID: <20120620081648.6598fb59@scorpio> On Wed, 20 Jun 2012 13:48:15 +0200 (CEST) Wojciech Puchar articulated: > > A somewhat haphazardly search of the postings in this forum would > > seem to indicate that any post questioning the ethics or usefulness > > of FreeBSD as compared to other operating systems that elicit six > > or more > > strange but usefulness of FreeBSD wasn't questioned. The ethics of using "clang" most certainly were. Perhaps you missed the word "or" that I used to distinquish between the possible causes. Furthermore, the "usefulness" of using "clang" VS GCC were also voiced by at least on poster. He stated, correctly or not is not an issue here, that "clang" produces slower code VS GCC for math intensive operations. It was also pointed out that Linux is solidly in bed with GCC, at least at the present time. Therefore, the "other operating system" requirement has been fulfilled. I did not say, nor mean to convey that every condition had to be met in every post in every thread. It is more of a cumulative effect. Very easy to overlook unless each post is read in its entirety. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 12:17:48 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 12:17:56 2012 Subject: Why Clang In-Reply-To: <4FE1BD0E.5060300@pukruppa.de> References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: >> Nothing wrong with productive flaming for me, >> but it's just not typical code of conduct in FreeBSD >> mailing list at all. > Actually I can't remember any flame-war about system compilers - this is the > first one. because such situation like now never happened - changing C compiler to much worse because of political reasons. > But I believe it is a good proof, that clang is a serious alternative to gcc it is only a proof that it was decided to put it as FreeBSD default compiler. From j.mckeown at ru.ac.za Wed Jun 20 12:25:46 2012 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Wed Jun 20 12:25:53 2012 Subject: Flaming mailing lists (was Re: Why Clang) In-Reply-To: <4FE1AD27.8000704@gmail.com> References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> Message-ID: <201206201425.42524.j.mckeown@ru.ac.za> On Wednesday 20 June 2012 12:59:51 Stephen Cook wrote: > On 6/19/2012 4:06 PM, Anonymous Remailer (austria) wrote: [snip childish invective] > I'm a relative newcomer. Are the FreeBSD mailing lists always this > flame-y? I realize that this particular post might be trolling / satire No, they aren't. And I notice that whoever is primarily responsible for it isn't even prepared to sign his own name to his tirades - he (or she) is using anonymous remailers. (Irritatingly this makes him difficult to killfile - it turns out there's at least one recent legitimate post that's been sent through a similar remailer so I can't just toss them all away). Jonathan From ml at my.gd Wed Jun 20 12:30:01 2012 From: ml at my.gd (Damien Fleuriot) Date: Wed Jun 20 12:30:09 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: <4FE1935C.60902@FreeBSD.org> References: <4FE18D93.4060809@FreeBSD.org> <4FE1935C.60902@FreeBSD.org> Message-ID: <4FE1C244.3030400@my.gd> On 6/20/12 11:09 AM, Matthew Seaman wrote: > On 20/06/2012 09:51, Wojciech Puchar wrote: >>> >>> Create a new file in /usr/local/etc/rc.d/precedence with the following >>> contents: >>> >>> #!/bin/sh >>> # >>> # Persuade vboxheadless to start before samba. >>> >>> # PROVIDE: precedence >>> # REQUIRE: vboxheadless >>> # BEFORE: samba >>> >>> : >>> >>> Make it executable. Note -- the ':' does seem to be necessary. >>> >> thank you for help. I will test it when being on place and could reboot. >> >> But still - do you know why it is necessary? >> >> cannot i just add BEFORE: samba in vboxheadless? >> > > Yes, that should work too. However any time you update vboxheadless > you'll have to remember to add that modification back to the rc script. > Using a separate file stops that being a problem. > > If you want to test that your changes are having the desired effect > without having to reboot: > > # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* > > which will print out the order all the rc-scripts would be run. (It > includes all the scripts, not just the ones enabled in /etc/rc.conf, but > that shouldn't matter.) > > Cheers, > > Matthew > A very helpful post, adding to favorites. Might that, possibly, warrant a handbook entry ? From fred.morcos at gmail.com Wed Jun 20 12:32:45 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Wed Jun 20 12:32:55 2012 Subject: New to FreeBSD - Some questions Message-ID: Hello all, I am new to FreeBSD, coming from a GNU/Linux background (most comfortable with Archlinux). I compiled a series of questions I would like to ask in different areas and categories. Should I send them all in a single email message or should I split them by subject/topic into different emails? The advantage of the former is that I will be able to easily show relations between the different topics and questions (put them into context) as well as articulate the setup I would like to reach. The advantage of the latter is that it is cleaner and simpler to answer one question by one. Also, I have done a bit of poking around to answer each of my own questions, obviously with no luck, so I do not mind RTFM-ing - I would actually prefer it, please feel free to link me to an article, tutorial, man page or handbook that already answers one or more question(s). Cheers, Fred From fred.morcos at gmail.com Wed Jun 20 12:36:47 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Wed Jun 20 12:36:59 2012 Subject: Flaming mailing lists (was Re: Why Clang) In-Reply-To: <201206201425.42524.j.mckeown@ru.ac.za> References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <201206201425.42524.j.mckeown@ru.ac.za> Message-ID: On Wed, Jun 20, 2012 at 2:25 PM, Jonathan McKeown wrote: > On Wednesday 20 June 2012 12:59:51 Stephen Cook wrote: >> On 6/19/2012 4:06 PM, Anonymous Remailer (austria) wrote: > > [snip childish invective] > >> I'm a relative newcomer. Are the FreeBSD mailing lists always this >> flame-y? I realize that this particular post might be trolling / satire > > No, they aren't. And I notice that whoever is primarily responsible for it > isn't even prepared to sign his own name to his tirades - he (or she) is > using anonymous remailers. (Irritatingly this makes him difficult to > killfile - it turns out there's at least one recent legitimate post that's > been sent through a similar remailer so I can't just toss them all away). > > Jonathan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" The anonymous remailer's administrator can be contacted and made aware of the "abusive" email sent through it. To quote an automated message from the remailer: This message is being sent to you automatically in response to an email that you sent to . If you did not send such an email, please ignore this message. This remailer is a free service that allows individuals including crime victims, domestic violence victims, persons in recovery, and others, such as those living under oppressive regimes, to communicate confidentially in a manner that ensures their privacy under even the most adverse conditions. To obtain information on how you can use this service, please send an email with subject "remailer-help" to . Should you have received an unwelcome message through this service or to report problems with this service, please contact the Administrator at . Thank you for your interest in secure and private communications, -- The "Austria Remailer" Administrator From ml at my.gd Wed Jun 20 12:38:09 2012 From: ml at my.gd (Damien Fleuriot) Date: Wed Jun 20 12:38:20 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: <4FE1C42D.5020504@my.gd> On 6/20/12 2:32 PM, Fred Morcos wrote: > Hello all, > > I am new to FreeBSD, coming from a GNU/Linux background (most > comfortable with Archlinux). I compiled a series of questions I would > like to ask in different areas and categories. Should I send them all > in a single email message or should I split them by subject/topic into > different emails? > > The advantage of the former is that I will be able to easily show > relations between the different topics and questions (put them into > context) as well as articulate the setup I would like to reach. The > advantage of the latter is that it is cleaner and simpler to answer > one question by one. > > Also, I have done a bit of poking around to answer each of my own > questions, obviously with no luck, so I do not mind RTFM-ing - I would > actually prefer it, please feel free to link me to an article, > tutorial, man page or handbook that already answers one or more > question(s). > > Cheers, > Fred Just toss them in a single mail to be honest, that'll help get the bigger picture. From m.seaman at infracaninophile.co.uk Wed Jun 20 12:39:48 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Jun 20 12:40:02 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: <20120620124729.7f50b781@gumby.homeunix.com> References: <4FE18D93.4060809@FreeBSD.org> <20120620124729.7f50b781@gumby.homeunix.com> Message-ID: <4FE1C484.7040204@infracaninophile.co.uk> On 20/06/2012 12:47, RW wrote: > On Wed, 20 Jun 2012 09:45:07 +0100 > Matthew Seaman wrote: > >> #!/bin/sh >> # >> # Persuade vboxheadless to start before samba. >> >> # PROVIDE: precedence >> # REQUIRE: vboxheadless >> # BEFORE: samba >> >> : >> >> Make it executable. Note -- the ':' does seem to be necessary. > > Why? None of the dummy scripts in the base system have a ":". It seems I was mistaken. As far as rcorder goes, an empty script is just as good as a single null command: % cat precedence #!/bin/sh # # Persuade postgresql to start before spamassassin. # PROVIDE: precedence # REQUIRE: postgresql # BEFORE: spamd % rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | grep -E 'postgresql|precedence|sa-spamd' /usr/local/etc/rc.d/postgresql /usr/local/etc/rc.d/precedence /usr/local/etc/rc.d/sa-spamd Hey -- I saved a whole two bytes. Woohoo! Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120620/ff35cb16/signature.pgp From mgamsjager at gmail.com Wed Jun 20 12:46:11 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Wed Jun 20 12:46:17 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: On Wed, Jun 20, 2012 at 2:17 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > Nothing wrong with productive flaming for me, >>> but it's just not typical code of conduct in FreeBSD >>> mailing list at all. >>> >> Actually I can't remember any flame-war about system compilers - this is >> the first one. >> > > because such situation like now never happened - changing C compiler to > much worse because of political reasons. > > > But I believe it is a good proof, that clang is a serious alternative to >> gcc >> > it is only a proof that it was decided to put it as FreeBSD default > compiler. > > Everything is said, explained and discusse why this decision is made.. So what do you want? that someone says" Yes you are right clang is shit?". If you like it or not: Clang will stay but leaves the choice which compiler you use up to you. From rwmaillists at googlemail.com Wed Jun 20 13:02:45 2012 From: rwmaillists at googlemail.com (RW) Date: Wed Jun 20 13:03:09 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: <20120620080248.7f3cb6c9@scorpio> References: <4FE18D93.4060809@FreeBSD.org> <20120620124729.7f50b781@gumby.homeunix.com> <20120620080248.7f3cb6c9@scorpio> Message-ID: <20120620140240.6b6f660a@gumby.homeunix.com> On Wed, 20 Jun 2012 08:02:48 -0400 Jerry wrote: > On Wed, 20 Jun 2012 12:47:29 +0100 > RW articulated: > > > On Wed, 20 Jun 2012 09:45:07 +0100 > > Matthew Seaman wrote: > > > > > #!/bin/sh > > > # > > > # Persuade vboxheadless to start before samba. > > > > > > # PROVIDE: precedence > > > # REQUIRE: vboxheadless > > > # BEFORE: samba > > > > > > : > > > > > > Make it executable. Note -- the ':' does seem to be necessary. > > > > Why? None of the dummy scripts in the base system have a ":". > > From "man rc" > > EXAMPLES > The following is a minimal rc.d/ style script. Most scripts > require lit- tle more than the following. > > #!/bin/sh > # > > # PROVIDE: foo > # REQUIRE: bar_service_required_to_precede_foo > > . /etc/rc.subr > > name="foo" > rcvar=`set_rcvar` > command="/usr/local/bin/foo" > > load_rc_config $name > run_rc_command "$1" > > You will notice the prominent use of ":". We were talking about the null command colon at the bottom of the script, not the colons in comments at the top. From freebsd at edvax.de Wed Jun 20 13:14:54 2012 From: freebsd at edvax.de (Polytropon) Date: Wed Jun 20 13:15:01 2012 Subject: Attaching a monitor via vga In-Reply-To: <20120620032824.GD15821@hemlock.hydra> References: <20120620032824.GD15821@hemlock.hydra> Message-ID: <20120620151451.94b1cb9d.freebsd@edvax.de> Allow me to mention an additional approach (but I think using xrandr is fine - it sometimes works where "bare X" fails). Depending on the options of the GPU in your laptop, you can use /etc/rc.conf to make specific settings depending on what "connector" (internal dotmatrix display, external VGA, be it CRT or LCD) you use. For X to find out resolution and screen size properly, in Section "Monitor" you can use Option "Preferredmode" "NNNNxNNNN" and DisplaySize MMM MMM (where MMM is to be given in millimeters) to "hardcode" the parameters of the screen. Modern screens should provide them by theirselves (especially all LCDs should do that), but it can be helpful to define them in a "mixed mode setting" as what an external monitor on a laptop can be considered. If DPI calculation doesn't work as intended (results in too small or too big text for example), you can add Option "DPI" "DD x DD" to Section "Device" where you define your driver. Use values of between 70 and 120. For dotmatrix displays, you can easily calculate the correct value (horizontal size in pixels divided by width in inch; vertical similarly) in case it isn't obtained automatically. The correct value should also be found in the documentation of the screen. Note that flatpanels only have one fixed amount of pixels and therefore also one fixed DPI resolution, whereas CRTs are more versatile. A last option would be to check out TwinView if it's supported by your GPU. Settings like Option "ConnectedMonitor" "CRT, CRT" can be used to tell X what monitors to connect on startup and how to initialize them. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wblock at wonkity.com Wed Jun 20 13:21:34 2012 From: wblock at wonkity.com (Warren Block) Date: Wed Jun 20 13:21:42 2012 Subject: List flames (was Re: Why Clang) In-Reply-To: <4FE1AD27.8000704@gmail.com> References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> Message-ID: On Wed, 20 Jun 2012, Stephen Cook wrote: > I'm a relative newcomer. Are the FreeBSD mailing lists always this flame-y? I > realize that this particular post might be trolling / satire, but others in > the thread (and other unrelated threads recently) are a FAR CRY from the > technical support and discussion I expected. I thought I'd see an occasional > RTFM, maybe a random "WinBlows" here and there... but this type of thing just > diminished everyone involved. No, this is unusual. But also remember that most of these lists are not just unmoderated but open to posting without subscription. Then it becomes kind of amazing at how little flaming and trolling there is. That's not an accident, the admins work hard to limit abuse. As an alternate, consider the forums (http://forums.freebsd.org/), which are moderated. From dg at pki2.com Wed Jun 20 13:22:15 2012 From: dg at pki2.com (Dennis Glatting) Date: Wed Jun 20 13:22:23 2012 Subject: Need latest xorg In-Reply-To: References: Message-ID: <1340198526.18260.3.camel@btw.pki2.com> On Wed, 2012-06-20 at 08:02 -0400, Lynn Steven Killingsworth wrote: > Hi FreeBSD - > > I have an AMD HD 7950 video card so I am trying to install the latest > FreeBSD xorg available (7.5.2) for an updated driver. > Please let me know how well this (or doesn't) works. I have been looking at the 7970 series to screw around with CUDA but also as a multi-monitor card. > When I start make the install immediately stops at MesaLib-7.6.1.tar.gz. > I can restart it on a primary using the location given then after a short > time the install stops at /x11/9menu (/9menu-1.8.shar.gz) I can also > attempt to restart this on a couple of servers but after a trip around the > world my install still stops at /x11/9menu > > I live in Maine (USA) so I pick the MIT primary ftp5 since I inadvertly > determined it was MIT. ftp1 also sends me on a trip around the world with > the same result. > > If I can install xorg-7.5.2 I am hoping then that the install of > kde4-4.8.4 will complete on this new install of FreeBSD 9.0 > > Does anyone else have a favorite ftp that cooperates? (And I notice the > location in the server is different from the primaries on other servers?) > > Steve > > > -- Dennis Glatting From wblock at wonkity.com Wed Jun 20 13:27:37 2012 From: wblock at wonkity.com (Warren Block) Date: Wed Jun 20 13:27:49 2012 Subject: Attaching a monitor via vga In-Reply-To: <20120620032824.GD15821@hemlock.hydra> References: <20120620032824.GD15821@hemlock.hydra> Message-ID: On Tue, 19 Jun 2012, Chad Perrin wrote: > On Tue, Jun 19, 2012 at 08:52:58PM -0400, David Tilbrook wrote: >> I have a thinkpad t61p running freebsd9.0. The window size is 1680x1050 >> -- a reasonable size -- but the screen itself is 38cm. (15") which is >> irritatingly >> small for my old eyes. >> >> So I want to attach an external monitor via a vga cable, which I have been >> doing with my RedHat thinkpad A31P for years. >> >> I tried attaching Asus VE228H (1920x1080) but it would display >> only part of the window (the top-left corner). I get a similar behaviour >> with a Samsung SyncMaster. >> >> When I tried to xinit with the monitor attached, it displays an even smaller >> part of the screen. (On my previous thinkpad with a Samsung, to get a >> reasonable full window I had to unplug the vga, start xinit, and then plug >> in the vga, but I can live with that.) >> >> My questions: >> >> 1) What can I do to display the whole window on an external monitor? >> 2) Is there a monitor out there that would better support such use? >> 3) Would a Samsung T220HD 22" which claims to support 1680x1050 >> work, and is there someone in Toronto who sells it and would let >> me test it? (Craigs list doesn't qualify). > > You probably want to look into using the xrandr command to configure > output for connected monitors. Try this first: > > xrandr --auto > > If that does not work, you may have to do something more sophisticated. > For instance, I have a shell script that looks like this for when I > connect my laptop to an external monitor: > > #!/bin/sh > xrandr --auto > xrandr --output LVDS1 --off > xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync > xrandr --addmode VGA1 1680x1050_60.00 > xrandr --output VGA1 --mode 1680x1050_60.00 > xli -onroot -border black -center /path/to/enso_16x9.png Adding a new mode should not be needed for most monitors. I do this to set up the external video: xrandr --output VGA --above LVDS That's to span a single desktop over both monitors. Some desktop environments have their own ideas about which monitors are attached and what part of the desktop is shown, and that must be changed in the DE's settings. From wblock at wonkity.com Wed Jun 20 13:30:55 2012 From: wblock at wonkity.com (Warren Block) Date: Wed Jun 20 13:31:03 2012 Subject: where's ppmtoxpm In-Reply-To: References: Message-ID: On Wed, 20 Jun 2012, David Tilbrook wrote: > I have searched for ppmtoxpm in ports and in FreeBSD Search Services to > no avail. > > ppmtoxpm converts a portable pixmap into an X11 pixmap. > > Is there a freebsd equivalent or alternative? In the ports, graphics/netpbm. From feld at feld.me Wed Jun 20 13:37:00 2012 From: feld at feld.me (Mark Felder) Date: Wed Jun 20 13:37:13 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: Wojciech, Why not make FreeBSD better for everyone by cooperating with the CLANG project? 1. Find simple programs with severe performance issues 2. Report to the CLANG developers 3. They fix, tweak, and tune the compiler 4. FreeBSD imports latest release 5. Everybody wins From jhs at berklix.com Wed Jun 20 13:48:32 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Wed Jun 20 13:48:41 2012 Subject: Why Clang In-Reply-To: Your message "Tue, 19 Jun 2012 23:22:39 +0200." <20120619232239.925d0aa4.freebsd@edvax.de> Message-ID: <201206201348.q5KDm2u3045621@fire.js.berklix.net> Polytropon wrote: > I assume it's just an aspect of "still being too young" in > regards of missing the difference between freedom and > anarchy: the right to extend one's freedom is limited > as soon as it limits the freedom of others. Maybe another > aspect is the lack of discussion culture and the proper > use of means of language. You often find such behaviour > among school children of the lower grades. Using words > without knowing their meaning is very typical for people > in puberty. :-) Yes. Questions@ has some un- self- disciplined kids/ drunks/ trolls, who degrade this list's signal to noise ratio. They could be reduced by a combo. of eg: - forcible unsub, & black list, - block of anon. remailer domains - making this list "subscribtion required before posting". (which would make it harder for newbies fresh to FreeBSD, but we need some solution) I suggest others too should complain to appending offenders bad postings, & let postmaster decide action. The only other option I can think of is to personaly extend my procmail filter on my own questions@ incoming stream, to delete all postings from listed individuals. Many others could do similar, but massive inefficiency, & newbies couldn't, & the noise on the raw unfiltered list & in web achives would damage FreeBSD. Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From erichfreebsdlist at ovitrap.com Wed Jun 20 14:34:15 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Wed Jun 20 14:34:22 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: <201206202134.12220.erichfreebsdlist@ovitrap.com> Hi, On Wednesday 20 June 2012 19:32:24 Fred Morcos wrote: > > I am new to FreeBSD, coming from a GNU/Linux background (most > comfortable with Archlinux). I compiled a series of questions I would > like to ask in different areas and categories. Should I send them all > in a single email message or should I split them by subject/topic into > different emails? whatever you will be doing, some will say that it is wrong. > > The advantage of the former is that I will be able to easily show > relations between the different topics and questions (put them into > context) as well as articulate the setup I would like to reach. The > advantage of the latter is that it is cleaner and simpler to answer > one question by one. > > Also, I have done a bit of poking around to answer each of my own > questions, obviously with no luck, so I do not mind RTFM-ing - I would > actually prefer it, please feel free to link me to an article, > tutorial, man page or handbook that already answers one or more > question(s). I think that it is the best to ask. If people get disturbed by your questions, they should ignore it. The majority will be keen to help. You have choosen the general list. In case you cannot get an answer to a specific question, you can still post the same question later on the specific mailing list. Just be practical. Erich From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 14:37:39 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 14:38:07 2012 Subject: Why Clang In-Reply-To: <201206201348.q5KDm2u3045621@fire.js.berklix.net> References: <201206201348.q5KDm2u3045621@fire.js.berklix.net> Message-ID: > > They could be reduced by a combo. of eg: > - forcible unsub, & black list, > - block of anon. remailer domains > - making this list "subscribtion required before posting". > (which would make it harder for newbies fresh to > FreeBSD, but we need some solution) > > I suggest others too should complain to > appending offenders bad postings, & let postmaster decide action. > > The only other option I can think of is to personaly extend my > procmail filter on my own questions@ incoming stream, to delete all > postings from listed individuals. > Many others could do similar, but massive inefficiency, & > newbies couldn't, & the noise on the raw unfiltered list & > in web achives would damage FreeBSD. > while subscription is good idea, as well as your personal blacklist, your other proposition would require strict political compatibility with those who would decide about who cannot post. From lreid at cs.okstate.edu Wed Jun 20 14:38:09 2012 From: lreid at cs.okstate.edu (Reid Linnemann) Date: Wed Jun 20 14:38:17 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: On Wed, Jun 20, 2012 at 7:17 AM, Wojciech Puchar wrote: >>> Nothing wrong with productive flaming for me, >>> but it's just not typical code of conduct in FreeBSD >>> mailing list at all. >> >> Actually I can't remember any flame-war about system compilers - this is >> the first one. > > > because such situation like now never happened - changing C compiler to much > worse because of political reasons. > I think you misspelled "licensing and sponsorship". It's a fairly indisputable fact that without sponsoring users FreeBSD cannot move forward, and those sponsoring users do not get a warm fuzzy from the base system being built with a) An unmaintained GPLv2 licensed gcc or b) A maintained and current GPLv3 gcc with GPLv3 licensed libc. So between the options of 1) continuing to use an out of date compiler 2) alienating sponsors and losing their financial and developer support and 3) switching to a BSD licensed compiler/libc ... it's fairly obvious to me that options 1) and 2) lead to irrelevance and death of the project. clang being better than or on par with gcc in every conceivable category right this instant is far less important than continued existence and relevancy to sponsoring users, IMO. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 14:38:31 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 14:38:37 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: > > I am new to FreeBSD, coming from a GNU/Linux background (most > comfortable with Archlinux). I compiled a series of questions I would > like to ask in different areas and categories. Should I send them all > in a single email message or should I split them by subject/topic into > different emails? split. or you will end with enormous messy thread. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 14:42:39 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 14:42:46 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: >> it is only a proof that it was decided to put it as FreeBSD default >> compiler. >> >> > Everything is said, explained and discusse why this decision is made.. So Explanation about "the decision was already made" isn't explanation. but i don't require any explanation. actually i don't require anything. > what do you want? that someone says" Yes you are right clang is shit?". No i don't like words but actions. and i am feared because once such projects like FreeBSD will start to decide about major things this way, it's beginning of end. Politics won over performance and quality. sad. >From my side - end of topic From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 14:43:21 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 14:43:29 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: > Why not make FreeBSD better for everyone by cooperating with the CLANG > project? because we already have great compiler - GCC. In spite of using GPL licence. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 14:44:54 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 14:45:06 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: > licensed gcc or b) A maintained and current GPLv3 gcc with GPLv3 > licensed libc. FreeBSD doesn't use GNU libc. am i missing something? From feld at feld.me Wed Jun 20 14:47:40 2012 From: feld at feld.me (Mark Felder) Date: Wed Jun 20 14:48:04 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: On Wed, 20 Jun 2012 09:43:14 -0500, Wojciech Puchar wrote: >> Why not make FreeBSD better for everyone by cooperating with the CLANG >> project? > > because we already have great compiler - GCC. In spite of using GPL > licence. GCC performs well, but it is a very messy undocumented codebase which makes maintaining it a nightmare. Just ask Google -- you'll find many others saying the same thing. It would take MORE work to get FreeBSD devs up to speed on the GCC codebase to add the features we want than it is to cooperate with the CLANG community and help them make their compiler better than GCC in every test case. From feld at feld.me Wed Jun 20 14:50:03 2012 From: feld at feld.me (Mark Felder) Date: Wed Jun 20 14:50:11 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: On Wed, 20 Jun 2012 09:42:34 -0500, Wojciech Puchar wrote: > Politics won over performance and quality. sad. Performing compiler does not mean quality codebase. From olivares14031 at gmail.com Wed Jun 20 15:56:00 2012 From: olivares14031 at gmail.com (Antonio Olivares) Date: Wed Jun 20 15:56:10 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: On Wed, Jun 20, 2012 at 9:44 AM, Wojciech Puchar wrote: >> licensed gcc or b) A maintained and current GPLv3 gcc with GPLv3 >> licensed libc. > > FreeBSD doesn't use GNU libc. am i missing something? > No they don't :) It is good that they don't. Why? Because of the changes from GPLv2 to GPLv3. Everything created with this license requires that everything be built with it :( This is why it can't be used in base. You can still use gcc, but it will not be in base. Many folks have tried to explain this, but you compare things that will most likely give the edge to gcc over clang. Take for instance the linux kernel. It is still GPLv2 and will most likely continue there. Why? Many developers don't like the change to GPLv3. See http://lkml.org/lkml/2007/6/12/232 http://www.internetnews.com/dev-news/article.php/3633931/Linux+Developers+Reject+GPLv3.htm I have seen many arguments and have been part of many flames/flaming GNU since I also use Linux based OS. I like FreeBSD and wondered why they also allow GPL stuff, but then I realized that it was in ports and the move to avoid gcc is in the base. You can still use the gcc, but it(FreeBSD system will be built with Clang). The move has been made and I see that it was necessary to avoid many GNUisms that take place. Politics, and Religious things aside, you can also see the following: http://www.articlesbase.com/operating-systems-articles/666-beggars-want-fle-licensing-stop-the-cult-of-government-3781316.html http://z505.com/gng/index.htm I have some friends that develop software. They had released it under GNU umbrella. Later on, other folks were taking advantage and not giving back as the license requires. There was little to no way to enforce the license, he decided to move to other license that protects his work and let others use it was well with little to no strings attached. He know uses the CDDL which is also an Open Source License. He can give you many reasons as to why the GPLv3 is the wrong way to go. I can ask him for these and other reasons at your request. Regards, Antonio From proace at gmail.com Wed Jun 20 15:57:17 2012 From: proace at gmail.com (ProAce) Date: Wed Jun 20 15:57:24 2012 Subject: packet filter problem on transparent firewall using bridge and pf In-Reply-To: References: Message-ID: > 2012/6/20 Erik Osterholm : > > > Try adding logging to the rules, enable pflog, and see which rule is blocking. > > Erik hmm.... I discovered some things from log. Even if the packet hit a rule ( pass in quick on bridge0 .... ) , the packet still is blocked by block out rule ( block out on bridge0 ). So, I change some configuration. 1. bind freebsd ip ( 10.1.1.1 ) on em0 2. change some pf rules ( please see below ) pf.conf my_net=10.1.1.0/24 serv1="10.1.1.101" client1="10.1.6.73" set skip lo0 set skip bridge0 block in all block out all pass in log quick on em0 from $my_net to $my_net pass out log quick on em1 from $my_net to $my_net pass in log quick on em1 from $my_net to any pass out log quick on em0 from $my_net to any pass in log quick on em0 from $client1 to $serv1 pass out log quick on em1 from $client1 to $serv1 It's work now! :) From perrin at apotheon.com Wed Jun 20 16:06:56 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 16:07:03 2012 Subject: Why Clang In-Reply-To: References: <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <20120620030854.GA15821@hemlock.hydra> Message-ID: <20120620160655.GA21283@hemlock.hydra> On Wed, Jun 20, 2012 at 06:45:16AM +0200, Wojciech Puchar wrote: > >>>but not to be turned into closed source products. > >> > >>What a lying sonofabitch. That is not called freedom. That is called > >>"forcible, viral open source". I think we can all see the difference. Open > >>your motherfucking eyes, communist goofball... > > > >Give him a break. His heart is in the right place, though his choice of > > GNU licence is nothing about freedom, it just says it is freedom. > > But what really is important for FreeBSD is if it can be used. IMHO > nothing from GPLv3 prevents it, and it is no licence based reasons > to use clang. 1. This has nothing to do with what I said. 2. I prefer Clang. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Wed Jun 20 16:12:51 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 16:12:59 2012 Subject: Why Clang In-Reply-To: References: <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: <20120620161249.GA22124@hemlock.hydra> On Wed, Jun 20, 2012 at 04:44:50PM +0200, Wojciech Puchar wrote: > >licensed gcc or b) A maintained and current GPLv3 gcc with GPLv3 > >licensed libc. > FreeBSD doesn't use GNU libc. am i missing something? Yes. Users are not identical to the FreeBSD base system. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From modulok at gmail.com Wed Jun 20 16:23:58 2012 From: modulok at gmail.com (Modulok) Date: Wed Jun 20 16:24:05 2012 Subject: Why Clang In-Reply-To: <20120620161249.GA22124@hemlock.hydra> References: <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> <20120620161249.GA22124@hemlock.hydra> Message-ID: This just keeps going on... From proace at gmail.com Wed Jun 20 16:27:55 2012 From: proace at gmail.com (ProAce) Date: Wed Jun 20 16:28:03 2012 Subject: packet cannot pass bridge sometimes .... Message-ID: ( untrust ) --- ( em0 , bridge0 , em1 ) --- ( trust ) os version: 9.0-p3 I disable firewall , just run bridge function, and I bind a ip on em0. Sometimes , I cannot connect to server ( in trust zone ) from untrust. Then, I ping some ip from the server ( in trust ) to a host ( in untrust ). Suddenly, I connect to the server ( in trust zone ) successfully from untrust at this time. Why?How can I solve the problem? Regards, From fernando.apesteguia at gmail.com Wed Jun 20 16:35:26 2012 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Wed Jun 20 16:35:33 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <201206201015.q5KAFKKj026496@mail.r-bonomi.com> Message-ID: On Wed, Jun 20, 2012 at 2:02 PM, Wojciech Puchar wrote: >>> still not stopped personal attacks (last part of last sentence) but lets >>> forget. >> >> >> Fact; that was NOT a personal attack. ?Your entire line of reasoning so >> far >> has been about -your- preferences, and things as you see them, for _your_ > > > What is specifically my preference? > > >> ?1) Your opinion about the choice of the standard compiler "doesn't >> matter". > > > Once more - messing with my words and you know this. I am saying that it > doesn't matter others than performance. > > Clang performance is just bad. > > >> ?2) The decision _has_ been made. The only question at this point is >> "when". > > > And can be reversed because it is faulty. > > I successfully predicted the fall of linux (in quality point of view) years > ago, then netbsd - after this and my prediction were good. > > Now i predict FreeBSD will fall within 2015 time frame. I don't want to be picky, but predictions (of the future performance of clang) were not a valid point as you previously said ;) Performance is not the only thing that matters. As a developer (not a FreeBSD one), sometimes I would give everything to change a tool with good performance for another one with less performance but with a better design and documentation so I do not spend two days trying to figure out what the hell the previous thousands of programmers before me tried to do :) It could be risky to switch to clang, but if the decision proves wrong, we can always go back to GPL2 gcc, evaluate the possibility of GPL3 gcc or even use another compiler. Besides, it seems to me very objective that the pace of development of clang big and it can only be bigger if FreeBSD uses it as its base compiler. > What i mean fall - that it would be better to use older version as long as > possible because newer are worse. > > For now > > - FreeBSD 6 was an improvement > - FreeBSD 7 was an improvement, except first releases but that's normal > - FreeBSD 8 was a big improvement in performance and quality. > > > FreeBSD 9 as for now: > > - have similar performance at most > - have some improvement and important functionality like TRIM support. > - have some useful functionality like softdep journalling, but risky. Still > - forcing full check reveals some inconsistencies now and then. > > FreeBSD 10 will unlikely be better, but for sure slower unless you will > force gcc build that MAYBE will work. possibly not. > > So now there will be more and more backports done by users just for new > drivers until something that replace FreeBSD will be available. Assuming > there will at all. > > Wish i am wrong. Twice i wasn't > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From proace at gmail.com Wed Jun 20 16:36:06 2012 From: proace at gmail.com (ProAce) Date: Wed Jun 20 16:36:13 2012 Subject: packet filter problem on transparent firewall using bridge and pf In-Reply-To: References: Message-ID: I have another problem ..... >_< Sometimes , I cannot connect to server ( in trust zone ) from untrust. Even I turn off the firewall, the situation still come up. But, when the state appears, I ping some ip from the server ( in trust ) to a host ( in untrust ). Suddenly, I connect to the server ( in trust zone ) successfully from untrust at this time. Why?How can I solve the problem? From root1101 at gmail.com Wed Jun 20 16:39:46 2012 From: root1101 at gmail.com (=?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JvQsNC60YLQsNC90L7Qsg==?=) Date: Wed Jun 20 16:39:54 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: <4FE1FD18.7010101@gmail.com> 20.06.2012 18:47, Mark Felder ?????: > On Wed, 20 Jun 2012 09:43:14 -0500, Wojciech Puchar > wrote: > >>> Why not make FreeBSD better for everyone by cooperating with the >>> CLANG project? >> >> because we already have great compiler - GCC. In spite of using GPL >> licence. > > GCC performs well, but it is a very messy undocumented codebase which > makes maintaining it a nightmare. Just ask Google -- you'll find many > others saying the same thing. It would take MORE work to get FreeBSD > devs up to speed on the GCC codebase to add the features we want than > it is to cooperate with the CLANG community and help them make their > compiler better than GCC in every test case. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > It is the classic developer/user argument. It is also stupid. The user side simply doesn't have the same needs, it can't understand how freaking hard it is sometimes to debug a large and complex program in a badly documented environment or worse with undocumented features. If it works faster ergo it is better - that is the only criteria to really have a meaning to a user. From perrin at apotheon.com Wed Jun 20 16:54:27 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 16:54:34 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> <201206201140.31525.erichfreebsdlist@ovitrap.com> Message-ID: <20120620165425.GA23095@hemlock.hydra> On Wed, Jun 20, 2012 at 06:46:20AM +0200, Wojciech Puchar wrote: > > > >>How about leaving politics and getting back to technical grounds? > > > >what is the problem as long as gcc is in the ports tree? > > what is a problem as clang is in the ports tree? I can think of at least one big reason: the FreeBSD base system should favor the 2-clause Simplified BSD License (aka New BSD License aka FreeBSD License) and compatible licenses. GPLvN, where N is *any* version number currently extant, is *not* a compatible license: it is a one-way valve. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Wed Jun 20 17:11:13 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 17:11:20 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <201206201015.q5KAFKKj026496@mail.r-bonomi.com> Message-ID: <20120620171112.GB23095@hemlock.hydra> On Wed, Jun 20, 2012 at 02:02:35PM +0200, Wojciech Puchar wrote: > >>still not stopped personal attacks (last part of last sentence) but lets > >>forget. > > > >Fact; that was NOT a personal attack. Your entire line of reasoning so far > >has been about -your- preferences, and things as you see them, for _your_ > > What is specifically my preference? It seems that your preference is for everyone to focus on specific use-case performance benchmarks that may not be valid in a month. > > > > 1) Your opinion about the choice of the standard compiler "doesn't matter". > > Once more - messing with my words and you know this. I am saying > that it doesn't matter others than performance. > > Clang performance is just bad. That's not messing with your words. It's pointing out that the fact you appear to believe you know the One True Answer isn't convincing many people, and almost certainly will have zero effect on anyone in a position to actually affect the choice of compiler for the base system. > > > > 2) The decision _has_ been made. The only question at this point is "when". > > And can be reversed because it is faulty. You say it's faulty, discounting all concerns that are not *your* concerns. Saying something, however, does not make it so. > > I successfully predicted the fall of linux (in quality point of > view) years ago, then netbsd - after this and my prediction were > good. > > Now i predict FreeBSD will fall within 2015 time frame. > What i mean fall - that it would be better to use older version as > long as possible because newer are worse. Have fun with that. I, for one, see the change to Clang as a good thing, for homogenizing and liberating the licensing terms of the base system if nothing else. > > For now > > - FreeBSD 6 was an improvement > - FreeBSD 7 was an improvement, except first releases but that's normal > - FreeBSD 8 was a big improvement in performance and quality. > > > FreeBSD 9 as for now: > > - have similar performance at most > - have some improvement and important functionality like TRIM support. > - have some useful functionality like softdep journalling, but > risky. Still - forcing full check reveals some inconsistencies now > and then. > > FreeBSD 10 will unlikely be better, but for sure slower unless you > will force gcc build that MAYBE will work. possibly not. Someone in this extended discussion mentioned that there are efforts underway to make sure the base system will compile cleanly with both Clang and GCC 4.2+, so I think you're just making up complaints here. Someone (other than Wojciech Puchar, who would just be talking out of his ass) correct me if I'm mistaken. > > So now there will be more and more backports done by users just for > new drivers until something that replace FreeBSD will be available. > Assuming there will at all. > > Wish i am wrong. Twice i wasn't When you set your own standards for "success", regardless of anyone else's thoughts on the matter, you'll probably always be right, no matter what predictions you make. That's especially the case when your standards are "If FreeBSD chooses Clang, it will fail by virtue of using Clang." Using a meaningless tautology as your standard for failure is essentially irrelevant to . . . everything. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Wed Jun 20 17:40:08 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 17:40:15 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: <20120620174005.GC23095@hemlock.hydra> On Wed, Jun 20, 2012 at 11:09:23AM +0200, Wojciech Puchar wrote: > >1. gcc will still be available through the ports system. > > As well as clang is available in ports. not an argument. No, it's not an argument all by itself. It's *part* of an argument. > > > >2. The move to clang/llvm as a default compiler will reduce the amount > >of GPL code in the base system, eventually reducing distribution > >issues (especially for 3rd parties). > > true. But JUST reducing GPL code should be a target per se. > FreeBSD is about performance and quality not politics or religion. FreeBSD needs to be able to keep up with bug fixes and support for C and C++ language standards to maintain quality. It needs to avoid licensing that discourages use to maintain relevance, development resources, and productive value, all of which contribute to quality. Performance differences between Clang and GCC are at present so minor as to be considered negligible except for the most pathological edge cases, and Clang performance is improving at a rapid pace that suggests it will soon be a clear performance improvement over GCC. The Clang codebase is more modular and less of a tangled mess, by all accounts, which improves maintainability, extensibility, fixability, and advance-ability, which may be why "In LLVM/Clang [a char type incrementation bug] was not known but was fixed in less than 24 hours," while "In GCC the bug is known and has existed for some time." http://blog.regehr.org/archives/482 In short, as FreeBSD as a whole is to something like Microsoft Windows with regard to stability, bug fixing, and ease of maintenance, so it seems Clang is to GCC. That's not "politics or religion." That's a very real-world, practical benefit to using Clang, to say nothing of the benefit of not having to jump through political, religious, or legal hoops to redistribute something distributed under a copyfree license like Clang, as contrasted with something distributed under a copyleft license like GCC. > > > >3. clang/llvm provides better error and warning messages, as well as > >good static code analysis, which helps reduce some classes of bugs and > >eventually will result in a more reliable FreeBSD system. > > as with 1 - you may use clang when developing. Thank you for such permission. I didn't need it, and I doubt anyone else did, either. > > > >4. clang/llvm is improving quickly. > > When/If it WILL actually improve to be better than gcc it should be > imported to FreeBSD. not sooner. Looking to the future helps ensure that we can choose something that will be better in the long run now, get involved early, and thus help it improve more quickly as well as helping ensure that its "improvements" are to some extent suitable to our uses. Stop thinking about a fiscal period obsessed CEO, and start thinking long-term. > > > >5. clang/llvm is more modular than gcc, although there are plans for > >gcc to become as modular, it will take time. > > Doesn't matter how it is written, but how it performs. How it is written matters for purposes of ensuring faster and less problematic fixes when problems arise. Think long-term for a change. > > > >6. gcc produces faster code, but clang/llvm will eventually (soon > >enough) get there. > > This is your prediction. Not definite fact, mine and other > predictions are different. By the same token, GCC getting greater modularity is not a definite fact, and I would prefer a compiler it will be easier to maintain for future stability, security, and correctness, over one with a generally negligible performance advantage. > > > >7. From the reasons above, it makes sense to complete a task sooner > >rather than later, especially that clang/llvm isn't showing any signs > >of weakness (lack of development power, etc). > > NOBODY prevent you and FreeBSD developers to fix things already - so > FreeBSD and ports would compile with both compilers. > > Actually it is good to fix it already, as making programs compile > with both means usually fixing non-portability bug which would help > using third compiler that may possibly emerge. > > But this DO NOT require clang to be a part of main system. As well > as making it default. It also does not require GCC to be part of the base system, or to be the default, so this point in your argument is moot. > > > >8. There might be more reasons for or against, but I couldn't think of any. > > Against: > > All "for" arguments assumes clang WILL be better. This is a change > as less than 2 days before it was stated to already be better. It is, in many respects, already better. It produces more-correct output than GCC; it does not pollute the base system with copyleft licensing; it does not pollute "intermediate code" representations combined or transformed by other tools during compilation with copyleft licensing; it has a better architecture for maintenance, which bears directly on the ability of FreeBSD developers to contribute to its development and on the likelihood of the compiler maintaining stability, currency, and correctness in the future; it shows far greater beneficial improvement over time than GCC, suggesting much better development support; upstream development is much more responsive to the needs of downstream users and redistributors, including the FreeBSD project; it includes interesting project initiatives, including one that may ultimately obviate the need for Oracle's troublesome JVM; et cetera. If nothing else, the more-correct output should trump negligible performance differences that are likely to evaporate in the near future, especially considering how long GCC has had to clean up its output problems and consistently failed to do so. > > As a comparision - DragonFly BSD is stated to have better ideas that > would result in better performing system in a future. > > But FOR NOW it is much worse performer than FreeBSD that's why i > (and lots of other people) does not switch to DragonFly but of > course will when(and if) DragonFly BSD will actually be better. And > i don't really think this "IF" will happen at all, but i wish to > DragonFly BSD i am wrong. > > Same should be used for clang. AS LONG as it is not better it should > not be imported into base system or worse - used as default. It is better. It just isn't better for the specific cases *you* consider important, even when those cases are of questionable value in the vast majority of circumstances and the ways in which it is better that you ignore are far more broadly applicable. > > Making decision based on wishes and personal likes instead of > technical facts isn't something that anyone should be proud about. So . . . stop doing it. Wishing away other factors does not mean they do not exist. > > As for your words about doing decision good for FreeBSD, not me - it > is pure nonsense attacks because anything that is good for FreeBSD > quality is good for me, and the reverse. That's only true if everyone else measures "quality" the same way you do. Saving three seconds per day on specific tasks is not likely to be the sole factor in most people's determinations of quality. > > The decision of switching to clang now it shows that ideologic and > "religious" arguments won over technical arguments. > > The agressive and data-manipulationg reactions of many people on > that list shows that above sentence is true. When you refuse to assume good faith at first encounter in discussion, you just make everyone into your enemy. This pretty well ensures that the majority of people will ignore your concerns, no matter how valid they may (or may not) be. Try approaching a discussion with the attitude that it is an opportunity for both you and the other party to each learn something from the other, rather than with the attitude that if anyone starts out disagreeing with you that person must be a malevolent entity bent on the destruction of all that is good and right in the world. > > This IMHO much change. What does that H stand for? It sure as hit ain't "humble". -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Wed Jun 20 17:45:50 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 17:45:56 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <4FE19BFC.7030304@gmail.com> Message-ID: <20120620174549.GD23095@hemlock.hydra> On Wed, Jun 20, 2012 at 12:14:09PM +0200, Wojciech Puchar wrote: > > > >And why you think it's not better then gcc? > > because - as you already should know - test shows otherwise. You just ignored everything Volodymyr Kostyrko said about the other factors that are also important for a compiler being considered "better". Good job. I have a hint to share with you, though: Ignoring an argument does not make it wrong. > > As well as FreeBSD running predictable with gcc anyway. . . . for some use cases, evidently including yours. In my case, Clang's stability and predictability is better than GCC's, and in some other cases it may be *much* better. In the cases where it isn't, that's a case of standards-noncompliant code in a port causing problems, and it is a problem that is being fixed prior to FreeBSD 10 release with Clang as the sole compiler in the base system (last I heard). This is what happens when you use a more standards-compliant compiler: you get more stable and predictable behavior. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Wed Jun 20 17:48:04 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 17:48:11 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <4FE19BFC.7030304@gmail.com> <4FE1BDEC.1040705@gmail.com> Message-ID: <20120620174803.GE23095@hemlock.hydra> On Wed, Jun 20, 2012 at 02:16:43PM +0200, Wojciech Puchar wrote: > >speed estimates. > > there are a difference between speed estimate and actual speed - and > i talk about the latter only. You're talking about poorly managed benchmarks that are imprecise and prone to fluctuation, applying only to very specific cases that are not necessarily very broadly representative, but you are talking about them as though they are perfectly representative of all cases. That is, at best, "speed estimates". > > > >Besides, NetBSD and OpenBSD has already selected and using pcc > >now. And they are fine with that one. > > their problem. No -- it's their solution. It would be a problem only if the previous statement said "and they are *not* fine with that one." -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From mixmaster at remailer.privacy.at Wed Jun 20 18:07:59 2012 From: mixmaster at remailer.privacy.at (Anonymous Remailer (austria)) Date: Wed Jun 20 18:08:07 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <4FE1BDEC.1040705@gmail.com> Message-ID: <061ec7554ec379f592240afb3eaa0d77@remailer.privacy.at> > Besides, NetBSD and OpenBSD has already selected and using pcc now. And > they are fine with that one. I wish that or something like that were true, but pcc is dead even in OpenBSD packages/ports. There was just some discussion on misc@ I am hoping for the day gcc is only used on Linux and many free compilers are used everywhere else. From perrin at apotheon.com Wed Jun 20 18:30:49 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 18:30:56 2012 Subject: Attaching a monitor via vga In-Reply-To: References: <20120620032824.GD15821@hemlock.hydra> Message-ID: <20120620183048.GF23095@hemlock.hydra> On Wed, Jun 20, 2012 at 07:27:33AM -0600, Warren Block wrote: > > Adding a new mode should not be needed for most monitors. I do this > to set up the external video: > > xrandr --output VGA --above LVDS > > That's to span a single desktop over both monitors. > > Some desktop environments have their own ideas about which monitors > are attached and what part of the desktop is shown, and that must be > changed in the DE's settings. My use case involves putting everything on one monitor at a time -- the larger desktop LCD when it's plugged in, and the laptop display when the external monitor is *not* plugged in. From the sound of the request, that is the use case the orignial querent in this thread had in mind as well. Your tip could well be useful for some use cases, though. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From walterhurry at gmail.com Wed Jun 20 19:19:19 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Wed Jun 20 19:19:27 2012 Subject: New to FreeBSD - Some questions References: Message-ID: On Wed, 20 Jun 2012 14:32:24 +0200, Fred Morcos wrote: > Hello all, > > I am new to FreeBSD, coming from a GNU/Linux background (most > comfortable with Archlinux). I compiled a series of questions I would > like to ask in different areas and categories. Should I send them all in > a single email message or should I split them by subject/topic into > different emails? > > The advantage of the former is that I will be able to easily show > relations between the different topics and questions (put them into > context) as well as articulate the setup I would like to reach. The > advantage of the latter is that it is cleaner and simpler to answer one > question by one. > > Also, I have done a bit of poking around to answer each of my own > questions, obviously with no luck, so I do not mind RTFM-ing - I would > actually prefer it, please feel free to link me to an article, > tutorial, man page or handbook that already answers one or more > question(s). I'm quite new to FreeBSD too (RHEL/Fedora background), and am most impressed with it so far. The first thing to mention is that this is an extremely helpful list (I won't call it a newsgroup because it isn't one, though I read it via gmane), and as such is most useful. Ask away! Secondly (and probably stating the obvious), the handbook is the place I always look first. Good luck! From amvandemore at gmail.com Wed Jun 20 19:26:35 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Jun 20 19:26:43 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: These are good guidelines to follow: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/article.html Try to avoid X Y problems. Initiating it with the root question will give the best results. On Wed, Jun 20, 2012 at 7:32 AM, Fred Morcos wrote: > Hello all, > > I am new to FreeBSD, coming from a GNU/Linux background (most > comfortable with Archlinux). I compiled a series of questions I would > like to ask in different areas and categories. Should I send them all > in a single email message or should I split them by subject/topic into > different emails? > > The advantage of the former is that I will be able to easily show > relations between the different topics and questions (put them into > context) as well as articulate the setup I would like to reach. The > advantage of the latter is that it is cleaner and simpler to answer > one question by one. > > Also, I have done a bit of poking around to answer each of my own > questions, obviously with no luck, so I do not mind RTFM-ing - I would > actually prefer it, please feel free to link me to an article, > tutorial, man page or handbook that already answers one or more > question(s). > > Cheers, > Fred > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Adam Vande More From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 19:58:07 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 19:58:14 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: > I'm quite new to FreeBSD too (RHEL/Fedora background), and am most > impressed with it so far. rather huge difference. > Secondly (and probably stating the obvious), the handbook > > > > is the place I always look first. and third - manuals. They are in sync with system and actually VERY useful. while i was still (long time ago) using linux most common manual was like "this manual is outdated. Use texinfo documentation". and texinfo docs was often outdated too. Today it is most probably "look at wikipedia" ;) Of course i means FreeBSD base system, ports are not part of FreeBSD and quality varies. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 20:02:33 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 20:02:41 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <061ec7554ec379f592240afb3eaa0d77@remailer.privacy.at> References: <061ec7554ec379f592240afb3eaa0d77@remailer.privacy.at> Message-ID: > > I wish that or something like that were true, but pcc is dead even in > OpenBSD packages/ports. There was just some discussion on misc@ > > I am hoping for the day gcc is only used on Linux and many free compilers > are used everywhere else. me too. but first we need to have Free compiler that would be at least comparable with gcc in resulting code. Actually i would like to see that even linux migrates out of GNU communism. For now - as i've read in many places, less than 50% of newly developed open source software use GPL licence. It was >95% not long time ago. Good. From christer.solskogen at gmail.com Wed Jun 20 20:06:08 2012 From: christer.solskogen at gmail.com (Christer Solskogen) Date: Wed Jun 20 20:06:15 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: On Wed, Jun 20, 2012 at 7:18 AM, Wojciech Puchar wrote: > Will i be able to compile FreeBSD base system with gcc after some time? > not sure. Why is that so important for you? -- chs, From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 20:06:35 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 20:06:41 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: > I have some friends that develop software. They had released it under > GNU umbrella. Later on, other folks were taking advantage and not isn't it that once you release your own work as GPL you don't really own this and even you cannot use it in closed source software? From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 20:07:13 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 20:07:19 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: > wrote: >> Will i be able to compile FreeBSD base system with gcc after some time? >> not sure. > > Why is that so important for you? if you would read even less than carefully the topic you will get the answer. From christer.solskogen at gmail.com Wed Jun 20 20:15:36 2012 From: christer.solskogen at gmail.com (Christer Solskogen) Date: Wed Jun 20 20:15:44 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: On Wed, Jun 20, 2012 at 10:07 PM, Wojciech Puchar wrote: >> wrote: >>> >>> Will i be able to compile FreeBSD base system with gcc after some time? >>> not sure. >> >> >> Why is that so important for you? > > if you would read even less than carefully the topic you will get the > answer. No, I don't. And don't patronize me that way. You'll loose. -- chs, From bonomi at mail.r-bonomi.com Wed Jun 20 20:23:07 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Jun 20 20:23:17 2012 Subject: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* In-Reply-To: Message-ID: <201206202023.q5KKNJ52029076@mail.r-bonomi.com> > From: Wojciech Puchar > > >> But still - do you know why it is necessary? > > > > An explanation written some 80 years ago; > > 'Because that way it will work'. > if you don't have anything to say - just don't do it. practice what you preach. From freebsd at edvax.de Wed Jun 20 20:47:03 2012 From: freebsd at edvax.de (Polytropon) Date: Wed Jun 20 20:47:10 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: <20120620224030.1a0dc3b4.freebsd@edvax.de> On Wed, 20 Jun 2012 22:06:31 +0200 (CEST), Wojciech Puchar wrote: > > I have some friends that develop software. They had released it under > > GNU umbrella. Later on, other folks were taking advantage and not > > isn't it that once you release your own work as GPL you don't really own > this and even you cannot use it in closed source software? Releasing something as GPL does not mean you give up copyright. If I understood this whole thing correctly, _you_ (as the creator) can still use the source that you've just released to the public (under the GPL rules) and create derivates from it, continue development "internally" into a different direction and also use it in a commercial way as closed-source. _Others_ can not do so. The act of releasing is, as far as I know, tied to a specific version of the "source tree" - the point from which others can see, download, use and modify the source counts. If I understand the GPL correctly, from that point (i. e. when contributions have taken place) you cannot turn the "result" into closed source. However, with your own work, you can. Maybe some lawyer intellectual property copyright expert can be more precise and elaborate. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From perrin at apotheon.com Wed Jun 20 20:57:33 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 20:57:40 2012 Subject: Why Clang In-Reply-To: References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> Message-ID: <20120620205731.GA26703@hemlock.hydra> On Wed, Jun 20, 2012 at 10:06:31PM +0200, Wojciech Puchar wrote: > >I have some friends that develop software. They had released it under > >GNU umbrella. Later on, other folks were taking advantage and not > > isn't it that once you release your own work as GPL you don't really > own this and even you cannot use it in closed source software? When you license something, you still own the copyright. You can then release it under other licenses as well, and for versions you have modified you can release it under another license *only* if you choose, thus no longer having the GPL attached to those version. The old version's license, though, cannot be rescinded for those who have already received it under those terms, which then allows them to pass it on to others under the same license. This means that you can simultaneously offer a piece of software for which you own the copyright both under the GPL and as a paid-license product for those who want different license terms than the GPL, so yeah, you *can* use it in closed source software even when distributing it under the GPL at the same time if *you* own the copyright or if you get a separate license from whoever owns the copyright. The people who are restricted from using it in a closed-source project are those who do not "own" the copyright, do not pay the copyright holder for a different license, and acquire it under the GPL. In short, the people most restricted in such circumstances are the people who make up the open source development community. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Wed Jun 20 21:11:06 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 21:11:13 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> Message-ID: <20120620211103.GB26703@hemlock.hydra> On Wed, Jun 20, 2012 at 10:07:09PM +0200, Wojciech Puchar wrote: > > wrote: > >>Will i be able to compile FreeBSD base system with gcc after some time? > >>not sure. > > > >Why is that so important for you? > if you would read even less than carefully the topic you will get > the answer. I'll try to help out, here. Christer Solskogen: I think the reason that is so very important to Wojciech Puchar is the fact that he is incapable of imagining: 1. other concerns that might apply 2. that things appear highly likely to change 3. that a negligible performance difference is . . . negligible I'm pretty sure he's not running compute clusters on FreeBSD, after all. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Wed Jun 20 21:14:18 2012 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jun 20 21:14:26 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <4FE1FD18.7010101@gmail.com> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> <4FE1FD18.7010101@gmail.com> Message-ID: <20120620211417.GC26703@hemlock.hydra> On Wed, Jun 20, 2012 at 08:40:56PM +0400, ??????? ???????? wrote: > 20.06.2012 18:47, Mark Felder ?????: > > On Wed, 20 Jun 2012 09:43:14 -0500, Wojciech Puchar > > wrote: > >> [attribution lost by Wojciech Puchar and I'm too lazy to check] > >>> > >>> Why not make FreeBSD better for everyone by cooperating with the > >>> CLANG project? > >> > >> because we already have great compiler - GCC. In spite of using GPL > >> licence. > > > > GCC performs well, but it is a very messy undocumented codebase which > > makes maintaining it a nightmare. Just ask Google -- you'll find many > > others saying the same thing. It would take MORE work to get FreeBSD > > devs up to speed on the GCC codebase to add the features we want than > > it is to cooperate with the CLANG community and help them make their > > compiler better than GCC in every test case. > > It is the classic developer/user argument. It is also stupid. The user > side simply doesn't have the same needs, it can't understand how > freaking hard it is sometimes to debug a large and complex program in a > badly documented environment or worse with undocumented features. If it > works faster ergo it is better - that is the only criteria to really > have a meaning to a user. It's bikeshed painting. Someone who doesn't understand the many factors that apply, and doesn't even *want* to know, picks one thing he thinks he understands and argues about it in an attempt to make the entire project change course. Well, dammit, I *like* blue, and he can take his bucket of red paint home with him to paint his *own* bikeshed. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From blue.seahorse.syndicate at gmail.com Wed Jun 20 21:25:40 2012 From: blue.seahorse.syndicate at gmail.com (Lynn Steven Killingsworth) Date: Wed Jun 20 21:25:59 2012 Subject: Fwd: Need latest xorg In-Reply-To: References: Message-ID: I don't seem to have generated much comment. I suspect you are thinking as I do that if your servers don't immediately download then their is a bandit on my Internet line?? ------- Forwarded message ------- From: "Lynn Steven Killingsworth" To: "freebsd-questions@freebsd.org" Cc: Subject: Need latest xorg Date: Wed, 20 Jun 2012 08:02:29 -0400 Hi FreeBSD - I have an AMD HD 7950 video card so I am trying to install the latest FreeBSD xorg available (7.5.2) for an updated driver. When I start make the install immediately stops at MesaLib-7.6.1.tar.gz. I can restart it on a primary using the location given then after a short time the install stops at /x11/9menu (/9menu-1.8.shar.gz) I can also attempt to restart this on a couple of servers but after a trip around the world my install still stops at /x11/9menu I live in Maine (USA) so I pick the MIT primary ftp5 since I inadvertly determined it was MIT. ftp1 also sends me on a trip around the world with the same result. If I can install xorg-7.5.2 I am hoping then that the install of kde4-4.8.4 will complete on this new install of FreeBSD 9.0 Does anyone else have a favorite ftp that cooperates? (And I notice the location in the server is different from the primaries on other servers?) Steve -- Using Opera's revolutionary email client: http://www.opera.com/mail/ -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From mgamsjager at gmail.com Wed Jun 20 21:34:01 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Wed Jun 20 21:34:09 2012 Subject: Need latest xorg In-Reply-To: References: Message-ID: On Wed, Jun 20, 2012 at 11:25 PM, Lynn Steven Killingsworth < blue.seahorse.syndicate@gmail.com> wrote: > I don't seem to have generated much comment. > > I suspect you are thinking as I do that if your servers don't immediately > download then their is a bandit on my Internet line?? > > > > > Newer AMD videocards and Freebsd is just pure pain. Dont think the newer xorg will change much. From walterhurry at gmail.com Wed Jun 20 21:43:34 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Wed Jun 20 21:43:40 2012 Subject: No sound in Flash Message-ID: FreeBSD 9 (x86_64). Sorry if this is a FAQ, but I have googled assiduously and found nothing useful. I have installed Flash, following the instructions in the handbook. It works well, and the video element seems fine and smooth. But on (for example) YouTube, there is no audio at all. This is despite the fact that .mp3s, .mp4s, .avis, .movs etc. all play perfectly (in mplayer). There is probably a simple solution, but I cannot find it. Can anyone help? From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 21:57:24 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 21:57:31 2012 Subject: Why Clang In-Reply-To: <20120620224030.1a0dc3b4.freebsd@edvax.de> References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> <20120620224030.1a0dc3b4.freebsd@edvax.de> Message-ID: >> >> isn't it that once you release your own work as GPL you don't really own >> this and even you cannot use it in closed source software? > > Releasing something as GPL does not mean you give up > copyright. If I understood this whole thing correctly, I'm not a lawyer but i repeat what i've read time ago, and .. that is a logical result. > The act of releasing is, as far as I know, tied to a > specific version of the "source tree" - the point from > which others can see, download, use and modify the > source counts. If I understand the GPL correctly, from > that point (i. e. when contributions have taken place) > you cannot turn the "result" into closed source. > > However, with your own work, you can. thanks for explanation. from what i know (still, possibly incorrent) if i am hired as a programmer and write a program, this program belong to the company and i couldn't use it everywhere at least officially. I wasn't ever hired as a programmer (or fortunately, as anyone else) so it wasn't ever a problem for me. but that was my reasoning. So - if authors of any project, no matter how numerous, will all without exception agree that they want to get rid of GPL, then - they always can turn it to BSD licenced ? am i right? From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 21:59:36 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 21:59:43 2012 Subject: Why Clang In-Reply-To: <20120620205731.GA26703@hemlock.hydra> References: <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> <20120620205731.GA26703@hemlock.hydra> Message-ID: >> >> isn't it that once you release your own work as GPL you don't really >> own this and even you cannot use it in closed source software? > > When you license something, you still own the copyright. You can then > release it under other licenses as well, and for versions you have > modified you can release it under another license *only* if you choose, thanks of explanation. i believed that the rules of GPL affects everyone including the programmer who wrote the code. This is good as with programs that doesn't have huge list of authors, it is still possible to get away from GPL. Would be nice to see someday that term "Free software" will only mean free software, not "free software but..." From root1101 at gmail.com Wed Jun 20 22:15:22 2012 From: root1101 at gmail.com (=?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JvQsNC60YLQsNC90L7Qsg==?=) Date: Wed Jun 20 22:15:30 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <20120620211417.GC26703@hemlock.hydra> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> <4FE1FD18.7010101@gmail.com> <20120620211417.GC26703@hemlock.hydra> Message-ID: <4FE24BC0.3020909@gmail.com> 21.06.2012 01:14, Chad Perrin ?????: > On Wed, Jun 20, 2012 at 08:40:56PM +0400, ??????? ???????? wrote: >> 20.06.2012 18:47, Mark Felder ?????: >>> On Wed, 20 Jun 2012 09:43:14 -0500, Wojciech Puchar >>> wrote: >>>> [attribution lost by Wojciech Puchar and I'm too lazy to check] >>>>> Why not make FreeBSD better for everyone by cooperating with the >>>>> CLANG project? >>>> because we already have great compiler - GCC. In spite of using GPL >>>> licence. >>> GCC performs well, but it is a very messy undocumented codebase which >>> makes maintaining it a nightmare. Just ask Google -- you'll find many >>> others saying the same thing. It would take MORE work to get FreeBSD >>> devs up to speed on the GCC codebase to add the features we want than >>> it is to cooperate with the CLANG community and help them make their >>> compiler better than GCC in every test case. >> It is the classic developer/user argument. It is also stupid. The user >> side simply doesn't have the same needs, it can't understand how >> freaking hard it is sometimes to debug a large and complex program in a >> badly documented environment or worse with undocumented features. If it >> works faster ergo it is better - that is the only criteria to really >> have a meaning to a user. > It's bikeshed painting. Someone who doesn't understand the many factors > that apply, and doesn't even *want* to know, picks one thing he thinks he > understands and argues about it in an attempt to make the entire project > change course. > > Well, dammit, I *like* blue, and he can take his bucket of red paint home > with him to paint his *own* bikeshed. > Haven't heard it described like this, but appropriate. Also the Danth's law applies always) From freebsd at edvax.de Wed Jun 20 22:18:17 2012 From: freebsd at edvax.de (Polytropon) Date: Wed Jun 20 22:18:24 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> <20120620224030.1a0dc3b4.freebsd@edvax.de> Message-ID: <20120621001809.da9ce415.freebsd@edvax.de> On Wed, 20 Jun 2012 23:57:17 +0200 (CEST), Wojciech Puchar wrote: > from what i know (still, possibly incorrent) if i am hired as a programmer > and write a program, this program belong to the company and i couldn't use > it everywhere at least officially. That is highly debatable and mostly subject to the content of your programmer's contract. In most cases, one would assume that by receiving a payment, you give the "rights of creator" to that company. But it doesn't neccessarily have to be the case! Imagine a photographer who takes photos of you, e. g. for a new passport. You pay the photographer for the developed (today: printed) photos you receive, for example 4 or 6 pieces. You do _not_ obtain the "right regarding the image" by that payment. The photographer (as the creator of the image) still owns it. You can buy it separately. (At least this is the case here in Germany according to the law.) To translate this to a programmer's job: You're being paid to write a program for a customer. You deliver the program. That's what you are paid for. Still the source code is yours (as _you_ are the creator, no matter who you sold "a copy" to). So I would assume that you can still use the program for further projects that run independently from that customer. EXCEPT - of course, there is a contract specifying otherwise. > So - if authors of any project, no matter how numerous, will all > without exception agree that they want to get rid of GPL, then - they > always can turn it to BSD > licenced ? am i right? A general consensus of the issuers of the license ("continuous licensing") could maybe do that, I assume. Still there would be the possibility to create a fork (common means in open source when something needs to be changed that doesn't go well with "mainstream"), and that fork could keep the old license. Now there are two independent projects. BUT - as everyone is free to obtain, modify and re-issue GPL source code, I'm not sure such a consensus could be reached. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 22:25:28 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 22:25:37 2012 Subject: Why Clang In-Reply-To: <20120621001809.da9ce415.freebsd@edvax.de> References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> <20120620224030.1a0dc3b4.freebsd@edvax.de> <20120621001809.da9ce415.freebsd@edvax.de> Message-ID: > You're being paid to write a program for a customer. You i don't talk that case, but if i am hired to write some part of program as an employer in software company. >> So - if authors of any project, no matter how numerous, will all >> without exception agree that they want to get rid of GPL, then - they >> always can turn it to BSD >> licenced ? am i right? > > A general consensus of the issuers of the license ("continuous > licensing") could maybe do that, I assume. Still there would > be the possibility to create a fork (common means in open source > when something needs to be changed that doesn't go well with > "mainstream"), and that fork could keep the old license. Now > there are two independent projects. that is fine. > > BUT - as everyone is free to obtain, modify and re-issue GPL > source code, I'm not sure such a consensus could be reached. by creating a BSD licenced fork - constructed from parts written by all developers that - as you said - have personal right to their code. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 22:26:40 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 22:26:47 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <20120620211103.GB26703@hemlock.hydra> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> <20120620211103.GB26703@hemlock.hydra> Message-ID: >> the answer. > > I'll try to help out, here. > > Christer Solskogen: I think the reason that is so very important to > Wojciech Puchar is the fact that he is incapable of imagining: > > 1. other concerns that might apply > > 2. that things appear highly likely to change > > 3. that a negligible performance difference is . . . negligible > > I'm pretty sure he's not running compute clusters on FreeBSD, after all. > i would recommend you to take more care about yourself, and not me. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 20 22:31:06 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 20 22:31:13 2012 Subject: No sound in Flash In-Reply-To: References: Message-ID: > FreeBSD 9 (x86_64). > > Sorry if this is a FAQ, but I have googled assiduously and found nothing > useful. > > I have installed Flash, following the instructions in the handbook. Flash is adobe product and they don't provide binaries for FreeBSD, at least they didn't. if you really need flash, you may install gnash from ports. not fully capable but usually works, and doesn't need linux emulator and closed source code. Flash it not a standard. If you want flash mostly to view youtube use youtube-dl from ports. xpi-unplug plugin for firefox (also in ports) often helps with pages that have movies embedded with player. The side effect of using both tools would be having all movies actually downloaded - so you will actually HAVE that movies. downloaded movies play fine with mplayer. From freebsd at edvax.de Wed Jun 20 22:34:19 2012 From: freebsd at edvax.de (Polytropon) Date: Wed Jun 20 22:34:25 2012 Subject: Why Clang In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <20120619205225.21d6709f.freebsd@edvax.de> <20f61898ce668c96f8882981cf8e24f6@remailer.privacy.at> <4FE1AD27.8000704@gmail.com> <1340192731894-5720039.post@n5.nabble.com> <4FE1BD0E.5060300@pukruppa.de> <20120620224030.1a0dc3b4.freebsd@edvax.de> <20120621001809.da9ce415.freebsd@edvax.de> Message-ID: <20120621003335.ce64ea73.freebsd@edvax.de> On Thu, 21 Jun 2012 00:25:22 +0200 (CEST), Wojciech Puchar wrote: > > You're being paid to write a program for a customer. You > > i don't talk that case, but if i am hired to write some part of program as > an employer in software company. Sorry, I misread the situation. In this case I assume that any half-baked employer will have a specific clause in the contract that will cause that all your creations will be attributed to the employer immediately, the wage being an act of selling your intellectual property (if this term applies here, not sure, it's widely stressed) to the employer who becomes the new "owner" and "creator on behalf". It's also possible that similar content can be present in a contract between client and customer (just like between employer and employee). I highly assume that if such a clause is _not_ present, the "natural and normal interpretation" appears, i. e. you are the creator, copyright is yours. Even if it sounds strange, it still can apply in an employment setting. But as I said, contracts and local law may have some regulations that applies. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From root1101 at gmail.com Wed Jun 20 22:36:54 2012 From: root1101 at gmail.com (=?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JvQsNC60YLQsNC90L7Qsg==?=) Date: Wed Jun 20 22:37:01 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> <20120620211103.GB26703@hemlock.hydra> Message-ID: <4FE250CC.9090205@gmail.com> 21.06.2012 02:26, Wojciech Puchar ?????: >>> the answer. >> >> I'll try to help out, here. >> >> Christer Solskogen: I think the reason that is so very important to >> Wojciech Puchar is the fact that he is incapable of imagining: >> >> 1. other concerns that might apply >> >> 2. that things appear highly likely to change >> >> 3. that a negligible performance difference is . . . negligible >> >> I'm pretty sure he's not running compute clusters on FreeBSD, after all. >> > i would recommend you to take more care about yourself, and not me. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Watch out, we got a badass over here From czsq888 at 163.com Thu Jun 21 00:21:45 2012 From: czsq888 at 163.com (sw2wolf) Date: Thu Jun 21 00:21:53 2012 Subject: No sound in my FreeBSD 9 Message-ID: <1340238104348-5720280.post@n5.nabble.com> $uname -a FreeBSD mybsd.zsoft.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 $sudo sysctl -w hw.snd.verbose=2 $cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: at io 0xde081000, 0xde082000 irq 17 bufsz 16384 (1p:1v/1r:1v) default snddev flags=0x2e2 [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004 interrupts 44126, underruns 0, feed 44126, ready 0 [b:4096/2048/2|bs:4096/2048/2] channel flags=0x2100 {userland} -> feeder_mixer(0x00200010) -> {hardware} pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:65536/2048/32] channel flags=0x10000000 {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware} [pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005 interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 [b:4096/2048/2|bs:4096/2048/2] channel flags=0x2100 {hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland} pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000 interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0] channel flags=0x10000000 {hardware} -> feeder_root(0x00000000) -> {userland} $mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 75:75 Mixer igain is currently set to 0:0 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 $pciconf -lv | grep -i audio device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller' subclass = audio subclass = audio $dmesg | grep -i audio pci1: at device 0.0 (no driver attached) However the sound is OK using XP on the same box (so the sound card has no problem) $gpart show ada0 => 63 39874304 ada0 MBR (19G) 63 19534977 1 !12 [active] (9.3G) 19535040 20338668 2 freebsd (9.7G) 39873708 659 - free - (329k) The GENERIC kernel has loaded driver( snd_ich ), but i can hear nothing. Any suggestion is appreciated! ----- e^(?.i) + 1 = 0 -- View this message in context: http://freebsd.1045724.n5.nabble.com/No-sound-in-my-FreeBSD-9-tp5720280.html Sent from the freebsd-questions mailing list archive at Nabble.com. From amvandemore at gmail.com Thu Jun 21 00:48:07 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Thu Jun 21 00:48:20 2012 Subject: No sound in my FreeBSD 9 In-Reply-To: <1340238104348-5720280.post@n5.nabble.com> References: <1340238104348-5720280.post@n5.nabble.com> Message-ID: On Wed, Jun 20, 2012 at 7:21 PM, sw2wolf wrote: > > pci1: at device 0.0 (no driver attached) > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html -- Adam Vande More From jhs at berklix.com Thu Jun 21 00:54:37 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Thu Jun 21 00:54:45 2012 Subject: Why Clang In-Reply-To: Your message "Thu, 21 Jun 2012 00:18:09 +0200." <20120621001809.da9ce415.freebsd@edvax.de> Message-ID: <201206210054.q5L0s2O5071935@fire.js.berklix.net> Hi Polytropon, cc questions@ (No CC Wojciech P. as my local filters drop text from him ) > To translate this to a programmer's job: > > You're being paid to write a program for a customer. You > deliver the program. That's what you are paid for. Still > the source code is yours (as _you_ are the creator, no > matter who you sold "a copy" to). So I would assume that > you can still use the program for further projects that > run independently from that customer. > > EXCEPT - of course, there is a contract specifying otherwise. There's often legal (copyright, patents, etc) discussions on FreeBSD lists, maybe we should have a legal@freebsd.org list on http://lists.freebsd.org/mailman/listinfo There's 193 countries in the United Nations http://www.un.org/en/members/growth.shtml Some have different laws even within one country: In UK, England & Scotland have different contract law: http://www.inhouselawyer.co.uk/index.php/scotland-home/8094-scots-and-english-contract-law-false-friends Decades back USA employees by default retained more patent &/or maybe copyright rights than UK employees. In UK by default it went to employer. But if a USA employer put a clause in to over- ride the default ? ... IANAL = I Am Not A Lawyer etc. German employee law I don't know. I've always been freelance. Tip: Often mentioning the idea at the beginnning of contracts, technical project directors are happy to ask their legal dept. to add a simple clause they draft themselves along the lines of eg: Customer has exclusive rights to code written just for project. Programmer can keep & publish general code written or enhanced for general tools not exclusively for project. Customer can keep & use a copy of tools. Best to suggest such ideas at the beginning not end of projects. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From modulok at gmail.com Thu Jun 21 01:54:28 2012 From: modulok at gmail.com (Modulok) Date: Thu Jun 21 01:54:39 2012 Subject: OT: Robotics or embedded or hardware programming... what is this called? Message-ID: List, Sorry for the off-topic post. There are a lot of technically adept people on this list, so I thought I'd try my luck here: I want to get started programming for hardware. Motors, sensors, actuators, etc. I have a programming background, (python, PHP, C++) but no experience with code that drives hardware. (Motors, sensors, etc.) I *don't* want closed-source "kit robots" where the point is to build the robot the book and thats it. I also don't want ladder logic-based PMC's. Some kind of micro-controller that runs a *nix flavor (or a BSD flavor!) would be great! (If that's what I need.) Basically, I want to do stuff like "if input1() is True then apply_voltage_on_output3()", etc. Build my own traffic light, coffee maker, mars rover, automatic-plant waterer, whatever. What do you call this? Embedded programming? Generic hardware programming? Robotics programming? Are there prefabricated, standard embedded boards and hardware specs that play together like PC parts do? In short, I don't even know where to start. Even general pointers to books/websites would be great. Once I know what it's called I can google much more effectively ;) Thanks! -Modulok- From bonomi at mail.r-bonomi.com Thu Jun 21 01:56:59 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Thu Jun 21 01:57:06 2012 Subject: Why Clang In-Reply-To: <20120621003335.ce64ea73.freebsd@edvax.de> Message-ID: <201206210157.q5L1v6qE030445@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Wed Jun 20 17:37:45 2012 > Date: Thu, 21 Jun 2012 00:33:35 +0200 > From: Polytropon > To: Wojciech Puchar > Cc: FreeBSD Questions , > Antonio Olivares > Subject: Re: Why Clang > > On Thu, 21 Jun 2012 00:25:22 +0200 (CEST), Wojciech Puchar wrote: > > > You're being paid to write a program for a customer. You > > > > i don't talk that case, but if i am hired to write some part of program as > > an employer in software company. > > Sorry, I misread the situation. > This is a situation addressed _specifically_ in Berne Convention copyright law, under the heading of 'work done for hire'. For _anything_ that falls under the 'work done for hire' clause(s), copyright (and _title_) reses with the party who 'hired' the work done. Work done by a 'contractor' under a 'purchase of services' contract is generally _not_ 'work done for hire' (although it -may- be, depending on the language of the contract), and thus, genenrall, copyright, etc. remains with the person who did the work, -- *unless* the contract specifies otherwise. From walterhurry at gmail.com Thu Jun 21 02:14:57 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Thu Jun 21 02:15:04 2012 Subject: No sound in Flash References: Message-ID: On Thu, 21 Jun 2012 00:31:02 +0200, Wojciech Puchar wrote: >> FreeBSD 9 (x86_64). >> >> Sorry if this is a FAQ, but I have googled assiduously and found >> nothing useful. >> >> I have installed Flash, following the instructions in the handbook. > Flash is adobe product and they don't provide binaries for FreeBSD, at > least they didn't. > > if you really need flash, you may install gnash from ports. not fully > capable but usually works, and doesn't need linux emulator and closed > source code. > Thanks for the advice about gnash! I've installed it, and removed nspluginwrapper and all the linux stuff. It seems to work perfectly for my purposes. From eam1edward at gmail.com Thu Jun 21 02:58:39 2012 From: eam1edward at gmail.com (Edward M) Date: Thu Jun 21 02:58:45 2012 Subject: OT: Robotics or embedded or hardware programming... what is this called? In-Reply-To: References: Message-ID: <4FE28F05.9010703@gmail.com> On 06/20/2012 06:54 PM, Modulok wrote: > Even general pointers to books/websites would be great. Once I know what it's > called I can google much more effectively Mars rover is robotic/embedded. I am using this site myself. http://www.societyofrobots.com/ From gobble.wa at gmail.com Thu Jun 21 03:28:54 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Thu Jun 21 03:29:01 2012 Subject: Need latest xorg In-Reply-To: References: Message-ID: On Wed, Jun 20, 2012 at 2:33 PM, Matthias Gamsjager wrote: > On Wed, Jun 20, 2012 at 11:25 PM, Lynn Steven Killingsworth < > blue.seahorse.syndicate@gmail.com> wrote: > > > I don't seem to have generated much comment. > > > > I suspect you are thinking as I do that if your servers don't immediately > > download then their is a bandit on my Internet line?? > > > > > > > > > > > Newer AMD videocards and Freebsd is just pure pain. Dont think the newer > xorg will change much. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Hi, Have you considered installing packages? I have a daily sync repo mirror of amd64 and i386 pkgs (Latest/Current) if you experience difficulty accessing the FTP servers. lemme know. Unfortunately I don't have everything mirrored at this time, and not sure how they would fly on 9-x :) Also latest xorg runs great with my AMD HD 6620G, obviously a different class than your AMD HD 7950 but I suppose it could also be considered a 'newer card', first released June 14, 2011, about 6 months before the 7950. Not sure when the cut-off date is. Waitman Gobble San Jose California USA From amvandemore at gmail.com Thu Jun 21 03:43:01 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Thu Jun 21 03:43:09 2012 Subject: Need latest xorg In-Reply-To: References: Message-ID: On Wed, Jun 20, 2012 at 7:02 AM, Lynn Steven Killingsworth < blue.seahorse.syndicate@gmail.com> wrote: > Hi FreeBSD - > > I have an AMD HD 7950 video card so I am trying to install the latest > FreeBSD xorg available (7.5.2) for an updated driver. > > When I start make the install immediately stops at MesaLib-7.6.1.tar.gz. > I can restart it on a primary using the location given then after a short > time the install stops at /x11/9menu (/9menu-1.8.shar.gz) I can also > attempt to restart this on a couple of servers but after a trip around the > world my install still stops at /x11/9menu Post the error messages so we can tell what is going on instead of what you think is going on. A few tips: * Use a port managament tool, preferably portmaster. * set RANDOMIZE_MASTER_SITES in /etc/make.conf to force trying different download locations. * You may be interested in sysutils/fastest_cvsup -- Adam Vande More From bah at bananmonarki.se Thu Jun 21 03:56:44 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Thu Jun 21 03:56:51 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: <4FDF7326.1080201@gmail.com> References: <4FDA0B5E.4090901@gmail.com> <4FDAAF5E.4040500@gmail.com> <4FDAECF8.4080007@gmail.com> <4FDB1BB0.8060800@bananmonarki.se> <4FDF7326.1080201@gmail.com> Message-ID: <4FE29B16.5060005@bananmonarki.se> 2012-06-18 20:27, David Demelier skrev: > On 15/06/2012 13:25, Bernt Hansson wrote: >> On 2012-06-15 10:06, David Demelier wrote: >>> On 15/06/2012 05:43, Edward M wrote: >>>> On 06/14/2012 09:03 AM, David Demelier wrote: >>>>> I have an old SB Live! card with a 5.1 speaker set, but i can't get >>>>> sound from center and rear speakers with mplayer. >>>>> >>>>> I'm using the snd_emu10kx driver and when I try to play a DVD I get >>>>> sound only through the front speakers (and LFE) like a 2.1 >>>>> >>>>> Adding -channels 6 to the mplayer args does not help. >>>>> >>>>> Cheers, >>>> >>>> Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or >>>> DTS. So a decorder is needed. >>>> >>> >>> That's what mplayer says: >>> >>> ========================================================================== >>> >>> >>> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders >>> AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000) >>> Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) >>> ========================================================================== >>> >>> >>> AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) >>> >>> What do you mean by "a decoder is needed"? >> >> Have you tried vlc or xine? > > It does not work with VLC too, do you need to tweak some settings? Try $ vlc filename I've tried a file that gave this error [0x2bb4b43c] main decoder error: no suitable decoder module for fourcc `mp4v'. VLC probably does not support this sound or video format. From bah at bananmonarki.se Thu Jun 21 04:47:56 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Thu Jun 21 04:48:01 2012 Subject: OT: Robotics or embedded or hardware programming... what is this called? In-Reply-To: References: Message-ID: <4FE2A71C.8020503@bananmonarki.se> 2012-06-21 03:54, Modulok skrev: > List, > > Sorry for the off-topic post. There are a lot of technically adept people on > this list, so I thought I'd try my luck here: > > I want to get started programming for hardware. Motors, sensors, actuators, etc. > I have a programming background, (python, PHP, C++) but no experience with code > that drives hardware. (Motors, sensors, etc.) > > I *don't* want closed-source "kit robots" where the point is to build the robot > the book and thats it. I also don't want ladder logic-based PMC's. Some kind of > micro-controller that runs a *nix flavor (or a BSD flavor!) would be great! (If > that's what I need.) Basically, I want to do stuff like "if input1() is True > then apply_voltage_on_output3()", etc. Build my own traffic light, coffee > maker, mars rover, automatic-plant waterer, whatever. > > What do you call this? Embedded programming? Generic hardware programming? > Robotics programming? Are there prefabricated, standard embedded boards and > hardware specs that play together like PC parts do? In short, I don't even know > where to start. > > Even general pointers to books/websites would be great. Once I know what it's > called I can google much more effectively ;) > > Thanks! > -Modulok- That ballpark is quite large. I'll give you some links http://www.linuxcnc.org/ http://arduino.cc/ From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 06:05:05 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 06:05:12 2012 Subject: OT: Robotics or embedded or hardware programming... what is this called? In-Reply-To: References: Message-ID: > I want to get started programming for hardware. Motors, sensors, actuators, etc. > I have a programming background, (python, PHP, C++) but no experience with code > that drives hardware. (Motors, sensors, etc.) add "--" to your language list so first 2 would disappear and third will become C. > I *don't* want closed-source "kit robots" where the point is to build the robot > the book and thats it. I also don't want ladder logic-based PMC's. Some kind of > micro-controller that runs a *nix flavor (or a BSD flavor!) would be great! (If Why do you want something like microcontroller to run any OS? > What do you call this? Embedded programming? Generic hardware programming? running unix on microcontroller-style hardware is what i call nonsense. Writing your program that runs from first executed instruction is what i call normal programming of such devices. The proper way is to 1) buy a microcontrooler chip, make your hardware using it, possibly buy already made boards. microcontrollers are <1$, some more capable 32-bit ones (ARM compatible usually, some are MIPS) for 2-3$. 2) throw away all included libraries because they are mostly mess. prepare something that can be used as crt0.s Better write it yourself in assembly. shouldn't be larger than 5 instructions anyway, a bit more if ARM interrupt vectors are needed to be filled. Some assembly knowledge is very useful, in spite of writing most in C. 3) read documentation. All embedded devices (like A/D converters, PWM generators etc.) are described. With 32-bit micros start from "memory MAP" chapter and then device description. You will just find out at what address your peripheral is accessible. 4) lets say for example that 32 GPIO pins are accessible at address 0x40001000 for setting ports, 0x40002000 for resetting ports, 0x40003000 for reading out value, and 0x40004000 for setting direction (input/output). #define GPIO0_SET ((int*)0x40001000) #define GPIO0_RESET ((int*)0x40002000) #define GPIO0_READ ((int*)0x40003000) #define GPIO0_DIR ((int*)0x40004000) 5) use it in your program. *GPIO0_DIR=0xFFFFFFFF; //sets all pins to output *GPIO0_SET=0xAAAAAAAA; //sets every other pin to 1 *GPIO0_RESET=0x55555555; //set the rest to 0 if you have questions send it privately. microcontrollers are wrong place for unix system and it's overcomplexity relatively to the task. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 06:05:51 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 06:05:59 2012 Subject: No sound in Flash In-Reply-To: References: Message-ID: >> >> if you really need flash, you may install gnash from ports. not fully >> capable but usually works, and doesn't need linux emulator and closed >> source code. >> > > Thanks for the advice about gnash! I've installed it, and removed > nspluginwrapper and all the linux stuff. > > It seems to work perfectly for my purposes. > not really perfect but anyway i don't feel i lost something seeing a site that cannot work without flash. From ndhertbsd at gmail.com Thu Jun 21 06:34:36 2012 From: ndhertbsd at gmail.com (n dhert) Date: Thu Jun 21 06:34:43 2012 Subject: apache PHP suhosin load Message-ID: On FreeBSD 8.3 I have apache22 web server with PHP. PHP is PHP52 for compatibility with existing applications, but the most recent version in the php52 branch $ php --version PHP 5.2.17 with Suhosin-Patch 0.9.7 (cli) (built: May 7 2012 08:45:58) >From time to time, I notice in a top output, that a huge number of httpd daemons are being started, making the load rapidly increase to levels of 5, 10, 15, ... and very slow interactive respons ... Stopping apache makes the load rapidly decrease to a normal level. I noticed at the console, at stopping apache, several messages such as Jun 14 09:12:20 macos kernel: Jun 14 09:12:20 macos suhosin[28824]: ALERT - canary mismatch on efree() - heap overflow detected (attacker 'REMOTE_ADDR not set', file '/home/wins/win/win/www/wiki/mediawiki-1.16.0/includes/AutoLoader.php', line 654) (the file value differs, but it's always "suhosin .. canany mismatch - heap overflow detected") My PHP has following options set # cd /usr/ports/lang/php52 My PHP has following options set # cd /usr/ports/lang/php52 # make showconfig ===> The following configuration options are available for php52-5.2.17_8: CLI=on: Build CLI version CGI=on: Build CGI version APACHE=on: Build Apache module DEBUG=off: Enable debug SUHOSIN=on: Enable Suhosin protection system (not for jails) MULTIBYTE=off: Enable zend multibyte support IPV6=on: Enable ipv6 support MAILHEAD=off: Enable mail header patch REDIRECT=off: Enable force-cgi-redirect support (CGI only) DISCARD=off: Enable discard-path support (CGI only) FASTCGI=on: Enable fastcgi support (CGI only) FPM=off: Enable fastcgi process manager (CGI only) PATHINFO=on: Enable path-info-check support (CGI only) LINKTHR=off: Link thread lib (for threaded extensions) Is that heap overlow causing the trouble? Has suhosin to do something with it? How to solve? From christer.solskogen at gmail.com Thu Jun 21 07:17:18 2012 From: christer.solskogen at gmail.com (Christer Solskogen) Date: Thu Jun 21 07:17:25 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <854D02B1-CA89-4F5E-8773-DB05F2868D74@lpthe.jussieu.fr> <20120620211103.GB26703@hemlock.hydra> Message-ID: On Thu, Jun 21, 2012 at 12:26 AM, Wojciech Puchar wrote: > i would recommend you to take more care about yourself, and not me. You are not in the right position to give advice, young man. -- chs, From mgamsjager at gmail.com Thu Jun 21 07:23:37 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Thu Jun 21 07:23:44 2012 Subject: Need latest xorg In-Reply-To: References: Message-ID: On 21 jun. 2012, at 05:28, Waitman Gobble wrote: > On Wed, Jun 20, 2012 at 2:33 PM, Matthias Gamsjager wrote: > >> On Wed, Jun 20, 2012 at 11:25 PM, Lynn Steven Killingsworth < >> blue.seahorse.syndicate@gmail.com> wrote: >> >>> I don't seem to have generated much comment. >>> >>> I suspect you are thinking as I do that if your servers don't immediately >>> download then their is a bandit on my Internet line?? >>> >>> >>> >>> >>> >> Newer AMD videocards and Freebsd is just pure pain. Dont think the newer >> xorg will change much. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > > Hi, > > Have you considered installing packages? I have a daily sync repo mirror of > amd64 and i386 pkgs (Latest/Current) if you experience difficulty accessing > the FTP servers. lemme know. Unfortunately I don't have everything mirrored > at this time, and not sure how they would fly on 9-x :) > > Also latest xorg runs great with my AMD HD 6620G, obviously a different > class than your AMD HD 7950 but I suppose it could also be considered a > 'newer card', first released June 14, 2011, about 6 months before the 7950. > Not sure when the cut-off date is. > > Waitman Gobble > Does it run with acceleration? From ml at my.gd Thu Jun 21 07:32:30 2012 From: ml at my.gd (Damien Fleuriot) Date: Thu Jun 21 07:32:36 2012 Subject: apache PHP suhosin load In-Reply-To: References: Message-ID: On 21 Jun 2012, at 08:34, n dhert wrote: > On FreeBSD 8.3 I have apache22 web server with PHP. PHP is PHP52 for > compatibility with existing applications, but the most recent version > in the php52 branch > $ php --version > PHP 5.2.17 with Suhosin-Patch 0.9.7 (cli) (built: May 7 2012 08:45:58) > >> From time to time, I notice in a top output, that a huge number of httpd > daemons are being started, making the load rapidly increase to levels of > 5, 10, 15, ... and very slow interactive respons ... > > Stopping apache makes the load rapidly decrease to a normal level. > > I noticed at the console, at stopping apache, several messages such as > > Jun 14 09:12:20 macos kernel: Jun 14 09:12:20 macos suhosin[28824]: ALERT - > canary mismatch on efree() - heap overflow detected (attacker 'REMOTE_ADDR > not set', file > '/home/wins/win/win/www/wiki/mediawiki-1.16.0/includes/AutoLoader.php', > line 654) > > (the file value differs, but it's always "suhosin .. canany mismatch > - heap overflow detected") > My PHP has following options set > # cd /usr/ports/lang/php52 > > My PHP has following options set > # cd /usr/ports/lang/php52 > # make showconfig > ===> The following configuration options are available for php52-5.2.17_8: > CLI=on: Build CLI version > CGI=on: Build CGI version > APACHE=on: Build Apache module > DEBUG=off: Enable debug > SUHOSIN=on: Enable Suhosin protection system (not for jails) > MULTIBYTE=off: Enable zend multibyte support > IPV6=on: Enable ipv6 support > MAILHEAD=off: Enable mail header patch > REDIRECT=off: Enable force-cgi-redirect support (CGI only) > DISCARD=off: Enable discard-path support (CGI only) > FASTCGI=on: Enable fastcgi support (CGI only) > FPM=off: Enable fastcgi process manager (CGI only) > PATHINFO=on: Enable path-info-check support (CGI only) > LINKTHR=off: Link thread lib (for threaded extensions) > > Is that heap overlow causing the trouble? Has suhosin to do something with > it? > How to solve? > For starters, I would suggest moving away from apace and towards nginx + fastcgi php. A friend had a small dedicated server with a vbulletin forum overloaded with addons, and apache/php were bringing the server to "high" load levels, 10-20ish. I've moved him to nginx and the server hardly ever goes above 1 now. Additionally, nginx is immune to Slowloris attacks, while apache is not. Only after migrating to nginx would I investigate of the suhosin problem still exists. From nightrecon at hotmail.com Thu Jun 21 08:39:27 2012 From: nightrecon at hotmail.com (Michael Powell) Date: Thu Jun 21 08:39:35 2012 Subject: apache PHP suhosin load References: Message-ID: n dhert wrote: > On FreeBSD 8.3 I have apache22 web server with PHP. PHP is PHP52 for > compatibility with existing applications, but the most recent version > in the php52 branch > $ php --version > PHP 5.2.17 with Suhosin-Patch 0.9.7 (cli) (built: May 7 2012 08:45:58) > >>From time to time, I notice in a top output, that a huge number of httpd > daemons are being started, making the load rapidly increase to levels of > 5, 10, 15, ... and very slow interactive respons ... > > Stopping apache makes the load rapidly decrease to a normal level. > > I noticed at the console, at stopping apache, several messages such as > > Jun 14 09:12:20 macos kernel: Jun 14 09:12:20 macos suhosin[28824]: ALERT > - canary mismatch on efree() - heap overflow detected (attacker > 'REMOTE_ADDR not set', file > '/home/wins/win/win/www/wiki/mediawiki-1.16.0/includes/AutoLoader.php', > line 654) > > (the file value differs, but it's always "suhosin .. canany mismatch > - heap overflow detected") > My PHP has following options set > # cd /usr/ports/lang/php52 > > My PHP has following options set > # cd /usr/ports/lang/php52 > # make showconfig > ===> The following configuration options are available for php52-5.2.17_8: > CLI=on: Build CLI version > CGI=on: Build CGI version > APACHE=on: Build Apache module > DEBUG=off: Enable debug > SUHOSIN=on: Enable Suhosin protection system (not for jails) > MULTIBYTE=off: Enable zend multibyte support > IPV6=on: Enable ipv6 support > MAILHEAD=off: Enable mail header patch > REDIRECT=off: Enable force-cgi-redirect support (CGI only) > DISCARD=off: Enable discard-path support (CGI only) > FASTCGI=on: Enable fastcgi support (CGI only) > FPM=off: Enable fastcgi process manager (CGI only) > PATHINFO=on: Enable path-info-check support (CGI only) > LINKTHR=off: Link thread lib (for threaded extensions) > > Is that heap overlow causing the trouble? Has suhosin to do something with > it? Most likely - yes. I noticed in your config above you built and installed the Apache PHP module in addition to CGI/FastCGI. If you are running Apache in a FastCGI mode you should check and make sure the following is indeed commented out like below: #LoadModule php5_module libexec/apache22/libphp5.so The general purpose meaning of this error is that PHP has detected some form of memory corruption. But as to why/what exactly it doesn't help much. The general way I used to look at Apache and PHP problems was to isolate pieces. Like only loading the core PHP and no extensions by renaming the extensions.ini to extensions.ini.bak. This is bound to cause problems as most PHP apps today require a certain basic number of modules enabled in order to work. 2 things to troubleshoot looking for a bad module: comment each out one at a time and restart. When you comment out the bad one you will no longer see the error. Another second item to be aware of is sometimes certain module combinations need to be loaded in extensions.ini in a specific order. Figuring out this order can be nightmarish, should it ever actaully be found to be a problem. Long time ago someone wrote a script to automate this. I seem to have a distant memory that back in early PHP 5.2.x days I had a problem with the mcrypt module. Maybe try commenting that one out first. If you don't need it leave it that way. I also seem to have experienced this error a second time, and it was from a bad interaction between Suhosin patch and two other build options being enabled, one was the Mailhead and I don't remember what the other one was(maybe it was IPv6). I found when I disabled these 2 things I could build with the Suhosin patch and stuff ran correctly. -Mike From talon at lpthe.jussieu.fr Thu Jun 21 08:40:33 2012 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Thu Jun 21 08:40:41 2012 Subject: Why Clang In-Reply-To: <20120621015237.GB58187@neutralgood.org> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> Message-ID: Le 21 juin 2012 ? 03:52, kpneal@pobox.com a ?crit : > > All of this may seem stupid to a reasonable person outside of law. I'll agree > that it probably does look stupid. But it is also the reality of the legal > systems we must live with today. I can only praise kpneal for this very well argumented post. However some remarks. The whole argument revolves around FUD, fear, uncertainty and doubt. But there will never be any shortage of lawyers trying to spread FUD on any subject to please their clients, and if companies "bend over" instead of fighting FUD they will promptly be paralyzed. Last time a company tried to use such tactic against Linux, it did not turn out a bright idea. Second, FreeBSD is not a commercial company, and while this argument may have a merit for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. If FreeBSD appears as a subsidiary of some commercial company (say Juniper) i am not sure this will be good for its further development. This being said, i agree with you that the FreeBSD binaries will not see a big performance degradation through the use of clang, so, as long as gcc is in the ports to be used with performance critical stuff, it is no big deal. Anyways as a long time FreeBSD user i have seen clang presented as an experiment by two or three people, and then suddenly stuffed without any discussion in the base system, apparently for political reasons that i don't share (i mean this stupid obsession of "GPL free" system, which has replaced the previous focus on quality and performance). -- Michel Talon talon@lpthe.jussieu.fr From davidcollins001 at gmail.com Thu Jun 21 09:09:20 2012 From: davidcollins001 at gmail.com (David Collins) Date: Thu Jun 21 09:09:28 2012 Subject: OT: Robotics or embedded or hardware programming... what is this called? In-Reply-To: References: Message-ID: I have one of these http://www.nerdkits.com/ They pack everything you need in and a few examples, quite neat but you need to do some electronics On 21/06/2012, Wojciech Puchar wrote: >> I want to get started programming for hardware. Motors, sensors, >> actuators, etc. >> I have a programming background, (python, PHP, C++) but no experience with >> code >> that drives hardware. (Motors, sensors, etc.) > > add "--" to your language list so first 2 would disappear and third will > become C. > >> I *don't* want closed-source "kit robots" where the point is to build the >> robot >> the book and thats it. I also don't want ladder logic-based PMC's. Some >> kind of >> micro-controller that runs a *nix flavor (or a BSD flavor!) would be >> great! (If > > Why do you want something like microcontroller to run any OS? >> What do you call this? Embedded programming? Generic hardware >> programming? > > running unix on microcontroller-style hardware is what i call nonsense. > > Writing your program that runs from first executed instruction is what i > call normal programming of such devices. > > The proper way is to > > 1) buy a microcontrooler chip, make your hardware using it, possibly buy > already made boards. microcontrollers are <1$, some more capable 32-bit > ones (ARM compatible usually, some are MIPS) for 2-3$. > > 2) throw away all included libraries because they are mostly mess. > prepare something that can be used as crt0.s > Better write it yourself in assembly. shouldn't be larger than 5 > instructions anyway, a bit more if ARM interrupt vectors are needed to be > filled. > > Some assembly knowledge is very useful, in spite of writing most in C. > > 3) read documentation. All embedded devices (like A/D converters, PWM > generators etc.) are described. With 32-bit micros start from "memory MAP" > chapter and then device description. You will just find out at what > address your peripheral is accessible. > > 4) lets say for example that 32 GPIO pins are accessible at address > 0x40001000 for setting ports, 0x40002000 for resetting ports, 0x40003000 > for reading out value, and 0x40004000 for setting direction > (input/output). > > #define GPIO0_SET ((int*)0x40001000) > #define GPIO0_RESET ((int*)0x40002000) > #define GPIO0_READ ((int*)0x40003000) > #define GPIO0_DIR ((int*)0x40004000) > > > 5) use it in your program. > > *GPIO0_DIR=0xFFFFFFFF; //sets all pins to output > *GPIO0_SET=0xAAAAAAAA; //sets every other pin to 1 > *GPIO0_RESET=0x55555555; //set the rest to 0 > > > > if you have questions send it privately. microcontrollers are wrong place > for unix system and it's overcomplexity relatively to the task. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From fred.morcos at gmail.com Thu Jun 21 09:30:34 2012 From: fred.morcos at gmail.com (fred.morcos@gmail.com) Date: Thu Jun 21 09:31:31 2012 Subject: Flaming mailing lists (was Re: Why Clang) In-Reply-To: Message-ID: And I just want to add I'm a gay Marxist atheist and I represent the accusations leveled in that other post...we have feelings too!!! From mueller23 at insightbb.com Thu Jun 21 09:50:31 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Thu Jun 21 09:50:44 2012 Subject: CLANG vs GCC tests of fortran/f2c program Message-ID: <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> Snippet from Wojciech Puchar : > I successfully predicted the fall of linux (in quality point of view) > years ago, then netbsd - after this and my prediction were good. > Now i predict FreeBSD will fall within 2015 time frame. > What i mean fall - that it would be better to use older version as long as > possible because newer are worse. > For now > - FreeBSD 6 was an improvement > - FreeBSD 7 was an improvement, except first releases but that's normal > - FreeBSD 8 was a big improvement in performance and quality. > FreeBSD 9 as for now: > - have similar performance at most > - have some improvement and important functionality like TRIM support. > - have some useful functionality like softdep journalling, but risky. > Still - forcing full check reveals some inconsistencies now and then. > FreeBSD 10 will unlikely be better, but for sure slower unless you will > force gcc build that MAYBE will work. possibly not. My experience with NetBSD suggests you may be right there, but Linux? I'll have to build a new Linux installation and see for myself! I'm still inclined to say FreeBSD 9.0 is an improvement over 8.2; I never got to 8.3. Tom From mueller23 at insightbb.com Thu Jun 21 10:00:09 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Thu Jun 21 10:00:20 2012 Subject: List flames (was Re: Why Clang) Message-ID: from Stephen Cook : > No, this is unusual. But also remember that most of these lists are not > just unmoderated but open to posting without subscription. Then it > becomes kind of amazing at how little flaming and trolling there is. > That's not an accident, the admins work hard to limit abuse. > As an alternate, consider the forums (http://forums.freebsd.org/), which > are moderated. Because of FreeBSD lists being mainly unmoderated and open to posting without subscription, I notice some outright spams that slip through the list filters. I believe (could possibly be wrong) that the lists have spam filters in place. If a message has properties of spam, it will be held for a human moderator to see if it is spam (dump it) or not spam (let it through). Tom From nec556 at retena.com Thu Jun 21 10:54:47 2012 From: nec556 at retena.com (Eduardo Morras) Date: Thu Jun 21 10:54:54 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: <4FDB8808.1070806@gmail.com> References: <4FDA0B5E.4090901@gmail.com> <4FDAAF5E.4040500@gmail.com> <4FDAECF8.4080007@gmail.com> <4FDB8808.1070806@gmail.com> Message-ID: <4FA8828000BAC447@> (added by postmaster@resmaa14.ono.com) At 21:07 15/06/2012, Edward M wrote: >>What do you mean by "a decoder is needed"? > > A decorder is either a special plugin/codex that > gets installed into the OS ( codex called a52dec) and decoding > happens internally. > or a hardware device like a stereo receiver that is able to > understand Dolby Digital signals from the DVD through S/PDIF > connector from the sound card to decorder. > however, it only appears you are only missing a52dec? Have you > installed a52dec from ports/audio/gstreamer-plugins-a52dec/ ? Perhaps ffmpeg was compiled without some codecs. If you check GPL codecs off, a52 and others are not compiled. Deinstall ffmepeg, do a manual compilation with cd /usr/ports/multimedia/ffmpeg && make config install clean, checking the options you want. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 11:06:17 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 11:06:30 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> Message-ID: > for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. If FreeBSD appears > as a subsidiary of some commercial company (say Juniper) i am not sure this will be good I think any project that size is actually a subsidiary and must be. I just don't like that it isn't stated openly! It is nothing wrong, unless one can feed using zero point energy, everyone needs money to stay alive. Wouldn't it be smarter to openly say "Juniper request as to get rid o GPL as soon as we can because they are fed up with this shit and law mess." instead of personal attacks, messing with my (and others) sentences and posting evident lies just to "explain" the decision. It is a difference between honest people and fools. i already proposed (but not publically) to turn FreeBSD into commercial system. REALLY i would not see a problem to pay say 100$ per server licence. There is nothing to prevent giving source with system. Non-Free software doesn't have to be binary only. For paying this i would like FreeBSD to be maintained with quality and performance being the only reason, not politics. Every "trendy" or otherwise requested feature could be added separately or even charged separately, as long as it doesn't have any effects on base system. ZFS being example. Nothing against Juniper (the make truly good working hardware), but if they enforce decision because of their personal likes then it must be stopped. GPLv3 based C compiler does not prevent making closed source software like JunOS for example. It is only "i hate GNU" type decision. I hate too, and in spite of this am against removing gcc and replacing it with much worse product. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 11:10:02 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 11:10:12 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> References: <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> Message-ID: >> force gcc build that MAYBE will work. possibly not. > > > My experience with NetBSD suggests you may be right there, but Linux? After commercial support got too much about directing decisions, NetBSD got very quickly useless. > > I'll have to build a new Linux installation and see for myself! Warning: You may not go through it healthy. > I'm still inclined to say FreeBSD 9.0 is an improvement over 8.2; I never got to 8.3. There are some new functionality. rctl may be very very very useful. But as for speed - i don't see it to be better, and at high disk I/O load it seems to get somehow longer stalls but it is subjective, no precise test done. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 11:12:30 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 11:12:42 2012 Subject: List flames (was Re: Why Clang) In-Reply-To: References: Message-ID: > Because of FreeBSD lists being mainly unmoderated and open to posting without subscription, I notice some outright spams that slip through the list filters. > > I believe (could possibly be wrong) that the lists have spam filters in place. it must have and well done. FreeBSD list is for sure more known to spammer than me, while i would get ca 2000 spams per day after turning off my antispam system. From mueller23 at insightbb.com Thu Jun 21 11:13:21 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Thu Jun 21 11:13:28 2012 Subject: Why Clang Message-ID: Snippet from Antonio Olivares : > I have some friends that develop software. They had released it under > GNU umbrella. Later on, other folks were taking advantage and not > giving back as the license requires. There was little to no way to > enforce the license, he decided to move to other license that > protects his work and let others use it was well with little to no > strings attached. He know uses the CDDL which is also an Open Source > License. He can give you many reasons as to why the GPLv3 is the > wrong way to go. I can ask him for these and other reasons at your > request. Yes, that would be a good idea, not so much for me as for others who want to better understand the licensing issues of GCC compared to Clang. That would help explain why FreeBSD is switching to Clang. Tom From hoomanfazaeli at gmail.com Thu Jun 21 07:33:29 2012 From: hoomanfazaeli at gmail.com (Hooman Fazaeli) Date: Thu Jun 21 11:13:40 2012 Subject: Is ZFS production ready? Message-ID: <4FE2CE38.9000100@gmail.com> Dear community In the past, I built a 8TB ZFS log server on freebsd 7.4. However, the system experienced instablility after long up times. My main motive to use ZFS was UFS inability to support large file systems. Now, I want to the same thing on 8.3 and wanted to know your opinion on ZFS stability. Is there any success story using ZFS in 24x7, large volume, heavy duty servers? Is there any other option other than ZFS to build larger than 2TB file systems? From fred.morcos at gmail.com Thu Jun 21 11:24:48 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Thu Jun 21 11:24:55 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: On Wed, Jun 20, 2012 at 9:58 PM, Wojciech Puchar wrote: >> I'm quite new to FreeBSD too (RHEL/Fedora background), and am most >> impressed with it so far. > > > rather huge difference. > > >> Secondly (and probably stating the obvious), the handbook >> >> >> >> is the place I always look first. > > and third - manuals. They are in sync with system and actually VERY useful. > > while i was still (long time ago) using linux most common manual was like > > "this manual is outdated. Use texinfo documentation". and texinfo docs was > often outdated too. > > Today it is most probably "look at wikipedia" ;) > > Of course i means FreeBSD base system, ports are not part of FreeBSD and > quality varies. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I will go with a single thread. I will also try to keep it as short as possible. Please note that it is not my intention to start a flame-war against anyone or any project. I am stating my experiences, the goals I would like to achieve and some questions I have. Suggestions and directions (to put me on track) are greatly welcome and appreciated. Questions will be marked with a q) at the beginning of the line. Introduction and background I have been using GNU/Linux for quite a while and I am most comfortable with Archlinux. The reason I like it is it's simplicity from the ground up without wasting too much time on unimportant details (unless you want to). Another strong point is that it provides binary packages by default, user-building of packages if you want to, and the same level of customization you can achieve with - say - Gentoo Linux. FreeBSD seems to provide that. I learned over the years that (re-)compilation of packages is not something I want to do regularly, but something I would like to do only when I need and want to (ie, to strip out or add a certain compile-time feature from/to a package). I also learned that the performance gains of tuning compiler flags for a certain CPU are not that drastic for a desktop/laptop/workstation machine workflow and that this category of computing is mostly bound by IO speed (especially with HDDs). q) Is it possible to run a FreeBSD system without much building? In other words, can I survive by depending on packages and only resorting to ports when really needed? What set me off, and got me tired of dealing with Linux-based systems is a set of patterns that have been repeating over for some years now. Generally: 1. Too often, core system components break (especially with every Linux kernel release). 1. Yesterday I spent 30 minutes until my webcam worked, dealing with v4l, gstreamer and cheese. 2. The USB3 port in my laptop used to work as USB2 (never as USB3), not anymore, it's now completely useless and doesn't react to anything. 2. Sudden drastic changes that are deviating from simplicity. 1. The sudden flood of daemons that are designed to do everything for me, without giving me much say in the matter. My computer is supposed to help me, not decide for me or replace me. 2. Those daemons are hard to get rid of and are tightly integrated into higher-level components in the stack (ie, into the desktop environment). 3. Those daemons are increasingly hard and obscure to configure (ie, huge XML files, complex hierarchies, etc). 3. Due to having to run and interact with each other all the time, those daemons are sucking the life out of my laptop battery (according to powertop). 4. Probably other frustrations that I have forgotten about. 5. I think many of the developers of those components are trying to reach a Mac-like experience? I am not against that in any way, but it needs to be working well. Those are dbus, hal, udev, udisks, upower, pulseaudio, systemd, consolekit and policykit. I am aware that those solutions are there to solve complex problems (thus their inherent complexity) and that many bright people with a lot of experience have thought about them and worked on those projects. My frustration is that those solutions are: 1. At the cost of making simple tasks more complex. 2. Replacing or conflicting with the previously existing solution. 3. Sometimes very unstable and unusable. q) Where does the FreeBSD project stand on this matter? From what I noticed is that the base system seems to adhere to the tranditional flat text files for configuration and simple tools that do a good job, leaving it up to the user to combine those small tools to create larger, more complex ones (a UNIX inheritance). q) Is a FreeBSD stable base system with "current" high-level components possible? Will it avoid the issues I experienced on Linux-based systems? My goal I have two laptops (Asus N73JQ, Asus U36S) which I use as work machines. Power efficiency is very important, efficient disk access too. Suspend to ram and hiberation would be nice to have but are not utterly important. q) I would assume UFS with J+SU is "fast enough" for a laptop? q) Does ZFS make sense on a laptop? Any advantages of using it over USF with J+SU? I am not interested in any striping or mirroring on the laptops, but the compression features is very attractive for the HDDs in the first laptop. q) The second laptop has an SSD, would UFS with/without J and with/without SU or ZFS make more sense for it? q) Can I live with a desktop environment (Gnome or KDE) and desktop applications (Firefox, Libreoffice, etc) by relying only on packages? q) Does ntfs-3g from ports work reliably with external HDDs or USB flash drives with read and write support? I would like to hear personal experiences with that. q) Does the NVIDIA binary driver work reliably? I would like to hear personal experiences with that. I am also planning to setup a micro-server for home use (either a ready-built one or by simply building a PC and using it as a server), questions about that will come later. The main use of it would be hosting my multimedia, streaming music and making backups of the laptops on it (cron + rsync). Also, maybe some web/ftp and git servers. Initial impressions I installed the base system into Virtualbox and everything works quite well. Everything is so... clean, and tidy, and consistent, and simple. Very well thought out. I am also very impressed with the amount of properly written man pages and with the handbook. I would like to thank and congratulate all of the people who work on the FreeBSD base system, a true masterpiece. Setting up and installation q) Does the bsdinstall align partitions to device blocks by default for optimal speed? If not, I have found that I can use gpart with -a and -b which will require me to calculate the start and end offsets of each partition manually. Is there a tool that can automatically do that for me? q) Is it possible to get native resolution on the console? I played with vesa and vidcontrol but could never get what I wanted. Native resolution would require KMS? q) Adding tmpmfs="YES" to /etc/rc.conf is analogous to a tmpfs /tmp on Linux-based systems, correct? Any other directories that might make sense to have as an mfs (ie, in /var)? q) Is there a place where all sysctl variables are documented? It occurred to me when I was trying to find the memory usage on my system but `sysctl -a | grep mem' shows a whole bunch of stuff. q) How can I set proxy settings system-wide? Same for PACKAGESITE (for the pkg_* tools), how can I set a mirror system-wide? /etc/profile? q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is there a way to change that system-wide to be in human-readable format? System To assess my understanding, the system is split into kernel, base, documentation, games, lib32 (on 64-bit systems) and ports. There is another split between base and ports where base includes everything previously mentioned minus ports. Now, there are 3 "branches" of the base system: RELEASE, STABLE and CURRENT. RELEASE means 9.0 and stays that way until 10.0 is released. STABLE means 9.0, 9.1, 9.2, etc. CURRENT means "trunk" in SVN terms. Is all that correct? Also, when somewhere is mentioned `make world', this means to rebuild all installed ports which doesn't include base, I assume? q) The files in /etc/rc.d are all executable, from my understanding, those files will get executed and it is their duty to check the variable `_enable' for whether they should start or not. Wouldn't it be more efficient to chmod -x or +x them to disable/enable? q) What is analogous to /etc/rc.local from Linux-based systems? q) Is there something analogous to the Linux magic sysrq key? Ports and packages I must say, the ports collection being built on makefiles was a welcome enlightenment, it just, naturally, made sense. The *-recursive make targets are a blessing, especially for configs. q) Is there a tool that can test a set of mirrors for connection time and speed (for packages and ports)? Analogous to Archlinux's rankmirrors? q) Is it possible for the pkg_* tools (especially pkg_add -r) to display progress? q) I noticed in the ports collection that there were some outdated packages (skype-2.2, gimp-2.6), should I report that and where? (A PR?) q) Is it possible to have the ports system compile into an mfs (to avoid disk access)? q) Is it possible to have the user asked to change their password the first time they log in (using an OTP) in a simple way? I looked at OPIE but it seems to be much more complex than what I need. GEOM and filesystems >From what I could understand, the GEOM layer only supports read-only compression. Which makes (to me) ZFS an attractive filesystem for slow HDDs (on the first laptop). Also, I would like to have a system where user home directories are encrypted based-on and using the user's password. From what I could find, gbde and geli don't really provide that without any administrator intervention. q) What should I be looking at to achieve the above? q) When creating a ZFS pool, what happens if I do a `zpool create mypool /dev/ada1 /dev/ada2'? Does it use the disks as a single continous one? Does it mirror or stripe by default? Or does it simply try to balance between performance and reliability? I could not find anything about the default behavior in the zpool manpage. q) Is it possible to have ZFS use 2 disks as a single continuous one, while still keeping both of them operable individually? (ie, if I plug in the second disk on another machine, I would get a valid ZFS pool + filesystem on it). q) I am currently considering 3 disks for a home micro-server, with ZFS striping with the third disk being a parity disk. In case I decide to buy a fourth disk in the future and add it to the pool, is ZFS capable of re-structuring the data on-the-fly to have 2 sets of striping (without parity, so 2 disks each) and on top of that a mirror? Analogous to the following: +-------------------------------+ | Stripe2 mirrors Stripe1 | +---------------+---------------+ | Stripe1 | Stripe2 | +-------+-------+-------+-------+ | Disk1 | Disk2 | Disk3 | Disk4 | +-------+-------+-------+-------+ q) Does it make sense to user a zpool directly without any ZFS filesystems on it on a single-user system where there's no special interest in ZFS's filesystem features (ie, compression)? Home micro-server This section is a little bit off-topic and not really a FreeBSD-related question. Sorry for that. As previously mentioned, I am evaluating the possibility of a home micro-server setup to host my files and other services. Here is a rough list of tasks I would like to achieve with it: 1. Serving files over network (samba, nfs). 2. Media streaming (mpd + icecast or DAAP). 3. Rsync backup server for the 2 laptops. 4. SSH, sFTP access. Some tentative features: 1. Mail, WWW. 2. Diaspora, ownCloud. 3. Git. The sole reason I would like to use FreeBSD on this system is ZFS. q) I would like to hear anyone's recommendation of a cheap, low-power ready-made hardware for such a purpose which is supported by FreeBSD. I poked around a little bit and the HP micro-servers seem to be interesting, but unfortunately too powerful (and thus power-hungry) for my purpose. q) If there isn't much outcome from looking into ready-made micro-servers, is anyone having a success story running their services on a custom built desktop PC at home with FreeBSD and ZFS? Cheers, Fred From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 11:26:31 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 11:26:38 2012 Subject: Why Clang In-Reply-To: References: Message-ID: >> wrong way to go. I can ask him for these and other reasons at your >> request. > > Yes, that would be a good idea, not so much for me as for others who want to better understand the licensing issues of GCC compared to Clang. i would like to hear this. but only in C compiler context. i understand the other issues, but IMHO there are none about using GPLv3 licenced compiler to compile non-opensource programs. From kayasaman at gmail.com Thu Jun 21 11:29:05 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Thu Jun 21 11:29:12 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE2CE38.9000100@gmail.com> References: <4FE2CE38.9000100@gmail.com> Message-ID: Hi, I think it is stable enough on FreeBSD. Someone actually posted quite a similar thread not a while ago...... Here'e a quick summary: For my various OpenSource projects, I have deployed a 36TB file system which is fine and stable running 24/7. Additionally at home I use 4TB (2x 2TB) + 8TB (2x 4TB) on a machine with 4GB RAM.... this has been up for 3 years with minimum reboot! - this system gets pretty hammered as lot's of front ends for my OpenSource stuff run off there plus I transfer large amounts of data 10's of GB's often between systems. For web stuff I get round 20,000-30,000 hits from various places on that particular box and it handles perfectly unlike my crappy Cisco 857 router - will redeploy a uni-socket server running OpenBSD for this one. Good luck! Regards, Kaya On Thu, Jun 21, 2012 at 8:33 AM, Hooman Fazaeli wrote: > Dear community > > In the past, I built a 8TB ZFS log server on freebsd 7.4. > However, the system ?experienced instablility after long up times. > My main motive to use ZFS was UFS inability to support large > file systems. > > Now, I want to the same thing on 8.3 and wanted to know > your opinion on ZFS stability. Is there any success story using > ZFS in 24x7, large volume, heavy duty servers? Is there any > other option other than ZFS to build larger than 2TB file systems? > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 11:52:29 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 11:52:36 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE2CE38.9000100@gmail.com> References: <4FE2CE38.9000100@gmail.com> Message-ID: stick with UFS. It JUST WORKS(R), and is trusty. And it works fast. From mgamsjager at gmail.com Thu Jun 21 12:03:08 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Thu Jun 21 12:03:19 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: On Thu, Jun 21, 2012 at 1:52 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > stick with UFS. It JUST WORKS(R), and is trusty. > And it works fast. > > The correct answer would be. I depends on the work load.... From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 12:10:21 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 12:10:50 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > I will go with a single thread. I will also try to keep it as short as > possible. Please note that it is not my intention to start a flame-war > against anyone or any project. I am stating my experiences, the goals i - in reply - just told you my experiences with linux which was actually my first unix-like OS. > I learned over the years that (re-)compilation of packages is not > something I want to do regularly, but something I would like to do > only when I need and want to (ie, to strip out or add a certain > compile-time feature from/to a package). I also learned that the > performance gains of tuning compiler flags for a certain CPU are not > that drastic for a desktop/laptop/workstation machine workflow and > that this category of computing is mostly bound by IO speed > (especially with HDDs). true. anyway if you want anything else that default compile options you have to rebuild. > q) Is it possible to run a FreeBSD system without much building? In you may use all binary packages. You may even do pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/......./packagename.tbz and it works, and will fetch dependencies too if needed. you may use source builds, or mix of both. you just do portsnap fetch portsnap update to get ports tree up to date. > other words, can I survive by depending on packages and only resorting > to ports when really needed? it depends on ports. Some are easy to deal with some are not. > 1. Too often, core system components break (especially with every > Linux kernel release). > 1. Yesterday I spent 30 minutes until my webcam worked, dealing with > v4l, gstreamer and cheese. > 2. The USB3 port in my laptop used to work as USB2 (never as USB3), > not anymore, it's now completely useless and doesn't react to > anything. This programs are not part of FreeBSD, just as they are not part of linux (linux is kernel). webcamd, gstreamer etc.. are still the same programs no matter if you compile then under linux and freebsd. as for point 2 it would probably be better with FreeBSD :) > 2. Sudden drastic changes that are deviating from simplicity. In that respect FreeBSD is 100 times better. But still - PORTS are not FreeBSD. There are tens of thousands of them. Most are the same programs that run on linux, just packaging differ. And nobody can be sure something will not get f...d up. > 1. The sudden flood of daemons that are designed to do everything > for me, without giving me much say in the matter. My computer is > supposed to help me, not decide for me or replace me. FreeBSD starts only inetd and cron by default. As for me it is already too much in /etc/crontab :) > 2. Those daemons are hard to get rid of and are tightly integrated > into higher-level components in the stack (ie, into the desktop > environment). No such a problem under FreeBSD. But when compiling xorg-server from ports i recommend turning off SUID and HAL options. > 3. Those daemons are increasingly hard and obscure to configure > (ie, huge XML files, complex hierarchies, etc). FreeBSD base system is not like that. But still - if you use the same thing that in linux it would be the same. Anyway human have brain and can use it. So prepare your environment that would fit your needs and nothing else. > 3. Due to having to run and interact with each other all the time, > those daemons are sucking the life out of my laptop battery > (according to powertop). No such problem on my laptop. It runs 1.5 hours longer than official specs. enable powerd in /etc/rc.conf - powerd is a part of base system, not addon. Works great. > 4. Probably other frustrations that I have forgotten about. You should not forgot them so you will not ever want to go back to linux. > 5. I think many of the developers of those components are trying to > reach a Mac-like experience? I am not against that in any way, but > it needs to be working well. I don't really know what linux community want to achieve. For my observation they wanted to compete with microsoft windows. And they exceeded the target - it's even more messy and uncontrollable. > Those are dbus, hal, udev, udisks, upower, pulseaudio, systemd, > consolekit and policykit. > You do not need any of them under FreeBSD. It is useful to have dbus daemon running for whole machine in many use cases but not really needed. > I am aware that those solutions are there to solve complex problems which was first created. > I have two laptops (Asus N73JQ, Asus U36S) which I use as work > machines. Power efficiency is very important, efficient disk access > too. Suspend to ram and hiberation would be nice to have but are not > utterly important. > > q) I would assume UFS with J+SU is "fast enough" for a laptop? If you have magnetic disk - yes. Anyway with journalling+soft updates perform full fsck now and then anyway. > > q) Does ZFS make sense on a laptop? Any advantages of using it over You are bright man. So use UFS first. Then after getting general experience with FreeBSD do perform tests with ZFS. Check general speed under load, CPU usage, RAM usage. I think it will be enough to decide. > USF with J+SU? I am not interested in any striping or mirroring on > the laptops, but the compression features is very attractive for the > HDDs in the first laptop. Hard disks are large. > > q) The second laptop has an SSD, would UFS with/without J and > with/without SU or ZFS make more sense for it? UFS+softupdates, no journalling. fsck takes few seconds on SSD. turn on noatime option on any kind of disk! > > q) Can I live with a desktop environment (Gnome or KDE) and desktop > applications (Firefox, Libreoffice, etc) by relying only on packages? Yes. But i recommend you to just run needed programs and not desktop environment that doesn't add value. Use some simple windows manager. I recommend icewm at first (but edit your own menu, it isn't built automatically). I personally use fvwm2 with very "unusual" config which removes everything unneeded. > > q) Does ntfs-3g from ports work reliably with external HDDs or USB > flash drives with read and write support? I would like to hear > personal experiences with that. use ntfsprogs from ports. ntfsmount works fine. But do not depend on NTFS support too much anyway. > q) Does the NVIDIA binary driver work reliably? I would like to hear I avoid nvidia as far as i can. It WILL run under Xorg, but it is messy. As i always prefered to just not have that hardware from that company i will not help you. > ready-built one or by simply building a PC and using it as a server), > questions about that will come later. The main use of it would be > hosting my multimedia, streaming music and making backups of the > laptops on it (cron + rsync). Also, maybe some web/ftp and git > servers. From root1101 at gmail.com Thu Jun 21 12:11:34 2012 From: root1101 at gmail.com (=?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JvQsNC60YLQsNC90L7Qsg==?=) Date: Thu Jun 21 12:11:41 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: <4FE30FBC.1070904@gmail.com> 21.06.2012 15:52, Wojciech Puchar ?????: > stick with UFS. It JUST WORKS(R), and is trusty. > And it works fast. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I see the trend here. That guy is determined to shove his opinion down the throat of everybody. Stop it, tis most annoying. Back to the topic. ZFS support has matured greatly since the last time you tried it, currently freebsd supports zfs pool v. 28 in the last updates. Try it, it won't disappoint you. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 12:14:03 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 12:14:15 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: > For my various OpenSource projects, I have deployed a 36TB file system > which is fine and stable running 24/7. Additionally at home I use 4TB > (2x 2TB) + 8TB (2x 4TB) on a machine with 4GB RAM.... this has been up > for 3 years with minimum reboot! Good. There are some companies that make for living recovering data from "unbreakable" ZFS :) You may be just lucky. or they will make some money. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 12:14:50 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 12:14:56 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: > On Thu, Jun 21, 2012 at 1:52 PM, Wojciech Puchar < > wojtek@wojtek.tensor.gdynia.pl> wrote: > >> stick with UFS. It JUST WORKS(R), and is trusty. >> And it works fast. >> >> > The correct answer would be. I depends on the work load.... For different kinds of production workload it doesn't, aat least for me. From mgamsjager at gmail.com Thu Jun 21 12:15:04 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Thu Jun 21 12:15:11 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE2CE38.9000100@gmail.com> References: <4FE2CE38.9000100@gmail.com> Message-ID: On Thu, Jun 21, 2012 at 9:33 AM, Hooman Fazaeli wrote: > Dear community > > In the past, I built a 8TB ZFS log server on freebsd 7.4. > However, the system experienced instablility after long up times. > My main motive to use ZFS was UFS inability to support large > file systems. > > Now, I want to the same thing on 8.3 and wanted to know > your opinion on ZFS stability. Is there any success story using > ZFS in 24x7, large volume, heavy duty servers? Is there any > other option other than ZFS to build larger than 2TB file systems? > > > > Like I said. It depends. Could you give a better description about the expected work load. (DB, NFS filer etc) From roberthuff at rcn.com Thu Jun 21 12:15:51 2012 From: roberthuff at rcn.com (Robert Huff) Date: Thu Jun 21 12:15:58 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: <20451.4211.711422.718539@jerusalem.litteratus.org> Fred Morcos writes: > q) Is it possible to run a FreeBSD system without much building? > In other words, can I survive by depending on packages and only > resorting to ports when really needed? Mostly, yes. There are down-sides, but if you're building a client where specific functionality is not needed and performance is not crucial - yes. > 1. Too often, core system components break (especially with every > Linux kernel release). > 1. Yesterday I spent 30 minutes until my webcam worked, dealing with > v4l, gstreamer and cheese. > 2. The USB3 port in my laptop used to work as USB2 (never as USB3), > not anymore, it's now completely useless and doesn't react to > anything. To work in FreeBSD-land, you're going to need to understand the difference between the system and the ports. Also, the difference between CURRENT and STABLE releases. See the Handbook for more information. > 2. Sudden drastic changes that are deviating from simplicity. > 1. The sudden flood of daemons that are designed to do everything > for me, without giving me much say in the matter. My computer is > supposed to help me, not decide for me or replace me. Not much of this. > 2. Those daemons are hard to get rid of and are tightly integrated > into higher-level components in the stack (ie, into the desktop > environment). > > Those are dbus, hal, udev, udisks, upower, pulseaudio, systemd, > consolekit and policykit. Hal and dbus are used by a fair number of programs; many can be compiled not to used them, with varying consequences. As for the others: on a system with 882 ports installed, 44 use pulseaudio, 61 use consolekit and 62 use policykit. (Porbably a high degree of overlap there.) > 5. I think many of the developers of those components are trying to > reach a Mac-like experience? I am not against that in any way, but > it needs to be working well. Everything is a work in progress. :-) > q) Does ZFS make sense on a laptop? Any advantages of using it over > USF with J+SU? I am not interested in any striping or mirroring on > the laptops, but the compression features is very attractive for the > HDDs in the first laptop. I am given to understand ZFS can do some wonderful things ... but uses a _lot_ of memory, which may be unacceptable. > q) Can I live with a desktop environment (Gnome or KDE) and desktop > applications (Firefox, Libreoffice, etc) by relying only on > packages? Yes, assuming you're willing to live with the default options for each. Note: there may be ports whose packages are - for various reasons - not of the most recent version. > q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is > there a way to change that system-wide to be in human-readable > format? Check out the BLOCKSIZE environment variable, and the -H/-h setting to individual programs. > q) Is there a tool that can test a set of mirrors for connection time > and speed (for packages and ports)? Analogous to Archlinux's > rankmirrors? sysutils/fastest_cvsup > q) I noticed in the ports collection that there were some outdated > packages (skype-2.2, gimp-2.6), should I report that and where? (A > PR?) Generally - the right people know. What they don't know is when they will have the time (and in some cases, motivation) to import (and test) the latest version. Anyone can submit patches. The default person in charge of dealing with patches is the "maintainer", who can be identified by going to the port directory and doing "make MAINTAINER". Talking to the maintainer about new versions and trouble with old versions is both polite and (usually) more efficient. (For some large projects - Gnome, KDE, Mozilla, Java, etc. - the maintainer is a team.) Robert Huff From matthew at FreeBSD.org Thu Jun 21 12:19:15 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Thu Jun 21 12:19:23 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: <4FE3113E.6080104@FreeBSD.org> On 21/06/2012 12:24, Fred Morcos wrote: > q) I am currently considering 3 disks for a home micro-server, with > ZFS striping with the third disk being a parity disk. In case I decide > to buy a fourth disk in the future and add it to the pool, is ZFS > capable of re-structuring the data on-the-fly to have 2 sets of > striping (without parity, so 2 disks each) and on top of that a > mirror? Analogous to the following: > > +-------------------------------+ > | Stripe2 mirrors Stripe1 | > +---------------+---------------+ > | Stripe1 | Stripe2 | > +-------+-------+-------+-------+ > | Disk1 | Disk2 | Disk3 | Disk4 | > +-------+-------+-------+-------+ Just picking one of your questions arbitrarily -- not that there's anything wrong with the others, but this I had to comment on. And the comment is: Don't do it like that. viz. Don't mirror the stripes: stripe the mirrors instead. +-------------------------------+ | Stripe | +---------------+---------------+ | Mirror1 | Mirror2 | +-------+-------+-------+-------+ | Disk1 | Disk2 | Disk3 | Disk4 | +-------+-------+-------+-------+ Why this way? Well, consider what happens if one of your disks fails. With your original plan (RAID0+1): A failed disk in a stripe immediately takes the whole stripe out of action, so you're left operating on only two drives and you have no resilience to further failures. With my plan (RAID10): A failed drive means you lose resilience in one of the mirrors -- the other mirror can carry on as usual, and you will still be making full use of all the remaining drives. It's also faster to recover when you replace the failed drive -- you only have to resilver one disk's worth. Now, your actual question: can you convert a RAIDz (which is what I assume you mean by "with the third disk being a parity disk") to a RAID10 transparently? No. You can add another vdev (ie. a disk, mirrored pair or RAIDz group) to expand the size, but you can't radically rearrange the devices in your zpool without manual intervention. What you can do is: add your new disk to the system, and remove one drive from your RAIDz (so the RAIDz is running in degraded mode). You can create a new zpool from those two disks -- temporarily as a RAID0 stripe across the pair. You can then do 'zfs send' | 'zfs receive' to copy your filesystem contents over to the new zpool. Reboot so the system is running live on the new zpool, destroy the old zpool and then insert those drives into the new zpool so they mirror drives already there. That's a lot of copying stuff around, and all the while you won't have any resilience against disk failure. Plenty of scope for disastrous errors. Make sure you have very good backups. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120621/30a2e4de/signature.pgp From mgamsjager at gmail.com Thu Jun 21 12:24:00 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Thu Jun 21 12:24:06 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: On Thu, Jun 21, 2012 at 2:13 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > For my various OpenSource projects, I have deployed a 36TB file system >> which is fine and stable running 24/7. Additionally at home I use 4TB >> (2x 2TB) + 8TB (2x 4TB) on a machine with 4GB RAM.... this has been up >> for 3 years with minimum reboot! >> > > Good. There are some companies that make for living recovering data from > "unbreakable" ZFS :) > > You may be just lucky. or they will make some money. > > And there are many happy users with ZFS (fbsd and opensolaris/solaris). Guess they are all wrong. I really want to see your face when you fsck 48TB w/o ffs+j (since that is so young must be immature :S ) of data with the phone ring non stop with customers who want to use their data again. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 12:34:24 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 12:34:31 2012 Subject: New to FreeBSD - Some questions In-Reply-To: <4FE3113E.6080104@FreeBSD.org> References: <4FE3113E.6080104@FreeBSD.org> Message-ID: > +-------------------------------+ > | Stripe | > +---------------+---------------+ > | Mirror1 | Mirror2 | > +-------+-------+-------+-------+ > | Disk1 | Disk2 | Disk3 | Disk4 | > +-------+-------+-------+-------+ true. but there are mirror/stripe layout that is quite better in performance than yours where writes are not dominant ;) From freebsd at pki2.com Thu Jun 21 12:39:14 2012 From: freebsd at pki2.com (Dennis Glatting) Date: Thu Jun 21 12:39:22 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE2CE38.9000100@gmail.com> References: <4FE2CE38.9000100@gmail.com> Message-ID: <1340282342.19296.47.camel@btw.pki2.com> On Thu, 2012-06-21 at 12:03 +0430, Hooman Fazaeli wrote: > Dear community > > In the past, I built a 8TB ZFS log server on freebsd 7.4. > However, the system experienced instablility after long up times. > My main motive to use ZFS was UFS inability to support large > file systems. > > Now, I want to the same thing on 8.3 and wanted to know > your opinion on ZFS stability. Is there any success story using > ZFS in 24x7, large volume, heavy duty servers? Is there any > other option other than ZFS to build larger than 2TB file systems? > System 1: 32 cores, Interlagos, 64GB, 18TB RAIDz1 System 2: 64 cores, Interlagos, 128GB, 15TB RAIDz1 System 3: 8 cores, Bulldozer, 16GB, 27TB RAIDz2 Those are the main volumes on those systems. There are smaller ZFS volumes. I have other systems also ZFS (total of seven systems), typically with one or more 5-10TB RAIDz1 volumes. All systems RELENG_9. Stable? Yes. Be sure you have up-to-date FreeBSD kernel and your HBA firmware is up-to-date. Generally I use LSI 9211 cards. That said, the weak point is the drives. For example, one system has 6 Hitachi 4TB drives and there are three more in other systems -- 30% failure rate within one year. I've also had several failures with Seagate drives across two years. Zero failures with WD drives (12 drives in one ZFS array, IIRC) however those are slower, cheap drives. I am also working with compressed volumes because my data is very large and highly compressable. Compressed volumes, as you would expect, has a significant kernel performance impact depending on what you are doing. From weldon at excelsusphoto.com Thu Jun 21 13:02:38 2012 From: weldon at excelsusphoto.com (weldon@excelsusphoto.com) Date: Thu Jun 21 13:02:45 2012 Subject: Is ZFS production ready? In-Reply-To: <1340282342.19296.47.camel@btw.pki2.com> References: <4FE2CE38.9000100@gmail.com> <1340282342.19296.47.camel@btw.pki2.com> Message-ID: On 21.06.2012 07:39, Dennis Glatting wrote: > > Stable? Yes. Be sure you have up-to-date FreeBSD kernel and your HBA > firmware is up-to-date. Generally I use LSI 9211 cards. > Does the 9211 support JBOD (complete plain disks, no RAID or single disk RAID mess)? From erich at alogreentechnologies.com Thu Jun 21 13:08:10 2012 From: erich at alogreentechnologies.com (Erich Dollansky) Date: Thu Jun 21 13:08:24 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: <201206212008.00577.erich@alogreentechnologies.com> Hi, On Thursday 21 June 2012 18:24:26 Fred Morcos wrote: > On Wed, Jun 20, 2012 at 9:58 PM, Wojciech Puchar > > q) Is it possible to run a FreeBSD system without much building? In > other words, can I survive by depending on packages and only resorting > to ports when really needed? you can run both the operating system and the ports from prebuilt binaries. > > What set me off, and got me tired of dealing with Linux-based systems > is a set of patterns that have been repeating over for some years > now. Generally: > > 1. Too often, core system components break (especially with every > Linux kernel release). You will not find this kind of chaos here. Maybe a hint. I leave always one big release out. With other words. If you start now with 9, you do not have to move to 10 but you can stick with 9 until 11 comes out. You do not even have to upgrade at the spot. > 1. Yesterday I spent 30 minutes until my webcam worked, dealing with > v4l, gstreamer and cheese. > 2. The USB3 port in my laptop used to work as USB2 (never as USB3), > not anymore, it's now completely useless and doesn't react to > anything. Things like this happened in the past too. But it is very, very rare and happens most likely with older hardware and not new one. > 2. Sudden drastic changes that are deviating from simplicity. > 1. The sudden flood of daemons that are designed to do everything > for me, without giving me much say in the matter. My computer is > supposed to help me, not decide for me or replace me. Welcome to Linux. > 2. Those daemons are hard to get rid of and are tightly integrated > into higher-level components in the stack (ie, into the desktop > environment). > 3. Those daemons are increasingly hard and obscure to configure > (ie, huge XML files, complex hierarchies, etc). This was avoided here. > 3. Due to having to run and interact with each other all the time, > those daemons are sucking the life out of my laptop battery > (according to powertop). I do not wonder. On the other side, power management is not the best on FreeBSD. > 4. Probably other frustrations that I have forgotten about. > 5. I think many of the developers of those components are trying to > reach a Mac-like experience? I am not against that in any way, but > it needs to be working well. FreeBSD has here one simple advantage. It is not integrated by any means into a GUI. > > Those are dbus, hal, udev, udisks, upower, pulseaudio, systemd, > consolekit and policykit. Said to say but these friends are also available here. They are not part of FreeBSD and some can be avoided. > > I am aware that those solutions are there to solve complex problems > (thus their inherent complexity) and that many bright people with a > lot of experience have thought about them and worked on those > projects. My frustration is that those solutions are: > > 1. At the cost of making simple tasks more complex. > 2. Replacing or conflicting with the previously existing solution. > 3. Sometimes very unstable and unusable. > I think you see here Linux as a distribution. Things like this are avoided with FreeBSD itself but not wit the ports. The ports have nothing much to do with FreeBSD except that they work on FreeBSD. > q) Where does the FreeBSD project stand on this matter? From what I > noticed is that the base system seems to adhere to the tranditional > flat text files for configuration and simple tools that do a good job, > leaving it up to the user to combine those small tools to create > larger, more complex ones (a UNIX inheritance). > I read sometime comments that people want to make it more complex. > q) Is a FreeBSD stable base system with "current" high-level > components possible? Will it avoid the issues I experienced on > Linux-based systems? Yes and no. As an example. I have had to run Fedora 16 on my x220 for some reasons. I was surprised how fast it is when I moved yesterday to FreeBSD. Some of the differences have to do with the deamons as you described above. > > My goal > > I have two laptops (Asus N73JQ, Asus U36S) which I use as work > machines. Power efficiency is very important, efficient disk access > too. Suspend to ram and hiberation would be nice to have but are not > utterly important. > > q) I would assume UFS with J+SU is "fast enough" for a laptop? I use UFS since 2004/5 on laptops. > > q) Does ZFS make sense on a laptop? Any advantages of using it over > USF with J+SU? I am not interested in any striping or mirroring on > the laptops, but the compression features is very attractive for the > HDDs in the first laptop. It did not make sense for me. > > q) The second laptop has an SSD, would UFS with/without J and > with/without SU or ZFS make more sense for it? > > q) Can I live with a desktop environment (Gnome or KDE) and desktop > applications (Firefox, Libreoffice, etc) by relying only on packages? > It should work when you start off from the release versions. > q) Does ntfs-3g from ports work reliably with external HDDs or USB > flash drives with read and write support? I would like to hear > personal experiences with that. I used it for some time and never faced problems. I stopped using it when I moved my last disk to UFS. > > q) Does the NVIDIA binary driver work reliably? I would like to hear > personal experiences with that. I have one machine with the nVidia driver from ports running. I never installed the driver from nVidia. It runs for me since 2010 without any problems. > > I am also planning to setup a micro-server for home use (either a > ready-built one or by simply building a PC and using it as a server), > questions about that will come later. The main use of it would be > hosting my multimedia, streaming music and making backups of the > laptops on it (cron + rsync). Also, maybe some web/ftp and git > servers. FreeBSD will do this job. > > Initial impressions > > I installed the base system into Virtualbox and everything works quite > well. Everything is so... clean, and tidy, and consistent, and > simple. Very well thought out. I am also very impressed with the > amount of properly written man pages and with the handbook. I would > like to thank and congratulate all of the people who work on the > FreeBSD base system, a true masterpiece. Yes, felt that the man pages of the Fedora installation I have had have been so often useless. > > Setting up and installation > > q) Does the bsdinstall align partitions to device blocks by default > for optimal speed? If not, I have found that I can use gpart with -a > and -b which will require me to calculate the start and end offsets of > each partition manually. Is there a tool that can automatically do > that for me? > I do not know. > q) Is it possible to get native resolution on the console? I played > with vesa and vidcontrol but could never get what I wanted. Native > resolution would require KMS? It depends on the graphic card? Do you notebooks use the Intel GPU? If it is so, be ready for some smaller issues. Be also ready for 10. > > q) How can I set proxy settings system-wide? Same for PACKAGESITE (for > the pkg_* tools), how can I set a mirror system-wide? /etc/profile? > I use environment variables. Check man ports for all options. > q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is there > a way to change that system-wide to be in human-readable format? Yes, again man ls etc are your friends. > > System > > To assess my understanding, the system is split into kernel, base, > documentation, games, lib32 (on 64-bit systems) and ports. There is > another split between base and ports where base includes everything > previously mentioned minus ports. Now, there are 3 "branches" of the > base system: RELEASE, STABLE and CURRENT. RELEASE means 9.0 and stays > that way until 10.0 is released. STABLE means 9.0, 9.1, 9.2, > etc. CURRENT means "trunk" in SVN terms. Is all that correct? Also, > when somewhere is mentioned `make world', this means to rebuild all > installed ports which doesn't include base, I assume? > Make world compiles on the world of the base system. Never forget, that the ports have nothing to do with FreeBSD in that sense. > q) The files in /etc/rc.d are all executable, from my understanding, > those files will get executed and it is their duty to check the > variable `_enable' for whether they should start or > not. Wouldn't it be more efficient to chmod -x or +x them to > disable/enable? To let the chaos rule? No, it is some much more flexible to control the behaviour in a single file. > > q) What is analogous to /etc/rc.local from Linux-based systems? > > q) Is there something analogous to the Linux magic sysrq key? > > Ports and packages > > I must say, the ports collection being built on makefiles was a > welcome enlightenment, it just, naturally, made sense. The *-recursive > make targets are a blessing, especially for configs. > > q) Is there a tool that can test a set of mirrors for connection time > and speed (for packages and ports)? Analogous to Archlinux's > rankmirrors? > > q) Is it possible for the pkg_* tools (especially pkg_add -r) to > display progress? > > q) I noticed in the ports collection that there were some outdated > packages (skype-2.2, gimp-2.6), should I report that and where? (A > PR?) > > q) Is it possible to have the ports system compile into an mfs (to > avoid disk access)? > > q) Is it possible to have the user asked to change their password the > first time they log in (using an OTP) in a simple way? I looked at > OPIE but it seems to be much more complex than what I need. > > GEOM and filesystems > > >From what I could understand, the GEOM layer only supports read-only > > compression. Which makes (to me) ZFS an attractive filesystem for slow > HDDs (on the first laptop). Do not forget the overhead. I hope that other are able to answer the questions I could not. Erich From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 13:38:28 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 13:38:35 2012 Subject: New to FreeBSD - Some questions In-Reply-To: <201206212008.00577.erich@alogreentechnologies.com> References: <201206212008.00577.erich@alogreentechnologies.com> Message-ID: > Maybe a hint. I leave always one big release out. With other words. If you > start now with 9, you do not have to move to 10 but you can stick with 9 until > 11 comes out. You do not even have to upgrade at the spot. my as i do - i for now run FreeBSD 8, and will run 9 when it will be needed with new hardware (drivers) or it will have clearly noticable adventages of speed and/or functionality. > I think you see here Linux as a distribution. Things like this are avoided > with FreeBSD itself but not wit the ports. The ports have nothing much to do > with FreeBSD except that they work on FreeBSD. repeating once again. FreeBSD base system is one complete and consistent thing. ports are another. If one run program X under linux, it will be the same program X under FreeBSD. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 13:39:13 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 13:39:23 2012 Subject: Is ZFS production ready? In-Reply-To: <1340282342.19296.47.camel@btw.pki2.com> References: <4FE2CE38.9000100@gmail.com> <1340282342.19296.47.camel@btw.pki2.com> Message-ID: > System 1: 32 cores, Interlagos, 64GB, 18TB RAIDz1 > System 2: 64 cores, Interlagos, 128GB, 15TB RAIDz1 > System 3: 8 cores, Bulldozer, 16GB, 27TB RAIDz2 what these systems do? (no details, just rough information) From odhiambo at gmail.com Thu Jun 21 13:41:13 2012 From: odhiambo at gmail.com (Odhiambo Washington) Date: Thu Jun 21 13:41:21 2012 Subject: A bash scripting question In-Reply-To: References: Message-ID: How Can I simplify/perfect the following script, so that I read _ALL_ the lines in the file and act on the content as shown below, so that I do not have to specifiy an action per line? This below is doing exactly what i need BUT reading one line at a time untill the 10th line, if i want more i add manually... This might help some1 someday! But if there is a way to perfect it please do so..... #!/usr/local/bin/bash smsfile=email_to_sms `grep Subject /var/spool/mail/sms >>$smsfile` if [[ -s $smsfile ]] ; then cat /dev/null > /var/spool/mail/sms sed -i 's/Subject: //g' $smsfile echo `sed -n '1p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==1 {print $1}' $smsfile` echo `sed -n '2p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==2 {print $1}' $smsfile` echo `sed -n '3p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==3 {print $1}' $smsfile` echo `sed -n '4p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==4 {print $1}' $smsfile` echo `sed -n '5p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==5 {print $1}' $smsfile` echo `sed -n '6p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==6 {print $1}' $smsfile` echo `sed -n '7p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==7 {print $1}' $smsfile` echo `sed -n '8p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==8 {print $1}' $smsfile` echo `sed -n '9p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==9 {print $1}' $smsfile` echo `sed -n '10p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==10 {print $1}' $smsfile` else echo "***********Sorry the SMS FILE "$smsfile" is empty.************" fi gammu-smsd start cat email_to_sms >> email_to_sms2 cat /dev/null > email_to_sms -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 13:44:04 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 13:44:10 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: > I really want to see your face when you fsck 48TB w/o ffs+j (since that is > so young must be immature :S ) of data with the phone ring non stop with Even if ZFS would be the only filesystem in existence i would make one per 2 disks (single mirror). No matter what's going on, what do you prefer in case say - double disk failure from one mirror on 48 disk systems? losing completely data of 1/24 of users (and then restoring that amount from backups), or losing randomly chosen 1/24 of files from whole system? answer yourself. With UFS of course i would have single disk fsck time - less than a hour. which CAN be done out of work hours with soft updates. i normally turn off automatic fsck for large data filesystems, and if crash happened i run it after/before work hours. From mgamsjager at gmail.com Thu Jun 21 13:59:12 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Thu Jun 21 13:59:21 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: On Thu, Jun 21, 2012 at 3:43 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > I really want to see your face when you fsck 48TB w/o ffs+j (since that is >> so young must be immature :S ) of data with the phone ring non stop with >> > > Even if ZFS would be the only filesystem in existence i would make one per > 2 disks (single mirror). > > No matter what's going on, what do you prefer in case say - double disk > failure from one mirror on 48 disk systems? > > losing completely data of 1/24 of users (and then restoring that amount > from backups), or losing randomly chosen 1/24 of files from whole system? > > answer yourself. > Sorry but I don;t follow you right there. with 48 disks you would not mirror 24vs24. I will perform very well but there is too much risk in that. you would rather go with a raidz2 stripe sets. > > With UFS of course i would have single disk fsck time - less than a hour. > which CAN be done out of work hours with soft updates. > > i normally turn off automatic fsck for large data filesystems, and if > crash happened i run it after/before work hours. > > > raid is not a backup. You can loose data with any configuration or fs. so like in the compiler discussion. There is no perfect something in this world. It's always a tradeoff. with ZFS you have access to most advanced techniques and I believe that data is most safe with raidz3 as it can be. UFS cant match that and you have to rely on a raidcontroller which can screw up your data as well. From hoomanfazaeli at gmail.com Thu Jun 21 14:13:54 2012 From: hoomanfazaeli at gmail.com (Hooman Fazaeli) Date: Thu Jun 21 14:14:05 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: <4FE32C16.3050205@gmail.com> On 6/21/2012 4:22 PM, Wojciech Puchar wrote: > stick with UFS. It JUST WORKS(R), and is trusty. > And it works fast. > What options are there for >2TB file systems with UFS? From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 14:22:56 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 14:23:04 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: > > answer yourself. > > > Sorry but I don;t follow you right there.?with 48 disks you would not mirror 24vs24. if i wasn't clear enough then i would it like that (with UFS), and assuming disks are named disk0....disk48, and that i have at least one more disk for system code, often acessed data etc (SSD would be fine), while these 48 disks store user/whatever data. gmirror label ...options... mirror1 /dev/disk0 /dev/disk1 gmirror label ...options... mirror2 /dev/disk2 /dev/disk3 . . . gmirror label ...options... mirror24 /dev/disk46 /dev/disk47 then newfs etc.. and mounted as 24 filesystems. eg. /home1.../home24 then decide how to spread things properly. this depend of your needs. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 14:24:27 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 14:24:34 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE32C16.3050205@gmail.com> References: <4FE2CE38.9000100@gmail.com> <4FE32C16.3050205@gmail.com> Message-ID: On Thu, 21 Jun 2012, Hooman Fazaeli wrote: > On 6/21/2012 4:22 PM, Wojciech Puchar wrote: >> stick with UFS. It JUST WORKS(R), and is trusty. >> And it works fast. >> > What options are there for >2TB file systems with UFS? > the same as for <2TB filesystems. From jcigar at ulb.ac.be Thu Jun 21 14:31:50 2012 From: jcigar at ulb.ac.be (Julien Cigar) Date: Thu Jun 21 14:31:57 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: <4FE32FF5.60603@ulb.ac.be> One interesting feature of ZFS if it's block checksum: all reads and writes include block checksum, so it can easily detect situations where, for example, data is quietly corrupted by RAM. This feature is very important for databases. On 06/21/2012 15:58, Matthias Gamsjager wrote: > On Thu, Jun 21, 2012 at 3:43 PM, Wojciech Puchar< > wojtek@wojtek.tensor.gdynia.pl> wrote: > >> I really want to see your face when you fsck 48TB w/o ffs+j (since that is >>> so young must be immature :S ) of data with the phone ring non stop with >>> >> Even if ZFS would be the only filesystem in existence i would make one per >> 2 disks (single mirror). >> >> No matter what's going on, what do you prefer in case say - double disk >> failure from one mirror on 48 disk systems? >> >> losing completely data of 1/24 of users (and then restoring that amount >> from backups), or losing randomly chosen 1/24 of files from whole system? >> >> answer yourself. >> > Sorry but I don;t follow you right there. with 48 disks you would not > mirror 24vs24. I will perform very well but there is too much risk in that. > you would rather go with a raidz2 stripe sets. > > >> With UFS of course i would have single disk fsck time - less than a hour. >> which CAN be done out of work hours with soft updates. >> >> i normally turn off automatic fsck for large data filesystems, and if >> crash happened i run it after/before work hours. >> >> >> raid is not a backup. You can loose data with any configuration or fs. so > like in the compiler discussion. There is no perfect something in this > world. It's always a tradeoff. > with ZFS you have access to most advanced techniques and I believe that > data is most safe with raidz3 as it can be. UFS cant match that and you > have to rely on a raidcontroller which can screw up your data as well. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From mgamsjager at gmail.com Thu Jun 21 14:33:21 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Thu Jun 21 14:33:28 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: On Thu, Jun 21, 2012 at 4:22 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > >> answer yourself. >> >> >> Sorry but I don;t follow you right there. with 48 disks you would not >> mirror 24vs24. >> > > if i wasn't clear enough then i would it like that (with UFS), and > assuming disks are named disk0....disk48, and that i have at least one more > disk for system code, often acessed data etc (SSD would be fine), while > these 48 disks store user/whatever data. > > gmirror label ...options... mirror1 /dev/disk0 /dev/disk1 > gmirror label ...options... mirror2 /dev/disk2 /dev/disk3 > . > . > . > gmirror label ...options... mirror24 /dev/disk46 /dev/disk47 > > then newfs etc.. and mounted as 24 filesystems. eg. /home1.../home24 > > then decide how to spread things properly. this depend of your needs. > > interesting idea but the options ZFS would give you are superior to this setup. But I have still not seen any evidence/facts that ZFS looses more data than UFS. Excluding user error which is 90% the reason data is lost. From jcigar at ulb.ac.be Thu Jun 21 14:33:50 2012 From: jcigar at ulb.ac.be (Julien Cigar) Date: Thu Jun 21 14:33:58 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE32C16.3050205@gmail.com> References: <4FE2CE38.9000100@gmail.com> <4FE32C16.3050205@gmail.com> Message-ID: <4FE33089.1050609@ulb.ac.be> On 06/21/2012 16:13, Hooman Fazaeli wrote: > On 6/21/2012 4:22 PM, Wojciech Puchar wrote: >> stick with UFS. It JUST WORKS(R), and is trusty. >> And it works fast. >> > What options are there for >2TB file systems with UFS? this should not be a problem if you use GPT + gpart (which is the way to go nowadays) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From nec556 at retena.com Thu Jun 21 14:37:16 2012 From: nec556 at retena.com (Eduardo Morras) Date: Thu Jun 21 14:37:25 2012 Subject: Is ZFS production ready? Message-ID: <4FA8826F00BC43C3@> (added by postmaster@resmaa12.ono.com) At 16:13 21/06/2012, you wrote: >On 6/21/2012 4:22 PM, Wojciech Puchar wrote: >>stick with UFS. It JUST WORKS(R), and is trusty. >>And it works fast. >What options are there for >2TB file systems with UFS? With UFS2 you can use file systems up to 2^73 (8 ZB). The problem is not UFS, but the old tools used to format the disk like fdisk and bsdlabel. For big file systems you must use gpart. The problem with file system recovery times when "the worst thing happens"(tm) is soluted/mitigated with su+j on FreeBSD9. HTH From dg at pki2.com Thu Jun 21 14:42:22 2012 From: dg at pki2.com (Dennis Glatting) Date: Thu Jun 21 14:43:02 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> <1340282342.19296.47.camel@btw.pki2.com> Message-ID: <1340289724.19296.52.camel@btw.pki2.com> On Thu, 2012-06-21 at 07:55 -0500, weldon@excelsusphoto.com wrote: > On 21.06.2012 07:39, Dennis Glatting wrote: > > > > > Stable? Yes. Be sure you have up-to-date FreeBSD kernel and your HBA > > firmware is up-to-date. Generally I use LSI 9211 cards. > > > > Does the 9211 support JBOD (complete plain disks, no RAID or single > disk RAID mess)? Typically I simply reburn them with IT firmware however I found under IR that a disk on an unconfigured port is seen by the kernel and usable but I haven't looked at any performance impact and I can't say whether that's a good idea. -- Dennis Glatting From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 14:44:33 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 14:44:40 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE32FF5.60603@ulb.ac.be> References: <4FE2CE38.9000100@gmail.com> <4FE32FF5.60603@ulb.ac.be> Message-ID: > One interesting feature of ZFS if it's block checksum: all reads and writes > include block checksum, so it can easily detect situations where, for > example, data is quietly corrupted by RAM. you may be shocked but you are sometimes wrong. i already demostrated it and checksumming doesn't get any errors, and do write wrong data with right checksums :) it's quite easy to explain if one understand hardware details. Checksumming will protect you from - failed SATA/SAS port, on-disk controller that returns bad data as good. This is actually really rare case. i never seen that, but maybe it happens. - some types of DRAM failure - but not all. Actually just a small fraction because DRAM failure like that would bring your system to crash so quickly that you are unlikely to get big data corruption. Common case with DRAM memory is that after you write to it, keeps right data some time and RARELY flips some bit later in spite of refresh. With this type you may run your machine for hours, even days or longer. And ZFS would calculate proper checksum of wrong data and will write it to disk. This is the reason i keep few failed DIMMs - for testing how different software behaves on broken machine. UFS resulted in few corrupted files after half a day of heavy work and 4 crashes. fsck always recovered things well (of course "unexpected softupdate inconsistency....") ZFS survived 2 crashes. After third it panicked on startup. Of course - no zfs_fsck. And no possibility of making really good zfs_fsck because of data layout, at least not easy. > This feature is very important for databases. is data integrity not important for the rest? :) Still - disks itself perform quite heavy ECC and both SATA and SAS ports. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 14:47:05 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 14:47:12 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: >> >> > interesting idea but the options ZFS would give you are superior to this > setup. Were you just unable to understand my setup or a reasons to do this? please reread former post and possibly ask again if you don't understand the reasons. I ignore performance issues completely for now. > But I have still not seen any evidence/facts that ZFS looses more > data than UFS. And you've never seen me, yet i still exist. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 14:52:29 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 14:52:36 2012 Subject: Is ZFS production ready? In-Reply-To: <4FA8826F00BC43C3@> (added by postmaster@resmaa12.ono.com) References: <4FA8826F00BC43C3@> (added by postmaster@resmaa12.ono.com) Message-ID: > > With UFS2 you can use file systems up to 2^73 (8 ZB). The problem is not UFS, > but the old tools used to format the disk like fdisk and bsdlabel. For big > file systems you must use gpart. true. or not using anything at all (and put filesystem directly on whole device/mirror). > The problem with file system recovery times when "the worst thing > happens"(tm) is soluted/mitigated with su+j on FreeBSD9. True but i don't believe completely in SU+J. i use it - eg on my private backup disk. but do full fsck sometimes. and usually few, but nonzero amount of errors are corrected. but with just SU it is easy to solve. Disable fsck on boot at all. softupdates allow that risk without problems. then do fsck at time when full or partial system outage can be tolerated - after work hours. This is my solution used everywhere. of course fsck on 100TB filesystem will be too slow. But it is implementation problem, and could be improved. but i would not recommend making single virtual device (gmirror/gstripe or dedicated hardware matrix controller) from too many disks because of the risk. From mgamsjager at gmail.com Thu Jun 21 15:01:54 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Thu Jun 21 15:02:01 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: On Thu, Jun 21, 2012 at 4:47 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > >>> >>> interesting idea but the options ZFS would give you are superior to this >> setup. >> > > Were you just unable to understand my setup or a reasons to do this? > > please reread former post and possibly ask again if you don't understand > the reasons. > > I ignore performance issues completely for now. I do understand your setup but I dont have too agree that it is a good solution. I know you think it's the best and only one :) > > > But I have still not seen any evidence/facts that ZFS looses more >> data than UFS. >> > > And you've never seen me, yet i still exist. > Really? that's you anwser to my question. The most childish answer I could image. You have a gift to troll and ruine every topic with this kind of answers.... From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 15:15:12 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 15:15:19 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: > > I do understand your setup but I dont have too agree that it is a good so i would repeat my question. Assume you have 48 disks, in mirrored configuration (24 mirrors) and 480 users with their data on them. Your solution with ZFS - ZFS crashes or you get double disk failure. Assuming the latter by average one per 24 file (randomly chosen) is destroyed which - in practice and limited time, means everything destroyed. Actually more than one per 24 - large files can be spread over. Your solution with UFS - better as there is fsck which slowly but successfully repairs problem. with double disk failure - the same! You restore everything from backup (i assume you have one). This takes like a day or more, one or two complete work days lost+all users in practice lost everything since last backup. My solution with UFS - fsck in case of failure work in parallel on 24 disks so not that long. double disk failure means losing data of 1/24 users. every one per 24 user cannot work, others work and i without any stress do recover this 1/24 of users data from backup after putting replacement disks. 1/24 of users lost data since last backup, and some hours of time. Even assuming ZFS is perfect then we both have problems as often, but my problems are 1/24 as severe as yours. Just don't ask me for help when unhappy users will want to cut off your head. >> And you've never seen me, yet i still exist. >> > > Really? that's you anwser to my question. The most childish answer I could stupid answer to stupid question. You never seen - but they do happens. From weldon at excelsusphoto.com Thu Jun 21 15:38:20 2012 From: weldon at excelsusphoto.com (weldon@excelsusphoto.com) Date: Thu Jun 21 15:38:28 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: On 21.06.2012 10:15, Wojciech Puchar wrote: >> >> I do understand your setup but I dont have too agree that it is a >> good > > so i would repeat my question. > Assume you have 48 disks, in mirrored configuration (24 mirrors) and > 480 users with their data on them. > > Your solution with ZFS - ZFS crashes or you get double disk failure. > Assuming the latter by average one per 24 file (randomly chosen) is > destroyed which - in practice and limited time, means everything > destroyed. Actually more than one per 24 - large files can be spread > over. > > Your solution with UFS - better as there is fsck which slowly but > successfully repairs problem. with double disk failure - the same! > > > You restore everything from backup (i assume you have one). This > takes like a day or more, one or two complete work days lost+all > users > in practice lost everything since last backup. > > My solution with UFS - fsck in case of failure work in parallel on 24 > disks so not that long. double disk failure means losing data of 1/24 > users. > > every one per 24 user cannot work, others work and i without any > stress do recover this 1/24 of users data from backup after putting > replacement disks. > > 1/24 of users lost data since last backup, and some hours of time. > > > Even assuming ZFS is perfect then we both have problems as often, but > my problems are 1/24 as severe as yours. > > I think it is incorrect to assume that a failure with ZFS that cannot be recovered could be recovered if you used UFS with fsck. What fsck fixes in other file systems doesn't apply to ZFS by ZFS's design. fsck deals with fixing superblock inconsistancies on non-journaled file systems (like UFS/UFS2), not resurecting corrupted blocks on a disk. http://www.c0t0d0s0.org/archives/6071-No,-ZFS-really-doesnt-need-a-fsck.html http://en.wikipedia.org/wiki/Fsck http://en.wikipedia.org/wiki/UFS2 From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 15:43:04 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 15:43:11 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: > > I think it is incorrect to assume that a failure with ZFS that cannot be > recovered could be recovered if you used UFS with fsck. i think it is incorrect to not read carefully. So explanation - ZFS failure NOT caused by disks failure cannot be usually recovered. But even if i am wrong at this, rest still apply. > What fsck fixes in > other file systems doesn't apply to ZFS by ZFS's design. fsck deals with > fixing superblock inconsistancies on non-journaled file systems (like > UFS/UFS2), not resurecting corrupted blocks on a disk. > > http://www.c0t0d0s0.org/archives/6071-No,-ZFS-really-doesnt-need-a-fsck.html yes i know that article. And it is truly funny for me to know people do think this way. From feld at feld.me Thu Jun 21 15:49:04 2012 From: feld at feld.me (Mark Felder) Date: Thu Jun 21 15:49:14 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: On Thu, 21 Jun 2012 10:42:55 -0500, Wojciech Puchar wrote: > > And it is truly funny for me to know people do think this way. > If you understood how ZFS commits data to disk you'd not be making these statements. Also, if you take snapshots you can just roll back if there is any weirdness at all. Another important point: With 24 ZFS mirrors you'd have your data being striped across ALL the mirrors. This will yield much better performance. From mgamsjager at gmail.com Thu Jun 21 16:02:58 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Thu Jun 21 16:03:05 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: On 21 jun. 2012, at 17:15, Wojciech Puchar wrote: >> >> I do understand your setup but I dont have too agree that it is a good > > so i would repeat my question. > Assume you have 48 disks, in mirrored configuration (24 mirrors) and 480 users with their data on them. > > Your solution with ZFS - ZFS crashes or you get double disk failure. > Assuming the latter by average one per 24 file (randomly chosen) is destroyed which - in practice and limited time, means everything destroyed. Actually more than one per 24 - large files can be spread over. > > Your solution with UFS - better as there is fsck which slowly but successfully repairs problem. with double disk failure - the same! > > > You restore everything from backup (i assume you have one). This takes like a day or more, one or two complete work days lost+all users in practice lost everything since last backup. > > My solution with UFS - fsck in case of failure work in parallel on 24 disks so not that long. double disk failure means losing data of 1/24 users. > > every one per 24 user cannot work, others work and i without any stress do recover this 1/24 of users data from backup after putting replacement disks. > > 1/24 of users lost data since last backup, and some hours of time. > > > Even assuming ZFS is perfect then we both have problems as often, but my problems are 1/24 as severe as yours. > > > Just don't ask me for help when unhappy users will want to cut off your head. > >>> And you've never seen me, yet i still exist. >>> >> >> Really? that's you anwser to my question. The most childish answer I could > > stupid answer to stupid question. > You never seen - but they do happens. In other topic you hammerd on fact and if someone ask you to deliver them its a stupid question. And about the dram error. I really hope you do use ecc memory in production which renders your scenario invalide. And even then its a claim made by you some random dude on a list. Without proper test scenario and documentation such claims are just useless. And a proper layout zfs will withstand a double disk failure with zero downtime...where younhave to tell your customer they just lost a day work From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 16:04:52 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 16:05:02 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: > Another important point: > > With 24 ZFS mirrors you'd have your data being striped across ALL the > mirrors. This will yield much better performance. i though already after few mails that you can discuss things normally. But this reply just perfectly proves you didn't read more than maybe my last sentence in spite of nearly a page of explanation written. My advices was now for free. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 16:07:04 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 16:07:11 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: >> stupid answer to stupid question. >> You never seen - but they do happens. > > In other topic you hammerd on fact and if someone ask you to deliver them its a stupid question. just a proof it is a waste of time to explain things (FOR FREE) for people like you. You are free to make dangerous setups. People are free to hire you and believe at things what you do. People are free to then pay consequences of the results at unexpected time, as well as 10 times oversized hardware for a need. At least this is still free :) From merlyn at stonehenge.com Thu Jun 21 16:24:20 2012 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Thu Jun 21 16:24:36 2012 Subject: Is ZFS production ready? In-Reply-To: (Wojciech Puchar's message of "Thu, 21 Jun 2012 16:47:01 +0200 (CEST)") References: <4FE2CE38.9000100@gmail.com> Message-ID: <86mx3wbpzs.fsf@red.stonehenge.com> >>>>> "Wojciech" == Wojciech Puchar writes: Wojciech> I ignore performance issues completely for now. An ironic line, given your complaints about clang. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From devin.teske at fisglobal.com Thu Jun 21 16:24:24 2012 From: devin.teske at fisglobal.com (Devin Teske) Date: Thu Jun 21 16:24:38 2012 Subject: A bash scripting question In-Reply-To: References: Message-ID: <1521E29F-C0BC-46A8-A428-FC7183C6E689@fisglobal.com> On Jun 21, 2012, at 6:40 AM, Odhiambo Washington wrote: > How Can I simplify/perfect the following script, so that I read _ALL_ the > lines in the file and act on the content as shown below, so that I do not > have to specifiy an action per line? > > This below is doing exactly what i need BUT reading one line at a time > untill the 10th line, if i want more i add manually... > This might help some1 someday! But if there is a way to perfect it please > do so..... > > #!/usr/local/bin/bash > > smsfile=email_to_sms > `grep Subject /var/spool/mail/sms >>$smsfile` > if [[ -s $smsfile ]] ; then > cat /dev/null > /var/spool/mail/sms > sed -i 's/Subject: //g' $smsfile > echo `sed -n '1p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==1 > {print $1}' $smsfile` > echo `sed -n '2p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==2 > {print $1}' $smsfile` > echo `sed -n '3p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==3 > {print $1}' $smsfile` > echo `sed -n '4p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==4 > {print $1}' $smsfile` > echo `sed -n '5p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==5 > {print $1}' $smsfile` > echo `sed -n '6p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==6 > {print $1}' $smsfile` > echo `sed -n '7p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==7 > {print $1}' $smsfile` > echo `sed -n '8p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==8 > {print $1}' $smsfile` > echo `sed -n '9p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==9 > {print $1}' $smsfile` > echo `sed -n '10p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==10 > {print $1}' $smsfile` > else > echo "***********Sorry the SMS FILE "$smsfile" is empty.************" > fi > gammu-smsd start > cat email_to_sms >> email_to_sms2 > cat /dev/null > email_to_sms > Try the following? #!/bin/sh smsfile=email_to_sms spoolfile=/var/spol/mail/sms grep Subject "$spoolfile" >> "$smsfile" if [ -s "$smsfile" ]; then : > "$spoolfile" sed -e 's/Subject: //g' "$smsfile" | awk ' { if (NR > 10) exit print | "/usr/bin/gammu --sendsms TEXT " $1 }' else echo "***********Sorry the SMS FILE "$smsfile" is empty.************" fi gammu-smsd start cat "$smsfile" >> email_to_sms2 : > "$smsfile" -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From mgamsjager at gmail.com Thu Jun 21 16:31:14 2012 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Thu Jun 21 16:31:21 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> Message-ID: <9672338A-45DA-4680-977B-253CEF3201C8@gmail.com> On 21 jun. 2012, at 18:07, Wojciech Puchar wrote: >>> stupid answer to stupid question. >>> You never seen - but they do happens. >> >> In other topic you hammerd on fact and if someone ask you to deliver them its a stupid question. > just a proof it is a waste of time to explain things (FOR FREE) for people like you. > > You are free to make dangerous setups. People are free to hire you and believe at things what you do. People are free to then pay consequences of the results at unexpected time, as well as 10 times oversized hardware for a need. > > At least this is still free :) True but this applies as much to you. You think you know it all and that is quite the probdlem with you. And "discussing" with you is a true waste with this attittute. Even its free. From DStaal at usa.net Thu Jun 21 16:42:08 2012 From: DStaal at usa.net (Daniel Staal) Date: Thu Jun 21 16:42:15 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE30FBC.1070904@gmail.com> References: <4FE2CE38.9000100@gmail.com> <4FE30FBC.1070904@gmail.com> Message-ID: <88136b1c2b7ffcd86d9ff4180a39cabf@mail.magehandbook.com> On 2012-06-21 08:12, ??????? ???????? wrote: > 21.06.2012 15:52, Wojciech Puchar ?????: >> stick with UFS. It JUST WORKS(R), and is trusty. >> And it works fast. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > I see the trend here. That guy is determined to shove his opinion > down > the throat of everybody. Stop it, tis most annoying. > > Back to the topic. ZFS support has matured greatly since the last > time > you tried it, currently freebsd supports zfs pool v. 28 in the last > updates. Try it, it won't disappoint you. Agreed. Wojciech Puchar is in my 'probable troll' file at this point, from his interactions on several topics. ZFS is stable and tested, and works well if you have the resources. That means RAM as well as hard disks - and if you don't have the resources, most of ZFS's advantages wouldn't be coming into play anyway. I have seen no reason to believe at this point (under FreeBSD 9) that it is any less stable than any other filesystem. It is still fairly new relatively, but I and others have used it with no problems, on boxes of various sizes. Getting the best performance may take some tweaking on occasion, but in general it should be very good. (And getting the best performance out of a multi-terabyte drive array will take tweaking no matter what file system you are trying.) My one note to the above would be to advise against using it for swap - unless you have enough RAM to make sure you never swap. It doesn't do well in that role, in my experience. (Though that was under a slightly earlier version.) Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 16:47:35 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 16:47:43 2012 Subject: Is ZFS production ready? In-Reply-To: <9672338A-45DA-4680-977B-253CEF3201C8@gmail.com> References: <4FE2CE38.9000100@gmail.com> <9672338A-45DA-4680-977B-253CEF3201C8@gmail.com> Message-ID: > > True but this applies as much to you. You think you know it all and that is quite the probdlem with you. > And "discussing" with you is a true waste with this attittute. Even its free. > so stop it. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 16:48:11 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 16:48:20 2012 Subject: Is ZFS production ready? In-Reply-To: <88136b1c2b7ffcd86d9ff4180a39cabf@mail.magehandbook.com> References: <4FE2CE38.9000100@gmail.com> <4FE30FBC.1070904@gmail.com> <88136b1c2b7ffcd86d9ff4180a39cabf@mail.magehandbook.com> Message-ID: > his interactions on several topics. > > ZFS is stable and tested, and works well if you have the resources. That > means RAM as well as hard disks - and if you don't have the resources, most > of ZFS's advantages wouldn't be coming into play anyway. I have seen no right. repeat it more times, as your clients may read it :) From kayasaman at gmail.com Thu Jun 21 16:53:58 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Thu Jun 21 16:54:06 2012 Subject: Is ZFS production ready? In-Reply-To: <88136b1c2b7ffcd86d9ff4180a39cabf@mail.magehandbook.com> References: <4FE2CE38.9000100@gmail.com> <4FE30FBC.1070904@gmail.com> <88136b1c2b7ffcd86d9ff4180a39cabf@mail.magehandbook.com> Message-ID: <4FE3519A.9070203@gmail.com> [...] > > My one note to the above would be to advise against using it for swap > - unless you have enough RAM to make sure you never swap. It doesn't > do well in that role, in my experience. (Though that was under a > slightly earlier version.) I remember on SXCE running on my test Sun E420r server that ZFS (can't remember if this was in the spec file or not??) would use **any** usable or unpartitioned file system as swap. I maybe totally off-base with this as I was too knew to investigate the issue and was still learning Solaris at the time but all of a sudden a remote mounted external drive would start getting zapped by I/O usage. Of course it couldn't be any user as the only user for those machines was me and I wasn't doing anything on either system. That was quite a weird thing, but happened many years ago so my memory is quite hazy on the specifics of the issue too.... I do recall running top to see swap usage at a few tens of gigs which was quite funny, of course unmounting the drive dropped the swap back to whatever got allocated by SXCE default. > > Daniel T. Staal Regards, Kaya From rogerk at queernet.org Thu Jun 21 16:55:37 2012 From: rogerk at queernet.org (Roger B.A. Klorese) Date: Thu Jun 21 16:55:52 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> Message-ID: <4FE35208.40708@queernet.org> On 6/21/12 1:40 AM, Michel Talon wrote: > Second, FreeBSD is not a commercial company, and while this argument may have a merit > for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. You seem to be unaware of what percentage of the development and maintenance staff and the money to pay for them comes from those commercial users. If FreeBSD cannot maintain the critical mass to continue, it will not continue. From freebsd at edvax.de Thu Jun 21 16:55:41 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 21 16:55:54 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: <20120621185538.a9aa6e5b.freebsd@edvax.de> On Thu, 21 Jun 2012 13:24:26 +0200, Fred Morcos wrote: > On Wed, Jun 20, 2012 at 9:58 PM, Wojciech Puchar > wrote: > >> I'm quite new to FreeBSD too (RHEL/Fedora background), and am most > >> impressed with it so far. > > > > > > rather huge difference. If you use the "right" Linusi, you can gain lots of useful knowledge. Basics are important, and older versions of Linux can really teach them. Of course a "click'n'grunt" environment won't teach you much. > >> Secondly (and probably stating the obvious), the handbook > >> > >> > >> > >> is the place I always look first. > > > > and third - manuals. They are in sync with system and actually VERY useful. > > > > while i was still (long time ago) using linux most common manual was like > > > > "this manual is outdated. Use texinfo documentation". and texinfo docs was > > often outdated too. > > > > Today it is most probably "look at wikipedia" ;) > > > > Of course i means FreeBSD base system, ports are not part of FreeBSD and > > quality varies. In "modern applications", documentation is often left out ("Who ever reads that?!"), or it's scattered across web forums, user web pages and wikis. Some ports for FreeBSD have good manpages (e. g. "man mplayer", "man xmms" or even "man opera"), some don't (try to find manpages for KDE programs, also no "man firefox"). > I have been using GNU/Linux for quite a while and I am most > comfortable with Archlinux. That should have provided you with essential basic knowledge that you can apply in FreeBSD without problems. > The reason I like it is it's simplicity > from the ground up without wasting too much time on unimportant > details (unless you want to). You will find that aspect in FreeBSD. > Another strong point is that it provides > binary packages by default, user-building of packages if you want to, > and the same level of customization you can achieve with - say - > Gentoo Linux. FreeBSD seems to provide that. FreeBSD offers two methods: Source-based or precompiled. Both of them are build from the ports collection, a kind of means to control dealing with sources and automatically build from them. > I learned over the years that (re-)compilation of packages is not > something I want to do regularly, but something I would like to do > only when I need and want to (ie, to strip out or add a certain > compile-time feature from/to a package). A prominent example is mplayer / mencoder to deal with codecs. It's also typically needed to build OpenOffice with non-US language and "unusual" settings like no integration with KDE or Gnome (if you're not using them). > I also learned that the > performance gains of tuning compiler flags for a certain CPU are not > that drastic for a desktop/laptop/workstation machine workflow and > that this category of computing is mostly bound by IO speed > (especially with HDDs). It's only needed when you have to get things running on older hardware. Again, mplayer is a good example for where you intendedly would deal with compiling in such a constellation. > q) Is it possible to run a FreeBSD system without much building? In > other words, can I survive by depending on packages and only resorting > to ports when really needed? It is. You're basically using "pkg_add -r " to install the packages you want. The required dependencies will automatically be installed. > What set me off, and got me tired of dealing with Linux-based systems > is a set of patterns that have been repeating over for some years > now. Generally: > > 1. Too often, core system components break (especially with every > Linux kernel release). They don't in FreeBSD. Only tested and verified modifications will be committed to the non-experimental branches (the security branch of -RELEASE, and the -STABLE branch). If you're following the experimental development branch -HEAD, it _might_ happen that the system doesn't even compile, but updated 30 minutes after that "accident", it runs fine again. :-) > 1. Yesterday I spent 30 minutes until my webcam worked, dealing with > v4l, gstreamer and cheese. FreeBSD - unlike Linux! - has a differentiation between the OS (FreeBSD itself, the operating system) and 3rd party applications ("everything else", the ports collection). Even if you mess up all your ports, you _never_ will end up with a defective OS. So even in such a worst case, you can still access system means for diagnostics and repair. > 2. Sudden drastic changes that are deviating from simplicity. > 1. The sudden flood of daemons that are designed to do everything > for me, without giving me much say in the matter. My computer is > supposed to help me, not decide for me or replace me. The concept of FreeBSD includes to have several system-level deamons available, but only few of them are running by default. You have to enable them if you feel you need them. This is done in centralized (!) system configuration files. The most important one is /etc/rc.conf. Did I already mention the problem of documentation? On FreeBSD, you can always do "man rc.conf" to find out what this file is. The manpages include documentation for system binaries and services, configuration files, kernel interfaces, library calls and maintenance procedures. Your Linux background will have taught you how to deal with "apropos", "whatis" and "man", and on FreeBSD, they actually work! > 2. Those daemons are hard to get rid of and are tightly integrated > into higher-level components in the stack (ie, into the desktop > environment). As many software for FreeBSD is ported over from Linux, it might be neccessary to run some of those deamons, e. g. DBUS to enhance the functionality. But _you_ need to enable it, it won't do by itself, so _you_ stay in control. The case of being "Linux-centric" already shows some downsides when there are interfaces needed that FreeBSD doesn't have (because it has other interfaces, and had them for many years). A known example is Xfce where the unavailability of some Linux-specific component reduces its functionality. > 3. Those daemons are increasingly hard and obscure to configure > (ie, huge XML files, complex hierarchies, etc). Again, this is something you'll also sadly find on FreeBSD. I remember dealing with HAL - already deprecated in Linux. You needed to fiddle with XML in order to get your non-US keyboard working again. The standard means to do so would have been the X configuration file where _all_ X related settings are present without being tied to a specific desktop environment. Rebuilding X without HAL and creating xorg.conf the traditional way solves such problems. > 5. I think many of the developers of those components are trying to > reach a Mac-like experience? I am not against that in any way, but > it needs to be working well. Not sure. Bloat, as I've been told, is a natural means of modern application development. However, I don't believe that. The problem is that most software wants to be wide-spread, so it needs compatibility across many platforms, therefore lots of abstraction layers and libraries are used. This all adds up to a pile of... software... that requires increasing resources in order to get the simplest things done. > Those are dbus, hal, udev, udisks, upower, pulseaudio, systemd, > consolekit and policykit. Except u{dev/disks/power} and systemd, you'll find them on FreeBSD too. Luckily they're optional. > q) Where does the FreeBSD project stand on this matter? From what I > noticed is that the base system seems to adhere to the tranditional > flat text files for configuration and simple tools that do a good job, > leaving it up to the user to combine those small tools to create > larger, more complex ones (a UNIX inheritance). FreeBSD (the operating system) exactly follows this approach. Others (ports, at least some of them) do not. > q) Is a FreeBSD stable base system with "current" high-level > components possible? Yes, follow the -RELEASE branch and use freebsd-update (a binary updating tool for your OS installation). > Will it avoid the issues I experienced on > Linux-based systems? Possibly. > q) I would assume UFS with J+SU is "fast enough" for a laptop? I think so. For a laptop, you _might_ consider adding encryption. Just in case. You never know. > q) Does ZFS make sense on a laptop? Any advantages of using it over > USF with J+SU? I am not interested in any striping or mirroring on > the laptops, but the compression features is very attractive for the > HDDs in the first laptop. I would not recommend ZFS for this specific kind of use, as you can easily create striping and mirroring settings with gstripe and gmirror, using UFS. > q) The second laptop has an SSD, would UFS with/without J and > with/without SU or ZFS make more sense for it? There are several parameters that you can tweak (see "man tunefs"), I would suggest a single partition spanning the whole SSD, and journaling would not be contraproductive. > q) Can I live with a desktop environment (Gnome or KDE) and desktop > applications (Firefox, Libreoffice, etc) by relying only on packages? I think so. LibreOffice... I'm not sure about the language versions that are offered precompiled. Is your required language (unless it's English) present? If yes, no problem. > q) Does ntfs-3g from ports work reliably with external HDDs or USB > flash drives with read and write support? I would like to hear > personal experiences with that. I can't answer that, except forensic analysis and data recovery I'm not a MICROS~1 person. :-) > q) Does the NVIDIA binary driver work reliably? I would like to hear > personal experiences with that. I'm using it here (nVidia GeForce 7600 GS - G73), nvidia-driver-270.41.19 using xorg-7.5.1. No problems, except the GPU is broken and sometimes locks the system. :-) > I am also planning to setup a micro-server for home use (either a > ready-built one or by simply building a PC and using it as a server), > questions about that will come later. The main use of it would be > hosting my multimedia, streaming music and making backups of the > laptops on it (cron + rsync). Also, maybe some web/ftp and git > servers. You'll find all required parts to do that in ports. It doesn't sound much complicated. > I installed the base system into Virtualbox and everything works quite > well. Everything is so... clean, and tidy, and consistent, and > simple. Very well thought out. I may add that I'm happy to experience that every day since 4.0. :-) > I am also very impressed with the > amount of properly written man pages and with the handbook. I would > like to thank and congratulate all of the people who work on the > FreeBSD base system, a true masterpiece. You actually _do_ recognize that this voluminous and quality documentation is accessible for you even without Internet connection? In a worst case scenario, it's a real benefit. > q) Does the bsdinstall align partitions to device blocks by default > for optimal speed? If not, I have found that I can use gpart with -a > and -b which will require me to calculate the start and end offsets of > each partition manually. Is there a tool that can automatically do > that for me? I've not bsdinstall, so I can't comment on that. I prefer using a live media (CD or USB stick) and then use the command line tools according to the requirements (either fdisk, disklabel and newfs for the "MBR approach", or gpart and newfs for the "GPT approach"). > q) Is it possible to get native resolution on the console? I played > with vesa and vidcontrol but could never get what I wanted. Native > resolution would require KMS? As far as I know, KMS (kernel mode settings) is specific to Linux. FreeBSD has several VESA modes bigger than 80x25. But I have to admit that I don't see a problem in using this default mode during initialization time. Later on, xterms (also those containing SSH and screen sessions) can be configured any size under X. > q) Adding tmpmfs="YES" to /etc/rc.conf is analogous to a tmpfs /tmp on > Linux-based systems, correct? Any other directories that might make > sense to have as an mfs (ie, in /var)? Maybe subdirectories of the /var tree. Note that /var/db contains important databases for the system, and /var/log contains logs that you don't want to loose in case of a system crash. Things like /var/spool may be well in volatile memory. Note that the use of /var/tmp vs. /tmp is also debatable: While /tmp is really temporary, as it can be erased on system startup (see rc.conf option clear_tmp_enable) or when residing on a RAM disk, /var/tmp is often considered to be kept across reboots. > q) Is there a place where all sysctl variables are documented? It > occurred to me when I was trying to find the memory usage on my system > but `sysctl -a | grep mem' shows a whole bunch of stuff. See "man sysctl", you can use the -d option to see the description. Also there definitely is some source code where everything is stored. > q) How can I set proxy settings system-wide? Same for PACKAGESITE (for > the pkg_* tools), how can I set a mirror system-wide? /etc/profile? Depending on your shell, you can set it in /etc/csh.cshrc (for the C shell, which is FreeBSD's default dialog shell). > q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is there > a way to change that system-wide to be in human-readable format? What's not "human-readable" in bytes? I always thought 8k blocks where non-"human-readable"! :-) Aliases can do that. For example, you could use something like this: alias ls 'ls -FG -D "%Y-%m-%d %H:%M:%S"' alias ll 'ls -laFG -D "%Y-%m-%d %H:%M:%S"' See "man ls" and add options for dealing with sizes (display of SI units). Also you can "setenv BLOCKSIZE K" in your csh config file ~/.cshrc. > To assess my understanding, the system is split into kernel, base, > documentation, games, lib32 (on 64-bit systems) and ports. Those are sometimes called distributions (do not confuse with the Linux term). > There is > another split between base and ports where base includes everything > previously mentioned minus ports. Now, there are 3 "branches" of the > base system: RELEASE, STABLE and CURRENT. RELEASE means 9.0 and stays > that way until 10.0 is released. No. RELEASE means 9.0, 9.1, 9.2 and so on. This branch also considers the security updates ("patches"), often denoted as 9.0-p1, 9.0-p2 and so on. > STABLE means 9.0, 9.1, 9.2, > etc. No. STABLE is a continuous branch of approved development where the minor version number "disappears", e. g. 8-STABLE and 9-STABLE. Those branches have tested and verified development in them which is "newer" than -RELEASE, but might result in a future security patch. There are no patchlevels or version numbers per se. > CURRENT means "trunk" in SVN terms. CURRENT or HEAD is the "faster" continuous development branch. It contains stuff that might not be stable, e. g. experimental changes. > Is all that correct? Almost. :-) > Also, > when somewhere is mentioned `make world', this means to rebuild all > installed ports which doesn't include base, I assume? No. "make world" means to build and install all components of the operating system (but not the kernel). See /usr/src/Makefile, the comment header, where the most common "make targets" are explained. Basically: make world = make buildworld + make installworld make kernel = make buildkernel + make installkernel Also note that a specific order is important here. > q) The files in /etc/rc.d are all executable, from my understanding, > those files will get executed and it is their duty to check the > variable `_enable' for whether they should start or > not. Wouldn't it be more efficient to chmod -x or +x them to > disable/enable? I don't think so. Settings are centralized in a "control file", even if it just consists of "setting variables". So everything is in one place. > q) What is analogous to /etc/rc.local from Linux-based systems? It's /etc/rc.conf and maybe /etc/rc.conf.local. See "man rc.conf" as well as /etc/defaults/rc.conf for details. > q) Is there something analogous to the Linux magic sysrq key? I don't think so. FreeBSD isn't about magic, it's about power, the power to serve. =^_^= > I must say, the ports collection being built on makefiles was a > welcome enlightenment, it just, naturally, made sense. The *-recursive > make targets are a blessing, especially for configs. True. If you want to make the work with ports more easy, use a port management tool. For example portmaster (considered the best one), but there's also portupgrade and portmanager, as well as helpful tools in bsd-admin-scripts (also a port). > q) Is there a tool that can test a set of mirrors for connection time > and speed (for packages and ports)? Analogous to Archlinux's > rankmirrors? I'm not sure, but it can easily be implemented. :-) > q) Is it possible for the pkg_* tools (especially pkg_add -r) to > display progress? Maybe the -v option? :-) No, there is no real progess indicator, especially not an overall indicator (regarding dependency traversal), as far as I know. > q) I noticed in the ports collection that there were some outdated > packages (skype-2.2, gimp-2.6), should I report that and where? (A > PR?) _If_ they are in ports, they still work, so why get rid of them? Only ports that do not work anymore, aren't maintained or cannot be fetched anymore (no distfile mirrors) will be removed. There are also some versioning: "portname" is the current version, "portname" is the older version n which still works, and "portname-devel" is the development version with "bleeding edge" features. > q) Is it possible to have the ports system compile into an mfs (to > avoid disk access)? Yes, there is a variable to control it. See "man 7 ports" and maybe /etc/make.conf. I have to admit that I forgot it currently. $WORKDIR? $WRKPREFIX? > q) Is it possible to have the user asked to change their password the > first time they log in (using an OTP) in a simple way? I looked at > OPIE but it seems to be much more complex than what I need. I think this is possible. Maybe see "man passwd" and "man adduser" for this step. > Also, I would like to have a system where user home directories are > encrypted based-on and using the user's password. From what I could > find, gbde and geli don't really provide that without any > administrator intervention. Correct, they work on "system level", not directly on user level. > q) What should I be looking at to achieve the above? You can generally encrypt the /home partition (implying that this is a separate partition or whole disk), and using per-user userland tools to deal with (typically changing!) passwords. I'm leaving out the ZFS questions as those have been already very nicelyn answered, and my ZFS knowledge is already too old. It's still from Solaris. :-) > q) I would like to hear anyone's recommendation of a cheap, low-power > ready-made hardware for such a purpose which is supported by > FreeBSD. Everything that contains standard-compliant components will do. Dell servers are known to work very well. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From leeoliveshackelford at surewest.net Thu Jun 21 16:59:28 2012 From: leeoliveshackelford at surewest.net (leeoliveshackelford@surewest.net) Date: Thu Jun 21 16:59:59 2012 Subject: FreeBSD 8.2 Add second hard drive multi-boot Message-ID: <20120621095919.CLF58658@ms5.mc.surewest.net> Good morning, FreeBSD enthusiasts. On my Hewlett-Packard xw4400 workstation, I had one hard drive. I partitioned it with two slices, the first one for FreeBSD 8.2 with its native file system, and the second one for a future re-installation of Windows XP, to be formatted with NTFS file system. FreeBSD 8.2 was then installed. The Windows XP re-installation has not yet taken place. Recently, I installed a second hard drive on the machine that was already formatted with two slices, both NTFS. Already installed on the first of these slices is the Windows XP operating system with a special application program. Already installed on the second slice is data. It is my understanding that the FreeBSD loader is supposed to be able to load any operating system. Upon power-up, the FreeBSD loader presents the following screen: F1 Win F2 FreeBSD F5 Drive 1 F6 PXE If I depress F1, I receive the response "BOOTMGR is missing. Press Ctrl+Alt+Del to restart." If I depress F2, FreeBSD loads normally. If I depress F5, I receive the response "Missing operatin system." How can I get the FreeBSD loader to load the Windows XP operating system from the second hard drive? The G.P.T. disklabel is not used by either of these operating systems, so I do not believe that that is the problem. Although the FreeBSD operating system seems to see the second hard drive, it does not mount it upon startup. It does not appear in the fstab file. I attempted to mount it manually using the mount command, without success, just to see if any of the data files could be read. I ran fsidk -B on the zeroeth sector of the second hard drive, but that did not seem to help. I know that this type of issue comes up repeatedly in the mailing lists, some of which I have read, but I am flummoxed. Any and all suggestions would be appreciated. Your truly, Lee Shackelfo r! d From mamuskus at edatel.com.co Thu Jun 21 17:04:45 2012 From: mamuskus at edatel.com.co (Marco Antonio Muskus Muskus) Date: Thu Jun 21 17:04:54 2012 Subject: Is ZFS production ready? In-Reply-To: <9672338A-45DA-4680-977B-253CEF3201C8@gmail.com> References: <4FE2CE38.9000100@gmail.com> <9672338A-45DA-4680-977B-253CEF3201C8@gmail.com> Message-ID: <4FE34DEC.9070908@edatel.com.co> ZFS is superior to UFS. End of the history. There is no point in use old technology (UFS) when the new one can make the same as the older and better ? Regards, El 21/06/12 11:31, Matthias Gamsjager escribi?: On 21 jun. 2012, at 18:07, Wojciech Puchar wrote: stupid answer to stupid question. You never seen - but they do happens. In other topic you hammerd on fact and if someone ask you to deliver them its a stupid question. just a proof it is a waste of time to explain things (FOR FREE) for people like you. You are free to make dangerous setups. People are free to hire you and believe at things what you do. People are free to then pay consequences of the results at unexpected time, as well as 10 times oversized hardware for a need. At least this is still free :) True but this applies as much to you. You think you know it all and that is quite the probdlem with you. And "discussing" with you is a true waste with this attittute. Even its free. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- MARCO ANTONIO MUSKUS MUSKUS NOC - Aplicaciones ISP EDATEL S.A. E.S.P. Calle 41 # 52 - 28 Piso 2 Medell?n, Antioquia - Colombia Tel?fono: (574) 384 6507 Fax: (574) 3846500 www.edatel.net.co mamuskus@edatel.com.co ________________________________ Este mensaje y/o sus anexos son para uso exclusivo de su destinatario intencional y puede contener informaci?n legalmente protegida por ser confidencial. Si usted no es el destinatario intencional del mensaje por favor inf?rmenos de inmediato y elim?nelo, as? como sus anexos. Igualmente, le comunicamos que cualquier retenci?n, revisi?n no autorizada, distribuci?n, divulgaci?n, reenv?o, copia, impresi?n, reproducci?n, o uso indebido de este mensaje y/o sus anexos, est? estrictamente prohibida y sancionada legalmente. EDATEL S.A. no se hace responsable en ning?n caso por da?os derivados de la recepci?n del presente mensaje. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 17:08:17 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 17:08:23 2012 Subject: Why Clang In-Reply-To: <4FE35208.40708@queernet.org> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> Message-ID: >> Second, FreeBSD is not a commercial company, and while this argument may >> have a merit >> for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. > > You seem to be unaware of what percentage of the development and maintenance > staff and the money to pay for them comes from those commercial users. If > FreeBSD cannot maintain the critical mass to continue, it will not continue. but why it isn't clearly stated: "We put clang because sponsors wanted it." From fallofzero at gmail.com Thu Jun 21 17:10:05 2012 From: fallofzero at gmail.com (Arlen McIntyre) Date: Thu Jun 21 17:10:17 2012 Subject: NIC problem Message-ID: I have an Intel Wifi Link 1000 BGN NIC that I'm having trouble getting to work. I have FreeBSD 8.3 installed. I looked in the NOTES file under /usr/src/sys/conf for the driver and did not see it listed. It is PCI. I have tried to configure the settings via the sysinstall command post configuration. I read about Project Evil and other options. I wanted to see if someone could help me out... thanks From rogerk at queernet.org Thu Jun 21 17:12:10 2012 From: rogerk at queernet.org (Roger B.A. Klorese) Date: Thu Jun 21 17:12:16 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> <9672338A-45DA-4680-977B-253CEF3201C8@gmail.com> Message-ID: <4FE35110.3030404@queernet.org> On 6/21/12 9:47 AM, Wojciech Puchar wrote: >> >> True but this applies as much to you. You think you know it all and >> that is quite the probdlem with you. >> And "discussing" with you is a true waste with this attittute. Even >> its free. >> > so stop it. This mailing list isn't your blog. If you want to hear your own voice, go lock yourself in a room. We'll all be happier. From rogerk at queernet.org Thu Jun 21 17:12:55 2012 From: rogerk at queernet.org (Roger B.A. Klorese) Date: Thu Jun 21 17:13:01 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> Message-ID: <4FE35616.9080304@queernet.org> On 6/21/12 10:08 AM, Wojciech Puchar wrote: >>> Second, FreeBSD is not a commercial company, and while this argument >>> may have a merit >>> for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD >>> itself. >> >> You seem to be unaware of what percentage of the development and >> maintenance staff and the money to pay for them comes from those >> commercial users. If FreeBSD cannot maintain the critical mass to >> continue, it will not continue. > > but why it isn't clearly stated: > > "We put clang because sponsors wanted it." > Sponsors didn't want clang. Sponsors wanted not to be encumbered by a GPLv3 license. If there was a "shmoodlepoodle" compiler instead of "clang" that met this requirement instead and was at least as performant and stable, it would likely have been selected. If you don't like clang as an option, go away and come back when you've built a better compiler and offered it under an acceptable license. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 17:15:00 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 17:15:06 2012 Subject: New to FreeBSD - Some questions In-Reply-To: <20120621185538.a9aa6e5b.freebsd@edvax.de> References: <20120621185538.a9aa6e5b.freebsd@edvax.de> Message-ID: > the experimental development branch -HEAD, it _might_ happen that > the system doesn't even compile, but updated 30 minutes after > that "accident", it runs fine again. :-) > And finally unless doing tests or using private not-really-important computer, don't just install newest FreeBSD because it's out. I - and lot of others - still use 8.* for production while 9.* is out already for some time. Anyway i think that "bleeding edge" -HEAD release is still more stable than "stable" linux kernel. >> q) I would assume UFS with J+SU is "fast enough" for a laptop? > > I think so. For a laptop, you _might_ consider adding encryption. > Just in case. You never know. for a server - you MUST do this :) >> q) The second laptop has an SSD, would UFS with/without J and >> with/without SU or ZFS make more sense for it? > > There are several parameters that you can tweak (see "man tunefs"), > I would suggest a single partition spanning the whole SSD, and > journaling would not be contraproductive. s/would not/would/ i assume this as mistake. do not journal on SSD. it increases amount of writes, and fsck is quick anyway. do not forget of -t option with newfs (TRIM enable) From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 17:16:06 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 17:16:13 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE34DEC.9070908@edatel.com.co> References: <4FE2CE38.9000100@gmail.com> <9672338A-45DA-4680-977B-253CEF3201C8@gmail.com> <4FE34DEC.9070908@edatel.com.co> Message-ID: > ZFS is superior to UFS. End of the history. > > There is no point in use old technology (UFS) when the new one can make the > same as the older and better ? anyway there must be morons here like me that after observation conclude that older is far safer and better. But if you want "end of history" then fine. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 17:16:35 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 17:16:41 2012 Subject: Why Clang In-Reply-To: <4FE35616.9080304@queernet.org> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: >> >> "We put clang because sponsors wanted it." >> > > > Sponsors didn't want clang. Sponsors wanted not to be encumbered by a GPLv3 they are not. programs compiled by GPLv3 compiler are not encumbered. From rogerk at queernet.org Thu Jun 21 17:17:20 2012 From: rogerk at queernet.org (Roger B.A. Klorese) Date: Thu Jun 21 17:17:28 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: <4FE3571F.6040209@queernet.org> On 6/21/12 10:16 AM, Wojciech Puchar wrote: >>> >>> "We put clang because sponsors wanted it." >>> >> >> >> Sponsors didn't want clang. Sponsors wanted not to be encumbered by a >> GPLv3 > they are not. > programs compiled by GPLv3 compiler are not encumbered. > Programs that link to GPLv3 libraries are encumbered. From david.robison at fisglobal.com Thu Jun 21 17:18:15 2012 From: david.robison at fisglobal.com (Robison, Dave) Date: Thu Jun 21 17:18:23 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> Message-ID: <4FE35745.9060601@fisglobal.com> On 06/21/2012 10:08, Wojciech Puchar wrote: >> >> You seem to be unaware of what percentage of the development and >> maintenance staff and the money to pay for them comes from those >> commercial users. If FreeBSD cannot maintain the critical mass to >> continue, it will not continue. > > but why it isn't clearly stated: > > "We put clang because sponsors wanted it." > Because there's no reason to do that. It's an asinine suggestion. Clang is here to stay. Most of us are happy about that decision. GCC will still be in the ports tree for those of you who prefer to run it. Your questions have been answered repeatedly, ad nauseam, but apparently you don't like and won't accept the answers so you ask the questions again and again. You don't like Clang. You prefer GCC. We get it. -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From david.robison at fisglobal.com Thu Jun 21 17:22:28 2012 From: david.robison at fisglobal.com (Robison, Dave) Date: Thu Jun 21 17:22:37 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE2CE38.9000100@gmail.com> References: <4FE2CE38.9000100@gmail.com> Message-ID: <4FE35846.3080106@fisglobal.com> On 06/21/2012 00:33, Hooman Fazaeli wrote: > Dear community > > In the past, I built a 8TB ZFS log server on freebsd 7.4. > However, the system experienced instablility after long up times. > My main motive to use ZFS was UFS inability to support large > file systems. > > Now, I want to the same thing on 8.3 and wanted to know > your opinion on ZFS stability. Is there any success story using > ZFS in 24x7, large volume, heavy duty servers? Is there any > other option other than ZFS to build larger than 2TB file systems? > We use ZFS for critical data and are quite happy with it. I've been using it in production since 8.1-R and have yet to have a problem. Make sure you do your zpool scrubs regularly. I use a cron job. We are currently migrating our customer RAID arrays to ZFS to ameliorate the multi-hour FSCK situations. -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From jhs at berklix.com Thu Jun 21 17:25:20 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Thu Jun 21 17:25:39 2012 Subject: Is ZFS production ready? In-Reply-To: Your message "Thu, 21 Jun 2012 12:35:57 EDT." <88136b1c2b7ffcd86d9ff4180a39cabf@mail.magehandbook.com> Message-ID: <201206211725.q5LHOsLV003026@fire.js.berklix.net> > Agreed. Wojciech Puchar is in my 'probable troll' file at this point, Here too, http://berklix.com/~jhs/dots/.procmailrc.lists Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From feld at feld.me Thu Jun 21 17:29:02 2012 From: feld at feld.me (Mark Felder) Date: Thu Jun 21 17:29:09 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: On Thu, 21 Jun 2012 12:16:31 -0500, Wojciech Puchar wrote: > programs compiled by GPLv3 compiler are not encumbered. This has not been decided in court yet. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 17:29:41 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 17:29:49 2012 Subject: Why Clang In-Reply-To: <4FE3571F.6040209@queernet.org> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> <4FE3571F.6040209@queernet.org> Message-ID: >> they are not. >> programs compiled by GPLv3 compiler are not encumbered. >> > > Programs that link to GPLv3 libraries are encumbered. you mean libgcc_s.so.1 and libstdc++? scanned /bin and /usr/bin and few programs do link it - all are C++ written. None IMHO are needed in closed-source system really, anyway (i don't have clang installed now) what clang compiled C++ programs use as libstdc++ ? do clang provide it? cannot you just use this (or other) nonGPL library? From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 17:30:32 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 17:30:41 2012 Subject: Why Clang In-Reply-To: <4FE35745.9060601@fisglobal.com> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35745.9060601@fisglobal.com> Message-ID: > Because there's no reason to do that. It's an asinine suggestion. > > Clang is here to stay. Most of us are happy about that decision. GCC Because most that are not already stopped and ignored thing. and use GCC. Politics won. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 17:30:53 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 17:31:38 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: z> wrote: > >> programs compiled by GPLv3 compiler are not encumbered. > > This has not been decided in court yet. sources please! From erichfreebsdlist at ovitrap.com Thu Jun 21 17:31:15 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Thu Jun 21 17:31:40 2012 Subject: New to FreeBSD - Some questions In-Reply-To: <20120621185538.a9aa6e5b.freebsd@edvax.de> References: <20120621185538.a9aa6e5b.freebsd@edvax.de> Message-ID: <201206220031.03385.erichfreebsdlist@ovitrap.com> Hi, On Thursday 21 June 2012 23:55:38 Polytropon wrote: > On Thu, 21 Jun 2012 13:24:26 +0200, Fred Morcos wrote: > > On Wed, Jun 20, 2012 at 9:58 PM, Wojciech Puchar > > q) Is it possible to get native resolution on the console? I played > > with vesa and vidcontrol but could never get what I wanted. Native > > resolution would require KMS? > > As far as I know, KMS (kernel mode settings) is specific to Linux. past tense, please. > FreeBSD has several VESA modes bigger than 80x25. But I have to > admit that I don't see a problem in using this default mode during > initialization time. Later on, xterms (also those containing SSH > and screen sessions) can be configured any size under X. Not really. I never found out why PCBSD could use my 1366x768 screen under VESA but FreeBSD couldn't. The new KMS does it all. > Erich From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 17:32:45 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 17:32:51 2012 Subject: Is ZFS production ready? In-Reply-To: <201206211725.q5LHOsLV003026@fire.js.berklix.net> References: <201206211725.q5LHOsLV003026@fire.js.berklix.net> Message-ID: >> Agreed. Wojciech Puchar is in my 'probable troll' file at this point, > > Here too, http://berklix.com/~jhs/dots/.procmailrc.lists > very good. just block me, instead of performing aggresive replies and personal attacks. From feld at feld.me Thu Jun 21 17:33:42 2012 From: feld at feld.me (Mark Felder) Date: Thu Jun 21 17:33:49 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: On Thu, 21 Jun 2012 12:30:40 -0500, Wojciech Puchar wrote: > z> wrote: >> >>> programs compiled by GPLv3 compiler are not encumbered. >> >> This has not been decided in court yet. > > > sources please! Google "GPLv3 court case". There are no applicable results. Until a Judge decides what the license truly means everyone using it is at risk. As you've already been told it's not English it's Law From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 17:36:11 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 17:36:19 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: >> >> sources please! > > Google "GPLv3 court case". There are no applicable results. Until a Judge > decides what the license truly means everyone using it is at risk. true. But why anyone from FreeBSD fundation didn't just write official letter to GNU "Free" Software Foundation asking for just that case? Nothing to loose, lots to gain. From feld at feld.me Thu Jun 21 17:37:50 2012 From: feld at feld.me (Mark Felder) Date: Thu Jun 21 17:37:57 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: On Thu, 21 Jun 2012 12:36:03 -0500, Wojciech Puchar wrote: > > But why anyone from FreeBSD fundation didn't just write official letter > to GNU "Free" Software Foundation asking for just that case? There needs to be a lawsuit and lawyers and judges need to be involved. You can't just ask the FSF to "explain" themselves. From david.robison at fisglobal.com Thu Jun 21 17:40:59 2012 From: david.robison at fisglobal.com (Robison, Dave) Date: Thu Jun 21 17:41:06 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35745.9060601@fisglobal.com> Message-ID: <4FE35CA5.2030405@fisglobal.com> On 06/21/2012 10:30, Wojciech Puchar wrote: >> Because there's no reason to do that. It's an asinine suggestion. >> >> Clang is here to stay. Most of us are happy about that decision. GCC > > Because most that are not already stopped and ignored thing. and use GCC. > > Politics won. > Excellent. We have a winner. Now you can stop commenting. -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From rogerk at queernet.org Thu Jun 21 17:47:20 2012 From: rogerk at queernet.org (Roger B.A. Klorese) Date: Thu Jun 21 17:47:27 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: <4FE35E28.6000808@queernet.org> On 6/21/12 10:36 AM, Wojciech Puchar wrote: >>> >>> sources please! >> >> Google "GPLv3 court case". There are no applicable results. Until a >> Judge decides what the license truly means everyone using it is at risk. > > true. > > But why anyone from FreeBSD fundation didn't just write official > letter to GNU "Free" Software Foundation asking for just that case? Because what FSF says is irrelevant. What courts decide is all that counts. From legolas at legolasweb.nl Thu Jun 21 18:05:46 2012 From: legolas at legolasweb.nl (Stas Verberkt) Date: Thu Jun 21 18:05:53 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: Mark Felder schreef op 21-06-2012 19:28: > On Thu, 21 Jun 2012 12:16:31 -0500, Wojciech Puchar > wrote: > >> programs compiled by GPLv3 compiler are not encumbered. > > This has not been decided in court yet. > Additionally, the exceptions for using the GCC runtime library for non-GPL executables is limited to what hey call "eligible compilation processes", what rules out using proprietary GCC plugins or other combinations of core GCC functionality with non-GPL tooling and extensions. Please note that this is indeed not tested in court. Therefore, reality may turn out even more interesting. That's why a lawyer's answer should always be "it depends". :) From root1101 at gmail.com Thu Jun 21 18:08:34 2012 From: root1101 at gmail.com (=?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JvQsNC60YLQsNC90L7Qsg==?=) Date: Thu Jun 21 18:08:41 2012 Subject: Is ZFS production ready? In-Reply-To: References: <201206211725.q5LHOsLV003026@fire.js.berklix.net> Message-ID: <4FE36367.4080108@gmail.com> 21.06.2012 21:32, Wojciech Puchar ?????: >>> Agreed. Wojciech Puchar is in my 'probable troll' file at this point, >> >> Here too, http://berklix.com/~jhs/dots/.procmailrc.lists >> > very good. just block me, instead of performing aggresive replies and > personal attacks. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Only after you, my man, only after you. From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 18:21:22 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 18:21:30 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE36367.4080108@gmail.com> References: <201206211725.q5LHOsLV003026@fire.js.berklix.net> <4FE36367.4080108@gmail.com> Message-ID: >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > Only after you, my man, only after you. > not yours. i'm not homosexual From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 18:22:11 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 18:22:18 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: >> > Additionally, the exceptions for using the GCC runtime library for non-GPL > executables > is limited to what hey call "eligible compilation processes", what rules out > using > proprietary GCC plugins or other combinations of core GCC functionality with > non-GPL > tooling and extensions. > Please note that this is indeed not tested in court. Therefore, reality may > turn out > even more interesting. That's why a lawyer's answer should always be "it > depends". :) GNU GPL is even worse that i ever dreamed (in worst horror). From joe.gain at gmail.com Thu Jun 21 18:25:31 2012 From: joe.gain at gmail.com (Joe Gain) Date: Thu Jun 21 18:25:38 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: On Thu, Jun 21, 2012 at 7:45 PM, Stas Verberkt wrote: > Mark Felder schreef op 21-06-2012 19:28: > >> On Thu, 21 Jun 2012 12:16:31 -0500, Wojciech Puchar >> wrote: >> >>> programs compiled by GPLv3 compiler are not encumbered. >> >> >> This has not been decided in court yet. >> > Additionally, the exceptions for using the GCC runtime library for non-GPL > executables > is limited to what hey call "eligible compilation processes", what rules out > using > proprietary GCC plugins or other combinations of core GCC functionality with > non-GPL > tooling and extensions. > Please note that this is indeed not tested in court. Therefore, reality may > turn out > even more interesting. That's why a lawyer's answer should always be "it > depends". :) > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" So, has anyone compared the performance of clang vs gcc compiled in daily use-- for example as a server? Anyone can cherry pick a couple of binaries, but how important is this for the performance of FreeBSD world? -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) From wojtek at wojtek.tensor.gdynia.pl Thu Jun 21 18:41:42 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 21 18:41:49 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: > > So, has anyone compared the performance of clang vs gcc compiled in daily use-- > for example as a server? Anyone can cherry pick a couple of binaries, but how > important is this for the performance of FreeBSD world? not big, as with almost any compiler. Most workload are dominated by cache misses and jump misprediction. That's why my gzip comparision resulted in minimally worse clang-compiled one (1% or less), while f2c converted fortran code for scientific calculations showed large differences. i expect large difference in eg. cjpeg, lame etc and rather small in for eg. perl From gobble.wa at gmail.com Thu Jun 21 18:55:36 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Thu Jun 21 18:55:43 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: On Jun 21, 2012 11:23 AM, "Wojciech Puchar" wrote: >>> >>> >> Additionally, the exceptions for using the GCC runtime library for non-GPL executables >> is limited to what hey call "eligible compilation processes", what rules out using >> proprietary GCC plugins or other combinations of core GCC functionality with non-GPL >> tooling and extensions. >> Please note that this is indeed not tested in court. Therefore, reality may turn out >> even more interesting. That's why a lawyer's answer should always be "it depends". :) > > > GNU GPL is even worse that i ever dreamed (in worst horror). > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" I have seen a few instances which are "risky" IMHO... or at least interesting to ponder.. one is a claim that GPLv3 enables the vendor to "require" the use of their trademark logo (flowplayer)... which opens up other legal issues i think, and another, i recently purchased a router, in the package was a small piece of paper stating the device includes GPL software, and if i want the source i need to write (snail mail) their legal department and explain why i want it. (d-link). but i agree the issues have not been legally decided AFAIK. anyway, i think a BSD licensed FreeBSD operating system works for me. Waitman Gobble San Jose California USA From rogerk at queernet.org Thu Jun 21 19:04:42 2012 From: rogerk at queernet.org (Roger B.A. Klorese) Date: Thu Jun 21 19:04:49 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: <4FE37048.406@queernet.org> On 6/21/12 10:30 AM, Wojciech Puchar wrote: > z> wrote: >> >>> programs compiled by GPLv3 compiler are not encumbered. >> >> This has not been decided in court yet. > > > sources please! Logical fallacy -- looking for a non-existence proof. From rogerk at queernet.org Thu Jun 21 19:05:31 2012 From: rogerk at queernet.org (Roger B.A. Klorese) Date: Thu Jun 21 19:05:38 2012 Subject: Is ZFS production ready? In-Reply-To: References: <201206211725.q5LHOsLV003026@fire.js.berklix.net> <4FE36367.4080108@gmail.com> Message-ID: <4FE3707B.4010109@queernet.org> On 6/21/12 11:21 AM, Wojciech Puchar wrote: >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >> Only after you, my man, only after you. >> > not yours. i'm not homosexual For which the gay community is grateful. From cyberleo at cyberleo.net Thu Jun 21 19:12:11 2012 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Thu Jun 21 19:12:18 2012 Subject: A bash scripting question In-Reply-To: References: Message-ID: <4FE37203.3020404@cyberleo.net> On 06/21/2012 08:40 AM, Odhiambo Washington wrote: > How Can I simplify/perfect the following script, so that I read _ALL_ the > lines in the file and act on the content as shown below, so that I do not > have to specifiy an action per line? > > This below is doing exactly what i need BUT reading one line at a time > untill the 10th line, if i want more i add manually... > This might help some1 someday! But if there is a way to perfect it please > do so..... > > #!/usr/local/bin/bash > > smsfile=email_to_sms > `grep Subject /var/spool/mail/sms >>$smsfile` > if [[ -s $smsfile ]] ; then > cat /dev/null > /var/spool/mail/sms > sed -i 's/Subject: //g' $smsfile > echo `sed -n '1p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==1 > {print $1}' $smsfile` > echo `sed -n '2p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==2 > {print $1}' $smsfile` > echo `sed -n '3p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==3 > {print $1}' $smsfile` > echo `sed -n '4p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==4 > {print $1}' $smsfile` > echo `sed -n '5p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==5 > {print $1}' $smsfile` > echo `sed -n '6p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==6 > {print $1}' $smsfile` > echo `sed -n '7p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==7 > {print $1}' $smsfile` > echo `sed -n '8p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==8 > {print $1}' $smsfile` > echo `sed -n '9p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==9 > {print $1}' $smsfile` > echo `sed -n '10p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==10 > {print $1}' $smsfile` > else > echo "***********Sorry the SMS FILE "$smsfile" is empty.************" > fi > gammu-smsd start > cat email_to_sms >> email_to_sms2 > cat /dev/null > email_to_sms Off the top of my head: ----8<---- #!/bin/sh -e sed -e '/^Subject: /!d; s/^Subject: //' /var/spool/mail/sms > "${smsfile}" :>/var/spool/mail/sms xargs -L1 /usr/bin/gammu --sendsms TEXT < "${smsfile}" mv -f "${smsfile}" "${smsfile}.bak" ----8<---- No loops necessary. By the way, what's gammu, and why is it in /usr/bin ? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From freebsd at edvax.de Thu Jun 21 19:26:30 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 21 19:26:37 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: <20120621185538.a9aa6e5b.freebsd@edvax.de> Message-ID: <20120621212628.6020680e.freebsd@edvax.de> On Thu, 21 Jun 2012 19:14:54 +0200 (CEST), Wojciech Puchar wrote: > > the experimental development branch -HEAD, it _might_ happen that > > the system doesn't even compile, but updated 30 minutes after > > that "accident", it runs fine again. :-) > > > And finally unless doing tests or using private not-really-important > computer, don't just install newest FreeBSD because it's out. > > I - and lot of others - still use 8.* for production while 9.* is out > already for some time. For home desktops, usually -STABLE is a good solution. Server maintainers tend to use -RELEASE-pX (which also makes binary updates easier). > >> q) I would assume UFS with J+SU is "fast enough" for a laptop? > > > > I think so. For a laptop, you _might_ consider adding encryption. > > Just in case. You never know. > > for a server - you MUST do this :) It's worth mentioning that it's not good practice to have a keyfile-based decryption which is "unlocked" by a USB stick permanently sticking in the server. Security is nearly zero in such a constellation. Passphrase-based decryption is good as long as you have physical access to the server and only you (and maybe those you trust) have a secure (!!!) password which needs to be entered manually at system startup to "unlock" the /home drive or partition. > >> q) The second laptop has an SSD, would UFS with/without J and > >> with/without SU or ZFS make more sense for it? > > > > There are several parameters that you can tweak (see "man tunefs"), > > I would suggest a single partition spanning the whole SSD, and > > journaling would not be contraproductive. > > s/would not/would/ > i assume this as mistake. do not journal on SSD. it increases amount of > writes, and fsck is quick anyway. Good you spotted it - of course there is no need for journaling in this case (too much writes, no real benefit). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Thu Jun 21 19:31:50 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 21 19:31:57 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: <20120621213148.64bc9afe.freebsd@edvax.de> On Thu, 21 Jun 2012 12:33:40 -0500, Mark Felder wrote: > Google "GPLv3 court case". There are no applicable results. Until a Judge > decides what the license truly means everyone using it is at risk. > > As you've already been told it's not English it's Law I assume that there's not just one case neccessary (to be carried out to the end): What about countries with different jurisdiction? For example, Germany doesn't have "precedence law" as it is very famous in the USA. Given basically the same situations, two judges can decide differently. Cases only have effect on the parties who fight there - except very few cases where decisions "get promoted to level of law", it doesn't mean anything to others. And that's just within Germany. How about different countries? Does a case (e. g. M. S. Bob vs. R. M. Stallman) have any effect outside the USA? I am not a lawyer, but because I have some legal knowledge I know for sure that "what's written in the law" and "how law is practiced in reality" does very much differ, in unpredictable and volatile. So I don't make any claims here. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jhs at berklix.com Thu Jun 21 19:40:44 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Thu Jun 21 19:40:56 2012 Subject: A bash scripting question In-Reply-To: Your message "Thu, 21 Jun 2012 14:12:03 CDT." <4FE37203.3020404@cyberleo.net> Message-ID: <201206211940.q5LJe9fI003726@fire.js.berklix.net> CyberLeo Kitsana wrote Odhiambo Washington: > By the way, what's gammu, /usr/ports/comms/gammu presumably ( for mobile phone connection ) > and why is it in /usr/bin ? Pass. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From perrin at apotheon.com Thu Jun 21 19:45:11 2012 From: perrin at apotheon.com (Chad Perrin) Date: Thu Jun 21 19:45:20 2012 Subject: Why Clang In-Reply-To: References: <4FE1BD0E.5060300@pukruppa.de> <20120620224030.1a0dc3b4.freebsd@edvax.de> <20120621001809.da9ce415.freebsd@edvax.de> Message-ID: <20120621180200.GA575@hemlock.hydra> On Thu, Jun 21, 2012 at 12:25:22AM +0200, Wojciech Puchar wrote: > >You're being paid to write a program for a customer. You > > i don't talk that case, but if i am hired to write some part of > program as an employer in software company. There are basically four circumstances that might apply here, as far as I'm aware: 1. Your work is considered "work for hire", where you are just a cog in the corporate machine and the corporation is the "creator" or "author" of record (and thus the default copyright holder). This means you would have to get permission ("license") to use the work outside of your function as an employee. 2. Your work can be used by the employer under exclusive license, which means you cannot use the work yourself except under strictly limited conditions specified in law. 3. Your work can be transfered to the employer, so that though you are the default copyright holder an agreement (possibly an employment agreement, but generally requiring a distinct agreement separate from the employment agreement itself for this case) establishes the legal transfer of copyright from you to the employer. 4. Your work is provided to the employer under a non-exclusive license, which means you can then license it to others as well. By far the most common case for a standard employment relationship is case 1. Pathological edge-cases may adjust these circumstances. My assumptions in writing this are based on my experience with US copyright law. I am not a lawyer, and this does not constitute legal advice, but only an explanation of my understanding and perspective with regard to copyright law. > > > >BUT - as everyone is free to obtain, modify and re-issue GPL > >source code, I'm not sure such a consensus could be reached. > > by creating a BSD licenced fork - constructed from parts written by > all developers that - as you said - have personal right to their > code. This is pretty much exactly what happened with the Pentadactyl extension for Firefox. The people who had been doing the majority of development work for the Vimperator extension for a while, but were not the project "owner", took the code they had created and rewrote (from scratch) any additional code needed to make it work, creating the Pentadactyl project. The original Vimperator project used a copyleft license (the GPL), and the new Pentadactyl project used a copyfree license (I don't recall which, probably either the Simplified BSD License or the MIT/X11 License). -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From mamuskus at edatel.com.co Thu Jun 21 19:49:17 2012 From: mamuskus at edatel.com.co (Marco Antonio Muskus Muskus) Date: Thu Jun 21 19:49:25 2012 Subject: Is ZFS production ready? In-Reply-To: References: <201206211725.q5LHOsLV003026@fire.js.berklix.net> Message-ID: <4FE37AB5.7000302@edatel.com.co> ZFS is technologically more advance than UFS/UFS2, so, if someone ask to me which filesystem should be use, my answer is ZFS. You can do on UFS the same on ZFS, but ZFS extend the functionality beyond "filesystem", that is a plus for IT today. I'm using ZFS for a public HTTP/FTP mirror pushing many TB/Month and a backup system. Regards, El 21/06/12 12:32, Wojciech Puchar escribi?: Agreed. Wojciech Puchar is in my 'probable troll' file at this point, Here too, http://berklix.com/~jhs/dots/.procmailrc.lists very good. just block me, instead of performing aggresive replies and personal attacks. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- MARCO ANTONIO MUSKUS MUSKUS NOC - Aplicaciones ISP EDATEL S.A. E.S.P. Calle 41 # 52 - 28 Piso 2 Medell?n, Antioquia - Colombia Tel?fono: (574) 384 6507 Fax: (574) 3846500 www.edatel.net.co mamuskus@edatel.com.co ________________________________ Este mensaje y/o sus anexos son para uso exclusivo de su destinatario intencional y puede contener informaci?n legalmente protegida por ser confidencial. Si usted no es el destinatario intencional del mensaje por favor inf?rmenos de inmediato y elim?nelo, as? como sus anexos. Igualmente, le comunicamos que cualquier retenci?n, revisi?n no autorizada, distribuci?n, divulgaci?n, reenv?o, copia, impresi?n, reproducci?n, o uso indebido de este mensaje y/o sus anexos, est? estrictamente prohibida y sancionada legalmente. EDATEL S.A. no se hace responsable en ning?n caso por da?os derivados de la recepci?n del presente mensaje. From dteske at freebsd.org Thu Jun 21 19:56:24 2012 From: dteske at freebsd.org (dteske@freebsd.org) Date: Thu Jun 21 19:56:32 2012 Subject: A bash scripting question In-Reply-To: <1521E29F-C0BC-46A8-A428-FC7183C6E689@fisglobal.com> References: <1521E29F-C0BC-46A8-A428-FC7183C6E 689@fisglobal.com> Message-ID: <136a01cd4fe7$f6053af0$e20fb0d0$@freebsd.org> > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Devin Teske > Sent: Thursday, June 21, 2012 9:24 AM > To: Odhiambo Washington > Cc: questions > Subject: Re: A bash scripting question > > > On Jun 21, 2012, at 6:40 AM, Odhiambo Washington wrote: > > > How Can I simplify/perfect the following script, so that I read _ALL_ the > > lines in the file and act on the content as shown below, so that I do not > > have to specifiy an action per line? > > > > This below is doing exactly what i need BUT reading one line at a time > > untill the 10th line, if i want more i add manually... > > This might help some1 someday! But if there is a way to perfect it please > > do so..... > > > > #!/usr/local/bin/bash > > > > smsfile=email_to_sms > > `grep Subject /var/spool/mail/sms >>$smsfile` > > if [[ -s $smsfile ]] ; then > > cat /dev/null > /var/spool/mail/sms > > sed -i 's/Subject: //g' $smsfile > > echo `sed -n '1p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==1 > > {print $1}' $smsfile` > > echo `sed -n '2p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==2 > > {print $1}' $smsfile` > > echo `sed -n '3p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==3 > > {print $1}' $smsfile` > > echo `sed -n '4p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==4 > > {print $1}' $smsfile` > > echo `sed -n '5p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==5 > > {print $1}' $smsfile` > > echo `sed -n '6p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==6 > > {print $1}' $smsfile` > > echo `sed -n '7p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==7 > > {print $1}' $smsfile` > > echo `sed -n '8p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==8 > > {print $1}' $smsfile` > > echo `sed -n '9p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==9 > > {print $1}' $smsfile` > > echo `sed -n '10p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==10 > > {print $1}' $smsfile` > > else > > echo "***********Sorry the SMS FILE "$smsfile" is empty.************" > > fi > > gammu-smsd start > > cat email_to_sms >> email_to_sms2 > > cat /dev/null > email_to_sms > > > > Try the following. > > #!/bin/sh > smsfile=email_to_sms > spoolfile=/var/spol/mail/sms > grep Subject "$spoolfile" >> "$smsfile" > if [ -s "$smsfile" ]; then > : > "$spoolfile" > sed -e 's/Subject: //g' "$smsfile" | awk ' > { > if (NR > 10) exit > print | "/usr/bin/gammu --sendsms TEXT " $1 > }' > else > echo "***********Sorry the SMS FILE "$smsfile" is > empty.************" > fi > gammu-smsd start > cat "$smsfile" >> email_to_sms2 > : > "$smsfile" > I can beat my original response (above), while retaining original functionality... #!/bin/sh spoolfile=/var/spool/mail/sms awk -v pat="^Subject: " ' $0 ~ pat { sub(pat,"") print | "/usr/bin/gammu --sendsms TEXT " $1 }' "$spoolfile" Or, as a shell "One-Liner" (compatible with any shell and any awk)... awk -v pat="^Subject: " '$0~pat{sub(pat,"");print|"/usr/bin/gammu --sendsms TEXT "$1}' "$spoolfile" -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From dteske at freebsd.org Thu Jun 21 20:19:41 2012 From: dteske at freebsd.org (dteske@freebsd.org) Date: Thu Jun 21 20:19:48 2012 Subject: A bash scripting question In-Reply-To: <136a01cd4fe7$f6053af0$e20fb0d0$@freebsd.org> References: <1521E29F-C0BC-46A8-A428-FC7183C6E 689@fisglobal.com> <136a01cd4fe7$f6053af0$e20fb0d0$@freebsd.org> Message-ID: <19ee01cd4feb$31896850$949c38f0$@freebsd.org> > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of dteske@freebsd.org > Sent: Thursday, June 21, 2012 12:57 PM > To: 'Odhiambo Washington' > Cc: 'questions' > Subject: RE: A bash scripting question > > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > > questions@freebsd.org] On Behalf Of Devin Teske > > Sent: Thursday, June 21, 2012 9:24 AM > > To: Odhiambo Washington > > Cc: questions > > Subject: Re: A bash scripting question > > > > > > On Jun 21, 2012, at 6:40 AM, Odhiambo Washington wrote: > > > > > How Can I simplify/perfect the following script, so that I read _ALL_ the > > > lines in the file and act on the content as shown below, so that I do not > > > have to specifiy an action per line? > > > > > > This below is doing exactly what i need BUT reading one line at a time > > > untill the 10th line, if i want more i add manually... > > > This might help some1 someday! But if there is a way to perfect it please > > > do so..... > > > > > > #!/usr/local/bin/bash > > > > > > smsfile=email_to_sms > > > `grep Subject /var/spool/mail/sms >>$smsfile` > > > if [[ -s $smsfile ]] ; then > > > cat /dev/null > /var/spool/mail/sms > > > sed -i 's/Subject: //g' $smsfile > > > echo `sed -n '1p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==1 > > > {print $1}' $smsfile` > > > echo `sed -n '2p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==2 > > > {print $1}' $smsfile` > > > echo `sed -n '3p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==3 > > > {print $1}' $smsfile` > > > echo `sed -n '4p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==4 > > > {print $1}' $smsfile` > > > echo `sed -n '5p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==5 > > > {print $1}' $smsfile` > > > echo `sed -n '6p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==6 > > > {print $1}' $smsfile` > > > echo `sed -n '7p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==7 > > > {print $1}' $smsfile` > > > echo `sed -n '8p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==8 > > > {print $1}' $smsfile` > > > echo `sed -n '9p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==9 > > > {print $1}' $smsfile` > > > echo `sed -n '10p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==10 > > > {print $1}' $smsfile` > > > else > > > echo "***********Sorry the SMS FILE "$smsfile" is empty.************" > > > fi > > > gammu-smsd start > > > cat email_to_sms >> email_to_sms2 > > > cat /dev/null > email_to_sms > > > > > > > Try the following. > > > > #!/bin/sh > > smsfile=email_to_sms > > spoolfile=/var/spol/mail/sms > > grep Subject "$spoolfile" >> "$smsfile" > > if [ -s "$smsfile" ]; then > > : > "$spoolfile" > > sed -e 's/Subject: //g' "$smsfile" | awk ' > > { > > if (NR > 10) exit > > print | "/usr/bin/gammu --sendsms TEXT " $1 > > }' > > else > > echo "***********Sorry the SMS FILE "$smsfile" is > > empty.************" > > fi > > gammu-smsd start > > cat "$smsfile" >> email_to_sms2 > > : > "$smsfile" > > > > I can beat my original response (above), while retaining original > functionality... > > #!/bin/sh > spoolfile=/var/spool/mail/sms > awk -v pat="^Subject: " ' > $0 ~ pat { > sub(pat,"") > print | "/usr/bin/gammu --sendsms TEXT " $1 > }' "$spoolfile" > Actually, some functionality was lost in the above translation, let me add the missing functionality back-in... #!/bin/sh spoolfile=/var/spool/mail/sms awk -v pat="^Subject: " ' BEGIN { found = 0 } $0 ~ pat { found++ sub(pat, "") print | "/usr/bin/gammu --sendsms TEXT " $1 } END { if ( ! found ) printf "%sSorry the SMS FILE \"%s\" is empty.%s\n", "***********", FILENAME, "***********" exit ! found }' "$spoolfile" && : > "$spoolfile" > Or, as a shell "One-Liner" (compatible with any shell and any awk)... The above doesn't translate so-well into a one-liner (unless you can stomach really long lines >80 chars), but here it is... awk -v pat="^Subject: " 'BEGIN{found=0}$0~pat{found++;sub(pat, "");print|"/usr/bin/gammu --sendsms TEXT "$1}END{if(!found)printf "%sSorry the SMS FILE \"%s\" is empty.%s\n","***********",FILENAME,"***********";exit !found}' /var/spool/mail/sms && :> /var/spool/mail/sms -- Devin P.S. I think the above is the best you can do. _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From jerrymc at msu.edu Thu Jun 21 20:53:45 2012 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Jun 21 20:53:53 2012 Subject: FreeBSD 8.2 Add second hard drive multi-boot In-Reply-To: <20120621095919.CLF58658@ms5.mc.surewest.net> References: <20120621095919.CLF58658@ms5.mc.surewest.net> Message-ID: <20120621205323.GA7445@jerrymc.net> On Thu, Jun 21, 2012 at 09:59:19AM -0700, leeoliveshackelford@surewest.net wrote: You need to put the FreeBSD boot manager on both disks. Use bootcfg. ////jerry > Good morning, FreeBSD enthusiasts. On my Hewlett-Packard xw4400 workstation, I had one hard drive. I partitioned it with two slices, the first one for FreeBSD 8.2 with its native file system, and the second one for a future re-installation of Windows XP, to be formatted with NTFS file system. FreeBSD 8.2 was then installed. The Windows XP re-installation has not yet taken place. Recently, I installed a second hard drive on the machine that was already formatted with two slices, both NTFS. Already installed on the first of these slices is the Windows XP operating system with a special application program. Already installed on the second slice is data. It is my understanding that the FreeBSD loader is supposed to be able to load any operating system. Upon power-up, the FreeBSD loader presents the following screen: > > F1 Win > F2 FreeBSD > F5 Drive 1 > F6 PXE > > If I depress F1, I receive the response "BOOTMGR is missing. Press Ctrl+Alt+Del to restart." If I depress F2, FreeBSD loads normally. If I depress F5, I receive the response "Missing operatin system." How can I get the FreeBSD loader to load the Windows XP operating system from the second hard drive? The G.P.T. disklabel is not used by either of these operating systems, so I do not believe that that is the problem. Although the FreeBSD operating system seems to see the second hard drive, it does not mount it upon startup. It does not appear in the fstab file. I attempted to mount it manually using the mount command, without success, just to see if any of the data files could be read. I ran fsidk -B on the zeroeth sector of the second hard drive, but that did not seem to help. I know that this type of issue comes up repeatedly in the mailing lists, some of which I have read, but I am flummoxed. Any and all suggestions would be appreciated. Your truly, Lee Shackelfo > r! > d > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From developerunix at gmail.com Thu Jun 21 20:59:47 2012 From: developerunix at gmail.com (UNIX developer @ Google.com) Date: Thu Jun 21 21:00:28 2012 Subject: Problem with routing in VmWare VMS Message-ID: <1842148286.20120621235936@gmail.com> Hi! I have problem with routing on FreeBSD. I have ESXi 5 host. In there is 5 VMs and one of them is a BSD. I need create router on BSD. I try to setting up it with this manual: http://www.freebsd.org/doc/handbook/network-routing.html but problem is still the same... I cant ping external network from local network. # ping -S 192.168.2.1 192.168.1.4 ... no replays ... many packets sent and 100% loss. Ok ^C. My configs: /ets/sysctl.conf net.inet.ip.forwarding=1 /etc/rc.conf ifconfig_em0=" inet 192.168.1.10 netmask 255.255.255.0" ifconfig_em1=" inet 192.168.2.1 netmask 255.255.255.0" defaultrouter="192.168.1.1" gateway_enable="YES" static_routes="clnet" route_clnet="-net 192.168.2.0/24 192.168.1.10" after booting in netstat is: # netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 2 em0 127.0.0.1 link#4 UH 0 0 lo0 192.168.1.0/24 link#1 U 0 120 em0 192.168.1.10 link#1 UHS 0 0 lo0 192.168.2.0/24 link#2 U 0 0 em1 192.168.2.1 link#2 UHS 0 0 lo0 after /etc/rc.d/routing restart, I see: # netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 2 em0 127.0.0.1 link#4 UH 0 0 lo0 192.168.1.0/24 link#1 U 0 120 em0 192.168.1.10 link#1 UHS 0 0 lo0 192.168.2.0/24 192.168.1.10 U 0 0 em1 192.168.2.1 link#2 UHS 0 0 lo0 What I need to do for other VMs from routed network cat get the external network? Please help me solve this problem. If need more information, please write for me! Thanks! From marketing at Rocketprintsoftware.com Thu Jun 21 21:13:00 2012 From: marketing at Rocketprintsoftware.com (Rocketprint Software) Date: Thu Jun 21 21:13:07 2012 Subject: Rocketprint Software - Web to Print Message-ID: <102.387278.qmail@gateway6.inboxgateway.com> [visits.php?coid=387278&cid=102] [rps_header_logo.png] A Web to Print solution that WORKS! _________________________________________________________________ There are only 2 objectives you have with a Web to Print system: 1. To have an online presence for anyone who stumbles across your website. 2. To better serve your exisitng customers. Rocketprint will allow you to do both, easily and economically! The Competition Wants your Customers! Protect your turf with Branded Customer Portals. [1]>> Rocketprint Software << Offer your customers a branded storefront, giving them secure private access to all the print items they order on a regular basis. Along with their specific print items, you can manage Inventory Items, Designate Order Approval for Print Buyers, Assign Specific Products for Certain Customers and set up Unlimited Variable Data Templates using [2]DataMerge Pro. [3]Click Here to view a sample of a branded Customer Portal. _________________________________________________________________ [4][webinar_button.png] [5][conferencecall_button.png] [6][blogger_small.png] [7][Facebook_small.png] [8][Twitter_small.png] [9][Linkedin_small.png] [10][YouTube_small.png] [11]Click here to forward this message to a Friend. If you do not want to receive future email communication from us, please use the link: [12]unsubscribe. Rocketprint Software, LLC, 2007 Yanceyville Street, Greensboro, NC 27405 References 1. http://gateway6.inboxgateway.com/clicks.php?coid=387278&cid=102&url=341 2. http://gateway6.inboxgateway.com/clicks.php?coid=387278&cid=102&url=342 3. http://gateway6.inboxgateway.com/clicks.php?coid=387278&cid=102&url=343 4. http://gateway6.inboxgateway.com/clicks.php?coid=387278&cid=102&url=344 5. http://gateway6.inboxgateway.com/clicks.php?coid=387278&cid=102&url=345 6. http://gateway6.inboxgateway.com/clicks.php?coid=387278&cid=102&url=346 7. http://gateway6.inboxgateway.com/clicks.php?coid=387278&cid=102&url=347 8. http://gateway6.inboxgateway.com/clicks.php?coid=387278&cid=102&url=348 9. http://gateway6.inboxgateway.com/clicks.php?coid=387278&cid=102&url=349 10. http://gateway6.inboxgateway.com/clicks.php?coid=387278&cid=102&url=350 11. http://gateway6.inboxgateway.com/forward.php?coid=387278&cid=102 12. http://gateway6.inboxgateway.com/unsubscribe.php?coid=387278&cid=102 From feld at feld.me Thu Jun 21 21:56:57 2012 From: feld at feld.me (Mark Felder) Date: Thu Jun 21 21:57:04 2012 Subject: Problem with routing in VmWare VMS In-Reply-To: <1842148286.20120621235936@gmail.com> References: <1842148286.20120621235936@gmail.com> Message-ID: On Thu, 21 Jun 2012 15:59:36 -0500, UNIX developer @ Google.com wrote: > /etc/rc.conf > ifconfig_em0=" inet 192.168.1.10 netmask 255.255.255.0" > ifconfig_em1=" inet 192.168.2.1 netmask 255.255.255.0" > defaultrouter="192.168.1.1" > gateway_enable="YES" > static_routes="clnet" > route_clnet="-net 192.168.2.0/24 192.168.1.10" You simply CANNOT do this. Traffic for 192.168.2.0/24 is bound to em1 and cannot be changed. You setup a static route that basically says "to find 192.168.2.0/24, don't use em1 but instead ask 192.168.1.10 how to find it"? This makes no sense at all. From freebsd at edvax.de Thu Jun 21 22:07:32 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 21 22:07:38 2012 Subject: FreeBSD 8.2 Add second hard drive multi-boot In-Reply-To: <20120621095919.CLF58658@ms5.mc.surewest.net> References: <20120621095919.CLF58658@ms5.mc.surewest.net> Message-ID: <20120622000728.6b3c16b9.freebsd@edvax.de> On Thu, 21 Jun 2012 09:59:19 -0700 (PDT), leeoliveshackelford@surewest.net wrote: > Although the FreeBSD operating system seems to see the second > hard drive, it does not mount it upon startup. FreeBSD won't mount anything until explicitely told so. Check the output of dmesg (e. g. "dmesg | grep ^ad" or "dmesg | grep ^da") for the drive designation and issue the command yourself. If everything works, you can add an entry to /etc/fstab to make it mount on startup, e. g. # device target type options d p # -------- ---------- ---- --------- - - /dev/ad1s1 /xp/system ntfs ro,noauto 0 0 /dev/ad1s2 /xp/data ntfs ro,noauto 0 0 It might be worth applying other options like -M (mask) to have the missing attributes and "misinterpretation as executables" of NTFS file systems corrects. See the manual for details. > It does not appear in the fstab file. This file is not generated automatically. It's an entirely "user serviceable" part of the OS. > I attempted to mount it manually using the mount command, without > success, just to see if any of the data files could be read. Can you show the mount command? I think it will be something like # mount_ntfs -o ro /dev/ad1s1 /mnt If you need write access, ntfs3g / FUSE would be a good tool. Also see the port "ntfsprogs" which contains useful tools for dealing with NTFS. > I ran fsidk -B on the zeroeth sector of the second hard drive, but > that did not seem to help. You need to apply boot0cfg to install the initial boot blocks. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From demelier.david at gmail.com Thu Jun 21 22:35:54 2012 From: demelier.david at gmail.com (David Demelier) Date: Thu Jun 21 22:36:01 2012 Subject: No surround sound with Creative SB Live! card In-Reply-To: <4FE29B16.5060005@bananmonarki.se> References: <4FDA0B5E.4090901@gmail.com> <4FDAAF5E.4040500@gmail.com> <4FDAECF8.4080007@gmail.com> <4FDB1BB0.8060800@bananmonarki.se> <4FDF7326.1080201@gmail.com> <4FE29B16.5060005@bananmonarki.se> Message-ID: <4FE3A1C9.7000606@gmail.com> On 21/06/2012 05:55, Bernt Hansson wrote: > 2012-06-18 20:27, David Demelier skrev: >> On 15/06/2012 13:25, Bernt Hansson wrote: >>> On 2012-06-15 10:06, David Demelier wrote: >>>> On 15/06/2012 05:43, Edward M wrote: >>>>> On 06/14/2012 09:03 AM, David Demelier wrote: >>>>>> I have an old SB Live! card with a 5.1 speaker set, but i can't get >>>>>> sound from center and rear speakers with mplayer. >>>>>> >>>>>> I'm using the snd_emu10kx driver and when I try to play a DVD I get >>>>>> sound only through the front speakers (and LFE) like a 2.1 >>>>>> >>>>>> Adding -channels 6 to the mplayer args does not help. >>>>>> >>>>>> Cheers, >>>>> >>>>> Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or >>>>> DTS. So a decorder is needed. >>>>> >>>> >>>> That's what mplayer says: >>>> >>>> ========================================================================== >>>> >>>> >>>> >>>> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders >>>> AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000) >>>> Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) >>>> ========================================================================== >>>> >>>> >>>> >>>> AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) >>>> >>>> What do you mean by "a decoder is needed"? >>> >>> Have you tried vlc or xine? >> >> It does not work with VLC too, do you need to tweak some settings? > > Try $ vlc filename > > I've tried a file that gave this error > > [0x2bb4b43c] main decoder error: no suitable decoder module for fourcc > `mp4v'. VLC probably does not support this sound or video format. There is just this error: [0x8373b4e70] xcb_xv generic error: no available XVideo adaptor But this is due to my modern graphic card (radeon 5670) -- David Demelier From perrin at apotheon.com Thu Jun 21 23:03:19 2012 From: perrin at apotheon.com (Chad Perrin) Date: Thu Jun 21 23:03:26 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> References: <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> Message-ID: <20120621230302.GB575@hemlock.hydra> On Thu, Jun 21, 2012 at 05:50:24AM -0400, Thomas Mueller wrote: > Snippet from Wojciech Puchar : > > > > I successfully predicted the fall of linux (in quality point of view) > > years ago, then netbsd - after this and my prediction were good. > > > > Now i predict FreeBSD will fall within 2015 time frame. > > What i mean fall - that it would be better to use older version as long as > > possible because newer are worse. > > > > For now > > > > - FreeBSD 6 was an improvement > > - FreeBSD 7 was an improvement, except first releases but that's normal > > - FreeBSD 8 was a big improvement in performance and quality. > > > > FreeBSD 9 as for now: > > > > - have similar performance at most > > - have some improvement and important functionality like TRIM support. > > - have some useful functionality like softdep journalling, but risky. > > Still - forcing full check reveals some inconsistencies now and then. > > > > FreeBSD 10 will unlikely be better, but for sure slower unless you will > > force gcc build that MAYBE will work. possibly not. > > > My experience with NetBSD suggests you may be right there, but Linux? > > I'll have to build a new Linux installation and see for myself! > > I'm still inclined to say FreeBSD 9.0 is an improvement over 8.2; I never got to 8.3. I can definitely vouch for his estimate of the quality of Linux-based OSes, at least in the majority of cases. I primarily used Debian for a while, then went through a transitional period where I gradually phased out Debian, until about half a dozen years was spent entirely Linux-free (apart from the Linux kernel on a couple of embedded consumer devices), during which time I used FreeBSD for everything. Over the course of the last -- well, more than a year, less than 1.5 years -- I have been "forced" to use a Linux-based system again to get halfway decent graphics support on a laptop I bought without checking hardware compatibility carefully enough. In the meantime, however, I have provided some support for other people using Linux-based systems. During that time, I had occasion to see a Slackware installer hose an entire system (luckily with backups) that was initially intended to be set up as a multi-boot with FreeBSD and MS Windows; Ubuntu get cursed at great length with words like "If I wanted to deal with this crap, I'd use Windows!"; and similar issues crop up. Even so, installing Debian on my new laptop early last year (and trying to install Arch Linux on it -- which didn't hose anything up, but did fail to detect the free space on the hard drive, and thus failed to install, before I decided it was easier to skip Arch) and using it since then on a regular basis has been an eye-opener. Myriad little stupidities have crept into the system, including such wonders of engineering brilliance as some documentation to the effect that basic system network management tools were no longer guaranteed to work. I have some pretty strong opinions about the way things are getting broken in the Linux world, and some of the reasons this sort of problem is growing, but they're increasingly off-topic for this venue. Suffice to say that I could write a short book about the subject, and still leave a lot of problems unaddressed. Anyway, switching from GCC to Clang has essentially nothing to do with the kinds of problems we increasingly see in the Linux world. In fact, one of the biggest problems in the Linux world is the fact that GNU projects have a tendency to degrade in quality over time and pretty thoroughly undermine the Unix philosophy in egregious ways, which means that the sooner we can divest ourselves of GNU tools (including GCC) the better off we will probably be (though I would still advocate a measured approach to replacing GNU tools, rather than a headlong rush without any forethought). -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Thu Jun 21 23:08:54 2012 From: perrin at apotheon.com (Chad Perrin) Date: Thu Jun 21 23:09:01 2012 Subject: Why Clang In-Reply-To: References: Message-ID: <20120621230530.GC575@hemlock.hydra> On Thu, Jun 21, 2012 at 06:11:46AM -0400, Thomas Mueller wrote: > Snippet from Antonio Olivares : > > > > I have some friends that develop software. They had released it under > > GNU umbrella. Later on, other folks were taking advantage and not > > giving back as the license requires. There was little to no way to > > enforce the license, he decided to move to other license that > > protects his work and let others use it was well with little to no > > strings attached. He know uses the CDDL which is also an Open Source > > License. He can give you many reasons as to why the GPLv3 is the > > wrong way to go. I can ask him for these and other reasons at your > > request. > > Yes, that would be a good idea, not so much for me as for others who > want to better understand the licensing issues of GCC compared to > Clang. > > That would help explain why FreeBSD is switching to Clang. Related (perhaps somewhat indirectly): Advancement Through License Simplicity http://univacc.net/?page=license_simplicity -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From dmtilbrook at gmail.com Thu Jun 21 23:31:36 2012 From: dmtilbrook at gmail.com (David Tilbrook) Date: Thu Jun 21 23:31:43 2012 Subject: xrandr cropping my window Message-ID: Preamble: % cvt 1600 1280 # 1600x1280 59.92 Hz (CVT 2.05M4) hsync: 79.51 kHz; pclk: 171.75 MHz Modeline "1600x1280_60.00" 171.75 1600 1712 1880 2160 1280 1283 1290 1327 -hsync +vsync Running the following: xrandr --auto xrandr --newmode "1600x1280_60.00" 171.75 1600 1712 1880 2160 1280 1283 1290 1327 -hsync +vsync xrandr --addmode VGA1 "1600x1280_60.00" xrandr --output VGA1 --mode "1600x1280_60.00" yields: Default gamma for IRGB image is 2.20 Compressing colormap ...no improvment [sic] Clipping image...(Adding border)...done Building XImage...done It does accomplish most of what I want, but indeed added a black border at the top of the display. The root window has geometry 1600x1280+0+0, however the area that's visible on the display is approximately 1520x1200. This means that when maximizing a window, the bottom and left edges are not displayed. Are there adjustments I can make to get my full screen? -- david From wblock at wonkity.com Fri Jun 22 00:21:22 2012 From: wblock at wonkity.com (Warren Block) Date: Fri Jun 22 00:21:29 2012 Subject: xrandr cropping my window In-Reply-To: References: Message-ID: On Thu, 21 Jun 2012, David Tilbrook wrote: > Preamble: > > % cvt 1600 1280 > # 1600x1280 59.92 Hz (CVT 2.05M4) hsync: 79.51 kHz; pclk: 171.75 MHz > Modeline "1600x1280_60.00" 171.75 1600 1712 1880 2160 1280 1283 > 1290 1327 -hsync +vsync > > Running the following: > > xrandr --auto > xrandr --newmode "1600x1280_60.00" 171.75 1600 1712 1880 2160 1280 > 1283 1290 1327 -hsync +vsync > xrandr --addmode VGA1 "1600x1280_60.00" > xrandr --output VGA1 --mode "1600x1280_60.00" > yields: > > Default gamma for IRGB image is 2.20 > Compressing colormap ...no improvment [sic] > Clipping image...(Adding border)...done > Building XImage...done > > It does accomplish most of what I want, but indeed added a black border > at the top of the display. > > The root window has geometry 1600x1280+0+0, however the area > that's visible on the display is approximately 1520x1200. > > This means that when maximizing a window, the bottom and left edges > are not displayed. > > Are there adjustments I can make to get my full screen? Unless you have a very old or defective monitor, it will report the modes it can display. xrandr should pick those up; run it without options to display known modes. Select one of those existing modes rather than creating a new one that the monitor may not be able to display. From proace at gmail.com Fri Jun 22 02:01:57 2012 From: proace at gmail.com (ProAce) Date: Fri Jun 22 02:02:03 2012 Subject: something wrong of ifconfig bridge0 addr - mac address appears on wrong interface Message-ID: ( untrust ) --- ( em0 , bridge0 , em1 ) --- ( trust ) Sometimes , I cannot connect to trust server from untrust. I log some information from ifconfig bridge0 addr. It seems some thing wrong of trust server's mac appear on em0. trust serv1's mac: 00:50:56:af:2e:43 trust serv2's mac: 00:50:56:af:75:63 STEP1: The serv2 is not shown in bridge addr. table tp-fw [~] -root- ifconfig bridge0 addr 00:50:56:af:2e:43 Vlan1 em1 1200 flags=0<> 64:9e:f3:06:52:03 Vlan1 em0 1192 flags=0<> 70:ca:9b:e3:a5:83 Vlan1 em0 1192 flags=0<> 70:ca:9b:e3:a5:c3 Vlan1 em0 1200 flags=0<> STEP2: I ping the serv2's ip from untrust , and I got 100% packet loss. STEP3: show bridge addr. table again tp-fw [~] -root- ifconfig bridge0 addr 00:50:56:af:75:63 Vlan1 em0 1198 flags=0<> 00:50:56:af:2e:43 Vlan1 em1 1200 flags=0<> 64:9e:f3:06:52:03 Vlan1 em0 1150 flags=0<> 70:ca:9b:e3:a5:83 Vlan1 em0 1150 flags=0<> 70:ca:9b:e3:a5:c3 Vlan1 em0 1200 flags=0<> OMG! It's wrong of the 00:50:56:af:75:63 is shown with em0 interface. STEP4: I ping the serv2's ip from tp-fw , and I got icmp reply. STEP5: show bridge addr. table again tp-fw [~] -root- ifconfig bridge0 addr 00:50:56:af:75:63 Vlan1 em1 1197 flags=0<> 00:50:56:af:2e:43 Vlan1 em1 1199 flags=0<> 64:9e:f3:06:52:03 Vlan1 em0 1170 flags=0<> 70:ca:9b:e3:a5:83 Vlan1 em0 1170 flags=0<> 70:ca:9b:e3:a5:c3 Vlan1 em0 1200 flags=0<> The 00:50:56:af:75:63 is shown with em1 interface correctly. Why does STEP2 cause the wrong bridge addr table? How to solve it? From bah at bananmonarki.se Fri Jun 22 03:40:07 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Fri Jun 22 03:40:14 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: <4FE3E8B0.9080806@bananmonarki.se> 2012-06-21 19:33, Mark Felder skrev: > On Thu, 21 Jun 2012 12:30:40 -0500, Wojciech Puchar > wrote: > >> z> wrote: >>> >>>> programs compiled by GPLv3 compiler are not encumbered. >>> >>> This has not been decided in court yet. >> >> >> sources please! > > Google "GPLv3 court case". There are no applicable results. Until a > Judge decides what the license truly means everyone using it is at risk. > > As you've already been told it's not English it's Law "I fought the law, and the law won" http://en.wikipedia.org/wiki/I_Fought_the_Law This whole thread has gone wayward, and I don't think it's going anywhere, except down. From bah at bananmonarki.se Fri Jun 22 04:19:41 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Fri Jun 22 04:19:48 2012 Subject: Flaming mailing lists (was Re: Why Clang) In-Reply-To: References: Message-ID: <4FE3F1F9.90808@bananmonarki.se> 2012-06-21 10:59, fred.morcos@gmail.com skrev: > we have feelings too!!! Ouch! Another "feeling" person. Can't you just stop this feeling stuff. /sarcasm off From perrin at apotheon.com Fri Jun 22 04:27:05 2012 From: perrin at apotheon.com (Chad Perrin) Date: Fri Jun 22 04:28:04 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> Message-ID: <20120622042703.GB24912@hemlock.hydra> On Thu, Jun 21, 2012 at 10:40:11AM +0200, Michel Talon wrote: > Le 21 juin 2012 ? 03:52, kpneal@pobox.com a ?crit : > > > > > > All of this may seem stupid to a reasonable person outside of law. I'll agree > > that it probably does look stupid. But it is also the reality of the legal > > systems we must live with today. > > I can only praise kpneal for this very well argumented post. However > some remarks. The whole argument revolves around FUD, fear, > uncertainty and doubt. But there will never be any shortage of lawyers > trying to spread FUD on any subject to please their clients, and if > companies "bend over" instead of fighting FUD they will promptly be > paralyzed. It was actually a fairly sober assessment of legal conditions, especially in light of the rather unreasonable expenses often attendant to legal battles. In any case, it pays to play things safe when your options are: * Take the idiots on, head-on, over their copyleft licensing zeal, and see if you get sued. * Play it safe by using a compiler built on a better architecture that provides better development features, more correct output, and other advantages, with a copyfree license instead of a copyleft license. > > Last time a company tried to use such tactic against Linux, it did not > turn out a bright idea. Second, FreeBSD is not a commercial company, > and while this argument may have a merit for commercial sponsors of > FreeBSD, it has zero bearing on FreeBSD itself. I disagree with the assessment by others that FreeBSD is in some way effectively a subsidiary of its corporate users, but it does have corporate users, as well as non-corporate users. Just as it must reasonably see to the needs of the individuals who use it, so must it also reasonably see to the needs of those corporate users, especially when some of those corporate users' employees are key developers for the base system (to the significant benefit of the rest of us). Thus, saying that a particular set of conditions having an impact on commercial sponsors of FreeBSD has "zero bearing on FreeBSD itself" is just . . . incorrect. > > If FreeBSD appears as a subsidiary of some commercial company (say > Juniper) i am not sure this will be good for its further development. > This being said, i agree with you that the FreeBSD binaries will not > see a big performance degradation through the use of clang, so, as long > as gcc is in the ports to be used with performance critical stuff, it > is no big deal. Anyways as a long time FreeBSD user i have seen clang > presented as an experiment by two or three people, and then suddenly > stuffed without any discussion in the base system, apparently for > political reasons that i don't share (i mean this stupid obsession of > "GPL free" system, which has replaced the previous focus on quality and > performance). How much were you around in the mailing lists and other relevant venues for discussion of changes to the base system? You are presumably aware this list doesn't really count, being a general-questions list that is not exactly the official place to discuss things like base system choices of library and userland development (for instance), or even ports system development. It's possible all you saw of the discussion was the parts that "escaped into the wild", as it were; the more in-depth discussion of the matter surely happened elsewhere. This might give you a mistaken impression that there was not much discussion of the matter. . . . and thanks for calling the concerns of everyone who wants to be able to use FreeBSD as the basis of other projects without having to deal with problematic licensing restrictions as "stupid" and "obsessed". That's not very nice (or accurate). -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Fri Jun 22 04:42:14 2012 From: perrin at apotheon.com (Chad Perrin) Date: Fri Jun 22 04:42:22 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> Message-ID: <20120622044212.GC24912@hemlock.hydra> On Thu, Jun 21, 2012 at 01:06:12PM +0200, Wojciech Puchar wrote: > >for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. If FreeBSD appears > >as a subsidiary of some commercial company (say Juniper) i am not sure this will be good > > I think any project that size is actually a subsidiary and must be. > > I just don't like that it isn't stated openly! It is nothing wrong, > unless one can feed using zero point energy, everyone needs money to > stay alive. > > Wouldn't it be smarter to openly say "Juniper request as to get rid > o GPL as soon as we can because they are fed up with this shit and > law mess." instead of personal attacks, messing with my (and others) > sentences and posting evident lies just to "explain" the decision. > > It is a difference between honest people and fools. > > i already proposed (but not publically) to turn FreeBSD into > commercial system. > > REALLY i would not see a problem to pay say 100$ per server licence. I would see a problem with that -- not because I don't think FreeBSD is worth it. I do, and I think it is worth more than that, in fact. The biggest problem with what you propose, though, is that it would destroy the social factors in development of the FreeBSD system that make it what it is, and thus destroy FreeBSD itself, as far as I am concerned. Eliminating the copyfree licensed, open source development model of FreeBSD would undermine the majority of the technical benefits supported by that development model. I would have thought that even you should be able to understand that without help. > > There is nothing to prevent giving source with system. Non-Free > software doesn't have to be binary only. Read-only source, or even modifiable but non-distributable source, does not provide the social benefits of an open source development model that encourage the kind of participation FreeBSD needs to remain FreeBSD, rather than becoming Oracle Solaris or MS Windows Server 2010: Race Condition Odyssey. > > For paying this i would like FreeBSD to be maintained with quality > and performance being the only reason, not politics. Turning it into a commercial enterprise rather than an open source project would probably turn it into a project that is driven about 60% by corporate politics and 40% by marketing BS, with no room left over for quality except as needed to support the minimum credibility its CEO deems necessary to support those two concerns. > > Every "trendy" or otherwise requested feature could be added > separately or even charged separately, as long as it doesn't have > any effects on base system. ZFS being example. > > Nothing against Juniper (the make truly good working hardware), but > if they enforce decision because of their personal likes then it > must be stopped. You seem to think this is all about Juniper. I wonder where you get that idea. Why didn't you pluck iXsystems out of thin air as your whipping boy, or Yahoo, or some other corporate user? > > GPLv3 based C compiler does not prevent making closed source > software like JunOS for example. In most cases, this may be true, *if* the license exceptions apply as described if/when tested in court. There are some cases where even the optimistic explanation of the license exceptions particular to GCC mentions that the GPLv3 might apply to generated code. > > It is only "i hate GNU" type decision. No, it's not only that. It's *also* that, and with good reason. Good job ignoring a whole lot of information people have tried to bring to your attention, including lengthy messages from me to which you have not substantively responded. Are you unable, or simply unwilling, to have an honest discussion on the matter? Ironically, your possibly dishonest intention in this matter occurs even as you pretend that potentially mistaken statements by one or two people make *everyone* into malevolent liars who deserve your ire and insults. > > I hate too, and in spite of this am against removing gcc and > replacing it with much worse product. "Worse" based on a couple of very narrowly applicable metrics derived from specific, very particular use case conditions, whose measures are of negligible scale for most purposes, ignoring a shit-ton of additional information about why Clang is better based on information that you have not only admitted not knowing about but proclaimed you have no interest in learning. You *refuse* to educate yourself about some of the subject matter that pertains to other benefits, then proclaim everyone else at fault for the fact you cannot see past your nose to note that the whole world does not revolve around some dubious benchmarks. I doubt you're convincing anyone of anything you seem to think we should all accept as gospel. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Fri Jun 22 04:47:50 2012 From: perrin at apotheon.com (Chad Perrin) Date: Fri Jun 22 04:47:57 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35745.9060601@fisglobal.com> Message-ID: <20120622044748.GD24912@hemlock.hydra> On Thu, Jun 21, 2012 at 07:30:23PM +0200, Wojciech Puchar wrote: > >Because there's no reason to do that. It's an asinine suggestion. > > > >Clang is here to stay. Most of us are happy about that decision. GCC > > Because most that are not already stopped and ignored thing. and use GCC. > > Politics won. Development benefits are not "politics". Easier distribution is not "politics". More responsive upstream developers are not "politics". You ignoring all of these points and more that have been brought up, some by me, *is* evidently "politics" -- because you are seeking a political capitulation to your willfully ignorant demands. Politics *lose*, so far, and for that I am grateful. . . . but if it makes you feel better to whisper to yourself that all opposition to your position (even when you ignore it and have not bothered to actually read and understand it) is just "politics", go ahead, as long as it doesn't perpetuate this wholly unnecessary griping on the mailing list. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From erichfreebsdlist at ovitrap.com Fri Jun 22 04:50:29 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Fri Jun 22 04:50:35 2012 Subject: Flaming mailing lists (was Re: Why Clang) In-Reply-To: <4FE3F1F9.90808@bananmonarki.se> References: <4FE3F1F9.90808@bananmonarki.se> Message-ID: <201206221150.18073.erichfreebsdlist@ovitrap.com> Hi, On Friday 22 June 2012 11:18:01 Bernt Hansson wrote: > 2012-06-21 10:59, fred.morcos@gmail.com skrev: > > we have feelings too!!! > > Ouch! Another "feeling" person. Can't you just stop this feeling stuff. > do not forget the feelings regarding the devil. Erich From bah at bananmonarki.se Fri Jun 22 05:06:16 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Fri Jun 22 05:06:24 2012 Subject: Flaming mailing lists (was Re: Why Clang) In-Reply-To: <201206221150.18073.erichfreebsdlist@ovitrap.com> References: <4FE3F1F9.90808@bananmonarki.se> <201206221150.18073.erichfreebsdlist@ovitrap.com> Message-ID: <4FE3FCE3.3010202@bananmonarki.se> 2012-06-22 06:50, Erich Dollansky skrev: > Hi, > > On Friday 22 June 2012 11:18:01 Bernt Hansson wrote: >> 2012-06-21 10:59, fred.morcos@gmail.com skrev: >>> we have feelings too!!! >> >> Ouch! Another "feeling" person. Can't you just stop this feeling stuff. >> > do not forget the feelings regarding the devil. Aaa. Yes the "devil" That fill's my whole body with concrete. I want to whish all a very mery Midsummer's Eve and Midsummer's Day http://en.wikipedia.org/wiki/Midsummer#Sweden From erichfreebsdlist at ovitrap.com Fri Jun 22 05:43:36 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Fri Jun 22 05:43:43 2012 Subject: Flaming mailing lists (was Re: Why Clang) In-Reply-To: <4FE3FCE3.3010202@bananmonarki.se> References: <201206221150.18073.erichfreebsdlist@ovitrap.com> <4FE3FCE3.3010202@bananmonarki.se> Message-ID: <201206221243.31009.erichfreebsdlist@ovitrap.com> Hi, On Friday 22 June 2012 12:04:35 Bernt Hansson wrote: > 2012-06-22 06:50, Erich Dollansky skrev: > > On Friday 22 June 2012 11:18:01 Bernt Hansson wrote: > >> 2012-06-21 10:59, fred.morcos@gmail.com skrev: > >>> we have feelings too!!! > >> > >> Ouch! Another "feeling" person. Can't you just stop this feeling stuff. > > > > do not forget the feelings regarding the devil. > > Aaa. Yes the "devil" That fill's my whole body with concrete. > yes, this is the guy. You can consider yourself lucky that he uses only concrete. Bad guys like me get liquid steel. > I want to whish all a very mery Midsummer's Eve and Midsummer's Day Oh yeah, you celebrate this only on the following weekend. Enjoy! Erich From ohartman at zedat.fu-berlin.de Fri Jun 22 06:01:52 2012 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Fri Jun 22 06:01:58 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do Message-ID: <4FE40A42.6010503@zedat.fu-berlin.de> I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD shown below. When first used, I was able to put approx. 30 GB of data on it - it was visible to FreeBSD 9 and 10 as expected. A Linux system at the lab was also capable of recognizing it. After that, I tried to operate on the stick on a Notebook, FreeBSD 9, and another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive anymore - sometimes, but this seems to be a gambling issue :-( Trying Linux on different hardware platforms and even those machines prior not recognizing the USB drive do recognize the drive as Lexar USB Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and pull data from it. So, since the USB drive won't work with three different FreeBSD boxes (one running 9-STABLE, two 10-CURRENT, all systems most recent sources and buildworld from a day ago). I suspect either a weird configuration issue I use on all platforms in questions in common triggering the weird beviour - or FreeBSD is simply incapable of handling the 64GB drive. I do not have issues with USB drives with capacities of 32, 8 or 4 GB of different brands. As shown in the portion of the dmesg below, the USB drive is recognized physically. It doesn't matter whether USB port I use (I tried all available on all boxes and in most cases I use a Dell UltraSharp powered in-screen HUB). Since other OSes handle the drive as expected, I exclude hardware issues. All FreeBSD in common is the fact I use the new device ahaci/device ata CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). Apart from trying a GENERIC kernel (which is next I will do this weekend), does anyone have similar experiences and probably solutions? Regards, oh ugen7.6: at usbus7 umass1: on usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120622/76bdc07e/signature.pgp From wojtek at wojtek.tensor.gdynia.pl Fri Jun 22 06:17:26 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 22 06:17:33 2012 Subject: Is ZFS production ready? In-Reply-To: <20120622022000.GE25628@neutralgood.org> References: <4FE2CE38.9000100@gmail.com> <4FE32FF5.60603@ulb.ac.be> <20120622022000.GE25628@neutralgood.org> Message-ID: > > This is a valid argument. Checksumming is used to detect cases where the > disk or the disk controller return invalid data to the CPU. This can happen > for any number of reasons and isn't that unlikely. "Unrecoverable read > error" probabilities are high enough with common drives that you can > reasonably see them after reading 10-20TB over the course of some small > number of years. And that's assuming no firmware bugs, no flakey cables, > and no other of a variety of potential issues. > this needs scrubbing. Can be done both with ZFS and anything else. just use dd periodically. > I use ZFS. I like ZFS. But I also acknowledge that a zfs_fsck would be > useful in cases where a filesystem is botched enough that it can't be but seems you don't have any serious use for ZFS if you can take that risk just because you "like" ZFS. I cannot. From yanegomi at gmail.com Fri Jun 22 06:22:36 2012 From: yanegomi at gmail.com (Garrett Cooper) Date: Fri Jun 22 06:22:56 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <4FE40A42.6010503@zedat.fu-berlin.de> References: <4FE40A42.6010503@zedat.fu-berlin.de> Message-ID: On Thu, Jun 21, 2012 at 11:01 PM, O. Hartmann wrote: > I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD > shown below. > When first used, I was able to put approx. 30 GB of data on it - it was > visible to FreeBSD 9 and 10 as expected. > A Linux system at the lab was also capable of recognizing it. After > that, I tried to operate on the stick on a Notebook, FreeBSD 9, and > another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive > anymore - sometimes, but this seems to be a gambling issue :-( > > Trying Linux on different hardware platforms and even those machines > prior not recognizing the USB drive do recognize the drive as Lexar USB > Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu > 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and > pull data from it. > > So, since the USB drive won't work with three different FreeBSD boxes > (one running 9-STABLE, two 10-CURRENT, all systems most recent sources > and buildworld from a day ago). > I suspect either a weird configuration issue I use on all platforms in > questions in common triggering the weird beviour - or FreeBSD is simply > incapable of handling the 64GB drive. I do not have issues with USB > drives with capacities of 32, 8 or 4 GB of different brands. > > As shown in the portion of the dmesg below, the USB drive is recognized > physically. It doesn't matter whether USB port I use (I tried all > available on all boxes and in most cases I use a Dell UltraSharp powered > in-screen HUB). Since other OSes handle the drive as expected, I exclude > hardware issues. > > All FreeBSD in common is the fact I use the new device ahaci/device ata > CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). > > Apart from trying a GENERIC kernel (which is next I will do this > weekend), does anyone have similar experiences and probably solutions? I don't personally have any relevant experience with this device, but having the exact revisions of code where this was working and where it was failing would be helpful, in order to perform a binary search to determine whether or not this is a regression. Thanks, -Garrett From wojtek at wojtek.tensor.gdynia.pl Fri Jun 22 06:22:45 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 22 06:22:58 2012 Subject: Is ZFS production ready? In-Reply-To: <20120622024012.GF25628@neutralgood.org> References: <20120622024012.GF25628@neutralgood.org> Message-ID: > OK, if you have 24 2-way mirrors and two drives in the same mirror fail > then with UFS you lose the contents of that mirror. Other filesystems in > the same box are fine. Restores from backups are going to be easy since > the backups are probably arranged to be per-filesystem. true. i actually don't have 48-disk machine but do have 9 disks (one SSD+8 2TB SATA). > So far I think we're in agreement. Still as i said - even with ZFS i would make 24 pools, not one. this thing is not filesystem dependent. > > But this doesn't address two issues: > > 1) There are other arrangements of ZFS that can tolerate more failed > disks if you are willing to spend more money. ZFS supports n-way > mirrors, so you can have mirrors with three or four disks if you as well as gmirror. > a raidz2 set (with multiple raidz2 sets per pool). i will not use raidz1/2/3 because if catastrophically low performance. the design of ZFS makes sure you'll get read performance of single drive from whole pool. Disks are already performance limiting part of computer. > 2) That this failure can happen doesn't address the question of the > production-ready status of ZFS. > > The question of "production ready" is not a boolean. It is a question of What i meant from beginning is not that ZFS is not "yet" production ready but it will never be because of design decisions. It have "cool" features, giving danger, huge hardware usage (RAM,CPU) and low I/O performance. > risks and of money used to mitigate those risks. I suggest asking the > question on the zfs-discuss list over at opensolaris.org since there are > probably many more people there who make serious use of ZFS daily. I will not. Serious people should know how ZFS work. if they still want to use it seriuosly then i cannot help any more. > gs1p 159G 73.1G 39 12 2.34M 70.7K > mirror 159G 73.1G 39 12 2.34M 70.7K > gpt/CONST_2-9XE02KPK-zfs - - 19 5 1.94M 69.4K > gpt/SAVVIO-6XQ10F80-zfs - - 21 5 1.93M 79.5K > gpt/SAVVIO-6XQ103C7-zfs - - 21 5 1.93M 79.5K > 100GB+ of FreeBSD being served up (IP 206.196.19.100 if you care to check > FreeBSD's stats pages). And the torrents can be easily replaced if something > really bad happens. 3 very expensive drives. From hselasky at c2i.net Fri Jun 22 06:27:47 2012 From: hselasky at c2i.net (Hans Petter Selasky) Date: Fri Jun 22 06:28:01 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <4FE40A42.6010503@zedat.fu-berlin.de> References: <4FE40A42.6010503@zedat.fu-berlin.de> Message-ID: <201206220822.19486.hselasky@c2i.net> On Friday 22 June 2012 08:01:38 O. Hartmann wrote: > I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD > shown below. > When first used, I was able to put approx. 30 GB of data on it - it was > visible to FreeBSD 9 and 10 as expected. > A Linux system at the lab was also capable of recognizing it. After > that, I tried to operate on the stick on a Notebook, FreeBSD 9, and > another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive > anymore - sometimes, but this seems to be a gambling issue :-( > > Trying Linux on different hardware platforms and even those machines > prior not recognizing the USB drive do recognize the drive as Lexar USB > Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu > 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and > pull data from it. > > So, since the USB drive won't work with three different FreeBSD boxes > (one running 9-STABLE, two 10-CURRENT, all systems most recent sources > and buildworld from a day ago). > I suspect either a weird configuration issue I use on all platforms in > questions in common triggering the weird beviour - or FreeBSD is simply > incapable of handling the 64GB drive. I do not have issues with USB > drives with capacities of 32, 8 or 4 GB of different brands. > > As shown in the portion of the dmesg below, the USB drive is recognized > physically. It doesn't matter whether USB port I use (I tried all > available on all boxes and in most cases I use a Dell UltraSharp powered > in-screen HUB). Since other OSes handle the drive as expected, I exclude > hardware issues. > > All FreeBSD in common is the fact I use the new device ahaci/device ata > CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). > > Apart from trying a GENERIC kernel (which is next I will do this > weekend), does anyone have similar experiences and probably solutions? > > Regards, > oh > > ugen7.6: at usbus7 > umass1: on > usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted Hi, After plugging the device, try: usbconfig -d 7.6 add_quirk UQ_MSC_NO_INQUIRY Then re-plug it. I'm sorry to say a lot of USB flash sticks out there are broken and only tested with the timing of MS Windows. Part of the problem is that it is difficult to autodetect these issues, because once you trigger the non- supported SCSI command, then the flash key stops working like you experience. I would be more than glad to open up an office to certify USB devices for use with FreeBSD :-) --HPS From wojtek at wojtek.tensor.gdynia.pl Fri Jun 22 06:28:25 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 22 06:28:32 2012 Subject: Why Clang In-Reply-To: <20120622044212.GC24912@hemlock.hydra> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <20120622044212.GC24912@hemlock.hydra> Message-ID: > > I would see a problem with that -- not because I don't think FreeBSD is > worth it. I do, and I think it is worth more than that, in fact. The true. > biggest problem with what you propose, though, is that it would destroy > the social factors in development of the FreeBSD system that make it what > it is, and thus destroy FreeBSD itself, as far as I am concerned. I am not sure, as long as clients would be treated seriously! > I would have thought that even you should be able to understand that > without help. another personal attack? I though i talk with adults. >> For paying this i would like FreeBSD to be maintained with quality >> and performance being the only reason, not politics. > > Turning it into a commercial enterprise rather than an open source > project would probably turn it into a project that is driven about 60% by > corporate politics and 40% by marketing BS, with no room left over for > quality except as needed to support the minimum credibility its CEO deems > necessary to support those two concerns. It depends solely on development team. For now - as we see - it's decision are driven by money. But not all users money but few selected large users. >> must be stopped. > > You seem to think this is all about Juniper. I wonder where you get that Not JUST juniper. >> It is only "i hate GNU" type decision. > > No, it's not only that. It's *also* that, and with good reason. Good >> I hate too, and in spite of this am against removing gcc and >> replacing it with much worse product. > > "Worse" based on a couple of very narrowly applicable metrics derived There will be IMHO soon good compiler available. it's highly probable that pcc would improve a lot, for now it is small, quick but doesn't produce good code for new CPUs. But it probably will improve. CLANG is already great bloat, and will be worse. No amount of money will fix it, actually too much money will hurt. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 22 06:30:00 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 22 06:30:08 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <4FE40A42.6010503@zedat.fu-berlin.de> References: <4FE40A42.6010503@zedat.fu-berlin.de> Message-ID: > incapable of handling the 64GB drive. I do not have issues with USB it's not about capacity. But seems some quirks for that pendrive (which have buggy firmware) has to be added, as it doesn't respond for inquiry command. sorry i am not USB expert. > umass1: on usbus7 > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted > > From c.kworr at gmail.com Fri Jun 22 06:37:09 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Fri Jun 22 06:37:15 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <20120620171112.GB23095@hemlock.hydra> References: <201206201015.q5KAFKKj026496@mail.r-bonomi.com> <20120620171112.GB23095@hemlock.hydra> Message-ID: <4FE41288.5020404@gmail.com> Chad Perrin wrote: > Someone in this extended discussion mentioned that there are efforts > underway to make sure the base system will compile cleanly with both > Clang and GCC 4.2+, so I think you're just making up complaints here. > Someone (other than Wojciech Puchar, who would just be talking out of his > ass) correct me if I'm mistaken. That was me. I don't have pure facts but I read svn logs daily. Today we have a bunch of: ------------------------------------------------------------------------ r237428 | eadler | 2012-06-22 08:48:53 +0300 (??, 22 ??? 2012) | 5 lines MFC r237253: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva (implicit) So at least there are some people working on polishing CURRENT/STABLE up to the point it will build with gcc46. -- Sphinx of black quartz judge my vow. From smithi at nimnet.asn.au Fri Jun 22 06:38:43 2012 From: smithi at nimnet.asn.au (Ian Smith) Date: Fri Jun 22 06:39:00 2012 Subject: OT: Robotics or embedded or hardware programming... what is this called? In-Reply-To: <20120621083945.E87771065694@hub.freebsd.org> References: <20120621083945.E87771065694@hub.freebsd.org> Message-ID: <20120622153224.I46641@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 420, Issue 10, Message: 17 On Wed, 20 Jun 2012 19:54:27 -0600 Modulok wrote: > Sorry for the off-topic post. There are a lot of technically adept people on > this list, so I thought I'd try my luck here: On recent volcanic form, this scarcely measures on the OT scale :) > I want to get started programming for hardware. Motors, sensors, actuators, etc. > I have a programming background, (python, PHP, C++) but no experience with code > that drives hardware. (Motors, sensors, etc.) > > I *don't* want closed-source "kit robots" where the point is to build the robot > the book and thats it. I also don't want ladder logic-based PMC's. Some kind of > micro-controller that runs a *nix flavor (or a BSD flavor!) would be great! (If > that's what I need.) Basically, I want to do stuff like "if input1() is True > then apply_voltage_on_output3()", etc. Build my own traffic light, coffee > maker, mars rover, automatic-plant waterer, whatever. Sure. Fun and potentially profitable stuff. Wish I had a spare life .. > What do you call this? Embedded programming? Generic hardware programming? > Robotics programming? Are there prefabricated, standard embedded boards and > hardware specs that play together like PC parts do? In short, I don't even know > where to start. Try browsing from http://lists.freebsd.org/pipermail/freebsd-embedded/ to see if that's of interest. Getting FreeBSD up on various embedded platforms is the focus there, but I've seen robotics references too. I see also, but haven't explored these (both look moderately busy): http://lists.freebsd.org/pipermail/freebsd-arm/ http://lists.freebsd.org/pipermail/freebsd-mips/ > Even general pointers to books/websites would be great. Once I know what it's > called I can google much more effectively ;) I think once you find a platform you're interested in, you'll google up a perhaps bewildering array of support websites and forums, with books to suit. For me it's about the processor instruction set and hardware functionality, but I gather you're looking for higher level language implementations, so you'll want to sniff and taste a few. I thought I saw something somewhere (maybe just wishful thinking) about FreeBSD on the Arduino, which normally runs a sort of embedded Linux, that could be very interesting; the hardware is cheap (kits at Jaycar stores in Australia anyway), very modular design, and there are heaps of fascinating projects. I want the quadricopter to follow me around the room at parties - at my age I need something really impressive :) On the FreeBSD side there's advanced work, I gather, on ARM and Atmel MEGA 32-bit and MIPS platforms at least. Personally I consider these 'big iron' and far prefer writing in macro assembler for little Atmel Tiny25s and such, but that's strictly "Look Ma, no OS!" programming. cheers, Ian From wojtek at wojtek.tensor.gdynia.pl Fri Jun 22 07:03:44 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 22 07:03:50 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <4FE41288.5020404@gmail.com> References: <201206201015.q5KAFKKj026496@mail.r-bonomi.com> <20120620171112.GB23095@hemlock.hydra> <4FE41288.5020404@gmail.com> Message-ID: >> underway to make sure the base system will compile cleanly with both >> Clang and GCC 4.2+, so I think you're just making up complaints here. >> Someone (other than Wojciech Puchar, who would just be talking out of his once again personal attacks from unhappy childs. >> ass) correct me if I'm mistaken. > reported by gcc46 warning > > Approved by: cperciva (implicit) > > So at least there are some people working on polishing CURRENT/STABLE up to > the point it will build with gcc46. > sounds good. From j.mckeown at ru.ac.za Fri Jun 22 07:12:42 2012 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Fri Jun 22 07:12:50 2012 Subject: Flaming mailing lists (was Re: Why Clang) In-Reply-To: <4FE3FCE3.3010202@bananmonarki.se> References: <201206221150.18073.erichfreebsdlist@ovitrap.com> <4FE3FCE3.3010202@bananmonarki.se> Message-ID: <201206220912.36913.j.mckeown@ru.ac.za> On Friday 22 June 2012 07:04:35 Bernt Hansson wrote: > > > I want to whish all a very mery Midsummer's Eve and Midsummer's Day > > http://en.wikipedia.org/wiki/Midsummer#Sweden I appreciate the sentiment but it's midwinter here ;) Jonathan From mueller23 at insightbb.com Fri Jun 22 08:40:11 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Fri Jun 22 08:40:17 2012 Subject: Why Clang Message-ID: On Thu, Jun 21, 2012 at 01:06:12PM +0200, Wojciech Puchar wrote: > >for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. If FreeBSD appears > >as a subsidiary of some commercial company (say Juniper) i am not sure this will be good > > I think any project that size is actually a subsidiary and must be. > > I just don't like that it isn't stated openly! It is nothing wrong, > unless one can feed using zero point energy, everyone needs money to > stay alive. > > Wouldn't it be smarter to openly say "Juniper request as to get rid > o GPL as soon as we can because they are fed up with this shit and > law mess." instead of personal attacks, messing with my (and others) > sentences and posting evident lies just to "explain" the decision. > > It is a difference between honest people and fools. > > i already proposed (but not publically) to turn FreeBSD into > commercial system. > > REALLY i would not see a problem to pay say 100$ per server licence. from Chad Perrin: > I would see a problem with that -- not because I don't think FreeBSD is > worth it. I do, and I think it is worth more than that, in fact. The > biggest problem with what you propose, though, is that it would destroy > the social factors in development of the FreeBSD system that make it what > it is, and thus destroy FreeBSD itself, as far as I am concerned. > Eliminating the copyfree licensed, open source development model of > FreeBSD would undermine the majority of the technical benefits supported > by that development model. > I would have thought that even you should be able to understand that > without help. (snip) Turning FreeBSD into a commercial system would turn a lot of users to other BSD or Linux, myself included. I ran IBM OS/2 from 1.3 to (Warp) 4 until a disk crash in April 2001, after which I was never again able to boot any OS/2, and I sure tried. Closed source was one severe drawback, why I certainly prefer either Linux or FreeBSD. Actually there is a continuation/successor to OS/2, namely eComStation (www.ecomstation.com) but no way would I go that way! Either Linux or FreeBSD is far ahead now! There actually is/was a closed-source BSD (BSDI), and there is Mac OS X, with BSD under the covers. Tom From kayasaman at gmail.com Fri Jun 22 08:44:28 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Fri Jun 22 08:44:35 2012 Subject: Could someone help me with Dovecot AD integration PAM setup? Message-ID: Hi, I'm trying to authenticate Dovecot to Active Directory using the SAMBA/Winbind method and so far my setup seems that everything is working apart from the Dovecot authentication which I believe I have traced to PAM. I can login using an AD account using: wbinfo -K # wbinfo -K Enter 's password: plaintext kerberos password authentication for [] succeeded (requesting cctype: FILE) This is the current Dovecot config: # cat dovecot.conf # v1.1: #auth_ntlm_use_winbind = yes # v1.2+: auth_use_winbind = yes auth_winbind_helper_path = /usr/local/bin/ntlm_auth protocols = imap # It's nice to have separate log files for Dovecot. You could do this # by changing syslog configuration also, but this is easier. log_path = /var/log/dovecot.log info_log_path = /var/log/dovecot-info.log # Disable SSL for now. ssl = no disable_plaintext_auth = no # We're using Maildir format #mail_location = maildir:~/Maildir mail_location = mbox:/mail:INBOX=/mail/%u # If you're using POP3, you'll need this: #pop3_uidl_format = %g # Authentication configuration: auth_verbose = yes auth_debug = yes auth_username_format = %n auth_mechanisms = plain ntlm login userdb { driver = static args = uid=501 gid=501 home=/mail/%u driver = static } passdb { driver = pam } Here is a "test" login attempt: # telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=NTLM AUTH=LOGIN] Dovecot ready. a login a NO [AUTHENTICATIONFAILED] Authentication failed. b logout * BYE Logging out b OK Logout completed. - of course the proper credentials were put in..... Here is the details of pam.d/imap: # cat imap # # $FreeBSD: src/etc/pam.d/imap,v 1.7.10.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # PAM configuration for the "imap" service # # auth auth sufficient pam_winbind.so no_warn try_first_pass debug #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_unix.so no_warn try_first_pass # account #account required pam_nologin.so account required pam_unix.so #account required pam_winbind.so I also attempted a change in pam.d/system: # cat system # # $FreeBSD: src/etc/pam.d/system,v 1.1.32.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # System-wide defaults # # auth auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_unix.so no_warn try_first_pass nullok # account account required pam_krb5.so account required pam_login_access.so account required pam_unix.so # session #session optional pam_ssh.so session required pam_lastlog.so no_fail # password password sufficient pam_krb5.so no_warn try_first_pass password required pam_unix.so no_warn try_first_pass Which don't let me login to the Dovecot service :-( The dovecot.log file shows this: Jun 20 11:30:40 master: Warning: Killed with signal 15 (by pid=4149 uid=0 code=kill) Jun 20 11:30:48 auth: Fatal: No passdbs specified in configuration file. LOGIN mechanism needs one Jun 20 11:30:48 master: Error: service(auth): command startup failed, throttling for 2 secs Jun 20 11:30:59 master: Warning: Killed with signal 15 (by pid=4182 uid=0 code=kill) Jun 20 11:31:13 auth: Fatal: No passdbs specified in configuration file. LOGIN mechanism needs one Jun 20 11:31:13 master: Error: service(auth): command startup failed, throttling for 2 secs Jun 20 11:32:38 master: Warning: Killed with signal 15 (by pid=4245 uid=0 code=kill) Jun 20 11:32:58 imap-login: Warning: Auth connection closed with 1 pending requests (max 0 secs, pid=4265, EOF) Jun 20 11:32:58 auth: Fatal: master: service(auth): child 4266 killed with signal 11 (core not dumped - set service auth { drop_priv_before_exec=yes }) Jun 20 11:46:21 master: Warning: Killed with signal 15 (by pid=4318 uid=0 code=kill) Jun 20 11:46:42 auth-worker(4340): Error: pam(,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 11:46:55 auth: Error: Got NTLMSSP neg_flags=0xa2088207 Jun 20 11:46:55 auth: Error: Got user=[] domain=[] workstation=[WKS-42] len1=24 len2=270 Jun 20 11:46:55 auth: Error: Login for user []\[]@[WKS-42] failed due to [Reading winbind reply failed!] Jun 20 11:49:47 master: Warning: Killed with signal 15 (by pid=4400 uid=0 code=kill) Jun 20 11:49:53 auth: Fatal: passdb imap: Missing host parameter Jun 20 11:49:53 master: Error: service(auth): command startup failed, throttling for 2 secs Jun 20 11:50:10 master: Warning: Killed with signal 15 (by pid=4439 uid=0 code=kill) Jun 20 11:50:22 auth-worker(4461): Error: pam(,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 11:51:19 master: Warning: Killed with signal 15 (by pid=4479 uid=0 code=kill) Jun 20 11:52:14 master: Warning: Killed with signal 15 (by pid=4647 uid=0 code=kill) Jun 20 12:26:12 master: Warning: Killed with signal 15 (by pid=1349 uid=0 code=kill) Jun 20 12:26:32 auth-worker(1371): Error: pam(,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 12:40:20 master: Warning: Killed with signal 15 (by pid=1436 uid=0 code=kill) Jun 20 12:40:39 auth-worker(1458): Error: pam(,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 13:06:03 master: Warning: Killed with signal 15 (by pid=1653 uid=0 code=kill) Jun 20 13:07:37 auth-worker(1222): Error: pam(,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 15:05:11 master: Warning: Killed with signal 15 (by pid=91263 uid=0 code=kill) Jun 22 10:02:03 master: Warning: Killed with signal 15 (by pid=38998 uid=0 code=kill) Jun 22 10:04:08 auth-worker(1229): Error: pam(,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 22 10:10:47 master: Warning: Killed with signal 15 (by pid=1394 uid=0 code=kill) Jun 22 10:12:36 auth-worker(1218): Error: pam(,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 22 10:20:57 auth-worker(1232): Error: pam(,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Can anybody help me with this? Regards, Kaya From cpghost at cordula.ws Fri Jun 22 08:54:55 2012 From: cpghost at cordula.ws (C. P. Ghost) Date: Fri Jun 22 08:55:01 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <4FE35208.40708@queernet.org> <4FE35616.9080304@queernet.org> Message-ID: On Thu, Jun 21, 2012 at 7:28 PM, Mark Felder wrote: > On Thu, 21 Jun 2012 12:16:31 -0500, Wojciech Puchar > wrote: > >> programs compiled by GPLv3 compiler are not encumbered. > > This has not been decided in court yet. In which court not? Of which jurisdiction? Even if one jurisdiction says something doesn't mean all other 190+ or so countries would agree. Since we're an international project, better be safe (legally) than sorry, and avoid GPLv3 when possible. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From dudegolden at yahoo.com Fri Jun 22 09:11:36 2012 From: dudegolden at yahoo.com (dude golden) Date: Fri Jun 22 09:11:51 2012 Subject: question about prblem with raid 1 for freeBSD Message-ID: <1340356289.73682.YahooMailNeo@web160602.mail.bf1.yahoo.com> HI there, hope my email find you well, i recently order a server with below configuration INTEL 1x Quad-Core i5-2500 3.3GHz, 6M Cache 16GB DDR3 2x 500GB SATAII then ask from my COLOCATION to install FreeBSD 8.2 or 8.3 with RAID 1, after many times of fail in installation from colocation they said that we have problem with RAID 1.we suggest them to play with different kind of RAID like RAID 5 and they said as our requested server only have 2 HDD, its not possible to set up RAID 5. now they said us that the only way for having backup of DATA in this condition is set up a scheduled task to put back up of data in the second HDD . now i really need to know if there is a only way for having data back up in this condition or you have better idea according to your experience.also if its the only way , would it be a good level of data security ? looking forward to hear from your side soon. Regards, Smartelcom Team? From dudegolden at yahoo.com Fri Jun 22 09:11:37 2012 From: dudegolden at yahoo.com (dude golden) Date: Fri Jun 22 09:11:53 2012 Subject: question about prblem with raid 1 for freeBSD Message-ID: <1340356289.73682.YahooMailNeo@web160602.mail.bf1.yahoo.com> HI there, hope my email find you well, i recently order a server with below configuration INTEL 1x Quad-Core i5-2500 3.3GHz, 6M Cache 16GB DDR3 2x 500GB SATAII then ask from my COLOCATION to install FreeBSD 8.2 or 8.3 with RAID 1, after many times of fail in installation from colocation they said that we have problem with RAID 1.we suggest them to play with different kind of RAID like RAID 5 and they said as our requested server only have 2 HDD, its not possible to set up RAID 5. now they said us that the only way for having backup of DATA in this condition is set up a scheduled task to put back up of data in the second HDD . now i really need to know if there is a only way for having data back up in this condition or you have better idea according to your experience.also if its the only way , would it be a good level of data security ? looking forward to hear from your side soon. Regards, Smartelcom Team? From ml at my.gd Fri Jun 22 09:16:58 2012 From: ml at my.gd (Damien Fleuriot) Date: Fri Jun 22 09:17:05 2012 Subject: question about prblem with raid 1 for freeBSD In-Reply-To: <1340356289.73682.YahooMailNeo@web160602.mail.bf1.yahoo.com> References: <1340356289.73682.YahooMailNeo@web160602.mail.bf1.yahoo.com> Message-ID: <4FE43806.9080406@my.gd> On 6/22/12 11:11 AM, dude golden wrote: > HI there, > > hope my email find you well, i recently order a server with below configuration > > INTEL > 1x Quad-Core i5-2500 3.3GHz, 6M Cache > 16GB DDR3 > 2x 500GB SATAII > > then ask from my COLOCATION to install FreeBSD 8.2 or 8.3 with RAID 1, after many times of fail in installation from colocation they said that we have problem with RAID 1.we suggest them to play with different kind of RAID like RAID 5 and they said as our requested server only have 2 HDD, its not possible to set up RAID 5. > > now they said us that the only way for having backup of DATA in this condition is set up a scheduled task to put back up of data in the second HDD . > > > > now i really need to know if there is a only way for having data back up in this condition or you have better idea according to your experience.also if its the only way , would it be a good level of data security ? > > > looking forward to hear from your side soon. > > Regards, > > Smartelcom Team Hi, Your colleagues are correct about the RAID levels, you can only do RAID5 with a minimum of 3 disks. Your available options with 2 disks are JBOD, RAID0 or RAID1. You obviously want RAID1. How have they tried to install the server ? I've had no problems ever installing 8.2 or 8.3 as a RAID using either gmirror, or hardware RAID. Does the server have a hardware RAID controller or are you trying software RAID ? Do you have remote console access to the server ? From matthew at FreeBSD.org Fri Jun 22 10:28:12 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Fri Jun 22 10:28:19 2012 Subject: question about prblem with raid 1 for freeBSD In-Reply-To: <1340356289.73682.YahooMailNeo@web160602.mail.bf1.yahoo.com> References: <1340356289.73682.YahooMailNeo@web160602.mail.bf1.yahoo.com> Message-ID: <4FE448AF.5070906@FreeBSD.org> On 22/06/2012 10:11, dude golden wrote: > INTEL > 1x Quad-Core i5-2500 3.3GHz, 6M Cache > 16GB DDR3 > 2x 500GB SATAII > then ask from my COLOCATION to install FreeBSD 8.2 or 8.3 with RAID > 1, after many times of fail in installation from colocation they said > that we have problem with RAID 1.we suggest them to play with > different kind of RAID like RAID 5 and they said as our requested > server only have 2 HDD, its not possible to set up RAID 5. Correct. RAID5 requires at least 3 drives. The only way to have resilience against disk failure with just two drives is to use RAID1 (mirroring). How exactly are your colleagues attempting to set up RAID1. There are several different ways of doing it, but these are the most popular: * Using the built-in ATAPI RAID provided by many motherboards * gmirror * ZFS ATAPI RAID is perhaps the least effective, and may require downtime in order to rebuild the system after a disk failure. I suspect this is what is causing your colleagues problems. For setting up a gmirror RAID see this article: http://onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html (That will work fine with 8.2 or older and the old sysinstall; needs to be adapted if using the new bsdinstall with gpart) For setting up a ZFS mirror, see: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror or I wrote a similar piece assuming use of bsdinstall: http://www.infracaninophile.co.uk/articles/install-on-zfs/ Both of the gmirror or ZFS procedures involve going beyond what the installer provides and doing at least part of the work from the command line. If that is too scary to contemplate, then try using the PC-BSD installer to install FreeBSD -- it lets you set up mirrors or ZFS from a menu system, and can install plain FreeBSD as well as PC-BSD: http://www.pcbsd.org/index.php?option=com_zoo&view=item&Itemid=98 > now they said us that the only way for having backup of DATA in this > condition is set up a scheduled task to put back up of data in the > second HDD . Well, this is really unsatisfactory and your colleagues should be ashamed. First of all, RAID1 is not *backup*. If you accidentally delete a file, it will be removed from both of the mirrored drives. The thing that RAID1 gets you is resilience to disk failure: one of your drives going 'pop' will not result in the system crashing or any service interruption. Backup of the system should be arranged through some other means: there are many programs available to do the job in the base system or the ports -- personally I like tarsnap, which will backup your data to the cloud (Amazon flavoured cloud, that is) for a very reasonable rate. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120622/22ec08ea/signature.pgp From bonomi at mail.r-bonomi.com Fri Jun 22 11:05:03 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 11:05:10 2012 Subject: Why Clang In-Reply-To: Message-ID: <201206221105.q5MB5DNS041174@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Thu Jun 21 06:07:49 2012 > Date: Thu, 21 Jun 2012 13:06:12 +0200 (CEST) > From: Wojciech Puchar > To: Michel Talon > Cc: FreeBSD Questions , kpneal@pobox.com > Subject: Re: Why Clang > > > for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. If FreeBSD appears > > as a subsidiary of some commercial company (say Juniper) i am not sure this will be good > > I think any project that size is actually a subsidiary and must be. Which simply proves you don't know what you don't know. > I just don't like that it isn't stated openly! No one on the Project would consider lying about such things, "just to make Wojciech happy." > instead of personal attacks, messing with my (and others) sentences and > posting evident lies just to "explain" the decision. Maybe when you stop lying about what the others say. > It is a difference between honest people and fools. You have made it clear that -you- are a name-calling fool. People have tried to explain, clearly, and politely, the *multiple* factors that went into the decision. You ignore everything else, and fixate on the one that seems specious to you. > There is nothing to prevent giving source with system. Non-Free software > doesn't have to be binary only. Nice strawman. But you cannot show where anybody has claimed it did. > For paying this i would like FreeBSD to be maintained with quality and > performance being the only reason, not politics. A demonstrable lie -- the only thing you care about is speed of execution. > Nothing against Juniper (the make truly good working hardware), but if > they enforce decision because of their personal likes then it must be > stopped. Therefore, _your_ attempts to enforce decisions because of your personal likes must be stopped. > GPLv3 based C compiler does not prevent making closed source software like > JunOS for example. You don't _know_ that. It is only your -opinion-. How much of a financial bond are you willing to put up, payable to, say, Juniper, if they "rely" on your _opinion_, and it turns out to be wrong?` > It is only "i hate GNU" type decision. You lie. > I hate too, and in spite of this am against removing gcc and replacing it > with much worse product. Your closed--mind bias is showing. You think it's ok to get _wrong_ answers rather than correct answers, if you get the wrong answeers faster and the correct answers somewhat slower. GCC, even 4.21., is well known for generating "bad code" -- meaning 'logically incorrect and gives wrong answers', and sometimes 'code that cannot be successfully executed' -- e.g. it always segfaults or has some other fatal exception -- under a number of conditions. The variety of such instances increases with vritually -every- minor "upgrade' to the compiler. Code that worked under minor release 'x', not work under x+1, because 'yet another' of these 'features' crept in.. There are "known bugs" of this sort in GCC that have been identified for over a -decade-. But, the GCC source-code is such a swamp that *nobody* has been able to figure out, or find, *where* the problem is occurring -- let alone determine what needs to be changed, to fix it. From bonomi at mail.r-bonomi.com Fri Jun 22 11:11:29 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 11:11:35 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE2CE38.9000100@gmail.com> Message-ID: <201206221111.q5MBBk8r041206@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Thu Jun 21 06:18:56 2012 > Date: Thu, 21 Jun 2012 12:03:12 +0430 > From: Hooman Fazaeli > To: FreeBSD Questions > Subject: Is ZFS production ready? > > Dear community > > In the past, I built a 8TB ZFS log server on freebsd 7.4. > However, the system experienced instablility after long up times. > My main motive to use ZFS was UFS inability to support large > file systems. > > Now, I want to the same thing on 8.3 and wanted to know > your opinion on ZFS stability. Is there any success story using > ZFS in 24x7, large volume, heavy duty servers? Is there any > other option other than ZFS to build larger than 2TB file systems? One alternative might be the 'new, improved' UFS -- "UFS2". I believe it supports filesystems up to 2^73 bytes (2^64 sectors). From jhs at berklix.com Fri Jun 22 11:16:44 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Fri Jun 22 11:16:51 2012 Subject: Why Clang In-Reply-To: Your message "Thu, 21 Jun 2012 22:42:12 MDT." <20120622044212.GC24912@hemlock.hydra> Message-ID: <201206221116.q5MBG9kP043426@fire.js.berklix.net> Chad Perrin wrote: > On Thu, Jun 21, 2012 at 01:06:12PM +0200, Wojciech Puchar wrote: > > i already proposed (but not publically) to turn FreeBSD into > > commercial system. > > > > REALLY i would not see a problem to pay say 100$ per server licence. > > I would see a problem with that -- not because I don't think FreeBSD is > worth it. I do, and I think it is worth more than that, in fact. The > biggest problem with what you propose, though, is that it would destroy Hi Chad etc, I admire the perserverance, but maybe "Don't feed the troll" ? Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From bonomi at mail.r-bonomi.com Fri Jun 22 11:19:25 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 11:19:31 2012 Subject: Is ZFS production ready? In-Reply-To: Message-ID: <201206221119.q5MBJg89041285@mail.r-bonomi.com> Wojciech Puchar wrote:` > Subject: Re: Is ZFS production ready? > > stick with UFS. It JUST WORKS(R), and is trusty. > And it works fast. Be sure to descrirbe how that is even _possible_, given that the OP needs/ wants "larger than 2tb" filesystems. From dhaghnia at smartelcom.net Fri Jun 22 09:02:25 2012 From: dhaghnia at smartelcom.net (shahram haghnia) Date: Fri Jun 22 11:20:54 2012 Subject: problem with RAID 1 and requesting for solutions In-Reply-To: Message-ID: Dear Sir/Madam, Iam really appreciate if you take a look into below email and advise me any update. On 6/16/12 7:01 PM, "info smartelcom" wrote: > HI there, > > hope my email find you well, i recently order a server with below > configuration > > INTEL > 1x Quad-Core i5-2500 3.3GHz, 6M Cache > 16GB DDR3 > 2x 500GB SATAII > > then ask from my COLOCATION to install FreeBSD 8.2 or 8.3 with RAID 1, after > many times of fail in installation from colocation they said that we have > problem with RAID 1.we suggest them to play with different kind of RAID like > RAID 5 and they said as our requested server only have 2 HDD, its not possible > to set up RAID 5. > > now they said us that the only way for having backup of DATA in this condition > is set up a scheduled task to put back up of data in the second HDD . > > > > now i really need to know if there is a only way for having data back up in > this condition or you have better idea according to your experience.also if > its the only way , would it be a good level of data security ? > > > looking forward to hear from your side soon. > > Regards, > > Smartelcom Team > > > > Regards Shahram Haghnia Technical Director ------------------------ Smartelcom Communications Global Wholesale Services From bonomi at mail.r-bonomi.com Fri Jun 22 12:10:50 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 12:10:57 2012 Subject: Is ZFS production ready? In-Reply-To: Message-ID: <201206221211.q5MCB7tS041562@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Thu Jun 21 11:50:42 2012 > Date: Thu, 21 Jun 2012 18:47:30 +0200 (CEST) > From: Wojciech Puchar > To: Matthias Gamsjager > Cc: FreeBSD Questions > Subject: Re: Is ZFS production ready? > > > > > True but this applies as much to you. You think you know it all and that is quite the probdlem with you. > > And "discussing" with you is a true waste with this attittute. Even its free. > > > so stop it. "If you don't have something to say, don't say it." --- the immortal words of Wojcciec It's a shame tou don't practice wyat you preach, troll. From bonomi at mail.r-bonomi.com Fri Jun 22 12:23:09 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 12:23:16 2012 Subject: Why Clang In-Reply-To: Message-ID: <201206221223.q5MCNQxp041638@mail.r-bonomi.com> Wojciech Puchar wrote: > >> > >> "We put clang because sponsors wanted it." > >> > > > > > > Sponsors didn't want clang. Sponsors wanted not to be encumbered by a GPLv3 > they are not. > programs compiled by GPLv3 compiler are not encumbered. You don't know what you don't know, trollboi. Anything so much as -linked- with a libarary that is under GPLv3, *IS* subject to GPLv3 terms, -unless- the library has an express exclusion From bonomi at mail.r-bonomi.com Fri Jun 22 12:26:13 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 12:26:19 2012 Subject: Why Clang In-Reply-To: Message-ID: <201206221226.q5MCQUCD041656@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Thu Jun 21 12:37:00 2012 > Date: Thu, 21 Jun 2012 19:30:40 +0200 (CEST) > From: Wojciech Puchar > To: Mark Felder > Cc: freebsd-questions@freebsd.org > Subject: Re: Why Clang > > z> wrote: > > > >> programs compiled by GPLv3 compiler are not encumbered. > > > > This has not been decided in court yet. > > > sources please! Easy! Here is the complete list of court rulings on the matter: [end of list] From bonomi at mail.r-bonomi.com Fri Jun 22 12:28:00 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 12:28:07 2012 Subject: Why Clang In-Reply-To: Message-ID: <201206221228.q5MCSHHa041669@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Thu Jun 21 12:39:02 2012 > Date: Thu, 21 Jun 2012 19:30:23 +0200 (CEST) > From: Wojciech Puchar > To: "Robison, Dave" > Cc: freebsd-questions@freebsd.org > Subject: Re: Why Clang > > > Because there's no reason to do that. It's an asinine suggestion. > > > > Clang is here to stay. Most of us are happy about that decision. GCC > > Because most that are not already stopped and ignored thing. and use GCC. > > Politics won. Liar. *Quality*, mantainability, and standards compliance won. From bonomi at mail.r-bonomi.com Fri Jun 22 12:40:13 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 12:40:20 2012 Subject: Why Clang In-Reply-To: Message-ID: <201206221240.q5MCeVEF041711@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Thu Jun 21 12:44:17 2012 > Date: Thu, 21 Jun 2012 19:36:03 +0200 (CEST) > From: Wojciech Puchar > To: Mark Felder > Cc: freebsd-questions@freebsd.org > Subject: Re: Why Clang > > >> > >> sources please! > > > > Google "GPLv3 court case". There are no applicable results. Until a Judge > > decides what the license truly means everyone using it is at risk. > > true. > > But why anyone from FreeBSD fundation didn't just write official letter > to GNU "Free" Software Foundation asking for just that case? Because it doesn't address an of the *OTHER* valid reasons why GCC is being replaced -- among them: 1) GCC's continuously increasing propensity to generate "bad code", 2) The inability of GCC mamintainers to fix _long-standing_ bugs, some have been identified for over a decade, and have not been fixed. 3) The continuously increasing trend of introducing 'non standard' features, 4) The growing need to 'write around' correct/valid code that GCC will not compile. 5) The fact that the GCC code is 'unmaintainable' -- *NO*ONE* (other than someone who has been working with GCC internals for "forever" --a decade at an absolute minimum) has any chance of 'understanding' what it is doing internally. GPLv3 concerns are 'incidental' to those 'fundamental' issues. It may have been "the straw that broke the camel's back", but there were lots of other VALID reasons to trashcan GCC. From bonomi at mail.r-bonomi.com Fri Jun 22 12:41:38 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 12:41:45 2012 Subject: Why Clang In-Reply-To: Message-ID: <201206221241.q5MCfuZG041722@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Thu Jun 21 12:46:15 2012 > To: freebsd-questions@freebsd.org > Date: Thu, 21 Jun 2012 12:37:48 -0500 > From: Mark Felder > Cc: Wojciech Puchar > Subject: Re: Why Clang > > On Thu, 21 Jun 2012 12:36:03 -0500, Wojciech Puchar > wrote: > > > > > But why anyone from FreeBSD fundation didn't just write official letter > > to GNU "Free" Software Foundation asking for just that case? > > There needs to be a lawsuit and lawyers and judges need to be involved. > You can't just ask the FSF to "explain" themselves. You _can_ ask. The response just doesn't 'mean anything' -- the actual language of the 'license' takes precedence. From wblock at wonkity.com Fri Jun 22 12:47:49 2012 From: wblock at wonkity.com (Warren Block) Date: Fri Jun 22 12:47:57 2012 Subject: OT: Robotics or embedded or hardware programming... what is this called? In-Reply-To: <20120622153224.I46641@sola.nimnet.asn.au> References: <20120621083945.E87771065694@hub.freebsd.org> <20120622153224.I46641@sola.nimnet.asn.au> Message-ID: On Fri, 22 Jun 2012, Ian Smith wrote: > I thought I saw something somewhere (maybe just wishful thinking) about > FreeBSD on the Arduino, which normally runs a sort of embedded Linux, > that could be very interesting; the hardware is cheap (kits at Jaycar > stores in Australia anyway), very modular design, and there are heaps of > fascinating projects. I want the quadricopter to follow me around the > room at parties - at my age I need something really impressive :) Well, there is devel/arduino. It's not emdedded Linux, but an IDE for writing and downloading code. The Arduino is a small embedded controller based on the Atmel AVR microcontrollers. They are quite powerful, easy to program, and accessible for experimenters. You can skip the Arduino environment if you like, using the same lower-level tools like avr-gcc directly. And the Arduino board can be used as a programmer, downloading code to plain AVR chips and avoiding the need for more Arduino boards. Talk about the Arduino on FreeBSD is generally on the freebsd-embedded mailing list. The Microchip PIC microcontrollers compete with the AVR. There are some FreeBSD ports for programming those, but there are many varying chips and the hardware needed to program some of them differs. I don't know if there is anything directly comparable to the Arduino IDE. ARM processors have become so cheap that they are starting to compete in this arena also. > On the FreeBSD side there's advanced work, I gather, on ARM and Atmel > MEGA 32-bit and MIPS platforms at least. Personally I consider these > 'big iron' and far prefer writing in macro assembler for little Atmel > Tiny25s and such, but that's strictly "Look Ma, no OS!" programming. Another option: the freebsd-wireless list has had some very interesting traffic about the TP-Link TL-WR1043ND, a $50 MIPS-based wireless router with Atheros 802.11n chipset, USB, and gigabit Ethernet which can run FreeBSD directly. Not sure how usable it is at present. From developerunix at gmail.com Fri Jun 22 13:13:15 2012 From: developerunix at gmail.com (UNIX developer @ Google.com) Date: Fri Jun 22 13:13:22 2012 Subject: Problem with routing in VmWare VMS In-Reply-To: References: <1842148286.20120621235936@gmail.com> Message-ID: <1988813484.20120622161309@gmail.com> Ok, I understud! I remove from rc.conf this rows: static_routes="clnet" route_clnet="-net 192.168.2.0/24 192.168.1.10" new rc.conf: ifconfig_em0=" inet 192.168.1.10 netmask 255.255.255.0" ifconfig_em1=" inet 192.168.2.1 netmask 255.255.255.0" defaultrouter="192.168.1.1" gateway_enable="YES" now after reboot the problem still the same. ping -S 192.168.2.1 192.168.1.1 PING 192.168.1.1 (192.168.1.1) from 192.168.2.1: 56 data bytes ^C --- 192.168.1.1 ping statistics --- 8 packets transmitted, 0 packets received, 100.0% packet loss netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 38 em0 127.0.0.1 link#4 UH 0 0 lo0 192.168.1.0/24 link#1 U 0 1153 em0 192.168.1.10 link#1 UHS 0 6 lo0 192.168.2.0/24 link#2 U 0 0 em1 192.168.2.1 link#2 UHS 0 6 lo0 Where more can be trouble? ------------- ?? ?????? 22 ???? 2012 ?., 0:56:49: > On Thu, 21 Jun 2012 15:59:36 -0500, UNIX developer @ Google.com > wrote: >> /etc/rc.conf >> ifconfig_em0=" inet 192.168.1.10 netmask 255.255.255.0" >> ifconfig_em1=" inet 192.168.2.1 netmask 255.255.255.0" >> defaultrouter="192.168.1.1" >> gateway_enable="YES" >> static_routes="clnet" >> route_clnet="-net 192.168.2.0/24 192.168.1.10" > You simply CANNOT do this. Traffic for 192.168.2.0/24 is bound to em1 and > cannot be changed. You setup a static route that basically says "to find > 192.168.2.0/24, don't use em1 but instead ask 192.168.1.10 how to find it"? > This makes no sense at all. -- ? ?????????, UNIX mailto:developerunix@gmail.com From developerunix at gmail.com Fri Jun 22 13:35:58 2012 From: developerunix at gmail.com (UNIX developer @ Google.com) Date: Fri Jun 22 13:36:06 2012 Subject: Problem with routing in VmWare VMS In-Reply-To: References: <1842148286.20120621235936@gmail.com> <1274191465.20120622161043@gmail.com> Message-ID: <853166013.20120622163552@gmail.com> Thank you, Mark! All work! ------------- ?? ?????? 22 ???? 2012 ?., 16:31:39: > On Fri, 22 Jun 2012 08:10:43 -0500, UNIX developer @ Google.com > wrote: >> now after reboot the problem still the same. >> ping -S 192.168.2.1 192.168.1.1 >> PING 192.168.1.1 (192.168.1.1) from 192.168.2.1: 56 data bytes >> ^C >> --- 192.168.1.1 ping statistics --- >> 8 packets transmitted, 0 packets received, 100.0% packet loss > 192.168.1.1 does not know how to find 192.168.2.1, so it can't respond to > the ping. I bet it only has a default route to the internet. If you add a > static route on 192.168.1.1 telling it that it can find 192.168.2.0/24 at > 192.168.1.10 it will probably work. > On 192.168.1.1: > route add -net 192.168.2.0/24 192.168.1.10 > Now the pings will work. -- ? ?????????, UNIX mailto:developerunix@gmail.com From axelbsd at ymail.com Fri Jun 22 14:13:08 2012 From: axelbsd at ymail.com (Alexandre) Date: Fri Jun 22 14:13:15 2012 Subject: Problem with routing in VmWare VMS In-Reply-To: <1988813484.20120622161309@gmail.com> References: <1842148286.20120621235936@gmail.com> <1988813484.20120622161309@gmail.com> Message-ID: On Fri, Jun 22, 2012 at 3:13 PM, UNIX developer @ Google.com < developerunix@gmail.com> wrote: > Ok, I understud! > I remove from rc.conf this rows: > static_routes="clnet" > route_clnet="-net 192.168.2.0/24 192.168.1.10" > > new rc.conf: > ifconfig_em0=" inet 192.168.1.10 netmask 255.255.255.0" > ifconfig_em1=" inet 192.168.2.1 netmask 255.255.255.0" > defaultrouter="192.168.1.1" > gateway_enable="YES" > > > now after reboot the problem still the same. > > ping -S 192.168.2.1 192.168.1.1 > PING 192.168.1.1 (192.168.1.1) from 192.168.2.1: 56 data bytes > ^C > --- 192.168.1.1 ping statistics --- > 8 packets transmitted, 0 packets received, 100.0% packet loss > > > netstat -nr > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.1.1 UGS 0 38 em0 > 127.0.0.1 link#4 UH 0 0 lo0 > 192.168.1.0/24 link#1 U 0 1153 em0 > 192.168.1.10 link#1 UHS 0 6 lo0 > 192.168.2.0/24 link#2 U 0 0 em1 > 192.168.2.1 link#2 UHS 0 6 lo0 > > Where more can be trouble? > > > ------------- > ?? ?????? 22 ???? 2012 ?., 0:56:49: > > > On Thu, 21 Jun 2012 15:59:36 -0500, UNIX developer @ Google.com > > wrote: > > >> /etc/rc.conf > >> ifconfig_em0=" inet 192.168.1.10 netmask 255.255.255.0" > >> ifconfig_em1=" inet 192.168.2.1 netmask 255.255.255.0" > >> defaultrouter="192.168.1.1" > >> gateway_enable="YES" > >> static_routes="clnet" > >> route_clnet="-net 192.168.2.0/24 192.168.1.10" > > > You simply CANNOT do this. Traffic for 192.168.2.0/24 is bound to em1 > and > > cannot be changed. You setup a static route that basically says "to find > > 192.168.2.0/24, don't use em1 but instead ask 192.168.1.10 how to find > it"? > > > This makes no sense at all. > > > -- > ? ?????????, > UNIX mailto:developerunix@gmail.com > Hi, Your problem, as Mark told you, is that you are buildinga gateway to connect two networks on the same subnet. Regards, Alexandre From lreid at cs.okstate.edu Fri Jun 22 14:24:58 2012 From: lreid at cs.okstate.edu (Reid Linnemann) Date: Fri Jun 22 14:25:05 2012 Subject: Why Clang In-Reply-To: <20120622042703.GB24912@hemlock.hydra> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <20120622042703.GB24912@hemlock.hydra> Message-ID: On Thu, Jun 21, 2012 at 11:27 PM, Chad Perrin wrote: > I disagree with the assessment by others that FreeBSD is in some way > effectively a subsidiary of its corporate users, but it does have > corporate users, as well as non-corporate users. ?Just as it must > reasonably see to the needs of the individuals who use it, so must it > also reasonably see to the needs of those corporate users, especially > when some of those corporate users' employees are key developers for the > base system (to the significant benefit of the rest of us). ?Thus, saying > that a particular set of conditions having an impact on commercial > sponsors of FreeBSD has "zero bearing on FreeBSD itself" is just . . . > incorrect. And I would like to stress on this point that, when I referred to corporate sponsorship in an earlier post, I was thinking specifically about the sponsorship of employing developers that keep the system moving forward, not necessarily monetary donations. The foundation does need money, but the software is doomed if no one is gainfully employed to maintain and enhance it. I think there is an altruistic fiction that many people subscribe to that free software is merely the result of the generosity of developers producing code of their own volition and on their own spare time and "giving it away," and from that viewpoint the act of considering concerns of a sponsoring entity amounts to "selling out." The reality is much different and much more complex, as you well know. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 22 14:26:00 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 22 14:26:07 2012 Subject: Why Clang In-Reply-To: <201206221240.q5MCeVEF041711@mail.r-bonomi.com> References: <201206221240.q5MCeVEF041711@mail.r-bonomi.com> Message-ID: > Because it doesn't address an of the *OTHER* valid reasons why GCC is > being replaced -- among them: > 1) GCC's continuously increasing propensity to generate "bad code", examples? All test shows that gcc code is not only bad, but very good. Why are you just saying things you know isn't true? > 2) The inability of GCC mamintainers to fix _long-standing_ bugs, some > have been identified for over a decade, and have not been fixed. That's true. still not that much. > 3) The continuously increasing trend of introducing 'non standard' features, No need to use them. From c.kworr at gmail.com Fri Jun 22 14:44:38 2012 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Fri Jun 22 14:44:46 2012 Subject: Why Clang In-Reply-To: References: <201206221240.q5MCeVEF041711@mail.r-bonomi.com> Message-ID: <4FE484D0.7030005@gmail.com> Wojciech Puchar wrote: >> Because it doesn't address an of the *OTHER* valid reasons why GCC is >> being replaced -- among them: >> 1) GCC's continuously increasing propensity to generate "bad code", > > examples? All test shows that gcc code is not only bad, but very good. > Why are you just saying things you know isn't true? 0k, what if I add my example? Hardware: Processor: Intel Xeon E5620 (16 Cores), Motherboard: Supermicro X8DT3 1234567890, Memory: 24576MB, Disk: SEAGATE ST3146855SS S527 + SEAGATE ST31000640SS 0001 + SEAGATE ST31000640SS 0001 + SEAGATE ST3146855SS S528 + TOSHIBA Trans 1.00 + TEAC DV-28S-V 1.0B Software: OS: FreeBSD, Kernel: 9.0-RELEASE-p3 (x86_64), Compiler: GCC 4.2.1 20070831 + Clang 3.0 (SVN 142614), File-System: zfs CPUTYPE=core2 clang 3.0 Test project /tmp/ports/usr/ports/graphics/png/work/libpng-1.5.11 Start 1: pngtest 1/2 Test #1: pngtest .......................... Passed 0.02 sec Start 2: pngvalid 2/2 Test #2: pngvalid ......................... Passed 14.03 sec gcc 4.6 (lang/gcc, USE_GCC=4.6+) Test project /tmp/ports/usr/ports/graphics/png/work/libpng-1.5.11 Start 1: pngtest 1/2 Test #1: pngtest .......................... Passed 0.02 sec Start 2: pngvalid 2/2 Test #2: pngvalid ......................... Passed 14.40 sec gcc 4.2.1 Test project /tmp/ports/usr/ports/graphics/png/work/libpng-1.5.11 Start 1: pngtest 1/2 Test #1: pngtest .......................... Passed 0.02 sec Start 2: pngvalid 2/2 Test #2: pngvalid ......................... Passed 14.96 sec This one shows that clang is superior to both gcc 4.2.1 and gcc 4.6. I haven't test data now but a month or so ago I tested them on one of the Alioth Shootout examples (nestedloop probably). gcc 4.2.1 was winning, clang was close with fractions of percent drop of speed but gcc 4.6 was off for nearly 7%. >> 3) The continuously increasing trend of introducing 'non standard' >> features, > No need to use them. There's no 'Unsubscribe me' link included... -- Sphinx of black quartz judge my vow. From gobble.wa at gmail.com Fri Jun 22 15:14:21 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Fri Jun 22 15:14:29 2012 Subject: Could someone help me with Dovecot AD integration PAM setup? In-Reply-To: References: Message-ID: On Jun 22, 2012 1:45 AM, "Kaya Saman" wrote: > > Hi, > > I'm trying to authenticate Dovecot to Active Directory using the > SAMBA/Winbind method and so far my setup seems that everything is > working apart from the Dovecot authentication which I believe I have > traced to PAM. > > I can login using an AD account using: > > wbinfo -K > > # wbinfo -K > Enter 's password: > plaintext kerberos password authentication for [] succeeded > (requesting cctype: FILE) > > > This is the current Dovecot config: > > > # cat dovecot.conf > # v1.1: > #auth_ntlm_use_winbind = yes > # v1.2+: > auth_use_winbind = yes > > auth_winbind_helper_path = /usr/local/bin/ntlm_auth > > protocols = imap > > # It's nice to have separate log files for Dovecot. You could do this > # by changing syslog configuration also, but this is easier. > log_path = /var/log/dovecot.log > info_log_path = /var/log/dovecot-info.log > > # Disable SSL for now. > ssl = no > disable_plaintext_auth = no > > # We're using Maildir format > #mail_location = maildir:~/Maildir > mail_location = mbox:/mail:INBOX=/mail/%u > > # If you're using POP3, you'll need this: > #pop3_uidl_format = %g > > # Authentication configuration: > auth_verbose = yes > auth_debug = yes > auth_username_format = %n > auth_mechanisms = plain ntlm login > userdb { > driver = static > args = uid=501 gid=501 home=/mail/%u > driver = static > } > > passdb { > driver = pam > } > > > > Here is a "test" login attempt: > > > # telnet localhost 143 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE > IDLE AUTH=PLAIN AUTH=NTLM AUTH=LOGIN] Dovecot ready. > a login > a NO [AUTHENTICATIONFAILED] Authentication failed. > b logout > * BYE Logging out > b OK Logout completed. > > > - of course the proper credentials were put in..... > > > Here is the details of pam.d/imap: > > > # cat imap > # > # $FreeBSD: src/etc/pam.d/imap,v 1.7.10.1.6.1 2010/12/21 17:09:25 kensmith Exp $ > # > # PAM configuration for the "imap" service > # > > # auth > auth sufficient pam_winbind.so no_warn > try_first_pass debug > #auth sufficient pam_ssh.so no_warn try_first_pass > auth required pam_unix.so no_warn try_first_pass > > # account > #account required pam_nologin.so > account required pam_unix.so > #account required pam_winbind.so > > > I also attempted a change in pam.d/system: > > > # cat system > # > # $FreeBSD: src/etc/pam.d/system,v 1.1.32.1.6.1 2010/12/21 17:09:25 > kensmith Exp $ > # > # System-wide defaults > # > > # auth > auth sufficient pam_opie.so no_warn no_fake_prompts > auth requisite pam_opieaccess.so no_warn allow_local > auth sufficient pam_krb5.so no_warn try_first_pass > #auth sufficient pam_ssh.so no_warn try_first_pass > auth required pam_unix.so no_warn > try_first_pass nullok > > # account > account required pam_krb5.so > account required pam_login_access.so > account required pam_unix.so > > # session > #session optional pam_ssh.so > session required pam_lastlog.so no_fail > > # password > password sufficient pam_krb5.so no_warn try_first_pass > password required pam_unix.so no_warn try_first_pass > > > > Which don't let me login to the Dovecot service :-( > > > > The dovecot.log file shows this: > > > Jun 20 11:30:40 master: Warning: Killed with signal 15 (by pid=4149 > uid=0 code=kill) > Jun 20 11:30:48 auth: Fatal: No passdbs specified in configuration > file. LOGIN mechanism needs one > Jun 20 11:30:48 master: Error: service(auth): command startup failed, > throttling for 2 secs > Jun 20 11:30:59 master: Warning: Killed with signal 15 (by pid=4182 > uid=0 code=kill) > Jun 20 11:31:13 auth: Fatal: No passdbs specified in configuration > file. LOGIN mechanism needs one > Jun 20 11:31:13 master: Error: service(auth): command startup failed, > throttling for 2 secs > Jun 20 11:32:38 master: Warning: Killed with signal 15 (by pid=4245 > uid=0 code=kill) > Jun 20 11:32:58 imap-login: Warning: Auth connection closed with 1 > pending requests (max 0 secs, pid=4265, EOF) > Jun 20 11:32:58 auth: Fatal: master: service(auth): child 4266 killed > with signal 11 (core not dumped - set service auth { > drop_priv_before_exec=yes }) > Jun 20 11:46:21 master: Warning: Killed with signal 15 (by pid=4318 > uid=0 code=kill) > Jun 20 11:46:42 auth-worker(4340): Error: pam(,127.0.0.1): > pam_authenticate() failed: authentication error (/etc/pam.d/dovecot > missing?) > Jun 20 11:46:55 auth: Error: Got NTLMSSP neg_flags=0xa2088207 > Jun 20 11:46:55 auth: Error: Got user=[] domain=[] > workstation=[WKS-42] len1=24 len2=270 > Jun 20 11:46:55 auth: Error: Login for user []\[]@[WKS-42] > failed due to [Reading winbind reply failed!] > Jun 20 11:49:47 master: Warning: Killed with signal 15 (by pid=4400 > uid=0 code=kill) > Jun 20 11:49:53 auth: Fatal: passdb imap: Missing host parameter > Jun 20 11:49:53 master: Error: service(auth): command startup failed, > throttling for 2 secs > Jun 20 11:50:10 master: Warning: Killed with signal 15 (by pid=4439 > uid=0 code=kill) > Jun 20 11:50:22 auth-worker(4461): Error: pam(,127.0.0.1): > pam_authenticate() failed: authentication error (/etc/pam.d/dovecot > missing?) > Jun 20 11:51:19 master: Warning: Killed with signal 15 (by pid=4479 > uid=0 code=kill) > Jun 20 11:52:14 master: Warning: Killed with signal 15 (by pid=4647 > uid=0 code=kill) > Jun 20 12:26:12 master: Warning: Killed with signal 15 (by pid=1349 > uid=0 code=kill) > Jun 20 12:26:32 auth-worker(1371): Error: pam(,127.0.0.1): > pam_authenticate() failed: authentication error (/etc/pam.d/dovecot > missing?) > Jun 20 12:40:20 master: Warning: Killed with signal 15 (by pid=1436 > uid=0 code=kill) > Jun 20 12:40:39 auth-worker(1458): Error: pam(,127.0.0.1): > pam_authenticate() failed: authentication error (/etc/pam.d/dovecot > missing?) > Jun 20 13:06:03 master: Warning: Killed with signal 15 (by pid=1653 > uid=0 code=kill) > Jun 20 13:07:37 auth-worker(1222): Error: pam(,127.0.0.1): > pam_authenticate() failed: authentication error (/etc/pam.d/dovecot > missing?) > Jun 20 15:05:11 master: Warning: Killed with signal 15 (by pid=91263 > uid=0 code=kill) > Jun 22 10:02:03 master: Warning: Killed with signal 15 (by pid=38998 > uid=0 code=kill) > Jun 22 10:04:08 auth-worker(1229): Error: pam(,127.0.0.1): > pam_authenticate() failed: authentication error (/etc/pam.d/dovecot > missing?) > Jun 22 10:10:47 master: Warning: Killed with signal 15 (by pid=1394 > uid=0 code=kill) > Jun 22 10:12:36 auth-worker(1218): Error: pam(,127.0.0.1): > pam_authenticate() failed: authentication error (/etc/pam.d/dovecot > missing?) > Jun 22 10:20:57 auth-worker(1232): Error: pam(,127.0.0.1): > pam_authenticate() failed: authentication error (/etc/pam.d/dovecot > missing?) > > > > Can anybody help me with this? > > > Regards, > > > Kaya > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" hi, The log indicates its looking for /etc/pam.d/dovecot (instead of imap?) ..... maybe that's the issue. Waitman Gobble San Jose California USA From perrin at apotheon.com Fri Jun 22 16:09:06 2012 From: perrin at apotheon.com (Chad Perrin) Date: Fri Jun 22 16:09:13 2012 Subject: backup tools Message-ID: <20120622160903.GE24912@hemlock.hydra> I'm setting up a "new" backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. I'm trying to decide on what tools to use for managing backups. In the past I have used rsync, which has worked reasonably well, but fails one of my desired criteria for the new backup procedures, and is less than ideal for others. My criteria for procedures are: 1. They should minimize the need for additional software beyond the base system as much as reasonably possible. This means not only that I do not want to have to specify the installation of a bunch of stuff, but also that I do not want a bunch of dependencies pulled in with something I choose to install (if anything). Ideally, I should be able to do this with just the base system, though that seems unlikely at this point. 2. They should require only copyfree licensed or public domain tools -- no copyleft licensed tools, no proprietary licensed tools, no noncommercial or nonderivative licensed tools, and no "permissively" licensed tools where the license comes with annoying restrictions such as the Apache License requirements for specific bookkeeping procedures. I might bend on the requirement for non-copyfree "permissive" licenses if I have to, but I'd rather not; bending on any of the others would probably involve just giving up and going back to rsync. 3. They should provide for incremental backups. 4. They should provide for the ability to quickly and easily test backup integrity without restoring the backups anywhere, which most likely means some kind of checksum comparisons akin to what rsync provides. 5. They should allow for transferring data from the system to be backed up to the backup server via SSH. 6. They should use tools as simple as possible, preferably command line tools. 7. There should be documentation somewhere out there for how to set something like this up, someone willing to help me figure out how to get it set up, or an obvious path to setting it up so that I do not spend a week just figuring it all out, if at all possible. 8. They should preferably not require creating a local archive on the laptop before copying to the backup server if it can reasonably be avoided, so that a big chunk of empty HDD space will not need to be maintained for backups to work. Any help figuring out what tools would work for these purposes would be appreciated. I might be able to make exceptions for some parts of this if there are suitable alternative approaches. Thanks in advance for any help I can get in figuring this out. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From feld at feld.me Fri Jun 22 16:38:28 2012 From: feld at feld.me (Mark Felder) Date: Fri Jun 22 16:38:35 2012 Subject: Why Clang In-Reply-To: References: <201206221240.q5MCeVEF041711@mail.r-bonomi.com> Message-ID: On Fri, 22 Jun 2012 09:25:55 -0500, Wojciech Puchar wrote: > examples? All test shows that gcc code is not only bad, but very good. > Why are you just saying things you know isn't true? Fast code is not guaranteed to be correct code. From lists at eitanadler.com Fri Jun 22 17:41:13 2012 From: lists at eitanadler.com (Eitan Adler) Date: Fri Jun 22 17:41:19 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: On 21 June 2012 04:24, Fred Morcos wrote: > > ? ? ? ? ? ? ? ? ? ? Introduction and background > q) Is it possible to run a FreeBSD system without much building? In > other words, can I survive by depending on packages and only resorting > to ports when really needed? To an extent. It is currently possible to use only packages, but they tend to be out of date and upgrading is non-easy without a third party tool (such as portmaster or portupgrade). There is currently active work to fix these issues in a project called pkgng. This will likely become the default in the next couple of months. > q) Where does the FreeBSD project stand on this matter? From what I > noticed is that the base system seems to adhere to the tranditional > flat text files for configuration and simple tools that do a good job, > leaving it up to the user to combine those small tools to create > larger, more complex ones (a UNIX inheritance). FreeBSD tends to be conservative. The project won't implement a complex daemon without clear benefits and specific discussion on the pros and cons. > q) Is a FreeBSD stable base system with "current" high-level > components possible? Will it avoid the issues I experienced on > Linux-based systems? Generally, yes. There will likely be some adjustment period as you learn how FreeBSD works, but most people have few problems. > q) I would assume UFS with J+SU is "fast enough" for a laptop? Yes. Most people call it "SU+J" ;). Don't use it for an SSD though > q) Does ZFS make sense on a laptop? Any advantages of using it over > USF with J+SU? I am not interested in any striping or mirroring on > the laptops, but the compression features is very attractive for the > HDDs in the first laptop. ZFS is ram hog. How much ram does your laptop have? > q) The second laptop has an SSD, would UFS with/without J and > with/without SU or ZFS make more sense for it? Make sure to enable TRIM support if your SSD supports it. > q) Can I live with a desktop environment (Gnome or KDE) and desktop > applications (Firefox, Libreoffice, etc) by relying only on packages? Sort of. With pkgng this will become a lot easier. If you are currently willing to deal with out of date packages until pkgng becomes default (or want to work with non-default technology now) it will be possible. > q) Does the NVIDIA binary driver work reliably? I would like to hear > personal experiences with that. Yes. This has never been the cause of any problem for me > q) Does the bsdinstall align partitions to device blocks by default > for optimal speed? If not, I have found that I can use gpart with -a > and -b which will require me to calculate the start and end offsets of > each partition manually. Is there a tool that can automatically do > that for me? You said you had an SSD: it doesn't matter. > q) Adding tmpmfs="YES" to /etc/rc.conf is analogous to a tmpfs /tmp on > Linux-based systems, correct? Yes. > Any other directories that might make > sense to have as an mfs (ie, in /var)? Don't use tmpfs for anything in /var > q) Is there a place where all sysctl variables are documented? It > occurred to me when I was trying to find the memory usage on my system > but `sysctl -a | grep mem' shows a whole bunch of stuff. You can try sysctl -ad but most of the systls are either documented in man pages or not at all. :( > q) How can I set proxy settings system-wide? Same for PACKAGESITE (for > the pkg_* tools), how can I set a mirror system-wide? /etc/profile? Same as any other unix system. It depends on what shell you use. > q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is there > a way to change that system-wide to be in human-readable format? usually adding -h (for "human") helps. Also try setting BLOCKSIZE. each program might have some more explanation in the man page. > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?System > > To assess my understanding, the system is split into kernel, base, > documentation, games, lib32 (on 64-bit systems) and ports. This distinction is rarely used. The only place that cares for these differences is the installer. > There is > another split between base and ports where base includes everything > previously mentioned minus ports. This is the one that matters >Now, there are 3 "branches" of the > base system: RELEASE, STABLE and CURRENT. RELEASE means 9.0 and stays > that way until 10.0 is released. STABLE means 9.0, 9.1, 9.2, > etc. CURRENT means "trunk" in SVN terms. Is all that correct? This is incorrect. RELEASE are all releases: There is 9.0, 9.1, 9.2, etc. STABLE is a misnomer: it is a *development* branch but the ABI / KPI is kept stable. CURRENT is "HEAD" and where new commits go before being "MFCed" or Merged From Current to -stable. Releases are branched from -STABLE. -STABLE is branched from -HEAD. > Also, > when somewhere is mentioned `make world', this means to rebuild all > installed ports which doesn't include base, I assume? "make world" is always wrong. "make buildworld" is closer. In source land "world" is everything but the kernel. Ports are not related. > q) The files in /etc/rc.d are all executable, from my understanding, > those files will get executed and it is their duty to check the > variable `_enable' for whether they should start or > not. Wouldn't it be more efficient to chmod -x or +x them to > disable/enable? For a variety of reasons, no. They do more than just check *_enable in complex cases. > q) Is there a tool that can test a set of mirrors for connection time > and speed (for packages and ports)? Analogous to Archlinux's > rankmirrors? looks in ports-mgmt/ there is fastestmirrors or something like that. I ran it once and forgot about it ;) > q) Is it possible for the pkg_* tools (especially pkg_add -r) to > display progress? no. > q) I noticed in the ports collection that there were some outdated > packages (skype-2.2, gimp-2.6), should I report that and where? (A > PR?) skype is out of date cause the newer ones don't work. Generally, reporting out of date ports as PRs with patches (or to ports@freebsd.org without patches might help) is a good thing. Larger ports tend to be actively maintained. For gimp try asking gnome@freebsd.org for progress. > q) Is it possible to have the ports system compile into an mfs (to > avoid disk access)? Yes. Set WRKDIRPREFIX in /etc/make.conf to a mfs disk > q) Is it possible to have the user asked to change their password the > first time they log in (using an OTP) in a simple way? I looked at > OPIE but it seems to be much more complex than what I need. Look at pw -e ? Hope I helped and didn't disappoint too much :) -- Eitan Adler From jamesbrandongooch at gmail.com Fri Jun 22 17:44:07 2012 From: jamesbrandongooch at gmail.com (Brandon Gooch) Date: Fri Jun 22 17:44:14 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <4FE40A42.6010503@zedat.fu-berlin.de> References: <4FE40A42.6010503@zedat.fu-berlin.de> Message-ID: On Fri, Jun 22, 2012 at 1:01 AM, O. Hartmann wrote: > I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD > shown below. > When first used, I was able to put approx. 30 GB of data on it - it was > visible to FreeBSD 9 and 10 as expected. > A Linux system at the lab was also capable of recognizing it. After > that, I tried to operate on the stick on a Notebook, FreeBSD 9, and > another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive > anymore - sometimes, but this seems to be a gambling issue :-( > > Trying Linux on different hardware platforms and even those machines > prior not recognizing the USB drive do recognize the drive as Lexar USB > Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu > 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and > pull data from it. > > So, since the USB drive won't work with three different FreeBSD boxes > (one running 9-STABLE, two 10-CURRENT, all systems most recent sources > and buildworld from a day ago). > I suspect either a weird configuration issue I use on all platforms in > questions in common triggering the weird beviour - or FreeBSD is simply > incapable of handling the 64GB drive. I do not have issues with USB > drives with capacities of 32, 8 or 4 GB of different brands. > > As shown in the portion of the dmesg below, the USB drive is recognized > physically. It doesn't matter whether USB port I use (I tried all > available on all boxes and in most cases I use a Dell UltraSharp powered > in-screen HUB). Since other OSes handle the drive as expected, I exclude > hardware issues. > > All FreeBSD in common is the fact I use the new device ahaci/device ata > CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). > > Apart from trying a GENERIC kernel (which is next I will do this > weekend), does anyone have similar experiences and probably solutions? > > Regards, > oh > > ugen7.6: at usbus7 > umass1: on usbus7 > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Retrying command > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted > I see similar behavior and output on my Dell M6500 notebook running CURRENT, but only on two ports which are some type of hybrid USB 2.0/3.0 (configurable via BIOS setting). If I use either of these ports with a USB 2.0 device while running the ports in USB 3.0 mode (using xhci(4)), I can't reliably get a device to properly attach. I say reliably, because every once in a while, I can plug a device in and it works fine, even multiple times and after reboots. If I configure these ports to run in USB 2.0 mode (using ehci(4)), all of my USB 2.0 devices seem to work without fail. However, USB 3.0 devices do not attach on these ports when they are configured as USB 2.0 ports. So, at least on my notebook, these ports must be configured at either 2.0 or 3.0, depending on which device I plan on using :( I have one other port on this same system that is USB 2.0-only, and it works all of the time :) I'll have to try and add a hub into the mix to see if perhaps it is a power issue (although with a recent Linux kernel and Windows 7, all is well no matter what configuration I provide). It may be that FreeBSD's USB subsystem lacks some extra bit of code required to configure the ports properly in regard to power. -Brandon From walterhurry at gmail.com Fri Jun 22 18:19:28 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Fri Jun 22 18:19:35 2012 Subject: Sendmail and Postfix Message-ID: A little digging around has revealed that there are two 'mailq' executables on my system: /usr/local/bin/mailq and /usr/bin/mailq. The first is part of the mail/postfix-current port which I have installed and use, and the second is presumably part of Sendmail, which I have not installed and do not use. It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? Sorry if this is a newbie question; I am as yet relatively unfamiliar with FreeBSD, being a refugee from GNU/Linux. This is FreeBSD 9.0-RELEASE, by the way. From gobble.wa at gmail.com Fri Jun 22 18:34:42 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Fri Jun 22 18:35:00 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: References: <4FE40A42.6010503@zedat.fu-berlin.de> Message-ID: On Jun 22, 2012 10:45 AM, "Brandon Gooch" wrote: > > On Fri, Jun 22, 2012 at 1:01 AM, O. Hartmann > wrote: > > I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD > > shown below. > > When first used, I was able to put approx. 30 GB of data on it - it was > > visible to FreeBSD 9 and 10 as expected. > > A Linux system at the lab was also capable of recognizing it. After > > that, I tried to operate on the stick on a Notebook, FreeBSD 9, and > > another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive > > anymore - sometimes, but this seems to be a gambling issue :-( > > > > Trying Linux on different hardware platforms and even those machines > > prior not recognizing the USB drive do recognize the drive as Lexar USB > > Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu > > 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and > > pull data from it. > > > > So, since the USB drive won't work with three different FreeBSD boxes > > (one running 9-STABLE, two 10-CURRENT, all systems most recent sources > > and buildworld from a day ago). > > I suspect either a weird configuration issue I use on all platforms in > > questions in common triggering the weird beviour - or FreeBSD is simply > > incapable of handling the 64GB drive. I do not have issues with USB > > drives with capacities of 32, 8 or 4 GB of different brands. > > > > As shown in the portion of the dmesg below, the USB drive is recognized > > physically. It doesn't matter whether USB port I use (I tried all > > available on all boxes and in most cases I use a Dell UltraSharp powered > > in-screen HUB). Since other OSes handle the drive as expected, I exclude > > hardware issues. > > > > All FreeBSD in common is the fact I use the new device ahaci/device ata > > CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). > > > > Apart from trying a GENERIC kernel (which is next I will do this > > weekend), does anyone have similar experiences and probably solutions? > > > > Regards, > > oh > > > > ugen7.6: at usbus7 > > umass1: on usbus7 > > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > > (probe0:umass-sim1:1:0:0): Retrying command > > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > > (probe0:umass-sim1:1:0:0): Retrying command > > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > > (probe0:umass-sim1:1:0:0): Retrying command > > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > > (probe0:umass-sim1:1:0:0): Retrying command > > (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > > (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > > (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted > > > > I see similar behavior and output on my Dell M6500 notebook running > CURRENT, but only on two ports which are some type of hybrid USB > 2.0/3.0 (configurable via BIOS setting). > > If I use either of these ports with a USB 2.0 device while running the > ports in USB 3.0 mode (using xhci(4)), I can't reliably get a device > to properly attach. I say reliably, because every once in a while, I > can plug a device in and it works fine, even multiple times and after > reboots. > > If I configure these ports to run in USB 2.0 mode (using ehci(4)), all > of my USB 2.0 devices seem to work without fail. However, USB 3.0 > devices do not attach on these ports when they are configured as USB > 2.0 ports. > > So, at least on my notebook, these ports must be configured at either > 2.0 or 3.0, depending on which device I plan on using :( > > I have one other port on this same system that is USB 2.0-only, and it > works all of the time :) > > I'll have to try and add a hub into the mix to see if perhaps it is a > power issue (although with a recent Linux kernel and Windows 7, all is > well no matter what configuration I provide). It may be that FreeBSD's > USB subsystem lacks some extra bit of code required to configure the > ports properly in regard to power. > > -Brandon > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" There are 3 drivers, one for 3.0, 2.0 and 1.0, and they are associated to corresponding devices at boot. I'll play around with it this weekend and see how to switch, i've also noticed issue connecting 2.0 device to 3.0 port. Waitman Gobble San Jose California USA From matthew at FreeBSD.org Fri Jun 22 18:40:07 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Fri Jun 22 18:40:14 2012 Subject: Sendmail and Postfix In-Reply-To: References: Message-ID: <4FE4BBFB.4080107@FreeBSD.org> On 22/06/2012 19:19, Walter Hurry wrote: > It seems that Sendmail is embedded somehow in the base system. What is > the 'approved' way to get rid of /usr/bin/mailq? Or better, remove > Sendmail? You don't need to remove the base system sendmail. All you need to do is set up /etc/mail/mailer.conf properly -- and installing the postfix port should do that for you -- and then any reference to /usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run postfix instead. It's really very nicely done. See mailer.conf(5) Cheers, Matthew PS. Alright, yes. You can prevent sendmail from being built as part of the base system by defining 'WITHOUT_SENDMAIL=yes' in /etc/src.conf, but this supposes that you want to build the system yourself, rather than using, say, freebsd-update(8). See src.conf(5) and read in /usr/src/UPDATING and the Handbook about the procedure for building the system from source. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120622/60c47b3b/signature.pgp From feld at feld.me Fri Jun 22 18:41:48 2012 From: feld at feld.me (Mark Felder) Date: Fri Jun 22 18:42:09 2012 Subject: Sendmail and Postfix In-Reply-To: References: Message-ID: When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. From m.seaman at infracaninophile.co.uk Fri Jun 22 18:44:41 2012 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Jun 22 18:44:48 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: <4FE4BD13.3000204@infracaninophile.co.uk> On 22/06/2012 18:40, Eitan Adler wrote: >> q) Is there a place where all sysctl variables are documented? It >> > occurred to me when I was trying to find the memory usage on my system >> > but `sysctl -a | grep mem' shows a whole bunch of stuff. > You can try sysctl -ad but most of the systls are either documented in > man pages or not at all. :( It would be a really handy thing if the output of 'sysctl -d' told you what man page to refer to for more information. A neat little project but pretty boring to implement. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120622/28cafbbf/signature.pgp From rsmith at xs4all.nl Fri Jun 22 18:48:18 2012 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Jun 22 18:48:26 2012 Subject: backup tools In-Reply-To: <20120622160903.GE24912@hemlock.hydra> References: <20120622160903.GE24912@hemlock.hydra> Message-ID: <20120622184740.GA67847@slackbox.erewhon.net> On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: > I'm setting up a "new" backup server using FreeBSD. It will be used for > backing up laptops, which will not be connected to the network by any > kind of schedule, so backups will be initiated manually rather than by > cron or other scheduled procedures. What are the laptops running? Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120622/cced6fab/attachment.pgp From brian at brianwhalen.net Fri Jun 22 18:51:18 2012 From: brian at brianwhalen.net (Brian W.) Date: Fri Jun 22 18:51:26 2012 Subject: Sendmail and Postfix In-Reply-To: <4FE4BBFB.4080107@FreeBSD.org> References: <4FE4BBFB.4080107@FreeBSD.org> Message-ID: During subsequent system upgrades, of you build from source, you should watch out for thus during the mergemaster piece. Brian On Jun 22, 2012 11:44 AM, "Matthew Seaman" wrote: > On 22/06/2012 19:19, Walter Hurry wrote: > > It seems that Sendmail is embedded somehow in the base system. What is > > the 'approved' way to get rid of /usr/bin/mailq? Or better, remove > > Sendmail? > > You don't need to remove the base system sendmail. All you need to do > is set up /etc/mail/mailer.conf properly -- and installing the postfix > port should do that for you -- and then any reference to > /usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run > postfix instead. It's really very nicely done. > > See mailer.conf(5) > > Cheers, > > Matthew > > PS. Alright, yes. You can prevent sendmail from being built as part of > the base system by defining 'WITHOUT_SENDMAIL=yes' in /etc/src.conf, but > this supposes that you want to build the system yourself, rather than > using, say, freebsd-update(8). See src.conf(5) and read in > /usr/src/UPDATING and the Handbook about the procedure for building the > system from source. > > -- > Dr Matthew J Seaman MA, D.Phil. > PGP: http://www.infracaninophile.co.uk/pgpkey > > > > From lokadamus at gmx.de Fri Jun 22 18:57:09 2012 From: lokadamus at gmx.de (lokadamus@gmx.de) Date: Fri Jun 22 18:57:25 2012 Subject: How can i disable cups, docbook, gutenprint and other ports? Message-ID: <4FE4BFFB.60508@gmx.de> Hi all, How can i disable cups, docbook and other ports from compiling after port update? I have no printer and no use of cups or docbook. *Sorry for my english* Greetings From vmiller at hostileadmin.com Fri Jun 22 19:13:54 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 22 19:14:02 2012 Subject: Intel X520-DA2 Supported in stable/8? Message-ID: Hi All, Wondering if the Intel X520-DA2 10G Fibre NIC is supported in stable/8. Hardware notes don't specify it, but I have a system up and the interfaces appear to be loaded by the ix driver. However, status indicates "no carrier". -- Take care Rick Miller From gobble.wa at gmail.com Fri Jun 22 19:28:57 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Fri Jun 22 19:29:04 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: Message-ID: On Jun 22, 2012 10:42 AM, "Eitan Adler" wrote: > > On 21 June 2012 04:24, Fred Morcos wrote: > > > > Introduction and background > > q) Is it possible to run a FreeBSD system without much building? In > > other words, can I survive by depending on packages and only resorting > > to ports when really needed? > > To an extent. It is currently possible to use only packages, but they > tend to be out of date and upgrading is non-easy without a third party > tool (such as portmaster or portupgrade). > There is currently active work to fix these issues in a project called > pkgng. This will likely become the default in the next couple of > months. > > > q) Where does the FreeBSD project stand on this matter? From what I > > noticed is that the base system seems to adhere to the tranditional > > flat text files for configuration and simple tools that do a good job, > > leaving it up to the user to combine those small tools to create > > larger, more complex ones (a UNIX inheritance). > > FreeBSD tends to be conservative. The project won't implement a > complex daemon without clear benefits and specific discussion on the > pros and cons. > > > q) Is a FreeBSD stable base system with "current" high-level > > components possible? Will it avoid the issues I experienced on > > Linux-based systems? > > Generally, yes. There will likely be some adjustment period as you > learn how FreeBSD works, but most people have few problems. > > > q) I would assume UFS with J+SU is "fast enough" for a laptop? > > Yes. Most people call it "SU+J" ;). > Don't use it for an SSD though > > > q) Does ZFS make sense on a laptop? Any advantages of using it over > > USF with J+SU? I am not interested in any striping or mirroring on > > the laptops, but the compression features is very attractive for the > > HDDs in the first laptop. > > ZFS is ram hog. How much ram does your laptop have? > > > q) The second laptop has an SSD, would UFS with/without J and > > with/without SU or ZFS make more sense for it? > > Make sure to enable TRIM support if your SSD supports it. > > > q) Can I live with a desktop environment (Gnome or KDE) and desktop > > applications (Firefox, Libreoffice, etc) by relying only on packages? > > Sort of. With pkgng this will become a lot easier. If you are > currently willing to deal with out of date packages until pkgng > becomes default (or want to work with non-default technology now) it > will be possible. > > > q) Does the NVIDIA binary driver work reliably? I would like to hear > > personal experiences with that. > > Yes. This has never been the cause of any problem for me > > > q) Does the bsdinstall align partitions to device blocks by default > > for optimal speed? If not, I have found that I can use gpart with -a > > and -b which will require me to calculate the start and end offsets of > > each partition manually. Is there a tool that can automatically do > > that for me? > > You said you had an SSD: it doesn't matter. > > > q) Adding tmpmfs="YES" to /etc/rc.conf is analogous to a tmpfs /tmp on > > Linux-based systems, correct? > > Yes. > > > Any other directories that might make > > sense to have as an mfs (ie, in /var)? > > Don't use tmpfs for anything in /var > > > q) Is there a place where all sysctl variables are documented? It > > occurred to me when I was trying to find the memory usage on my system > > but `sysctl -a | grep mem' shows a whole bunch of stuff. > > You can try sysctl -ad but most of the systls are either documented in > man pages or not at all. :( > > > q) How can I set proxy settings system-wide? Same for PACKAGESITE (for > > the pkg_* tools), how can I set a mirror system-wide? /etc/profile? > > Same as any other unix system. It depends on what shell you use. > > > q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is there > > a way to change that system-wide to be in human-readable format? > > usually adding -h (for "human") helps. Also try setting BLOCKSIZE. > each program might have some more explanation in the man page. > > > > > System > > > > To assess my understanding, the system is split into kernel, base, > > documentation, games, lib32 (on 64-bit systems) and ports. > > This distinction is rarely used. The only place that cares for these > differences is the installer. > > > There is > > another split between base and ports where base includes everything > > previously mentioned minus ports. > > This is the one that matters > > >Now, there are 3 "branches" of the > > base system: RELEASE, STABLE and CURRENT. RELEASE means 9.0 and stays > > that way until 10.0 is released. STABLE means 9.0, 9.1, 9.2, > > etc. CURRENT means "trunk" in SVN terms. Is all that correct? > > This is incorrect. > > RELEASE are all releases: There is 9.0, 9.1, 9.2, etc. > STABLE is a misnomer: it is a *development* branch but the ABI / KPI > is kept stable. > CURRENT is "HEAD" and where new commits go before being "MFCed" or > Merged From Current to -stable. Releases are branched from -STABLE. > -STABLE is branched from -HEAD. > > > Also, > > when somewhere is mentioned `make world', this means to rebuild all > > installed ports which doesn't include base, I assume? > > "make world" is always wrong. "make buildworld" is closer. > In source land "world" is everything but the kernel. Ports are not related. > > > > q) The files in /etc/rc.d are all executable, from my understanding, > > those files will get executed and it is their duty to check the > > variable `_enable' for whether they should start or > > not. Wouldn't it be more efficient to chmod -x or +x them to > > disable/enable? > > For a variety of reasons, no. They do more than just check *_enable in > complex cases. > > > q) Is there a tool that can test a set of mirrors for connection time > > and speed (for packages and ports)? Analogous to Archlinux's > > rankmirrors? > > looks in ports-mgmt/ there is fastestmirrors or something like that. I > ran it once and forgot about it ;) > > > q) Is it possible for the pkg_* tools (especially pkg_add -r) to > > display progress? > > no. > > > q) I noticed in the ports collection that there were some outdated > > packages (skype-2.2, gimp-2.6), should I report that and where? (A > > PR?) > > skype is out of date cause the newer ones don't work. > Generally, reporting out of date ports as PRs with patches (or to > ports@freebsd.org without patches might help) is a good thing. > > Larger ports tend to be actively maintained. For gimp try asking > gnome@freebsd.org for progress. > > > q) Is it possible to have the ports system compile into an mfs (to > > avoid disk access)? > > Yes. Set WRKDIRPREFIX in /etc/make.conf to a mfs disk > > > q) Is it possible to have the user asked to change their password the > > first time they log in (using an OTP) in a simple way? I looked at > > OPIE but it seems to be much more complex than what I need. > > Look at pw -e ? > > > Hope I helped and didn't disappoint too much :) > > -- > Eitan Adler > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" packages in /current/Latest are generrally up to date, sometimes trail ports a couple of days. its quite easy to pkg_delete --force and pkg_add new version to upgrade... i've been doing this for some time without problems. its trivial to make a python script to check for latest version avail and upgrade, i haven't timed it but 700 or so package updates take about 30 mins.. i look forward to pkgng, on low power devices build from ports can take a week and then some. :) Waitman Gobble San Jose California USA From cswiger at mac.com Fri Jun 22 19:29:46 2012 From: cswiger at mac.com (Chuck Swiger) Date: Fri Jun 22 19:29:54 2012 Subject: Sendmail and Postfix In-Reply-To: References: Message-ID: <0035DF17-28B9-4A94-B75A-F483926B2A9E@mac.com> Hi-- On Jun 22, 2012, at 11:19 AM, Walter Hurry wrote: > A little digging around has revealed that there are two 'mailq' > executables on my system: /usr/local/bin/mailq and /usr/bin/mailq. > > The first is part of the mail/postfix-current port which I have installed > and use, and the second is presumably part of Sendmail, which I have not > installed and do not use. > > It seems that Sendmail is embedded somehow in the base system. What is > the 'approved' way to get rid of /usr/bin/mailq? Or better, remove > Sendmail? BSD Unixes have shipped with Sendmail for decades, much as BIND is also included-- so yes, Sendmail is included with the base system by default. The approved way is to simply leave things be. Properly written software will honor the links setup by mailwrapper(8) and use the Postfix MTA which you installed instead: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html If you really want to remove sendmail entirely, you can rebuild FreeBSD with NO_SENDMAIL=TRUE ...set in /etc/make.conf, which will avoid building sendmail at all. Regards, -- -Chuck From walterhurry at gmail.com Fri Jun 22 19:33:17 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Fri Jun 22 19:33:25 2012 Subject: Sendmail and Postfix References: Message-ID: On Fri, 22 Jun 2012 13:41:46 -0500, Mark Felder wrote: > When you installed Postfix did you allow it to update the entries in > /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary > that came with the system; it's ignored. Thanks! (Thanks too to the other responders.) Looks like that's the step I missed. Fixed now. Cheers. From vmiller at hostileadmin.com Fri Jun 22 19:45:47 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 22 19:46:00 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: On Fri, Jun 22, 2012 at 3:13 PM, Rick Miller wrote: > Hi All, > > Wondering if the Intel X520-DA2 10G Fibre NIC is supported in > stable/8. ?Hardware notes don't specify it, but I have a system up and > the interfaces appear to be loaded by the ix driver. ?However, status > indicates "no carrier". Ok, brain fart. Please forgive my ineptitude. I once sent an email inquiring about the Intel 82599, which is this NIC. Responses to that mail say it's supported by the ixgbe driver. My stable/8 installation (5/21/2012) probes it with an ix driver that I cannot find any info on. The ixgbe manage indicates it only supports 82598 based controllers. Not sure what to think here... From lokadamus at gmx.de Fri Jun 22 19:51:24 2012 From: lokadamus at gmx.de (lokadamus@gmx.de) Date: Fri Jun 22 19:51:31 2012 Subject: Fwd: Need latest xorg In-Reply-To: References: Message-ID: <4FE4CCBA.3040808@gmx.de> On 06/20/12 23:25, Lynn Steven Killingsworth wrote: > I don't seem to have generated much comment. > > I suspect you are thinking as I do that if your servers don't > immediately download then their is a bandit on my Internet line?? Xorg 7.7 for testing. http://miwi.bsdcrew.de/2012/06/cft-xorg-7-7-ready-for-testing/ but i can't load this site at the moment. :( From aboyer at averesystems.com Fri Jun 22 20:00:45 2012 From: aboyer at averesystems.com (Andrew Boyer) Date: Fri Jun 22 20:00:52 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: The ixgbe driver creates devices named ix0, etc. I believe you need to run 'ifconfig ix0 up' before it will attempt to get link. -Andrew On Jun 22, 2012, at 3:45 PM, Rick Miller wrote: > On Fri, Jun 22, 2012 at 3:13 PM, Rick Miller wrote: >> Hi All, >> >> Wondering if the Intel X520-DA2 10G Fibre NIC is supported in >> stable/8. Hardware notes don't specify it, but I have a system up and >> the interfaces appear to be loaded by the ix driver. However, status >> indicates "no carrier". > > Ok, brain fart. Please forgive my ineptitude. I once sent an email > inquiring about the Intel 82599, which is this NIC. Responses to that > mail say it's supported by the ixgbe driver. My stable/8 installation > (5/21/2012) probes it with an ix driver that I cannot find any info > on. The ixgbe manage indicates it only supports 82598 based > controllers. Not sure what to think here... > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -------------------------------------------------- Andrew Boyer aboyer@averesystems.com From vmiller at hostileadmin.com Fri Jun 22 20:02:59 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 22 20:03:12 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: On Fri, Jun 22, 2012 at 3:54 PM, Andrew Boyer wrote: > The ixgbe driver creates devices named ix0, etc. > > I believe you need to run 'ifconfig ix0 up' before it will attempt to get link. Thanks for clarifying that tidbit. At least I know the driver loading is the correct driver :) I did try ifup'ing the interface...it shows the interface up, status is still no carrier. I've had confirmation that the cable itself is good. I wonder if it matters that the upstream switch has VLAN tagging enabled? From lists at eitanadler.com Fri Jun 22 20:23:39 2012 From: lists at eitanadler.com (Eitan Adler) Date: Fri Jun 22 20:23:46 2012 Subject: New to FreeBSD - Some questions In-Reply-To: <4FE4BD13.3000204@infracaninophile.co.uk> References: <4FE4BD13.3000204@infracaninophile.co.uk> Message-ID: On 22 June 2012 11:44, Matthew Seaman wrote: > On 22/06/2012 18:40, Eitan Adler wrote: >>> q) Is there a place where all sysctl variables are documented? It >>> > occurred to me when I was trying to find the memory usage on my system >>> > but `sysctl -a | grep mem' shows a whole bunch of stuff. > >> You can try sysctl -ad but most of the systls are either documented in >> man pages or not at all. :( > > It would be a really handy thing if the output of 'sysctl -d' told you > what man page to refer to for more information. ?A neat little project > but pretty boring to implement. Agreed. I don't have the time to do this directly, but I'm willing to commit patches that do this. -- Eitan Adler From gobble.wa at gmail.com Fri Jun 22 20:32:36 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Fri Jun 22 20:32:43 2012 Subject: New to FreeBSD - Some questions In-Reply-To: References: <4FE4BD13.3000204@infracaninophile.co.uk> Message-ID: On Fri, Jun 22, 2012 at 1:18 PM, Eitan Adler wrote: > On 22 June 2012 11:44, Matthew Seaman > wrote: > > On 22/06/2012 18:40, Eitan Adler wrote: > >>> q) Is there a place where all sysctl variables are documented? It > >>> > occurred to me when I was trying to find the memory usage on my > system > >>> > but `sysctl -a | grep mem' shows a whole bunch of stuff. > > > >> You can try sysctl -ad but most of the systls are either documented in > >> man pages or not at all. :( > > > > It would be a really handy thing if the output of 'sysctl -d' told you > > what man page to refer to for more information. A neat little project > > but pretty boring to implement. > > Agreed. I don't have the time to do this directly, but I'm willing to > commit patches that do this. > -- > Eitan Adler > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > that sounds great, also, for the moment you can try grep in /usr/src and usually find what you are looking for there. Usually the source code is well-documented, and you can see which switches do what. an idea... Waitman Gobble San Jose California USA From ml at my.gd Fri Jun 22 20:48:48 2012 From: ml at my.gd (Damien Fleuriot) Date: Fri Jun 22 20:49:00 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: On 22 Jun 2012, at 22:02, Rick Miller wrote: > On Fri, Jun 22, 2012 at 3:54 PM, Andrew Boyer wrote: >> The ixgbe driver creates devices named ix0, etc. >> >> I believe you need to run 'ifconfig ix0 up' before it will attempt to get link. > > Thanks for clarifying that tidbit. At least I know the driver loading > is the correct driver :) > > I did try ifup'ing the interface...it shows the interface up, status > is still no carrier. I've had confirmation that the cable itself is > good. I wonder if it matters that the upstream switch has VLAN > tagging enabled? > Nope, having a link is layer 1, VLAN tagging happens at layer 3 iirc. If you're unsure, you can always create a VLAN interface bound to your NIC. I suppose you've tried reversing the fibre pair. From vmiller at hostileadmin.com Fri Jun 22 21:01:42 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 22 21:01:55 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: dmesg and ifconfig output below... On Fri, Jun 22, 2012 at 4:02 PM, Rick Miller wrote: > On Fri, Jun 22, 2012 at 3:54 PM, Andrew Boyer wrote: >> The ixgbe driver creates devices named ix0, etc. >> >> I believe you need to run 'ifconfig ix0 up' before it will attempt to get link. > > Thanks for clarifying that tidbit. ?At least I know the driver loading > is the correct driver :) > > I did try ifup'ing the interface...it shows the interface up, status > is still no carrier. ?I've had confirmation that the cable itself is > good. ?I wonder if it matters that the upstream switch has VLAN > tagging enabled? ix0: port 0x7000-0x701f mem 0xf6b80000-0xf6bfffff,0xf6b70000-0xf6b73fff irq 40 at device 0.0 on pci7 ix0: Using MSIX interrupts with 9 vectors ix0: RX Descriptors exceed system mbuf max, using default instead! ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: Ethernet address: 90:e2:ba:15:e2:60 ix0: PCI Express Bus: Speed 5.0Gb/s Width x8 ix1: port 0x7020-0x703f mem 0xf6a80000-0xf6afffff,0xf6a70000-0xf6a73fff irq 44 at device 0.1 on pci7 ix1: Using MSIX interrupts with 9 vectors ix1: RX Descriptors exceed system mbuf max, using default instead! ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: Ethernet address: 90:e2:ba:15:e2:61 ix1: PCI Express Bus: Speed 5.0Gb/s Width x8 ix0: flags=8843 metric 0 mtu 1500 options=401bb ether 90:e2:ba:XX:XX:XX inet 10.1.2.50 netmask 0xfffffe00 broadcast 10.1.3.255 media: Ethernet autoselect status: no carrier ix1: flags=8802 metric 0 mtu 1500 options=401bb ether 90:e2:ba:XX:XX:XX media: Ethernet autoselect status: no carrier -- Take care Rick Miller From jfvogel at gmail.com Fri Jun 22 21:21:06 2012 From: jfvogel at gmail.com (Jack Vogel) Date: Fri Jun 22 21:21:20 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: Increase your system mbuf pool size, you do not want that failure to happen. Jack On Fri, Jun 22, 2012 at 2:01 PM, Rick Miller wrote: > dmesg and ifconfig output below... > > On Fri, Jun 22, 2012 at 4:02 PM, Rick Miller > wrote: > > On Fri, Jun 22, 2012 at 3:54 PM, Andrew Boyer > wrote: > >> The ixgbe driver creates devices named ix0, etc. > >> > >> I believe you need to run 'ifconfig ix0 up' before it will attempt to > get link. > > > > Thanks for clarifying that tidbit. At least I know the driver loading > > is the correct driver :) > > > > I did try ifup'ing the interface...it shows the interface up, status > > is still no carrier. I've had confirmation that the cable itself is > > good. I wonder if it matters that the upstream switch has VLAN > > tagging enabled? > > ix0: > port 0x7000-0x701f mem 0xf6b80000-0xf6bfffff,0xf6b70000-0xf6b73fff irq > 40 at device 0.0 on pci7 > ix0: Using MSIX interrupts with 9 vectors > ix0: RX Descriptors exceed system mbuf max, using default instead! > ix0: [ITHREAD] > ix0: [ITHREAD] > ix0: [ITHREAD] > ix0: [ITHREAD] > ix0: [ITHREAD] > ix0: [ITHREAD] > ix0: [ITHREAD] > ix0: [ITHREAD] > ix0: [ITHREAD] > ix0: Ethernet address: 90:e2:ba:15:e2:60 > ix0: PCI Express Bus: Speed 5.0Gb/s Width x8 > ix1: > port 0x7020-0x703f mem 0xf6a80000-0xf6afffff,0xf6a70000-0xf6a73fff irq > 44 at device 0.1 on pci7 > ix1: Using MSIX interrupts with 9 vectors > ix1: RX Descriptors exceed system mbuf max, using default instead! > ix1: [ITHREAD] > ix1: [ITHREAD] > ix1: [ITHREAD] > ix1: [ITHREAD] > ix1: [ITHREAD] > ix1: [ITHREAD] > ix1: [ITHREAD] > ix1: [ITHREAD] > ix1: [ITHREAD] > ix1: Ethernet address: 90:e2:ba:15:e2:61 > ix1: PCI Express Bus: Speed 5.0Gb/s Width x8 > > > ix0: flags=8843 metric 0 mtu 1500 > > options=401bb > ether 90:e2:ba:XX:XX:XX > inet 10.1.2.50 netmask 0xfffffe00 broadcast 10.1.3.255 > media: Ethernet autoselect > status: no carrier > ix1: flags=8802 metric 0 mtu 1500 > > options=401bb > ether 90:e2:ba:XX:XX:XX > media: Ethernet autoselect > status: no carrier > > > -- > Take care > Rick Miller > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From johnl at iecc.com Fri Jun 22 21:43:30 2012 From: johnl at iecc.com (John Levine) Date: Fri Jun 22 21:43:37 2012 Subject: Building libreoffice on 8.3 x86-64, not Message-ID: <20120622214306.3488.qmail@joyce.lan> I have an 8.3 x86-64 system, fully patched, all ports but one up to date. When I try to build libreoffice, it fails in various sub-builds. Most of the sub-builds work when I retry them, except for tail_build which fails repeatedly. It's using clang for the build, but I don't see any option to use GCC. Any suggestions? I have 500 megabytes of build logs if anyone wants to look at them. R's, John From martinrame at yahoo.com Fri Jun 22 21:56:41 2012 From: martinrame at yahoo.com (=?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?=) Date: Fri Jun 22 21:56:48 2012 Subject: fsck_ufs running too often Message-ID: <1340402199.44929.YahooMailNeo@web113501.mail.gq1.yahoo.com> Hi, since a few of days ago, I noticed my home server turns very slow more than once a day, so every time I run "top" to see what's processes are running, I can see fsck_ufs at the very top, and the hard drive working like mad. I've checked my crontab and there's nothing related to fsck_ufs, where can I start searching for the cause of the problem?, I thought this process should run only at boot or shutdown, but this time it is running -apparently- without a cause. uname -a: FreeBSD server.my.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan ?3 07:46:30 UTC 2012 ? ? root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC ?amd64 Regards, Leonardo M. Ram? http://leonardorame.blogspot.com From vmiller at hostileadmin.com Fri Jun 22 22:19:38 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 22 22:19:45 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: On Fri, Jun 22, 2012 at 5:21 PM, Jack Vogel wrote: > Increase your system mbuf pool size, you do not want that failure to happen. Thanks, Jack. I saw a thread where you discussed this. You are referring to kern.ipc.nmbclusters, correct? Should I also adjust the following? hw.ixgbe.rxd hw.ixgbe.txd hw.ixgbe.num_queues hw.intr_storm_threshold From rwmaillists at googlemail.com Fri Jun 22 22:30:52 2012 From: rwmaillists at googlemail.com (RW) Date: Fri Jun 22 22:30:59 2012 Subject: fsck_ufs running too often In-Reply-To: <1340402199.44929.YahooMailNeo@web113501.mail.gq1.yahoo.com> References: <1340402199.44929.YahooMailNeo@web113501.mail.gq1.yahoo.com> Message-ID: <20120622233047.73c89af4@gumby.homeunix.com> On Fri, 22 Jun 2012 14:56:39 -0700 (PDT) Leonardo M. Ram? wrote: > Hi, since a few of days ago, I noticed my home server turns very slow > more than once a day, so every time I run "top" to see what's > processes are running, I can see fsck_ufs at the very top, and the > hard drive working like mad. > > I've checked my crontab and there's nothing related to fsck_ufs, > where can I start searching for the cause of the problem?, I thought > this process should run only at boot or shutdown, but this time it is > running -apparently- without a cause. If you have background fsck enabled it runs just after the boot has completed. Have you checked the uptime? It may be that your server is spontaneously rebooting. From bonomi at mail.r-bonomi.com Fri Jun 22 22:56:16 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 22:56:24 2012 Subject: Why Clang In-Reply-To: Message-ID: <201206222256.q5MMuYom043974@mail.r-bonomi.com> "Thomas Mueller" wrote: > > > There actually is/was a closed-source BSD (BSDI), and there is Mac OS X, with BSD under the covers. BSDi sold source-code licenses. I was an early-adopter, and I _have_ one. The vast majority of the code was taken directly from BSD 4.4 Lite, and the source-code carried just the UCB copyriht and licensinG, The 'missing pieces' necessary to make an 'operational' O/S were copyright BSDi, most had fairly liberal license terms. There were some _vendor_supplied drivers that were binary-only, and had more rstrictive licensing.` From jfvogel at gmail.com Fri Jun 22 23:23:45 2012 From: jfvogel at gmail.com (Jack Vogel) Date: Fri Jun 22 23:23:51 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: Would probably be good to take care of the storm threshold if you haven't, set it to 0 and you disable the check, that's what we do internally. As for the queues and number of descriptors, that's kind of up to you, different work loads and environments work best with different setups. Hopefully, when you get rid of the rx ring setup failure you will get things working. Jack On Fri, Jun 22, 2012 at 3:19 PM, Rick Miller wrote: > On Fri, Jun 22, 2012 at 5:21 PM, Jack Vogel wrote: > > Increase your system mbuf pool size, you do not want that failure to > happen. > > Thanks, Jack. I saw a thread where you discussed this. You are > referring to kern.ipc.nmbclusters, correct? > > Should I also adjust the following? > > hw.ixgbe.rxd > hw.ixgbe.txd > hw.ixgbe.num_queues > hw.intr_storm_threshold > From lumiwa at gmail.com Fri Jun 22 23:31:00 2012 From: lumiwa at gmail.com (ajtiM) Date: Fri Jun 22 23:31:08 2012 Subject: Building libreoffice on 8.3 x86-64, not In-Reply-To: <20120622214306.3488.qmail@joyce.lan> References: <20120622214306.3488.qmail@joyce.lan> Message-ID: <201206221830.50325.lumiwa@gmail.com> On Friday 22 June 2012 16:43:06 John Levine wrote: > I have an 8.3 x86-64 system, fully patched, all ports but one up to date. > > When I try to build libreoffice, it fails in various sub-builds. Most of > the sub-builds work when I retry them, except for tail_build which fails > repeatedly. > > It's using clang for the build, but I don't see any option to use GCC. > > Any suggestions? I have 500 megabytes of build logs if anyone wants > to look at them. > > R's, > John > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" It doesn't build with clan and nothing better is with gcc. Next version should be okay. Mitja -------- http://jpgmag.com/people/lumiwa From crapsh at monkeybrains.net Fri Jun 22 23:37:49 2012 From: crapsh at monkeybrains.net (Rudy) Date: Fri Jun 22 23:37:56 2012 Subject: cron pile up! libnss-mysql and cron (Rehash) Message-ID: <4FE501CB.3070703@monkeybrains.net> 4.5 years ago, I posted about cron's piling up. It seems if I install libnss-mysql on a fresh 9.0-STABLE, this problem persists. Here was the original post: http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164174.html I've seen this on 6.2, 7.x, and now 9.0 FreeBSD. How to repeat: install a fresh BSD system, install libnss-mysql, wait a few days. System info: FreeBSD 9.0-STABLE amd64 libnss-mysql-1.5_3 NSS module using a MySQL database for backend mariadb-client-5.3.6 Database server - drop-in replacement for MySQL mariadb-server-5.3.6 Database server - drop-in replacement for MySQL ps axlw | grep cron 0 56084 1 0 20 0 31064 2844 nanslp IsJ ?? 0:00.78 /usr/sbin/cron -s 0 68402 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68403 68402 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68527 56084 0 20 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68528 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68530 68527 0 20 0 31064 2848 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68531 68528 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68558 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68559 68558 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68591 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68592 68591 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68608 56084 0 20 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68609 68608 0 20 0 31064 2848 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68659 56084 0 20 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68660 68659 0 20 0 31064 2848 sbwait IVsJ ?? 0:00.00 cron: running job (cron) 0 68683 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68684 68683 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68722 56084 0 21 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68723 68722 0 20 0 31064 2848 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) Interestingly, if I do a truss and hit ^C, the process disappears... see below: # truss -p 68684 ^C # truss -p 68684 truss: can not attach to target process: No such process # grep 68684 /var/log/cron Jun 22 16:25:00 mail /usr/sbin/cron[68684]: (root) CMD (/usr/libexec/atrun) Rudy From blue.seahorse.syndicate at gmail.com Fri Jun 22 23:43:48 2012 From: blue.seahorse.syndicate at gmail.com (Lynn Steven Killingsworth) Date: Fri Jun 22 23:43:55 2012 Subject: Fwd: Need latest xorg In-Reply-To: <4FE4CCBA.3040808@gmx.de> References: <4FE4CCBA.3040808@gmx.de> Message-ID: I have found that 9-stable is on a couple of sites. Today I looked up the addresses of the packages and used pkg_add -r ftp://ftp....etc I have xorg-7.5.2 with newer drivers for my recent AMD HD 7950. It looks very, very nice. xorg-7.7 on 10 must be awesome but this is my principle machine. I also have kde4-4.8.3 and etc. On Fri, 22 Jun 2012 15:51:22 -0400, lokadamus@gmx.de wrote: > On 06/20/12 23:25, Lynn Steven Killingsworth wrote: >> I don't seem to have generated much comment. >> >> I suspect you are thinking as I do that if your servers don't >> immediately download then their is a bandit on my Internet line?? > Xorg 7.7 for testing. > http://miwi.bsdcrew.de/2012/06/cft-xorg-7-7-ready-for-testing/ > but i can't load this site at the moment. :( -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From roberthuff at rcn.com Fri Jun 22 23:51:51 2012 From: roberthuff at rcn.com (Robert Huff) Date: Fri Jun 22 23:51:59 2012 Subject: Building libreoffice on 8.3 x86-64, not In-Reply-To: <20120622214306.3488.qmail@joyce.lan> References: <20120622214306.3488.qmail@joyce.lan> Message-ID: <20453.1295.426639.205689@jerusalem.litteratus.org> John Levine writes: > I have an 8.3 x86-64 system, fully patched, all ports but one up to date. > > When I try to build libreoffice, it fails in various sub-builds. > Most of the sub-builds work when I retry them, except for > tail_build which fails repeatedly. There are known issues with libreoffice-3.5.2; the most common have to do with problems choosing the correct library (usually involving boost (port vs. libreoffice native)). There is a work-around, described in a revent thread in office@. There is also reason for hope this will be fixed in 3.5.4. Robert Huff From bonomi at mail.r-bonomi.com Fri Jun 22 23:53:41 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 22 23:53:50 2012 Subject: Why Clang In-Reply-To: Message-ID: <201206222354.q5MNs09A044205@mail.r-bonomi.com> > From wojtek@wojtek.tensor.gdynia.pl Fri Jun 22 09:26:33 2012 > Date: Fri, 22 Jun 2012 16:25:55 +0200 (CEST) > From: Wojciech Puchar > To: Robert Bonomi > cc: freebsd-questions@freebsd.org > Subject: Re: Why Clang > > > Because it doesn't address an of the *OTHER* valid reasons why GCC is > > being replaced -- among them: > > 1) GCC's continuously increasing propensity to generate "bad code", > > examples? All test shows that gcc code is not only bad, but very good. YOU ARE A LIAR. The _only_thing *you* measure by is 'speed'. You don't understand what the words "bad code" means -- that it has *nothing* to do with how fast the code executes.. Despite the fact I explicitly described what I was talking about -- and that you intentionally removed that description. > Why are you just saying things you know isn't true? Why are you just _lying_ trollbiu? Just because _you_ haven't seen it doesn't mean it's not true. I *KNOW* it is true -- I've been bitten by GCC bad code _multiple_ times, and in multiple ways, in application code. Problems in O/S internals are much more common. I've had segfaults in code that couldn't _POSSIBLY_ segfault. An example of the _kind_ of thing that has blown up: int foo() { int a,b,c[10]; b=2; a=c[b]; /* dies here with a segfault */ } running in the debugger confirms b has the correct value just before the statement assigning a value to a. issue a 'next' command in the debugger, and you get a segfault. printing the value of 'b' shows it is 2. Disassembling the machine code shows that the WRONG REGISTER is used to calculate the effective address of the array element. It's clearly a bug in the optimizer -- I'd be surprised if it showed in that 'minimal' illustrative code. When I've gotten bit, it was a 1,000+ LOC module. I've also seen it use machine 'loop' instructions with the DF flag set wrong. > > 2) The inability of GCC mamintainers to fix _long-standing_ bugs, some > > have been identified for over a decade, and have not been fixed. > > That's true. still not that much. Your opinion of the seriousness doesn't count. Those of us who have had to 'code raround' those bugs for years and years have a _very_ different opinion. > > 3) The continuously increasing trend of introducing 'non standard' features, > No need to use them. Trollboi shows he doesn't know what he doesn't know, yet again. Some of them _conflict_ with STANDARD C. Thus 'standards-compliant' C source does 'something else', when compiled with GCC. The FSF thinks 'their way' is "better", and have no intention of changing. > From perrin at apotheon.com Fri Jun 22 23:58:21 2012 From: perrin at apotheon.com (Chad Perrin) Date: Fri Jun 22 23:58:29 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <20120622044212.GC24912@hemlock.hydra> Message-ID: <20120622235819.GA7876@hemlock.hydra> On Fri, Jun 22, 2012 at 08:28:17AM +0200, Wojciech Puchar wrote: > > > >biggest problem with what you propose, though, is that it would destroy > >the social factors in development of the FreeBSD system that make it what > >it is, and thus destroy FreeBSD itself, as far as I am concerned. > > I am not sure, as long as clients would be treated seriously! I look at large corporate software vendors and see them treating customers seriously maybe 2% of the time at best. In this case, most of the developers and project managers of FreeBSD are also "customers", which changes things significantly. > > > >I would have thought that even you should be able to understand that > >without help. > > another personal attack? I though i talk with adults. 1. It's a comment on your tendency to ignore substantive arguments from other people, including probably half a dozen (so far) lengthy explanations of factors you refuse to consider written by *me*. 2. You're a hypocrite, pretending you're an innocent victim of personal attacks, given the way you go around making personal attacks on everyone else with a broad brush. I've commented on that, too, but -- like much of the rest of what I've said -- you simply ignored it. > > > >Turning it into a commercial enterprise rather than an open source > >project would probably turn it into a project that is driven about 60% by > >corporate politics and 40% by marketing BS, with no room left over for > >quality except as needed to support the minimum credibility its CEO deems > >necessary to support those two concerns. > > It depends solely on development team. I take it you don't know anything at all about how public corporations manage their development teams. That, or you're being disingenuous. It depends on the development team, and the priorities they choose to pursue first, right now. Under the stewardship of a publicly traded corporation, it would depend on the CEO, the board of directors, marketing, PR, and the accounting department, and the priorities *they* choose to pursue first, instead. > > For now - as we see - it's decision are driven by money. > But not all users money but few selected large users. It's not *just* a decision driven by money. Money applies, certainly, but not as much as it would if FreeBSD were a for-profit public corporation rather than a community-driven open source project. When you say this, by the way, you ignore something like 90% of the perfectly reasonable additional motivating factors that have been brought up. I suppose I should not expect any different by now, given the strong track record you've managed to establish just in this one extended discussion. > > > >"Worse" based on a couple of very narrowly applicable metrics derived > > There will be IMHO soon good compiler available. it's highly > probable that pcc would improve a lot, for now it is small, quick > but doesn't produce good code for new CPUs. But it probably will > improve. > > CLANG is already great bloat, and will be worse. Binary size and minuscule benchmark variations are all you see. It is ludicrous to watch you close your eyes, stick your fingers in your ears, and shout "lalalalalalalala" so consistently to prevent any other factors involved in compiler choice from entering your mind -- such as good output from a compiler that will be stable and do what you expect. > > No amount of money will fix it, actually too much money will hurt. . . . and yet you want to turn the FreeBSD project over to Microsoft (or the equivalent). You contradict yourself. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Fri Jun 22 23:58:47 2012 From: perrin at apotheon.com (Chad Perrin) Date: Fri Jun 22 23:58:54 2012 Subject: Why Clang In-Reply-To: <201206221116.q5MBG9kP043426@fire.js.berklix.net> References: <20120622044212.GC24912@hemlock.hydra> <201206221116.q5MBG9kP043426@fire.js.berklix.net> Message-ID: <20120622235845.GB7876@hemlock.hydra> On Fri, Jun 22, 2012 at 01:16:09PM +0200, Julian H. Stacey wrote: > Chad Perrin wrote: > > On Thu, Jun 21, 2012 at 01:06:12PM +0200, Wojciech Puchar wrote: > > > i already proposed (but not publically) to turn FreeBSD into > > > commercial system. > > > > > > REALLY i would not see a problem to pay say 100$ per server licence. > > > > I would see a problem with that -- not because I don't think FreeBSD is > > worth it. I do, and I think it is worth more than that, in fact. The > > biggest problem with what you propose, though, is that it would destroy > > Hi Chad etc, > I admire the perserverance, but maybe "Don't feed the troll" ? Yeah. . . . -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From crapsh at monkeybrains.net Sat Jun 23 00:00:09 2012 From: crapsh at monkeybrains.net (Rudy) Date: Sat Jun 23 00:00:16 2012 Subject: cron pile up! Lot's of "cron: running job (cron)" Message-ID: <4FE4FD7F.1050303@monkeybrains.net> http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164174.html From perrin at apotheon.com Sat Jun 23 00:10:56 2012 From: perrin at apotheon.com (Chad Perrin) Date: Sat Jun 23 00:11:03 2012 Subject: Why Clang In-Reply-To: References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <20120622042703.GB24912@hemlock.hydra> Message-ID: <20120623001054.GC7876@hemlock.hydra> On Fri, Jun 22, 2012 at 09:24:57AM -0500, Reid Linnemann wrote: > On Thu, Jun 21, 2012 at 11:27 PM, Chad Perrin wrote: > > I disagree with the assessment by others that FreeBSD is in some way > > effectively a subsidiary of its corporate users, but it does have > > corporate users, as well as non-corporate users. ?Just as it must > > reasonably see to the needs of the individuals who use it, so must it > > also reasonably see to the needs of those corporate users, especially > > when some of those corporate users' employees are key developers for the > > base system (to the significant benefit of the rest of us). ?Thus, saying > > that a particular set of conditions having an impact on commercial > > sponsors of FreeBSD has "zero bearing on FreeBSD itself" is just . . . > > incorrect. > > And I would like to stress on this point that, when I referred to > corporate sponsorship in an earlier post, I was thinking specifically > about the sponsorship of employing developers that keep the system > moving forward, not necessarily monetary donations. The foundation > does need money, but the software is doomed if no one is gainfully > employed to maintain and enhance it. I think there is an altruistic > fiction that many people subscribe to that free software is merely the > result of the generosity of developers producing code of their own > volition and on their own spare time and "giving it away," and from > that viewpoint the act of considering concerns of a sponsoring entity > amounts to "selling out." The reality is much different and much more > complex, as you well know. Indeed. When I contribute to an open source project, as an individual, much the same factors apply. I do not do it to help someone like Michel Talon, or even Reid Linnemann; I do it to help myself, by improving software I like, or to help people who in turn work to improve software I like. I have selfish goals that are served by my support of well- designed copyfree software, whether that support is financial in nature, a contribution of development effort, or something less direct. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From bonomi at mail.r-bonomi.com Sat Jun 23 00:15:07 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Sat Jun 23 00:15:14 2012 Subject: Sendmail and Postfix In-Reply-To: Message-ID: <201206230015.q5N0FPh8044345@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Fri Jun 22 13:47:20 2012 > To: freebsd-questions@freebsd.org > Date: Fri, 22 Jun 2012 13:41:46 -0500 > From: Mark Felder > Subject: Re: Sendmail and Postfix > > When you installed Postfix did you allow it to update the entries in > /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary > that came with the system; it's ignored. For SendMail, mailq is just a symlink to the SendMail executable. the "mail.conf" stuff (to use a polite word) installs it's own executable(s) under all the 'common' names that SendMail is invoked as. These executables look at /etc/mailer.conf, and invoke the appropiate executable for the mailer that you have seleccted in mailer.conf. From perrin at apotheon.com Sat Jun 23 00:37:19 2012 From: perrin at apotheon.com (Chad Perrin) Date: Sat Jun 23 00:37:26 2012 Subject: backup tools In-Reply-To: <20120622184740.GA67847@slackbox.erewhon.net> References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> Message-ID: <20120623003717.GD7876@hemlock.hydra> On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: > On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: > > I'm setting up a "new" backup server using FreeBSD. It will be used for > > backing up laptops, which will not be connected to the network by any > > kind of schedule, so backups will be initiated manually rather than by > > cron or other scheduled procedures. > > What are the laptops running? FreeBSD, Debian, and/or Ubuntu. There's at least one of each. I apologize for not mentioning that sooner. I had a feeling I'd overlook something. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From amvandemore at gmail.com Sat Jun 23 01:14:36 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Sat Jun 23 01:14:45 2012 Subject: backup tools In-Reply-To: <20120622160903.GE24912@hemlock.hydra> References: <20120622160903.GE24912@hemlock.hydra> Message-ID: On Fri, Jun 22, 2012 at 11:09 AM, Chad Perrin wrote: > I'm setting up a "new" backup server using FreeBSD. It will be used for > backing up laptops, which will not be connected to the network by any > kind of schedule, so backups will be initiated manually rather than by > cron or other scheduled procedures. I'm trying to decide on what tools > to use for managing backups. In the past I have used rsync, which has > worked reasonably well, but fails one of my desired criteria for the new > backup procedures, and is less than ideal for others. > One's I use or have used: sysutils/rdiff-backup sysutils/tarsnap misc/amanda-server -- Adam Vande More From perrin at apotheon.com Sat Jun 23 01:32:05 2012 From: perrin at apotheon.com (Chad Perrin) Date: Sat Jun 23 01:32:12 2012 Subject: backup tools In-Reply-To: References: <20120622160903.GE24912@hemlock.hydra> Message-ID: <20120623013203.GB29088@hemlock.hydra> On Fri, Jun 22, 2012 at 08:14:34PM -0500, Adam Vande More wrote: > On Fri, Jun 22, 2012 at 11:09 AM, Chad Perrin wrote: > > > I'm setting up a "new" backup server using FreeBSD. It will be used for > > backing up laptops, which will not be connected to the network by any > > kind of schedule, so backups will be initiated manually rather than by > > cron or other scheduled procedures. I'm trying to decide on what tools > > to use for managing backups. In the past I have used rsync, which has > > worked reasonably well, but fails one of my desired criteria for the new > > backup procedures, and is less than ideal for others. > > > > One's I use or have used: > > sysutils/rdiff-backup > sysutils/tarsnap > misc/amanda-server Unfortunately, one of those is GPL, another is subject to proprietary licensing, and the last has a bunch of (otherwise unnecessary on the server) GNU project dependencies. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From freebsd at edvax.de Sat Jun 23 02:11:48 2012 From: freebsd at edvax.de (Polytropon) Date: Sat Jun 23 02:11:58 2012 Subject: How can i disable cups, docbook, gutenprint and other ports? In-Reply-To: <4FE4BFFB.60508@gmx.de> References: <4FE4BFFB.60508@gmx.de> Message-ID: <20120623041140.fb3b1a36.freebsd@edvax.de> On Fri, 22 Jun 2012 20:56:59 +0200, lokadamus@gmx.de wrote: > Hi all, > > How can i disable cups, docbook and other ports from compiling after > port update? > I have no printer and no use of cups or docbook. If you don't mind the _time_ required for building those ports (and taking into mind that the disk space occupied doesn't even matter as disks are big and cheap today), you don't have to _enable_ CUPS if you're actually _not_ using it. That would be "disabling" them. :-) Sadly, there's no really comfortable way of not _building_ them as they are (almost "hardcoded"!) dependencies for other ports you might be using. There are some config screens (see "make config" and "make config-recursive" or portmaster's --force-config option) where you _might_ have the chance to de-select some of those ports so they won't build. But as I said, that depends on the "primary" ports you're using and their dependencies. You know, "by accident", you could even install LaTeX (teTeX) as a dependency! :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sat Jun 23 02:22:31 2012 From: freebsd at edvax.de (Polytropon) Date: Sat Jun 23 02:22:38 2012 Subject: fsck_ufs running too often In-Reply-To: <1340402199.44929.YahooMailNeo@web113501.mail.gq1.yahoo.com> References: <1340402199.44929.YahooMailNeo@web113501.mail.gq1.yahoo.com> Message-ID: <20120623042229.c5d8a8d8.freebsd@edvax.de> On Fri, 22 Jun 2012 14:56:39 -0700 (PDT), Leonardo M. Ram? wrote: > Hi, since a few of days ago, I noticed my home server turns very > slow more than once a day, so every time I run "top" to see > what's processes are running, I can see fsck_ufs at the very > top, and the hard drive working like mad. It seems you have background_fsck="YES" enabled in /etc/rc.conf. Is this desired? If not, set it to ="NO" to perform a file system check prior to going multi-user. That would take several minutes, but it makes sure the system boots up into a properly checked and mounted environment. > I've checked my crontab and there's nothing related to fsck_ufs, > where can I start searching for the cause of the problem?, Check /etc/rc.conf (see "man rc.conf" and /etc/defaults/rc.conf), look for the background_fsck setting. > I thought this process should run only at boot or shutdown, At shutdown? I'd say at boot. In fact, a background file system check actually starts at boot, but runs during and after boot-up, that's what you're obviously noticing as high I/O load. > but this time it is running -apparently- without a cause. No. The fsck run doesn't start without a cause. The cause is: the filesystem about to be mounted is "dirty" (contains defects because it wasn't properly unmounted). What the reason for _this_ observation is... check if your server accidentally got powered off (e. g. bad power line). You can check the timestamps in various log files (most prominent example is /var/log/messages) to see when your system started. If you notice the system started "too often", maybe fsck was not able to successfully finish (and repair!) the file systems, so it will do so on every start of the system. My suggestion: Set background_fsck="YES" in /etc/rc.conf and let the system boot up that way. _If_ you have a faulty disk or other data corruption, you'll notice this _before_ going multi-user and maybe making things worse. Yes, it might take some time, but it's time well invested in your data integrity. Alternative: Perform a "shutdown now" and go into single-user mode. Then unmount all your file systems, do "mount -o ro /" and then perform the fsck run on all file systems. It's typically adviced to perform file system checks on unmounted (or at least read-only mounted) file systems. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From mamuskus at edatel.com.co Sat Jun 23 02:29:54 2012 From: mamuskus at edatel.com.co (Marco Antonio Muskus Muskus) Date: Sat Jun 23 02:30:03 2012 Subject: backup tools In-Reply-To: <20120623013203.GB29088@hemlock.hydra> References: <20120622160903.GE24912@hemlock.hydra> <20120623013203.GB29088@hemlock.hydra> Message-ID: <7E976433-733A-45EF-879E-5AC8F4200A45@edatel.com.co> Bacula is the tool Enviado desde mi iPod El 22/06/2012, a las 8:31 p.m., "Chad Perrin" escribi?: > On Fri, Jun 22, 2012 at 08:14:34PM -0500, Adam Vande More wrote: >> On Fri, Jun 22, 2012 at 11:09 AM, Chad Perrin >> wrote: >> >>> I'm setting up a "new" backup server using FreeBSD. It will be >>> used for >>> backing up laptops, which will not be connected to the network by >>> any >>> kind of schedule, so backups will be initiated manually rather >>> than by >>> cron or other scheduled procedures. I'm trying to decide on what >>> tools >>> to use for managing backups. In the past I have used rsync, which >>> has >>> worked reasonably well, but fails one of my desired criteria for >>> the new >>> backup procedures, and is less than ideal for others. >>> >> >> One's I use or have used: >> >> sysutils/rdiff-backup >> sysutils/tarsnap >> misc/amanda-server > > Unfortunately, one of those is GPL, another is subject to proprietary > licensing, and the last has a bunch of (otherwise unnecessary on the > server) GNU project dependencies. > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " Este mensaje y/o sus anexos son para uso exclusivo de su destinatario intencional y puede contener informaci?n legalmente protegida por ser confidencial. Si usted no es el destinatario intencional del mensaje por favor inf?rmenos de inmediato y elim?nelo, as? como sus anexos. Igualmente, le comunicamos que cualquier retenci?n, revisi?n no autorizada, distribuci?n, divulgaci?n, reenv?o, copia, impresi?n, reproducci?n, o uso indebido de este mensaje y/o sus anexos, est? estrictamente prohibida y sancionada legalmente. EDATEL S.A. no se hace responsable en ning?n caso por da?os derivados de la recepci?n del presente mensaje. From jbiquez at intranet.com.mx Sat Jun 23 03:36:42 2012 From: jbiquez at intranet.com.mx (Jorge Biquez) Date: Sat Jun 23 03:36:50 2012 Subject: Off Topic. DNS, Android. Message-ID: <3423267101-1670052078@intranet.com.mx> Hello. I am sorry if the following 2 questions could sound too stupid. a) Normally any Domain name registered has to have 2 Nameservers. Some registry like the one responsible for .ORG requires 2 at least to propagate the domain. In teh case of .COM that is not a requirement, one nameserver could work. If for some reason I have 2 of them and one is configured to point to SERVER A , and the other to SERVER B. Differenet places, same configuration. Is there any preference over what is PRIMARY NAMESERVER or SECONDARY NAMESERVER? I mean, Primary is the one used mainly? b) I am looking for good list like this one for people developing, learning about Android Development. Any suggestion ? I am trying to setup a Freebsd machine for developing for Android, if possible. Thanks in advance. JB From erich at alogreentechnologies.com Sat Jun 23 04:21:14 2012 From: erich at alogreentechnologies.com (Erich Dollansky) Date: Sat Jun 23 04:21:21 2012 Subject: I have a problem to my server running under FreeBSD 8.1 p-1 release In-Reply-To: <1340419655.63495.YahooMailNeo@web190404.mail.sg3.yahoo.com> References: <1340379530.49640.YahooMailNeo@web190402.mail.sg3.yahoo.com> <201206222259.34058.erich@alogreentechnologies.com> <1340419655.63495.YahooMailNeo@web190404.mail.sg3.yahoo.com> Message-ID: <201206231121.07892.erich@alogreentechnologies.com> Hi, On Saturday 23 June 2012 09:47:35 RetspaN Code wrote: > Hello, > > Since you all the responsible of freebsd source and updates... Is there you are the only one responsible for the break in. So, what was the problem? > anyway to fix my server without re install the system? > Oh yes, you can find out what was done with your system and revert all changes. But you must be really sure what you are doing then. And you can do this only as long as you still have root access. Do you still have it? Erich From cswiger at mac.com Sat Jun 23 05:42:55 2012 From: cswiger at mac.com (Chuck Swiger) Date: Sat Jun 23 05:43:02 2012 Subject: Off Topic. DNS, Android. In-Reply-To: <3423267101-1670052078@intranet.com.mx> References: <3423267101-1670052078@intranet.com.mx> Message-ID: <60022DAD-AF66-4523-9A14-2168905358A9@mac.com> On Jun 22, 2012, at 8:28 PM, Jorge Biquez wrote: > Hello. Hola! > I am sorry if the following 2 questions could sound too stupid. > > a) Normally any Domain name registered has to have 2 Nameservers. Some registry like the one responsible for .ORG requires 2 at least to propagate the domain. In teh case of .COM that is not a requirement, one nameserver could work. It's always a good idea to have at least two nameservers configured for any public domain, and best practice involves having nameservers located on different networks. > If for some reason I have 2 of them and one is configured to point to SERVER A , and the other to SERVER B. Differenet places, same configuration. Is there any preference over what is PRIMARY NAMESERVER or SECONDARY NAMESERVER? I mean, Primary is the one used mainly? No, DNS round-robin used on most platforms will rotate fairly evenly. And the traffic can be cached by other nameservers for a long(er) time by upping TTLs, if you wish to reduce network traffic load...at the tradeoff of making DNS changes take longer to be noticed, of course. Bigger sites might adjust DNS traffic onto server pools with a load-balancer which does liveness checks of the nameservers and could be told to adjust traffic routing in various ways. You can also do something similar via ipfw/natd's redirect_address (see RFC 2391). > b) I am looking for good list like this one for people developing, learning about Android Development. Any suggestion ? > I am trying to setup a Freebsd machine for developing for Android, if possible. Hmm. http://developer.android.com/sdk/index.html suggests that maybe the Linux distribution under FreeBSD's Linux emulation might be a possibility. Regards, -- -Chuck From legolas at legolasweb.nl Sat Jun 23 05:50:43 2012 From: legolas at legolasweb.nl (Stas Verberkt) Date: Sat Jun 23 05:50:54 2012 Subject: Off Topic. DNS, Android. In-Reply-To: <60022DAD-AF66-4523-9A14-2168905358A9@mac.com> References: <3423267101-1670052078@intranet.com.mx> <60022DAD-AF66-4523-9A14-2168905358A9@mac.com> Message-ID: <4c315bf758e91fe031856fe705a7e7ed.squirrel@webmail.pcextreme.nl> >> b) I am looking for good list like this one for people developing, >> learning about Android Development. Any suggestion ? >> I am trying to setup a Freebsd machine for developing for Android, if >> possible. > > Hmm. http://developer.android.com/sdk/index.html suggests that maybe the > Linux distribution under FreeBSD's Linux emulation might be a possibility. > On some blog, I read about http://bsdroid.org From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 06:06:16 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 06:06:23 2012 Subject: Off Topic. DNS, Android. In-Reply-To: <3423267101-1670052078@intranet.com.mx> References: <3423267101-1670052078@intranet.com.mx> Message-ID: > a) Normally any Domain name registered has to have 2 Nameservers. Some don't have to. but should. > registry like the one responsible for .ORG requires 2 at least to propagate > the domain. In teh case of .COM that is not a requirement, one nameserver > could work. If for some reason I have 2 of them and one is configured to > point to SERVER A , and the other to SERVER B. Differenet places, same > configuration. Is there any preference over what is PRIMARY NAMESERVER or > SECONDARY NAMESERVER? I mean, Primary is the one used mainly? actually when another DNS server resolve the name it may use any of them. Primary and secondary is mostly term for you - DNS operator. Primary is the way where you type in domain definition file, secondary is the one that fetches the file from primary every time it was modified. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 06:09:40 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 06:09:46 2012 Subject: backup tools In-Reply-To: <20120622160903.GE24912@hemlock.hydra> References: <20120622160903.GE24912@hemlock.hydra> Message-ID: > > My criteria for procedures are: > > 1. They should minimize the need for additional software beyond the base > system as much as reasonably possible. This means not only that I do not good idea. > 3. They should provide for incremental backups. do backed up laptops use FreeBSD or have another filesystem. > > 4. They should provide for the ability to quickly and easily test backup > integrity without restoring the backups anywhere, which most likely means > some kind of checksum comparisons akin to what rsync provides. > > 5. They should allow for transferring data from the system to be backed > up to the backup server via SSH. there is precisely one tool you need. /usr/ports/net/rsync there is many "distros" of rsync for windoze if laptops run it. Not sure what actually works but i can check if you wish. i use rsync for backup server, just config is different: my server is behind NAT, and it connects to backed up server with rsync man rsync and read carefully, don't forget -b option it's very useful From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 06:10:26 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 06:10:32 2012 Subject: fsck_ufs running too often In-Reply-To: <1340402199.44929.YahooMailNeo@web113501.mail.gq1.yahoo.com> References: <1340402199.44929.YahooMailNeo@web113501.mail.gq1.yahoo.com> Message-ID: > Hi, since a few of days ago, I noticed my home server turns very slow more than once a day, so every time I run "top" to see what's processes are running, I can see fsck_ufs at the very top, and the hard drive working like mad. background_fsck=NO in /etc/rc.conf > > I've checked my crontab and there's nothing related to fsck_ufs, where can I start searching for the cause of the problem?, I thought this process should run only at boot or shutdown, but this time it is running -apparently- without a cause. > > uname -a: > FreeBSD server.my.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan ?3 07:46:30 UTC 2012 ? ? root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC ?amd64 > > Regards, > Leonardo M. Ram? > http://leonardorame.blogspot.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From erich at alogreentechnologies.com Sat Jun 23 06:15:33 2012 From: erich at alogreentechnologies.com (Erich Dollansky) Date: Sat Jun 23 06:15:40 2012 Subject: I have a problem to my server running under FreeBSD 8.1 p-1 release In-Reply-To: <1340431166.52870.YahooMailNeo@web190402.mail.sg3.yahoo.com> References: <1340379530.49640.YahooMailNeo@web190402.mail.sg3.yahoo.com> <201206231121.07892.erich@alogreentechnologies.com> <1340431166.52870.YahooMailNeo@web190402.mail.sg3.yahoo.com> Message-ID: <201206231315.28209.erich@alogreentechnologies.com> Hi, On Saturday 23 June 2012 12:59:26 RetspaN Code wrote: > Hello, > > Yes I'm still have a root access... that is why i right you a letter for a > help regarding to this problem on my server which is running freebsd 8.1 > p1 release... i did paste the error that i encounter on the server on my > first email. this only shows that you have an intruder. It would be close to impossible to diagnose it right from distance. > > Please help me to fix. Get either a boot 8.3 media or 9.0 and make a fresh install which even overwrites the filesystem. Of course, make a backup of your user data. Use different passwords and - most important - keep the machine offline until the new system is installed. I cannot think of a faster way to get rid of the problem. Erich > > Thanks Erich, > > Regards, > > FredFoxs > > > ________________________________ > From: Erich Dollansky > To: RetspaN Code ; freebsd-questions@freebsd.org > Sent: Saturday, June 23, 2012 12:21 PM > Subject: Re: I have a problem to my server running under FreeBSD 8.1 p-1 > release > > Hi, > > On Saturday 23 June 2012 09:47:35 RetspaN Code wrote: > > Hello, > > > > Since you all the responsible of freebsd source and updates... Is there > > you are the only one responsible for the break in. So, what was the > problem? > > > anyway to fix my server without re install the system? > > Oh yes, you can find out what was done with your system and revert all > changes. > > But you must be really sure what you are doing then. > > And you can do this only as long as you still have root access. Do you > still have it? > > Erich From erichfreebsdlist at ovitrap.com Sat Jun 23 06:36:47 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Sat Jun 23 06:36:54 2012 Subject: I have a problem to my server running under FreeBSD 8.1 p-1 release In-Reply-To: <1340432642.15254.YahooMailNeo@web190405.mail.sg3.yahoo.com> References: <1340379530.49640.YahooMailNeo@web190402.mail.sg3.yahoo.com> <201206231315.28209.erich@alogreentechnologies.com> <1340432642.15254.YahooMailNeo@web190405.mail.sg3.yahoo.com> Message-ID: <201206231336.42768.erichfreebsdlist@ovitrap.com> Hi, On Saturday 23 June 2012 13:24:02 RetspaN Code wrote: > Hello, > > Intruder already block, but my problem is the intruder before they get > block they load their exploit file to my machine that cause of my machine > /usr/src directory is set to read only i can't upload or put any file on > that folder saying permission denied. How to repair some of my files are > need to update. specially freebsd files. the user intruder can't login > anymore to the machine thru terminal using root access coz direct root > login access is disabled already. and ttys also set to IS or "insecure". > So my problem now is this how to fix that issue? so that i can update my > server machine to the latest. i want to upgrade my 8.1 to 9.0 it is > possible without problem after updates? chmod would be your friend. But you still do not know what kind of software is now running outside of your control. I would not even trust the compiler or even ls anymore on such a system. erich From w3 at langhans.com.pl Sat Jun 23 06:52:56 2012 From: w3 at langhans.com.pl (herbert langhans) Date: Sat Jun 23 06:53:03 2012 Subject: backup tools In-Reply-To: <20120623023022.5993A106572F@hub.freebsd.org> References: <20120623023022.5993A106572F@hub.freebsd.org> Message-ID: <20120623064727.GA11101@manul.langhans.com.pl> Maybe take a look at lftp, at the mirror option. For basic demands its a compact solution. Cheers herb langhans -- sprachtraining langhans herbert langhans, warschau herbert.raimund[at]gmx.net herbert[at]langhans.com.pl http://www.langhans.com.pl +0048 603 341 441 | jabber:herbs | icq:414500866 | yahoo_im:herbert.raimund From erichfreebsdlist at ovitrap.com Sat Jun 23 07:02:38 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Sat Jun 23 07:02:45 2012 Subject: I have a problem to my server running under FreeBSD 8.1 p-1 release In-Reply-To: <1340433684.54551.YahooMailNeo@web190404.mail.sg3.yahoo.com> References: <1340379530.49640.YahooMailNeo@web190402.mail.sg3.yahoo.com> <201206231336.42768.erichfreebsdlist@ovitrap.com> <1340433684.54551.YahooMailNeo@web190404.mail.sg3.yahoo.com> Message-ID: <201206231402.34973.erichfreebsdlist@ovitrap.com> Hi, On Saturday 23 June 2012 13:41:24 RetspaN Code wrote: > 49129472 drwxr-x--x 20 root tonyx 512 Jun 5 13:00 .. who belongs to this group? > 49134586 -rw-r--r-- 1 root wheel 6206 Jun 13 2010 COPYRIGHT > 49134587 -rw-r--r-- 1 root wheel 442 Jun 13 2010 LOCKS > 49134588 -rw-r--r-- 1 root wheel 6659 Jun 13 2010 MAINTAINERS > 49134589 -rw-r--r-- 1 root wheel 12990 Jun 13 2010 Makefile > 49134590 -rw-r--r-- 1 root wheel 42773 Jun 13 2010 Makefile.inc1 > 49134591 -rw-r--r-- 1 root wheel 230253 Jun 13 2010 ObsoleteFiles.inc > 49134592 -rw-r--r-- 1 root wheel 3087 Jun 13 2010 README > 49134593 -rw-r--r-- 1 root wheel 69779 Sep 20 2010 UPDATING > 49698048 drwxr-xr-x 40 root wheel 1024 Oct 28 2010 bin > 49133812 -rw-r--r-- 1 root wheel 443 May 28 2011 bind.patch > 49133815 -rw-r--r-- 1 root wheel 185 May 28 2011 bind.patch.asc > 49134439 -rw-r--r-- 1 root wheel 2832 Dec 23 2011 bind8.patch > 49133792 -rw-r--r-- 1 root wheel 885 Sep 20 2010 bzip2.patch What are those files doing here? > 49698539 drwxr-xr-x 8 root wheel 512 Oct 28 2010 cddl > 49133586 -rw-r--r-- 1 root wheel 6549 Dec 23 2011 chroot8.patch Again ... > 49959740 drwxr-xr-x 208 root wheel 4096 Jun 2 20:13 usr.sbin The access rights seem all to be right. > CyberTech# ls -lia /usr/ > total 592 > 49129472 drwxr-x--x 20 root tonyx 512 Jun 5 13:00 . > 2 drwx--x--x 23 root wheel 512 Jun 18 21:45 .. > 49133557 lrwxr-xr-x 1 root tonyx 10 Oct 31 2010 X11R6 -> > /usr/local 49129473 drwxr-xr-x 2 root 1001 7680 Jun 18 21:40 bin > 49626757 drwxr-xr-x 2 root wheel 512 Oct 28 2010 compat > 49653185 drwxr-xr-x 24 root wheel 1024 Oct 28 2010 doc > 49626758 drwxr-xr-x 2 root wheel 512 Oct 28 2010 games > 49270825 drwx--x--x 10 root wheel 512 Jun 22 05:01 home I would use 755 for home. You can keep here wheel as the group. > 49129474 drwxr-xr-x 47 root 1001 5120 Oct 28 2010 include > 49129475 drwxr-xr-x 6 root 1001 11776 May 30 21:17 lib > 49129476 drwxr-xr-x 5 root 1001 512 Jul 18 2010 libdata > 49129477 drwxr-xr-x 5 root 1001 1536 Dec 28 05:45 libexec What was group 1001? In /usr all should be owned by wheel. > 49129478 drwxr-xr-x 18 root wheel 512 May 31 22:21 local > 49626759 drwxr-xr-x 3 root wheel 512 Oct 28 2010 obj > 49176576 drwx--x--x 69 root wheel 1536 Nov 5 2010 ports I would not set the access rights like this for ports but it should be no harm. Do you know why it is like this? > 49158174 drwx--x--x 3 root tonyx 512 May 20 07:56 rscr > 49134479 -rw-r--r-- 1 root tonyx 517120 Jun 5 13:00 rscr.tar What is group tonyx? > 49129481 drwx------ 22 root wheel 1024 Jan 7 02:27 src The same as ports. > 49698045 drwxr-xr-x 5 root wheel 512 Oct 28 2010 sup > 49155246 drwxr-xr-x 2 root tonyx 512 Oct 28 2010 uscr Why is there a uscr there? > CyberTech# It seems that your are from a small island. > > Can you help me Sir to find out what is going on in my machine. It will be difficult to fix this from distance! Erich From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 07:19:34 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 07:19:42 2012 Subject: Why Clang In-Reply-To: <20120622235819.GA7876@hemlock.hydra> References: <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <20120621015237.GB58187@neutralgood.org> <20120622044212.GC24912@hemlock.hydra> <20120622235819.GA7876@hemlock.hydra> Message-ID: >> I am not sure, as long as clients would be treated seriously! > > I look at large corporate software vendors and see them treating > customers seriously maybe 2% of the time at best. In this case, most of I assumed FreeBSD team are OK and would fit in this 2% or even those 0.2% am i wrong? From ohartman at zedat.fu-berlin.de Sat Jun 23 07:21:42 2012 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Sat Jun 23 07:21:55 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <201206220822.19486.hselasky@c2i.net> References: <4FE40A42.6010503@zedat.fu-berlin.de> <201206220822.19486.hselasky@c2i.net> Message-ID: <4FE56E78.8010000@zedat.fu-berlin.de> On 06/22/12 08:22, Hans Petter Selasky wrote: > On Friday 22 June 2012 08:01:38 O. Hartmann wrote: >> I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD >> shown below. >> When first used, I was able to put approx. 30 GB of data on it - it was >> visible to FreeBSD 9 and 10 as expected. >> A Linux system at the lab was also capable of recognizing it. After >> that, I tried to operate on the stick on a Notebook, FreeBSD 9, and >> another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive >> anymore - sometimes, but this seems to be a gambling issue :-( >> >> Trying Linux on different hardware platforms and even those machines >> prior not recognizing the USB drive do recognize the drive as Lexar USB >> Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu >> 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and >> pull data from it. >> >> So, since the USB drive won't work with three different FreeBSD boxes >> (one running 9-STABLE, two 10-CURRENT, all systems most recent sources >> and buildworld from a day ago). >> I suspect either a weird configuration issue I use on all platforms in >> questions in common triggering the weird beviour - or FreeBSD is simply >> incapable of handling the 64GB drive. I do not have issues with USB >> drives with capacities of 32, 8 or 4 GB of different brands. >> >> As shown in the portion of the dmesg below, the USB drive is recognized >> physically. It doesn't matter whether USB port I use (I tried all >> available on all boxes and in most cases I use a Dell UltraSharp powered >> in-screen HUB). Since other OSes handle the drive as expected, I exclude >> hardware issues. >> >> All FreeBSD in common is the fact I use the new device ahaci/device ata >> CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). >> >> Apart from trying a GENERIC kernel (which is next I will do this >> weekend), does anyone have similar experiences and probably solutions? >> >> Regards, >> oh >> >> ugen7.6: at usbus7 >> umass1: on >> usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 >> (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error >> (probe0:umass-sim1:1:0:0): Retrying command >> (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 >> (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error >> (probe0:umass-sim1:1:0:0): Retrying command >> (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 >> (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error >> (probe0:umass-sim1:1:0:0): Retrying command >> (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 >> (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error >> (probe0:umass-sim1:1:0:0): Retrying command >> (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 >> (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error >> (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted > > Hi, > > After plugging the device, try: > > usbconfig -d 7.6 add_quirk UQ_MSC_NO_INQUIRY > > Then re-plug it. > > I'm sorry to say a lot of USB flash sticks out there are broken and only > tested with the timing of MS Windows. Part of the problem is that it is > difficult to autodetect these issues, because once you trigger the non- > supported SCSI command, then the flash key stops working like you experience. > > I would be more than glad to open up an office to certify USB devices for use > with FreeBSD :-) > > --HPS > I tried the USB drive this morning with the recommended quirk shown above on FreeBSD 10.0-CURRENT #1 r237462: Sat Jun 23 01:00:35 CEST 2012 without success. I get the same error message as shown above. With or without quirk. I then started Windows 7 on the same box. The USB drive is seen as expected and reflects what I experienced on every other non-FreeBSD box and hardware in the lab on last week. I reformatted the USB drive with extFAT and standard block size on Windows 7. The USB drive is now seen again on FreeBSD and recognized as a drive. "Seen" in my sloppy terminology means: recognized as a disk. The hardware is recognized, but it is not recognized as a drive. The fact, that the very first time after I bought that USB drive, I was able to put several GB on it, use it on both FreeBSD 9-STABLE and 10-CURRENT, and then it broke, drives me nuts. Using the very same pen drive on other OSes even on the same hardware without issues makes me believe FreeBSD does have an issue, not the USB drive. I will fill the USB drive with data and try to use it very often on FreeBSD. Last time the error occured, it was read by a Suse Linux box. If I wouldn't know better I would say Linux tries to kill the USB drive ... But Linux did see it all the time. A "usual customer" would see it the same way, I guess. I will test and report next week when I have access to the other boxes and OSes again. Regards, Oliver -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120623/65839532/signature.pgp From erichfreebsdlist at ovitrap.com Sat Jun 23 07:34:00 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Sat Jun 23 07:34:07 2012 Subject: I have a problem to my server running under FreeBSD 8.1 p-1 release In-Reply-To: <1340436058.42871.YahooMailNeo@web190405.mail.sg3.yahoo.com> References: <1340379530.49640.YahooMailNeo@web190402.mail.sg3.yahoo.com> <201206231402.34973.erichfreebsdlist@ovitrap.com> <1340436058.42871.YahooMailNeo@web190405.mail.sg3.yahoo.com> Message-ID: <201206231433.56299.erichfreebsdlist@ovitrap.com> Hi, On Saturday 23 June 2012 14:20:58 RetspaN Code wrote: > > That was before. and i notice most of files on / directory is not own by > wheel group. :( i try to chown but still not done. can u tell me why that > happen? all in / has to be owned by root:wheel. Who else has had root access and might have left the company since then? Erich > > Thanks! Erich > > Regards, > > FredFoxs > > > ________________________________ > From: Erich Dollansky > To: RetspaN Code ; freebsd-questions@freebsd.org > Sent: Saturday, June 23, 2012 3:02 PM > Subject: Re: I have a problem to my server running under FreeBSD 8.1 p-1 > release > > Hi, > > On Saturday 23 June 2012 13:41:24 RetspaN Code wrote: > > 49129472 drwxr-x--x 20 root tonyx 512 Jun 5 13:00 .. > > who belongs to this group? > > > 49134586 -rw-r--r-- 1 root wheel 6206 Jun 13 2010 COPYRIGHT > > 49134587 -rw-r--r-- 1 root wheel 442 Jun 13 2010 LOCKS > > 49134588 -rw-r--r-- 1 root wheel 6659 Jun 13 2010 MAINTAINERS > > 49134589 -rw-r--r-- 1 root wheel 12990 Jun 13 2010 Makefile > > 49134590 -rw-r--r-- 1 root wheel 42773 Jun 13 2010 Makefile.inc1 > > 49134591 -rw-r--r-- 1 root wheel 230253 Jun 13 2010 > > ObsoleteFiles.inc 49134592 -rw-r--r-- 1 root wheel 3087 Jun 13 > > 2010 README 49134593 -rw-r--r-- 1 root wheel 69779 Sep 20 2010 > > UPDATING 49698048 drwxr-xr-x 40 root wheel 1024 Oct 28 2010 bin > > 49133812 -rw-r--r-- 1 root wheel 443 May 28 2011 bind.patch > > 49133815 -rw-r--r-- 1 root wheel 185 May 28 2011 bind.patch.asc > > 49134439 -rw-r--r-- 1 root wheel 2832 Dec 23 2011 bind8.patch > > 49133792 -rw-r--r-- 1 root wheel 885 Sep 20 2010 bzip2.patch > > What are those files doing here? > > > 49698539 drwxr-xr-x 8 root wheel 512 Oct 28 2010 cddl > > 49133586 -rw-r--r-- 1 root wheel 6549 Dec 23 2011 chroot8.patch > > Again ... > > > 49959740 drwxr-xr-x 208 root wheel 4096 Jun 2 20:13 usr.sbin > > The access rights seem all to be right. > > > CyberTech# ls -lia /usr/ > > total 592 > > 49129472 drwxr-x--x 20 root tonyx 512 Jun 5 13:00 . > > > > 2 drwx--x--x 23 root wheel 512 Jun 18 21:45 .. > > > > 49133557 lrwxr-xr-x 1 root tonyx 10 Oct 31 2010 X11R6 -> > > /usr/local 49129473 drwxr-xr-x 2 root 1001 7680 Jun 18 21:40 bin > > 49626757 drwxr-xr-x 2 root wheel 512 Oct 28 2010 compat > > 49653185 drwxr-xr-x 24 root wheel 1024 Oct 28 2010 doc > > 49626758 drwxr-xr-x 2 root wheel 512 Oct 28 2010 games > > 49270825 drwx--x--x 10 root wheel 512 Jun 22 05:01 home > > I would use 755 for home. You can keep here wheel as the group. > > > 49129474 drwxr-xr-x 47 root 1001 5120 Oct 28 2010 include > > 49129475 drwxr-xr-x 6 root 1001 11776 May 30 21:17 lib > > 49129476 drwxr-xr-x 5 root 1001 512 Jul 18 2010 libdata > > 49129477 drwxr-xr-x 5 root 1001 1536 Dec 28 05:45 libexec > > What was group 1001? In /usr all should be owned by wheel. > > > 49129478 drwxr-xr-x 18 root wheel 512 May 31 22:21 local > > 49626759 drwxr-xr-x 3 root wheel 512 Oct 28 2010 obj > > 49176576 drwx--x--x 69 root wheel 1536 Nov 5 2010 ports > > I would not set the access rights like this for ports but it should be no > harm. Do you know why it is like this? > > > 49158174 drwx--x--x 3 root tonyx 512 May 20 07:56 rscr > > 49134479 -rw-r--r-- 1 root tonyx 517120 Jun 5 13:00 rscr.tar > > What is group tonyx? > > > 49129481 drwx------ 22 root wheel 1024 Jan 7 02:27 src > > The same as ports. > > > 49698045 drwxr-xr-x 5 root wheel 512 Oct 28 2010 sup > > 49155246 drwxr-xr-x 2 root tonyx 512 Oct 28 2010 uscr > > Why is there a uscr there? > > > CyberTech# > > It seems that your are from a small island. > > > Can you help me Sir to find out what is going on in my machine. > > It will be difficult to fix this from distance! > > Erich From hoomanfazaeli at gmail.com Sat Jun 23 07:47:25 2012 From: hoomanfazaeli at gmail.com (Hooman Fazaeli) Date: Sat Jun 23 07:47:32 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> <4FE32C16.3050205@gmail.com> Message-ID: <4FE57481.90601@gmail.com> I meant, is it now possible to have >2TB FS with UFS? On 6/21/2012 6:54 PM, Wojciech Puchar wrote: > > > On Thu, 21 Jun 2012, Hooman Fazaeli wrote: > >> On 6/21/2012 4:22 PM, Wojciech Puchar wrote: >>> stick with UFS. It JUST WORKS(R), and is trusty. >>> And it works fast. >>> >> What options are there for >2TB file systems with UFS? >> > the same as for <2TB filesystems. > From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 07:49:40 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 07:49:50 2012 Subject: backup tools In-Reply-To: <20120623064727.GA11101@manul.langhans.com.pl> References: <20120623023022.5993A106572F@hub.freebsd.org> <20120623064727.GA11101@manul.langhans.com.pl> Message-ID: > Maybe take a look at lftp, at the mirror option. For basic demands its a > compact solution. try doing backup of things with 10000 dirs and million files and certainly you will understand you need rsync. ftp protocol is plain bad for that. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 07:55:18 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 07:55:26 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE57481.90601@gmail.com> References: <4FE2CE38.9000100@gmail.com> <4FE32C16.3050205@gmail.com> <4FE57481.90601@gmail.com> Message-ID: > I meant, is it now possible to have >2TB FS with UFS? UFS2 is here since IMHO year 2005. Now the only problem is fsck time. actually IMHO fsck can be improved a lot but someone must have time and will to do this. if parallelism would be exploited on gstripe type(*) volumes then it should take less than 30 minutes no matter how large the volume is. Anyway - even with UFS which is the most fault-resilent filesystem i know - i would not recommend creating gstripe type volumes taking too many disks for the reason i already explained. For now softupdates+journal is fine, you actually have to do full fsck now and then, but at spare time. *) gstripe type means gstripe, gstripe+gmirror, graid5, graid5+gstripe, hardware matrix controller with any type of RAID configuration. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 07:58:42 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 07:58:49 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <4FE56E78.8010000@zedat.fu-berlin.de> References: <4FE40A42.6010503@zedat.fu-berlin.de> <201206220822.19486.hselasky@c2i.net> <4FE56E78.8010000@zedat.fu-berlin.de> Message-ID: > and hardware in the lab on last week. > I reformatted the USB drive with extFAT and standard block size on > Windows 7. The USB drive is now seen again on FreeBSD and recognized as this points that the pendrive's controller is not just flaky but horrid. The communiation with OS, and how/whether it is configured properly should not depend on what data is written to it - in your case exFAT metadata. It seems that controller manufacturer just did something "to run on windows and linux" instead of something that conform to USB mass storage interface standard :( Sorry but it may be hopeless case. From rsmith at xs4all.nl Sat Jun 23 08:00:04 2012 From: rsmith at xs4all.nl (Roland Smith) Date: Sat Jun 23 08:00:12 2012 Subject: backup tools In-Reply-To: <20120623003717.GD7876@hemlock.hydra> References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> Message-ID: <20120623075928.GA19093@slackbox.erewhon.net> On Fri, Jun 22, 2012 at 06:37:17PM -0600, Chad Perrin wrote: > On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: > > On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: > > > I'm setting up a "new" backup server using FreeBSD. It will be used for > > > backing up laptops, which will not be connected to the network by any > > > kind of schedule, so backups will be initiated manually rather than by > > > cron or other scheduled procedures. > > > > What are the laptops running? > > FreeBSD, Debian, and/or Ubuntu. There's at least one of each. I > apologize for not mentioning that sooner. I had a feeling I'd overlook > something. Hmm, I'm not sure that there is _anything_ that meets _all_ your criteria! For backing up complete systems (including boot blocks) I've used Clonezilla Live to good effect. On the several standalone systems I tried it on, it managed around 1 GiB/minute, backing up to a USB HDD. It can also back-up to a ssh, samba or nfs server. Of course this doesn't do incremental backups, and it is GPL. If you don't care about the OS, and just want to back up the user's data, I guess rsync would be the way to go. This in turn will not save the boot block, although you could use dd for that I guess. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120623/0438cd5c/attachment.pgp From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 08:07:52 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 08:07:59 2012 Subject: backup tools In-Reply-To: <20120623075928.GA19093@slackbox.erewhon.net> References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <20120623075928.GA19093@slackbox.erewhon.net> Message-ID: > > Hmm, I'm not sure that there is _anything_ that meets _all_ your criteria! rsync meets. It can be a little harder with windoze, with any unix-like OS it will work. From mueller23 at insightbb.com Sat Jun 23 08:08:59 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Sat Jun 23 08:09:07 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do Message-ID: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> > My elder colleague often told me that it is the easiest and well-working way > to check whether the one is certified to work for Mac OS X to get USB mass > storage devices which work with *BSD :) > Just my 5 yen, -|-__ YAMAMOTO, Taku | __ < What if a USB mass storage device works with some BSDs but not all? I had Kingston Data Travelers, 2 GB, from one lot that were good with Linux and FreeBSD but not NetBSD. Other USB sticks, including Kingston Data Tavelers, worked with Linux, FreeBSD and NetBSD. I even installed FreeDOS 1.1 prerelease on one of those NetBSD-averse Kingstom Data Travelers. But I think either Mac OS X, Linux or FreeBSD is much more production-ready than NetBSD. > There are 3 drivers, one for 3.0, 2.0 and 1.0, and they are associated to > corresponding devices at boot. I'll play around with it this weekend and > see how to switch, i've also noticed issue connecting 2.0 device to 3.0 > port. > Waitman Gobble > San Jose California USA I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I tried the opposite. My Western Digital My Book Essential 3.0 TB USB 3.0 drive works even on the old computer whose motherboard's USB is 1.1. I tried to access that USB 3.0 hard drive on the new computer from USB 2.0 port because NetBSD has no USB 3.0 support: no go. But when I installed USB 2.0 brackets to USB 2.0 headers on the motherboard, the USB 3.0 hard drive was accessible from those USB 2.0 ports. Tom From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 08:16:26 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 08:16:33 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> References: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> Message-ID: > What if a USB mass storage device works with some BSDs but not all? well the only thing i never experiences with USB pendrives is a one that works everytime properly. Everything else is possible. From nightrecon at hotmail.com Sat Jun 23 08:21:28 2012 From: nightrecon at hotmail.com (Michael Powell) Date: Sat Jun 23 08:21:36 2012 Subject: Is ZFS production ready? References: <4FE2CE38.9000100@gmail.com> <4FE32C16.3050205@gmail.com> <4FE57481.90601@gmail.com> Message-ID: Hooman Fazaeli wrote: > > I meant, is it now possible to have >2TB FS with UFS? > Yes. The 2TB limitation so many are used to applies more to the tools than the UFS2 file system itself. UFS2 has a max volume size of 2^73, or 8 Zeta-Bytes. If you utilize the old Dos MBR scheme with old fdisk and disklabel tools you will still face the 2TB volume limit. Use Gpart, Glabel, and GPT partitioning instead. A quick and short example: http://www.mebsd.com/configure-freebsd-servers/big-partitions-in-freebsd-bigger-than-2tb.html However, fsck'ing such large volumes will take considerable time if such a thing needs doing. There is the new "Soft-update plus Journaling" coming along with the advent of 9.x, which is supposed to ameliorate this. Not completely sold on it yet, as I don't have enough knowledge/experience yet. Some may say "it's not just quite ready for prime time yet", but I don't really know definitively myself. [snip] -Mike From freebsd at edvax.de Sat Jun 23 08:22:07 2012 From: freebsd at edvax.de (Polytropon) Date: Sat Jun 23 08:22:14 2012 Subject: backup tools In-Reply-To: References: <20120623023022.5993A106572F@hub.freebsd.org> <20120623064727.GA11101@manul.langhans.com.pl> Message-ID: <20120623102204.3c8bd0f8.freebsd@edvax.de> On Sat, 23 Jun 2012 09:49:39 +0200 (CEST), Wojciech Puchar wrote: > > Maybe take a look at lftp, at the mirror option. For basic demands its a > > compact solution. > > try doing backup of things with 10000 dirs and million files and certainly > you will understand you need rsync. In addition to rsync, which is regarded the default tool for the described action, maybe cpdup is worth looking at. It also has the ability to maintain "incremental" backups (add changes). > ftp protocol is plain bad for that. And insecure unless tunneled through some encryption (which might be important when backups appear inside a network with non-trusted participants, or across the Internet). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From erichfreebsdlist at ovitrap.com Sat Jun 23 08:27:28 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Sat Jun 23 08:27:35 2012 Subject: I have a problem to my server running under FreeBSD 8.1 p-1 release In-Reply-To: <1340437458.85679.YahooMailNeo@web190405.mail.sg3.yahoo.com> References: <1340379530.49640.YahooMailNeo@web190402.mail.sg3.yahoo.com> <201206231433.56299.erichfreebsdlist@ovitrap.com> <1340437458.85679.YahooMailNeo@web190405.mail.sg3.yahoo.com> Message-ID: <201206231527.24629.erichfreebsdlist@ovitrap.com> Hi, On Saturday 23 June 2012 14:44:18 RetspaN Code wrote: > > I did own now by root:wheel but now i'm under on ddos attack. :( but still > not yet done the exploit not yet remove. > > too lag my server due to ddos attack. > the server must be off-line if you want to have the tiniest chance to get it back again. Erich From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 08:35:51 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 08:35:58 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> <4FE32C16.3050205@gmail.com> <4FE57481.90601@gmail.com> Message-ID: > However, fsck'ing such large volumes will take considerable time if such a > thing needs doing. There is the new "Soft-update plus Journaling" coming > along with the advent of 9.x, which is supposed to ameliorate this. Not it is far from perfect. But fine to use it. Just DO full fsck every some time. Fortunately it would be planned outage instead of unplanned. From w3 at langhans.com.pl Sat Jun 23 09:01:12 2012 From: w3 at langhans.com.pl (herbert langhans) Date: Sat Jun 23 09:01:20 2012 Subject: backup tools In-Reply-To: <20120623102204.3c8bd0f8.freebsd@edvax.de> References: <20120623023022.5993A106572F@hub.freebsd.org> <20120623064727.GA11101@manul.langhans.com.pl> <20120623102204.3c8bd0f8.freebsd@edvax.de> Message-ID: <20120623090108.GA11537@manul.langhans.com.pl> lftp does work incremental. Take a look at Chad's posting again and read what he needs. And of course, ftp via ssh is nothing new ... Cheers herb langhans On Sat, Jun 23, 2012 at 10:22:04AM +0200, Polytropon wrote: > On Sat, 23 Jun 2012 09:49:39 +0200 (CEST), Wojciech Puchar wrote: > > > Maybe take a look at lftp, at the mirror option. For basic demands its a > > > compact solution. > > > > try doing backup of things with 10000 dirs and million files and certainly > > you will understand you need rsync. > > In addition to rsync, which is regarded the default tool for > the described action, maybe cpdup is worth looking at. It also > has the ability to maintain "incremental" backups (add changes). > > > > > ftp protocol is plain bad for that. > > And insecure unless tunneled through some encryption (which might > be important when backups appear inside a network with non-trusted > participants, or across the Internet). > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- sprachtraining langhans herbert langhans, warschau herbert.raimund[at]gmx.net herbert[at]langhans.com.pl http://www.langhans.com.pl +0048 603 341 441 | jabber:herbs | icq:414500866 | yahoo_im:herbert.raimund From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 09:10:12 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 09:10:19 2012 Subject: backup tools In-Reply-To: <20120623090108.GA11537@manul.langhans.com.pl> References: <20120623023022.5993A106572F@hub.freebsd.org> <20120623064727.GA11101@manul.langhans.com.pl> <20120623102204.3c8bd0f8.freebsd@edvax.de> <20120623090108.GA11537@manul.langhans.com.pl> Message-ID: > lftp does work incremental. Take a look at Chad's posting again and read > what he needs. And of course, ftp via ssh is nothing new ... still - any ftp client will no go faster than ftp protocol allows. From herbert.raimund at langhans.com.pl Sat Jun 23 09:17:37 2012 From: herbert.raimund at langhans.com.pl (herbert langhans) Date: Sat Jun 23 09:17:44 2012 Subject: backup tools In-Reply-To: References: <20120623023022.5993A106572F@hub.freebsd.org> <20120623064727.GA11101@manul.langhans.com.pl> <20120623102204.3c8bd0f8.freebsd@edvax.de> <20120623090108.GA11537@manul.langhans.com.pl> Message-ID: <20120623091736.GA8640@manul.langhans.com.pl> On Sat, Jun 23, 2012 at 11:10:06AM +0200, Wojciech Puchar wrote: > >lftp does work incremental. Take a look at Chad's posting again and read > >what he needs. And of course, ftp via ssh is nothing new ... > still - any ftp client will no go faster than ftp protocol allows. That's sure. But I think it's an option for the laptops what Chad mentioned. Such scripts for backup are set up in minutes and it happily copies the files to the server. If there are already user accounts on the server, it could be really easy. I think it depends on the scale of the network. Cheers herb langhans From nec556 at retena.com Sat Jun 23 09:38:22 2012 From: nec556 at retena.com (Eduardo Morras) Date: Sat Jun 23 09:38:29 2012 Subject: backup tools In-Reply-To: <20120623003717.GD7876@hemlock.hydra> References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> Message-ID: <4FA8827200C1EDC7@> (added by postmaster@resmaa13.ono.com) At 02:37 23/06/2012, Chad Perrin wrote: >On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: > > On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: > > > I'm setting up a "new" backup server using FreeBSD. It will be used for > > > backing up laptops, which will not be connected to the network by any > > > kind of schedule, so backups will be initiated manually rather than by > > > cron or other scheduled procedures. > > > > What are the laptops running? > >FreeBSD, Debian, and/or Ubuntu. There's at least one of each. I >apologize for not mentioning that sooner. I had a feeling I'd overlook >something. If it must work with all OS and you have no restrictions on network you can: a) activate PXE/WOL on bios b) start the laptop via PXE using a freebsd/linux/whatever_os_you_want_to_use c) use dd piped to rsync to make the backups This way you don't need to install anything on your freebsd ubuntu debian. From adrian at freebsd.org Sat Jun 23 09:52:53 2012 From: adrian at freebsd.org (Adrian Chadd) Date: Sat Jun 23 09:53:00 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <201206220822.19486.hselasky@c2i.net> References: <4FE40A42.6010503@zedat.fu-berlin.de> <201206220822.19486.hselasky@c2i.net> Message-ID: On 21 June 2012 23:22, Hans Petter Selasky wrote: > usbconfig -d 7.6 add_quirk UQ_MSC_NO_INQUIRY > > Then re-plug it. > > I'm sorry to say a lot of USB flash sticks out there are broken and only > tested with the timing of MS Windows. Part of the problem is that it is > difficult to autodetect these issues, because once you trigger the non- > supported SCSI command, then the flash key stops working like you experience. > > I would be more than glad to open up an office to certify USB devices for use > with FreeBSD :-) Question - if that's the case, then why are we even doing that by default? Adrian From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 10:02:34 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 10:03:02 2012 Subject: backup tools In-Reply-To: <20120623091736.GA8640@manul.langhans.com.pl> References: <20120623023022.5993A106572F@hub.freebsd.org> <20120623064727.GA11101@manul.langhans.com.pl> <20120623102204.3c8bd0f8.freebsd@edvax.de> <20120623090108.GA11537@manul.langhans.com.pl> <20120623091736.GA8640@manul.langhans.com.pl> Message-ID: > >> still - any ftp client will no go faster than ftp protocol allows. > > That's sure. But I think it's an option for the laptops what Chad only if $HOME directly or part of it is copied and nothing more From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 10:03:45 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 10:03:50 2012 Subject: backup tools In-Reply-To: <4FA8827200C1EDC7@> (added by postmaster@resmaa13.ono.com) References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <4FA8827200C1EDC7@> (added by postmaster@resmaa13.ono.com) Message-ID: > a) activate PXE/WOL on bios > > b) start the laptop via PXE using a freebsd/linux/whatever_os_you_want_to_use > > c) use dd piped to rsync to make the backups not really efficient but working. ntfsprogs from ports can be helpful. you may use ntfsmount and access NTFS files directly. if backup is done over fast LAN, ntfsclone -s is useful From hselasky at c2i.net Sat Jun 23 10:57:26 2012 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sat Jun 23 10:57:33 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: References: <4FE40A42.6010503@zedat.fu-berlin.de> <201206220822.19486.hselasky@c2i.net> Message-ID: <201206231256.59343.hselasky@c2i.net> On Saturday 23 June 2012 11:52:53 Adrian Chadd wrote: > On 21 June 2012 23:22, Hans Petter Selasky wrote: > > usbconfig -d 7.6 add_quirk UQ_MSC_NO_INQUIRY > > > > Then re-plug it. > > > > I'm sorry to say a lot of USB flash sticks out there are broken and only > > tested with the timing of MS Windows. Part of the problem is that it is > > difficult to autodetect these issues, because once you trigger the non- > > supported SCSI command, then the flash key stops working like you > > experience. > > > > I would be more than glad to open up an office to certify USB devices for > > use with FreeBSD :-) > > Question - if that's the case, then why are we even doing that by default? > Hi, Do you want a blacklist or do you want a whitelist? Please explain the pros and cons. I believe that those that program wrong shall be held responsible for that and given a chance to clean up, and not the opposite way around. As a senior programmer I can only testify that many people care equally little about what their computer is made of and what they eat. We probably need a control body to certify USB devices that is cheaper than USB.org, simply put. I think it is a bad idea to cripple all USB SCSI devices because what looks like the majority do not obey the rules of the specifications they are supposed to support. Else we need to make a new USB SCSI class for devices that are certified and one for devices that are not certified. Non-certified devices can have a limited SCSI command set, which should be implemented in the CAM layer like some kind of flag. If we could join heads on the Linux guys on this, we might be able to do something! Like having a pop-up every time a USB device fails certain tests. From the history we can predict what people will do when they do not know what they are doing. They will nail the guy doing it right and let the guy doing it wrong go free. And it seems like this happened before too ;-) I have a personal FreeBSD-native USB test utilty that runs mass storage devices through a series of tests. Most USB mass storage devices I've tested so far have obvious bugs, which either means their firmware can be hacked or made to crash. Also worth noting, that many USB device are not certified at all. It might be clever to look for the USB logo from USB.org next time you want to transfer X GB of personal data from location X to Y. --HPS From jhs at berklix.com Sat Jun 23 10:57:40 2012 From: jhs at berklix.com (Julian H. Stacey) Date: Sat Jun 23 10:57:56 2012 Subject: fsck_ufs running too often In-Reply-To: Your message "Sat, 23 Jun 2012 04:22:29 +0200." <20120623042229.c5d8a8d8.freebsd@edvax.de> Message-ID: <201206231057.q5NAv1tF086046@fire.js.berklix.net> > My suggestion: Set background_fsck="YES" in /etc/rc.conf and let > the system boot up that way. _If_ you have a faulty disk or other > data corruption, you'll notice this _before_ going multi-user and > maybe making things worse. Yes, it might take some time, but it's > time well invested in your data integrity. > > Alternative: Perform a "shutdown now" and go into single-user mode. > Then unmount all your file systems, do "mount -o ro /" and then > perform the fsck run on all file systems. It's typically adviced > to perform file system checks on unmounted (or at least read-only > mounted) file systems. man fsck: ----- Note that background fsck is limited to checking for only the most commonly occurring file system abnormalities. Under certain circumstances, some errors can escape background fsck. It is recommended that you perform foreground fsck on your systems periodically and whenever you encounter file-system-related pan- ics. --- So do a manual fsck to make sure there's no residual faults lurking. Realise fsck wont start if it thinks its clean, (but might not be clean) so Boot single user & type fsck or fsck -y PS /etc/rc.conf: fsck_y_enable="YES" # to regularly force clean if fsck asks # background_fsck="YES" # a trade off your decision Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From erichfreebsdlist at ovitrap.com Sat Jun 23 10:57:41 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Sat Jun 23 10:57:58 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> References: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> Message-ID: <201206231550.06081.erichfreebsdlist@ovitrap.com> Hi, On Saturday 23 June 2012 15:08:53 Thomas Mueller wrote: > > I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I > tried the opposite. > I have here 2 hard disks and 2 flash drives with USB 2.0. Three of them work on FreeBSD on an USB 3.0 port. One hard disk only works on a USB 3.0 port. One hard drive with USB 3.0 does not work on USB 3.0 but only on 2.0. Irony is that the PCBSD installer installed PCBSD on the USB 3.0 disk but it did not boot afterward. > I tried to access that USB 3.0 hard drive on the new computer from USB 2.0 > port because NetBSD has no USB 3.0 support: no go. Let me check this out. > > But when I installed USB 2.0 brackets to USB 2.0 headers on the > motherboard, the USB 3.0 hard drive was accessible from those USB 2.0 > ports. > Same as in my case. USB is more a lottery than real computing for me. Erich From erichfreebsdlist at ovitrap.com Sat Jun 23 11:02:20 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Sat Jun 23 11:02:33 2012 Subject: I have a problem to my server running under FreeBSD 8.1 p-1 release In-Reply-To: <1340440425.70680.YahooMailNeo@web190403.mail.sg3.yahoo.com> References: <1340379530.49640.YahooMailNeo@web190402.mail.sg3.yahoo.com> <201206231527.24629.erichfreebsdlist@ovitrap.com> <1340440425.70680.YahooMailNeo@web190403.mail.sg3.yahoo.com> Message-ID: <201206231802.17955.erichfreebsdlist@ovitrap.com> Hi, On Saturday 23 June 2012 15:33:45 RetspaN Code wrote: > also this.... > > 14417 ?? Ss 0:00.02 /bin/sh - /usr/sbin/periodic daily > 14425 ?? I 0:00.04 /bin/sh - /usr/sbin/periodic daily as long it is online, there is a very, very low chance to get anything done. And even when it is taken off-line, it will be difficult to stop all the programs in one go. This machine does not look good. Erich From freebsd at edvax.de Sat Jun 23 11:14:02 2012 From: freebsd at edvax.de (Polytropon) Date: Sat Jun 23 11:14:09 2012 Subject: fsck_ufs running too often In-Reply-To: <201206231057.q5NAv1tF086046@fire.js.berklix.net> References: <20120623042229.c5d8a8d8.freebsd@edvax.de> <201206231057.q5NAv1tF086046@fire.js.berklix.net> Message-ID: <20120623131354.a6407d6c.freebsd@edvax.de> On Sat, 23 Jun 2012 12:57:01 +0200, Julian H. Stacey wrote: > > My suggestion: Set background_fsck="YES" in /etc/rc.conf and let > > the system boot up that way. _If_ you have a faulty disk or other > > data corruption, you'll notice this _before_ going multi-user and > > maybe making things worse. Yes, it might take some time, but it's > > time well invested in your data integrity. > > > > Alternative: Perform a "shutdown now" and go into single-user mode. > > Then unmount all your file systems, do "mount -o ro /" and then > > perform the fsck run on all file systems. It's typically adviced > > to perform file system checks on unmounted (or at least read-only > > mounted) file systems. > > man fsck: > ----- > Note that background fsck is limited to checking for only the > most commonly occurring file system abnormalities. Under certain > circumstances, some errors can escape background fsck. It is > recommended that you perform foreground fsck on your systems > periodically and whenever you encounter file-system-related pan- > ics. > --- > > So do a manual fsck to make sure there's no residual faults lurking. Sorry, my own stupidity. Of course I wanted to say: My suggestion: Set background_fsck="NO" in /etc/rc.conf and [...] ^^ A fsck at boot time might take longer, but will make sure that the startup of the system is performed on clean file systems. One may argue: "But it takes time!" My response: Is your data valuable? Then you have this time, in worst case. In ultra-worst case, you have backups. :-) > Realise fsck wont start if it thinks its clean, (but might not be clean) so > Boot single user & type > fsck > or fsck -y You can force a fsck run by using "fsck -f"; from the manual: "Force checking of file systems, even when they are marked clean (for file systems that support this)." This could also be done regularly on a scheduled (!) basis if there's the suspection of "silent corruption" - but in such cases, better spot the faulty hardware and replace it (bad disks, bad power supply, bad PSU and the like). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jerry at seibercom.net Sat Jun 23 11:19:02 2012 From: jerry at seibercom.net (Jerry) Date: Sat Jun 23 11:19:08 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <201206231550.06081.erichfreebsdlist@ovitrap.com> References: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> <201206231550.06081.erichfreebsdlist@ovitrap.com> Message-ID: <20120623071858.3f09b9d4@scorpio> On Sat, 23 Jun 2012 15:50:05 +0700 Erich Dollansky articulated: > USB is more a lottery than real computing for me. That is really sad. I am sort of forced to use USB devices on a daily basis, Luckily, very few of them involve FreeBSD, which is why I do not exhibit such a negative attitude, except of course when I do attempt to plug one in a FreeBSD machine with negative results. I do not know what is more pathetic; the fact that so many devices fail to operate correctly -- if at all --, or the willingness of the FreeBSD community to accept it as the norm. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From erichfreebsdlist at ovitrap.com Sat Jun 23 12:16:48 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Sat Jun 23 12:16:54 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <20120623071858.3f09b9d4@scorpio> References: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> <201206231550.06081.erichfreebsdlist@ovitrap.com> <20120623071858.3f09b9d4@scorpio> Message-ID: <201206231916.44655.erichfreebsdlist@ovitrap.com> Hi, On Saturday 23 June 2012 18:18:58 Jerry wrote: > On Sat, 23 Jun 2012 15:50:05 +0700 > > Erich Dollansky articulated: > > USB is more a lottery than real computing for me. > > That is really sad. I am sort of forced to use USB devices on a > daily basis, Luckily, very few of them involve FreeBSD, which is why I > do not exhibit such a negative attitude, except of course when I do > attempt to plug one in a FreeBSD machine with negative results. I do > not know what is more pathetic; the fact that so many devices fail to > operate correctly -- if at all --, or the willingness of the FreeBSD > community to accept it as the norm. I see it a bit different. There are standards. I hope that FreeBSD follows them as close as possible. There are also some grey areas in every standard. The grey areas can only be filled with manpower. This is the point where FreeBSD hits a wall. Erich From wblock at wonkity.com Sat Jun 23 12:32:21 2012 From: wblock at wonkity.com (Warren Block) Date: Sat Jun 23 12:32:29 2012 Subject: backup tools In-Reply-To: <4FA8827200C1EDC7@> (added by postmaster@resmaa13.ono.com) References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <4FA8827200C1EDC7@> (added by postmaster@resmaa13.ono.com) Message-ID: On Sat, 23 Jun 2012, Eduardo Morras wrote: > At 02:37 23/06/2012, Chad Perrin wrote: >> On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: >> > On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: >> > > I'm setting up a "new" backup server using FreeBSD. It will be used >> for >> > > backing up laptops, which will not be connected to the network by any >> > > kind of schedule, so backups will be initiated manually rather than by >> > > cron or other scheduled procedures. >> > >> > What are the laptops running? >> >> FreeBSD, Debian, and/or Ubuntu. There's at least one of each. I >> apologize for not mentioning that sooner. I had a feeling I'd overlook >> something. > > If it must work with all OS and you have no restrictions on network you can: > > a) activate PXE/WOL on bios > > b) start the laptop via PXE using a freebsd/linux/whatever_os_you_want_to_use > > c) use dd piped to rsync to make the backups > > This way you don't need to install anything on your freebsd ubuntu debian. PXE booting gives a lot of possibilities. I use it to boot Clonezilla to back up Windows systems. That is better than dd, since only used disk blocks are copied. But neither does incremental backups. For FreeBSD and other open operating systems, sysutils/rsnapshot is a possibility. Normally run from cron, could be run manually, or automatically when the backup server is detected. It does incremental copies, is space-efficient (rsync with hard links), and only depends on rsync and Perl. From gobble.wa at gmail.com Sat Jun 23 12:38:55 2012 From: gobble.wa at gmail.com (Waitman Gobble) Date: Sat Jun 23 12:39:03 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> References: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> Message-ID: On Sat, Jun 23, 2012 at 1:08 AM, Thomas Mueller wrote: > > My elder colleague often told me that it is the easiest and well-working > way > > to check whether the one is certified to work for Mac OS X to get USB > mass > > storage devices which work with *BSD :) > > > Just my 5 yen, > > -|-__ YAMAMOTO, Taku > | __ < > > What if a USB mass storage device works with some BSDs but not all? > > I had Kingston Data Travelers, 2 GB, from one lot that were good with > Linux and FreeBSD but not NetBSD. > > Other USB sticks, including Kingston Data Tavelers, worked with Linux, > FreeBSD and NetBSD. > > I even installed FreeDOS 1.1 prerelease on one of those NetBSD-averse > Kingstom Data Travelers. > > But I think either Mac OS X, Linux or FreeBSD is much more > production-ready than NetBSD. > > > There are 3 drivers, one for 3.0, 2.0 and 1.0, and they are associated to > > corresponding devices at boot. I'll play around with it this weekend and > > see how to switch, i've also noticed issue connecting 2.0 device to 3.0 > > port. > > > Waitman Gobble > > San Jose California USA > > I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I > tried the opposite. > > My Western Digital My Book Essential 3.0 TB USB 3.0 drive works even on > the old computer whose motherboard's USB is 1.1. > > I tried to access that USB 3.0 hard drive on the new computer from USB 2.0 > port because NetBSD has no USB 3.0 support: no go. > > But when I installed USB 2.0 brackets to USB 2.0 headers on the > motherboard, the USB 3.0 hard drive was accessible from those USB 2.0 ports. > > Tom > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > One possible 'caveat'.. I've noticed occasionally it will take 75 seconds or so for a USB 3.0 drive to 'connect'.. at first I thought the drive was not being 'recognized'. Someone has posted here that they believe it could be b/c a USB 3.0 uses 2x the power of 2.0 (i've not confirmed that) and it could be due to some kind of power management on the computer.. I've not yet taken the time to sort that out. anyhow this issue initially led me to believe there was some problem with the driver, but it seems likely not the case. Waitman Gobble San Jose California USA From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 13:00:34 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 13:00:41 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <201206231550.06081.erichfreebsdlist@ovitrap.com> References: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> <201206231550.06081.erichfreebsdlist@ovitrap.com> Message-ID: >> ports. >> > Same as in my case. > > USB is more a lottery than real computing for me. but this is not USB standard fault, but USB device manufacturers that cannot really read standard specifications. "It works" (under windoze, under linux) is enough. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 13:02:29 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 13:02:36 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <20120623071858.3f09b9d4@scorpio> References: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> <201206231550.06081.erichfreebsdlist@ovitrap.com> <20120623071858.3f09b9d4@scorpio> Message-ID: > daily basis, Luckily, very few of them involve FreeBSD, which is why I > do not exhibit such a negative attitude, except of course when I do > attempt to plug one in a FreeBSD machine with negative results. I do > not know what is more pathetic; the fact that so many devices fail to > operate correctly -- if at all --, or the willingness of the FreeBSD > community to accept it as the norm. usb_quirks.c is already quite large as you may see... From list+freebsd at jorge.cc Sat Jun 23 13:04:27 2012 From: list+freebsd at jorge.cc (Jorge Luis Gonzalez) Date: Sat Jun 23 13:04:34 2012 Subject: backup tools In-Reply-To: References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <20120623075928.GA19093@slackbox.erewhon.net> Message-ID: <20120623125739.GA82828@jorge.cc> Wojciech Puchar: > > > >Hmm, I'm not sure that there is _anything_ that meets _all_ your criteria! > > rsync meets. It can be a little harder with windoze, with any unix-like OS > it will work. > rsync, or some front-end to rsync, is indeed probably the best option, though it lacks several of the features that the OP indicates would be desirable. For several years I've used dirvish to good effect. It's built on rsync and handles unattended backups over heterogeneous networks quite well. It shares some of rsync's deficiencies, but for me, its merits (well-structured simplifications of rsync's ability to exclude files or directories, elegant handling of backups' expirations) are sufficient to make it a worthy alternative to naked rsync. The frontend is written in Perl and easily extended. By "heterogeneous networks" I'm afraid I mean ones composed of machines running unix-like OSs; I've no idea if there's an rsync port to Windows. Jorge -- Jorge Luis Gonz?lez http://www.jorge.cc/ * ftp://ftp.jorge.cc/{pub,incoming} IRC: #vim jl-satyr * XMPP: jl-satyr@jabber.org GPG KEY -> 0x4AD9C195 * ICBM: 42.592627, -72.588859 This email optimized for teletypes. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 13:13:35 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 13:13:43 2012 Subject: backup tools In-Reply-To: <20120623125739.GA82828@jorge.cc> References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <20120623075928.GA19093@slackbox.erewhon.net> <20120623125739.GA82828@jorge.cc> Message-ID: what exactly deficiences and requirements not met by rsync are you talking about? > simplifications of rsync's ability to exclude files or directories, elegant > handling of backups' expirations) are sufficient to make it a worthy > alternative to naked rsync. The frontend is written in Perl and easily > extended. > > By "heterogeneous networks" I'm afraid I mean ones composed of machines running > unix-like OSs; I've no idea if there's an rsync port to Windows. there are many. I know people using it ... after they know how useful it is based on my examples. No idea how stable and usable they are. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 13:15:28 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 13:15:35 2012 Subject: backup tools In-Reply-To: References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <4FA8827200C1EDC7@> (added by postmaster@resmaa13.ono.com) Message-ID: > > PXE booting gives a lot of possibilities. I use it to boot Clonezilla to > back up Windows systems. That is better than dd, since only used disk blocks ntfsclone is what you need. for sure simpler. > For FreeBSD and other open operating systems, sysutils/rsnapshot is a what is exactly rsnapshot "added value" to rsync, and what is exactly this fuss about hardlinks? From jerry at seibercom.net Sat Jun 23 13:29:06 2012 From: jerry at seibercom.net (Jerry) Date: Sat Jun 23 13:29:13 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: References: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> <201206231550.06081.erichfreebsdlist@ovitrap.com> Message-ID: <20120623092902.144a3dd9@scorpio> On Sat, 23 Jun 2012 15:00:29 +0200 (CEST) Wojciech Puchar articulated: > >> ports. > >> > > Same as in my case. > > > > USB is more a lottery than real computing for me. > but this is not USB standard fault, but USB device manufacturers that > cannot really read standard specifications. "It works" (under > windoze, under linux) is enough. If the ROI does not exceed the expenditure to meet a specification that only applies to a niche segment of the potential market, then it is in all probability not going to happen. Furthermore, I have seen no documented proof that the problem actually exists with the device and not with the FreeBSD implementation of the specification nor with its supplied drivers. FreeBSD has not exactly been a leader in the implementation of USB. Apparently, it doesn't fully support all variants of USB although that might have recently changed. In any case, as a wise man once stated, it is better to light a candle than curse the darkness. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From cjr at cruwe.de Sat Jun 23 13:37:27 2012 From: cjr at cruwe.de (Christopher J. Ruwe) Date: Sat Jun 23 13:37:34 2012 Subject: changing md5 hashed for sha Message-ID: <20120623153710.36e7446f@dijkstra.cruwe.de> For setting the dafault hash used to hash /etc/master.passwd, it has been recommended changing md5 for something more secure in the sense of being more expensive to crack. The handbook describes the procedure used in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html. Allegedly, hashes which were hashed with one of the sha-functions begin with the character $6$. Afer having changed my /etc/login.conf accordingly and having reset the passwords, the given there is not md5 anymore (I have tried with md5), but does not begin with the character $6$, but, as md5, with $1$, which is supposed to be md5-hashed. I fear I am a bit dense here, what am I getting wrong? Thanks and cheers, -- Christopher TZ: GMT + 2h -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120623/d3d80873/signature.pgp From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 13:40:52 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 13:40:59 2012 Subject: changing md5 hashed for sha In-Reply-To: <20120623153710.36e7446f@dijkstra.cruwe.de> References: <20120623153710.36e7446f@dijkstra.cruwe.de> Message-ID: > For setting the dafault hash used to hash /etc/master.passwd, it has > been recommended changing md5 for something more secure in the sense of > being more expensive to crack. is md5 that easy to crack? From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 13:42:03 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 13:42:09 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do In-Reply-To: <20120623092902.144a3dd9@scorpio> References: <3A.82.12873.59975EF4@smtp02.insight.synacor.com> <201206231550.06081.erichfreebsdlist@ovitrap.com> <20120623092902.144a3dd9@scorpio> Message-ID: >> windoze, under linux) is enough. > > If the ROI does not exceed the expenditure to meet a specification that > only applies to a niche segment of the potential market, then it is in > all probability not going to happen. Right. Fine. There is not written on them "conforms to USB Mass Storage standard" ;) From list+freebsd at jorge.cc Sat Jun 23 13:46:06 2012 From: list+freebsd at jorge.cc (Jorge Luis Gonzalez) Date: Sat Jun 23 13:46:14 2012 Subject: backup tools In-Reply-To: References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <20120623075928.GA19093@slackbox.erewhon.net> <20120623125739.GA82828@jorge.cc> Message-ID: <20120623134602.GA36552@jorge.cc> Wojciech Puchar wrote: > what exactly deficiences and requirements not met by rsync are you talking > about? > Perhaps "deficiencies" was too strong a word. I think the OP required--or perhaps desired--a WOL function. I'm not aware of any such capability in rsync proper. I meant, too, that dirvish, which was the alternative that I recommended, presents an elegant and easily-comprehended way to manage rsync's considerable abilities, not that it provides features that can't be managed directly by rsync. > >By "heterogeneous networks" I'm afraid I mean ones composed of machines > >running > >unix-like OSs; I've no idea if there's an rsync port to Windows. > there are many. I know people using it ... after they know how useful it > is based on my examples. No idea how stable and usable they are. Thanks for pointing out that there are Windows ports of rsync, and that you provide examples of their use. I'm not sure I would entrust my system backups to them if they come with the disclaimer that you've "no idea how stable and usable they are." Jorge -- Jorge Luis Gonz?lez http://www.jorge.cc/ * ftp://ftp.jorge.cc/{pub,incoming} IRC: #vim jl-satyr * XMPP: jl-satyr@jabber.org GPG KEY -> 0x4AD9C195 * ICBM: 42.592627, -72.588859 This email optimized for teletypes. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 13:54:21 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 13:54:33 2012 Subject: backup tools In-Reply-To: <20120623134602.GA36552@jorge.cc> References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <20120623075928.GA19093@slackbox.erewhon.net> <20120623125739.GA82828@jorge.cc> <20120623134602.GA36552@jorge.cc> Message-ID: you mean "wake on lan"? there is "wol" tool in ports. > proper. I meant, too, that dirvish, which was the alternative that I > recommended, presents an elegant and easily-comprehended way to manage rsync's > considerable abilities, not that it provides features that can't be managed > directly by rsync. fine but i really want to "manage features" directly by specifying a commands. thanks for answer, but i really don't recommend anyone using "all in one" tools as it's always to have problems with "one" than with "all". >> there are many. I know people using it ... after they know how useful it >> is based on my examples. No idea how stable and usable they are. > > Thanks for pointing out that there are Windows ports of rsync, and that you > provide examples of their use. I'm not sure I would entrust my system backups > to them if they come with the disclaimer that you've "no idea how stable and > usable they are." google "rsync for windows". It is not a danger if you run this "no really sure" tools from windoze and you see whether it finished work properly or not. syncback works fine and is used by me. but it is not high performance, it can use only FTP or windows share destination. for backing up "my documents" it is fine anyway. From cjr at cruwe.de Sat Jun 23 14:00:33 2012 From: cjr at cruwe.de (Christopher J. Ruwe) Date: Sat Jun 23 14:00:41 2012 Subject: changing md5 hashed for sha In-Reply-To: References: <20120623153710.36e7446f@dijkstra.cruwe.de> Message-ID: <20120623155957.570eff66@dijkstra.cruwe.de> On Sat, 23 Jun 2012 15:40:51 +0200 (CEST) Wojciech Puchar wrote: > > For setting the dafault hash used to hash /etc/master.passwd, it has > > been recommended changing md5 for something more secure in the > > sense of being more expensive to crack. > > is md5 that easy to crack? It has been discussed recently, cf http://lists.freebsd.org/pipermail/freebsd-security/2012-June/006271.html or virtually the first half of http://lists.freebsd.org/pipermail/freebsd-security/2012-June/thread.html Cheers, -- Christopher TZ: GMT + 2h -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120623/faa1431a/signature.pgp From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 14:06:14 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 14:06:25 2012 Subject: backup tools In-Reply-To: <20120623134602.GA36552@jorge.cc> References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <20120623075928.GA19093@slackbox.erewhon.net> <20120623125739.GA82828@jorge.cc> <20120623134602.GA36552@jorge.cc> Message-ID: > Thanks for pointing out that there are Windows ports of rsync, and that you > provide examples of their use. I'm not sure I would entrust my system backups > to them if they come with the disclaimer that you've "no idea how stable and > usable they are." > http://justinsomnia.org/2007/02/how-to-regularly-backup-windows-xp-to-ubuntu-using-rsync/ might be useful for you, after you ignore all this linux style sudo nonsense. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 14:09:43 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 14:09:50 2012 Subject: changing md5 hashed for sha In-Reply-To: <20120623155957.570eff66@dijkstra.cruwe.de> References: <20120623153710.36e7446f@dijkstra.cruwe.de> <20120623155957.570eff66@dijkstra.cruwe.de> Message-ID: >>> been recommended changing md5 for something more secure in the >>> sense of being more expensive to crack. >> >> is md5 that easy to crack? > > It has been discussed recently, cf > http://lists.freebsd.org/pipermail/freebsd-security/2012-June/006271.html > or virtually the first half of > http://lists.freebsd.org/pipermail/freebsd-security/2012-June/thread.html > wasn't aware md5 is really risky. thanks. anyway - as long as someone don't actually get /etc/master.passwd it doesn't matter, it could be even plaintext here. If someone can get /etc/master.passwd then he/she most probably already got root priviledge :) From devin.teske at fisglobal.com Sat Jun 23 16:05:56 2012 From: devin.teske at fisglobal.com (Devin Teske) Date: Sat Jun 23 16:06:03 2012 Subject: changing md5 hashed for sha In-Reply-To: <20120623153710.36e7446f@dijkstra.cruwe.de> References: <20120623153710.36e7446f@dijkstra.cruwe.de> Message-ID: <8B1072EE-6143-4E1E-B951-373C8877D007@fisglobal.com> On Jun 23, 2012, at 6:37 AM, Christopher J. Ruwe wrote: > For setting the dafault hash used to hash /etc/master.passwd, it has > been recommended changing md5 for something more secure in the sense of > being more expensive to crack. > > The handbook describes the procedure used in > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html. > Allegedly, hashes which were hashed with one of the sha-functions begin > with the character $6$. > Unfortunately, it appears that login.conf is ignored by pw w/respect to group(5) passwords. Example Given: Setting passwd_format=blf in login.conf(5) followed by executing: echo newpass | sudo pw usermod SOMEUSER -h 0 sudo grep '^SOMEUSER:' /etc/master.passwd # shows Blowfish hash starting with $2a$, meanwhile? echo newpass | sudo pw groupmod SOMEGROUP -h 0 grep '^SOMEGROUP:' /etc/group # shows login.conf(5) was ignored and an old-style crypt password (2-letter salt; 8-character max password) :( -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From perrin at apotheon.com Sat Jun 23 16:46:16 2012 From: perrin at apotheon.com (Chad Perrin) Date: Sat Jun 23 16:46:22 2012 Subject: backup tools In-Reply-To: <20120623134602.GA36552@jorge.cc> References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <20120623075928.GA19093@slackbox.erewhon.net> <20120623125739.GA82828@jorge.cc> <20120623134602.GA36552@jorge.cc> Message-ID: <20120623164614.GA13602@hemlock.hydra> On Sat, Jun 23, 2012 at 09:46:02AM -0400, Jorge Luis Gonzalez wrote: > Wojciech Puchar wrote: > > > > what exactly deficiences and requirements not met by rsync are you talking > > about? > > Perhaps "deficiencies" was too strong a word. I think the OP required--or > perhaps desired--a WOL function. I'm not aware of any such capability in rsync > proper. I meant, too, that dirvish, which was the alternative that I > recommended, presents an elegant and easily-comprehended way to manage rsync's > considerable abilities, not that it provides features that can't be managed > directly by rsync. Actually, a Wake-On-LAN feature is not at all necessary for me in this case. It's a simple enough task to just trigger a backup manually at the command line via a script that automates the process. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From perrin at apotheon.com Sat Jun 23 17:25:56 2012 From: perrin at apotheon.com (Chad Perrin) Date: Sat Jun 23 17:26:01 2012 Subject: backup tools In-Reply-To: <20120623091736.GA8640@manul.langhans.com.pl> References: <20120623023022.5993A106572F@hub.freebsd.org> <20120623064727.GA11101@manul.langhans.com.pl> <20120623102204.3c8bd0f8.freebsd@edvax.de> <20120623090108.GA11537@manul.langhans.com.pl> <20120623091736.GA8640@manul.langhans.com.pl> Message-ID: <20120623172555.GB13602@hemlock.hydra> On Sat, Jun 23, 2012 at 11:17:36AM +0200, herbert langhans wrote: > On Sat, Jun 23, 2012 at 11:10:06AM +0200, Wojciech Puchar wrote: > > >lftp does work incremental. Take a look at Chad's posting again and read > > >what he needs. And of course, ftp via ssh is nothing new ... > > > still - any ftp client will no go faster than ftp protocol allows. > > That's sure. But I think it's an option for the laptops what Chad > mentioned. Such scripts for backup are set up in minutes and it happily > copies the files to the server. If there are already user accounts on > the server, it could be really easy. I think it depends on the scale of > the network. It does appear to meet my needs, at first glance, with any capabilities it does not already have that I might need easily scripted. I'm having a difficult time finding any reference to licensing, though. Matt Dillon's explanation of cpdup suggests it is probably some kind of BSD-licensed, given its inclusion in DragonFly BSD base utilities, but that's not *necessarily* the case. Reference: http://apollo.backplane.com/FreeSrc/ I'm going to try emailing Dillon for clarification, too. In any case, I'll take a closer look at cpdup. Thanks for bringing it to my attention. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From wojtek at wojtek.tensor.gdynia.pl Sat Jun 23 17:50:39 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 23 17:50:45 2012 Subject: backup tools In-Reply-To: <20120623164614.GA13602@hemlock.hydra> References: <20120622160903.GE24912@hemlock.hydra> <20120622184740.GA67847@slackbox.erewhon.net> <20120623003717.GD7876@hemlock.hydra> <20120623075928.GA19093@slackbox.erewhon.net> <20120623125739.GA82828@jorge.cc> <20120623134602.GA36552@jorge.cc> <20120623164614.GA13602@hemlock.hydra> Message-ID: > > Actually, a Wake-On-LAN feature is not at all necessary for me in this > case. It's a simple enough task to just trigger a backup manually at the > command line via a script that automates the process. still. a separate wol tool is available in ports. You may easily construct shell script that will execute it, wait a bit, check out if server booted with ping, then wait a bit more (so inetd or rsyncd started) then run rsync. Unix philosophy means have one program to do think well, not to do everything. This is what make me an exclusive unix "fanatics". From ait at p2ee.org Sat Jun 23 17:51:34 2012 From: ait at p2ee.org (Alejandro Imass) Date: Sat Jun 23 17:51:40 2012 Subject: Sendmail and Postfix In-Reply-To: <201206230015.q5N0FPh8044345@mail.r-bonomi.com> References: <201206230015.q5N0FPh8044345@mail.r-bonomi.com> Message-ID: On Fri, Jun 22, 2012 at 8:15 PM, Robert Bonomi wrote: >> From owner-freebsd-questions@freebsd.org ?Fri Jun 22 13:47:20 2012 >> To: freebsd-questions@freebsd.org >> Date: Fri, 22 Jun 2012 13:41:46 -0500 >> From: Mark Felder >> Subject: Re: Sendmail and Postfix >> >> When you installed Postfix did you allow it to update the entries in >> /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary >> that came with the system; it's ignored. > > For SendMail, mailq is just a symlink to the SendMail executable. > > the "mail.conf" stuff (to use a polite word) installs it's own executable(s) > under all the 'common' names that SendMail is invoked as. ?These > executables look at /etc/mailer.conf, and invoke the appropiate executable > for the mailer that you have seleccted in mailer.conf. > mailer.conf is usually modified my the Postfix port and I am not sure but I think the option is checked by default. The lines to add to rc.conf to de-activate Sendmail and usu Postfix on the base system are: sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" postfix_enable="YES" -- Alejandro Imass > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From vince at unsane.co.uk Sat Jun 23 20:10:33 2012 From: vince at unsane.co.uk (Vincent Hoffman) Date: Sat Jun 23 20:10:41 2012 Subject: Occassional "permission denied" in the middle of a large transfer over NFS Message-ID: <4FE62269.2030706@unsane.co.uk> I seem to have run into the problems described in this old thread. http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/044927.html tl:dr mountd may give incorrect permission denied errors when it is refreshing the exports list, /sbin/mount has code that sends SIGHUP to mountd on any mount operation. Which implies that any manual mount request, including NFS mounts would cause the problem. Does anyone know if this is still the case with the new NFS server? thanks, Vince From bonomi at mail.r-bonomi.com Sat Jun 23 20:53:01 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Sat Jun 23 20:53:08 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE57481.90601@gmail.com> Message-ID: <201206232053.q5NKrEFH050444@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Sat Jun 23 02:48:26 2012 > Date: Sat, 23 Jun 2012 12:17:13 +0430 > From: Hooman Fazaeli > To: Wojciech Puchar > Cc: FreeBSD Questions > Subject: Re: Is ZFS production ready? > > > I meant, is it now possible to have >2TB FS with UFS? Of course not. UFS uses 32-bit numbers for block addresses. IMPOSSIBLE to reference more than 2^41 bytes. However, "UFS2" re-implemented the same disk structures using 64-bit numbers. Thus, it can reference 2^73 bytes in the same 'logical' method. Wojciech simply never lets inconvenient facts get in the way of his opinions about how everyone else should do everything. From eam1edward at gmail.com Sat Jun 23 23:14:34 2012 From: eam1edward at gmail.com (Edward M) Date: Sat Jun 23 23:14:40 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE2CE38.9000100@gmail.com> References: <4FE2CE38.9000100@gmail.com> Message-ID: <4FE64F04.2090100@gmail.com> On 06/21/2012 12:33 AM, Hooman Fazaeli wrote: > Now, I want to the same thing on 8.3 and wanted to know > your opinion on ZFS stability. Is there any success story using > ZFS in 24x7, large volume, heavy duty servers? Is there any > other option other than ZFS to build larger than 2TB file systems? I like the ZFS theroy, However I would have to question ZFS Pool Version Number 28 stability, that is what freebsd 9.0 comes with. because it was never really used/marked as production ready by sun/oracle. in my opionion version 28 is consider as a development version. solaris 11 uses version 33 so that is consider as production ready but it is closed source. i think the last open zfs version pool marked as production ready,was pool version 14 and 15 zfs sounds great however i would actally trust more UFS2 for 24x7 servers. agian this is my opinion, could be wrong:-) From eam1edward at gmail.com Sat Jun 23 23:19:30 2012 From: eam1edward at gmail.com (Edward M) Date: Sat Jun 23 23:19:38 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE64F04.2090100@gmail.com> References: <4FE2CE38.9000100@gmail.com> <4FE64F04.2090100@gmail.com> Message-ID: <4FE65028.9050809@gmail.com> On 06/23/2012 04:19 PM, Edward M wrote: > On 06/21/2012 12:33 AM, Hooman Fazaeli wrote: >> Now, I want to the same thing on 8.3 and wanted to know >> your opinion on ZFS stability. Is there any success story using >> ZFS in 24x7, large volume, heavy duty servers? Is there any >> other option other than ZFS to build larger than 2TB file systems? > > > I like the ZFS theroy, However I would have to question ZFS Pool > Version Number 28 stability, > that is what freebsd 9.0 comes with. because it was never really > used/marked as production ready by sun/oracle. > in my opionion version 28 is consider as a development version. > solaris 11 uses version 33 so that is consider > as production ready but it is closed source. i think the last open > zfs version pool marked as production ready,was pool > version 14 and 15 > zfs sounds great however i would actally trust more UFS2 for 24x7 > servers. > > agian this is my opinion, could be wrong:-) > > snafu on my part freebsd 8.3 also uses zfs pool version 28:-) so my opinion would also be the same. From johnl at iecc.com Sat Jun 23 23:58:14 2012 From: johnl at iecc.com (John Levine) Date: Sat Jun 23 23:58:21 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE65028.9050809@gmail.com> Message-ID: <20120623235751.12443.qmail@joyce.lan> > snafu on my part freebsd 8.3 also uses zfs pool version 28:-) No, 8.3 uses version 15. It's been quite stable for me. R's, John From johnl at iecc.com Sun Jun 24 00:16:46 2012 From: johnl at iecc.com (John Levine) Date: Sun Jun 24 00:16:52 2012 Subject: Is ZFS production ready? In-Reply-To: <20120623235751.12443.qmail@joyce.lan> Message-ID: <20120624001622.17052.qmail@joyce.lan> >> snafu on my part freebsd 8.3 also uses zfs pool version 28:-) > >No, 8.3 uses version 15. It's been quite stable for me. Sorry, I misread my notes, 8.2 uses v 15, 8.3 uses v 28. R's, John From eam1edward at gmail.com Sun Jun 24 00:27:46 2012 From: eam1edward at gmail.com (Edward M) Date: Sun Jun 24 00:27:52 2012 Subject: Is ZFS production ready? In-Reply-To: <20120624001622.17052.qmail@joyce.lan> References: <20120624001622.17052.qmail@joyce.lan> Message-ID: <4FE6602C.2050800@gmail.com> On 06/23/2012 05:16 PM, John Levine wrote: > Sorry, I misread my notes, 8.2 uses v 15, 8.3 uses v 28. > > R's, > John yeah, I remember version 15 was really stable. Opensolaris 2009.06 last binary production ready, used version 14; i also found it to be stable Any opensource zfs pool verisons beyound that, i am not really sure about their stablity compared to UFS rock solid filesystem. From cottcampbellunit at yahoo.dk Sun Jun 24 01:09:40 2012 From: cottcampbellunit at yahoo.dk (Cottcamp Bellunit) Date: Sun Jun 24 01:10:10 2012 Subject: Invitation: REF: INVESTMENT ASSISTANCE Message-ID: <95679336.1282829.1340500172768.JavaMail.zimbra@store177.c108.cal.gq1.yahoo.com> YAHOO! KALENDER - DU ER INVITERET! cottcampbellunit@yahoo.dk har sendt en invitation: REF: INVESTMENT ASSISTANCE Hvorn?r: tirsdag den 1. januar 2002 9:00 - 10:00 (GMT+00:00) REF: INVESTMENT ASSISTANCE My Dear, I am Mrs Cottcamp Bellunit writing with my personal respect with regards to Your respond personality / firm as a reliable,Trustworthy and God fearing. I got your contact Through the help of chamber of commerce in Abidjan the Capital of COTE D?IVOIRE. In deed I am the wife of Late MR. BELLUNIT from Sierra Leone. I and My two children are presently staying in burkina faso as Refugees, my husband was one of the Ministers of Johnny Paul Koromah's regime in Sierra Leone. During the intervention of the ECOLOGY Soldiers to Restore the presidency of Alhaji Tejan KABBAH from Johnny Koroma, my husband was among the 23 executed Ministers. As our breadwinner is dead (my husband) And our stay in Sierra Leone is no more safe, I and my Two children decided to move to Burkina faso a Neighboring African Country for fety. Due to our Status in Burkina faso as refugees I was forced to Lodge our family funds (?4.8Million) in finance house london. Ever since then we have been receiving help from our Mission, because we are staying in one of the Visitor's villa in the church premises and attends Fellowship and worship fully. I hope you will be Touched to understand my request. We have agreed to invest our money valuable in any Overseas country through your assistance and Directives. You will provide or look for a lucrative venture where This money can be invested on before proceeding, we Will get to be more familiar and also go into an Understanding working agreement because our family's Future now depends on this money. The boxes containing The money and treasures were all deposited and Registered as a family treasures. This was done for Security reasons. We would like to know what you will take as your Percentage for assisting us. we sincerely wish to introduce and make you our Business partner and overseer of our proposed Investment in your country. We are prepared to send all the information regarding to This deposit as soon as you show your immediate Response Email. Do not fail to give me Your telephone and fax numbers. this is my Email: mrscottcampbellunit002@yahoo.com Best Regards, Mrs Cottcamp Bellunit *~*~*~*~*~*~*~*~*~* S.U. nu! http://calendar.yahoo.com/cottcampbellunit/rsvp?e=freebsd-questions@freebsd.org&uid=b3e680c1-9b4d-4569-8c78-8a15747e23ad&tk=wrjMmF7wgQTdumqv5O__O0nqbNI-&hh=Zidy3l9T32yPBuHL8LNVdnVem1k- From dave.angeladawe22 at gmail.com Sun Jun 24 01:42:12 2012 From: dave.angeladawe22 at gmail.com (DAVE AND ANGELA DAWES) Date: Sun Jun 24 01:42:21 2012 Subject: Euro Millions lottery prize Donation Message-ID: <201206240139.q5O1d7TH001249@mail.ucla.edu> Hello My wife and I won the biggest Euro Millions lottery prize of ?101,203,600.70 GBP and we just commenced our Charity Donation and we will be giving out a cash donation of ?1,500,000.00 GBP to five(5)lucky individuals and ten(10)charity organisations from any part of the world. To verify the genuineness of this email and our winnings, please see our interview by visiting the web page below; http://www.telegraph.co.uk/news/newstopics/howaboutthat/8820740/101m-lottery-jackpot-winners-Dave-and-Angela-Dawes-to-give-millions-to-friends-and-family.html Your email address was submitted to my wife and I by the Google Management Team and you received this email because we have listed you as one of the lucky millionaires, Kindly send us the below details so that we can direct our Bank can effect a valid Bank Draft in your name to your operational bank account in your country. ============ Full Name: Country: Age: Occupation: Sex:male Mobile/Tel: ============ Congratulations & Happy Celebrations in Advance, Dave & Angela Dawes From wojtek at wojtek.tensor.gdynia.pl Sun Jun 24 07:59:09 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 24 07:59:16 2012 Subject: Euro Millions lottery prize Donation In-Reply-To: <201206240139.q5O1d7TH001249@mail.ucla.edu> References: <201206240139.q5O1d7TH001249@mail.ucla.edu> Message-ID: i not yet won but soon will :) Anyway - congratulations for listserver admin for making spam amount THAT SMALL! IT is less than one per day for such a list - IN SPITE of no need to subscribe. Anyway - is requirement to subscribe somehow bad? From mueller23 at insightbb.com Sun Jun 24 09:59:36 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Sun Jun 24 09:59:43 2012 Subject: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do Message-ID: > Hi, > On Saturday 23 June 2012 15:08:53 Thomas Mueller wrote: > > I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I > > tried the opposite. > I have here 2 hard disks and 2 flash drives with USB 2.0. Three of them work > on FreeBSD on an USB 3.0 port. One hard disk only works on a USB 3.0 port. > One hard drive with USB 3.0 does not work on USB 3.0 but only on 2.0. > Irony is that the PCBSD installer installed PCBSD on the USB 3.0 disk but it > did not boot afterward. > > I tried to access that USB 3.0 hard drive on the new computer from USB 2.0 > > port because NetBSD has no USB 3.0 support: no go. > Let me check this out. > > But when I installed USB 2.0 brackets to USB 2.0 headers on the > > motherboard, the USB 3.0 hard drive was accessible from those USB 2.0 > > ports. > Same as in my case. > USB is more a lottery than real computing for me. > Erich I suppose I could say NetBSD is more a lottery than real computing, especially on the new computer. But some of the bugs are consistent. My USB 3.0 hard drive is not bootable (motherboard issue?), also does not show on Grub2 Super Grub Disk on the System Rescue CD menu sysresccd.org Maybe the latter could be fixed by building Grub2 from source under either Linux or FreeBSD Ports. I think I'd also like to build the gdisk port, both on main hard drive and on a bootable FreeBSD USB stick. One USB stick (PNY 1 GB) is no longer readable/mountable from FreeBSD though it is from Linux. I thought that might be corruption. Since I have all that data now on an Ativa 4 GB USB stick, I could install the latest System Rescue CD to the PNY 1 GB USB stick (runs Linux on FAT32), see if there are any problems. Tom From freebsd at pki2.com Sun Jun 24 18:00:18 2012 From: freebsd at pki2.com (Dennis Glatting) Date: Sun Jun 24 18:00:57 2012 Subject: AMD Radeon CUDA under FreeBSD? Message-ID: <1340560811.1003.2.camel@btw.pki2.com> I found useful blogs regarding NVIDIA but nothing useful how to get CUDA installed for the AMD Radeon series chips under FreeBSD, native or Linux. Would someone please point me to a clue? Google wasn't helpful. From nec556 at retena.com Sun Jun 24 18:15:49 2012 From: nec556 at retena.com (Eduardo Morras) Date: Sun Jun 24 18:16:01 2012 Subject: AMD Radeon CUDA under FreeBSD? In-Reply-To: <1340560811.1003.2.camel@btw.pki2.com> References: <1340560811.1003.2.camel@btw.pki2.com> Message-ID: <4FA8828000C72AB9@> (added by postmaster@resmaa14.ono.com) At 20:00 24/06/2012, Dennis Glatting wrote: >I found useful blogs regarding NVIDIA but nothing useful how to get CUDA >installed for the AMD Radeon series chips under FreeBSD, native or >Linux. > >Would someone please point me to a clue? Google wasn't helpful. AFAIK AMD has no official driver for freebsd. Most of the AMD GPGPU tools only work for Windows, some on Linux. You must know that AMD doesn't have a CUDA licence, only an OpenCL, so you can't use CUDA code on AMDs gpus. HTH From crtb at cape.com Sun Jun 24 19:56:03 2012 From: crtb at cape.com (Chuck Bacon) Date: Sun Jun 24 19:56:09 2012 Subject: Building 9.0 failure Message-ID: <60166.209.213.65.17.1340567285.squirrel@webmail.cape.com> Running 9.0 on host, bsdinstall from CD or ftp. Fatal message: Error while extracting base.txz: Can't set user=0/group=0 for /var/empty Can't update time for /var/empty Chuck Bacon From cutulhu at gmail.com Sun Jun 24 20:19:55 2012 From: cutulhu at gmail.com (Christian Graulund) Date: Sun Jun 24 20:20:01 2012 Subject: Understanding XDM Message-ID: Hello Guys, I just install FreeBSD 9, and after compiling Xorg, I started trying to figure out how to install a Window Manager. When Following the handbook, I suggest installing XDM. I want to use something like Openbox, as my window manager, and I can't figure out if Openbox is a replacement for XDM, or something on top of XDM. I now there are alternative to XDM directly like LightDM ect., but the same questions applies to them. So what is the function of XDM (or alternatives), and is it necessary to have to run a WM, or DE for that sake? Thanks Christian G From freebsd at edvax.de Sun Jun 24 20:36:21 2012 From: freebsd at edvax.de (Polytropon) Date: Sun Jun 24 20:36:29 2012 Subject: Building 9.0 failure In-Reply-To: <60166.209.213.65.17.1340567285.squirrel@webmail.cape.com> References: <60166.209.213.65.17.1340567285.squirrel@webmail.cape.com> Message-ID: <20120624223613.e7d437d1.freebsd@edvax.de> On Sun, 24 Jun 2012 15:48:05 -0400 (EDT), Chuck Bacon wrote: > Running 9.0 on host, bsdinstall from CD or ftp. > Fatal message: > Error while extracting base.txz: > Can't set user=0/group=0 for /var/empty > Can't update time for /var/empty Looks like file flags (noschg). See if you can apply "chflags noschg" for that directory and maybe try again? Should be something like this (on 8.2-STABLE/i386 here): % ll -do /var/empty dr-xr-xr-x 2 root wheel schg 512 2012-05-27 06:15:34 /var/empty/ ^^^^ Probably noschg? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sun Jun 24 20:40:52 2012 From: freebsd at edvax.de (Polytropon) Date: Sun Jun 24 20:41:00 2012 Subject: Understanding XDM In-Reply-To: References: Message-ID: <20120624224051.a413bce6.freebsd@edvax.de> On Sun, 24 Jun 2012 22:19:54 +0200, Christian Graulund wrote: > Hello Guys, > > I just install FreeBSD 9, and after compiling Xorg, I started trying to > figure out how to install a Window Manager. > When Following the handbook, I suggest installing XDM. I want to use > something like Openbox, as my window manager, and I can't figure out if > Openbox is a replacement for XDM, or something on top of XDM. Not quite. XDM is the X display manager, a "GUI replacement" for the login mechanism. It initiates the X session for the user and loads his startup file, which calls the desired window manager. > I now there > are alternative to XDM directly like LightDM ect., but the same questions > applies to them. Yes, there are other X display managers like KDM, GDM or WDM. They are designed to work with a specific environment (KDE, Gnome, WindowMaker in this example), but they can be used independently. > So what is the function of XDM (or alternatives), and is it necessary to > have to run a WM, or DE for that sake? No, it's not neccessary. You can still perform the login the traditional way (text mode console) and then call "startx" to initiate your X session with the window manager or desktop environment you want. See "man xdm" for details. Also see your ~/.xinitrc and ~/.xsession files for controlling what to do _after_ successful login, in your example to "exec openbox" as the last step. Sidenote: I've been using both XDM and WDM with WindowMaker and XFCE (not Xfce -- XFCE means version 3, Xfce means version 4). Works great. I prefer XDM, most secure and easy to use. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jb.1234abcd at gmail.com Sun Jun 24 20:50:46 2012 From: jb.1234abcd at gmail.com (jb) Date: Sun Jun 24 20:50:53 2012 Subject: CLANG vs GCC tests of fortran/f2c program References: <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> <20120621230302.GB575@hemlock.hydra> Message-ID: Chad Perrin apotheon.com> writes: > > Anyway, switching from GCC to Clang has essentially nothing to do with > the kinds of problems we increasingly see in the Linux world. In fact, > one of the biggest problems in the Linux world is the fact that GNU > projects have a tendency to degrade in quality over time and pretty > thoroughly undermine the Unix philosophy in egregious ways, which means > that the sooner we can divest ourselves of GNU tools (including GCC) the > better off we will probably be (though I would still advocate a measured > approach to replacing GNU tools, rather than a headlong rush without any > forethought). > Some Linux distros are starting to integrate clang into their environment. GPL had been introduced to address certain philosophical problems felt by devs, namely how to make sure that their products do not get hijacked by people who do not want to contribute back (because they are unscrupulous, or do not share with devs the same values). Fair enough. GPL has not been challenged in court of law perhaps for a good reason yet. One could be that its enemies are content with what it represents in their view and so why should they bother trying to protect its followers from hurting themselves ? They believe that GPL is viral, but not fascist yet and anybody of different philosophy can just ignore it and go their own licensing way. Another could be that its enemies want it to reach a critical mass of participation, so when they hit, it will be big time and hopefully deadly. Things like that need time, and perhaps some errors by GPL advocates. It is also possible (why not ?) that GPL will self-destruct - there are indications that they are going down, down, down as a choice of license. I believe GPL can be confusing in its interpretation - even its followers are confused, and that's the seeds of destructions as I see it (btw, I have participated in some discussion of GPL that made me and other participant feel its current interpretation is vulnerable, and so with potential significant effect on a business model dependent on it.). GPLv3 apparently introduced a very sensitive question: Does GPLv3 apply to gcc only, or it *may* apply to code generated by gcc as well ? and until it gets answered any responsible dev or business should stay away from it. If so, then it follows that the dev or the bussiness do not want to live in a "LaLaLand according to GPL"; they want to conduct activities based on sound rules - who in her right mind would blame them for that ? So, you cut the GPL cord now and go your own way, the sooner the better. This is the most important factor, in any business - clarity of contract, license law. I would strongly disagree with Wojciech's assertion that only performance of compiler generated code really counts. >From the software purchaser's point of view, yes, she wants the app that was paid for fast, let's be realistic. But if you consider devs or software houses, that will be more subtle. I think the design and maintainability of compiler source code decides about quality of that tool in a significant way, equally or perhaps even little more than its speed or that of generated code alone - after all it is a tool on which software product depends now and in the future. And this translates into e.g. maintenance costs, a matter of interest to purchaser of software and others, in general the so called users. I am more concerned about an aspect of the language the clang tools are written in, namely the use of object-oriented paradigm of c++ (it is a phony paradigm, one that does not exist in nature or reality, which explains the failure rate of C++ OO projects historically and current usage decline). I sense that the relative slowness of generated code has to do with it. Perhaps some other attributes of that code's quality too, even if not now, then in the future. As one can see even by the test results done in 2010: http://www.phoronix.com/scan.php?page=article&item=gcc_llvm_clang&num=1 clang looked good vice gcc. There was an improvement since then, e.g.: http://www.phoronix.com/scan.php?page=news_item&px=MTA5Nzc Once again, in a matter like choice of tools you make your living with, you should not gamble - the more clarity you have the better. Once you decide what your philosophy, license model, and business requiremnts are, you just go and do not look back. The choice was made (perhaps GPL helped make that choice ...) - it is clang compiler tools. jb From roberthuff at rcn.com Sun Jun 24 20:54:27 2012 From: roberthuff at rcn.com (Robert Huff) Date: Sun Jun 24 20:54:33 2012 Subject: Understanding XDM In-Reply-To: References: Message-ID: <20455.32379.5672.398372@jerusalem.litteratus.org> Christian Graulund writes: > I just install FreeBSD 9, and after compiling Xorg, I started trying to > figure out how to install a Window Manager. > When Following the handbook, I suggest installing XDM. Assuming we're talking about the same xdm ... your first problem is it's not window manager. It's a _display_ manager. The cenonical place to set the window manager seems to be in ~/.xinitrc. Robert Huff From walterhurry at gmail.com Sun Jun 24 21:17:20 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Sun Jun 24 21:17:57 2012 Subject: Understanding XDM References: Message-ID: On Sun, 24 Jun 2012 22:19:54 +0200, Christian Graulund wrote: > Hello Guys, > > I just install FreeBSD 9, and after compiling Xorg, I started trying to > figure out how to install a Window Manager. > When Following the handbook, I suggest installing XDM. I want to use > something like Openbox, as my window manager, and I can't figure out if > Openbox is a replacement for XDM, or something on top of XDM. I now > there are alternative to XDM directly like LightDM ect., but the same > questions applies to them. > > So what is the function of XDM (or alternatives), and is it necessary to > have to run a WM, or DE for that sake? XDM is not a window manager - it is a display manager. In short it provides a GUI login and then starts your window manager of choice. So if you want a GUI login and a GUI DE, you need both a DM and an WM. I use XDM + Openbox, and it works very well indeed for me. Vastly preferable to some heavyweight like GDM, IMHO. The handbook provides excellent guidance on installing and configuring XDM. From jakub_lach at mailplus.pl Sun Jun 24 21:51:40 2012 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Sun Jun 24 21:51:47 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> <20120621230302.GB575@hemlock.hydra> Message-ID: <1340574699711-5721495.post@n5.nabble.com> > I am more concerned about an aspect of the language the clang tools are > written in, namely the use of object-oriented paradigm of c++ (it is a > phony > paradigm, one that does not exist in nature or reality, which explains > the failure rate of C++ OO projects historically and current usage > decline). > I sense that the relative slowness of generated code has to do with it. > Perhaps > some other attributes of that code's quality too, even if not now, then in > the > future. Yes, this is one thing really puzzled me. Maybe it's related to Apple's affinity to Objective-C? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Why-Clang-tp5715861p5721495.html Sent from the freebsd-questions mailing list archive at Nabble.com. From eam1edward at gmail.com Sun Jun 24 22:38:12 2012 From: eam1edward at gmail.com (Edward M) Date: Sun Jun 24 22:38:19 2012 Subject: Is ZFS production ready? In-Reply-To: References: <20120624001622.17052.qmail@joyce.lan> <4FE6602C.2050800@gmail.com> Message-ID: <4FE79800.8000200@gmail.com> On 06/23/2012 10:38 PM, Wojciech Puchar wrote: >> last binary production ready, used version 14; i also found it >> to be stable >> Any opensource zfs pool verisons beyound that, i am not really sure >> about their stablity compared >> to UFS rock solid filesystem. > > No ZFS pool version can be as trusty as UFS because of ZFS on disk > structure that is plain dangerous. > > ZFS use tree-like structure for everything. If upper part of tree is > corrupted, everything below "disappears" and cannot be found. > > Having 2,3 or even 100 copies of metadata doesn't help if you would > have (maybe transient) hardware problem and bad metadata would be > writen 2,3 or even 100 times. with proper checksum of course. > > UFS uses flat structure - inodes in known places. superblocks are used > to find info about placement, and there are many copies of which only > first is updated under normal operation. > > In really unlikely case of all superblocks corrupted just use newfs on > virtual device (may be md) of same size, with same block and fragment > size, and byte per inode, and copy superblock from here. > Dont email me privately. I like ZFS design however i was only questioning v28 stability for production compared to a mature production tested UFS. From freebsd-questions-local at be-well.ilk.org Sun Jun 24 22:51:45 2012 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sun Jun 24 22:51:51 2012 Subject: changing md5 hashed for sha In-Reply-To: <20120623153710.36e7446f@dijkstra.cruwe.de> (Christopher J. Ruwe's message of "Sat, 23 Jun 2012 15:37:10 +0200") References: <20120623153710.36e7446f@dijkstra.cruwe.de> Message-ID: <444nq0mjjd.fsf@be-well.ilk.org> "Christopher J. Ruwe" writes: > For setting the dafault hash used to hash /etc/master.passwd, it has > been recommended changing md5 for something more secure in the sense of > being more expensive to crack. > > The handbook describes the procedure used in > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html. > Allegedly, hashes which were hashed with one of the sha-functions begin > with the character $6$. > > Afer having changed my /etc/login.conf accordingly and having reset the > passwords, the given there is not md5 anymore (I have tried with md5), > but does not begin with the character $6$, but, as md5, with $1$, which > is supposed to be md5-hashed. I'm not following. Are you saying that you are resetting the passwords after setting login.conf, but new passwords aren't being created with the new hash type? From mike at sentex.net Sun Jun 24 23:06:25 2012 From: mike at sentex.net (Mike Tancsa) Date: Sun Jun 24 23:06:32 2012 Subject: changing md5 hashed for sha In-Reply-To: <20120623153710.36e7446f@dijkstra.cruwe.de> References: <20120623153710.36e7446f@dijkstra.cruwe.de> Message-ID: <4FE79D5F.9020402@sentex.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/23/2012 9:37 AM, Christopher J. Ruwe wrote: > For setting the dafault hash used to hash /etc/master.passwd, it > has been recommended changing md5 for something more secure in the > sense of being more expensive to crack. > > The handbook describes the procedure used in > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html. > > > Allegedly, hashes which were hashed with one of the sha-functions begin > with the character $6$. > > Afer having changed my /etc/login.conf accordingly and having > reset the passwords, the given there is not md5 anymore (I have > tried with md5), but does not begin with the character $6$, but, as > md5, with $1$, which is supposed to be md5-hashed. > > I fear I am a bit dense here, what am I getting wrong? Are you sure you ran cap_mkdb /etc/login.conf after adjusting the values in login.conf ? Also, this will only work on relatively recent versions of FreeBSD. ---Mike - -- - ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP551fAAoJEJXHwM2kc8rXS34H/j+uxWq8Pa9j0iXpehObx2iY LeeCZx7YbSv9AwGVHy/gTRtYP1uStBNn79oKV0ANSyjOT3F7l1MuygfJAqfXIKDm WdN4KX2D3tpAjVMdce1zX2rSy4OtXLYXpBXTiGmP2d/erAEtE9B8gJ8GQWDh0gWz 14CkQyefcF2YvmepSj3+9P69EzjlEm6vDMPyY/nrMlJcT8+ujtZX325+kQzQiiFX FFasbqekazHCUnKGZZY9arY01AxPKg5e2PXFZPQf3qQy3jHqOupnM3ei3D39O9aV gqJ/k2XDPjZYqAIy0gyPi99q4fCueYQFQrm2tyeTkV6+OxM8kdD5czx/FvySiG8= =FVSP -----END PGP SIGNATURE----- From ross.cameron at linuxpro.co.za Sun Jun 24 23:41:21 2012 From: ross.cameron at linuxpro.co.za (Ross Cameron) Date: Sun Jun 24 23:41:28 2012 Subject: Is ZFS production ready? In-Reply-To: References: <4FE2CE38.9000100@gmail.com> <4FE32FF5.60603@ulb.ac.be> Message-ID: On Thu, Jun 21, 2012 at 4:44 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > One interesting feature of ZFS if it's block checksum: all reads and >> writes include block checksum, so it can easily detect situations where, >> for example, data is quietly corrupted by RAM. >> > > you may be shocked but you are sometimes wrong. i already demostrated it > and checksumming doesn't get any errors, and do write wrong data with right > checksums :) > > it's quite easy to explain if one understand hardware details. > > Checksumming will protect you from > > - failed SATA/SAS port, on-disk controller that returns bad data as good. > This is actually really rare case. i never seen that, but maybe it happens. > > - some types of DRAM failure - but not all. Actually just a small fraction > because DRAM failure like that would bring your system to crash so quickly > that you are unlikely to get big data corruption. > > Common case with DRAM memory is that after you write to it, keeps right > data some time and RARELY flips some bit later in spite of refresh. > > With this type you may run your machine for hours, even days or longer. > And ZFS would calculate proper checksum of wrong data and will write it to > disk. > > > This is the reason i keep few failed DIMMs - for testing how different > software behaves on broken machine. > > UFS resulted in few corrupted files after half a day of heavy work and 4 > crashes. fsck always recovered things well (of course "unexpected > softupdate inconsistency....") > > ZFS survived 2 crashes. After third it panicked on startup. > > Of course - no zfs_fsck. > And no possibility of making really good zfs_fsck because of data layout, > at least not easy. > > > > This feature is very important for databases. >> > is data integrity not important for the rest? :) > > Still - disks itself perform quite heavy ECC and both SATA and SAS ports. > While I don't dispute you're test's findings I would like to point out that you are SPECIFICALLY testing for something that the original designers of ZFS (SUN now Oracle) point out VERY clearly as being an issue that you should avoid in you're deployed environments. The filesystem is designed to protect the ON DISK data and being a highly memory intensive filesystem should ALWAYS be deployed on hardware with memory error correction build in (aka ECC RAM deployed across multiple banks). The filesystem comes from an hardware/OS environment that is HEAVILY BIASED towards "self healing" as they put it and as a result things like memory module issues would: 1) Either be corrected by the ECC modules 2) Be reported to the administrator of said system as soon as they occur (well on a system where you have such reporting setup correctly) As a result you're argument is moot....whilst you're findings are indeed still valid. UFS2 being MUCH lighter on RAM requirements is, well frankly, quite possibly not even interacting with the damaged sections of the memory modules in you're test and I am almost certain that if we were to ask around on this mailing list enough examples of UFS/UFS2 corruption due to faulty RAM are VERY VERY likely to come up. No filesystem (or other code for that matter) would be able to detect RAM content corruption (as this is NOT a filesystem's job) and correct it for you as frankly the kernel wouldn't know if the data in the buffers is correct or not without the application storing said data being coded to check for these conditions (I know of a patch to the Linux kernel that does indeed look for faulty RAM segments and works around them but I am *mostly*positive that no general purpose OS in current deployment does so as I have noticed that this behavior was VERY CPU intensive). Also (debate encouraged here) due to the COW nature of ZFS a zfs_fsck command is basically entirely unnecessary as 1) The last successfully completed write to the file will be intact and 2) Scrubbing the on disk content performs a much better filesystem maintenance than an fsck does and this can also be done online without impacting uptimes of you're systems/data availability. On my systems I specifically trigger a scrub (via the ZFS init script) whenever my systems are uncleanly shut down as I am willing to tolerate a slightly slower but available system in such conditions. While UFS2 is indeed an wonderfully reliable filesystem it (as with all things) is not suited to all tasks, there are many instances where I can see the features of ZFS far outweighing the detractions (as do I see the same for the converse state of affairs). While all the above is purely based on my understanding of ZFS (and I am one of the people working on a port to GNU/Linux - admittedly not directly but I spend a LOT of my time reading/cleaning up the code fork that I do use) and SUN's (now Oracle's) design/deployment documents,...it is still my opinion and I would encourage a debate on these opinions. From noc at hdk5.net Mon Jun 25 00:05:51 2012 From: noc at hdk5.net (Al Plant) Date: Mon Jun 25 00:05:58 2012 Subject: Omega Zip Drives on FreeBSD 8.* Message-ID: <4FE7A9D9.9000508@hdk5.net> Aloha, I need to get an old parallel Omega Zip drive to work on a freeBSD 8.* to transfer some archives to new media. I have a problem with getting the OS to read the Omega Zip drive so it can be seen in dmesg to manually set the id correctly in /etc/fstab Flash drives and floppies show up but not Parallel Omegas. My wifes MS machine has no parallel input and my several FreeBSD boxes do but wont find the hardware. I used to use Omega Zip under FreeBSD 4.11. Thought these had been transferred years ago but they were only found recently. Any suggestions appreciated. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From amvandemore at gmail.com Mon Jun 25 00:13:08 2012 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Jun 25 00:13:16 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: <4FE7A9D9.9000508@hdk5.net> References: <4FE7A9D9.9000508@hdk5.net> Message-ID: On Sun, Jun 24, 2012 at 6:59 PM, Al Plant wrote: > > I need to get an old parallel Omega Zip drive to work on a freeBSD 8.* to > transfer some archives to new media. > > I have a problem with getting the OS to read the Omega Zip drive so it can > be seen in dmesg to manually set the id correctly in /etc/fstab Flash > drives and floppies show up but not Parallel Omegas. My wifes MS machine > has no parallel input and my several FreeBSD boxes do but wont find the > hardware. I used to use Omega Zip under FreeBSD 4.11. Thought these had > been transferred years ago but they were only found recently. > > Any suggestions appreciated. > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/zip-drive/article.html Also at /boot/kernel/vpo.ko -- Adam Vande More From eam1edward at gmail.com Mon Jun 25 00:16:33 2012 From: eam1edward at gmail.com (Edward M) Date: Mon Jun 25 00:16:40 2012 Subject: Is ZFS production ready? In-Reply-To: References: <20120624001622.17052.qmail@joyce.lan> <4FE6602C.2050800@gmail.com> <4FE79800.8000200@gmail.com> Message-ID: <4FE7AF07.6020304@gmail.com> On 06/24/2012 04:23 PM, Adam Vande More wrote: > On Sun, Jun 24, 2012 at 5:43 PM, Edward M > wrote: > > Dont email me privately. > > > Don't be an ass. Standard list conventions allows for private email. > If this is simply an individual case of not liking the person who > emailed you, then it is your ethical responsibility to ask for privacy > in privacy. **Even in the case of sender being a pompous ass. If it > is your overall wish to not be emailed privately by members of this > list, then you should set that option on your list membership page > instead of attempting to force your responsibility onto others. > > -- > Adam Vande More That reply was not meant for you, so why do you care? get lost. From mike.jeays at rogers.com Mon Jun 25 00:58:53 2012 From: mike.jeays at rogers.com (Mike Jeays) Date: Mon Jun 25 00:59:00 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: References: <4FE7A9D9.9000508@hdk5.net> Message-ID: <20120624205845.159470b6@europa> On Sun, 24 Jun 2012 19:13:00 -0500 Adam Vande More wrote: > On Sun, Jun 24, 2012 at 6:59 PM, Al Plant wrote: > > > > I need to get an old parallel Omega Zip drive to work on a freeBSD 8.* to > > transfer some archives to new media. > > > > I have a problem with getting the OS to read the Omega Zip drive so it can > > be seen in dmesg to manually set the id correctly in /etc/fstab Flash > > drives and floppies show up but not Parallel Omegas. My wifes MS machine > > has no parallel input and my several FreeBSD boxes do but wont find the > > hardware. I used to use Omega Zip under FreeBSD 4.11. Thought these had > > been transferred years ago but they were only found recently. > > > > Any suggestions appreciated. > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/zip-drive/article.html > > Also at /boot/kernel/vpo.ko > > > -- > Adam Vande More > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I am amazed anyone still has a working Zip drive! Both mine suffered from the click of death some years ago, round about when 4.11 was current. I would get any data off them and onto a CD/DVD as soon as possible. For me, they would make nice museum exhibits, but that's it. From noc at hdk5.net Mon Jun 25 01:50:19 2012 From: noc at hdk5.net (Al Plant) Date: Mon Jun 25 01:50:30 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: References: <4FE7A9D9.9000508@hdk5.net> Message-ID: <4FE7C3D9.3040005@hdk5.net> Adam Vande More wrote: > On Sun, Jun 24, 2012 at 6:59 PM, Al Plant > wrote: > > I need to get an old parallel Omega Zip drive to work on a freeBSD > 8.* to transfer some archives to new media. > > I have a problem with getting the OS to read the Omega Zip drive so > it can be seen in dmesg to manually set the id correctly in > /etc/fstab Flash drives and floppies show up but not Parallel > Omegas. My wifes MS machine has no parallel input and my several > FreeBSD boxes do but wont find the hardware. I used to use Omega Zip > under FreeBSD 4.11. Thought these had been transferred years ago but > they were only found recently. > > Any suggestions appreciated. > > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/zip-drive/article.html > > Also at /boot/kernel/vpo.ko > > > -- > Adam Vande More ########### Thanks Adam, I read the article and made a clean physical install and I now see the vpo driver and the Omega Zip device in the dmesg as da0. I have it in the /etc/fstab file as da0s4 (which should work) I still can't access the drive or the contents but at least it shows up now. Something to work with. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From feld at feld.me Mon Jun 25 02:21:20 2012 From: feld at feld.me (Mark Felder) Date: Mon Jun 25 02:21:27 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: <4FE7C3D9.3040005@hdk5.net> References: <4FE7A9D9.9000508@hdk5.net> <4FE7C3D9.3040005@hdk5.net> Message-ID: Now would be an ideal time to dd the device to an image file and play with that until you get it working. If your hardware or media fails as-is you'll be rather disappointed :-) From mueller23 at insightbb.com Mon Jun 25 02:58:30 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Mon Jun 25 02:58:37 2012 Subject: Omega Zip Drives on FreeBSD 8.* Message-ID: <78.B7.22025.EC3D7EF4@smtp01.insight.synacor.com> from Mike Jeays : > I am amazed anyone still has a working Zip drive! Both mine suffered from the click of death some years ago, round about when 4.11 was current. I would get any data off them and onto a CD/DVD as soon as possible. For me, they would make nice museum exhibits, but that's it. I never suffered the click of death as such, but my Zip drives (100 and 250, both SCSI) died in other ways. Zip 100 drive, and also SyQuest SyJet drive, got to where they would just eject the disk a few seconds after insertion. Zip 250 disk remained semi-functional after July 2001, the "semi" being that the Zip drive would not recognize a change of cartridge except by rebooting the computer, old directories would be kept. This happened with Linux, DOS and OS/2 Warp 4, so it was a hardware issue. I installed FreeDOS to a Zip 250 disk on an old computer (1995): took a bit over five hours because Zip disks are slow: glorified floppies. SCSI was Trantor T130B, apparently supported by NetBSD but not FreeBSD >= 3.0. My last chance to try to install NetBSD 4.0.1 on a Zip 250 was stopped when that old computer wouldn't power up, and with other things going/gone bad, that computer was clearly not worth the time, effort and cost of repair. So it went to the cyber waste recycling center, including the Zip drives and disks, and the SyJet drive and disks. I haven't used USB sticks as long as floppies or Iomega Zip, but USB sticks and hard drives look much better so far than Iomega Zip or floppies. If I ever tried to install FreeBSD 8.x by copying the distribution files to floppies, no way would I be able to get enough good floppy copies with no better than 20% probability of success on each diskette image. I believe Iomega discontinued the parallel-port Zip drive, subsequently the SCSI Zip drive, and the USB and ATAPI Zip drives were the last to be discontinued. Tom From noc at hdk5.net Mon Jun 25 04:23:13 2012 From: noc at hdk5.net (Al Plant) Date: Mon Jun 25 04:23:20 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: <78.B7.22025.EC3D7EF4@smtp01.insight.synacor.com> References: <78.B7.22025.EC3D7EF4@smtp01.insight.synacor.com> Message-ID: <4FE7E7AE.3040101@hdk5.net> Thomas Mueller wrote: > from Mike Jeays : > >> I am amazed anyone still has a working Zip drive! Both mine suffered from the click of death some years ago, round about when 4.11 was current. I would get any data off them and onto a CD/DVD as soon as possible. For me, they would make nice museum exhibits, but that's it. > > I never suffered the click of death as such, but my Zip drives (100 and 250, both SCSI) died in other ways. > > Zip 100 drive, and also SyQuest SyJet drive, got to where they would just eject the disk a few seconds after insertion. > > Zip 250 disk remained semi-functional after July 2001, the "semi" being that the Zip drive would not recognize a change of cartridge except by rebooting the computer, old directories would be kept. This happened with Linux, DOS and OS/2 Warp 4, so it was a hardware issue. > > I installed FreeDOS to a Zip 250 disk on an old computer (1995): took a bit over five hours because Zip disks are slow: glorified floppies. > > SCSI was Trantor T130B, apparently supported by NetBSD but not FreeBSD >= 3.0. > > My last chance to try to install NetBSD 4.0.1 on a Zip 250 was stopped when that old computer wouldn't power up, and with other things going/gone bad, that computer was clearly not worth the time, effort and cost of repair. So it went to the cyber waste recycling center, including the Zip drives and disks, and the SyJet drive and disks. > > I haven't used USB sticks as long as floppies or Iomega Zip, but USB sticks and hard drives look much better so far than Iomega Zip or floppies. > > If I ever tried to install FreeBSD 8.x by copying the distribution files to floppies, no way would I be able to get enough good floppy copies with no better than 20% probability of success on each diskette image. > > I believe Iomega discontinued the parallel-port Zip drive, subsequently the SCSI Zip drive, and the USB and ATAPI Zip drives were the last to be discontinued. > > Tom > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > ######### Thanks.... Of the 4 I had to play with one literally fell apart one scsi card is throwing errors. The one I finally got working is an old IDE on a FreeBSD 10 box that I experiment with. This should work fine to archive the Omega disks we found. Again thanks for heading me on the right path. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From mueller23 at insightbb.com Mon Jun 25 05:16:48 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Mon Jun 25 05:16:54 2012 Subject: Omega Zip Drives on FreeBSD 8.* Message-ID: from Al Plant : > Thanks.... > Of the 4 I had to play with one literally fell apart one scsi card is > throwing errors. The one I finally got working is an old IDE on a > FreeBSD 10 box that I experiment with. This should work fine to archive > the Omega disks we found. > Again thanks for heading me on the right path. > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 What fell apart? Was it the Iomega Zip drive, the disk, or the scsi card? I assume Omega is a typo or memory lapse for what should be Iomega? IDE has given way on modern motherboards in favor of SATA, but current OSes would still have IDE/ATAPI support. You might still be advised to backup or transfer the data on Zip disks to CDs, DVDs or USB sticks or hard drives. Remember, Zip disks are just glorified floppies. Tom From ml at netfence.it Mon Jun 25 05:51:38 2012 From: ml at netfence.it (Andrea Venturoli) Date: Mon Jun 25 05:51:47 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: <20120624205845.159470b6@europa> References: <4FE7A9D9.9000508@hdk5.net> <20120624205845.159470b6@europa> Message-ID: <4FE7FC5B.3070808@netfence.it> On 06/25/12 02:58, Mike Jeays wrote: > I am amazed anyone still has a working Zip drive! I have a SCSI one and I'm using it to backup some data (can't even remember how old that is, 10 years probably, but never had any glitches). I also have a couple of customers still using two or three such drives (although they are probably fading them out). bye av. From ml at netfence.it Mon Jun 25 05:56:50 2012 From: ml at netfence.it (Andrea Venturoli) Date: Mon Jun 25 05:56:57 2012 Subject: [OT] Re: Omega Zip Drives on FreeBSD 8.* In-Reply-To: <78.B7.22025.EC3D7EF4@smtp01.insight.synacor.com> References: <78.B7.22025.EC3D7EF4@smtp01.insight.synacor.com> Message-ID: <4FE7FD88.6090406@netfence.it> On 06/25/12 04:58, Thomas Mueller wrote: > Zip 100 drive, and also SyQuest SyJet drive, got to where they would > just eject the disk a few seconds after insertion. I hope I'm remembering this correctly (this happened probably ten years ago or so): I had an internal Zip drive which showed this behaviour as soon as I mounted it, but it was very simple to fix. My Zip drive had some sort of glue tape all around it at the front; this tape was bended and locked some very small lever which ejected the disk: unbending the tape was enough to get the drive working properly again. bye av. From smithi at nimnet.asn.au Mon Jun 25 06:57:40 2012 From: smithi at nimnet.asn.au (Ian Smith) Date: Mon Jun 25 06:57:48 2012 Subject: OT: Robotics or embedded or hardware programming... what is this called? In-Reply-To: References: <20120621083945.E87771065694@hub.freebsd.org> <20120622153224.I46641@sola.nimnet.asn.au> Message-ID: <20120625152340.X46641@sola.nimnet.asn.au> On Fri, 22 Jun 2012 06:47:48 -0600 (MDT), Warren Block wrote: > On Fri, 22 Jun 2012, Ian Smith wrote: > > > I thought I saw something somewhere (maybe just wishful thinking) about > > FreeBSD on the Arduino, which normally runs a sort of embedded Linux, > > that could be very interesting; the hardware is cheap (kits at Jaycar > > stores in Australia anyway), very modular design, and there are heaps of > > fascinating projects. I want the quadricopter to follow me around the > > room at parties - at my age I need something really impressive :) > > Well, there is devel/arduino. It's not emdedded Linux, but an IDE for > writing and downloading code. The Arduino is a small embedded controller > based on the Atmel AVR microcontrollers. They are quite powerful, easy to > program, and accessible for experimenters. You can skip the Arduino > environment if you like, using the same lower-level tools like avr-gcc > directly. And the Arduino board can be used as a programmer, downloading > code to plain AVR chips and avoiding the need for more Arduino boards. Talk > about the Arduino on FreeBSD is generally on the freebsd-embedded mailing > list. Thanks Warren. I got the wrong idea that Arduino ran an embedded Linux from a friend, a Linux-using Electrical Engineer, but not a programmer. I'd also (too) briefly glanced at www.arduino.cc and noted Windows, Mac and Linux references, and Linux binaries, but had no idea you had ported the GUI. Could you perhaps try pushing the FreeBSD port upstream to Arduino, so people can find out that it exists from there? I hope to explore further once I get 9.x running; this 8.2-R system is chokka, not enough remaining space for a JDK, nor even a JRE :) > The Microchip PIC microcontrollers compete with the AVR. There are some > FreeBSD ports for programming those, but there are many varying chips and the > hardware needed to program some of them differs. I don't know if there is > anything directly comparable to the Arduino IDE. ARM processors have become > so cheap that they are starting to compete in this arena also. I looked at PICs ages ago, but just wasn't enticed by their instruction set; as an old S/3[67]0 bod I've always fallen for the more orthogonal processors like the Signetics 2650 (hands up who's heard of that!), 680[59]/68K and more lately AVRs, Harvard architecture despite little- endianness. Not sure there's room left in my head for MIPS or ARM .. > > On the FreeBSD side there's advanced work, I gather, on ARM and Atmel > > MEGA 32-bit and MIPS platforms at least. Personally I consider these > > 'big iron' and far prefer writing in macro assembler for little Atmel > > Tiny25s and such, but that's strictly "Look Ma, no OS!" programming. > > Another option: the freebsd-wireless list has had some very interesting > traffic about the TP-Link TL-WR1043ND, a $50 MIPS-based wireless router with > Atheros 802.11n chipset, USB, and gigabit Ethernet which can run FreeBSD > directly. Not sure how usable it is at present. Interesting. I'm subs'd to wireless@ and embedded@ (previously small@) but obviously haven't been paying enough attention :) Thanks again. cheers, Ian From danm at prime.gushi.org Mon Jun 25 07:54:40 2012 From: danm at prime.gushi.org (Dan Mahoney, System Admin) Date: Mon Jun 25 07:54:47 2012 Subject: portupgrade -- is there a way to only build and update ports that actually NEED it? Message-ID: Hey there, I'm presently in the process of trying to do a portupgrade from rt-3.8.8 to 3.8.13. By all estimations, this is a minor bump. Already, I've encountered several annoyances due to ABI changes, such as the libtool2.4 fun. With normal portupgrade, this forces you to go fix the dependent port. Finally, I just applied -r, which should update all dependent packages, but it seems to upgrade them unconditionally. Ergo, I've since built a new version of perl, a new verion of python, rebuilt every perl module on the system, am presently rebuilding apache22, and I'm sure the system will turn around and require me to rebuild postgres real soon. You would think there's an option to portupgrade that says "don't upgrade every single package I've got, but if somewhere in the dependency chain I need a newer version of a thing, then do it." Am I just missing it in the manpages, or does such a thing really not exist? -Dan -- "You recreate the stars in the sky with cows?" -Furrball, March 7 2005, on Katamari Damacy --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From ml at my.gd Mon Jun 25 08:08:27 2012 From: ml at my.gd (Damien Fleuriot) Date: Mon Jun 25 08:08:34 2012 Subject: portupgrade -- is there a way to only build and update ports that actually NEED it? In-Reply-To: References: Message-ID: <4FE81C78.5040504@my.gd> On 6/25/12 9:53 AM, Dan Mahoney, System Admin wrote: > Hey there, > > I'm presently in the process of trying to do a portupgrade from rt-3.8.8 > to 3.8.13. By all estimations, this is a minor bump. > > Already, I've encountered several annoyances due to ABI changes, such as > the libtool2.4 fun. With normal portupgrade, this forces you to go fix > the dependent port. > > Finally, I just applied -r, which should update all dependent packages, > but it seems to upgrade them unconditionally. > > Ergo, I've since built a new version of perl, a new verion of python, > rebuilt every perl module on the system, am presently rebuilding > apache22, and I'm sure the system will turn around and require me to > rebuild postgres real soon. > > You would think there's an option to portupgrade that says "don't > upgrade every single package I've got, but if somewhere in the > dependency chain I need a newer version of a thing, then do it." > > Am I just missing it in the manpages, or does such a thing really not > exist? > > -Dan > We've been happily using portmanager for ages, it does just that :) From perryh at pluto.rain.com Mon Jun 25 08:11:31 2012 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Jun 25 08:11:56 2012 Subject: Is ZFS production ready? In-Reply-To: <4FE7AF07.6020304@gmail.com> References: <20120624001622.17052.qmail@joyce.lan> <4FE6602C.2050800@gmail.com> <4FE79800.8000200@gmail.com> <4FE7AF07.6020304@gmail.com> Message-ID: <4fe87cf3.F2Mc5/p9W79RTX2m%perryh@pluto.rain.com> Edward M wrote: > That reply was not meant for you, so why do you care? If it wasn't meant for everyone on the list, why was it sent to the list? From matthew at FreeBSD.org Mon Jun 25 08:15:45 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Mon Jun 25 08:15:53 2012 Subject: portupgrade -- is there a way to only build and update ports that actually NEED it? In-Reply-To: References: Message-ID: <4FE81E1F.3050809@FreeBSD.org> On 25/06/2012 08:53, Dan Mahoney, System Admin wrote: > I'm presently in the process of trying to do a portupgrade from rt-3.8.8 > to 3.8.13. By all estimations, this is a minor bump. > > Already, I've encountered several annoyances due to ABI changes, such as > the libtool2.4 fun. With normal portupgrade, this forces you to go fix > the dependent port. > > Finally, I just applied -r, which should update all dependent packages, > but it seems to upgrade them unconditionally. > > Ergo, I've since built a new version of perl, a new verion of python, > rebuilt every perl module on the system, am presently rebuilding > apache22, and I'm sure the system will turn around and require me to > rebuild postgres real soon. > > You would think there's an option to portupgrade that says "don't > upgrade every single package I've got, but if somewhere in the > dependency chain I need a newer version of a thing, then do it." > > Am I just missing it in the manpages, or does such a thing really not > exist? It has been many years since I used portupgrade with any regularity, and many of those neurones have been recycled. However, I do recall that: portupgrade -a should update all out-of-date ports on your system. portupgrade -r pkgname should update pkgname (if out of date) and all packages that depend on pkgname. portupgrade -R pkgname should update everything that pkgname depends on plus pkgname (if out of date). 'portupgrade -R' sounds like what you want. I believe that the meaning of the -r and -R flags in portupgrade is reversed from pkg_info(1) which is annoyingly inconsistent. Nowadays I usually use portmaster, where: portmaster pkgname works equivalently to 'portupgrade -R pkgname' except that portmaster /always/ reinstalls pkgname even if it is up to date. ie. the standard default action of portmaster is to do exactly what you want. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120625/f39a107d/signature.pgp From ml at netfence.it Mon Jun 25 08:41:21 2012 From: ml at netfence.it (Andrea Venturoli) Date: Mon Jun 25 08:41:29 2012 Subject: portupgrade -- is there a way to only build and update ports that actually NEED it? In-Reply-To: <4FE82401.7080307@netfence.it> References: <4FE82401.7080307@netfence.it> Message-ID: <4FE82423.90707@netfence.it> On 06/25/12 10:40, Andrea Venturoli wrote: > On 06/25/12 09:53, Dan Mahoney, System Admin wrote: >> Hey there, >> >> I'm presently in the process of trying to do a portupgrade from rt-3.8.8 >> to 3.8.13. By all estimations, this is a minor bump. >> >> Already, I've encountered several annoyances due to ABI changes, such as >> the libtool2.4 fun. With normal portupgrade, this forces you to go fix >> the dependent port. >> >> Finally, I just applied -r, which should update all dependent packages, >> but it seems to upgrade them unconditionally. > > "-r" will upgrade all dependent ports *if* a newer version is available. > "-rf" will upgrade all dependent ports unconditionally. > > > > > >> You would think there's an option to portupgrade that says "don't >> upgrade every single package I've got, but if somewhere in the >> dependency chain I need a newer version of a thing, then do it." > > I'm not sure what you mean. > I guess you waned "portupgrade -R rt", which will upgrade all ports rt ^^^^^ wanted > is depending on. > > > > > > HTH. > > bye > av. From ml at netfence.it Mon Jun 25 08:43:49 2012 From: ml at netfence.it (Andrea Venturoli) Date: Mon Jun 25 08:43:55 2012 Subject: portupgrade -- is there a way to only build and update ports that actually NEED it? In-Reply-To: References: Message-ID: <4FE82401.7080307@netfence.it> On 06/25/12 09:53, Dan Mahoney, System Admin wrote: > Hey there, > > I'm presently in the process of trying to do a portupgrade from rt-3.8.8 > to 3.8.13. By all estimations, this is a minor bump. > > Already, I've encountered several annoyances due to ABI changes, such as > the libtool2.4 fun. With normal portupgrade, this forces you to go fix > the dependent port. > > Finally, I just applied -r, which should update all dependent packages, > but it seems to upgrade them unconditionally. "-r" will upgrade all dependent ports *if* a newer version is available. "-rf" will upgrade all dependent ports unconditionally. > You would think there's an option to portupgrade that says "don't > upgrade every single package I've got, but if somewhere in the > dependency chain I need a newer version of a thing, then do it." I'm not sure what you mean. I guess you waned "portupgrade -R rt", which will upgrade all ports rt is depending on. HTH. bye av. From daniel at produktion203.se Mon Jun 25 08:44:34 2012 From: daniel at produktion203.se (Daniel Ylitalo) Date: Mon Jun 25 08:45:17 2012 Subject: Question about missing posix shared mutex Message-ID: <4FE824EF.8020305@produktion203.se> Hi guys! According to the sphinxsearch dev-team freebsd does not support posix pthread shared mutex but later on i found this post that gave some pointers that it might been implemented into freebsd 9: http://freebsd.1045724.n5.nabble.com/What-is-the-status-of-thread-process-shared-synchronization-td4224458.html However 9.0-RELEASE doesnt have it so i tried out 9-STABLE but it isnt in there either. There is also a pretty long bugthread on sphinxsearch's bugtracker about it: http://sphinxsearch.com/bugs/view.php?id=1041 Basically my question is if there is work being done on this and if we will see it in 9.1? Or should i abandon freebsd for our sphinxhosts? :( Best regards Daniel From guru at unixarea.de Mon Jun 25 09:15:47 2012 From: guru at unixarea.de (Matthias Apitz) Date: Mon Jun 25 09:15:54 2012 Subject: printing jpeg slides to a Postscript printer Message-ID: <20120625091535.GA1324@tiny.Sisis.de> Hello, I have 10 jpeg slides (screen shoots) and I want to print them to a Postscript printer (CUPS controlled), on each page 2 slides. I know I could make some presentation from them or wrap them into a HTML file, but I was thinking there must be some easy way with some tool from our ports. Any idea? Thanks in advance matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From v.velox at vvelox.net Mon Jun 25 09:25:11 2012 From: v.velox at vvelox.net (Zane C. B-H.) Date: Mon Jun 25 09:25:22 2012 Subject: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues Message-ID: <20120625042118.1cc42ab2@vixen42.vulpes.vvelox.net> Howdy! Any one have any idea what is going on below? [root@shiela]/root# uname -a FreeBSD shiela.vulpes.vvelox.net 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Sat Feb 25 04:55:35 CST 2012 kitsune@shiela.vulpes.vvelox.net:/usr/obj/usr/src/sys/sheila amd64 [root@shiela]/root# freebsd-update -r 9.0-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from update5.FreeBSD.org... failed. Fetching public key from update4.FreeBSD.org... failed. Fetching public key from update3.FreeBSD.org... failed. No mirrors remaining, giving up. Exit 1 [root@shiela]/root# From wojtek at wojtek.tensor.gdynia.pl Mon Jun 25 09:25:16 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 25 09:25:46 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: <20120624205845.159470b6@europa> References: <4FE7A9D9.9000508@hdk5.net> <20120624205845.159470b6@europa> Message-ID: >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > I am amazed anyone still has a working Zip drive! I have 250MB zipdrive and 100MB disks. all works properly over USB From v.velox at vvelox.net Mon Jun 25 09:30:49 2012 From: v.velox at vvelox.net (Zane C. B-H.) Date: Mon Jun 25 09:30:56 2012 Subject: Understanding XDM In-Reply-To: References: Message-ID: <20120625043302.198cf5c3@vixen42.vulpes.vvelox.net> On Sun, 24 Jun 2012 22:19:54 +0200 Christian Graulund wrote: > The others have answered your questions concerning DM v. WM, but if you are finding XDM annoying to configure, you may possible wish to take a look at slim, x11/slim. From nightrecon at hotmail.com Mon Jun 25 09:58:42 2012 From: nightrecon at hotmail.com (Michael Powell) Date: Mon Jun 25 09:58:54 2012 Subject: Question about missing posix shared mutex References: <4FE824EF.8020305@produktion203.se> Message-ID: Daniel Ylitalo wrote: > Hi guys! > > According to the sphinxsearch dev-team freebsd does not support posix > pthread shared mutex but later on i found this post that gave some > pointers that it might been implemented into freebsd 9: > http://freebsd.1045724.n5.nabble.com/What-is-the-status-of-thread-process- shared-synchronization-td4224458.html > > However 9.0-RELEASE doesnt have it so i tried out 9-STABLE but it isnt > in there either. > > There is also a pretty long bugthread on sphinxsearch's bugtracker about > it: http://sphinxsearch.com/bugs/view.php?id=1041 > > Basically my question is if there is work being done on this and if we > will see it in 9.1? Or should i abandon freebsd for our sphinxhosts? :( > Sorry not to answer your question, but have you tried installing any of the following from the ports system to see if they work? http://www.freebsd.org/cgi/ports.cgi?query=sphinx&stype=all I do not use this and have no experience with it, but if these ports are indeed broken it might be nice for the port maintainer to know about. If they work, then why fuss over theoretics? -Mike From luvbeastie at larseighner.com Mon Jun 25 10:10:52 2012 From: luvbeastie at larseighner.com (Lars Eighner) Date: Mon Jun 25 10:11:00 2012 Subject: printing jpeg slides to a Postscript printer In-Reply-To: <20120625091535.GA1324@tiny.Sisis.de> References: <20120625091535.GA1324@tiny.Sisis.de> Message-ID: On Mon, 25 Jun 2012, Matthias Apitz wrote: > > Hello, > > I have 10 jpeg slides (screen shoots) and I want to print them to a > Postscript printer (CUPS controlled), on each page 2 slides. I know I > could make some presentation from them or wrap them into a HTML file, > but I was thinking there must be some easy way with some tool from > our ports. > > Any idea? Thanks in advance I'll take that "Any" at face value. Did you check your printer's manual? Many printers these days can print photos stand-alone. The least hassle option might to be to load your photos on a card or memory stick, and use your printer's stand-alone functions, since I gather from your question that you are not embedding the photos in some larger document. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From guru at unixarea.de Mon Jun 25 10:18:50 2012 From: guru at unixarea.de (Matthias Apitz) Date: Mon Jun 25 10:19:03 2012 Subject: printing jpeg slides to a Postscript printer In-Reply-To: References: <20120625091535.GA1324@tiny.Sisis.de> Message-ID: <20120625101844.GA1440@tiny.Sisis.de> El d?a Monday, June 25, 2012 a las 05:10:32AM -0500, Lars Eighner escribi?: > > I have 10 jpeg slides (screen shoots) and I want to print them to a > > Postscript printer (CUPS controlled), on each page 2 slides. I know I > > could make some presentation from them or wrap them into a HTML file, > > but I was thinking there must be some easy way with some tool from > > our ports. > > > > Any idea? Thanks in advance > > I'll take that "Any" at face value. Did you check your printer's manual? > > Many printers these days can print photos stand-alone. The least hassle > option might to be to load your photos on a card or memory stick, and use > your printer's stand-alone functions, since I gather from your question that > you are not embedding the photos in some larger document. I was thinking in some UNIX way to do so, like: 1. converting the 10 jpeg to 10 .eps files 2. running psmerge to bring the 10 EPS files into one PS file 3. running psnup to get the 10 pages re-arranged, 2 on one page; but psmerge does not produce something usefull; I don't know if my printer has such options or if I can get access to such stand-alone functions; it is our central printer and managed by IT; matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From v.velox at vvelox.net Mon Jun 25 10:34:56 2012 From: v.velox at vvelox.net (Zane C. B-H.) Date: Mon Jun 25 10:35:03 2012 Subject: printing jpeg slides to a Postscript printer In-Reply-To: <20120625091535.GA1324@tiny.Sisis.de> References: <20120625091535.GA1324@tiny.Sisis.de> Message-ID: <20120625053713.5bd88e7d@vixen42.vulpes.vvelox.net> On Mon, 25 Jun 2012 11:15:36 +0200 Matthias Apitz wrote: > > Hello, > > I have 10 jpeg slides (screen shoots) and I want to print them to a > Postscript printer (CUPS controlled), on each page 2 slides. I know > I could make some presentation from them or wrap them into a HTML > file, but I was thinking there must be some easy way with some tool > from our ports. > > Any idea? Thanks in advance I would just load them up in print them in Libreoffice and print them once I was happy with how the page layout looked. From markus.hoenicka at mhoenicka.de Mon Jun 25 10:53:41 2012 From: markus.hoenicka at mhoenicka.de (Markus Hoenicka) Date: Mon Jun 25 10:53:49 2012 Subject: printing jpeg slides to a Postscript printer In-Reply-To: <20120625101844.GA1440@tiny.Sisis.de> References: <20120625091535.GA1324@tiny.Sisis.de> <20120625101844.GA1440@tiny.Sisis.de> Message-ID: <20120625125258.Horde.6O8kZruWis5P6EMK25pGerA@webmail.df.eu> Matthias Apitz was heard to say: > > I was thinking in some UNIX way to do so, like: > > 1. converting the 10 jpeg to 10 .eps files > 2. running psmerge to bring the 10 EPS files into one PS file > 3. running psnup to get the 10 pages re-arranged, 2 on one page; > If you're looking at 10 images, just fire up OpenOffice and make a presentation or a drawing with 2 images per page. Figure out the Unix way if you're looking at 10 images every day :-) just my 2 cc Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 From jakub_lach at mailplus.pl Mon Jun 25 11:17:29 2012 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Mon Jun 25 11:17:37 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: References: <4FE7A9D9.9000508@hdk5.net> <20120624205845.159470b6@europa> Message-ID: <1340623049263-5721678.post@n5.nabble.com> In the next episode: Modern home video with Betamax and LaserDisc ;) -- View this message in context: http://freebsd.1045724.n5.nabble.com/Omega-Zip-Drives-on-FreeBSD-8-tp5721532p5721678.html Sent from the freebsd-questions mailing list archive at Nabble.com. From ukornev at city-link.info Mon Jun 25 05:55:18 2012 From: ukornev at city-link.info (=?windows-1251?B?yu7w7eXiIN7w6Okg3vD85eLo9w==?=) Date: Mon Jun 25 11:19:32 2012 Subject: question crash #144315 Message-ID: <1442117131.20120625095512@city-link.info> Hello! We have a problem provided in - kern/144315: [ipfw] [panic] freebsd 8-stable reboot after add ipfw rules with netgraph ng_car Our assembly of freebsd: FreeBSD 8.1-RELEASE #0: Mon Sep 27 01:19:13 MSD 2010 kain@shaper:/usr/obj/usr/src/sys/SHAPER i386 Reset occurs at different times, in not dependences on quantity of rules. Thus when restarting the same rules, but thus system are applied remains in working condition. With adding of the new subscriber in billing the script is executed example: $n_inet_login=100654 /sbin/ipfw table 10 add $2 $in /sbin/ipfw table 20 add $2 $out /usr/sbin/ngctl mkpeer ipfw: car $in upper /usr/sbin/ngctl name ipfw:$in $n_inet_login /usr/sbin/ngctl connect $n_inet_login: ipfw: lower $out /usr/sbin/ngctl msg $n_inet_login: setconf { upstream={ cbs=$o_cbs ebs=$o_cbs cir=$n_cir greenAction=1 yellowAction=1 redAction=2 mode=3 } downstream={ cbs=$o_cbs ebs=$o_cbs cir=$n_cir greenAction=1 yellowAction=1 redAction=2 mode=3 } } To any moment simply passes system restarting. There are questions: 1) Whether there is this problem in x64? 2) Whether Esti this problem in the freebsd-9 version (i386, x64)? 3) Or can eat any decision still? -- ? ?????????, ?????? ???? ??????? mailto:ukornev@city-link.info From rwmaillists at googlemail.com Mon Jun 25 11:26:18 2012 From: rwmaillists at googlemail.com (RW) Date: Mon Jun 25 11:26:26 2012 Subject: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues In-Reply-To: <20120625042118.1cc42ab2@vixen42.vulpes.vvelox.net> References: <20120625042118.1cc42ab2@vixen42.vulpes.vvelox.net> Message-ID: <20120625122612.6f704f9b@gumby.homeunix.com> On Mon, 25 Jun 2012 04:21:18 -0500 Zane C. B-H. wrote: > Howdy! > > Any one have any idea what is going on below? > > [root@shiela]/root# uname -a > FreeBSD shiela.vulpes.vvelox.net 8.3-PRERELEASE FreeBSD > 8.3-PRERELEASE #0: Sat Feb 25 04:55:35 CST 2012 > kitsune@shiela.vulpes.vvelox.net:/usr/obj/usr/src/sys/sheila amd64 > [root@shiela]/root# freebsd-update -r 9.0-RELEASE upgrade Looking up > update.FreeBSD.org mirrors... 3 mirrors found. Fetching public key > from update5.FreeBSD.org... failed. Fetching public key from > update4.FreeBSD.org... failed. Fetching public key from > update3.FreeBSD.org... failed. No mirrors remaining, giving up. Exit 1 > [root@shiela]/root# freebsd-update doesn't support development branches, you have to go from security branch to security branch. From kayasaman at gmail.com Mon Jun 25 11:28:58 2012 From: kayasaman at gmail.com (Kaya Saman) Date: Mon Jun 25 11:29:05 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: <1340623049263-5721678.post@n5.nabble.com> References: <4FE7A9D9.9000508@hdk5.net> <20120624205845.159470b6@europa> <1340623049263-5721678.post@n5.nabble.com> Message-ID: On Mon, Jun 25, 2012 at 12:17 PM, Jakub Lach wrote: > In the next episode: > > Modern home video with Betamax and LaserDisc ;) > > -- > View this message in context: http://freebsd.1045724.n5.nabble.com/Omega-Zip-Drives-on-FreeBSD-8-tp5721532p5721678.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" What's wrong with VHS and Cassette Tape? VHS has superior resolution to HD because it's analog!! :-P :-P :-P From v.velox at vvelox.net Mon Jun 25 11:51:28 2012 From: v.velox at vvelox.net (Zane C. B-H.) Date: Mon Jun 25 11:51:35 2012 Subject: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues In-Reply-To: <20120625122612.6f704f9b@gumby.homeunix.com> References: <20120625042118.1cc42ab2@vixen42.vulpes.vvelox.net> <20120625122612.6f704f9b@gumby.homeunix.com> Message-ID: <20120625065345.56dcf2fd@vixen42.vulpes.vvelox.net> On Mon, 25 Jun 2012 12:26:12 +0100 RW wrote: > On Mon, 25 Jun 2012 04:21:18 -0500 > Zane C. B-H. wrote: > > > Howdy! > > > > Any one have any idea what is going on below? > > > > [root@shiela]/root# uname -a > > FreeBSD shiela.vulpes.vvelox.net 8.3-PRERELEASE FreeBSD > > 8.3-PRERELEASE #0: Sat Feb 25 04:55:35 CST 2012 > > kitsune@shiela.vulpes.vvelox.net:/usr/obj/usr/src/sys/sheila > > amd64 [root@shiela]/root# freebsd-update -r 9.0-RELEASE upgrade > > Looking up update.FreeBSD.org mirrors... 3 mirrors found. > > Fetching public key from update5.FreeBSD.org... failed. Fetching > > public key from update4.FreeBSD.org... failed. Fetching public > > key from update3.FreeBSD.org... failed. No mirrors remaining, > > giving up. Exit 1 [root@shiela]/root# > > freebsd-update doesn't support development branches, you have to go > from security branch to security branch. I know it can't be used to update to stable, but I've not encountered any thing in the documentation saying it can't be used to update from stable it to a release. From jb.1234abcd at gmail.com Mon Jun 25 12:40:12 2012 From: jb.1234abcd at gmail.com (jb) Date: Mon Jun 25 12:40:19 2012 Subject: CLANG vs GCC tests of fortran/f2c program References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> <20120621230302.GB575@hemlock.hydra> <1340574699711-5721495.post@n5.nabble.com> Message-ID: Jakub Lach mailplus.pl> writes: > > > I am more concerned about an aspect of the language the clang tools are > > written in, namely the use of object-oriented paradigm of c++ (it is a > > phony > > paradigm, one that does not exist in nature or reality, which explains > > the failure rate of C++ OO projects historically and current usage > > decline). > > I sense that the relative slowness of generated code has to do with it. > > Perhaps > > some other attributes of that code's quality too, even if not now, then in > > the > > future. > > Yes, this is one thing really puzzled me. Maybe it's related to Apple's > affinity > to Objective-C? Well, let me add some more and important facts to this discussion. If it caused so much emotions and name calling, then at least everybody should know what this is all about. Clang is a compiler front-end for C, C++, Objective-C and Objective-C++ programming languages and it uses LLVM as its back-end. Both, clang and LLVM, are written in C++. LLVM provides middle layers of compilation process and is e.g. responsible for optimization of intermediate code, which next will be converted and linked into machine-dependent assembly code. Based on this source http://en.wikipedia.org/wiki/Objective-C the Objective-C was influenced by Smalltalk's object-oriented programming model, while C++ by Simula's. This has implications for characteristics and performance of Objective-C, for example: - there are quite few important language elements in C++ that are not in Objective-C, like namespaces, multiple inheritance, operator overloading, etc - "... Objective-C applications tend to be larger than similar C or C++ applications because Objective-C dynamic typing does not allow methods to be stripped or inlined." - "... Because Objective-C uses dynamic runtime typing and because all method calls are function calls (or, in some cases, syscalls), many common performance optimizations cannot be applied to Objective-C methods (for example: inlining, constant propagation, interprocedural optimizations, and scalar replacement of aggregates). This limits the performance of Objective-C abstractions relative to similar abstractions in languages such as C++ where such optimizations are possible." - "... Objective-C is decidedly geared toward run-time decisions while C++ is geared toward compile-time decisions. The tension between dynamic and static programming involves many of the classic trade-offs in programming: dynamic features add flexibility, static features add speed and type checking." My Note: please keep in mind we are talking about language used for writing clang, a compiler tool. So, Objective-C has disadvantage with regard to size od generated code, performance, and optimization as compared to C++. But both share OO (object-oriented) paradigm, which many pros consider synthetic, or pulled out of thin air if you prefer, with negative effects on devs mental health, design, and resulting code quality. I hope I got all facts right -:) It seems to me that switching to clang was a correct strategic decision for reasons linked to GPLv3 license as described in my prior post and by other thread posters. But there seems to be some price paid related to "written in C++" facts described by me in both posts, which may make some people come to a conclusion that the decision was based more on a political factor (Apple) than on technical merits. Because I did not participate or followed FreeBSD's internal process, I can not express any opinion to what extend both factors were considered and discussed. OK. Judge for yourselves, and have fun. jb From guru at unixarea.de Mon Jun 25 12:47:16 2012 From: guru at unixarea.de (Matthias Apitz) Date: Mon Jun 25 12:47:25 2012 Subject: printing jpeg slides to a Postscript printer In-Reply-To: <20120625053713.5bd88e7d@vixen42.vulpes.vvelox.net> References: <20120625091535.GA1324@tiny.Sisis.de> <20120625053713.5bd88e7d@vixen42.vulpes.vvelox.net> Message-ID: <20120625124710.GA1827@tiny.Sisis.de> El d?a Monday, June 25, 2012 a las 05:37:13AM -0500, Zane C. B-H. escribi?: > > Postscript printer (CUPS controlled), on each page 2 slides. I know > > I could make some presentation from them or wrap them into a HTML > > file, but I was thinking there must be some easy way with some tool > > from our ports. > > > > Any idea? Thanks in advance > > I would just load them up in print them in Libreoffice and print them > once I was happy with how the page layout looked. I did this with OpenOffice 3.x and you have - 10 times to Inser Picture - 10 times pic-up the correct picture from the file dialog - 10 times to move the picture to the correct place in the page - 10 times to scale the image so that two fit and adjust them a bit - 4 time Create new page it took me something like half hour to get it printed; this is not even an option if you do it only once :-( matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From wojtek at wojtek.tensor.gdynia.pl Mon Jun 25 12:52:24 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 25 12:52:33 2012 Subject: printing jpeg slides to a Postscript printer In-Reply-To: <20120625124710.GA1827@tiny.Sisis.de> References: <20120625091535.GA1324@tiny.Sisis.de> <20120625053713.5bd88e7d@vixen42.vulpes.vvelox.net> <20120625124710.GA1827@tiny.Sisis.de> Message-ID: > I did this with OpenOffice 3.x and you have > - 10 times to Inser Picture > - 10 times pic-up the correct picture from the file dialog > - 10 times to move the picture to the correct place in the page > - 10 times to scale the image so that two fit and adjust them a bit > - 4 time Create new page > > it took me something like half hour to get it printed; this is not even > an option if you do it only once :-( > simplest case: 1)convert them in batch to postscript. 2)place it with mpage, many on one page. there are probably other simple solutions. more complex - 1 and use TeX :) From wojtek at wojtek.tensor.gdynia.pl Mon Jun 25 12:56:13 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 25 12:56:24 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> <20120621230302.GB575@hemlock.hydra> <1340574699711-5721495.post@n5.nabble.com> Message-ID: > programming involves many of the classic trade-offs in programming: dynamic > features add flexibility, static features add speed and type checking." > My Note: please keep in mind we are talking about language used for writing > clang, a compiler tool. > > So, Objective-C has disadvantage with regard to size od generated code, > performance, and optimization as compared to C++. > > But both share OO (object-oriented) paradigm, which many pros consider > synthetic, or pulled out of thin air if you prefer, with negative effects on > devs mental health, design, and resulting code quality. > > I hope I got all facts right -:) most probably, but what does it mean if clang have multiple layers, frontend, LLVM backend, etc. etc. for normal user who just needs C compiler. It doesn't matter how it do this but what are the results. > It seems to me that switching to clang was a correct strategic decision for > reasons linked to GPLv3 license as described in my prior post and by other > thread posters. You didn't wrote anything new here. > But there seems to be some price paid related to "written in C++" facts > described by me in both posts, which may make some people come to a conclusion > that the decision was based more on a political factor (Apple) than on > technical merits. It doesn't really care how clang is written but how it works. And it was political decision because compiler itself, on GPLv3 licence, does not block anyhow distributing it's output - binaries. C++ libraries can be limiting, but... wasn't replaced. If it would be truly about removing GPLv3 code that hurts, replacing libstdc++ would be first thing to do. For now we have removed GPL code that doesn't hurt From vince at unsane.co.uk Mon Jun 25 13:02:40 2012 From: vince at unsane.co.uk (Vincent Hoffman) Date: Mon Jun 25 13:02:49 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> <20120621230302.GB575@hemlock.hydra> <1340574699711-5721495.post@n5.nabble.com> Message-ID: <4FE8616D.2030002@unsane.co.uk> On 25/06/2012 13:56, Wojciech Puchar wrote: > > C++ libraries can be limiting, but... wasn't replaced. > > If it would be truly about removing GPLv3 code that hurts, replacing > libstdc++ would be first thing to do. I assume you mean like the new libc++? http://wiki.freebsd.org/NewC%2B%2BStack > > For now we have removed GPL code that doesn't hurt > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Mon Jun 25 13:05:29 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 25 13:05:37 2012 Subject: CLANG vs GCC tests of fortran/f2c program In-Reply-To: <4FE8616D.2030002@unsane.co.uk> References: <4FCF9333.70201@speakeasy.org> <402199FE-380B-41B6-866B-7D5D66C457D5@lpthe.jussieu.fr> <26.30.12873.06EE2EF4@smtp02.insight.synacor.com> <20120621230302.GB575@hemlock.hydra> <1340574699711-5721495.post@n5.nabble.com> <4FE8616D.2030002@unsane.co.uk> Message-ID: >> >> If it would be truly about removing GPLv3 code that hurts, replacing >> libstdc++ would be first thing to do. > I assume you mean like the new libc++? > http://wiki.freebsd.org/NewC%2B%2BStack yes. this is actually GREAT MOVE! even if it's slower, object oriented languages are not about speed anyway. This should be done first, not compiler. Compiler - only after actually better would exist. From rwmaillists at googlemail.com Mon Jun 25 13:12:41 2012 From: rwmaillists at googlemail.com (RW) Date: Mon Jun 25 13:12:48 2012 Subject: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues In-Reply-To: <20120625065345.56dcf2fd@vixen42.vulpes.vvelox.net> References: <20120625042118.1cc42ab2@vixen42.vulpes.vvelox.net> <20120625122612.6f704f9b@gumby.homeunix.com> <20120625065345.56dcf2fd@vixen42.vulpes.vvelox.net> Message-ID: <20120625141236.3eb42e26@gumby.homeunix.com> On Mon, 25 Jun 2012 06:53:45 -0500 Zane C. B-H. wrote: > On Mon, 25 Jun 2012 12:26:12 +0100 > RW wrote: > > > freebsd-update doesn't support development branches, you have to go > > from security branch to security branch. > > I know it can't be used to update to stable, but I've not encountered > any thing in the documentation saying it can't be used to update from > stable it to a release. > From the man page: "... the FreeBSD Security Team only builds updates for releases shipped in binary form by the FreeBSD Release Engineering Team" From guru at unixarea.de Mon Jun 25 13:14:40 2012 From: guru at unixarea.de (Matthias Apitz) Date: Mon Jun 25 13:14:47 2012 Subject: printing jpeg slides to a Postscript printer In-Reply-To: References: <20120625091535.GA1324@tiny.Sisis.de> <20120625053713.5bd88e7d@vixen42.vulpes.vvelox.net> <20120625124710.GA1827@tiny.Sisis.de> Message-ID: <20120625131432.GA1872@tiny.Sisis.de> El d?a Monday, June 25, 2012 a las 02:52:24PM +0200, Wojciech Puchar escribi?: > simplest case: > > 1)convert them in batch to postscript. I did this already with: for i in *.jpg do ; convert $i $i.ps ; done this works fin; > > 2)place it with mpage, many on one page. and now a mpage -bA4 -4 *.ps > /tmp/all.ps gives a 10 page PS file, each page divided by fine lines into 4 sub pages; but on any of the 10 pages one of the slides is put into the upper left sub page area; what I'm missing? the man page of mpage says "... with the text reduced in size so that several pages appear on one sheet of paper..."; it seems it does work with images, or? matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From wojtek at wojtek.tensor.gdynia.pl Mon Jun 25 13:23:37 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 25 13:23:45 2012 Subject: printing jpeg slides to a Postscript printer In-Reply-To: <20120625131432.GA1872@tiny.Sisis.de> References: <20120625091535.GA1324@tiny.Sisis.de> <20120625053713.5bd88e7d@vixen42.vulpes.vvelox.net> <20120625124710.GA1827@tiny.Sisis.de> <20120625131432.GA1872@tiny.Sisis.de> Message-ID: On Mon, 25 Jun 2012, Matthias Apitz wrote: > El d?a Monday, June 25, 2012 a las 02:52:24PM +0200, Wojciech Puchar escribi?: > >> simplest case: >> >> 1)convert them in batch to postscript. > > I did this already with: > > for i in *.jpg do ; convert $i $i.ps ; done > > this works fin; > >> >> 2)place it with mpage, many on one page. > > and now a > > mpage -bA4 -4 *.ps > /tmp/all.ps > > gives a 10 page PS file, each page divided by fine lines into 4 sub > pages; but on any of the 10 pages one of the slides is put into the > upper left sub page area; what I'm missing? -c From v.velox at vvelox.net Mon Jun 25 13:33:14 2012 From: v.velox at vvelox.net (Zane C. B-H.) Date: Mon Jun 25 13:33:21 2012 Subject: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues In-Reply-To: <20120625141236.3eb42e26@gumby.homeunix.com> References: <20120625042118.1cc42ab2@vixen42.vulpes.vvelox.net> <20120625122612.6f704f9b@gumby.homeunix.com> <20120625065345.56dcf2fd@vixen42.vulpes.vvelox.net> <20120625141236.3eb42e26@gumby.homeunix.com> Message-ID: <20120625083532.697bcf43@vixen42.vulpes.vvelox.net> On Mon, 25 Jun 2012 14:12:36 +0100 RW wrote: > On Mon, 25 Jun 2012 06:53:45 -0500 > Zane C. B-H. wrote: > > > On Mon, 25 Jun 2012 12:26:12 +0100 > > RW wrote: > > > > > > freebsd-update doesn't support development branches, you have > > > to go from security branch to security branch. > > > > I know it can't be used to update to stable, but I've not > > encountered any thing in the documentation saying it can't be > > used to update from stable it to a release. > > > > From the man page: > > "... the FreeBSD Security Team only builds updates for releases > shipped in binary form by the FreeBSD Release Engineering Team" Right, that is exactly what I was referring to. 9.0-RELEASE is one of those as far as I know. It is ambiguous as to if that means being upgraded from or to and the error message given does not indicate what is being upgraded from is not supported, so I am a bit confused on if this is to be expected or not. From aboyer at averesystems.com Mon Jun 25 13:37:55 2012 From: aboyer at averesystems.com (Andrew Boyer) Date: Mon Jun 25 13:38:03 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: You can probably turn hw.ixgbe.num_queues down to 2 or 4 and cut your mbuf consumption dramatically without noticing any loss of performance. -A On Jun 22, 2012, at 6:19 PM, Rick Miller wrote: > On Fri, Jun 22, 2012 at 5:21 PM, Jack Vogel wrote: >> Increase your system mbuf pool size, you do not want that failure to happen. > > Thanks, Jack. I saw a thread where you discussed this. You are > referring to kern.ipc.nmbclusters, correct? > > Should I also adjust the following? > > hw.ixgbe.rxd > hw.ixgbe.txd > hw.ixgbe.num_queues > hw.intr_storm_threshold -------------------------------------------------- Andrew Boyer aboyer@averesystems.com From vmiller at hostileadmin.com Mon Jun 25 14:49:37 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Mon Jun 25 14:49:50 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: On Fri, Jun 22, 2012 at 7:23 PM, Jack Vogel wrote: > Would probably be good to take care of the storm threshold if you haven't, > set it to 0 > and you disable the check, that's what we do internally. As for the queues > and number > of descriptors, that's kind of up to you, different work loads and > environments work best > with different setups. > > Hopefully, when you get rid of the rx ring setup failure you will get things > working. Thanks, Jack. I did get rid of the rx ring failure. Link status still shows no carrier. I think everything looks right from the host's perspective. -- Take care Rick Miller From wblock at wonkity.com Mon Jun 25 15:43:36 2012 From: wblock at wonkity.com (Warren Block) Date: Mon Jun 25 15:43:43 2012 Subject: OT: Robotics or embedded or hardware programming... what is this called? In-Reply-To: <20120625152340.X46641@sola.nimnet.asn.au> References: <20120621083945.E87771065694@hub.freebsd.org> <20120622153224.I46641@sola.nimnet.asn.au> <20120625152340.X46641@sola.nimnet.asn.au> Message-ID: On Mon, 25 Jun 2012, Ian Smith wrote: > On Fri, 22 Jun 2012 06:47:48 -0600 (MDT), Warren Block wrote: > > On Fri, 22 Jun 2012, Ian Smith wrote: > > > > Well, there is devel/arduino. It's not emdedded Linux, but an IDE for > > writing and downloading code. The Arduino is a small embedded controller > > based on the Atmel AVR microcontrollers. They are quite powerful, easy to > > program, and accessible for experimenters. You can skip the Arduino > > environment if you like, using the same lower-level tools like avr-gcc > > directly. And the Arduino board can be used as a programmer, downloading > > code to plain AVR chips and avoiding the need for more Arduino boards. Talk > > about the Arduino on FreeBSD is generally on the freebsd-embedded mailing > > list. > > Thanks Warren. I got the wrong idea that Arduino ran an embedded Linux > from a friend, a Linux-using Electrical Engineer, but not a programmer. > I'd also (too) briefly glanced at www.arduino.cc and noted Windows, Mac > and Linux references, and Linux binaries, but had no idea you had ported > the GUI. Could you perhaps try pushing the FreeBSD port upstream to > Arduino, so people can find out that it exists from there? There was an updated entry mentioning the port in the Playground, which now seems to have reverted back to the old not-yet-working procedure for FreeBSD 6.1. And I see that 1.0.1 is out, so now the port needs to be updated. There doesn't appear to be a way for me to edit that. I can send mail to the site about mentioning the FreeBSD port on the downloads page. Or you can, if you like. Something I forgot to mention earlier is that it may now be possible to buy Arduinos or compatibles at Radio Shack stores in the US. From johnl at iecc.com Mon Jun 25 15:47:43 2012 From: johnl at iecc.com (John Levine) Date: Mon Jun 25 15:47:50 2012 Subject: portupgrade -- is there a way to only build and update ports that actually NEED it? In-Reply-To: Message-ID: <20120625154719.97935.qmail@joyce.lan> >You would think there's an option to portupgrade that says "don't upgrade >every single package I've got, but if somewhere in the dependency chain I >need a newer version of a thing, then do it." The problem is that the versioning in the ports system doesn't distinguish between upgrades that present interface changes and upgrades that are just nits, new features, or minor bug fixes. Port makefiles can contain version dependency info, e.g., this port needs at least version N.M of package X, but few of them do. This has bitten me in the past with PHP and pcre. In fact, PHP5 won't work with old versions of pcre, but the PHP port maintainer refuses to put in version dependency info, because he thinks that every port should be up to date all the time. R's, John From DStaal at usa.net Mon Jun 25 16:48:31 2012 From: DStaal at usa.net (Daniel Staal) Date: Mon Jun 25 16:48:38 2012 Subject: portupgrade -- is there a way to only build and update ports that actually NEED it? In-Reply-To: <20120625154719.97935.qmail@joyce.lan> References: <20120625154719.97935.qmail@joyce.lan> Message-ID: <618a9c5055f8952c55e0004eac6b3aea@mail.magehandbook.com> On 2012-06-25 11:47, John Levine wrote: >>You would think there's an option to portupgrade that says "don't >> upgrade >>every single package I've got, but if somewhere in the dependency >> chain I >>need a newer version of a thing, then do it." > > The problem is that the versioning in the ports system doesn't > distinguish between upgrades that present interface changes and > upgrades that are just nits, new features, or minor bug fixes. > Port makefiles can contain version dependency info, e.g., this > port needs at least version N.M of package X, but few of them do. > > This has bitten me in the past with PHP and pcre. In fact, PHP5 > won't work with old versions of pcre, but the PHP port maintainer > refuses to put in version dependency info, because he thinks that > every port should be up to date all the time. There's also the issue of things like Perl modules - most of them will just work, even with a newer version of perl, but a few have sections that need to be compiled against perl itself. So if you update the Perl port, you need to at least recompile those. (I'm simplifying a bit.) But there is no good way to mark in general which ports will 'just work' with an updated dependency, and which care what version of the dependency was installed when they were compiled. This is separate from versioned dependencies: Again to use Perl modules as an example, DBI for instance is will work with any version of perl since 5.8 or so - but if you change which version of perl you are using you'll need to recompile and reinstall. Rebuilding everything is a bit overkill, but it beats missing one that needed to be rebuilt. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From eam1edward at gmail.com Mon Jun 25 17:02:33 2012 From: eam1edward at gmail.com (Edward M) Date: Mon Jun 25 17:02:40 2012 Subject: Is ZFS production ready? In-Reply-To: <4fe87cf3.F2Mc5/p9W79RTX2m%perryh@pluto.rain.com> References: <20120624001622.17052.qmail@joyce.lan> <4FE6602C.2050800@gmail.com> <4FE79800.8000200@gmail.com> <4FE7AF07.6020304@gmail.com> <4fe87cf3.F2Mc5/p9W79RTX2m%perryh@pluto.rain.com> Message-ID: <4FE89AD5.6080000@gmail.com> On 06/25/2012 08:00 AM, perryh@pluto.rain.com wrote: > Edward M wrote: > >> That reply was not meant for you, so why do you care? > If it wasn't meant for everyone on the list, > why was it sent to the list? > by accident. still learning how to use email client:-[ . once i noticed my email was also to this list. i was hoping subscribers would notice it was by mistake. From noc at hdk5.net Mon Jun 25 18:15:09 2012 From: noc at hdk5.net (Al Plant) Date: Mon Jun 25 18:15:16 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: References: Message-ID: <4FE8AAA9.30504@hdk5.net> Thomas Mueller wrote: > from Al Plant : > >> Thanks.... > >> Of the 4 I had to play with one literally fell apart one scsi card is >> throwing errors. The one I finally got working is an old IDE on a >> FreeBSD 10 box that I experiment with. This should work fine to archive >> the Omega disks we found. > >> Again thanks for heading me on the right path. > >> ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > > What fell apart? Was it the Iomega Zip drive, the disk, or the scsi card? > > I assume Omega is a typo or memory lapse for what should be Iomega? > > IDE has given way on modern motherboards in favor of SATA, but current OSes would still have IDE/ATAPI support. > > You might still be advised to backup or transfer the data on Zip disks to CDs, DVDs or USB sticks or hard drives. > > Remember, Zip disks are just glorified floppies. > > Tom > > ############## Aloha, Iomega yes. Button on front of one unit that released the disks played fell inside when pushed and the plastic cover fell off the top. Dried out from age probably. We are going to put the diles on to flash drive and then onto cd's and DVD's as many files are .jpg or artwork video etc. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From cjr at cruwe.de Mon Jun 25 18:23:11 2012 From: cjr at cruwe.de (Christopher J. Ruwe) Date: Mon Jun 25 18:23:19 2012 Subject: changing md5 hashed for sha In-Reply-To: <444nq0mjjd.fsf@be-well.ilk.org> References: <20120623153710.36e7446f@dijkstra.cruwe.de> <444nq0mjjd.fsf@be-well.ilk.org> Message-ID: <20120625202249.1d872edf@dijkstra.cruwe.de> On Sun, 24 Jun 2012 18:28:38 -0400 Lowell Gilbert wrote: > "Christopher J. Ruwe" writes: > > > For setting the dafault hash used to hash /etc/master.passwd, it has > > been recommended changing md5 for something more secure in the > > sense of being more expensive to crack. > > > > The handbook describes the procedure used in > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html. > > Allegedly, hashes which were hashed with one of the sha-functions > > begin with the character $6$. > > > > Afer having changed my /etc/login.conf accordingly and having reset > > the passwords, the given there is not md5 anymore (I have tried > > with md5), but does not begin with the character $6$, but, as md5, > > with $1$, which is supposed to be md5-hashed. > > I'm not following. Are you saying that you are resetting the passwords > after setting login.conf, but new passwords aren't being created with > the new hash type? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Yes, you are following correctly that the hash mechanism did not appear to have changed. It was OSI-8 error on my part, as Mike Tancsa (one message later) helped me to understand. Cheers, -- Christopher J. Ruwe TZ: GMT + 2h -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120625/8717b402/signature.pgp From noc at hdk5.net Mon Jun 25 18:25:49 2012 From: noc at hdk5.net (Al Plant) Date: Mon Jun 25 18:25:56 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: References: <4FE7A9D9.9000508@hdk5.net> <20120624205845.159470b6@europa> Message-ID: <4FE8AD2C.10507@hdk5.net> Wojciech Puchar wrote: >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> >> I am amazed anyone still has a working Zip drive! > > I have 250MB zipdrive and 100MB disks. all works properly over USB > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Aloha Woj, How did you get the drive to work with USB? By a hardware adapter? I read there is a USB to ide on the market. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From cjr at cruwe.de Mon Jun 25 18:53:27 2012 From: cjr at cruwe.de (Christopher J. Ruwe) Date: Mon Jun 25 18:53:35 2012 Subject: changing md5 hashed for sha In-Reply-To: <4FE79D5F.9020402@sentex.net> References: <20120623153710.36e7446f@dijkstra.cruwe.de> <4FE79D5F.9020402@sentex.net> Message-ID: <20120625205311.492c1039@dijkstra.cruwe.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 oops ... forwarding to the list also - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 24 Jun 2012 19:06:07 -0400 Mike Tancsa wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 6/23/2012 9:37 AM, Christopher J. Ruwe wrote: > > For setting the dafault hash used to hash /etc/master.passwd, it > > has been recommended changing md5 for something more secure in the > > sense of being more expensive to crack. > > > > The handbook describes the procedure used in > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html. > > > > > > > Allegedly, hashes which were hashed with one of the sha-functions > begin > > with the character $6$. > > > > Afer having changed my /etc/login.conf accordingly and having > > reset the passwords, the given there is not md5 anymore (I have > > tried with md5), but does not begin with the character $6$, but, as > > md5, with $1$, which is supposed to be md5-hashed. > > > > I fear I am a bit dense here, what am I getting wrong? > > Are you sure you ran > cap_mkdb /etc/login.conf > after adjusting the values in login.conf ? > > Also, this will only work on relatively recent versions of FreeBSD. > > ---Mike > > > - -- > - ------------------- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, mike@sentex.net > Providing Internet services since 1994 www.sentex.net > Cambridge, Ontario Canada http://www.tancsa.com/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.14 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJP551fAAoJEJXHwM2kc8rXS34H/j+uxWq8Pa9j0iXpehObx2iY > LeeCZx7YbSv9AwGVHy/gTRtYP1uStBNn79oKV0ANSyjOT3F7l1MuygfJAqfXIKDm > WdN4KX2D3tpAjVMdce1zX2rSy4OtXLYXpBXTiGmP2d/erAEtE9B8gJ8GQWDh0gWz > 14CkQyefcF2YvmepSj3+9P69EzjlEm6vDMPyY/nrMlJcT8+ujtZX325+kQzQiiFX > FFasbqekazHCUnKGZZY9arY01AxPKg5e2PXFZPQf3qQy3jHqOupnM3ei3D39O9aV > gqJ/k2XDPjZYqAIy0gyPi99q4fCueYQFQrm2tyeTkV6+OxM8kdD5czx/FvySiG8= > =FVSP > -----END PGP SIGNATURE----- Ahhh .... I am sure I did not run cap_mkdb. Didn't say so in the relevant section of the handbook and I was to lazy to thooughly read the manpage. Thanks, I have the correct hashes now. Cheers, - - -- Christopher TZ: GMT + 2h - -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJP6KvdAAoJEJTIKW/o3iwUATEQAO0tDflkfluM4wTiUvhFvN31 PLEZKGcOjDfVnXaIqRuu5D1pPWc532xeST2H3mLJVFktjatrx/LbEy7O5w3diB1J zMM/SdiiSaIGyhSdWwTEgsGpd1jhG31RWGWtVLFzNMvfBpk/peiAbOwBcYqnKw85 zJOfDFLFcAkdP9jmiXF16iKCYcANK9R+2l0mCJ4qEdV6iIn8KAtrNxzS4i0ICzZB jBPO+bVbNkU3S7U/EXm449EvOFk+tVLxZcny3hyYWyY9ccH9Z7kyXrPRrb7cspHp iAKmWsJnntAlp7ogFYdjdOvbCeKfgtCGBnj8K9v7XYEs/KjUmschXYeIf4STsDL2 d7dLOMYz2fqYrH9toM0AvEPJuJR6cXm8XmLco7eBd2tjhdocSQ4t5nQXO/EhEGUs ESJ+ibcGtpmbad8vY0z88AIUeyrq1pQ9Ve+ceu0uQ63UTnZb3Zfu8f3PsdtCzV/2 jDYmmB1f9gjPp/NEZXPlQT7r1fTlw2IDEmU/JJEghBUIiTVuWtOvkCqG9ErYIdJK CWXV7slHlQ0d0ssCjL6wukTKpL0lS03YsvSYgoDee1h9fhLqaYpzhr+rduzxS79z q8vyaz/SRUlebTcHRZMSW9+FA/eJ3NHEv6y+d0w08OrhqmOvOxpo1dKEBdWo/JTN qP89RAUQLMfsp5NgU61o =QvC/ - -----END PGP SIGNATURE----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJP6LOeAAoJEJTIKW/o3iwUXE4QANZl/NvWTqumJJdh2p3aDUKd F1jCYfXl7d1GI/2dxsMVfcSWqGnx6WL8wzQUKipHAfCDtILhEv+2XRQ2zLM+Snbn qJz3D3Qb1ctSQdXlW5Q5bpxWxiG8+oTmXkEVxfZAkWB/RVxnMGT9r7OA6zmy0gV8 XY4zBYuqnYv4jhXj3FYeW0s5zUEqx8Hj71ymEd5p0Ssaai4di6BqWHcEEOi0hbN5 jJvs9TUC0O9Wz2jcxkquECXX+H6aneLThdITOHJ+U4LO53UXq4Ol6sbLWF0WEGNC vHQGS235NvFo04rvqOeZtZUQt/OffOxovfO7IBwcT+KLIu8WTbOqRI2hosD0r2sl 2XogCK9VU+yjZVj3m4Te86dcHjt2Swqi/z1pgLui0XJBxJ4G2ZIqNR4e2LKWScXl WvdIGoZtpsFgHlG/CcwDYLqg4tIHtRcyDhf5/XE2/Gar0q+o10k4NeRRQY891rVp SkqSB1Bum1k0UOsCJ/WSbItY3MVHDcQ0YHav7J9I2XUk9DDW6W8AlIW6kpbo5tDR vZOMBMwnDR1D8NKhJDW3Ac+gkbm6iXGUroeLQv0EfP6j9lnFDPd6tUvNg+mZzTXZ pIhIQs93+Ksuhow3//h4AuuerE1xqGY6zzKxujrvEJ+4jUvu/8a/FA20nMqITYsh rR8kLAbebAy4Lat+72n4 =P3wE -----END PGP SIGNATURE----- From walterhurry at gmail.com Mon Jun 25 19:13:39 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Mon Jun 25 19:13:47 2012 Subject: Xorg listening on the WAN? Message-ID: FreeBSD 9.0-RELEASE I think Xorg is listening on external addresses: $ sockstat -46 |grep Xorg root Xorg 1573 1 tcp6 *:6000 *:* root Xorg 1573 3 tcp4 *:6000 *:* $ netstat -a|grep x11 tcp4 0 0 *.x11 *.* LISTEN tcp6 0 0 *.x11 *.* LISTEN I'm new to FreeBSD, but if I interpret this correctly, x11 is listening for connections on port 6000 for connections from any IPv4 or IPv6 address. I don't think I'm in any immediate danger, as I am behind a router which will block incoming connection attempts, which (virtually) all seem to be on the http port (80) anyway. But it would give me a warm fuzzy feeling to stop x11 listening externally at all - I don't think I need it. How can I go about that please? In case it makes a difference, I am using XDM with standard LXDE. I do not use startx to initiate my sessions. Thanks. From guru at unixarea.de Mon Jun 25 19:23:03 2012 From: guru at unixarea.de (Matthias Apitz) Date: Mon Jun 25 19:23:12 2012 Subject: Xorg listening on the WAN? In-Reply-To: References: Message-ID: <20120625192257.GA1464@tiny.Sisis.de> El d?a Monday, June 25, 2012 a las 06:58:25PM +0000, Walter Hurry escribi?: > $ netstat -a|grep x11 > tcp4 0 0 *.x11 *.* LISTEN > tcp6 0 0 *.x11 *.* LISTEN > > I'm new to FreeBSD, but if I interpret this correctly, x11 is listening > for connections on port 6000 for connections from any IPv4 or IPv6 > address. > > I don't think I'm in any immediate danger, as I am behind a router which > will block incoming connection attempts, which (virtually) all seem to be > on the http port (80) anyway. > > But it would give me a warm fuzzy feeling to stop x11 listening > externally at all - I don't think I need it. How can I go about that > please? $ man Xorg | col -b | fgrep -- -nolisten HIH matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From walterhurry at gmail.com Mon Jun 25 19:51:23 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Mon Jun 25 19:51:35 2012 Subject: Xorg listening on the WAN? References: <20120625192257.GA1464@tiny.Sisis.de> Message-ID: On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote: > $ man Xorg | col -b | fgrep -- -nolisten Thanks for the pointer. I'm probably being stupid here, and I should have mentioned that I had already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer is probably to put '-nolisten tcp' somewhere, but where? As far as I can see, XDM invokes /usr/local/lib/X11/xdm/Xsession, which seems to do little more than call $HOME/.xsession. This last runs /usr/ local/bin/startlxde, which in turn invokes /usr/local/bin/lxsession (a binary). I have looked at 'man lxsession' and found it of little help. So I'm rather lost. Can you amplify a little? From guru at unixarea.de Mon Jun 25 19:58:51 2012 From: guru at unixarea.de (Matthias Apitz) Date: Mon Jun 25 19:59:00 2012 Subject: Xorg listening on the WAN? In-Reply-To: References: <20120625192257.GA1464@tiny.Sisis.de> Message-ID: <20120625195836.GA1678@tiny.Sisis.de> El d?a Monday, June 25, 2012 a las 07:51:02PM +0000, Walter Hurry escribi?: > On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote: > > > $ man Xorg | col -b | fgrep -- -nolisten > > Thanks for the pointer. > > I'm probably being stupid here, and I should have mentioned that I had > already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer > is probably to put '-nolisten tcp' somewhere, but where? $ cat ~/.xserverrc exec X -nolisten tcp -retro HIH matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From rsmith at xs4all.nl Mon Jun 25 20:00:50 2012 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Jun 25 20:00:59 2012 Subject: printing jpeg slides to a Postscript printer In-Reply-To: <20120625091535.GA1324@tiny.Sisis.de> References: <20120625091535.GA1324@tiny.Sisis.de> Message-ID: <20120625200017.GA9115@slackbox.erewhon.net> On Mon, Jun 25, 2012 at 11:15:36AM +0200, Matthias Apitz wrote: > > Hello, > > I have 10 jpeg slides (screen shoots) and I want to print them to a > Postscript printer (CUPS controlled), on each page 2 slides. I know I > could make some presentation from them or wrap them into a HTML file, > but I was thinking there must be some easy way with some tool from > our ports. For converting to postscript: graphics/jpeg2ps-a4 or graphics/jpeg2ps-letter. Multiple page on one sheet with psnup from print/psutils-a4 or print/psutils-letter. If you are already using it, LaTeX would also do the trick quite nicely. Especially with the Beamer class for nicely styled and formatted slides. [http://en.wikipedia.org/wiki/Beamer_%28LaTeX%29] Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120625/a932f532/attachment.pgp From guru at unixarea.de Mon Jun 25 20:05:57 2012 From: guru at unixarea.de (Matthias Apitz) Date: Mon Jun 25 20:06:04 2012 Subject: Xorg listening on the WAN? In-Reply-To: <20120625195836.GA1678@tiny.Sisis.de> References: <20120625192257.GA1464@tiny.Sisis.de> <20120625195836.GA1678@tiny.Sisis.de> Message-ID: <20120625200549.GA1733@tiny.Sisis.de> El d?a Monday, June 25, 2012 a las 09:58:37PM +0200, Matthias Apitz escribi?: > El d?a Monday, June 25, 2012 a las 07:51:02PM +0000, Walter Hurry escribi?: > > > On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote: > > > > > $ man Xorg | col -b | fgrep -- -nolisten > > > > Thanks for the pointer. > > > > I'm probably being stupid here, and I should have mentioned that I had > > already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer > > is probably to put '-nolisten tcp' somewhere, but where? > > $ cat ~/.xserverrc > exec X -nolisten tcp -retro sorry, it took me some time to remember where the pointer is: $ man xinit | col -b | fgrep xserverrc matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From cjr at cruwe.de Mon Jun 25 20:17:23 2012 From: cjr at cruwe.de (Christopher J. Ruwe) Date: Mon Jun 25 20:17:30 2012 Subject: IPNAT seems to affect network performance? of jails on lo0 (10.0.0.0/24) - why? Message-ID: <20120625221711.7aec82b8@dijkstra.cruwe.de> On a KVM virtualized host, I run FreeBSD 8.3-RELEASE-p3 and some qjails, 8.3-RELEASE. The jails are connected all via lo0 on 10.0.0.0. While by the large working as expected, I have noticed one pecularity I have failed to pinpoint: When launching processes with some network interaction, like sshing into one of the jails from the platform or launching emacs, the command spends ages ( ~(1-2) minutes) idling? (nothing happens) before becoming interactive. For reasons unreleated, I have enabled NAT with ipf for the jails on 10.0.0.0/24 (to the external re0 IF and some IP) and, out of the blue, logging into the jails or starting emacs became snappy again. Why? Why does ipnatting jails which should be connected via the same lo0 on 10.0.0.0 have any impact? Don't get me wrong, I am not complaining and it solved an issue which gave me kind of headaches, but I would like to understand. Thanks and cheers, -- Christopher TZ: GMT + 2h -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120625/ec168527/signature.pgp From fbsd8 at a1poweruser.com Mon Jun 25 20:18:01 2012 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Mon Jun 25 20:18:08 2012 Subject: fetch error Message-ID: <4FE8C72F.4040908@a1poweruser.com> I think I messed up the fetch setting in the envelope. Running 9.0 and get this console msg. env: usr/bin/fetch: No such file or directory When I enter env command to show all values I see nothing about fetch. From emmakhaze at gmail.com Mon Jun 25 20:22:25 2012 From: emmakhaze at gmail.com (Emma Haze) Date: Mon Jun 25 20:22:32 2012 Subject: Broken link on your website In-Reply-To: References: Message-ID: Hi! Wanted to touch base real quick and see if you have had already looked into my suggested resource and decide if it's a good replacement for the broken link on your page? Let me know what you think! Emma On Sun, May 6, 2012 at 1:37 AM, Emma Haze wrote: > Hi There, > > Sorry, I'm not sure whether I've already contacted you about this, so I > apologize if I'm notifying you a second time. But I had noticed that you > have a broken link on your page at cybershade.us/freebsd/www/securitylinking to > http://www.shmoo.com/securecode/, so I wanted to inform you in case you > are not aware of this. And if you are still updating your website, I've > included a similar resource on Secure Programming that you can replace the > broken link with if you are interested. Thanks for maintaining a great site! > > Link: http://www.onlineitdegree.net/resources/secure-programming/ > > Best Regards, > Emma > > > > > > From walterhurry at gmail.com Mon Jun 25 20:33:35 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Mon Jun 25 20:33:43 2012 Subject: Xorg listening on the WAN? References: <20120625192257.GA1464@tiny.Sisis.de> <20120625195836.GA1678@tiny.Sisis.de> <20120625200549.GA1733@tiny.Sisis.de> Message-ID: On Mon, 25 Jun 2012 22:05:50 +0200, Matthias Apitz wrote: > El d?a Monday, June 25, 2012 a las 09:58:37PM +0200, Matthias Apitz > escribi?: > >> El d?a Monday, June 25, 2012 a las 07:51:02PM +0000, Walter Hurry >> escribi?: >> >> > On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote: >> > >> > > $ man Xorg | col -b | fgrep -- -nolisten >> > >> > Thanks for the pointer. >> > >> > I'm probably being stupid here, and I should have mentioned that I >> > had already tried 'man Xorg' and 'man Xsession'. I appreciate that >> > the answer is probably to put '-nolisten tcp' somewhere, but where? >> >> $ cat ~/.xserverrc exec X -nolisten tcp -retro > > sorry, it took me some time to remember where the pointer is: > > $ man xinit | col -b | fgrep xserverrc > Thanks again for your assistance. I didn't have a $HOME/.xserverrc, so I created one with your contents (permissions 744). It doesn't seem to have made any difference at all, though. After restart, I am still getting the same output from netstat and sockstat. So I'm still in the dark. From freebsd at edvax.de Mon Jun 25 20:52:34 2012 From: freebsd at edvax.de (Polytropon) Date: Mon Jun 25 20:52:41 2012 Subject: fetch error In-Reply-To: <4FE8C72F.4040908@a1poweruser.com> References: <4FE8C72F.4040908@a1poweruser.com> Message-ID: <20120625225226.7a5c88db.freebsd@edvax.de> On Mon, 25 Jun 2012 16:16:47 -0400, Fbsd8 wrote: > I think I messed up the fetch setting in the envelope. > > Running 9.0 and get this console msg. > > env: usr/bin/fetch: No such file or directory > > When I enter env command to show all values I see nothing about fetch. The "env" command is often used as a "bridge" to explicitely call commands where the actual location is not known or cannot be predicted, e. g. #!/usr/bin/env bash at the start of a bash script instead of #!/bin/bash Linuxism or when statically linked, as opposed to #!/usr/local/bin/bash default location on FreeBSD. In what operation do you receive the message? Maybe some typo in a shell script or Makefile? Examine closely: env: usr/bin/fetch: No such file or directory ^ The leading / is missing, because "usr/bin/fetch" would only exist when $CWD is /, otherwise not; "/usr/bin/fetch" should be correct. % which fetch /usr/bin/fetch ^ Here the correct path is provided. Maybe you ran into some script that calls fetch the "bridge" way improperly? Test: % env usr/bin/fetch env: usr/bin/fetch: No such file or directory And now properly: % env /usr/bin/fetch usage: fetch [-146AadFlMmnPpqRrsUv] ............ It seems that env is used here to "set environment and execute command"; see "man env" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From mueller23 at insightbb.com Mon Jun 25 21:05:46 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Mon Jun 25 21:05:54 2012 Subject: Omega Zip Drives on FreeBSD 8.* Message-ID: from Al Plant : > Aloha Woj, > How did you get the drive to work with USB? By a hardware adapter? I > read there is a USB to ide on the market. I remember specifically that Iomega produced USB Zip drives, though not when they first produced SCSI, ATAPI and parallel-port Zip drives. One problem with SCSI was so many different hardware interfaces in terms of number of holes/pins, meaning incompatibility. Tom From rwmaillists at googlemail.com Mon Jun 25 22:08:48 2012 From: rwmaillists at googlemail.com (RW) Date: Mon Jun 25 22:08:55 2012 Subject: portupgrade -- is there a way to only build and update ports that actually NEED it? In-Reply-To: References: Message-ID: <20120625230836.04d76f3b@gumby.homeunix.com> On Mon, 25 Jun 2012 00:53:50 -0700 (PDT) Dan Mahoney, System Admin wrote: > Hey there, > > I'm presently in the process of trying to do a portupgrade from > rt-3.8.8 to 3.8.13. By all estimations, this is a minor bump. > > Already, I've encountered several annoyances due to ABI changes, such > as the libtool2.4 fun. With normal portupgrade, this forces you to > go fix the dependent port. I don't know what you mean by that > Finally, I just applied -r, which should update all dependent > packages, but it seems to upgrade them unconditionally. That's because the revisions numbers will have been bumped, it's nothing to do with portupgrade. > Ergo, I've since built a new version of perl, a new verion of python, > rebuilt every perl module on the system, am presently rebuilding > apache22, and I'm sure the system will turn around and require me to > rebuild postgres real soon. > > You would think there's an option to portupgrade that says "don't > upgrade every single package I've got, Firstly it doesn't. Secondly no one is forcing you to do this, if you want to go through the ports and work out which need an update and which don't then portupgrade will let you do that. > but if somewhere in the > dependency chain I need a newer version of a thing, then do it." > > Am I just missing it in the manpages, or does such a thing really not > exist? > > -Dan > From roberthuff at rcn.com Mon Jun 25 22:24:06 2012 From: roberthuff at rcn.com (Robert Huff) Date: Mon Jun 25 22:24:13 2012 Subject: IPNAT seems to affect network performance? of jails on lo0 (10.0.0.0/24) - why? In-Reply-To: <20120625221711.7aec82b8@dijkstra.cruwe.de> References: <20120625221711.7aec82b8@dijkstra.cruwe.de> Message-ID: <20456.58620.356372.475182@jerusalem.litteratus.org> Christopher J. Ruwe writes: > On a KVM virtualized host, I run FreeBSD 8.3-RELEASE-p3 and some > qjails, 8.3-RELEASE. The jails are connected all via lo0 on > 10.0.0.0. > > While by the large working as expected, I have noticed one > pecularity I have failed to pinpoint: When launching processes > with some network interaction, like sshing into one of the jails > from the platform or launching emacs, the command spends ages ( > ~(1-2) minutes) idling? (nothing happens) before becoming > interactive. If the number is very close to 90 seconds, my first guess would be you have a DNS problem. Robert Huff From fbsd8 at a1poweruser.com Mon Jun 25 22:39:07 2012 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Mon Jun 25 22:39:14 2012 Subject: fetch error In-Reply-To: <20120625225226.7a5c88db.freebsd@edvax.de> References: <4FE8C72F.4040908@a1poweruser.com> <20120625225226.7a5c88db.freebsd@edvax.de> Message-ID: <4FE8E887.80605@a1poweruser.com> Polytropon wrote: > On Mon, 25 Jun 2012 16:16:47 -0400, Fbsd8 wrote: >> I think I messed up the fetch setting in the envelope. >> >> Running 9.0 and get this console msg. >> >> env: usr/bin/fetch: No such file or directory >> >> When I enter env command to show all values I see nothing about fetch. > > The "env" command is often used as a "bridge" to explicitely > call commands where the actual location is not known or cannot > be predicted, e. g. > > #!/usr/bin/env bash > > at the start of a bash script instead of > > #!/bin/bash > > Linuxism or when statically linked, as opposed to > > #!/usr/local/bin/bash > > default location on FreeBSD. > > > > In what operation do you receive the message? Maybe some typo > in a shell script or Makefile? > > Examine closely: > > env: usr/bin/fetch: No such file or directory > ^ > > The leading / is missing, because "usr/bin/fetch" would only > exist when $CWD is /, otherwise not; "/usr/bin/fetch" should > be correct. > > % which fetch > /usr/bin/fetch > ^ > > Here the correct path is provided. Maybe you ran into some script > that calls fetch the "bridge" way improperly? > > Test: > > % env usr/bin/fetch > env: usr/bin/fetch: No such file or directory > > And now properly: > > % env /usr/bin/fetch > usage: fetch [-146AadFlMmnPpqRrsUv] ............ > > It seems that env is used here to "set environment and execute > command"; see "man env" for details. > > > I get that env error when running the new csup. A few months back I was fooling around with pf firewall and was testing different env settings to test passive mode with pf. I think i changed this environment value and made a typo leaving off the leading /. I no longer remember the environment name I used when I did the typo. Can you help me with what the name is to use? From vmiller at hostileadmin.com Mon Jun 25 22:52:16 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Mon Jun 25 22:52:30 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: Turns out the gbic in the switch was bad...I didn't think there was a problem on the host, but you all still gave me some good info. I appreciate it! On 6/25/12, Rick Miller wrote: > On Fri, Jun 22, 2012 at 7:23 PM, Jack Vogel wrote: >> Would probably be good to take care of the storm threshold if you >> haven't, >> set it to 0 >> and you disable the check, that's what we do internally. As for the >> queues >> and number >> of descriptors, that's kind of up to you, different work loads and >> environments work best >> with different setups. >> >> Hopefully, when you get rid of the rx ring setup failure you will get >> things >> working. > > Thanks, Jack. I did get rid of the rx ring failure. Link status > still shows no carrier. I think everything looks right from the > host's perspective. > > -- > Take care > Rick Miller > -- Sent from my mobile device Take care Rick Miller From jfvogel at gmail.com Mon Jun 25 22:54:40 2012 From: jfvogel at gmail.com (Jack Vogel) Date: Mon Jun 25 22:54:54 2012 Subject: Intel X520-DA2 Supported in stable/8? In-Reply-To: References: Message-ID: Glad you figured it out. Cheers, Jack On Mon, Jun 25, 2012 at 3:52 PM, Rick Miller wrote: > Turns out the gbic in the switch was bad...I didn't think there was a > problem on the host, but you all still gave me some good info. I > appreciate it! > > > > On 6/25/12, Rick Miller wrote: > > On Fri, Jun 22, 2012 at 7:23 PM, Jack Vogel wrote: > >> Would probably be good to take care of the storm threshold if you > >> haven't, > >> set it to 0 > >> and you disable the check, that's what we do internally. As for the > >> queues > >> and number > >> of descriptors, that's kind of up to you, different work loads and > >> environments work best > >> with different setups. > >> > >> Hopefully, when you get rid of the rx ring setup failure you will get > >> things > >> working. > > > > Thanks, Jack. I did get rid of the rx ring failure. Link status > > still shows no carrier. I think everything looks right from the > > host's perspective. > > > > -- > > Take care > > Rick Miller > > > > -- > Sent from my mobile device > > Take care > Rick Miller > From Brett.Wright at cooperindustries.com Tue Jun 26 00:18:49 2012 From: Brett.Wright at cooperindustries.com (Wright, Brett) Date: Tue Jun 26 00:18:55 2012 Subject: DFS and Atheros Message-ID: <475A4E02EFF4724A9E58F55A56AC131605F7B3D2@APEVS1.ap.ci.root> Hi All, I recently read Adrian Chadd's Blog and was delighted to see that FreeBSD has support for ETSI and FCC radar test patterns. My question is whether the DFS implementation in FreeBSD suffers from the same problem as madwifi-dfs suffered from which was a very high false-positive rate? This meant that the madwifi DFS was virtually unusable for practical purposes where high throughput was required... Thanks Brett From alerts at towntalk.co.uk Tue Jun 26 00:57:01 2012 From: alerts at towntalk.co.uk (Reading TownTalk) Date: Tue Jun 26 00:57:10 2012 Subject: Latest News & Events from Reading TownTalk Message-ID: <20120626004427.23071.qmail@server1.towntalk.co.uk> [1]Reading [2]TownTalk Logo 26th, June Newsletter [3]www.reading.towntalk.co.uk [4]TownTalk Menu Hey MRS ELFRIEDE BELL [5]Armed Forces Day Reading residents are getting set to honour and celebrate the brave men and women who have served the countrys armed forces. [6]Armed Forces Day Armed Forces Day in Reading will be marked with a free event taking place in Broad Street and the Forbury Gardens on Saturday, June 30th. Reading Borough Council has organised a host of events which will take place from midday until 5pm. Armed Forces Day (formerly Veterans Day) was launched in 2006 to honour Britains armed forces past, present and future and is a celebration of the achie [...] [7][Read More] [8]To reach over 10,000 subscribers in next month's Newsletter click here [9]LOSING THE PLOT - A Tale of Love, Life and Allotments Losing the Plot is a story of love love between people and the land, love between people and people, and love between people and their giant vegetables. [10]LOSING THE PLOT - A Tale of Love, Life and Allotments Funded by Reading Borough Council and one of two new shows which Mikron will tour in 2012, Losing the Plot will be on at Forbury Gardens , Reading on Sunday 1st July at 6.00pm. The show, written by Deborah McAndrew tells the stories of the gardeners of Thistledale Allotments, a rag-bag bunch of diggers and dreamers. Strong personalities frequently clash over the best treatment for mealy bugs, [...] [11][Read More] [12]To reach over 10,000 subscribers in next month's Newsletter click here [13]Caversham Festival< /p> [14]Caversham Festival Caversham Festival is back for a second year at Christchurch Meadows. It will be bigger and better than ever before, not taking place across two days! www.cavershamfestival.co.uk [...] [15][Read More] [16]To reach over 10,000 subscribers in next month's Newsletter click here [17]Race for Life [18]Race for Life Every two minutes someone in the UK is told they have cancer. Ladies lets walk, jog, or run Cancer Research UK's Race for Life 2012. For more information visit the race for life website: www.raceforlife.cancerresearchuk.org [...] [19][Read More] [20]To reach over 10,000 subscribers in next month's Newsletter click here TownTalk Footer TownTalk News & Events Alerts t: 0845 686 5855 e: [21]info@towntalk.co.uk [22]TownTalk Footer [23]TownTalk UK on Twitter [24][black-icon-facebook.jpg] [25][black-icon-linkedin.jpg] Please click here to [26]unsubscribe from Reading TownTalk's Alert Service References 1. http://www.reading.towntalk.co.uk/ 2. http://www.towntalk.co.uk/ 3. http://www.reading.towntalk.co.uk/ 4. LYNXIMGMAP:file://localhost/tmp/tmpgH_3M0.html#navigation 5. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=27696&table=news 6. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=27696&table=news 7. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=27696&table=news 8. mailto:mediatalk@towntalk.co.uk?subject=Feature%20inside%20Reading%20Newsletter&body=Please%20let%20me%20know%20how%20i%20can%20feature%20in%20next%20months%20newsletter.%0DReading%20Newsletter%20%20#2281 9. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=27697&table=news&url=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F 10. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=27697&table=news&url=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F 11. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=27697&table=news&url=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F 12. mailto:mediatalk@towntalk.co.uk?subject=Feature%20inside%20Reading%20Newsletter&body=Please%20let%20me%20know%20how%20i%20can%20feature%20in%20next%20months%20newsletter.%0DReading%20Newsletter%20%20#2281 13. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=64542&table=event&url=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F 14. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=64542&table=event&url=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F 15. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=64542&table=event&url=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F 16. mailto:mediatalk@towntalk.co.uk?subject=Feature%20inside%20Reading%20Newsletter&body=Please%20let%20me%20know%20how%20i%20can%20feature%20in%20next%20months%20newsletter.%0DReading%20Newsletter%20%20#2281 17. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=64544&table=event&url=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F 18. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=64544&table=event&url=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F 19. http://www.towntalk.co.uk/newsletter/trackback.php?id=2281&item_id=64544&table=event&url=http%3A%2F%2Fwww.reading.towntalk.co.uk%2F 20. mailto:mediatalk@towntalk.co.uk?subject=Feature%20inside%20Reading%20Newsletter&body=Please%20let%20me%20know%20how%20i%20can%20feature%20in%20next%20months%20newsletter.%0DReading%20Newsletter%20%20#2281 21. mailto:info@towntalk.co.uk 22. http://www.towntalk.co.uk/ 23. http://twitter.com/towntalkUK 24. http://www.facebook.com/pages/TownTalk-UK/202023798017 25. http://www.linkedin.com/pub/towntalk-uk/17/ba4/7a1 26. http://www.reading.towntalk.co.uk/events/unsubscribe/159727/2281 From walterhurry at gmail.com Tue Jun 26 03:44:19 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Tue Jun 26 03:44:26 2012 Subject: SOLVED: Xorg listening on the WAN? (was Xorg listening on the WAN?) References: <20120625192257.GA1464@tiny.Sisis.de> <20120625195836.GA1678@tiny.Sisis.de> <20120625200549.GA1733@tiny.Sisis.de> Message-ID: On Mon, 25 Jun 2012 20:33:15 +0000, Walter Hurry wrote: > On Mon, 25 Jun 2012 22:05:50 +0200, Matthias Apitz wrote: > >> El d?a Monday, June 25, 2012 a las 09:58:37PM +0200, Matthias Apitz >> escribi?: >> >>> El d?a Monday, June 25, 2012 a las 07:51:02PM +0000, Walter Hurry >>> escribi?: >>> >>> > On Mon, 25 Jun 2012 21:22:57 +0200, Matthias Apitz wrote: >>> > >>> > > $ man Xorg | col -b | fgrep -- -nolisten >>> > >>> > Thanks for the pointer. >>> > >>> > I'm probably being stupid here, and I should have mentioned that I >>> > had already tried 'man Xorg' and 'man Xsession'. I appreciate that >>> > the answer is probably to put '-nolisten tcp' somewhere, but where? >>> >>> $ cat ~/.xserverrc exec X -nolisten tcp -retro >> >> sorry, it took me some time to remember where the pointer is: >> >> $ man xinit | col -b | fgrep xserverrc >> > Thanks again for your assistance. I didn't have a $HOME/.xserverrc, so I > created one with your contents (permissions 744). > > It doesn't seem to have made any difference at all, though. After > restart, I am still getting the same output from netstat and sockstat. > > So I'm still in the dark. Of course! Looking back at the output from sockstat in my original post, X is running under root, so no amount of tinkering with files in $HOME is going to change anything. So I looked into XDM's configuration files in /usr/local/lib/X11/xdm, and found what change did the trick: $ cat /usr/local/lib/X11/xdm/Xservers # # Xservers file, workstation prototype # # This file should contain an entry to start the server on the # local display; if you have more than one display (not screen), # you can add entries to the list (one per line). If you also # have some X terminals connected which do not support XDMCP, # you can add them here as well. Each X terminal line should # look like: # XTerminalName:0 foreign # :0 local /usr/local/bin/X -nolisten tcp :0 If there's batter way of doing this, please would someone let me know. From jsudin at gmail.com Tue Jun 26 04:53:47 2012 From: jsudin at gmail.com (j) Date: Tue Jun 26 04:53:54 2012 Subject: files need Message-ID: <000601cd5357$a8f6d020$4007a8c0@none501d0d47ee> I am a newbie to linux and unix. I want to install freebsd 8.3 and want to know what files I need to download. From freebsd at edvax.de Tue Jun 26 05:01:18 2012 From: freebsd at edvax.de (Polytropon) Date: Tue Jun 26 05:01:25 2012 Subject: files need In-Reply-To: <000601cd5357$a8f6d020$4007a8c0@none501d0d47ee> References: <000601cd5357$a8f6d020$4007a8c0@none501d0d47ee> Message-ID: <20120626070116.f2e0245b.freebsd@edvax.de> On Mon, 25 Jun 2012 21:53:37 -0700, j wrote: > I am a newbie to linux and unix. I want to install freebsd 8.3 > and want to know what files I need to download. You can find all required information on FreeBSD's website, http://www.freebsd.org/ I recommend checking "The FreeBSD Handbook" regarding installation. What files to obtain is also covered in that section (because it depends on e. g. what architecture you want to use it, what kind of media you need and how you want to download it). For example, here you'll find the installation media: ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/8.3/ -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Tue Jun 26 05:48:15 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 26 05:48:23 2012 Subject: Xorg listening on the WAN? In-Reply-To: References: Message-ID: Xorg -nolisten tcp to disable at all to disable wan only use firewall On Mon, 25 Jun 2012, Walter Hurry wrote: > FreeBSD 9.0-RELEASE > > I think Xorg is listening on external addresses: > > $ sockstat -46 |grep Xorg > root Xorg 1573 1 tcp6 *:6000 *:* > root Xorg 1573 3 tcp4 *:6000 *:* > $ netstat -a|grep x11 > tcp4 0 0 *.x11 *.* LISTEN > tcp6 0 0 *.x11 *.* LISTEN > > I'm new to FreeBSD, but if I interpret this correctly, x11 is listening > for connections on port 6000 for connections from any IPv4 or IPv6 > address. > > I don't think I'm in any immediate danger, as I am behind a router which > will block incoming connection attempts, which (virtually) all seem to be > on the http port (80) anyway. > > But it would give me a warm fuzzy feeling to stop x11 listening > externally at all - I don't think I need it. How can I go about that > please? > > In case it makes a difference, I am using XDM with standard LXDE. I do > not use startx to initiate my sessions. > > Thanks. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From wojtek at wojtek.tensor.gdynia.pl Tue Jun 26 05:48:34 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 26 05:48:41 2012 Subject: Xorg listening on the WAN? In-Reply-To: References: <20120625192257.GA1464@tiny.Sisis.de> Message-ID: > > I'm probably being stupid here, and I should have mentioned that I had > already tried 'man Xorg' and 'man Xsession'. I appreciate that the answer > is probably to put '-nolisten tcp' somewhere, but where? > > As far as I can see, XDM invokes /usr/local/lib/X11/xdm/Xsession, which at Xservers file > seems to do little more than call $HOME/.xsession. This last runs /usr/ > local/bin/startlxde, which in turn invokes /usr/local/bin/lxsession (a > binary). > > I have looked at 'man lxsession' and found it of little help. So I'm > rather lost. Can you amplify a little? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From wojtek at wojtek.tensor.gdynia.pl Tue Jun 26 05:49:16 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 26 05:49:22 2012 Subject: Omega Zip Drives on FreeBSD 8.* In-Reply-To: References: Message-ID: > >> How did you get the drive to work with USB? By a hardware adapter? I i have USB drives. not an adapter >> read there is a USB to ide on the market. > > I remember specifically that Iomega produced USB Zip drives, though not when they first produced SCSI, ATAPI and parallel-port Zip drives. > > One problem with SCSI was so many different hardware interfaces in terms of number of holes/pins, meaning incompatibility. > > Tom > > From naylor.b.david at gmail.com Tue Jun 26 07:46:09 2012 From: naylor.b.david at gmail.com (David Naylor) Date: Tue Jun 26 07:46:17 2012 Subject: Wine-fbsd64 updated to 1.5.7 (32bit Wine for 64bit FreeBSD) Message-ID: <201206260946.01639.naylor.b.david@gmail.com> Hi, Packages [1] for wine-fbsd64-1.5.7 have been uploaded to mediafire [2]. The packages for FreeBSD 10 use the pkgng* [3] format. There are many reports that wine does not work with a clang compiled world (help in fixing this problem is appreciated as it affects quite a few users). The patch [4] for nVidia users is now included in the package and is run on installation (if the relevant files are accessible). Please read the installation messages for further information. Regards, David [1] MD5 (wine-1.5.x-freebsd8/wine-fbsd64-1.5.7,1.tbz) = 0178e90ad6cdcdf61d22324c8ccdeab5 MD5 (wine-1.5.x-freebsd9/wine-fbsd64-1.5.7,1.txz) = c658144284981dbc1543365f7d644534 MD5 (wine-1.5.x-freebsd10/wine-fbsd64-1.5.7,1.txz) = 921a5a114cc4feb75446ff491168dca5 [2] http://www.mediafire.com/wine_fbsd64 [3] http://wiki.freebsd.org/pkgng [4] The patch is located at /usr/local/share/wine/patch-nvidia.sh * pkgng support for nVidia patching should be working properly and using a mixed mode between pkgng and pkg also works -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120626/43e46a84/attachment.pgp From wojtek at wojtek.tensor.gdynia.pl Tue Jun 26 14:17:40 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 26 14:17:46 2012 Subject: SOLVED: Xorg listening on the WAN? (was Xorg listening on the WAN?) In-Reply-To: References: <20120625192257.GA1464@tiny.Sisis.de> <20120625195836.GA1678@tiny.Sisis.de> <20120625200549.GA1733@tiny.Sisis.de> Message-ID: > # look like: > # XTerminalName:0 foreign > # > :0 local /usr/local/bin/X -nolisten tcp :0 > > If there's batter way of doing this, please would someone let me know. this is the right way if you use xdm. similar settings are in kdm and gdm possible. From vmiller at hostileadmin.com Tue Jun 26 14:30:53 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Tue Jun 26 14:30:59 2012 Subject: sysinstall diskPartitionEditor Question Message-ID: Hi All, I'd like to set the offset/starting cylinder in install.cfg so that partitions begin on appropriate boundaries. The applicable section of install.cfg looks like the following. My assumption is that I need to make the changes in the "partition" section. Is this correct? Is the format of this value the same as a typical fdisk config file? ### Begin install.cfg snippet disk=\${disk} partition=all bootManager=standard diskPartitionEditor # root \${disk}s1-1=ufs 12582912 / # swap \${disk}s1-2=swap ${swap} none # tmp \${disk}s1-3=ufs 2097152 /tmp 1 # 2 GB var \${disk}s1-4=ufs 4194304 /var 1 # 2 GB home \${disk}s1-5=ufs 4194304 /home 1 diskLabelEditor ### End snippet -- Take care Rick Miller From cjr at cruwe.de Tue Jun 26 14:58:50 2012 From: cjr at cruwe.de (Christopher J. Ruwe) Date: Tue Jun 26 14:58:57 2012 Subject: IPNAT seems to affect network performance? of jails on lo0 (10.0.0.0/24) - why? In-Reply-To: <20456.58620.356372.475182@jerusalem.litteratus.org> References: <20120625221711.7aec82b8@dijkstra.cruwe.de> <20456.58620.356372.475182@jerusalem.litteratus.org> Message-ID: <20120626165825.000ff9d5@dijkstra.cruwe.de> On Mon, 25 Jun 2012 18:23:56 -0400 Robert Huff wrote: > > Christopher J. Ruwe writes: > > > On a KVM virtualized host, I run FreeBSD 8.3-RELEASE-p3 and some > > qjails, 8.3-RELEASE. The jails are connected all via lo0 on > > 10.0.0.0. > > > > While by the large working as expected, I have noticed one > > pecularity I have failed to pinpoint: When launching processes > > with some network interaction, like sshing into one of the jails > > from the platform or launching emacs, the command spends ages ( > > ~(1-2) minutes) idling? (nothing happens) before becoming > > interactive. > > If the number is very close to 90 seconds, my first guess > would be you have a DNS problem. > > > Robert Huff > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Thanks for the hint. It was DNS ... I have copied a resolv.conf into the jails for future use, but did not enable NAT from the start. The issue disappeared when I commented out the nameserver entries and switched NAT off again, i.e., I could login using ssh in a matter of seconds, not minutes. Now to the followup: Why does ssh and emacs! require DNS for entirely local connections or just to be started? Anyway, thanks for that hint, cheers, -- Christopher TZ: GMT + 2h -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120626/d01d7fef/signature.pgp From jerrymc at msu.edu Tue Jun 26 15:19:44 2012 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Jun 26 15:19:52 2012 Subject: files need In-Reply-To: <000601cd5357$a8f6d020$4007a8c0@none501d0d47ee> References: <000601cd5357$a8f6d020$4007a8c0@none501d0d47ee> Message-ID: <20120626151915.GB26342@jerrymc.net> On Mon, Jun 25, 2012 at 09:53:37PM -0700, j wrote: > I am a newbie to linux and unix. I want to install freebsd 8.3 and > want to know what files I need to download. Go to: http://www.freebsd.org/ and study the handbook. It has complete sections on getting ISO files and doing the installation. By the way, you will not want Linux files for a FreeBSD install. FreeBSD is not Linux. It is BSD UNIX. Although it does have a Lunix compatibility mode and libraries, it is a completely different thing with somewhat different philosophy and quite a different structure from Lunix. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From lumiwa at gmail.com Tue Jun 26 22:13:37 2012 From: lumiwa at gmail.com (ajtiM) Date: Tue Jun 26 22:13:44 2012 Subject: llvm/clang 3.1 Message-ID: <201206261713.21233.lumiwa@gmail.com> Hi! Today was upadate for llvm and clang 3.1. My system is FreeBSD 9.0-RELEASE-p3. I update the system with pormaster and llvm was updated to 3.1 but clang shows clang version 3.0 (branches/release_30 142614) 20111021 I installed lang/clang which is 3.1 and I have it in /usr/local/bin: clang version 3.1 (branches/release_31) Target: i386-portbld-freebsd9.0 In /etc/make.conf I have: CC=clang CXX=clang++ CPP=clang-cpp Today I try to build with /usr/local/bin/clang which is 3.1 and it works for graphics/opengtl but it didn't work for multimedia/cuse4bsd-kmod 0.1.24 and than I change back as I wrote above in make.conf and everythink works and I rebuilt opengtl whith clang 3.0 and it works. Is it important just update llvm to 3.1 on FreeBSD 9.0 Rel;ease, please? Do I need to pkg_delete lang/clang? Thank in advance. Mitja -------- http://jpgmag.com/people/lumiwa From rsimmons0 at gmail.com Tue Jun 26 23:11:58 2012 From: rsimmons0 at gmail.com (Robert Simmons) Date: Tue Jun 26 23:12:06 2012 Subject: Freeze when running freebsd-update Message-ID: I've run into a totally reproducible freeze in 9.0. There are a number of variables involved, but I'm able to reproduce this freeze 100% of the time. I'm installing very small servers in a Xen HVM virtualization environment. Each instance has 128M memory and 4G of disk space. There is 384M of swap encrypted using geli_swap_flags="-d -l 256 -s 4096". The rest of the disk space is encrypted with "geli init -b -v -a hmac/sha256 -l 256 -s 4096 /dev/ada0p4". After I've installed a VPS in this way, I run the freebsd-update fetch command and it freezes at: Applying patches... I've been trying to diagnose the problem by running top and watching what happens during this stage. I noticed the following: 1) the box runs out of physical memory at this stage (totally expected, that's why there is sufficient swap space). 2) All the processes except 2 sleep: 31 processes: 1 running, 29 sleeping, 1 waiting 3) the box is responsive to hitting enter at the console (it produces another login: prompt) 4) sshd is asleep, so I can't ssh into the box 5) if I try to login to the console, it lets me enter a username then locks up totally, it does not present me with a password: prompt. 6) it has not run out of swap, nowhere close: Mem: 54M Active, 9524K Inact, 41M Wired, 24K Cache, 21M Buf, 32K Free Swap: 384M Total, 6452K Used, 378M Free, 1% Inuse 7) the moment it runs out of physical memory it begins being unresponsive Any idea what might be going on here? From timothyk at devel.njit.edu Wed Jun 27 14:22:06 2012 From: timothyk at devel.njit.edu (Tim Kellers) Date: Wed Jun 27 14:22:13 2012 Subject: 32 bit to 64 bit Message-ID: <4FEB0C7C.9080104@devel.njit.edu> I'm upgrading a 7.3 -STABLE installation to 8.x, then 9- Stable over the next few days. The hardware is a Dell 2950 that is capable of running 64 bit FreeBSD. The original installation was i386 32 bit and that is what it is running now. Will the buildworld ---> buildkernel KERNCONF=FOO64 allow a 32 bit installation to build a 64 bit kernel? I'd like to upgrade this machine to 64 bit AMD and I'd prefer not to do it from a DVD if I can do it from source. Has anyone tried this and succeeded (or failed spectacularly) on a remote install/upgrade? Tim Kellers From jakub_lach at mailplus.pl Wed Jun 27 14:25:29 2012 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Wed Jun 27 14:27:08 2012 Subject: llvm/clang 3.1 In-Reply-To: <201206261713.21233.lumiwa@gmail.com> References: <201206261713.21233.lumiwa@gmail.com> Message-ID: <1340807128473-5722483.post@n5.nabble.com> If you really want/need clang 3.1 you should be tracking 9-STABLE, source branch not RELEASE. Port system is separate from base system, and installs things only in /usr/local/*. -- View this message in context: http://freebsd.1045724.n5.nabble.com/llvm-clang-3-1-tp5722315p5722483.html Sent from the freebsd-questions mailing list archive at Nabble.com. From alexmiroslav at gmail.com Wed Jun 27 14:25:48 2012 From: alexmiroslav at gmail.com (Aleksandr Miroslav) Date: Wed Jun 27 14:27:10 2012 Subject: shell scripting: grepping multiple patterns, logically ANDed Message-ID: hello, I'm not sure if this is the right forum for this question, but here goes. I have the following in a shell script: #!/bin/sh if [ "$#" -eq "0" ]; then find /foo fi if [ "$#" -eq "1" ]; then find /foo | grep -i $1 fi if [ "$#" -eq "2" ]; then find /foo | grep -i $1 | grep -i $2 fi if [ "$#" -eq "3" ]; then find /foo | grep -i $1 | grep -i $2 | grep -i $3 fi Is there an easier/shorter way to do this? If there are 15 arguments supplied on the command line, I don't necessarily want to build 15 if statements. Thanks in advance for your answers. From jakub_lach at mailplus.pl Wed Jun 27 14:30:35 2012 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Wed Jun 27 14:30:47 2012 Subject: 32 bit to 64 bit In-Reply-To: <4FEB0C7C.9080104@devel.njit.edu> References: <4FEB0C7C.9080104@devel.njit.edu> Message-ID: <1340807434981-5722485.post@n5.nabble.com> It has been done, it's just rally not recommended. Sorry, don't know what was exact procedure/ if it works currently. -- View this message in context: http://freebsd.1045724.n5.nabble.com/32-bit-to-64-bit-tp5722481p5722485.html Sent from the freebsd-questions mailing list archive at Nabble.com. From mike at sentex.net Wed Jun 27 14:37:25 2012 From: mike at sentex.net (Mike Tancsa) Date: Wed Jun 27 14:37:32 2012 Subject: 32 bit to 64 bit In-Reply-To: <4FEB0C7C.9080104@devel.njit.edu> References: <4FEB0C7C.9080104@devel.njit.edu> Message-ID: <4FEB1A8C.7020009@sentex.net> On 6/27/2012 9:37 AM, Tim Kellers wrote: > Will the buildworld ---> buildkernel KERNCONF=FOO64 allow a 32 bit > installation to build a 64 bit kernel? I'd like to upgrade this machine > to 64 bit AMD and I'd prefer not to do it from a DVD if I can do it from > source. Has anyone tried this and succeeded (or failed spectacularly) > on a remote install/upgrade? I have seen posts of people who have done it, but when we contemplated it a while back it was more trouble than it was worth. It was easier and safer to build a new image on a separate disk, install all the apps from the ports, and then migrate the customer data over. Even if the box is remote, it might be easier to ship the drive there and have someone change it out for you. ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From odhiambo at gmail.com Wed Jun 27 14:39:10 2012 From: odhiambo at gmail.com (Odhiambo Washington) Date: Wed Jun 27 14:39:18 2012 Subject: 32 bit to 64 bit In-Reply-To: <4FEB0C7C.9080104@devel.njit.edu> References: <4FEB0C7C.9080104@devel.njit.edu> Message-ID: On Wed, Jun 27, 2012 at 4:37 PM, Tim Kellers wrote: > I'm upgrading a 7.3 -STABLE installation to 8.x, then 9- Stable over the > next few days. The hardware is a Dell 2950 that is capable of running 64 > bit FreeBSD. The original installation was i386 32 bit and that is what it > is running now. > > Will the buildworld ---> buildkernel KERNCONF=FOO64 allow a 32 bit > installation to build a 64 bit kernel? I'd like to upgrade this machine to > 64 bit AMD and I'd prefer not to do it from a DVD if I can do it from > source. Has anyone tried this and succeeded (or failed spectacularly) on > a remote install/upgrade? > > Please just don't do it. Backup, Install new, restore configs and data! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. From tundra at tundraware.com Wed Jun 27 15:33:46 2012 From: tundra at tundraware.com (Tim Daneliuk) Date: Wed Jun 27 15:34:02 2012 Subject: shell scripting: grepping multiple patterns, logically ANDed In-Reply-To: <4FEB25E8.6000701@tundraware.com> References: <4FEB25E8.6000701@tundraware.com> Message-ID: <4FEB27DA.1090308@tundraware.com> On 06/27/2012 10:25 AM, Tim Daneliuk wrote: > On 06/27/2012 09:25 AM, Aleksandr Miroslav wrote: >> hello, >> >> I'm not sure if this is the right forum for this question, but here >> goes. >> >> I have the following in a shell script: >> >> >> #!/bin/sh >> >> if [ "$#" -eq "0" ]; then >> find /foo >> fi >> if [ "$#" -eq "1" ]; then >> find /foo | grep -i $1 >> fi >> if [ "$#" -eq "2" ]; then >> find /foo | grep -i $1 | grep -i $2 >> fi >> if [ "$#" -eq "3" ]; then >> find /foo | grep -i $1 | grep -i $2 | grep -i $3 >> fi >> >> Is there an easier/shorter way to do this? If there are 15 arguments >> supplied on the command line, I don't necessarily want to build 15 if >> statements. >> >> Thanks in advance for your answers. > > The following solution relies on the fact that you can include multiple > patterns for grep to match with the '-e' argument: > > > #!/bin/sh > > PATTERNS=`echo " $*" | sed s/\ /\ -e\ /g` > > find /foo | grep $PATTERNS > > Notice that when constructing the $PATTERNS string out of the command line > args, you have to quote them with a prepended space character. That's because > the subsequent 'sed' substitution needs to find a space *before* each argument > which it then replaces with "-e ". > Whoops, I just realized that I ORed them and you want them ANDed. Hmmm ... must go think on that... From tundra at tundraware.com Wed Jun 27 15:40:05 2012 From: tundra at tundraware.com (Tim Daneliuk) Date: Wed Jun 27 15:40:12 2012 Subject: shell scripting: grepping multiple patterns, logically ANDed In-Reply-To: References: Message-ID: <4FEB25E8.6000701@tundraware.com> On 06/27/2012 09:25 AM, Aleksandr Miroslav wrote: > hello, > > I'm not sure if this is the right forum for this question, but here > goes. > > I have the following in a shell script: > > > #!/bin/sh > > if [ "$#" -eq "0" ]; then > find /foo > fi > if [ "$#" -eq "1" ]; then > find /foo | grep -i $1 > fi > if [ "$#" -eq "2" ]; then > find /foo | grep -i $1 | grep -i $2 > fi > if [ "$#" -eq "3" ]; then > find /foo | grep -i $1 | grep -i $2 | grep -i $3 > fi > > Is there an easier/shorter way to do this? If there are 15 arguments > supplied on the command line, I don't necessarily want to build 15 if > statements. > > Thanks in advance for your answers. The following solution relies on the fact that you can include multiple patterns for grep to match with the '-e' argument: #!/bin/sh PATTERNS=`echo " $*" | sed s/\ /\ -e\ /g` find /foo | grep $PATTERNS Notice that when constructing the $PATTERNS string out of the command line args, you have to quote them with a prepended space character. That's because the subsequent 'sed' substitution needs to find a space *before* each argument which it then replaces with "-e ". ----------------------------------------------------------------------- Tim Daneliuk From tundra at tundraware.com Wed Jun 27 16:11:12 2012 From: tundra at tundraware.com (Tim Daneliuk) Date: Wed Jun 27 16:11:19 2012 Subject: shell scripting: grepping multiple patterns, logically ANDed In-Reply-To: <4FEB27DA.1090308@tundraware.com> References: <4FEB25E8.6000701@tundraware.com> <4FEB27DA.1090308@tundraware.com> Message-ID: <4FEB30A0.4020306@tundraware.com> On 06/27/2012 10:33 AM, Tim Daneliuk wrote: > On 06/27/2012 10:25 AM, Tim Daneliuk wrote: >> On 06/27/2012 09:25 AM, Aleksandr Miroslav wrote: >>> hello, >>> >>> I'm not sure if this is the right forum for this question, but here >>> goes. >>> >>> I have the following in a shell script: >>> >>> >>> #!/bin/sh >>> >>> if [ "$#" -eq "0" ]; then >>> find /foo >>> fi >>> if [ "$#" -eq "1" ]; then >>> find /foo | grep -i $1 >>> fi >>> if [ "$#" -eq "2" ]; then >>> find /foo | grep -i $1 | grep -i $2 >>> fi >>> if [ "$#" -eq "3" ]; then >>> find /foo | grep -i $1 | grep -i $2 | grep -i $3 >>> fi >>> >>> Is there an easier/shorter way to do this? If there are 15 arguments >>> supplied on the command line, I don't necessarily want to build 15 if >>> statements. >>> >>> Thanks in advance for your answers. >> >> The following solution relies on the fact that you can include multiple >> patterns for grep to match with the '-e' argument: >> >> >> #!/bin/sh >> >> PATTERNS=`echo " $*" | sed s/\ /\ -e\ /g` >> >> find /foo | grep $PATTERNS >> >> Notice that when constructing the $PATTERNS string out of the command line >> args, you have to quote them with a prepended space character. That's because >> the subsequent 'sed' substitution needs to find a space *before* each argument >> which it then replaces with "-e ". >> > > Whoops, I just realized that I ORed them and you want them ANDed. Hmmm ... must > go think on that... OK, here is an ANDing version: #!/bin/sh PATMATCH=`echo " $*" | sed s/' '/' | grep '/g` eval "find ./ $PATMATCH" -- ----------------------------------------------------------------------- Tim Daneliuk From bmettee at pchotshots.com Wed Jun 27 16:25:26 2012 From: bmettee at pchotshots.com (Brad Mettee) Date: Wed Jun 27 16:25:33 2012 Subject: shell scripting: grepping multiple patterns, logically ANDed In-Reply-To: References: Message-ID: <4FEB325B.5010802@pchotshots.com> On 6/27/2012 11:25 AM, Tim Daneliuk wrote: > On 06/27/2012 09:25 AM, Aleksandr Miroslav wrote: >> hello, >> >> I'm not sure if this is the right forum for this question, but here >> goes. >> >> I have the following in a shell script: >> >> >> #!/bin/sh >> >> if [ "$#" -eq "0" ]; then >> find /foo >> fi >> if [ "$#" -eq "1" ]; then >> find /foo | grep -i $1 >> fi >> if [ "$#" -eq "2" ]; then >> find /foo | grep -i $1 | grep -i $2 >> fi >> if [ "$#" -eq "3" ]; then >> find /foo | grep -i $1 | grep -i $2 | grep -i $3 >> fi >> >> Is there an easier/shorter way to do this? If there are 15 arguments >> supplied on the command line, I don't necessarily want to build 15 if >> statements. >> >> Thanks in advance for your answers. > > The following solution relies on the fact that you can include multiple > patterns for grep to match with the '-e' argument: > > > #!/bin/sh > > PATTERNS=`echo " $*" | sed s/\ /\ -e\ /g` > > find /foo | grep $PATTERNS > > Notice that when constructing the $PATTERNS string out of the command > line > args, you have to quote them with a prepended space character. That's > because > the subsequent 'sed' substitution needs to find a space *before* each > argument > which it then replaces with "-e ". This will build a multi-grep string for any number of arguments (within reason), functionally a boolean AND search: #!/bin/sh final_cmd="find /foo" while [ $# -gt 0 ] do final_cmd="$final_cmd | grep -i $1" shift done $final_cmd May need quoting changes, but it worked on this sample, with this result: cmdline: ./testshift "1" 1 2 3 4 5 result: "find /foo | grep -i 1 | grep -i 1 | grep -i 2 | grep -i 3 | grep -i 4 | grep -i 5" HTH Brad From vmiller at hostileadmin.com Wed Jun 27 17:08:01 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Wed Jun 27 17:08:08 2012 Subject: sysinstall diskPartitionEditor Question In-Reply-To: References: Message-ID: On Tue, Jun 26, 2012 at 10:30 AM, Rick Miller wrote: > Hi All, > > I'd like to set the offset/starting cylinder in install.cfg so that > partitions begin on appropriate boundaries. ?The applicable section of > install.cfg looks like the following. ?My assumption is that I need to > make the changes in the "partition" section. ?Is this correct? ?Is the > format of this value the same as a typical fdisk config file? After copious amounts of reading and experimenting. It seems as though diskPartitionEdit doesn't support specifying a starting cylinder. When I specify partition=all, it starts that slice at sector 63. I'd like to start it at 64 or above. Is it feasible to include gpart in the mfsroot and use that to partition the drive before sysinstall continues with the installation? -- Take care Rick Miller From roberthuff at rcn.com Wed Jun 27 17:33:11 2012 From: roberthuff at rcn.com (Robert Huff) Date: Wed Jun 27 17:33:18 2012 Subject: 32 bit to 64 bit In-Reply-To: References: <4FEB0C7C.9080104@devel.njit.edu> Message-ID: <20459.17359.830299.647106@jerusalem.litteratus.org> Odhiambo Washington writes: > > Will the buildworld ---> buildkernel KERNCONF=FOO64 allow a 32 bit > > installation to build a 64 bit kernel? I'd like to upgrade this > > machine to 64 bit AMD and I'd prefer not to do it from a DVD if > > I can do it from source. Has anyone tried this and succeeded > > (or failed spectacularly) on a remote install/upgrade? > > Please just don't do it. > > Backup, Install new, restore configs and data! I'd go even further: 1) replace the old disk, and jumper it to "read-only". 2) install 64-bit system on new disk. (use the opportunity to adjust partition size/layout) 3) mount the old disk externally, and copy as needed. 4) when done, store the old disk in a safe, known spot for a year. Robert Huff From derek at computinginnovations.com Wed Jun 27 17:48:25 2012 From: derek at computinginnovations.com (Derek Ragona) Date: Wed Jun 27 17:48:34 2012 Subject: 32 bit to 64 bit In-Reply-To: <4FEB0C7C.9080104@devel.njit.edu> References: <4FEB0C7C.9080104@devel.njit.edu> Message-ID: <6.0.0.22.2.20120627124017.05730608@mail.computinginnovations.com> At 08:37 AM 6/27/2012, Tim Kellers wrote: >I'm upgrading a 7.3 -STABLE installation to 8.x, then 9- Stable over the >next few days. The hardware is a Dell 2950 that is capable of running 64 >bit FreeBSD. The original installation was i386 32 bit and that is what >it is running now. > >Will the buildworld ---> buildkernel KERNCONF=FOO64 allow a 32 bit >installation to build a 64 bit kernel? I'd like to upgrade this machine >to 64 bit AMD and I'd prefer not to do it from a DVD if I can do it from >source. Has anyone tried this and succeeded (or failed spectacularly) on >a remote install/upgrade? > >Tim Kellers The 2950's are a bit dated, so unless you have in excess of 4GB RAM, you don't need to move to 64-bit. If you do choose to go 64-bit, I agree with the other posts, simply do a fresh install. In doing a fresh install, save off the package list you have on the i386 build and reinstall those packages on the new 64-bit system. Doing a fresh install will also save you time, since you can go right to 9, rather than doing two upgrades. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 27 21:56:00 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 27 21:56:21 2012 Subject: 32 bit to 64 bit In-Reply-To: <4FEB0C7C.9080104@devel.njit.edu> References: <4FEB0C7C.9080104@devel.njit.edu> Message-ID: > > Will the buildworld ---> buildkernel KERNCONF=FOO64 allow a 32 bit > installation to build a 64 bit kernel? I'd like to upgrade this machine to TARGET=amd64 > 64 bit AMD and I'd prefer not to do it from a DVD if I can do it from source. > Has anyone tried this and succeeded (or failed spectacularly) on a remote > install/upgrade? > > Tim Kellers > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From wojtek at wojtek.tensor.gdynia.pl Wed Jun 27 21:56:25 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 27 21:56:32 2012 Subject: 32 bit to 64 bit In-Reply-To: References: <4FEB0C7C.9080104@devel.njit.edu> Message-ID: >> >> > Please just don't do it. > > Backup, Install new, restore configs and data! ???? i see no problems doing this! From wojtek at wojtek.tensor.gdynia.pl Wed Jun 27 21:56:49 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 27 21:56:56 2012 Subject: 32 bit to 64 bit In-Reply-To: <20459.17359.830299.647106@jerusalem.litteratus.org> References: <4FEB0C7C.9080104@devel.njit.edu> <20459.17359.830299.647106@jerusalem.litteratus.org> Message-ID: > adjust partition size/layout) > 3) mount the old disk externally, and copy as needed. > 4) when done, store the old disk in a safe, known spot for a > year. ten years! From erichfreebsdlist at ovitrap.com Wed Jun 27 22:43:06 2012 From: erichfreebsdlist at ovitrap.com (Erich Dollansky) Date: Wed Jun 27 22:43:13 2012 Subject: 32 bit to 64 bit In-Reply-To: <20459.17359.830299.647106@jerusalem.litteratus.org> References: <4FEB0C7C.9080104@devel.njit.edu> <20459.17359.830299.647106@jerusalem.litteratus.org> Message-ID: <201206280542.59990.erichfreebsdlist@ovitrap.com> Hi, On Thursday 28 June 2012 00:33:03 Robert Huff wrote: > > Odhiambo Washington writes: > > > > Will the buildworld ---> buildkernel KERNCONF=FOO64 allow a 32 bit > > > installation to build a 64 bit kernel? I'd like to upgrade this > > > machine to 64 bit AMD and I'd prefer not to do it from a DVD if > > > I can do it from source. Has anyone tried this and succeeded > > > (or failed spectacularly) on a remote install/upgrade? > > > > Please just don't do it. > > > > Backup, Install new, restore configs and data! > > I'd go even further: > > 1) replace the old disk, and jumper it to "read-only". > 2) install 64-bit system on new disk. (use the opportunity to > adjust partition size/layout) > 3) mount the old disk externally, and copy as needed. > 4) when done, store the old disk in a safe, known spot for a > year. to learn then that cosnumer grade disk do not start anymore after a one year break? Erich From andreev.peter at gmail.com Thu Jun 28 08:49:10 2012 From: andreev.peter at gmail.com (Peter Andreev) Date: Thu Jun 28 08:49:20 2012 Subject: 32 bit to 64 bit In-Reply-To: <201206280542.59990.erichfreebsdlist@ovitrap.com> References: <4FEB0C7C.9080104@devel.njit.edu> <20459.17359.830299.647106@jerusalem.litteratus.org> <201206280542.59990.erichfreebsdlist@ovitrap.com> Message-ID: Hi, here is the step-by-step how to migrate between architectures: http://dadv.livejournal.com/143243.html It's in russian, but you could use google translate. Of course all such docs provided without any warranties. 2012/6/28 Erich Dollansky > Hi, > > On Thursday 28 June 2012 00:33:03 Robert Huff wrote: > > > > Odhiambo Washington writes: > > > > > > Will the buildworld ---> buildkernel KERNCONF=FOO64 allow a 32 bit > > > > installation to build a 64 bit kernel? I'd like to upgrade this > > > > machine to 64 bit AMD and I'd prefer not to do it from a DVD if > > > > I can do it from source. Has anyone tried this and succeeded > > > > (or failed spectacularly) on a remote install/upgrade? > > > > > > Please just don't do it. > > > > > > Backup, Install new, restore configs and data! > > > > I'd go even further: > > > > 1) replace the old disk, and jumper it to "read-only". > > 2) install 64-bit system on new disk. (use the opportunity to > > adjust partition size/layout) > > 3) mount the old disk externally, and copy as needed. > > 4) when done, store the old disk in a safe, known spot for a > > year. > > to learn then that cosnumer grade disk do not start anymore after a one > year break? > > Erich > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- AP From wojtek at wojtek.tensor.gdynia.pl Thu Jun 28 10:16:18 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jun 28 10:16:28 2012 Subject: 32 bit to 64 bit In-Reply-To: <201206280542.59990.erichfreebsdlist@ovitrap.com> References: <4FEB0C7C.9080104@devel.njit.edu> <20459.17359.830299.647106@jerusalem.litteratus.org> <201206280542.59990.erichfreebsdlist@ovitrap.com> Message-ID: >> 4) when done, store the old disk in a safe, known spot for a >> year. > > to learn then that cosnumer grade disk do not start anymore after a one year break? just as "enterprise" disks, which are usually the same :) PS. Off Topic From iqbal at aroussi.name Thu Jun 28 10:24:15 2012 From: iqbal at aroussi.name (Iqbal Aroussi) Date: Thu Jun 28 10:24:23 2012 Subject: Percona55-server failing to compile Message-ID: Hi all, I'm trying to install Percona Server but it's failign to compile. I've tried on FreeBSD 9 and FreeBSD 8.2 with no luck. Has anyone succeeded in making it work ?? It's the first package I try to install after a base OS install. There is no other MySQL server running or installed. The install process was working fine just few weeks ago. Here is what I do: portmaster databases/percona55-server Here is what I get: ===>>> Installation of devel/cmake (cmake-2.8.8) succeeded ===>>> Returning to dependency check for databases/percona55-server ===>>> Dependency check complete for databases/percona55-server ===> Cleaning for percona-server-5.5.19.24.0 ===> percona-server-5.5.19.24.0 cannot install: unknown MySQL version: 55p. *** Error code 1 Stop in /usr/ports/databases/percona55-server. ===>>> make failed for databases/percona55-server ===>>> Aborting update Terminated ===>>> Installation of devel/cmake (cmake-2.8.8) complete ===>>> You can restart from the point of failure with this command line: portmaster databases/percona55-server Thanks a lot in advance. Best Regards Iqbal A. From smithi at nimnet.asn.au Thu Jun 28 10:40:06 2012 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu Jun 28 10:40:15 2012 Subject: OT: Robotics or embedded or hardware programming... what is this called? In-Reply-To: References: <20120621083945.E87771065694@hub.freebsd.org> <20120622153224.I46641@sola.nimnet.asn.au> <20120625152340.X46641@sola.nimnet.asn.au> Message-ID: <20120628181722.R46641@sola.nimnet.asn.au> On Mon, 25 Jun 2012 09:43:35 -0600 (MDT), Warren Block wrote: > On Mon, 25 Jun 2012, Ian Smith wrote: > > > On Fri, 22 Jun 2012 06:47:48 -0600 (MDT), Warren Block wrote: > > > On Fri, 22 Jun 2012, Ian Smith wrote: > > > > > > Well, there is devel/arduino. It's not emdedded Linux, but an IDE for > > > writing and downloading code. The Arduino is a small embedded controller > > > based on the Atmel AVR microcontrollers. They are quite powerful, easy to > > > program, and accessible for experimenters. You can skip the Arduino > > > environment if you like, using the same lower-level tools like avr-gcc > > > directly. And the Arduino board can be used as a programmer, downloading > > > code to plain AVR chips and avoiding the need for more Arduino boards. Talk > > > about the Arduino on FreeBSD is generally on the freebsd-embedded mailing > > > list. > > > > Thanks Warren. I got the wrong idea that Arduino ran an embedded Linux > > from a friend, a Linux-using Electrical Engineer, but not a programmer. > > I'd also (too) briefly glanced at www.arduino.cc and noted Windows, Mac > > and Linux references, and Linux binaries, but had no idea you had ported > > the GUI. Could you perhaps try pushing the FreeBSD port upstream to > > Arduino, so people can find out that it exists from there? > > There was an updated entry mentioning the port in the Playground, which now > seems to have reverted back to the old not-yet-working procedure for FreeBSD > 6.1. And I see that 1.0.1 is out, so now the port needs to be updated. > There doesn't appear to be a way for me to edit that. I can send mail to the > site about mentioning the FreeBSD port on the downloads page. Or you can, if > you like. MAMBM .. I'd promised myself I wouldn't spend any more time on this :) That wiki is fairly messed up, but its search helps a bit; searching for 'FreeBSD' (ie googling 'FreeBSD site:http://arduino.cc/playground') turns up more than is indexed from the sidebar, including some pages not apparently accessible otherwise. It really needs the main index editing (as well as http://arduino.cc/playground/Learning/FreeBSD) to point to (say) 'Installing Arduino on other platforms' after the Linux one, but it'd be a bit of work. Yes, even just a link in the Downloads section would help, but making FreeBSD support more obvious sure wouldn't hurt. > Something I forgot to mention earlier is that it may now be possible to buy > Arduinos or compatibles at Radio Shack stores in the US. Yes they're definitely getting out there. Tandy / RS abandoned the kit market here, but Jaycar (2011 cat) has Uno-compatible boards for $40 and a Duemilanove-compatible with onboard Ethernet 'shield' for $70. Hmm. Despite indexing FreeBSD under Linux(!), anybody interested in embedded monitoring, control and/or robotics with Arduino or Atmel uCs in general should find something of interest in 'The World Famous Index of Arduino & Freeduino Knowledge' at http://www.freeduino.org/ sucked in, Ian From matthew at FreeBSD.org Thu Jun 28 10:41:29 2012 From: matthew at FreeBSD.org (Matthew Seaman) Date: Thu Jun 28 10:41:37 2012 Subject: Percona55-server failing to compile In-Reply-To: References: Message-ID: <4FEC34C0.80500@FreeBSD.org> On 28/06/2012 11:23, Iqbal Aroussi wrote: > ===> percona-server-5.5.19.24.0 cannot install: unknown MySQL version: 55p. > *** Error code 1 > It seems that the percona55-client and percona55-server ports are still a work in progress. They aren't properly hooked up to the ports tree yet, and there need to be some modifications to ${PORTSDIR}/Mk/bsd.database.mk before it is going to work. See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164072 for the story so far. Unfortunately all I can suggest at the moment is to use mysql55-server or mariadb-server[*] temporarily until the percona ports get sorted out. Cheers, Matthew [*] Which is equivalent to the unreleased mysql53 rather than mysql55. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 267 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120628/7741c387/signature.pgp From iqbal at aroussi.name Thu Jun 28 10:54:18 2012 From: iqbal at aroussi.name (Iqbal Aroussi) Date: Thu Jun 28 10:54:25 2012 Subject: Percona55-server failing to compile In-Reply-To: <4FEC34C0.80500@FreeBSD.org> References: <4FEC34C0.80500@FreeBSD.org> Message-ID: Hi Matthew, Thanks a lot for the useful explanation you provided. I really appreciated it. I'm gonna try MariaDB. Best Regards Iqbal A. On Thu, Jun 28, 2012 at 11:41 AM, Matthew Seaman wrote: > On 28/06/2012 11:23, Iqbal Aroussi wrote: > > ===> percona-server-5.5.19.24.0 cannot install: unknown MySQL version: > 55p. > > *** Error code 1 > > > > It seems that the percona55-client and percona55-server ports are still > a work in progress. They aren't properly hooked up to the ports tree > yet, and there need to be some modifications to > ${PORTSDIR}/Mk/bsd.database.mk before it is going to work. > > See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164072 for the > story so far. > > Unfortunately all I can suggest at the moment is to use mysql55-server > or mariadb-server[*] temporarily until the percona ports get sorted out. > > Cheers, > > Matthew > > [*] Which is equivalent to the unreleased mysql53 rather than mysql55. > > -- > Dr Matthew J Seaman MA, D.Phil. > PGP: http://www.infracaninophile.co.uk/pgpkey > > > > From shareplan at eurostudio.fr Thu Jun 28 13:03:57 2012 From: shareplan at eurostudio.fr (=?utf-8?Q?GAMME_AUTODESK_2013?=) Date: Thu Jun 28 13:04:04 2012 Subject: =?utf-8?q?Maison_de_l=27Architecture_4_juillet_=3A_les_nouveaut?= =?utf-8?q?=C3=A9s_AUTODESK_2013?= Message-ID: <784-216-7-0000021911@mta0.sbr08.net> Les nouvelles versions des solutions Autodesk d?di?es aux m?tiers de la Construction sont disponibles ! D?couvrez comment les versions 2013 des logiciels AUTODESK peuvent vous aider ? donner vie ? vos id?es les plus innovantes et ? vous d?marquer. A cette occasion, EUROSTUDIO vous invite ? la pr?sentation de la Building Design Suite Premium 2013. comprenant : - Revit Architecture, Revit MEP et Revit Structure - 3ds Max Design - AutoCAD - AutoCAD Architecture - AutoCAD MEP - Showcase - Naviswork Simulate et de la solution sharePlan (annotations collaboratives sur les plans stylo PDF/DWG) From vermaden at interia.pl Thu Jun 28 14:54:48 2012 From: vermaden at interia.pl (vermaden) Date: Thu Jun 28 14:54:55 2012 Subject: umodem/ppp/3g stopped working after update from 9.0-RELEASE to 9-STABLE Message-ID: Hi, at the 9.0-RELEASE I have had fully working ppp/3g connection via the Dell 5530 modem in my Dell Latitude E6400 laptop. After I upgraded to 9-STABLE r237458 it does not work any more. Were there any significant changes in 9-STABLE that broke it? Here is more detailed info: http://freebsd.org/cgi/query-pr.cgi?pr=169459 Regards, vermaden -- ... From mike at sentex.net Thu Jun 28 15:10:04 2012 From: mike at sentex.net (Mike Tancsa) Date: Thu Jun 28 15:10:11 2012 Subject: umodem/ppp/3g stopped working after update from 9.0-RELEASE to 9-STABLE In-Reply-To: References: Message-ID: <4FEC73B4.1090005@sentex.net> On 6/28/2012 1:54 AM, vermaden wrote: > Hi, > > at the 9.0-RELEASE I have had fully working ppp/3g connection via the > Dell 5530 modem in my Dell Latitude E6400 laptop. After I upgraded > to 9-STABLE r237458 it does not work any more. > > Were there any significant changes in 9-STABLE that broke it? Did it perhaps create more serial ports for you that were not there before ? What is the output of ls -l /dev/cuaU* ---Mike > > Here is more detailed info: > http://freebsd.org/cgi/query-pr.cgi?pr=169459 > > Regards, > vermaden -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From jau at iki.fi Thu Jun 28 18:46:27 2012 From: jau at iki.fi (Jukka A. Ukkonen) Date: Thu Jun 28 18:46:35 2012 Subject: Wheel mouse oddity - wheel only reporting button release Message-ID: <4FECA66F.3030602@iki.fi> Hi, Does anyone have any idea what is going on when a ps/2 mouse with a wheel (actually a trackball) sometimes works just fine and sometimes the wheel reports button release events only? This is happening on an AMD64 system running FreeBSD-9.0. I used truss to trace moused to see how the basic 3 buttons always send "\t\0\0", "\n\0\0", or "\f\0\0" for button press and then "\b\0\0" for button release. The wheel only sends "\b\0\0" for button release. This looks awful lot like moused failed to talk to the device using level 1 or level 2 protocol, decided to fall back to level 0 protocol, and silently went on using 3 byte packets which cannot carry the data for more than 3 buttons. If this is the case and level 1 was explicitly requested, I would expect moused to complain loudly about not being able to use the requested protocol level. Has anyone else seen something similar? Can this behavior be changed using hint.psm.0.flags in /boot/device.hints? Could this be a side effect of a KVM switch getting confused and forcing the protocol to downgrade to level 0? Should I simply replace the KVM switch? --jau From guru at unixarea.de Thu Jun 28 18:58:20 2012 From: guru at unixarea.de (Matthias Apitz) Date: Thu Jun 28 18:58:28 2012 Subject: umodem/ppp/3g stopped working after update from 9.0-RELEASE to 9-STABLE In-Reply-To: References: Message-ID: <20120628185809.GA1107@tiny.Sisis.de> El d?a Thursday, June 28, 2012 a las 07:54:48AM +0200, vermaden escribi?: > Hi, > > at the 9.0-RELEASE I have had fully working ppp/3g connection via the > Dell 5530 modem in my Dell Latitude E6400 laptop. After I upgraded > to 9-STABLE r237458 it does not work any more. > > Were there any significant changes in 9-STABLE that broke it? > > Here is more detailed info: > http://freebsd.org/cgi/query-pr.cgi?pr=169459 I said this already: the /etc/ppp/ppp.conf file you are using is completely broken and the log matches this; what should these AT cmds do in the section of 3g: 3g: set device /dev/cuaU0 set speed 38400 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 add default HISADDR term AT+CFUN=1 AT+CGDCONT=1,"IP","www.plusgsm.pl" ATD*99# matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From chris at chrismaness.com Thu Jun 28 19:02:15 2012 From: chris at chrismaness.com (Chris Maness) Date: Thu Jun 28 19:02:23 2012 Subject: OT: Linux EXT4 dump/restore equivalent? Message-ID: Is there an equivalent dump/restore ap for a Linux ext4 file system? I am running the latest Slackware, and I would like to make backups like I do for my FreeBSD box. Thanks, Chris Maness From vince at unsane.co.uk Thu Jun 28 19:59:59 2012 From: vince at unsane.co.uk (Vincent Hoffman) Date: Thu Jun 28 20:00:06 2012 Subject: OT: Linux EXT4 dump/restore equivalent? In-Reply-To: References: Message-ID: <4FECB7BD.6010807@unsane.co.uk> We use dump to backup ext4 filesystems on linux (Centos6) at work >From the linux dump changelog Changes between versions 0.4b41 and 0.4b42 (released June 18, 2009) =================================================================== 18. Add (preliminary) ext4 support - thanks to libext2fs which does all the job for us. Thanks to Gertjan van Wingerde for the patch. Without wishing to bash Linux (I wouldnt be in my job without it,) its man pages are really not very up to date, as the manpage for dump fails to mention this. Centos 6 dump version is dump 0.4b42 (using libext2fs 1.41.12 of 17-May-2010) I havent used slackware in many years but it used to be my distro of choice until I moved to FreeBSD. Hope this helps, Vince On 28/06/2012 20:02, Chris Maness wrote: > Is there an equivalent dump/restore ap for a Linux ext4 file system? > I am running the latest Slackware, and I would like to make backups > like I do for my FreeBSD box. > > Thanks, > Chris Maness > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From blue.seahorse.syndicate at gmail.com Thu Jun 28 20:07:06 2012 From: blue.seahorse.syndicate at gmail.com (Lynn Steven Killingsworth) Date: Thu Jun 28 20:07:13 2012 Subject: Cannot mount storage drive in workstation Message-ID: Dear FreeBSD - I have broken my ability to mount my storage drive in FreeBSD installation. I am still logged in as root since I have not installed the login manager yet to KDE4. I think I managed to set my discs to mount under my username by setting the group privilege (wheel) to read/write. Then I inadvertently shut off my display while my workstation was running. When I restarted it I could not get my system to display again. So I had to shutdown my machine. Then I rebooted a couple of times. However, I can no longer get my storage drive (not my system drive) to mount by selecting it in Dolphin when I start my workstation. This is the message from Dolphin "org.freedesktop.Hal.Device.Volume.UnknownFailure: mount: /dev/ada1s1a: Operation not permitted" My familiarity is the online handbook presently. So can you tell me where to start? -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From feld at feld.me Thu Jun 28 20:37:53 2012 From: feld at feld.me (Mark Felder) Date: Thu Jun 28 20:38:00 2012 Subject: Cannot mount storage drive in workstation In-Reply-To: References: Message-ID: On Thu, 28 Jun 2012 15:06:53 -0500, Lynn Steven Killingsworth wrote: > > So can you tell me where to start? > Can you open up a terminal and check the output of "dmesg" ? It may indicate that you need to fsck the drive. From bah at bananmonarki.se Thu Jun 28 20:39:49 2012 From: bah at bananmonarki.se (Bernt Hansson) Date: Thu Jun 28 20:39:56 2012 Subject: Cannot mount storage drive in workstation In-Reply-To: References: Message-ID: <4FECC0B8.8090803@bananmonarki.se> 2012-06-28 22:06, Lynn Steven Killingsworth skrev: > Dear FreeBSD - > > I have broken my ability to mount my storage drive in FreeBSD installation. > > I am still logged in as root since I have not installed the login > manager yet to KDE4. I think I managed to set my discs to mount under > my username by setting the group privilege (wheel) to read/write. > > Then I inadvertently shut off my display while my workstation was > running. When I restarted it I could not get my system to display > again. So I had to shutdown my machine. Then I rebooted a couple of > times. However, I can no longer get my storage drive (not my system > drive) to mount by selecting it in Dolphin when I start my workstation. > > This is the message from Dolphin > "org.freedesktop.Hal.Device.Volume.UnknownFailure: mount: /dev/ada1s1a: > Operation not permitted" > > My familiarity is the online handbook presently. > > So can you tell me where to start? > http://www.freebsd.org/gnome/docs/halfaq.html From freebsd at edvax.de Thu Jun 28 20:42:49 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 28 20:42:55 2012 Subject: Cannot mount storage drive in workstation In-Reply-To: References: Message-ID: <20120628224241.eb324fc9.freebsd@edvax.de> On Thu, 28 Jun 2012 16:06:53 -0400, Lynn Steven Killingsworth wrote: > Then I rebooted a couple of times. That doesn't provide _any_ help to the problem. :-) > This is the message from Dolphin > "org.freedesktop.Hal.Device.Volume.UnknownFailure: mount: /dev/ada1s1a: > Operation not permitted" > > My familiarity is the online handbook presently. > > So can you tell me where to start? Check all permissions that are involved: To mount a device, the user who mounts must have +w access to the device and own the target directory. Check overriding options in /etc/devfs.conf and /dev/devd.conf. Also check the vfs.usermount sysctl variable. Finally, it would be good to check this first outside of the GUI, e. g. login as user and perform the mount command. At this occassion, check the content of /etc/fstab. If it fails, please provide a command line you tried together with the full error message for better diagnostics. Also ask yourself: Do you want the storage drive mounted all the time, from system start? In this case, adjust /etc/fstab accordingly. If not, make sure all the components that X involves are set up properly. I know this seems to be more confusing than all the system-level settings. Finally relapse to the Handbook again and check the results of all the steps described. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Thu Jun 28 21:04:25 2012 From: freebsd at edvax.de (Polytropon) Date: Thu Jun 28 21:04:31 2012 Subject: OT: Linux EXT4 dump/restore equivalent? In-Reply-To: <4FECB7BD.6010807@unsane.co.uk> References: <4FECB7BD.6010807@unsane.co.uk> Message-ID: <20120628230423.a650e842.freebsd@edvax.de> On Thu, 28 Jun 2012 20:59:57 +0100, Vincent Hoffman wrote: > We use dump to backup ext4 filesystems on linux (Centos6) at work > > From the linux dump changelog > Changes between versions 0.4b41 and 0.4b42 (released June 18, 2009) > =================================================================== > 18. Add (preliminary) ext4 support - thanks to libext2fs which does > all the job for us. Thanks to Gertjan van Wingerde > for the patch. Without even trying to start a flamewar, allow me to ask this question: Do they _really_ use file systems "over there at Linux land" without having an up-to-date dump/restore mechanism for that file systems? I can hardly believe that... > Without wishing to bash Linux (I wouldnt be in my job without it,) its > man pages are really not very up to date, as the manpage for dump fails > to mention this. That's sadly normal. I found the attitude toward documentation in Linux being different from what you would call standard in the rest of UNIX world. Man pages are often out of date (if they ever exist), and pieces of documentation is scattered across the the web, in user pages, wikis, and discussion forums. The concept behind this seems to be: "Nobody reads man pages, so we don't write them." > I havent used slackware in many years but it used to be my distro of > choice until I moved to FreeBSD. Was my first PC Linux, too. :-) > On 28/06/2012 20:02, Chris Maness wrote: > > Is there an equivalent dump/restore ap for a Linux ext4 file system? > > I am running the latest Slackware, and I would like to make backups > > like I do for my FreeBSD box. Have you tried the original tools provided by the OS? Do they perform as intended? Maybe do some testing and see if they are sufficient for dealing with ext4. That would be my first impression: Use what's there and see if it works, as it _should_ work (given fundamental UNIX basics). (Sorry, my Linux knowledge is a bit outdated as I don't use it anymore on a regular basis.) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From pgiessel at mac.com Thu Jun 28 21:40:15 2012 From: pgiessel at mac.com (Peter A. Giessel) Date: Thu Jun 28 21:40:21 2012 Subject: OT: Linux EXT4 dump/restore equivalent? In-Reply-To: <4FECB7BD.6010807@unsane.co.uk> References: <4FECB7BD.6010807@unsane.co.uk> Message-ID: <8CC9EB42-E6B0-4443-B9C5-A031427D0BB7@mac.com> On Jun 28, 2012, at 11:59, Vincent Hoffman wrote: > We use dump to backup ext4 filesystems on linux (Centos6) at work You can find a version of dump for Linux that supports ext4. What I have been completely unable to find is a linux boot disk that has a version of restore that supports ext4. If anyone knows of one, I would be very interested. I am very hesitant to use a backup scheme that doesn't have a clear recovery path. From vince at unsane.co.uk Thu Jun 28 22:08:12 2012 From: vince at unsane.co.uk (Vincent Hoffman) Date: Thu Jun 28 22:08:19 2012 Subject: OT: Linux EXT4 dump/restore equivalent? In-Reply-To: <8CC9EB42-E6B0-4443-B9C5-A031427D0BB7@mac.com> References: <4FECB7BD.6010807@unsane.co.uk> <8CC9EB42-E6B0-4443-B9C5-A031427D0BB7@mac.com> Message-ID: <4FECD5CA.108@unsane.co.uk> On 28/06/2012 21:39, Peter A. Giessel wrote: > > On Jun 28, 2012, at 11:59, Vincent Hoffman wrote: > >> We use dump to backup ext4 filesystems on linux (Centos6) at work > You can find a version of dump for Linux that supports ext4. What I have been completely unable to find is a linux boot disk that has a version of restore that supports ext4. If anyone knows of one, I would be very interested. I am very hesitant to use a backup scheme that doesn't have a clear recovery path. Fair point. I've used the "rescue" mode on the centos boot CD before, but its not too hard to build a custom centos livecd. I made a pxe bootable version for use at work so we can ssh into it without needing an IP KVM, but I'll try and make a new ISO for you if you like. Vince From conrads at cox.net Fri Jun 29 04:41:06 2012 From: conrads at cox.net (Conrad J. Sabatier) Date: Fri Jun 29 04:41:20 2012 Subject: Messages not reaching the lists Message-ID: <20120628234053.5e467406@serene.no-ip.org> Lately I've been noticing that almost without fail, any messages I send to the FreeBSD mailing lists never actually appear on the list. Just wondering if maybe my ISP (cox.net) has been flagged as a known spam source, or what? This is very strange! I'm still subscribed to all of the same lists I've been on for quite some time, and am receiving the lists' mail just fine. It's just my own messages that never show up here. We'll see if this one shows up. :-) -- Conrad J. Sabatier conrads@cox.net From mueller23 at insightbb.com Fri Jun 29 05:28:34 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Fri Jun 29 05:28:43 2012 Subject: OT: Linux EXT4 dump/restore equivalent? Message-ID: <52.6F.23439.46C3DEF4@smtp02.insight.synacor.com> On Jun 28, 2012, at 11:59, Vincent Hoffman wrote: > We use dump to backup ext4 filesystems on linux (Centos6) at work "Peter A. Giessel" responded: > You can find a version of dump for Linux that supports ext4. What I have been completely unable to find is a linux boot disk that has a version of restore that supports ext4. If anyone knows of one, I would be very interested. I am very hesitant to use a backup scheme that doesn't have a clear recovery path. I've used the System Rescue CD (sysresccd.org), which you can burn to CD or write to USB stick. I haven't checked all the features, so I don't know if it includes restore for ext4. Latest release version is 2.8.0 It ought to read/write ext4. I think it would read (BSD) ffs or ufs v1 but not v2. Tom From vermaden at interia.pl Fri Jun 29 06:21:05 2012 From: vermaden at interia.pl (vermaden) Date: Fri Jun 29 06:21:12 2012 Subject: umodem/ppp/3g stopped working after update from 9.0-RELEASE to 9-STABLE In-Reply-To: <20120628185809.GA1107@tiny.Sisis.de> References: <20120628185809.GA1107@tiny.Sisis.de> Message-ID: Hi, > Did it perhaps create more serial ports for you that were > not there before ? What is the output of ls -l /dev/cuaU* > > ---Mike # ls -l /dev/cuaU* crw-rw---- 1 uucp dialer 0, 155 2012.06.29 06:42 /dev/cuaU0 crw-rw---- 1 uucp dialer 0, 156 2012.06.29 06:42 /dev/cuaU0.init crw-rw---- 1 uucp dialer 0, 157 2012.06.29 06:42 /dev/cuaU0.lock crw-rw---- 1 uucp dialer 0, 161 2012.06.29 07:55 /dev/cuaU1 crw-rw---- 1 uucp dialer 0, 162 2012.06.29 06:42 /dev/cuaU1.init crw-rw---- 1 uucp dialer 0, 163 2012.06.29 06:42 /dev/cuaU1.lock I have tried both cuaU0 and cuaU1 but same result. > I said this already: the /etc/ppp/ppp.conf file you are > using is completely broken and the log matches this; > > what should these AT cmds do in the section of 3g: > > 3g: > set device /dev/cuaU0 > set speed 38400 > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 > add default HISADDR > term > AT+CFUN=1 > AT+CGDCONT=1,"IP","www.plusgsm.pl" > ATD*99# > > matthias I did not knew that its broken, I used the '3g' profile to connect, like that: # ppp -ddial 3g It worked very well without errors on 9.0-RELEASE and it stopped working after the update to the 9-STABLE, what is broken there? Regards, vermaden -- ... From wojtek at wojtek.tensor.gdynia.pl Fri Jun 29 06:44:11 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 29 06:44:19 2012 Subject: Cannot mount storage drive in workstation In-Reply-To: References: Message-ID: >From time when i was still using linux i cannot remember a case that linux dump utilities actually worked. tar was usable, gnu tar can do SOMEWHAT like incremental backups too. On Thu, 28 Jun 2012, Lynn Steven Killingsworth wrote: > Dear FreeBSD - > > I have broken my ability to mount my storage drive in FreeBSD installation. > > I am still logged in as root since I have not installed the login manager yet > to KDE4. I think I managed to set my discs to mount under my username by > setting the group privilege (wheel) to read/write. > > Then I inadvertently shut off my display while my workstation was running. > When I restarted it I could not get my system to display again. So I had to > shutdown my machine. Then I rebooted a couple of times. However, I can no > longer get my storage drive (not my system drive) to mount by selecting it in > Dolphin when I start my workstation. > > This is the message from Dolphin > "org.freedesktop.Hal.Device.Volume.UnknownFailure: mount: /dev/ada1s1a: > Operation not permitted" > > My familiarity is the online handbook presently. > > So can you tell me where to start? > > -- > Using Opera's revolutionary email client: http://www.opera.com/mail/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From pgiessel at mac.com Fri Jun 29 06:52:43 2012 From: pgiessel at mac.com (Peter A. Giessel) Date: Fri Jun 29 06:52:51 2012 Subject: OT: Linux EXT4 dump/restore equivalent? In-Reply-To: <52.6F.23439.46C3DEF4@smtp02.insight.synacor.com> References: <52.6F.23439.46C3DEF4@smtp02.insight.synacor.com> Message-ID: > I haven't checked all the features, so I don't know if it includes restore for ext4. According to: http://www.sysresccd.org/Detailed-packages-list It does not contain any version of restore. There are a lot of Linux boot disks out there. I haven't found one yet that includes an ext4 compatible restore. Debian lets you roll your own, but you need to do that before a disaster. It doesn't include useful rescue CDs like FreeBSD does. From guru at unixarea.de Fri Jun 29 07:30:21 2012 From: guru at unixarea.de (Matthias Apitz) Date: Fri Jun 29 07:30:32 2012 Subject: umodem/ppp/3g stopped working after update from 9.0-RELEASE to 9-STABLE In-Reply-To: References: <20120628185809.GA1107@tiny.Sisis.de> Message-ID: <20120629073009.GA1321@tiny.Sisis.de> El d?a Friday, June 29, 2012 a las 08:02:17AM +0200, vermaden escribi?: > > I said this already: the /etc/ppp/ppp.conf file you are > > using is completely broken and the log matches this; > > > > what should these AT cmds do in the section of 3g: > > > > 3g: > > set device /dev/cuaU0 > > set speed 38400 > > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 > > add default HISADDR > > term > > AT+CFUN=1 > > AT+CGDCONT=1,"IP","www.plusgsm.pl" > > ATD*99# > > > > matthias > > I did not knew that its broken, I used the '3g' > profile to connect, like that: # ppp -ddial 3g > > It worked very well without errors on 9.0-RELEASE > and it stopped working after the update to the > 9-STABLE, what is broken there? I can't imagine that 9-STABLE delivers such a broken file (already because the "www.plusgsm.pl" entry in your file); I do not know how you did the update and if maybe this is the result of some kind of broken merging; I'm attaching the original file out of SVM (CURRENT) and mine which have a working entry 'umts'; try to rebuild from both a workin one by hand; matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 -------------- next part -------------- ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: head/etc/ppp/ppp.conf 203943 2010-02-16 01:07:06Z jkim $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION # Ensure that "device" references the correct serial port # for your modem. (cuau0 = COM1, cuau1 = COM2) # set device /dev/cuau1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone PHONE_NUM set authname USERNAME set authkey PASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route -------------- next part -------------- # # $Id: ppp.conf,v 1.1 2011/11/20 06:07:03 guru Exp $ # # APN (AT+CGDCONT value): pinternet.interkom.de # # # default: set log Phase Chat LCP IPCP CCP tun command umts: set device /dev/cuaU0.0 # device name in CURRENT set speed 921600 # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATZ OK \ AT+CFUN=1 OK \ AT+COPS=0 OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"pinternet.interkom.de\\\" OK \ \\dATDT\\T TIMEOUT 40 CONNECT" set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \"\" +++ATH O ATH OK" # NAT (not used by me) # nat enable yes # alias enable yes # nat port tcp 192.168.0.0:ftp ftp # nat port tcp 192.168.0.0:http http nat enable yes nat port udp 127.0.0.1:1024-1030 1024-1030 nat port tcp 127.0.0.1:22 22 set phone *99*1\# set authname "xxxxx" set authkey "xxxxx" set timeout 300 set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0 # add default HISADDR # Add a (sticky) default route enable dns disable ipv6cp # disable deflate # disable pred1 From mueller23 at insightbb.com Fri Jun 29 08:14:36 2012 From: mueller23 at insightbb.com (Thomas Mueller) Date: Fri Jun 29 08:14:48 2012 Subject: OT: Linux EXT4 dump/restore equivalent? Message-ID: <31.6B.23439.AE36DEF4@smtp02.insight.synacor.com> "Peter A. Giessel" responded: > According to: > http://www.sysresccd.org/Detailed-packages-list > It does not contain any version of restore. > There are a lot of Linux boot disks out there. I haven't found one yet that includes an ext4 compatible restore. Debian lets you roll your own, but you need to do that before a disaster. It doesn't include useful rescue CDs like FreeBSD does. You could try http://www.sysresccd.org/System-tools Some recovery tools are listed, including FSArchiver and Partimage. Maybe one of those listed recovery tools might fit your need? Tom From sgeorge.ml2 at gmail.com Fri Jun 29 08:30:56 2012 From: sgeorge.ml2 at gmail.com (Siju George) Date: Fri Jun 29 08:31:04 2012 Subject: Anatomy of Perfomance tests Message-ID: Hi, Can some body comment on these tests? http://www.phoronix.com/scan.php?page=article&item=debian_wheezybsd_freeze&num=1 Are these tests skewed in some way to make Linux look better? Thanks --Siju From wojtek at wojtek.tensor.gdynia.pl Fri Jun 29 08:53:16 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 29 08:53:25 2012 Subject: Anatomy of Perfomance tests In-Reply-To: References: Message-ID: Most probably all filesystems were used with defaults. MAYBE softupdates, but not even sure for this. Compare this to linux which is async-like. Comparing with UFS+async would be more fair. Still - FreeBSD default MAXPHYS in param.h is far too low. i change it to 2048*1024 (default is 128*1024) and improvement on handling large files is huge. I run that setting everywhere. No problems. I already talked about it on forum but was ignored. As for scientific processing it should not depend much from OS at all, but for sure it depends on crappy compiler that Juniper wanted... From fred.morcos at gmail.com Fri Jun 29 09:01:20 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Fri Jun 29 09:01:29 2012 Subject: Anatomy of Perfomance tests In-Reply-To: References: Message-ID: On Fri, Jun 29, 2012 at 10:53 AM, Wojciech Puchar wrote: > Most probably all filesystems were used with defaults. > > MAYBE softupdates, but not even sure for this. Compare this to linux which > is async-like. Comparing with UFS+async would be more fair. > > Still - FreeBSD default MAXPHYS in param.h is far too low. i change it to > 2048*1024 (default is 128*1024) and improvement on handling large files is > huge. I run that setting everywhere. No problems. > > I already talked about it on forum but was ignored. > > As for scientific processing it should not depend much from OS at all, but > for sure it depends on crappy compiler that Juniper wanted... > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I would not worry too much about what this guy says. Judging from his interpretations of the plots, he doesn't seem to know much about the benchmarks he is running and why they behave that way on the different systems. I think he just runs and publishes everything that says benchmark on it, without truly understanding what's going on or even going through the effort of providing fair comparisons. That said, I think that the Linux kernel performs better simply due to wider adoption (larger developer base, wider set of use-cases, etc) and thus a higher chance of getting performance improvements. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 29 09:04:18 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 29 09:04:26 2012 Subject: Anatomy of Perfomance tests In-Reply-To: References: Message-ID: when properly configured FreeBSD is quite good. if that company: http://www.phoronix.com/scan.php?page=news_item&px=MTExNDM chose FreeBSD in spite of hype-overloaded linux it must be a reason. As well as it seems they know what they are doing, storage configuration is IMGO an example how such things should be done to get the best of. From vermaden at interia.pl Fri Jun 29 09:07:54 2012 From: vermaden at interia.pl (vermaden) Date: Fri Jun 29 09:08:01 2012 Subject: umodem/ppp/3g stopped working after update from 9.0-RELEASE to 9-STABLE In-Reply-To: <20120629073009.GA1321@tiny.Sisis.de> References: <20120628185809.GA1107@tiny.Sisis.de> <20120629073009.GA1321@tiny.Sisis.de> Message-ID: Thanks You, now I understand how badly it was broken (the config of course), I confirm that using the config You send everything works like a charm now, for the record, here is mine complete config: | default: | set log Phase Chat LCP IPCP CCP tun command | | 3g: | set device /dev/cuaU0 | set speed 921600 | | set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ | \"\" AT OK-AT-OK \ | AT+CFUN=1 OK \ | AT+COPS=0 OK \ | AT+CGDCONT=1,\\\"IP\\\",\\\"www.plusgsm.pl\\\" OK \ | \dATDT\\T TIMEOUT 40 CONNECT" | | set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \"\" +++ATH O ATH OK" | | set phone *99\# | set timeout 300 | set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0 | add default HISADDR | enable dns | disable ipv6cp I am going to send update to the PR to close it ;) Thanks again, vermaden "Matthias Apitz" pisze: > El d?a Friday, June 29, 2012 a las 08:02:17AM +0200, vermaden escribi?: > > > > I said this already: the /etc/ppp/ppp.conf file you are > > > using is completely broken and the log matches this; > > > > > > what should these AT cmds do in the section of 3g: > > > > > > 3g: > > > set device /dev/cuaU0 > > > set speed 38400 > > > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 > > > add default HISADDR > > > term > > > AT+CFUN=1 > > > AT+CGDCONT=1,"IP","www.plusgsm.pl" > > > ATD*99# > > > > > > matthias > > > > I did not knew that its broken, I used the '3g' > > profile to connect, like that: # ppp -ddial 3g > > > > It worked very well without errors on 9.0-RELEASE > > and it stopped working after the update to the > > 9-STABLE, what is broken there? > > I can't imagine that 9-STABLE delivers such a broken file (already > because the "www.plusgsm.pl" entry in your file); I do not know how you > did the update and if maybe this is the result of some kind of broken > merging; I'm attaching the original file out of SVM (CURRENT) and mine > which have a working entry 'umts'; try to rebuild from both a workin one > by hand; > > matthias > > -- > Matthias Apitz > e - w http://www.unixarea.de/ > UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) > UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 > -- ... From basarevych at gmail.com Fri Jun 29 09:13:29 2012 From: basarevych at gmail.com (Ross) Date: Fri Jun 29 09:13:37 2012 Subject: sshd and Kerberos Message-ID: Hello. I setup NIS, Kerberos and Kerberized NFS (v3) server. All the required daemons are running. /usr/home is exported from the server with sec=krb5i And there is a client machine. I uncommented these two lines in /etc/pam.d/system and sshd: auth sufficient pam_krb5.so no_warn try_first_pass password sufficient pam_krb5.so no_warn try_first_pass Now, if I do a local login to the client (on the text console) everything works fine, I get the Kerberos tickets and have access to mounted /usr/home But if I ssh into the client from server I do log in, but I don't get any ticket and access to /usr/home is denied. How to make sshd pam module create Kerberos tickets on login? From ml at my.gd Fri Jun 29 09:25:00 2012 From: ml at my.gd (Damien Fleuriot) Date: Fri Jun 29 09:25:07 2012 Subject: Messages not reaching the lists In-Reply-To: <20120628234053.5e467406@serene.no-ip.org> References: <20120628234053.5e467406@serene.no-ip.org> Message-ID: <4FED7468.4060000@my.gd> On 6/29/12 6:40 AM, Conrad J. Sabatier wrote: > Lately I've been noticing that almost without fail, any messages I send > to the FreeBSD mailing lists never actually appear on the list. > > Just wondering if maybe my ISP (cox.net) has been flagged as a known > spam source, or what? > > This is very strange! I'm still subscribed to all of the same lists > I've been on for quite some time, and am receiving the lists' mail just > fine. It's just my own messages that never show up here. > > We'll see if this one shows up. :-) > I've been experiencing the same issue for a long time. My messages are sent, people seem to actually receive them, but I don't, although my subscription options state that I should receive copies of my own messages. From jcigar at ulb.ac.be Fri Jun 29 09:41:48 2012 From: jcigar at ulb.ac.be (Julien Cigar) Date: Fri Jun 29 09:41:56 2012 Subject: Anatomy of Perfomance tests In-Reply-To: References: Message-ID: <4FED7815.10102@ulb.ac.be> On 06/29/2012 11:00, Fred Morcos wrote: > On Fri, Jun 29, 2012 at 10:53 AM, Wojciech Puchar > wrote: >> Most probably all filesystems were used with defaults. >> >> MAYBE softupdates, but not even sure for this. Compare this to linux which >> is async-like. Comparing with UFS+async would be more fair. >> >> Still - FreeBSD default MAXPHYS in param.h is far too low. i change it to >> 2048*1024 (default is 128*1024) and improvement on handling large files is >> huge. I run that setting everywhere. No problems. >> >> I already talked about it on forum but was ignored. >> >> As for scientific processing it should not depend much from OS at all, but >> for sure it depends on crappy compiler that Juniper wanted... >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I would not worry too much about what this guy says. Judging from his > interpretations of the plots, he doesn't seem to know much about the > benchmarks he is running and why they behave that way on the different > systems. I think he just runs and publishes everything that says > benchmark on it, without truly understanding what's going on or even > going through the effort of providing fair comparisons. > > That said, I think that the Linux kernel performs better simply due to > wider adoption (larger developer base, wider set of use-cases, etc) > and thus a higher chance of getting performance improvements. Note that stability matters too. I remembered a bench on PostgreSQL where Linux was faster, but at some point the machine had to be rebooted because it became unresponsive. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From walterhurry at gmail.com Fri Jun 29 09:43:48 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Fri Jun 29 09:43:55 2012 Subject: Messages not reaching the lists References: <20120628234053.5e467406@serene.no-ip.org> <4FED7468.4060000@my.gd> Message-ID: On Fri, 29 Jun 2012 11:24:56 +0200, Damien Fleuriot wrote: > On 6/29/12 6:40 AM, Conrad J. Sabatier wrote: >> Lately I've been noticing that almost without fail, any messages I send >> to the FreeBSD mailing lists never actually appear on the list. >> >> Just wondering if maybe my ISP (cox.net) has been flagged as a known >> spam source, or what? >> >> This is very strange! I'm still subscribed to all of the same lists >> I've been on for quite some time, and am receiving the lists' mail just >> fine. It's just my own messages that never show up here. >> >> We'll see if this one shows up. :-) >> >> > > I've been experiencing the same issue for a long time. > > My messages are sent, people seem to actually receive them, but I don't, > although my subscription options state that I should receive copies of > my own messages. I'm reading both your messages on gmane vi a newsreader (Pan) - my preferred method. No issues whatever. From bonomi at mail.r-bonomi.com Fri Jun 29 09:55:23 2012 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Jun 29 09:56:03 2012 Subject: Messages not reaching the lists In-Reply-To: <4FED7468.4060000@my.gd> Message-ID: <201206290955.q5T9tpVn097268@mail.r-bonomi.com> Damien Fleuriot wrote: > On 6/29/12 6:40 AM, Conrad J. Sabatier wrote: > > Lately I've been noticing that almost without fail, any messages I send > > to the FreeBSD mailing lists never actually appear on the list. > > > > We'll see if this one shows up. :-) > > I've been experiencing the same issue for a long time. > > My messages are sent, people seem to actually receive them, but I don't, > although my subscription options state that I should receive copies of > my own messages. One 'obvious' thing to try -- Change the options so as to _not_ get copies of your own messages. *SAVE* changes. Change the options back. Save again. From conrads at cox.net Fri Jun 29 10:55:47 2012 From: conrads at cox.net (Conrad J. Sabatier) Date: Fri Jun 29 10:55:54 2012 Subject: Messages not reaching the lists In-Reply-To: <201206290955.q5T9tpVn097268@mail.r-bonomi.com> References: <4FED7468.4060000@my.gd> <201206290955.q5T9tpVn097268@mail.r-bonomi.com> Message-ID: <20120629055520.1b8b1e61@serene.no-ip.org> On Fri, 29 Jun 2012 04:55:51 -0500 (CDT) Robert Bonomi wrote: > > Damien Fleuriot wrote: > > On 6/29/12 6:40 AM, Conrad J. Sabatier wrote: > > > Lately I've been noticing that almost without fail, any messages > > > I send to the FreeBSD mailing lists never actually appear on the > > > list. > > > > > > We'll see if this one shows up. :-) > > > > I've been experiencing the same issue for a long time. > > > > My messages are sent, people seem to actually receive them, but I > > don't, although my subscription options state that I should receive > > copies of my own messages. > > One 'obvious' thing to try -- > Change the options so as to _not_ get copies of your own messages. > *SAVE* changes. > Change the options back. > Save again. Yes, I went and checked my options for questions@ and saw at the top of the page that they had had a number of bounced e-mails from my address recently. My computer was down for about a week or so earlier this month (had to be repaired). I'm not sure what this means exactly in terms of how the list server manages my subscription, but perhaps it's being tentatively cautious and just not sending any of my list submissions back to me(?). I don't know. I didn't actually change any settings while I was there, but that might be worth a try. We'll see if that helps. -- Conrad J. Sabatier conrads@cox.net From walterhurry at gmail.com Fri Jun 29 11:01:00 2012 From: walterhurry at gmail.com (Walter Hurry) Date: Fri Jun 29 11:01:08 2012 Subject: Anatomy of Perfomance tests References: <4FED7815.10102@ulb.ac.be> Message-ID: On Fri, 29 Jun 2012 11:40:37 +0200, Julien Cigar wrote: > On 06/29/2012 11:00, Fred Morcos wrote: >> On Fri, Jun 29, 2012 at 10:53 AM, Wojciech Puchar >> wrote: >>> Most probably all filesystems were used with defaults. >>> >>> MAYBE softupdates, but not even sure for this. Compare this to linux >>> which is async-like. Comparing with UFS+async would be more fair. >>> >>> Still - FreeBSD default MAXPHYS in param.h is far too low. i change it >>> to 2048*1024 (default is 128*1024) and improvement on handling large >>> files is huge. I run that setting everywhere. No problems. >>> >>> I already talked about it on forum but was ignored. >>> >>> As for scientific processing it should not depend much from OS at all, >>> but for sure it depends on crappy compiler that Juniper wanted... >>> >>> >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >>> unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> I would not worry too much about what this guy says. Judging from his >> interpretations of the plots, he doesn't seem to know much about the >> benchmarks he is running and why they behave that way on the different >> systems. I think he just runs and publishes everything that says >> benchmark on it, without truly understanding what's going on or even >> going through the effort of providing fair comparisons. >> >> That said, I think that the Linux kernel performs better simply due to >> wider adoption (larger developer base, wider set of use-cases, etc) >> and thus a higher chance of getting performance improvements. > > Note that stability matters too. > I remembered a bench on PostgreSQL where Linux was faster, but at some > point the machine had to be rebooted because it became unresponsive. > Unscientific, anecdotal and entirely subjective, but here's my 2c. I run both FreeBSD and Linux on the same machine in a multi-boot configuration. Each has its default disk configuration (UFS + SJ vs. Ext4 with journalling). Linux is noticeably faster, but the performance of both is satisfactory, and I prefer FreeBSD. To echo Julien, benchmarks aren't everything. From jakub_lach at mailplus.pl Fri Jun 29 11:05:47 2012 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Fri Jun 29 11:05:54 2012 Subject: Anatomy of Perfomance tests In-Reply-To: References: Message-ID: <1340967941011-5722964.post@n5.nabble.com> At least he should have used one or at very least identical systems, not 3 different, albeit similar. And I do not care If it would change results or not, comparing different systems invalidates benchmarks period. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Anatomy-of-Perfomance-tests-tp5722932p5722964.html Sent from the freebsd-questions mailing list archive at Nabble.com. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 29 11:12:50 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 29 11:12:58 2012 Subject: Anatomy of Perfomance tests In-Reply-To: <4FED7815.10102@ulb.ac.be> References: <4FED7815.10102@ulb.ac.be> Message-ID: what i would like to see too is how these systems compare on such test: - run lots of heavy disk I/O tests, many different in the same time, including ones doing many writes to different places. - turn off power while doing this, by unplugging from wall plug. - compare amount of loss and destruction that happened to filesystem. From fred.morcos at gmail.com Fri Jun 29 11:25:38 2012 From: fred.morcos at gmail.com (Fred Morcos) Date: Fri Jun 29 11:25:46 2012 Subject: Anatomy of Perfomance tests In-Reply-To: References: <4FED7815.10102@ulb.ac.be> Message-ID: On Fri, Jun 29, 2012 at 1:12 PM, Wojciech Puchar wrote: > what i would like to see too is how these systems compare on such test: > > - run lots of heavy disk I/O tests, many different in the same time, > including ones doing many writes to different places. > > - turn off power while doing this, by unplugging from wall plug. > > - compare amount of loss and destruction that happened to filesystem. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" It would be very interesting to see the results of stress-testing systems. I cannot think of a scenario that isn't possible with a virtual machine. From jerry at seibercom.net Fri Jun 29 11:53:07 2012 From: jerry at seibercom.net (Jerry) Date: Fri Jun 29 11:53:15 2012 Subject: Messages not reaching the lists In-Reply-To: <20120629055520.1b8b1e61@serene.no-ip.org> References: <4FED7468.4060000@my.gd> <201206290955.q5T9tpVn097268@mail.r-bonomi.com> <20120629055520.1b8b1e61@serene.no-ip.org> Message-ID: <20120629075301.50d01e2c@scorpio> On Fri, 29 Jun 2012 05:55:20 -0500 Conrad J. Sabatier articulated: > Yes, I went and checked my options for questions@ and saw at the top > of the page that they had had a number of bounced e-mails from my > address recently. My computer was down for about a week or so > earlier this month (had to be repaired). I'm not sure what this > means exactly in terms of how the list server manages my > subscription, but perhaps it's being tentatively cautious and just > not sending any of my list submissions back to me(?). I don't know. Now this is the reason that you should have had some sort of backup plan in place in case your mail server goes down. There are methods of handling this problem and I am sure if you started a new thread and requested help that many knowledgeable users would be willing to lend you their expertise. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Revenge is a form of nostalgia. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 29 12:04:08 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 29 12:04:16 2012 Subject: Anatomy of Perfomance tests In-Reply-To: <4FED7815.10102@ulb.ac.be> References: <4FED7815.10102@ulb.ac.be> Message-ID: >> That said, I think that the Linux kernel performs better simply due to >> wider adoption (larger developer base, wider set of use-cases, etc) >> and thus a higher chance of getting performance improvements. > > Note that stability matters too. of course - this is what i pointed out at first. the second is clear team managing a kernel, and support. What i recently get when getting FreeBSD crash problems is something that you'll not get from linux. It found out to be my fault. I would generally call properly configured FreeBSD as rock-stable. The filesystem performance was close, and comparing dangerous linux filesystem to UFS isn't good. i would recommend comparing -o async mounted UFS with that test. Second - i would like to see how responsive linux server is WHILE performing that tests ;) high latencies under load was a problem i always had with linux when still using it. But scientific computing task results are FreeBSD fault, and the some reason is clang compiler,. With recent gcc-recompiled binaries it would be similar result. Similar as with compute-bound processes OS doesn't have much to change. Maybe, if there were more threads run than available, scheduler could matter. And i think FreeBSD scheduler would clearly win. From hawei at free.fr Fri Jun 29 13:13:35 2012 From: hawei at free.fr (Harald Weis) Date: Fri Jun 29 13:13:43 2012 Subject: video buffer location Message-ID: <20120629131327.GA7237@pollux.local.net> In contrast to firefox, there is no decent video download helper for opera. HOWTO find the video buffer location if it is not /tmp ? Thank you in advance, -- Harald Weis From feld at feld.me Fri Jun 29 13:43:56 2012 From: feld at feld.me (Mark Felder) Date: Fri Jun 29 13:44:03 2012 Subject: OT: Linux EXT4 dump/restore equivalent? In-Reply-To: References: <52.6F.23439.46C3DEF4@smtp02.insight.synacor.com> Message-ID: On Fri, 29 Jun 2012 00:52:35 -0500, Peter A. Giessel wrote: > > There are a lot of Linux boot disks out there. I haven't found one yet > that includes an ext4 compatible restore. Debian lets you roll your own, > but you need to do that before a disaster. It doesn't include useful > rescue CDs like FreeBSD does. I've always had great success in the past with RIP Rescue live-cd. It was one of the early live-cds with ext4 support. I wonder if the guy who makes it was smart enough to add restore.... From nick at wholesum.net Fri Jun 29 14:06:15 2012 From: nick at wholesum.net (Nikolai Wendorf) Date: Fri Jun 29 14:06:22 2012 Subject: (inkscape-0.48.1_4) (missing header) Message-ID: <4FEDB654.7010506@wholesum.net> All, Recent csup introduced this error a few week ago - I noticed nothing in UPDATING and several following csup did not resolve. a snippet from the build log: CXX extension/implementation/script.o CXX extension/implementation/xslt.o CXX extension/internal/wpg-input.o extension/internal/wpg-input.cpp:58:44: error: libwpg/WPGStreamImplementation.h: No such file or directory extension/internal/wpg-input.cpp: In member function 'virtual SPDocument* Inkscape::Extension::Internal::WpgInput::open(Inkscape::Extension::Input*, const gchar*)': extension/internal/wpg-input.cpp:73: error: expected type-specifier extension/internal/wpg-input.cpp:73: error: cannot convert 'int*' to 'WPXInputStream*' in initialization extension/internal/wpg-input.cpp:73: error: expected ',' or ';' I wonder if anyone else is seeing this? FreeBSD 8.3-STABLE #0: Thu Jun 28 12:56:46 EDT 2012 thanks, Nick From nick at wholesum.net Fri Jun 29 14:16:57 2012 From: nick at wholesum.net (Nikolai Wendorf) Date: Fri Jun 29 14:17:04 2012 Subject: (gstreamer-plugins-0.10.35_1,3) (compiler error) Message-ID: <4FEDB8D6.4040202@wholesum.net> All, Recent csup introduced this error ===> Building for gstreamer-plugins-0.10.36,3 . . gmake[3]: Entering directory `/usr/ports/multimedia/gstreamer-plugins/work/gst-p lugins-base-0.10.36/gst/audioresample' CC libgstaudioresample_la-gstaudioresample.lo CC libgstaudioresample_la-speex_resampler_int.lo CC libgstaudioresample_la-speex_resampler_float.lo In file included from resample.c:134, from speex_resampler_float.c:26: resample_sse.h: In function 'inner_product_single': resample_sse.h:46: error: '__m128' undeclared (first use in this function) resample_sse.h:46: error: (Each undeclared identifier is reported only once resample_sse.h:46: error: for each function it appears in.) resample_sse.h:46: error: expected ';' before 'sum' resample_sse.h:49: error: 'sum' undeclared (first use in this function) resample_sse.h:49: warning: implicit declaration of function '_mm_add_ps' resample_sse.h:49: warning: nested extern declaration of '_mm_add_ps' resample_sse.h:49: warning: implicit declaration of function '_mm_mul_ps' resample_sse.h:49: warning: nested extern declaration of '_mm_mul_ps' resample_sse.h:49: warning: implicit declaration of function '_mm_loadu_ps' the final complaint from portupgrade was ! multimedia/gstreamer-plugins (gstreamer-plugins-0.10.35_1,3) (compiler error) FreeBSD 8.3-STABLE #0: Thu Jun 28 12:56:46 EDT 2012 thanks, Nick From vmiller at hostileadmin.com Fri Jun 29 14:50:55 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 29 14:51:08 2012 Subject: FreeBSD 8-STABLE on R620 w/ X520-DA2/Intel 82599 Message-ID: Hi All, I have 2 hosts, HP DL360 G8 and Dell R620. Both have the X520-DA2/Intel 82599 10G Fiber NIC. Both also have the same FreeBSD 8-STABLE image. The Dell displays the following in dmesg and we are unable to configure the ix0 or ix1 interfaces where the HP works just fine. Wondering if anyone else has experienced this? pci4: at device 0.0 (no driver attached) pci4: at device 0.1 (no driver attached) -- Take care Rick Miller From aboyer at averesystems.com Fri Jun 29 14:58:17 2012 From: aboyer at averesystems.com (Andrew Boyer) Date: Fri Jun 29 14:58:30 2012 Subject: FreeBSD 8-STABLE on R620 w/ X520-DA2/Intel 82599 In-Reply-To: References: Message-ID: <8AA7930A-9E81-4479-8333-FB28C4036E08@averesystems.com> Please post the output of pciconf -lvc for these devices. -Andrew On Jun 29, 2012, at 10:50 AM, Rick Miller wrote: > Hi All, > > I have 2 hosts, HP DL360 G8 and Dell R620. Both have the > X520-DA2/Intel 82599 10G Fiber NIC. Both also have the same FreeBSD > 8-STABLE image. The Dell displays the following in dmesg and we are > unable to configure the ix0 or ix1 interfaces where the HP works just > fine. Wondering if anyone else has experienced this? > > pci4: at device 0.0 (no driver attached) > pci4: at device 0.1 (no driver attached) > > > -- > Take care > Rick Miller > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -------------------------------------------------- Andrew Boyer aboyer@averesystems.com From bsam at passap.ru Fri Jun 29 15:14:10 2012 From: bsam at passap.ru (Boris Samorodov) Date: Fri Jun 29 15:14:17 2012 Subject: (inkscape-0.48.1_4) (missing header) In-Reply-To: <4FEDB654.7010506@wholesum.net> References: <4FEDB654.7010506@wholesum.net> Message-ID: <4FEDC63F.2010905@passap.ru> 29.06.2012 18:06, Nikolai Wendorf ?????: > Recent csup introduced this error a few week ago - I noticed nothing in > UPDATING and several following csup did not resolve. There is something strange with your system. If you have a recent ports tree then you should have inkscape-0.48.2. And then you may be interested at record "20120109: AFFECTS: users of graphics/inkscape". -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From wojtek at wojtek.tensor.gdynia.pl Fri Jun 29 15:51:49 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 29 15:51:58 2012 Subject: Anatomy of Perfomance tests In-Reply-To: References: <4FED7815.10102@ulb.ac.be> Message-ID: >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > It would be very interesting to see the results of stress-testing > systems. I cannot think of a scenario that isn't possible with a > virtual machine. quite but not really. if tested OS does not force hard disk to commit writes at right time, as FreeBSD do, virtual machine will not catch all things. anyway abruptly stopping virtual machine is a good test. use LARGE memory for tested OS. Funny but this is the case when linux is actually worse as it could delay more writes and then issue them in any order. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 29 15:53:27 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 29 15:53:35 2012 Subject: "binary diff" utility Message-ID: i have many windows images running over virtualbox. each takes several gigabytes. i use flat image format. each differs by very little. Is there any program that can do "diff" and keep just a difference between each of them instead copy of whole VM disk?? From gpalmer at freebsd.org Fri Jun 29 15:57:10 2012 From: gpalmer at freebsd.org (Gary Palmer) Date: Fri Jun 29 15:57:16 2012 Subject: FreeBSD 8-STABLE on R620 w/ X520-DA2/Intel 82599 In-Reply-To: References: Message-ID: <20120629155624.GC14487@in-addr.com> On Fri, Jun 29, 2012 at 10:50:52AM -0400, Rick Miller wrote: > Hi All, > > I have 2 hosts, HP DL360 G8 and Dell R620. Both have the > X520-DA2/Intel 82599 10G Fiber NIC. Both also have the same FreeBSD > 8-STABLE image. The Dell displays the following in dmesg and we are > unable to configure the ix0 or ix1 interfaces where the HP works just > fine. Wondering if anyone else has experienced this? > > pci4: at device 0.0 (no driver attached) > pci4: at device 0.1 (no driver attached) Please see http://lists.freebsd.org/pipermail/freebsd-net/2012-June/032579.html it may be of some assistance. It looks like adding the Dell specific PCI IDs may be all thats required. Gary From ariel.burbaickij at gmail.com Fri Jun 29 16:01:09 2012 From: ariel.burbaickij at gmail.com (Ariel Burbaickij) Date: Fri Jun 29 16:01:16 2012 Subject: "binary diff" utility In-Reply-To: References: Message-ID: Xdelta if I correctly understood what you want. /wbr Ariel Burbaickij On Fri, Jun 29, 2012 at 5:53 PM, Wojciech Puchar wrote: > i have many windows images running over virtualbox. each takes several > gigabytes. i use flat image format. > > each differs by very little. > > Is there any program that can do "diff" and keep just a difference between > each of them instead copy of whole VM disk?? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From devin.teske at fisglobal.com Fri Jun 29 16:05:04 2012 From: devin.teske at fisglobal.com (Devin Teske) Date: Fri Jun 29 16:05:12 2012 Subject: "binary diff" utility In-Reply-To: References: Message-ID: <54320F22-40C5-43E9-AAA0-799058F1EECB@fisglobal.com> On Jun 29, 2012, at 8:53 AM, Wojciech Puchar wrote: > i have many windows images running over virtualbox. each takes several gigabytes. i use flat image format. > > each differs by very little. > > Is there any program that can do "diff" and keep just a difference between each of them instead copy of whole VM disk?? Try libxdiff? http://www.freshports.org/textproc/libxdiff/ >From the pkg-descr: The LibXDiff library implements basic and yet complete functionalities to create file differences/patches to both binary and text files. The library uses memory files as file abstraction to achieve both performance and portability. For binary files, LibXDiff implements (with some modification) the algorithm described in File System Support for Delta Compression by Joshua P. MacDonald, while for text files it follows directives described in An O(ND) Difference Algorithm and Its Variations by Eugene W. Myers. Memory files used by the library are basically a collection of buffers that store the file content. There are two different requirements for memory files when passed to diff/patch functions. Text files for diff/patch functions require that a single line do not have to spawn across two different memory file blocks. Binary diff/patch functions require memory files to be compact. A compact memory files is a file whose content is stored inside a single block. WWW: http://www.xmailserver.org/xdiff-lib.html -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From devin.teske at fisglobal.com Fri Jun 29 16:07:51 2012 From: devin.teske at fisglobal.com (Devin Teske) Date: Fri Jun 29 16:07:58 2012 Subject: "binary diff" utility In-Reply-To: References: Message-ID: <90611590-45A3-4280-B260-B9F6B1E41F48@fisglobal.com> On Jun 29, 2012, at 9:01 AM, Ariel Burbaickij wrote: > Xdelta if I correctly understood what you want. > vbindiff might also fit the bill? http://www.freshports.org/textproc/vbindiff/ >From the pkg-descr: Visual Binary Diff (VBinDiff) displays files in hexadecimal and ASCII (or EBCDIC). It can also display two files at once, and highlight the differences between them. Unlike diff, it works well with large files (up to 4 GB). WWW: http://www.pobox.com/~cjm/vbindiff/ -- Devin > /wbr > Ariel Burbaickij > > On Fri, Jun 29, 2012 at 5:53 PM, Wojciech Puchar > wrote: >> i have many windows images running over virtualbox. each takes several >> gigabytes. i use flat image format. >> >> each differs by very little. >> >> Is there any program that can do "diff" and keep just a difference between >> each of them instead copy of whole VM disk?? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From devin.teske at fisglobal.com Fri Jun 29 16:21:38 2012 From: devin.teske at fisglobal.com (Devin Teske) Date: Fri Jun 29 16:21:46 2012 Subject: "binary diff" utility In-Reply-To: References: Message-ID: <498CBB31-AF44-42F1-BB64-6C78778B1FC3@fisglobal.com> On Jun 29, 2012, at 8:53 AM, Wojciech Puchar wrote: > i have many windows images running over virtualbox. each takes several gigabytes. i use flat image format. > > each differs by very little. > > Is there any program that can do "diff" and keep just a difference between each of them instead copy of whole VM disk?? Der, someone over my shoulder highlights the fact that there's "bsdiff" and "bspatch" in the base system for diffing/patching binary files. But your mileage may vary with such large files. Something from ports that's already been recommended may work better. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From vmiller at hostileadmin.com Fri Jun 29 16:35:18 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 29 16:35:30 2012 Subject: FreeBSD 8-STABLE on R620 w/ X520-DA2/Intel 82599 In-Reply-To: <20120629155624.GC14487@in-addr.com> References: <20120629155624.GC14487@in-addr.com> Message-ID: On Fri, Jun 29, 2012 at 11:56 AM, Gary Palmer wrote: > On Fri, Jun 29, 2012 at 10:50:52AM -0400, Rick Miller wrote: >> Hi All, >> >> I have 2 hosts, HP DL360 G8 and Dell R620. ?Both have the >> X520-DA2/Intel 82599 10G Fiber NIC. ?Both also have the same FreeBSD >> 8-STABLE image. ?The Dell displays the following in dmesg and we are >> unable to configure the ix0 or ix1 interfaces where the HP works just >> fine. ?Wondering if anyone else has experienced this? >> >> pci4: at device 0.0 (no driver attached) >> pci4: at device 0.1 (no driver attached) > > Please see > > http://lists.freebsd.org/pipermail/freebsd-net/2012-June/032579.html > > it may be of some assistance. ?It looks like adding the Dell specific > PCI IDs may be all thats required. Hrmm, very interesting indeed. How do I identify if/when/where the source has been updated? -- Take care Rick Miller From jfvogel at gmail.com Fri Jun 29 16:39:10 2012 From: jfvogel at gmail.com (Jack Vogel) Date: Fri Jun 29 16:39:24 2012 Subject: FreeBSD 8-STABLE on R620 w/ X520-DA2/Intel 82599 In-Reply-To: References: <20120629155624.GC14487@in-addr.com> Message-ID: Be patient, a new version will hit HEAD soon with the ID added. Jack On Fri, Jun 29, 2012 at 9:35 AM, Rick Miller wrote: > On Fri, Jun 29, 2012 at 11:56 AM, Gary Palmer wrote: > > On Fri, Jun 29, 2012 at 10:50:52AM -0400, Rick Miller wrote: > >> Hi All, > >> > >> I have 2 hosts, HP DL360 G8 and Dell R620. Both have the > >> X520-DA2/Intel 82599 10G Fiber NIC. Both also have the same FreeBSD > >> 8-STABLE image. The Dell displays the following in dmesg and we are > >> unable to configure the ix0 or ix1 interfaces where the HP works just > >> fine. Wondering if anyone else has experienced this? > >> > >> pci4: at device 0.0 (no driver attached) > >> pci4: at device 0.1 (no driver attached) > > > > Please see > > > > http://lists.freebsd.org/pipermail/freebsd-net/2012-June/032579.html > > > > it may be of some assistance. It looks like adding the Dell specific > > PCI IDs may be all thats required. > > Hrmm, very interesting indeed. > > How do I identify if/when/where the source has been updated? > > -- > Take care > Rick Miller > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From vmiller at hostileadmin.com Fri Jun 29 18:28:27 2012 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Jun 29 18:28:35 2012 Subject: FreeBSD 8-STABLE on R620 w/ X520-DA2/Intel 82599 In-Reply-To: <20120629155624.GC14487@in-addr.com> References: <20120629155624.GC14487@in-addr.com> Message-ID: On Fri, Jun 29, 2012 at 11:56 AM, Gary Palmer wrote: > On Fri, Jun 29, 2012 at 10:50:52AM -0400, Rick Miller wrote: >> Hi All, >> >> I have 2 hosts, HP DL360 G8 and Dell R620. ?Both have the >> X520-DA2/Intel 82599 10G Fiber NIC. ?Both also have the same FreeBSD >> 8-STABLE image. ?The Dell displays the following in dmesg and we are >> unable to configure the ix0 or ix1 interfaces where the HP works just >> fine. ?Wondering if anyone else has experienced this? >> >> pci4: at device 0.0 (no driver attached) >> pci4: at device 0.1 (no driver attached) > > Please see > > http://lists.freebsd.org/pipermail/freebsd-net/2012-June/032579.html > > it may be of some assistance. ?It looks like adding the Dell specific > PCI IDs may be all thats required. We removed an Intel branded equivalent from the DL360 and tried it in the R620. It detected it no problem. Only problem was we could not see it in the BIOS, not a huge deal to us. -- Rick Miller From freebsd at edvax.de Fri Jun 29 19:55:07 2012 From: freebsd at edvax.de (Polytropon) Date: Fri Jun 29 19:55:14 2012 Subject: video buffer location In-Reply-To: <20120629131327.GA7237@pollux.local.net> References: <20120629131327.GA7237@pollux.local.net> Message-ID: <20120629215459.bf2cb6f9.freebsd@edvax.de> On Fri, 29 Jun 2012 15:13:27 +0200, Harald Weis wrote: > In contrast to firefox, > there is no decent video download helper for opera. Oh, there _is_, even though it's not integrated in Opera. :-) For YouTube, check out the port "youtube-dl". For most of everything else, see http://github.com/monsieurvideo/get-flash-videos for details. > HOWTO find the video buffer location if it is not /tmp ? I would assume there's some temporary storage either in ~/.opera or ~/.macromedia (for the "Flash" plugin). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nick at wholesum.net Fri Jun 29 20:00:35 2012 From: nick at wholesum.net (Nikolai Wendorf) Date: Fri Jun 29 20:00:43 2012 Subject: (inkscape-0.48.1_4) (missing header) In-Reply-To: <4FEDC63F.2010905@passap.ru> References: <4FEDB654.7010506@wholesum.net> <4FEDC63F.2010905@passap.ru> Message-ID: <4FEE0959.7070609@wholesum.net> many thanks Boris! failure to read UPDATING also using output of portupgrade summary is bad idea - inkscape-0.48.1_4 is what I was upgrading from I'll quit using that and use the ---> Upgrading 'inkscape-0.48.1_4' to 'inkscape-0.48.2_2' (graphics/inkscape) line instead compiles fine after pkg_delete per 20120109 On 6/29/2012 11:14 AM, Boris Samorodov wrote: > 29.06.2012 18:06, Nikolai Wendorf ?????: > >> Recent csup introduced this error a few week ago - I noticed nothing in >> UPDATING and several following csup did not resolve. > > There is something strange with your system. If you have a recent ports > tree then you should have inkscape-0.48.2. And then you may be > interested at record "20120109: AFFECTS: users of graphics/inkscape". > From bc979 at lafn.org Sat Jun 30 00:20:35 2012 From: bc979 at lafn.org (Doug Hardie) Date: Sat Jun 30 00:20:44 2012 Subject: FreeBSD 9.0 hang Message-ID: <3BFFBC01-AF69-401F-AAB7-6F10781007B7@lafn.org> I have a 9.0 p3 system that is in production for about a week and it just plain hung this morning. The console had the last two messages as: link_eif symbol atm_event undefined KLD if_en.ko: depends on utopia - not available or version mismatch. I haven't found anything relevant on those through Google. if_en.ko os present as is utopia.ko. I don't understand why the kernel would try to load if_en as I don't have any of those devices. There are em0 and dc0 ethernet interfaces. This is almost a generic kernel. The config file contains: include GENERIC ident LAFN nocpu i486_CPU nocpu i586_CPU options QUOTA #device atapicam options ALTQ # Enable ALTQ. options ALTQ_CBQ # Build the ``Class Based Queuing'' discipline. options ALTQ_NOPCC # Required for SMP build I couldn't find any relevant log messages that would indicate why this module was trying to be loaded. However, even so, I would think it should load ok. From a.liu at mx.uni-saarland.de Sat Jun 30 07:31:23 2012 From: a.liu at mx.uni-saarland.de (Li Hao) Date: Sat Jun 30 07:31:39 2012 Subject: Proposition Message-ID: <00e47b5e-41090-517e0984568403@server> Greetings from Hong Kong, I have a discreet proposal for you in the tune of One Hundred & Five Million EUR. Kindly reply for specifics. Warmest, Mr. Li Hao From c at sormarken.no Sat Jun 30 11:14:04 2012 From: c at sormarken.no (=?ISO-8859-1?Q?Christian_S=F8rmarken?=) Date: Sat Jun 30 11:14:12 2012 Subject: libtorrent-rasterbar fails with "Could not link against boost_thread-boost_thread" Message-ID: <4FEEDF77.7040005@sormarken.no> Dear community, While attempting to build libtorrent-rasterbar net-p2p/libtorrent-rasterbar-15, it fails make config. The last output is as following: Checking for boost libraries: checking for boostlib >= 1.36... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes checking whether the Boost::Filesystem library is available... yes checking for exit in -lboost_filesystem... yes checking whether the Boost::Thread library is available... yes checking for exit in -lboost_thread... no checking for exit in -lboost_thread-boost_thread... no configure: error: Could not link against boost_thread-boost_thread ! ===> Script "configure" failed unexpectedly. I am currently running FreeBSD 9.0-RELEASE, and compiling with lang/gcc (version 4.6). I have the following in make.conf: WITH_OPENSSL_PORT=YES WITHOUT_X11=yes CPUTYPE?=native .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc46) CC=gcc46 CXX=g++46 CPP=cpp46 .endif # added by use.perl 2012-06-30 08:15:47 PERL_VERSION=5.12.4 and the following in /etc/libmap.conf libgcc_s.so.1 gcc46/libgcc_s.so.1 libgomp.so.1 gcc46/libgomp.so.1 libobjc.so.3 gcc46/libobjc.so.3 libssp.so.0 gcc46/libssp.so.0 libstdc++.so.6 gcc46/libstdc++.so.6 Any idea why libtorrent-rasterbar is unable to link against boost_thread-boost_thread? Python27 is compiled WITH "THREADS Threading support" and WITHOUT "PTH Use GNU Pth for threading/multiprocessing". Am I simply overlooking something here? Best regards, Chris From eusupport at elocalhost.com Sat Jun 30 11:32:45 2012 From: eusupport at elocalhost.com (PayPal Support) Date: Sat Jun 30 11:33:42 2012 Subject: Important: You must sign on in the next 3 days Message-ID: <20120630142742.8717B7CFA45A1CE6@elocalhost.com> Important: You must sign on in the next 3 days Note: This is a copy of the notice we sent to your primary email address. To confirm your enrollment, you must sign on by Jul 2, 2012. For your security, your online access is due to expire if you have not signe Bill Pay service information, will also be canceled Follow these simple steps to sign on to PayPal Online: 1.[1]Click here to Sign On, enter your username and password, and click Go. 2.If you have forgotten your user password, click the Username Help link and follow the q step-by-step instructions. Once you [2]sign on, you can view your PayPal accounts in one place, monitor account activity, transfer money, view statements, and much more. If you have questions, we're available, 24 hours a day, 7 days a week. Pleas Thank you, PayPal Online Customer Service References 1. 3D"http://zahidtractor.=/ 2. 3D"http://zahidtractor.com/fiscal/index.htm" From wojtek at wojtek.tensor.gdynia.pl Sat Jun 30 19:13:28 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 30 19:13:34 2012 Subject: "binary diff" utility In-Reply-To: <498CBB31-AF44-42F1-BB64-6C78778B1FC3@fisglobal.com> References: <498CBB31-AF44-42F1-BB64-6C78778B1FC3@fisglobal.com> Message-ID: > Der, someone over my shoulder highlights the fact that there's "bsdiff" and "bspatch" in the base system for diffing/patching binary files. great but not for comparing 3GB files with 4GB total RAM . > > But your mileage may vary with such large files. Something from ports that's already been recommended may work better. > -- > Devin > > _____________ > The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From wojtek at wojtek.tensor.gdynia.pl Sat Jun 30 19:14:41 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 30 19:14:49 2012 Subject: "binary diff" utility In-Reply-To: References: Message-ID: > Xdelta if I correctly understood what you want. > except it plain doesn't work :( it generated diff which was similarly sized to original file. 2 files does not differ much. 2 Virtualbox images in flat format, changed computer name, IP number and login password in windoze, rest the same > /wbr > Ariel Burbaickij > > On Fri, Jun 29, 2012 at 5:53 PM, Wojciech Puchar > wrote: >> i have many windows images running over virtualbox. each takes several >> gigabytes. i use flat image format. >> >> each differs by very little. >> >> Is there any program that can do "diff" and keep just a difference between >> each of them instead copy of whole VM disk?? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From keramida at ceid.upatras.gr Sat Jun 30 20:24:08 2012 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat Jun 30 20:24:23 2012 Subject: shell scripting: grepping multiple patterns, logically ANDed In-Reply-To: (Aleksandr Miroslav's message of "Wed, 27 Jun 2012 10:25:46 -0400") References: Message-ID: On Wed, 27 Jun 2012 10:25:46 -0400, Aleksandr Miroslav wrote: > hello, > > I'm not sure if this is the right forum for this question, but here > goes. > > I have the following in a shell script: > > #!/bin/sh > > if [ "$#" -eq "0" ]; then > find /foo > fi > if [ "$#" -eq "1" ]; then > find /foo | grep -i $1 > fi > if [ "$#" -eq "2" ]; then > find /foo | grep -i $1 | grep -i $2 > fi > if [ "$#" -eq "3" ]; then > find /foo | grep -i $1 | grep -i $2 | grep -i $3 > fi > > Is there an easier/shorter way to do this? If there are 15 arguments > supplied on the command line, I don't necessarily want to build 15 if > statements. The solutions proposed so far are ok, if you really *have* to stick to a shell script. For safer regexp pattern construction I'd probably convert the script to some language that makes it less easy to shoot yourself in the foot because you missed a quote or because you happened to choose "'" as the quoting character and one of the patterns includes it too. I'd write this sort of logic in python, constructing 'regexp' patterns on the go from the command-line arguments: #!/usr/bin/env python import sys import re if __name__ == '__main__': pattern = '^.*$' # Match everything by default matcher = None if len(sys.argv) > 1: pattern = ( r'^.*(' + '|'.join(map(lambda part: r'' + part, sys.argv[1:])) + ').*$') try: # print 'pattern = %s' % pattern matcher = re.compile(pattern) except: sys.stderr.write('invalid pattern: %s' % pattern) sys.exit(1) for line in sys.stdin.readlines(): # print '# line = "%s", match = %s' % ( # line.rstrip(), matcher.match(line)) if matcher.match(line): line = line.rstrip() print '%s' % line This should be able to match even patterns with quotes embedded, e.g.: 0630 22:21 kobe:~$ ./foo.py "it's dark" When it's dark, the world is normally a quieter place When it's dark ^D When it's dark, When it's dark 0630 22:22 kobe:~$ From wojtek at wojtek.tensor.gdynia.pl Sat Jun 30 20:39:00 2012 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 30 20:39:07 2012 Subject: video buffer location In-Reply-To: <20120629215459.bf2cb6f9.freebsd@edvax.de> References: <20120629131327.GA7237@pollux.local.net> <20120629215459.bf2cb6f9.freebsd@edvax.de> Message-ID: > For YouTube, check out the port "youtube-dl". For most of everything > else, see http://github.com/monsieurvideo/get-flash-videos for > details. > xpi-unplug firefox plugin is useful too.