From remegius at comcast.net Wed Sep 1 00:04:15 2010 From: remegius at comcast.net (Rem P Roberti) Date: Wed Sep 1 00:04:21 2010 Subject: Interactive Port Message-ID: <20100901000413.GA1559@bsd.remdog.net> Brother! Muttprint is now working fine. The problem: the printer was offline! Now, before you go accusing me of being a complete dufus, let me say that I had no way of knowing that that condition existed. The printer itself indicated that it was online---no problem. What happened is that somehow, and I'm not sure what caused this, the printer became disengaged from its usb port. Weird. I noticed that this had happened when I tried to print from another program without success. The only way that I could get it talking again to usb was by doing a reboot. Rem From frank at shute.org.uk Wed Sep 1 02:59:55 2010 From: frank at shute.org.uk (Frank Shute) Date: Wed Sep 1 03:00:03 2010 Subject: Interactive Port In-Reply-To: <20100901011146.24d3436f.freebsd@edvax.de> References: <20100831193421.GA2695@bsd.remdog.net> <20100831193935.GA1427@bsd.remdog.net> <20100831225428.GA42850@orange.esperance-linux.co.uk> <20100901011146.24d3436f.freebsd@edvax.de> Message-ID: <20100901025951.GA44144@orange.esperance-linux.co.uk> On Wed, Sep 01, 2010 at 01:11:46AM +0200, Polytropon wrote: > > On Tue, 31 Aug 2010 23:54:28 +0100, Frank Shute wrote: > > For printing from mutt, I use the following in ~/.muttrc > > > > set print_command="a2ps -1 > ~/mail.ps; gv ~/mail.ps" > > > > Obviously, that views the postcript file first & then I print from gv. > > What about "lpr ~/mail.ps" instead of "gv ~/mail.ps"? This would > actually send the output PS to the default printer queue, causing > the message to be printed. > I like to view it first. Make sure there are no orphaned/widowed paragraphs etc. If so, then I might cat it to plain ascii, edit it & then run it through a2ps. Works for me! Not often that I print email. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From jrisom at gmail.com Wed Sep 1 07:45:55 2010 From: jrisom at gmail.com (Joshua Isom) Date: Wed Sep 1 07:46:01 2010 Subject: System mail In-Reply-To: <20100831170100.f0dadfd8.freebsd@edvax.de> References: <4C7BFFA2.2070309@comcast.net> <20100830212149.19359d5c.freebsd@edvax.de> <824d2cbe5c0a6bb162552ca01f32dfc9, 4C7CBD43.1050302@debank.tv> <4C7D173D.7050100@comcast.net> <20100831170100.f0dadfd8.freebsd@edvax.de> Message-ID: <4C7E04B3.60005@gmail.com> On 8/31/2010 10:01 AM, Polytropon wrote: > On Tue, 31 Aug 2010 07:52:45 -0700, Rem P Roberti wrote: > > In this case, configuring the system's mail delivery to a local > account instead of directly to root, and then have Thunderbird > incormporate mail from local spool will easily do the trick. > # echo "myusername" >> /root/.forward Then all mail for root, like system logs, will be redirected to a different system user. man 5 forward From perryh at pluto.rain.com Wed Sep 1 08:01:59 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Wed Sep 1 08:02:10 2010 Subject: Interactive Port In-Reply-To: <20100901000413.GA1559@bsd.remdog.net> References: <20100901000413.GA1559@bsd.remdog.net> Message-ID: <4c7e075b.8edSaF5Xw9mGHkRS%perryh@pluto.rain.com> Rem P Roberti wrote: > Brother! Muttprint is now working fine. The problem: the printer > was offline! Now, before you go accusing me of being a complete > dufus, let me say that I had no way of knowing that that condition > existed. The printer itself indicated that it was online---no > problem. What happened is that somehow, and I'm not sure what > caused this, the printer became disengaged from its usb port. I'd call it a bug in the printer that it continues to indicate online when it has lost its connection to its host (unless it also has a network connection, and in that case I imagine you'd be using the network instead of USB). > ... The only way that I could get it talking again to usb was by > doing a reboot. Now _that_ sounds like a possible bug in the USB subsystem, since USB is supposed to be completely hot-pluggable and should not need a reboot to get itself straightened out after a mishap. Cc-ing usb@ list. One question which will surely arise is, which FreeBSD version are you using? The USB stack was completely rewritten in 8.0. From guru at unixarea.de Wed Sep 1 09:16:55 2010 From: guru at unixarea.de (Matthias Apitz) Date: Wed Sep 1 09:17:03 2010 Subject: installing FreeBSD in VMWare-player In-Reply-To: <20100831131351.GA3592@current.Sisis.de> References: <20100823070819.GB2539@current.Sisis.de> <4C7241C2.2000305@otenet.gr> <20100823112621.GA4367@current.Sisis.de> <4C725BFC.90006@otenet.gr> <20100824084225.GA2160@current.Sisis.de> <4C739A78.4070303@otenet.gr> <20100827072416.GA2516@current.Sisis.de> <4C778001.3030809@otenet.gr> <20100830093112.GA3071@current.Sisis.de> <20100831131351.GA3592@current.Sisis.de> Message-ID: <20100901091649.GA3409@current.Sisis.de> El d?a Tuesday, August 31, 2010 a las 03:13:51PM +0200, Matthias Apitz escribi?: > Now I have already again my 'old' root partition booting to single user > mode and I'm filling in the 120 GByte dump of the /usr ... The 1st try > crashed the Win7 to blue screen over the night :-( The 2nd try was successfull. It took 9 hours to get the dump restored. The system now boots fine, even of course slower than native. I still strougle with some smaller issues: Xorg uses only 1280x720, while the full host display is NVidia support 1920x1200; I can't get sound to work; the sound device is attached to the VM, the kernel loads snd_emu10k1.ko and sound.ko, but no device shows up. Any ideas? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From jhall at socket.net Wed Sep 1 13:04:18 2010 From: jhall at socket.net (jhall@socket.net) Date: Wed Sep 1 13:04:25 2010 Subject: GnuPG not allowing passphrase entry Message-ID: <20100901124948.B2607ECAA6@mf3.socket.net> Ladies and Gentlemen, I an attempting to decrypt a file using the following command line. /usr/local/bin/gpg --output /usr/local/scripts/test. --no-default-keyring --secret-keyring 09-2010.sec --keyring 09-2010.pub --always-trust --decrypt --recipient Wed_Sep_1_00_01_00_CDT_2010@abc.org /usr/local/scripts/test.gpg When doing so, I receive the following output. You need a passphrase to unlock the secret key for user: "Wed_Sep_1_00_01_00_CDT_2010 (Monthly Archive Encryption Key) " 1024-bit ELG key, ID E8E5F849, created 2010-09-01 (main key ID 557E7C04) gpg: cancelled by user gpg: encrypted with 1024-bit ELG key, ID E8E5F849, created 2010-09-01 "Wed_Sep_1_00_01_00_CDT_2010 (Monthly Archive Encryption Key) " gpg: public key decryption failed: General error gpg: decryption failed: No secret key While the prompt to enter a passphrase does appear, it is skipped without allowing me to enter anything. gpg-agent is running. I am running FreeBSD 8.0. My GnuPG version is 2.0.14 I have also tried adding the public and secret keys to the default keyring and receive the same result. Thanks for your help. Jay From egoitz at ramattack.net Wed Sep 1 14:51:00 2010 From: egoitz at ramattack.net (egoitz@ramattack.net) Date: Wed Sep 1 14:51:07 2010 Subject: RELENG_8_1 Release build fails Message-ID: <9a3047eb390bd04a13f539e0a8acc4f6.squirrel@mail.ramattack.net> Hi all, I'm trying to make a release from RELENG_8_1 branch because of mbuf bug and so... and wanted to make my own freebsd cds (updated)... I have downloaded the whole freebsd cvs, later with cvs create the snapshot under /usr/src and later under /usr/src/release done a : make release CHROOTDIR=/datos001/81release CVSROOT=/datos001/ncvs RELEASETAG=RELENG_8_1 MAKE_ISOS=1 But it fails with : -------------------------------------------------------------- >>> Installing everything -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info (install) install -o root -g wheel -m 444 dir-tmpl /datos001/81release/usr/share/info/dir install:No such file or directory *** Error code 1 Stop in /usr/src/share/info. *** Error code 1 Stop in /usr/src. *** Error code 1 After entering INSTALL=/usr/bin/install in /etc/make.conf... it continues but stops later because it doesn't build some object files for being copied to /datos001/81release/... in /usr/src/lib/csu/amd64/... after building them by hand, later again stops because libc is not compiled... Seems like there's a problem in some Makefiles... am I wrong?. Will be this corrected the next days in the cvs?. Thanks a lot really. Bye!. From edflecko at gmail.com Wed Sep 1 16:02:49 2010 From: edflecko at gmail.com (Ed Flecko) Date: Wed Sep 1 16:02:56 2010 Subject: Should a "squid" user have a shell? Message-ID: Hi folks, I'm looking in some documentation for Squid, which I'm installing on a FBSD 8.1 server, and it says I need to create a squid user and a squid group because I'm building/installing from source. I see to create the squid user, I user the (of course) "adduser" command (there isn't a default squid user with the base install, is there?). 1.) When I use the adduser command, from a security perspective, should the squid user have a shell? What should it be? 2.) How do I create a squid group and add the squid user to it? 3.) Since the squid user needs full access to the squid directory and all of its files, what the easiest way to give the appropriate permissions? Thank you, Ed From mail at ozzmosis.com Wed Sep 1 16:38:05 2010 From: mail at ozzmosis.com (andrew clarke) Date: Wed Sep 1 16:38:13 2010 Subject: Should a "squid" user have a shell? In-Reply-To: References: Message-ID: <20100901163807.GA80024@ozzmosis.com> On Wed 2010-09-01 09:02:45 UTC-0700, Ed Flecko (edflecko@gmail.com) wrote: > I'm looking in some documentation for Squid, which I'm installing on a > FBSD 8.1 server, and it says I need to create a squid user and a squid > group because I'm building/installing from source. All of this is done automatically if you build Squid from source using the Ports tree - probably www/squid, or www/squid31. Are you sure you want to do it manually? Regards Andrew From edflecko at gmail.com Wed Sep 1 16:38:17 2010 From: edflecko at gmail.com (Ed Flecko) Date: Wed Sep 1 16:38:24 2010 Subject: Should a "squid" user have a shell? In-Reply-To: References: Message-ID: Thank you Jerry. The only reason I'm not using the squid port is because I found a website ( http://teklimbu.wordpress.com/2007/10/03/enterprise-freebsd-squid-proxy-server/ ) that has detailed instructions on installing squid for an Enterprise environment claiming the performance is very good. Since I'm new to using squid and using squid on FreeBSD, I'm simply trying to duplicate his setup. It's quite possible that I could achieve the same performance results from using the port install of squid...but maybe I wouldn't. :-) Ed From gull at gull.us Wed Sep 1 17:49:22 2010 From: gull at gull.us (David Brodbeck) Date: Wed Sep 1 17:49:32 2010 Subject: Mirror mounts not available on FreeBSD? (was: Re: NFSv4 shows all ZFS filesystems as being owned by root) In-Reply-To: References: Message-ID: On Tue, Aug 31, 2010 at 12:20 PM, David Brodbeck wrote: > On Tue, Aug 31, 2010 at 11:52 AM, David Brodbeck wrote: >> When a ZFS filesystem mountpoint is owned by someone other than root, >> this is not depicted properly on NFSv4 clients: > > After playing around a bit more, it appears the problem is that ZFS > filesystems under an NFSv4 mountpoint are not auto-mounted by Linux > clients of a FreeBSD server the way they are when they're clients of > an OpenSolaris server; if I mount them manually, the ownership is > correct. ?I think OpenSolaris calls this functionality "mirror > mounts." ?Is there a way to get mirror mounts to work on FreeBSD, or > is it necessary to mount every sub-filesystem manually? The answer is I didn't RTFM carefully enough, and forgot to specify 'nfsd_flags="-e"' and 'mountd_flags="-e"' in my /etc/rc.conf. It's working now. Sorry for the unnecessary thread, but hopefully it'll help someone else searching for the same info in the future. From rfarmer at predatorlabs.net Wed Sep 1 19:38:35 2010 From: rfarmer at predatorlabs.net (Rob Farmer) Date: Wed Sep 1 19:38:43 2010 Subject: Should a "squid" user have a shell? In-Reply-To: References: Message-ID: On Wed, Sep 1, 2010 at 9:02 AM, Ed Flecko wrote: > Hi folks, > I'm looking in some documentation for Squid, which I'm installing on a > FBSD 8.1 server, and it says I need to create a squid user and a squid > group because I'm building/installing from source. > > I see to create the squid user, I user the (of course) "adduser" > command (there isn't a default squid user with the base install, is > there?). > > 1.) When I use the adduser command, from a security perspective, > should the squid user have a shell? What should it be? > > 2.) How do I create a squid group and add the squid user to it? > > 3.) Since the squid user needs full access to the squid directory and > all of its files, what the easiest way to give the appropriate > permissions? Service accounts shouldn't have a password (their password field should be "starred out") and should have a shell of /usr/sbin/nologin (this program logs any attempt to run it and exits). The port using the following commands to set this up: pw groupadd squid -g 100 -q pw useradd -q -n squid -u 100 -g squid -c "Squid caching-proxy psuedo user" -d "/var/squid" -s "/usr/sbin/nologin" -h - This assumes data is in /var/squid. You can create this directory and use chmod/chown to give the user and group necessary permissions. The UID and GID (100 and 100 in this case) come from the lists in /usr/ports and are reserved for squid to avoid conflicts. -- Rob Farmer > > Thank you, > Ed > _______________________________________________ > 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 rfarmer at predatorlabs.net Wed Sep 1 19:46:29 2010 From: rfarmer at predatorlabs.net (Rob Farmer) Date: Wed Sep 1 19:46:37 2010 Subject: Should a "squid" user have a shell? In-Reply-To: References: Message-ID: On Wed, Sep 1, 2010 at 12:38 PM, Rob Farmer wrote: > On Wed, Sep 1, 2010 at 9:02 AM, Ed Flecko wrote: >> Hi folks, >> I'm looking in some documentation for Squid, which I'm installing on a >> FBSD 8.1 server, and it says I need to create a squid user and a squid >> group because I'm building/installing from source. >> >> I see to create the squid user, I user the (of course) "adduser" >> command (there isn't a default squid user with the base install, is >> there?). >> >> 1.) When I use the adduser command, from a security perspective, >> should the squid user have a shell? What should it be? >> >> 2.) How do I create a squid group and add the squid user to it? >> >> 3.) Since the squid user needs full access to the squid directory and >> all of its files, what the easiest way to give the appropriate >> permissions? > > Service accounts shouldn't have a password (their password field > should be "starred out") and should have a shell of /usr/sbin/nologin > (this program logs any attempt to run it and exits). > > The port using the following commands to set this up: > > pw groupadd squid -g 100 -q > pw useradd -q -n squid -u 100 -g squid -c "Squid caching-proxy psuedo > user" -d "/var/squid" -s "/usr/sbin/nologin" -h - Addendum: the "-q" flag suppresses output/errors - good for a script, but you probably want to remove it for interactive use. -- Rob Farmer > > This assumes data is in /var/squid. You can create this directory and > use chmod/chown to give the user and group necessary permissions. > > The UID and GID (100 and 100 in this case) come from the lists in > /usr/ports and are reserved for squid to avoid conflicts. > > -- > Rob Farmer > >> >> Thank you, >> Ed >> _______________________________________________ >> 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 amvandemore at gmail.com Wed Sep 1 19:58:05 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Sep 1 19:58:12 2010 Subject: Should a "squid" user have a shell? In-Reply-To: References: Message-ID: On Wed, Sep 1, 2010 at 11:38 AM, Ed Flecko wrote: > Thank you Jerry. > > The only reason I'm not using the squid port is because I found a > website ( > http://teklimbu.wordpress.com/2007/10/03/enterprise-freebsd-squid-proxy-server/ > ) that has detailed instructions on installing squid for an Enterprise > environment claiming the performance is very good. > > Since I'm new to using squid and using squid on FreeBSD, I'm simply > trying to duplicate his setup. It's quite possible that I could > achieve the same performance results from using the port install of > squid...but maybe I wouldn't. > If you are looking for a high performance reverse proxy cache, look at varnish instead of squid. That being said, squid will work fine too. If you don't know what you need, it's probably better to always stick with ports rather than compiling yourself. A lot of bug fixes, FreeBSD specific patches, and testing goes into the ports tree -- that's why it's such a useful package management system. -- Adam Vande More From rwmaillists at googlemail.com Wed Sep 1 23:03:27 2010 From: rwmaillists at googlemail.com (RW) Date: Wed Sep 1 23:03:34 2010 Subject: Should a "squid" user have a shell? In-Reply-To: References: Message-ID: <20100902000316.5a5cf931@gumby.homeunix.com> On Wed, 1 Sep 2010 09:38:03 -0700 Ed Flecko wrote: > Thank you Jerry. > > The only reason I'm not using the squid port is because I found a > website > ( http://teklimbu.wordpress.com/2007/10/03/enterprise-freebsd-squid-proxy-server/ ) > that has detailed instructions on installing squid for an Enterprise > environment claiming the performance is very good. > > Since I'm new to using squid and using squid on FreeBSD, I'm simply > trying to duplicate his setup. It's quite possible that I could > achieve the same performance results from using the port install of > squid...but maybe I wouldn't. You might as well build the port. There's nothing special in his configure settings - although the squid port provides a variable for this if you if you want to add extra configure settings not supported by the port options. The port will apply some patches to the code that may, or may not, be need. It will also provide an rc script and create the user/group. Either way you need to run squid -z to create the directories. IIRC this will create the directories with the correct ownership if the effective user/group is correct in squid.conf. That just leaves squid.conf which you have to setup anyway, since the port defaults to a small "ufs" cache. I'd suggest taking the default and stripping out the very lengthy comments, and them merging in any settings you want from his file - having looked-up what they actually do. Some of his setting are sensible, such as using diskd, some less so, such as the acl to deny query url caching, which more efficiently handled through refresh patterns in the default file. Also I'd suggest not using heap GDSF/LFUDA cache replacement until you have established you can't get a week's retention from the default lru policy. The suggestion of running a local dns cache shouldn't make much difference since squid does it own caching. From rwmaillists at googlemail.com Wed Sep 1 23:52:16 2010 From: rwmaillists at googlemail.com (RW) Date: Wed Sep 1 23:52:24 2010 Subject: Should a "squid" user have a shell? In-Reply-To: References: <20100902000316.5a5cf931@gumby.homeunix.com> Message-ID: <20100902005209.7bf86664@gumby.homeunix.com> On Wed, 1 Sep 2010 16:14:38 -0700 Ed Flecko wrote: > Thanks RW! > > How do I make the changes you've suggested, i.e., like changing from > the small UFS cache, etc.; that can all be done by altering the > squid.conf file? Yes, take a look at the cache_dir lines in in the squid.conf file in the howto link. You don't need two cache_dir entries, unless you have two separate disks (usuall non-raid). You do need to modify the size field (documented in squid.conf.default). > Also, what do you mean about the variable to change some of the > ./configure options that are not part of the default? Take a look at SQUID_CONFIGURE_ARGS in the squid port Makefile. BTW The last I heard, the 2.7 branch in www/squid is still faster than the later 3.x branches. From olivares14031 at gmail.com Thu Sep 2 01:32:57 2010 From: olivares14031 at gmail.com (Antonio Olivares) Date: Thu Sep 2 01:33:04 2010 Subject: killall -9 program-name does not work In-Reply-To: <20100830120007.543fa5dd@gumby.homeunix.com> References: <20100830120007.543fa5dd@gumby.homeunix.com> Message-ID: On 8/30/10, RW wrote: > On Mon, 30 Aug 2010 03:14:58 +0000 > Antonio Olivares wrote: > >> Dear fellow FreeBSD users, >> >> I have a cron script that plays music in the morning when I arrive at >> work. >> >> in ~/.xalarm I have two lines, one that calls xterm and one that calls >> mplayer and plays a series of music files in a playlist >> >> crontab -l >> has the following >> # min hour day-of-month month day-of-week command >> # 0-59 0-23 1-31 1-12 0-6 0=sun 1=mon >> 00 07 * * 1-5 ~/.xalarm >/dev/null 2>&1 >> 30 07 * * 1-5 killall -9 /usr/local/bin/mplayer >/dev/null 2>&1 > > You don't need the path to mplayer. It makes no difference. This does not stop mplayer from playing :( Thanks though for trying to help. Regards, Antonio From lists at eitanadler.com Thu Sep 2 02:09:04 2010 From: lists at eitanadler.com (Eitan Adler) Date: Thu Sep 2 02:09:10 2010 Subject: getting eclipse to recognize that devel/subsclipse is installed In-Reply-To: References: Message-ID: On Tue, Aug 31, 2010 at 1:11 PM, Andreas Maechler wrote: > I've always installed Subclipse directly through the Eclipse' plugin > manager, which works very well. > > Andy > > On Tue, Aug 31, 2010 at 6:14 PM, Eitan Adler wrote: >> I installed eclipse and subclipse via ports. When I start eclipse I do >> not see svn as an option in the preferences menu nor or do any of >> subclipse's features. >> >> How can I tell eclipse that I installed subclipse? I'll try that next - but I'd still like to know what step I am missing if I use the ports version. -- Eitan Adler From xyin at gmx.com Thu Sep 2 02:23:37 2010 From: xyin at gmx.com (Xihong Yin) Date: Thu Sep 2 02:23:44 2010 Subject: error - ad2: FAILURE Message-ID: Hi, I received the following error when I try to access files in some of the directories in /usr and when the computer boots. ad2s1f is mounted on /usr. ad2: FAILURE - READ_DMA status=51 error=40 LBA=37370159 g_vfs_done():ad2s1f[READ(offset=15415558144, length=16384)]error = 5 Is this a sign of hard drive failure? Can I fix the error or do I have to replace the hard drive? Regards, Xihong From mike.jeays at rogers.com Thu Sep 2 02:49:24 2010 From: mike.jeays at rogers.com (Mike Jeays) Date: Thu Sep 2 02:49:31 2010 Subject: error - ad2: FAILURE In-Reply-To: References: Message-ID: <201009012243.57415.mike.jeays@rogers.com> On September 1, 2010 10:29:42 pm Xihong Yin wrote: > Hi, > > I received the following error when I try to access files in some of the > directories in /usr and when the computer boots. ad2s1f is mounted on > /usr. > > ad2: FAILURE - READ_DMA status=51 error=40 > LBA=37370159 g_vfs_done():ad2s1f[READ(offset=15415558144, > length=16384)]error = 5 > > Is this a sign of hard drive failure? Can I fix the error or do I have to > replace the hard drive? > > Regards, > Xihong > _______________________________________________ > 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 think it is a hardware error, and the disk has run out of replacement sectors. If possible, it should be replaced, and any valuable data copied to somewhere safe, as soon as possible. -- http://www.jeays.ca http://www.rotarycpmm.ca From egoitz at ramattack.net Thu Sep 2 06:24:28 2010 From: egoitz at ramattack.net (egoitz@ramattack.net) Date: Thu Sep 2 06:24:35 2010 Subject: RELENG_8_1 Release build fails In-Reply-To: <9a3047eb390bd04a13f539e0a8acc4f6.squirrel@mail.ramattack.net> References: <9a3047eb390bd04a13f539e0a8acc4f6.squirrel@mail.ramattack.net> Message-ID: <9f94dad1bb8811d5b2434671ceafc6e1.squirrel@mail.ramattack.net> > Hi all, > > I'm trying to make a release from RELENG_8_1 branch because of mbuf bug > and so... and wanted to make my own freebsd cds (updated)... I have > downloaded the Hi!, Perhaps this is not the proper mailing list for asking this kind of questions? perhaps should I write to freebsd-hackers or any other one?. Thanks a lot for you're help. Bye!! From z_axis at 163.com Thu Sep 2 07:13:19 2010 From: z_axis at 163.com (zaxis) Date: Thu Sep 2 07:13:26 2010 Subject: What's the best way to upgrade 8.0 ? Message-ID: <29601273.post@talk.nabble.com> >uname -a FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Wed Jul 14 15:35:26 CST 2010 root@mybsd.zsoft.com:/media/G/usr/obj/media/G/usr/src/sys/MYKERNEL i386 Now i want to upgrade it to 8.1 realease. thanks! ----- e^(??i) + 1 = 0 -- View this message in context: http://old.nabble.com/What%27s-the-best-way-to-upgrade-8.0---tp29601273p29601273.html Sent from the freebsd-questions mailing list archive at Nabble.com. From freebsd-questions at itsacon.net Thu Sep 2 08:50:49 2010 From: freebsd-questions at itsacon.net (Bernard Scharp) Date: Thu Sep 2 08:50:55 2010 Subject: Multiple mount_smbfs commands fail in bash script Message-ID: <4C7F5F25.2010604@itsacon.net> Hi all, I'm having some problems with a bash script. It's a backup script that periodically checks if a list of systems is online, and if so, uses samba to mount a specified list of shares, rsyncs them to a local directory and unmounts again. This used to run fine till a few months ago (I don't know what the trigger was that caused them to first fail). Now, when the script is run, it gives the following error when mounting the shares: mount_smbfs: can't get handle to requester (no /dev/nsmb* device) Which is strange, as there are (by last count) 1170 /dev/nsmb* devices in /dev/ (is that normal?) Searching the internet, FreeBSD and Samba mailing lists gave me no recent info, and the old info wasn't helpful. I've narrowed it down to the point where I think it's caused by one process trying to open two (or more) shares at the same time. (a simple script mounting two shares gives the same error). I can mount the shares from the command line without problems, it's only in the bash script it gives me problems. ~/.nsmbrc and /etc/nsmb.conf are correct, smbd, nmbd and winbindd are running. The system is FreeBSD 8.0 Stable. Anyone got any suggestions? Regards, Bernard From devnull at remailer.org.uk Thu Sep 2 10:24:42 2010 From: devnull at remailer.org.uk (Anonymous) Date: Thu Sep 2 10:24:49 2010 Subject: Thank you all for FreeBSD Message-ID: <118047d89bed4da459667460baf75502@remailer.org.uk> Thanks to all people who program, develop and h/-\ck for FreeBSD - it is a great free system and best choice ... Thanks! - anonymous From egoitz at ramattack.net Thu Sep 2 11:12:58 2010 From: egoitz at ramattack.net (egoitz@ramattack.net) Date: Thu Sep 2 11:13:05 2010 Subject: RELENG_8_1 Release build fails In-Reply-To: <9f94dad1bb8811d5b2434671ceafc6e1.squirrel@mail.ramattack.net> References: <9a3047eb390bd04a13f539e0a8acc4f6.squirrel@mail.ramattack.net> <9f94dad1bb8811d5b2434671ceafc6e1.squirrel@mail.ramattack.net> Message-ID: >> Hi all, >> >> I'm trying to make a release from RELENG_8_1 branch because of mbuf bug >> and so... and wanted to make my own freebsd cds (updated)... I have >> downloaded the > > Hi!, > > Perhaps this is not the proper mailing list for asking this kind of > questions? perhaps should I write to freebsd-hackers or any other one?. Hey mates, Sorry for the noise I had forgotten the make buildworld before the make release... I though buildworld was integrated inside make release... as said... very sorry for the noise. Bye!! From freebsd-questions at slightlystrange.org Thu Sep 2 11:16:12 2010 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Thu Sep 2 11:16:19 2010 Subject: What's the best way to upgrade 8.0 ? In-Reply-To: <29601273.post@talk.nabble.com> References: <29601273.post@talk.nabble.com> Message-ID: <20100902111611.GC7607@catflap.slightlystrange.org> On Thu, Sep 02, 2010 at 12:13:18AM -0700, zaxis wrote: > > >uname -a > FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Wed Jul 14 > 15:35:26 CST 2010 > root@mybsd.zsoft.com:/media/G/usr/obj/media/G/usr/src/sys/MYKERNEL i386 > > Now i want to upgrade it to 8.1 realease. Since you appear to be running a custom kernel, building from source is the way to go. Chapter 24 of the handbook will be helpful. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- 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/20100902/ab671efe/attachment.pgp From freebsd.user at seibercom.net Thu Sep 2 11:50:58 2010 From: freebsd.user at seibercom.net (Jerry) Date: Thu Sep 2 11:51:07 2010 Subject: Multiple mount_smbfs commands fail in bash script In-Reply-To: <4C7F5F25.2010604@itsacon.net> References: <4C7F5F25.2010604@itsacon.net> Message-ID: <20100902075053.4bdb443b@scorpio> On Thu, 02 Sep 2010 10:24:05 +0200 Bernard Scharp articulated: > Hi all, > > I'm having some problems with a bash script. > > It's a backup script that periodically checks if a list of systems is > online, and if so, uses samba to mount a specified list of shares, > rsyncs them to a local directory and unmounts again. > > This used to run fine till a few months ago (I don't know what the > trigger was that caused them to first fail). > > Now, when the script is run, it gives the following error when > mounting the shares: > > mount_smbfs: can't get handle to requester (no /dev/nsmb* device) > > Which is strange, as there are (by last count) 1170 /dev/nsmb* devices > in /dev/ (is that normal?) > > Searching the internet, FreeBSD and Samba mailing lists gave me no > recent info, and the old info wasn't helpful. > > I've narrowed it down to the point where I think it's caused by one > process trying to open two (or more) shares at the same time. (a > simple script mounting two shares gives the same error). > > I can mount the shares from the command line without problems, it's > only in the bash script it gives me problems. > > ~/.nsmbrc and /etc/nsmb.conf are correct, smbd, nmbd and winbindd are > running. The system is FreeBSD 8.0 Stable. > > Anyone got any suggestions? Could you post the script? Anything else would be pure guess work. You also might consider posting this on the "BASH" mail forum: bug-bash@gnu.org although you might have to subscribe first: http://lists.gnu.org/mailman/listinfo/bug-bash -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Vital papers will demonstrate their vitality by spontaneously moving from where you left them to where you can't find them. From freebsd-questions at itsacon.net Thu Sep 2 12:02:37 2010 From: freebsd-questions at itsacon.net (Bernard Scharp) Date: Thu Sep 2 12:02:46 2010 Subject: Multiple mount_smbfs commands fail in bash script In-Reply-To: <20100902075053.4bdb443b@scorpio> References: <4C7F5F25.2010604@itsacon.net> <20100902075053.4bdb443b@scorpio> Message-ID: <4C7F925B.9010807@itsacon.net> > > Could you post the script? Anything else would be pure guess work. You Well, I can recreate it with something as simple as: #!/usr/local/bin/bash mount_smbfs //user@remotehost/share1/ /tmp/mnt/ mount_smbfs //user@remotehost/share2/ /tmp/mnt2/ > also might consider posting this on the "BASH" mail forum: > > bug-bash@gnu.org > > although you might have to subscribe first: > > http://lists.gnu.org/mailman/listinfo/bug-bash > I'l look into that, (though I doubt this is a bash issue). Thanks! Bernard From guru at unixarea.de Thu Sep 2 13:19:16 2010 From: guru at unixarea.de (Matthias Apitz) Date: Thu Sep 2 13:19:24 2010 Subject: installing FreeBSD in VMWare-player In-Reply-To: <20100901091649.GA3409@current.Sisis.de> References: <4C7241C2.2000305@otenet.gr> <20100823112621.GA4367@current.Sisis.de> <4C725BFC.90006@otenet.gr> <20100824084225.GA2160@current.Sisis.de> <4C739A78.4070303@otenet.gr> <20100827072416.GA2516@current.Sisis.de> <4C778001.3030809@otenet.gr> <20100830093112.GA3071@current.Sisis.de> <20100831131351.GA3592@current.Sisis.de> <20100901091649.GA3409@current.Sisis.de> Message-ID: <20100902131912.GA4381@current.Sisis.de> I wrote a small howTo for such a migration for others in the same situation. Comments/Impromvements are welcome; Thanks matthias $Id: moveFreeBSDintoVM.txt,v 1.2 2010/09/02 10:55:29 guru Exp $ How to move a complete FreeBSD installation into a VM Matthias Apitz 1. Preparations in the running FreeBSD system Save the current FreeBSD partition layout to paper, i.e. print: - /etc/fstab - output of 'df -kh' - output of 'bsdlabel ad8s4' (or whatever your disk is) so you later know the sizes you will need in the new VM. Reboot the system to single user mode, run fsck(8) in all file systems and mount them read only, while staying single user. Do dump(8) of all the partitions to some external media you later can use in the VM a) physically and b) could be mounted in FreeBSD. I used an USB disk with an UFS file system on it as /dev/da0s1a: # mount -t ufs /dev/da0s1a /mnt # dump -0au -f /mnt/usr.dump /usr # dump -0au -f /mnt/var.dump /var # dump -0au -f /mnt/root.dump / Finally shutdown the system. 2. Prepare the VM Attach resources big enough to reflect your real system to the VM. I used: RAM: 2 GByte IDE: 164 GByte (as one file in the host) Make sure that the VM's boot order is: 1st CD/DVD, 2nd disk, so you later can easy decide from where to boot by just attaching or not the CD/DVD to the VM, even if the disk has already a MBR. Copy an ISO image of the so called "FreeBSD livefs" to the host and attach this as CD/DVD to the VM 3. Partitioning of the disk This part is a bit tricky because the "FreeBSD livefs" does not really guide through it. Boot from "FreeBSD livefs" and - define country and keyboard - run "standard installation" from the menu - fdisk(8) the disk, use entire disk for FreeBSD - let it install FreeBSD's boot manager - partition the slice to the layout of your old system, i.e. to the following result: /dev/ad0s1a 1 GByte / /dev/ad0s1b 4 GByte swap /dev/ad0s1d 2 GByte /var /dev/ad0s1e 6 GByte /tmp /dev/ad0s1f (rest 146 GByte) /usr - commit the "last chance before scribbling on disk" The installer will now do the real fdisk(8) and BSD-label of the partitions. It will newfs(8) the above file system and try to install FreeBSD in it, which is not on the CD/DVD and which is not what we want. Answer all questions as "NO" to get finally back to the main menu of sysinstall(8) tool. Reboot again into the "FreeBSD livefs" and go to the fixit repair mode menu, start a shell. The above mentioned file systems are created fine and even the boot manager is fine in place (ofc it would not find anything to boot). The file systems are already polluted which things we don't want (because we later will restore from dumps). Run newfs(8) in all file system devices again: # newfs -m 0 -o space /dev/ad0s1a # newfs -m 0 -o space /dev/ad0s1b # newfs -m 0 -o space /dev/ad0s1d # newfs -m 0 -o space /dev/ad0s1e # newfs -m 0 -o space /dev/ad0s1f We now have clean file systems (and boot manager installed). 4. Restore the dumps First restore the old root file system using the booted "FreeBSD livefs", mount the new root as /mnt and the USB disk containing the dumps as /usb: # mount /dev/ad0s1a /mnt # mkdir /usb # mount -t usf -o ro /dev/da0s1a /usb # cd /mnt # restore rf /usb/root.dump # cd / # umount /mnt One could as well restore the other dumps the same way, but it's better to see if the new root file system already boot fine, because restoring the /usr dump will take many hours (in my case 9 hours for 120 GByte), Reset the VM (no need to worry, nothing is mounted), detach the CD/DVD and reboot the old/new root file system into single user mode. Remount the /root writable and restore the /usr dump: # mount -o rw / # mount -t usf -o ro /dev/da0s1a /mnt # mount /dev/ad0s1f /usr # cd /usr # restore rf /mnt/usr.dump (after 9 hours) # mount /dev/ad0s1d /var # cd /var # restore rf /mnt/var.dump Check and edit the /etc/fstab to reflect the new device names (in my original system the disk was /dev/ad0s8 and not /dev/ad0s1). Make /tmp writable for all users # mount /dev/ad0s1e /tmp # chmod 1777 /tmp The system is now installed and should be boot up fine to normal multi user mode, just reboot normally. 5. Final changes Edit some system files to reflect the new VM environment: /etc/rc.conf: - network interface is now em0, and not wlan0 /boot/loader.conf - sound (still not working) /etc/X11/xorg.conf - recreate the X11 config file the normal way install the vmware-tools for FreeBSD (still pending) 6. Some notes about performance The host is Dell Precision M4400 with Dual Core CPU of 3.09 GHz and runs Windows 7 Professional. It took 9h to restore a dump of /usr which was produced in ~2h. The compared write performance for a copy of a 8 GByte file is: native in the same hardware as well: $ date ; dd if=XPdisk of=XPdisk.copy ; date jueves, 2 de septiembre de 2010, 08:25:53 CEST 16777216+0 records in 16777216+0 records out 8589934592 bytes transferred in 419.996931 secs (20452375 bytes/sec) jueves, 2 de septiembre de 2010, 08:32:53 CEST VM: $ date ; dd if=XPdisk of=XPdisk.copy ; date jueves, 2 de septiembre de 2010, 08:25:17 CEST 16777216+0 records in 16777216+0 records out 8589934592 bytes transferred in 1491.054456 secs (5760980 bytes/sec) jueves, 2 de septiembre de 2010, 08:50:08 CEST i.e. 7 minutes ./. 25 minutes, three times slower. The boot times are like this (min:secs): 0:56 Windows 7 is ready for login 1:22 Windows desktop is up to launch VM 3:15 FreeBSD is booted to login: 4:42 KDE-3 desktop is up The felt performance in KDE (start of windows, terminals, Evolution, Firefox) is reasonable well. -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From freebsd at edvax.de Thu Sep 2 13:29:08 2010 From: freebsd at edvax.de (Polytropon) Date: Thu Sep 2 13:29:15 2010 Subject: Multiple mount_smbfs commands fail in bash script In-Reply-To: <4C7F925B.9010807@itsacon.net> References: <4C7F5F25.2010604@itsacon.net> <20100902075053.4bdb443b@scorpio> <4C7F925B.9010807@itsacon.net> Message-ID: <20100902152905.905caea1.freebsd@edvax.de> On Thu, 02 Sep 2010 14:02:35 +0200, Bernard Scharp wrote: > > > > > Could you post the script? Anything else would be pure guess work. You > > Well, I can recreate it with something as simple as: > > #!/usr/local/bin/bash > mount_smbfs //user@remotehost/share1/ /tmp/mnt/ > mount_smbfs //user@remotehost/share2/ /tmp/mnt2/ Excuse me, it may just be a stupid question... but... why do you use bash for this purpose? Do you require any special bash feature that cannot be done using the standard shell, sh? I often see the urge to use bash for scripting as a typical "Linuxism", which is usually non-portable (if that was your goal). FreeBSD's standard scripting shell is sh, so why not use it until you reach the ends of its functionality? Just a guess, regarding your initial question, as I don't have experience with "Windows" related things: Did you have the chance to monitor correct operations of your script in the past? Did the mound and umount (!) calls work properly? Have you checked your commands running them in the standard dialog shell (csh)? I assume you're running them as root (or at least with sufficient permissions), so I don't think the problem is there, as the error message mount_smbfs: can't get handle to requester (no /dev/nsmb* device) doesn't look like refering to that problem. The error message originates from /usr/src/contrib/smbfs/lib/smb/ctx.c; having a look around, and remembering that you said > [...] there are (by last count) 1170 /dev/nsmb* devices > in /dev/ (is that normal?) I found smb_ctx_gethandle() near line 600 (version 7 OS here): /* * well, no clone capabilities available - we have to scan * all devices in order to get free one */ for (i = 0; i < 1024; i++) { snprintf(buf, sizeof(buf), "/dev/%s%d", NSMB_NAME, i); fd = open(buf, O_RDWR); if (fd >= 0) { ctx->ct_fd = fd; return 0; } } The limit seems to be 1024, if I read that correctly - allthough I'm considered a "C hacker", I'm no "OS-level C hacker". :-) Afterwards, smb_ctx_lookup() fails and gives the error message mentioned earlier. Remove the /dev/nsmb* devices and try again. Make sure no other SMB stuff is currently mounted, just to be sure, as I don't have any idea what could fail. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd-questions-local at be-well.ilk.org Thu Sep 2 13:51:01 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Sep 2 13:51:08 2010 Subject: error - ad2: FAILURE In-Reply-To: <201009012243.57415.mike.jeays@rogers.com> (Mike Jeays's message of "Wed, 1 Sep 2010 22:43:56 -0400") References: <201009012243.57415.mike.jeays@rogers.com> Message-ID: <44tym89rul.fsf@be-well.ilk.org> Mike Jeays writes: > On September 1, 2010 10:29:42 pm Xihong Yin wrote: >> Hi, >> >> I received the following error when I try to access files in some of the >> directories in /usr and when the computer boots. ad2s1f is mounted on >> /usr. >> >> ad2: FAILURE - READ_DMA status=51 error=40 >> LBA=37370159 g_vfs_done():ad2s1f[READ(offset=15415558144, >> length=16384)]error = 5 >> >> Is this a sign of hard drive failure? Can I fix the error or do I have to >> replace the hard drive? > I would think it is a hardware error, and the disk has run out of replacement > sectors. If possible, it should be replaced, and any valuable data copied to > somewhere safe, as soon as possible. Not necessarily. This is a read error, so replacement sectors wouldn't help anyway. The problematic files might get fixed by the disk if they were rewritten. A SMART report (e.g., from sysutils/smartmontools) might give more information about the condition of the drive. None of which is to say that it isn't worrying, or that backing up valuable data isn't called for (even more so than usual). Make sure you have good backups before you do anything else. From freebsd-questions at itsacon.net Thu Sep 2 13:52:27 2010 From: freebsd-questions at itsacon.net (Bernard Scharp) Date: Thu Sep 2 13:52:35 2010 Subject: Multiple mount_smbfs commands fail in bash script In-Reply-To: <20100902152905.905caea1.freebsd@edvax.de> References: <4C7F5F25.2010604@itsacon.net> <20100902075053.4bdb443b@scorpio> <4C7F925B.9010807@itsacon.net> <20100902152905.905caea1.freebsd@edvax.de> Message-ID: <4C7FAC19.9090309@itsacon.net> On 02/09/2010 15:29, Polytropon wrote: > On Thu, 02 Sep 2010 14:02:35 +0200, Bernard Scharp wrote: >> >>> >>> Could you post the script? Anything else would be pure guess work. You >> >> Well, I can recreate it with something as simple as: >> >> #!/usr/local/bin/bash >> mount_smbfs //user@remotehost/share1/ /tmp/mnt/ >> mount_smbfs //user@remotehost/share2/ /tmp/mnt2/ > > Excuse me, it may just be a stupid question... but... why do > you use bash for this purpose? Do you require any special > bash feature that cannot be done using the standard shell, > sh? I often see the urge to use bash for scripting as a > typical "Linuxism", which is usually non-portable (if that > was your goal). FreeBSD's standard scripting shell is sh, > so why not use it until you reach the ends of its functionality? The script above is a (heavily) reduced version, used to isolate the problem. The real script is much longer, and uses a bunch of logic to walk through a list of different systems (each with their own lists of shares, loaded from external files), taking snapshots of the previous backup, logging which systems were backed up, rolling back operations if a backup fails, etc. > Just a guess, regarding your initial question, as I don't have > experience with "Windows" related things: Did you have the > chance to monitor correct operations of your script in the > past? Did the mound and umount (!) calls work properly? Have > you checked your commands running them in the standard dialog > shell (csh)? I assume you're running them as root (or at least > with sufficient permissions), so I don't think the problem > is there, as the error message > > mount_smbfs: can't get handle to requester (no /dev/nsmb* device) > > doesn't look like refering to that problem. I am running it as root, and I just tried running the (test)script (without the bash reference) under a csh shell, and got the same error, so it's not a bash problem. As for monitoring the operations of the script, it has worked fine before (for several years), so I'm pretty sure the code is correct. > > The error message originates from /usr/src/contrib/smbfs/lib/smb/ctx.c; > having a look around, and remembering that you said > >> [...] there are (by last count) 1170 /dev/nsmb* devices >> in /dev/ (is that normal?) > > I found smb_ctx_gethandle() near line 600 (version 7 OS here): > > /* > * well, no clone capabilities available - we have to scan > * all devices in order to get free one > */ > for (i = 0; i < 1024; i++) { > snprintf(buf, sizeof(buf), "/dev/%s%d", NSMB_NAME, i); > fd = open(buf, O_RDWR); > if (fd >= 0) { > ctx->ct_fd = fd; > return 0; > } > } > > The limit seems to be 1024, if I read that correctly - allthough > I'm considered a "C hacker", I'm no "OS-level C hacker". :-) Neither am I. Hadn't even thought of grepping in /usr/src for the error message :-) > > Afterwards, smb_ctx_lookup() fails and gives the error message > mentioned earlier. > > Remove the /dev/nsmb* devices and try again. Make sure no other > SMB stuff is currently mounted, just to be sure, as I don't have > any idea what could fail. > Can I just `rm /dev/nsmbX` them? (messing in /dev/ is a level of FreeBSD I'm not familiar with) Thanks for all your help! Bernard From edflecko at gmail.com Thu Sep 2 13:55:07 2010 From: edflecko at gmail.com (Ed Flecko) Date: Thu Sep 2 13:55:13 2010 Subject: Should a "squid" user have a shell? In-Reply-To: <20100902005209.7bf86664@gumby.homeunix.com> References: <20100902000316.5a5cf931@gumby.homeunix.com> <20100902005209.7bf86664@gumby.homeunix.com> Message-ID: Excellent! Thanks for the tips! Ed From frank at shute.org.uk Thu Sep 2 14:01:20 2010 From: frank at shute.org.uk (Frank Shute) Date: Thu Sep 2 14:01:27 2010 Subject: killall -9 program-name does not work In-Reply-To: References: <20100830120007.543fa5dd@gumby.homeunix.com> Message-ID: <20100902140113.GA69315@orange.esperance-linux.co.uk> On Wed, Sep 01, 2010 at 08:32:56PM -0500, Antonio Olivares wrote: > > On 8/30/10, RW wrote: > > On Mon, 30 Aug 2010 03:14:58 +0000 > > Antonio Olivares wrote: > > > >> Dear fellow FreeBSD users, > >> > >> I have a cron script that plays music in the morning when I arrive at > >> work. > >> > >> in ~/.xalarm I have two lines, one that calls xterm and one that calls > >> mplayer and plays a series of music files in a playlist > >> > >> crontab -l > >> has the following > >> # min hour day-of-month month day-of-week command > >> # 0-59 0-23 1-31 1-12 0-6 0=sun 1=mon > >> 00 07 * * 1-5 ~/.xalarm >/dev/null 2>&1 > >> 30 07 * * 1-5 killall -9 /usr/local/bin/mplayer >/dev/null 2>&1 > > > > You don't need the path to mplayer. > > It makes no difference. This does not stop mplayer from playing :( > > Thanks though for trying to help. > > Regards, > > Antonio Use the command: killall -d mplayer & see what it's saying. ie. don't direct stout & sterr to /dev/null Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From freebsd at edvax.de Thu Sep 2 14:20:58 2010 From: freebsd at edvax.de (Polytropon) Date: Thu Sep 2 14:21:06 2010 Subject: Multiple mount_smbfs commands fail in bash script In-Reply-To: <4C7FAC19.9090309@itsacon.net> References: <4C7F5F25.2010604@itsacon.net> <20100902075053.4bdb443b@scorpio> <4C7F925B.9010807@itsacon.net> <20100902152905.905caea1.freebsd@edvax.de> <4C7FAC19.9090309@itsacon.net> Message-ID: <20100902162056.7d890888.freebsd@edvax.de> On Thu, 02 Sep 2010 15:52:25 +0200, Bernard Scharp wrote: > Neither am I. Hadn't even thought of grepping in /usr/src for the error > message :-) It's often a good starting point to see where problems might be caused from. > Can I just `rm /dev/nsmbX` them? (messing in /dev/ is a level of FreeBSD > I'm not familiar with) Yes, I would guess so. The content of /dev/ is dynamically generated since FreeBSD 5, if I remember correctly. As the nsmb nodes don't seem to be in use any longer, it would be no problem to remove them. The mount_smbfs program will generate them if needed. Just as an addition: After your script successfully performed the operations needing the mounted SMB shares, it could remove the corresponding device files. Still, this looks like a bug to me, a "can't image anybody needs more than 1024 of them" kind of bug. I would have imagined that IF a program needs files in a temporary way, it removes them after use. Just to be sure, unmount all SMB related things, as I can't predict what would happen if a nsmb device disappears when in use. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at penx.com Thu Sep 2 14:27:37 2010 From: freebsd at penx.com (Dennis Glatting) Date: Thu Sep 2 14:27:47 2010 Subject: What's up with cvsup.freebsd.org? Message-ID: This has been happening for several days. Is cvsup dead vs SVN? Cvsup is still listed in the handbook. CVSup update begins at 2010-09-02 04:40:00 Updating from cvsup.freebsd.org Connected to cvsup.freebsd.org Premature EOF from server CVSup update ends at 2010-09-02 04:40:00 From edflecko at gmail.com Thu Sep 2 14:29:56 2010 From: edflecko at gmail.com (Ed Flecko) Date: Thu Sep 2 14:30:03 2010 Subject: Which specific version will be installed via pkg_add or via the port? Message-ID: Hi folks, When you're installing software via the pkg_add command or building from source, how do you what specific version you'll be installing BEFORE you actually install it? Ed From freebsd-questions-local at be-well.ilk.org Thu Sep 2 14:36:34 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Sep 2 14:36:41 2010 Subject: What's up with cvsup.freebsd.org? In-Reply-To: (Dennis Glatting's message of "Thu, 2 Sep 2010 07:53:52 -0600 (MDT)") References: Message-ID: <44lj7k9pqt.fsf@be-well.ilk.org> Dennis Glatting writes: > This has been happening for several days. Is cvsup dead vs SVN? Cvsup > is still listed in the handbook. cvsup is still fine. Please (as recommended in the handbook) use a mirror closer to you. From freebsd-questions-local at be-well.ilk.org Thu Sep 2 14:43:43 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Sep 2 14:43:50 2010 Subject: Which specific version will be installed via pkg_add or via the port? In-Reply-To: (Ed Flecko's message of "Thu, 2 Sep 2010 07:29:55 -0700") References: Message-ID: <44hbi89peq.fsf@be-well.ilk.org> Ed Flecko writes: > When you're installing software via the pkg_add command or building > from source, how do you what specific version you'll be installing > BEFORE you actually install it? By reading the port's Makefile, in my case. Other common options are "make packagename" in the port's directory http://www.freebsd.org/ports http://www.freshports.org/ There are probably more ways in ports(7), as well. From glen.j.barber at gmail.com Thu Sep 2 14:56:32 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Sep 2 14:56:40 2010 Subject: Which specific version will be installed via pkg_add or via the port? In-Reply-To: <44hbi89peq.fsf@be-well.ilk.org> References: <44hbi89peq.fsf@be-well.ilk.org> Message-ID: <4C7FBB1B.3090604@gmail.com> On 9/2/10 10:43 AM, Lowell Gilbert wrote: > Ed Flecko writes: > >> When you're installing software via the pkg_add command or building >> from source, how do you what specific version you'll be installing >> BEFORE you actually install it? > > By reading the port's Makefile, in my case. > Other common options are > "make packagename" in the port's directory > http://www.freebsd.org/ports > http://www.freshports.org/ > Adding onto Lowell's response, you can see which version of the port was packaged at release time by logging directly into the FTP server: ftp://ftp.FreeBSD.org/pub/FreeBSD and take a look at what is in the package directory. For example: ls ports/${ARCH}/packages-X.Y-release/${CATEGORY}/${PORT} replacing ${ARCH}, ${CATEGORY}, and ${PORT} as appropriate, and replacing X and Y with your current release version (for example, 8.1). Regards, -- Glen Barber From enlil65 at gmail.com Thu Sep 2 15:15:46 2010 From: enlil65 at gmail.com (Peggy Wilkins) Date: Thu Sep 2 15:15:53 2010 Subject: network deamons starting before network! In-Reply-To: <4C1B20F0.2090804@mapper.nl> References: <4C1B20F0.2090804@mapper.nl> Message-ID: On Fri, Jun 18, 2010 at 2:32 AM, Mark Stapper wrote: > Since updating to 8.X I noticed that network services were started > before the network was up! > I use lagg failover configuration on both my FreeBSD boxes. > First, boot fails on mounting my nfs-shares. > After entering and exiting the "rescue" shell, the system boots as normal. > > uname -a > FreeBSD mario 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: Fri Jun 18 > 07:46:01 CEST 2010 ? ? ****@mario:/usr/obj/usr/src/sys/mario ?amd64 > What could I do to fix this? > > Here's an exerpt from /var/log/messages: > > Jun 18 09:10:25 ?ntpd[1376]: ntpd 4.2.4p5-a (1) > Jun 18 09:10:25 ?kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 > Jun 18 09:10:27 ?ntpd_initres[1412]: host name not found: yoshi > Jun 18 09:10:27 ?kernel: nfe0: link state changed to UP > Jun 18 09:10:27 ?kernel: lagg0: link state changed to UP > Jun 18 09:10:27 ?kernel: nfe1: link state changed to UP > Jun 18 09:10:27 ?ntpd_initres[1412]: couldn't resolve `yoshi', giving up > on it > Jun 18 09:10:28 ?dhclient: New Hostname (lagg0): mario > Jun 18 09:10:28 ?dhclient: New IP Address (lagg0): 10.58.235.6 > Jun 18 09:10:28 ?dhclient: New Subnet Mask (lagg0): 255.255.255.0 > Jun 18 09:10:28 ?dhclient: New Broadcast Address (lagg0): 10.58.235.255 > Jun 18 09:10:28 ?dhclient: New Routers (lagg0): 10.58.235.1 I upgraded my amd64 FreeBSD-8.0-RELEASE-p4 system to FreeBSD-8.1-RELEASE earlier this week. After completing the upgrade and rebooting, I also am having the above reported problem. I am not using dhcp, I have configured a static IP address. My system also has nfe NIC. I wonder if this problem is specific to systems using nfe network driver. The problem was not occuring on my 8.0 system, before the upgrade to 8.1. Here are my boot messages that display this problem. (I will note that nfe0 shows "no carrier".) Setting hostname: capricorn.lib.uchicago.edu nfe0: link state changed to DOWN Starting Network: lo0 nfe0. lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 nd6 options=3 nfe0: flags=8843 metric 0 mtu 1500 options=80008 ether 00:1a:92:45:c5:25 inet 128.135.53.92 netmask 0xffffff00 broadcast 128.135.53.255 media: Ethernet autoselect (none) status: no carrier add net default: gateway 128.135.53.1 Starting devd. Mounting NFS file systems: mount_nfs: quarto: hostname nor servname provided, or not known [snip -- this is repeated for every NFS mount we have configured] ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/kde4/lib /usr/local/lib/qt4 /usr/local/lib/virtualbox /usr/local/lib/zsh 32-bit compatibility ldconfig path: /usr/lib32 Creating and/or trimming log files . Starting syslogd. Starting rpcbind. NFS access cache time=60 rpc.umntall: quarto: MOUNTPROG: RPC: Unknown host [snip -- repeated errors again] Starting amd. Sep 1 17:49:11 capricorn amd[1017]/info: using configuration file /etc/amd.conf Clearing /tmp (X related). Starting mountd. Sep 1 17:49:12 capricorn mountd[1091]: can't get address info for host mozart.lib.uchicago.edu Sep 1 17:49:12 capricorn mountd[1091]: bad host mozart.lib.uchicago.edu, skipping Sep 1 17:49:12 capricorn mountd[1091]: bad exports list line /disk/1 -alldirs mozart.lib.uchicago.edu [snip -- repeated errors for each line in /etc/exports and /etc/zfs/exports] Starting nfsd. Starting statd. Starting lockd. NLM: failed to contact remote rpcbind, stat = 7, port = 28416 Sep 1 17:49:12 capricorn rpcbind: connect from ::1 to getport/addr(status): request from unauthorized host Sep 1 17:49:12 capricorn kernel: NLM: failed to contact remote rpcbind, stat = 7, port = 28416 Starting local daemons: . Starting lpd. Updating motd: . Mounting late file systems: mount_nfs: quarto: hostname nor servname provided, or not known [snip repeated errors] Mounting /etc/fstab filesystems failed, startup aborted ERROR: ABORTING BOOT (sending SIGTERM to parent)! Sep 1 17:49:12 capricorn init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh : # nfe0: link state changed to UP ===== END boot messages excerpt At this point I can fix all issues by killing mountd and syslogd and then exiting single user. The reason to kill mountd is that without doing this two mountd's will be running. The reason to kill syslogd is that if I don't kill it before exiting single user: Starting syslogd. Sep 1 17:53:17 syslogd: bind: Address already in use Sep 1 17:53:17 syslogd: bind: Address already in use syslogd: child pid 1910 exited with return code 1 /etc/rc: WARNING: failed to start syslogd This also causes errors later because there is no /var/run/syslog.pid written (it gets deleted). I also get these warnings (after exiting single user): rpcbind already running? (pid=990). amd already running? (pid=1028). Clearing /tmp (X related). Starting mountd. nfsd already running? (pid=1101 1102). statd already running? (pid=1109). lockd already running? (pid=1116). Starting local daemons: . lpd already running? (pid=1162). But these are not problematic. It is pretty clear that the network services are all getting started twice, once before dropping to single user shell, and a second time after exiting single user. It is also pretty clear that "nfe0: link state changed to DOWN" is happening at a bad time; and nothing that requires network to be up is waiting for it to change to UP. Is this a clear enough report? Time for a send-pr? (I haven't done that in many years.) plw From web at umich.edu Thu Sep 2 15:35:51 2010 From: web at umich.edu (William Bulley) Date: Thu Sep 2 15:36:01 2010 Subject: SOLVED: serious (for me) Xorg 7.5 mouse/kbd problem in 8.1-STABLE Message-ID: <20100902153115.GA85154@itcom245.staff.itd.umich.edu> See below for details of solution. ----- Forwarded message from William Bulley ----- To: FreeBSD Questions From: William Bulley Date: Wed, 25 Aug 2010 07:38:34 -0400 Subject: serious (for me) Xorg 7.5 mouse/kbd problem in 8.1-STABLE For years I have run Open-Motif on FreeBSD without issue. I use a USB keyboard and a USB three button mouse attached to a Dell Optiplex 960. This combination has worked fine for the past year. This week I upgraded from 8.0-STABLE circa January 2010 to 8.1-STABLE. I do this by doing a buildworld/installworld sequence after csup-ing stable-supfile and rebooting. In this case I also pkg_deleted all of my ports and am rebuilding them from source. Building Xorg is one of the very first ports I attempt since I prefer to work in xterms not virtual terminals. This upgrade moved me from Xorg 7.3 to Xorg 7.5, but Open-Motif stayed the same - open-motif-2.2.3_6 - it hasn't changed in years. After building Xorg, as root, I ran the "Xorg -configure" command to generate my xorg.conf.new file. Since a working /etc/X11/xorg.conf file was still around after the upgrade from 8.0-STABLE/Xorg 7.3, I felt no need to change anything in that file (later file comparisons confirmed that nothing had changed). My only relevant additions to /etc/X11/xorg.conf are these: Section "ServerFlags" Option "AutoAddDevices" "off" Option "DontZap" "false" EndSection In my /etc/rc.conf file I have dbus and hald enabled, and that has not changed since the beginning of 2010 after the confusion abated. As a normal user, I start Xorg using /usr/local/bin/xinit as always. I have several xterms configured in my ~/.xinitrc file. All those came up in the correct location and state. I was able to open those that started in iconic mode. In an open/raised xterm I could enter carriage returns and see my shell prompt move down the window. But when I tried to close/minimize an open/raised xterm, things failed. I use the following keyboard/mouse combination (configured in my .mwmrc file) to close (minimize) an xterm (and other applications): Shift window f.minimize This is also unchanged for some years. This particular setting has no bearing on the problem I came across yesterday. I merely state it for the record. However, this configuration triggers the "bug". The problem is as soon as I use that Shift/Btn3Click combination, my arrow cursor disappears, then I cannot move to or select other xterms - I am frozen, or locked, into the xterm I was trying to close/minimize. All I can do at this point is to kill(1) the /usr/local/bin/xinit command to return to the virtual terminal where I launched my Xorg session. I am now reluctantly using the good old /usr/local/bin/twm which is always built when Xorg is built from source. I am at a loss as to what to look for next. I suspect Xorg, or the keyboard and mouse driver, not the video driver, that came with. It might be a problem with hald(8), but again, I don't know how to debug this. Any help with this very odd bug would be greatly appreciated. ----- End forwarded message ----- This problem is known (and fixed) in newer versions of xorg-server. See this URL for details of the problem. I have also attached the changes I made to the dit/events.c file. After rebuilding xorg-server with those patches, the Open Motif (mwm) window manager now works with the above minimize keyboard and mouse squence. Thanks for all the help. Regards, web... -- William Bulley Email: web@umich.edu 72 characters width template ----------------------------------------->| -------------- next part -------------- for (; grab; grab = grab->next) { DeviceIntPtr gdev; XkbSrvInfoPtr xkbi = NULL; /* 3471 Mask mask = 0; */ gdev= grab->modifierDevice; =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= } xE = &core; count = 1; /* 3586 mask = grab->eventMask; */ } else if (match & XI2_MATCH) { =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= count = 1; /* 3599 * FIXME: EventToXI2 returns NULL for enter events, so * dereferencing the event is bad. Internal event types are * aligned with core events, so the else clause is valid. * long-term we should use internal events for enter/focus * as well * if (xE) mask = grab->xi2mask[device->id][((xGenericEvent*)xE)->evtype/8]; else if (event->type == XI_Enter || event->type == XI_FocusIn) mask = grab->xi2mask[device->id][event->type/8]; */ } else { rc = EventToXI((InternalEvent*)event, &xE, &count); =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= "(%d, %d).\n", device->name, event->type, rc); continue; } /* 3618 mask = grab->eventMask; */ } (*grabinfo->ActivateGrab)(device, grab, currentTime, TRUE); =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= if (xE) { FixUpEventFromWindow(device, xE, grab->window, None, TRUE); /* 3627 TryClientEvents(rClient(grab), device, xE, count, mask, */ TryClientEvents(rClient(grab), device, xE, count, GetEventFilter(device, xE), GetEventFilter(device, xE), grab); } if (grabinfo->sync.state == FROZEN_NO_EVENT) From nekoexmachina at gmail.com Thu Sep 2 16:15:31 2010 From: nekoexmachina at gmail.com (Mikle Krutov) Date: Thu Sep 2 16:15:37 2010 Subject: Linux emu: ELF file OS ABI invalid Message-ID: Hello, list! Got a strange problem with some linux binaries (utilset for Dwarf Fortress game, DFHack): file reports them all as 'ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped' All are brandelf'd as in handbook. Utilset requires two libraries, libdfhack.so and libdfconnect.so, that are reported as 'ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux), dynamically linked, not stripped'; both of them are brandelf'd, too. So, i've put libs into /compat/linux/usr/lib/ and tried to run one of tools and got: ./dfprospector: error while loading shared libraries: /usr/lib/libdfhack.so: ELF file OS ABI invalid What could be the source of the problem? I'm running 32-bit 8.1-STABLE FreeBSD right now. -- with best regards, Krutov Mikle From freebsd at penx.com Thu Sep 2 16:52:08 2010 From: freebsd at penx.com (Dennis Glatting) Date: Thu Sep 2 16:52:14 2010 Subject: What's up with cvsup.freebsd.org? In-Reply-To: <44lj7k9pqt.fsf@be-well.ilk.org> References: <44lj7k9pqt.fsf@be-well.ilk.org> Message-ID: On Thu, 2 Sep 2010, Lowell Gilbert wrote: > Dennis Glatting writes: > >> This has been happening for several days. Is cvsup dead vs SVN? Cvsup >> is still listed in the handbook. > > cvsup is still fine. Please (as recommended in the handbook) use a > mirror closer to you. > cvsup1, which has the same IP address as cvsup, /is/ listed as the server closest to me in the handbook. More specifically: /usr/local/etc/cvsup/update.sh -L2 CVSup update begins at 2010-09-02 09:46:13 Updating from cvsup1.freebsd.org Parsing supfile "/usr/local/etc/cvsup/supfile" Connecting to cvsup1.freebsd.org Connected to cvsup1.freebsd.org Premature EOF from server CVSup update ends at 2010-09-02 09:46:15 Something has changed in the past several days and I'm now getting Premature EOF. (I operate a mirror within our enterprise.) If the server /is fine/, then why have I been getting this message for the past several days? Nothing has changed on my end. From glarkin at FreeBSD.org Thu Sep 2 17:47:09 2010 From: glarkin at FreeBSD.org (Greg Larkin) Date: Thu Sep 2 17:47:18 2010 Subject: What's up with cvsup.freebsd.org? In-Reply-To: References: <44lj7k9pqt.fsf@be-well.ilk.org> Message-ID: <4C7FE30F.80603@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dennis Glatting wrote: > > > On Thu, 2 Sep 2010, Lowell Gilbert wrote: > >> Dennis Glatting writes: >> >>> This has been happening for several days. Is cvsup dead vs SVN? Cvsup >>> is still listed in the handbook. >> >> cvsup is still fine. Please (as recommended in the handbook) use a >> mirror closer to you. >> > > cvsup1, which has the same IP address as cvsup, /is/ listed as the > server closest to me in the handbook. More specifically: > > /usr/local/etc/cvsup/update.sh -L2 > CVSup update begins at 2010-09-02 09:46:13 > Updating from cvsup1.freebsd.org > Parsing supfile "/usr/local/etc/cvsup/supfile" > Connecting to cvsup1.freebsd.org > Connected to cvsup1.freebsd.org > Premature EOF from server > CVSup update ends at 2010-09-02 09:46:15 > > Something has changed in the past several days and I'm now getting > Premature EOF. (I operate a mirror within our enterprise.) If the server > /is fine/, then why have I been getting this message for the past > several days? Nothing has changed on my end. > Hi Dennis, Instead of relying on a particular cvsup server, how about installing fastest_cvsup (http://www.freshports.org/sysutils/fastest_cvsup)? If you run it in your script and pass the resulting hostname to csup, you'll get the server with the best response at that time. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMf+MP0sRouByUApARAlIwAJ0fAI9fPVzMbJnx9GUxQR+z5YBkuQCfVPcM AJ12xqKEXwKs88l3hYlMNS8= =xr6y -----END PGP SIGNATURE----- From kline at thought.org Thu Sep 2 17:52:31 2010 From: kline at thought.org (Gary Kline) Date: Thu Sep 2 17:52:39 2010 Subject: how do i scp .dotfiles?? In-Reply-To: References: <20100827170737.GA96063@thought.org> <26118_1282929673_4C77F409_26118_366_1_D9B37353831173459FDAA836D3B434999FDCA57D@WADPMBXV0.waddell.com> <20100827211306.68e261be.freebsd@edvax.de> Message-ID: <20100902175220.GA81006@thought.org> On Tue, Aug 31, 2010 at 02:48:28PM +0100, krad wrote: > On 30 August 2010 20:02, Chris Rees wrote: > > > On 30 August 2010 18:37, krad wrote: > > > On 27 August 2010 20:13, Polytropon wrote: > > > > > >> On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten > > >> wrote: > > >> > Rename them, copy, then rename them back? > > >> > > >> Not good for a whole bunch of files; in this case: tar them together, > > >> transfer the archive, untar it; rename afterwards if needed. :-) > > > > > > or > > > > > > sudo tar cf - /somepath | ssh x@y " sudo tar xvf - -C somepath " > > > > > > I agree with other posts though rsync is the easiest > > > > > > Why sudo with tar? > > > > Chris > > > > make sure all perms correct and can read all files Just to make =sure= about this: can using tar/gtar as root [or sudo] make sure that all the permissions are correct? It =may= save me keystrokes, :_) 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" > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org From freebsd-questions-local at be-well.ilk.org Thu Sep 2 18:01:08 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Sep 2 18:01:15 2010 Subject: What's up with cvsup.freebsd.org? In-Reply-To: (Dennis Glatting's message of "Thu, 2 Sep 2010 10:51:52 -0600 (MDT)") References: <44lj7k9pqt.fsf@be-well.ilk.org> Message-ID: <44vd6om3dp.fsf@be-well.ilk.org> Dennis Glatting writes: > On Thu, 2 Sep 2010, Lowell Gilbert wrote: > >> Dennis Glatting writes: >> >>> This has been happening for several days. Is cvsup dead vs SVN? Cvsup >>> is still listed in the handbook. >> >> cvsup is still fine. Please (as recommended in the handbook) use a >> mirror closer to you. >> > > cvsup1, which has the same IP address as cvsup, /is/ listed as the > server closest to me in the handbook. More specifically: > > /usr/local/etc/cvsup/update.sh -L2 > CVSup update begins at 2010-09-02 09:46:13 > Updating from cvsup1.freebsd.org > Parsing supfile "/usr/local/etc/cvsup/supfile" > Connecting to cvsup1.freebsd.org > Connected to cvsup1.freebsd.org > Premature EOF from server > CVSup update ends at 2010-09-02 09:46:15 > > Something has changed in the past several days and I'm now getting > Premature EOF. (I operate a mirror within our enterprise.) If the > server /is fine/, then why have I been getting this message for the > past several days? Nothing has changed on my end. Sorry for being unclear; I wasn't saying the server was fine, I was saying that the protocol was fine and still fully supported. I'd say that you have two main options for now; track down the person responsible for cvsup1.freebsd.org (hubs@ list might help), or use another server for the time being. From hselasky at c2i.net Thu Sep 2 18:45:35 2010 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Sep 2 18:45:42 2010 Subject: Interactive Port In-Reply-To: <4c7e075b.8edSaF5Xw9mGHkRS%perryh@pluto.rain.com> References: <20100901000413.GA1559@bsd.remdog.net> <4c7e075b.8edSaF5Xw9mGHkRS%perryh@pluto.rain.com> Message-ID: <201009022031.24920.hselasky@c2i.net> On Wednesday 01 September 2010 09:57:15 perryh@pluto.rain.com wrote: > Rem P Roberti wrote: > > Brother! Muttprint is now working fine. The problem: the printer > > was offline! Now, before you go accusing me of being a complete > > dufus, let me say that I had no way of knowing that that condition > > existed. The printer itself indicated that it was online---no > > problem. What happened is that somehow, and I'm not sure what > > caused this, the printer became disengaged from its usb port. > > I'd call it a bug in the printer that it continues to indicate > online when it has lost its connection to its host (unless it > also has a network connection, and in that case I imagine you'd > be using the network instead of USB). > > > ... The only way that I could get it talking again to usb was by > > doing a reboot. > > Now _that_ sounds like a possible bug in the USB subsystem, since > USB is supposed to be completely hot-pluggable and should not need > a reboot to get itself straightened out after a mishap. Cc-ing usb@ > list. > > One question which will surely arise is, which FreeBSD version are > you using? The USB stack was completely rewritten in 8.0. If the USB application does not close the /dev/XXX handles, it will block the enumeration of new USB devices on that bus. Also see "usbconfig -d X.Y reset" --HPS From gull at gull.us Thu Sep 2 19:25:04 2010 From: gull at gull.us (David Brodbeck) Date: Thu Sep 2 19:25:10 2010 Subject: Weird Linux - FreeBSD/ZFS NFSv4 interoperability problem Message-ID: While doing some interoperability testing between Linux and FreeBSD, I came up with this unusual issue. I could use some help figuring out if this is a bug, and if so, where to file it. Here's the scenario: - FreeBSD 8.1-RELEASE server, sharing a ZFS filesystem via NFSv4. - Linux client (I've tested with RHEL 5.4 and Debian Lenny) mounting said filesystem with NFSv4. - A user on the Linux client does a Subversion checkout onto the mounted filesystem. At the end of the checkout, access to the filesystem hangs. nfsd on the FreeBSD server and rpciod on the Linux client seem to be in a tight loop, and there's lots of network traffic between them. I can reproduce this every time. The problem does not occur if the backing filesystem is UFS instead of ZFS, if NFSv3 is used instead of NFSv4, or if the client is FreeBSD instead of Linux. From gibblertron at gmail.com Thu Sep 2 20:10:37 2010 From: gibblertron at gmail.com (patrick) Date: Thu Sep 2 20:10:45 2010 Subject: 8.1: Cron ignoring crontab updates Message-ID: I recently upgraded a FreeBSD 7.0 system to 8.1-RELEASE (via freebsd-update) and am experiencing the strangest cron problem I have ever seen. My cron jobs run, but if I make any changes to my crontab, cron does not pick them up; it continues to operate based on the snapshot of crontabs it loaded when cron was started up. If I restart cron (/etc/rc.d/cron restart), the changes are then picked up, but again, any subsequent changes are ignored. I don't see any issues with the permissions, and when I edit a crontab, it says "crontab: installing new crontab", and the /var/log/cron log shows BEGIN EDIT, REPLACE, and END EDIT. I'm somewhat at a loss to figure out where the disconnect is, and it's impractical for me to have to restart cron any time any user updates their crontab. Has anyone come across this? Patrick From utisoft at gmail.com Thu Sep 2 21:51:59 2010 From: utisoft at gmail.com (Chris Rees) Date: Thu Sep 2 21:52:06 2010 Subject: 8.1: Cron ignoring crontab updates In-Reply-To: References: Message-ID: You have to SIGHUP cron, not restart it. # killall -HUP cron Chris -------- Sorry for top-posting, Android won't let me quote, but K-9 can't yet do threading. On 2 Sep 2010 21:11, "patrick" wrote: I recently upgraded a FreeBSD 7.0 system to 8.1-RELEASE (via freebsd-update) and am experiencing the strangest cron problem I have ever seen. My cron jobs run, but if I make any changes to my crontab, cron does not pick them up; it continues to operate based on the snapshot of crontabs it loaded when cron was started up. If I restart cron (/etc/rc.d/cron restart), the changes are then picked up, but again, any subsequent changes are ignored. I don't see any issues with the permissions, and when I edit a crontab, it says "crontab: installing new crontab", and the /var/log/cron log shows BEGIN EDIT, REPLACE, and END EDIT. I'm somewhat at a loss to figure out where the disconnect is, and it's impractical for me to have to restart cron any time any user updates their crontab. Has anyone come across this? Patrick _______________________________________________ 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-questions-local at be-well.ilk.org Fri Sep 3 00:03:35 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri Sep 3 00:03:42 2010 Subject: how do i scp .dotfiles?? In-Reply-To: <20100902175220.GA81006@thought.org> (Gary Kline's message of "Thu, 2 Sep 2010 10:52:20 -0700") References: <20100827170737.GA96063@thought.org> <26118_1282929673_4C77F409_26118_366_1_D9B37353831173459FDAA836D3B434999FDCA57D@WADPMBXV0.waddell.com> <20100827211306.68e261be.freebsd@edvax.de> <20100902175220.GA81006@thought.org> Message-ID: <44occf4rsi.fsf@lowell-desk.lan> Gary Kline writes: > Just to make =sure= about this: can using tar/gtar as root [or > sudo] make sure that all the permissions are correct? It =may= > save me keystrokes, :_) Permissions, yes. If you want flags, you'll need the base system tar. From bsam at ipt.ru Fri Sep 3 05:03:19 2010 From: bsam at ipt.ru (Boris Samorodov) Date: Fri Sep 3 05:03:27 2010 Subject: Linux emu: ELF file OS ABI invalid In-Reply-To: (Mikle Krutov's message of "Thu, 2 Sep 2010 15:49:19 +0000") References: Message-ID: <61270570@bb.ipt.ru> On Thu, 2 Sep 2010 15:49:19 +0000 Mikle Krutov wrote: > Got a strange problem with some linux binaries > (utilset for Dwarf Fortress game, DFHack): > file reports them all as > 'ELF 32-bit LSB executable, Intel 80386, > version 1 (GNU/Linux), dynamically linked (uses > shared libs), for GNU/Linux 2.6.15, not stripped' > All are brandelf'd as in handbook. Good. > Utilset requires two libraries, libdfhack.so and > libdfconnect.so, that are reported as > 'ELF 32-bit LSB shared object, Intel 80386, > version 1 (GNU/Linux), dynamically linked, not > stripped'; both of them are brandelf'd, too. Not good. The FreeBSD Handbook (section 10.2.3, Installing a Random Linux RPM Based Application) forbids library branding. > So, i've put libs into /compat/linux/usr/lib/ and tried > to run one of tools and got: > ./dfprospector: error while loading shared libraries: > /usr/lib/libdfhack.so: ELF file OS ABI invalid > What could be the source of the problem? > I'm running 32-bit 8.1-STABLE FreeBSD right now. Please try native linux libraries and report back if that helps. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From freebsd at penx.com Fri Sep 3 06:12:02 2010 From: freebsd at penx.com (Dennis Glatting) Date: Fri Sep 3 06:12:10 2010 Subject: What's up with cvsup.freebsd.org? In-Reply-To: <4C7FE30F.80603@FreeBSD.org> References: <44lj7k9pqt.fsf@be-well.ilk.org> <4C7FE30F.80603@FreeBSD.org> Message-ID: On Thu, 2 Sep 2010, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dennis Glatting wrote: >> >> >> On Thu, 2 Sep 2010, Lowell Gilbert wrote: >> >>> Dennis Glatting writes: >>> >>>> This has been happening for several days. Is cvsup dead vs SVN? Cvsup >>>> is still listed in the handbook. >>> >>> cvsup is still fine. Please (as recommended in the handbook) use a >>> mirror closer to you. >>> >> >> cvsup1, which has the same IP address as cvsup, /is/ listed as the >> server closest to me in the handbook. More specifically: >> >> /usr/local/etc/cvsup/update.sh -L2 >> CVSup update begins at 2010-09-02 09:46:13 >> Updating from cvsup1.freebsd.org >> Parsing supfile "/usr/local/etc/cvsup/supfile" >> Connecting to cvsup1.freebsd.org >> Connected to cvsup1.freebsd.org >> Premature EOF from server >> CVSup update ends at 2010-09-02 09:46:15 >> >> Something has changed in the past several days and I'm now getting >> Premature EOF. (I operate a mirror within our enterprise.) If the server >> /is fine/, then why have I been getting this message for the past >> several days? Nothing has changed on my end. >> > > Hi Dennis, > > Instead of relying on a particular cvsup server, how about installing > fastest_cvsup (http://www.freshports.org/sysutils/fastest_cvsup)? > > If you run it in your script and pass the resulting hostname to csup, > you'll get the server with the best response at that time. > That was interesting. From one site there isn't a significant difference between 1/4/10 -- at least anything worth noteing. From this site, with multiple exit points (different vendors) and depending on the BGP bounce of the day, I see: >> Speed Daemons: - 1st: cvsup14.us.freebsd.org 6.22 ms - 2st: cvsup4.us.freebsd.org 30.29 ms - 3st: cvsup17.us.freebsd.org 44.45 ms >> Speed Daemons: - 1st: cvsup15.us.freebsd.org 20.96 ms - 2st: cvsup18.us.freebsd.org 31.66 ms - 3st: cvsup9.us.freebsd.org 31.80 ms Thanks for the pointer. BTW, cvsup was 51 ms from the first and 100 ms from the second. From guru at unixarea.de Fri Sep 3 07:59:24 2010 From: guru at unixarea.de (Matthias Apitz) Date: Fri Sep 3 07:59:32 2010 Subject: vmware-guestd6: error during make install Message-ID: <20100903075925.GA3116@current.Sisis.de> Hello, I'm trying to install the port /usr/ports/emulators/vmware-guestd6 (even the freshest from FreeBSD server) in 8-CURRENT: current# pwd /usr/ports/emulators current# mv vmware-guestd6 vmware-guestd6.old current# tar xzf ~guru/vmware-guestd6.tar.gz current# cd vmware-guestd6 current# make ===> Vulnerability check disabled, database not found ======================================================================== Choose "VM" -> "Install VMware Tools..." from VMware Workstation menu to connect VM's CD-ROM drive and installation CD image temporary. Press "Install" button when a dialog pops up. ======================================================================== This port mounts /dev/acd0 to /mnt. Are you ready? [Y/n]: y /bin/mkdir -p /mnt /sbin/umount /mnt 2>&1 >/dev/null umount: /mnt: not a file system root directory *** Error code 1 (ignored) /sbin/umount /dev/acd0 2>&1 >/dev/null umount: /dev/acd0: unknown file system *** Error code 1 (ignored) /sbin/mount -t cd9660 /dev/acd0 /mnt ===> Extracting for vmware-guestd-6.0.3.80004_2 /sbin/umount /mnt (cd /usr/ports/emulators/vmware-guestd6/work; /usr/bin/tar xf /usr/ports/emulators/vmware-guestd6/work/vmware-tools-distrib/lib/modules/source/vmmemctl.tar) ===> Patching for vmware-guestd-6.0.3.80004_2 LC_ALL=C /usr/bin/sed -i.bak "`/usr/bin/printf 's|\0152\013\0350|\0152\\\n\0350|g'`" /usr/ports/emulators/vmware-guestd6/work/vmware-tools-distrib/lib/sbin32-6/vmware-checkvm sed: /usr/ports/emulators/vmware-guestd6/work/vmware-tools-distrib/lib/sbin32-6/vmware-checkvm: No such file or directory *** Error code 1 Stop in /usr/ports/emulators/vmware-guestd6. there is no directory work/vmware-tools-distrib/lib/sbin32-6 but only work/vmware-tools-distrib/lib/sbin32-63 creating a symlink helps a bit but later it can't find vmware-guestd for installation which is not there, i.e. not in the tar file of the vmware-tools; Any ideas? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From bsd at todoo.biz Fri Sep 3 08:11:57 2010 From: bsd at todoo.biz (bsd) Date: Fri Sep 3 08:12:05 2010 Subject: Applying a patch to a port Message-ID: <4AB42548-002B-41A5-8603-638CF97DC7E9@todoo.biz> Hello, I have a patch for clamav that was submited by a developer of clamav. I don't know how to apply It to the source code of the port. What I would like to do: 1. Get the source code 2. cd to the source directory 3. Apply the patch 4. Recompile 5. Test If this is ok, then as an option: 6. validate changes & updates 7. submit patch to the FBSD port Thanks for your support. ???????????????????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ???????????????????????????????????????????????? From rfarmer at predatorlabs.net Fri Sep 3 08:14:07 2010 From: rfarmer at predatorlabs.net (Rob Farmer) Date: Fri Sep 3 08:14:17 2010 Subject: vmware-guestd6: error during make install In-Reply-To: <20100903075925.GA3116@current.Sisis.de> References: <20100903075925.GA3116@current.Sisis.de> Message-ID: On Fri, Sep 3, 2010 at 00:59, Matthias Apitz wrote: > > > Hello, > > I'm trying to install the port /usr/ports/emulators/vmware-guestd6 (even > the freshest from FreeBSD server) in 8-CURRENT: Do you have a particular reason for using this port? Assuming you mean 8.X, the Tools that ship on this iso with Vmware will work (assuming your copy of vmware isn't too old) if you install misc/compat6x or you can try emulators/open-vm-tools (open sourced copy of Vmware Tools that you build). If you meant 9-CURRENT, things may be more difficult since Vmware only ships binaries for releases and open-vm-tools is marked broken on current. -- Rob Farmer > > current# pwd > /usr/ports/emulators > current# mv vmware-guestd6 vmware-guestd6.old > current# tar xzf ~guru/vmware-guestd6.tar.gz > current# cd vmware-guestd6 > current# make > ===> ?Vulnerability check disabled, database not found > > ======================================================================== > Choose "VM" -> "Install VMware Tools..." from VMware Workstation > menu to connect VM's CD-ROM drive and installation CD image temporary. > Press "Install" button when a dialog pops up. > ======================================================================== > > This port mounts /dev/acd0 to /mnt. > > Are you ready? [Y/n]: y > /bin/mkdir -p /mnt > /sbin/umount /mnt 2>&1 >/dev/null > umount: /mnt: not a file system root directory > *** Error code 1 (ignored) > /sbin/umount /dev/acd0 2>&1 >/dev/null > umount: /dev/acd0: unknown file system > *** Error code 1 (ignored) > /sbin/mount -t cd9660 /dev/acd0 /mnt > ===> ?Extracting for vmware-guestd-6.0.3.80004_2 > /sbin/umount /mnt > (cd /usr/ports/emulators/vmware-guestd6/work; /usr/bin/tar xf /usr/ports/emulators/vmware-guestd6/work/vmware-tools-distrib/lib/modules/source/vmmemctl.tar) > ===> ?Patching for vmware-guestd-6.0.3.80004_2 > LC_ALL=C /usr/bin/sed -i.bak "`/usr/bin/printf 's|\0152\013\0350|\0152\\\n\0350|g'`" ?/usr/ports/emulators/vmware-guestd6/work/vmware-tools-distrib/lib/sbin32-6/vmware-checkvm > sed: /usr/ports/emulators/vmware-guestd6/work/vmware-tools-distrib/lib/sbin32-6/vmware-checkvm: No such file or directory > *** Error code 1 > > Stop in /usr/ports/emulators/vmware-guestd6. > > there is no directory work/vmware-tools-distrib/lib/sbin32-6 but only > work/vmware-tools-distrib/lib/sbin32-63 > > creating a symlink helps a bit but later it can't find vmware-guestd for > installation which is not there, i.e. not in the tar file of the > vmware-tools; > > Any ideas? > > ? ? ? ?matthias > > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ > Solidarity with the zionistic pirates of Israel? ? Not in my ?name! > ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! > _______________________________________________ > 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" > -- Rob Farmer From perryh at pluto.rain.com Fri Sep 3 08:23:32 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Fri Sep 3 08:23:38 2010 Subject: 8.1: Cron ignoring crontab updates In-Reply-To: References: Message-ID: <4c80af91.0XK7R1NzplpVQC/a%perryh@pluto.rain.com> Chris Rees wrote: > You have to SIGHUP cron, not restart it. > > # killall -HUP cron Isn't crontab(1) supposed to do that, without separate intervention? > On 2 Sep 2010 21:11, "patrick" wrote: > > I recently upgraded a FreeBSD 7.0 system to 8.1-RELEASE (via > freebsd-update) and am experiencing the strangest cron problem > I have ever seen. > > My cron jobs run, but if I make any changes to my crontab, > cron does not pick them up; it continues to operate based on > the snapshot of crontabs it loaded when cron was started up ... > Has anyone come across this? Yes, so long ago I no longer remember which Unix flavor it was on. Could have been SunOs 3.5 or 4.x, some version of Solaris, UnixWare, or even FreeBSD 4.x. From guru at unixarea.de Fri Sep 3 08:31:47 2010 From: guru at unixarea.de (Matthias Apitz) Date: Fri Sep 3 08:32:00 2010 Subject: vmware-guestd6: error during make install In-Reply-To: References: <20100903075925.GA3116@current.Sisis.de> Message-ID: <20100903083143.GA3316@current.Sisis.de> El d?a Friday, September 03, 2010 a las 01:14:00AM -0700, Rob Farmer escribi?: > On Fri, Sep 3, 2010 at 00:59, Matthias Apitz wrote: > > > > > > Hello, > > > > I'm trying to install the port /usr/ports/emulators/vmware-guestd6 (even > > the freshest from FreeBSD server) in 8-CURRENT: > > Do you have a particular reason for using this port? Assuming you mean > 8.X, My FreeBSD is a CVS 8-CURRENT from May 2009 to be exactly, i.e. after 8-RELEASE but before 8.1. > the Tools that ship on this iso with Vmware will work (assuming > your copy of vmware isn't too old) if you install misc/compat6x or you > can try emulators/open-vm-tools (open sourced copy of Vmware Tools > that you build). The VM is a VMware player 3.0.0 which says about itself Workstation 6.5-7.0 in the overview about the VM setup for FreeBSD; is this fine enough for the emulators/open-vm-tools? Thanks for your hint in any case matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From perryh at pluto.rain.com Fri Sep 3 09:32:04 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Fri Sep 3 09:32:11 2010 Subject: two ata-related problems Message-ID: <4c80bc3d.bsLwHSU5+KZyQFD6%perryh@pluto.rain.com> Two questions about installing FreeBSD 8.1 on a Dell Precision 420 (yes, I know it's old): 1. Should FreeBSD 8.1 be able to recognize a 100MB ATAPI Zip drive? I'm not finding it in the dmesg, although BIOS Setup recognizes it. (It and a CDROM are on the secondary IDE channel; I've tried with each of them as master and either way the CD is recognized but the Zip is not.) 2. It currently has the original A01 BIOS. I'm going to have to update that, because it doesn't recognize the 320GB drive I've added as a new boot drive. With the 320GB installed as unit 0 (master) on the primary IDE channel, the A01 BIOS won't even recognize the previously-working 40GB drive which is now unit 1; so the BIOS disables that channel entirely keeping FreeBSD from seeing those drives either. A BIOS upgrade should be straightforward, but while Googling I ran into a posting where someone apparently had a lot of trouble with a BIOS upgrade for one of these of boxes. Thus the question: Has anyone here had any experience, either good or bad, with running FreeBSD on one of these with an upgraded BIOS? If so, which version? I found A06, A07, A10, A11, and A13 on Dell's FTP site. dmesg (from a USB boot) attached. The reported 320GB (on an add-in card) is a twin of the one described above that isn't recognized on the primary on-board channel. I want them on separate channels to improve mirroring performance. -------------- next part -------------- Copyright (c) 1992-2010 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 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (731.47-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Family = 6 Model = 8 Stepping = 3 Features=0x383fbff real memory = 536870912 (512 MB) avail memory = 506056704 (482 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, f00000 (3) failed acpi0: reservation of 1000000, 1ef9e000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xf4000000-0xf5ffffff,0xfcffc000-0xfcffffff,0xfc000000-0xfc7fffff irq 16 at device 0.0 on pci1 pcib2: at device 30.0 on pci0 pci2: on pcib2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem 0xf8fffc00-0xf8fffc7f irq 16 at device 4.0 on pci2 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> PHY 24 on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:b0:d0:22:5a:14 xl0: [ITHREAD] pci2: at device 6.0 (no driver attached) atapci0: port 0xdc70-0xdc7f,0xdc50-0xdc5f,0xdc30-0xdc3f,0xdc10-0xdc1f,0xd8e0-0xd8ff,0xd400-0xd4ff irq 19 at device 11.0 on pci2 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] pcib3: at device 14.0 on pci2 pci3: on pcib3 ahc0: port 0xec00-0xecff mem 0xfafff000-0xfaffffff irq 18 at device 10.0 on pci3 ahc0: [ITHREAD] aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xe800-0xe8ff mem 0xfaffe000-0xfaffefff irq 19 at device 10.1 on pci3 ahc1: [ITHREAD] aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xff80-0xff9f irq 19 at device 31.2 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x2f00 usbus0: on uhci0 pci0: at device 31.3 (no driver attached) atrtc0: port 0x70-0x7f irq 8 on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppc0: [ITHREAD] ppbus0: on ppc0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff,0xce000-0xcffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 731471411 Hz quality 800 Timecounters tick every 1.000 msec md0: Preloaded image 4423680 bytes at 0xc0fb5504 usbus0: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 acd0: CDROM at ata1-master PIO4 uhub0: 2 ports with 2 removable, self powered device_attach: afd0 attach returned 6 ugen0.2: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x0000 ad4: 61136MB at ata2-master UDMA100 SATA 1.5Gb/s acd1: DVDR at ata3-master UDMA66 SATA 1.5Gb/s ad8: 305245MB at ata4-master UDMA133 umass0:2:0:-1: Attached to scbus2 da0 at ahc0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit) da0: Command Queueing enabled da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) da1 at umass-sim0 bus 0 scbus2 target 0 lun 0 da1: Removable Direct Access SCSI-2 device da1: 1.000MB/s transfers da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) GEOM: da1: geometry does not match label (255h,63s != 64h,32s). GEOM: da1: media size does not match label. Trying to mount root from ufs:/dev/md0 From freebsd at qeng-ho.org Fri Sep 3 09:37:28 2010 From: freebsd at qeng-ho.org (Arthur Chance) Date: Fri Sep 3 09:37:36 2010 Subject: 8.1: Cron ignoring crontab updates In-Reply-To: <4c80af91.0XK7R1NzplpVQC/a%perryh@pluto.rain.com> References: <4c80af91.0XK7R1NzplpVQC/a%perryh@pluto.rain.com> Message-ID: <4C80C1D6.2050104@qeng-ho.org> On 09/03/10 09:19, perryh@pluto.rain.com wrote: > Chris Rees wrote: > >> You have to SIGHUP cron, not restart it. >> >> # killall -HUP cron > > Isn't crontab(1) supposed to do that, without separate intervention? From man cron > Additionally, cron checks each minute to see if its spool directory's > modification time (or the modification time on /etc/crontab) has changed, > and if it has, cron will then examine the modification time on all > crontabs and reload those which have changed. Thus cron need not be > restarted whenever a crontab file is modified. Note that the crontab(1) > command updates the modification time of the spool directory whenever it > changes a crontab. From the original post crontab seems to be working, so all I can suggest is to "ls -ld /var/cron/tabs" before and after using crontab -e and see if the modtime is being changed correctly. From claudiu.vasadi at gmail.com Fri Sep 3 09:41:37 2010 From: claudiu.vasadi at gmail.com (claudiu vasadi) Date: Fri Sep 3 09:41:43 2010 Subject: two ata-related problems In-Reply-To: <4c80bc3d.bsLwHSU5+KZyQFD6%perryh@pluto.rain.com> References: <4c80bc3d.bsLwHSU5+KZyQFD6%perryh@pluto.rain.com> Message-ID: Hi, For point no. "1" you can check if the drive is supported @ http://www.freebsd.org/releases/8.1R/hardware.html. Sorry, no idea about point no. "2" From ivoras at freebsd.org Fri Sep 3 09:57:47 2010 From: ivoras at freebsd.org (Ivan Voras) Date: Fri Sep 3 09:57:54 2010 Subject: Weird Linux - FreeBSD/ZFS NFSv4 interoperability problem In-Reply-To: References: Message-ID: On 09/02/10 21:25, David Brodbeck wrote: > While doing some interoperability testing between Linux and FreeBSD, I > came up with this unusual issue. I could use some help figuring out > if this is a bug, and if so, where to file it. Here's the scenario: > > - FreeBSD 8.1-RELEASE server, sharing a ZFS filesystem via NFSv4. I think that this is the beginning of your problems - even the developer who is working on NFSv4 says it's too experimental to be used in real world. > - Linux client (I've tested with RHEL 5.4 and Debian Lenny) mounting > said filesystem with NFSv4. > - A user on the Linux client does a Subversion checkout onto the > mounted filesystem. > > At the end of the checkout, access to the filesystem hangs. nfsd on > the FreeBSD server and rpciod on the Linux client seem to be in a > tight loop, and there's lots of network traffic between them. I can > reproduce this every time. > > The problem does not occur if the backing filesystem is UFS instead of > ZFS, if NFSv3 is used instead of NFSv4, or if the client is FreeBSD > instead of Linux. ... but you may have stumbled on something specific. I recommend you repeat this same post (and others you have on the similar topic) on the freebsd-fs at freebsd.org mailing list, the developer (Rick Macklem) reads it. From guru at unixarea.de Fri Sep 3 10:19:53 2010 From: guru at unixarea.de (Matthias Apitz) Date: Fri Sep 3 10:19:59 2010 Subject: emulators/open-vm-tools do not compile (was: Re: vmware-guestd6: error during make install) In-Reply-To: <20100903083143.GA3316@current.Sisis.de> References: <20100903075925.GA3116@current.Sisis.de> <20100903083143.GA3316@current.Sisis.de> Message-ID: <20100903101949.GA4476@current.Sisis.de> El d?a Friday, September 03, 2010 a las 10:31:43AM +0200, Matthias Apitz escribi?: > The VM is a VMware player 3.0.0 which says about itself > Workstation 6.5-7.0 in the overview about the VM setup for FreeBSD; > is this fine enough for the emulators/open-vm-tools? > emulators/open-vm-tools does not compile: ... cc -O2 -pipe -fno-strict-aliasing -Wall -Werror -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c vfsops.c vfsops.c:118: error: conflicting types for 'VMBlockVFSMount' vfsops.c:70: error: previous declaration of 'VMBlockVFSMount' was here vfsops.c:259: error: conflicting types for 'VMBlockVFSUnmount' vfsops.c:74: error: previous declaration of 'VMBlockVFSUnmount' was here vfsops.c:343: error: conflicting types for 'VMBlockVFSRoot' vfsops.c:71: error: previous declaration of 'VMBlockVFSRoot' was here vfsops.c:379: error: conflicting types for 'VMBlockVFSStatFS' vfsops.c:73: error: previous declaration of 'VMBlockVFSStatFS' was here vfsops.c:389:64: error: macro "VFS_STATFS" passed 3 arguments, but takes just 2 vfsops.c: In function 'VMBlockVFSStatFS': vfsops.c:389: error: 'VFS_STATFS' undeclared (first use in this function) vfsops.c:389: error: (Each undeclared identifier is reported only once vfsops.c:389: error: for each function it appears in.) vfsops.c: At top level: vfsops.c:429: error: conflicting types for 'VMBlockVFSSync' vfsops.c:72: error: previous declaration of 'VMBlockVFSSync' was here *** Error code 1 Stop in /usr/ports/emulators/open-vm-tools/work/open-vm-tools-2009.03.18-154848/modules/freebsd/vmblock. *** Error code 1 Stop in /usr/ports/emulators/open-vm-tools/work/open-vm-tools-2009.03.18-154848/modules. *** Error code 1 Stop in /usr/ports/emulators/open-vm-tools/work/open-vm-tools-2009.03.18-154848. *** Error code 1 Stop in /usr/ports/emulators/open-vm-tools. Thanks for a hint matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From vince at unsane.co.uk Fri Sep 3 10:56:09 2010 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Sep 3 10:56:46 2010 Subject: Applying a patch to a port In-Reply-To: <4AB42548-002B-41A5-8603-638CF97DC7E9@todoo.biz> References: <4AB42548-002B-41A5-8603-638CF97DC7E9@todoo.biz> Message-ID: <4C80D443.3040409@unsane.co.uk> On 03/09/2010 08:53, bsd wrote: > Hello, > > I have a patch for clamav that was submited by a developer of clamav. > I don't know how to apply It to the source code of the port. > > What I would like to do: > > 1. Get the source code > 2. cd to the source directory > 3. Apply the patch > 4. Recompile > 5. Test > > If this is ok, then as an option: > > 6. validate changes & updates > 7. submit patch to the FBSD port > Not too hard, the infrastructure for patching ports is there already. 1) cd /usr/ports/catagory/portname (obviously make this the port directory you want 2) make patch (this will fetch the source if you need it and extract it and apply any patches already needed/supplied ) 3) cd work (this is where the tarball is extracted.) and possibly into the clamav-$version directory 4) apply your patchfile :) 5) cd back into the port directory 6) make (or make install if you want to install it. All current patches are in the files directory of the port so you can use them as a template for naming etc so the port can automatically use you patch once your happy its working. The porters handbook is well worth a look though if your planing on doing much with a port. (http://www.freebsd.org/doc/en/books/porters-handbook/) Vince > Thanks for your support. > > > ???????????????????????????????????????????????? > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz > ???????????????????????????????????????????????? > > > > _______________________________________________ > 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 glen.j.barber at gmail.com Fri Sep 3 12:51:14 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri Sep 3 12:51:20 2010 Subject: vmware-guestd6: error during make install In-Reply-To: <20100903083143.GA3316@current.Sisis.de> References: <20100903075925.GA3116@current.Sisis.de> <20100903083143.GA3316@current.Sisis.de> Message-ID: <4C80EF3C.8050509@gmail.com> Hi, On 9/3/10 4:31 AM, Matthias Apitz wrote: >>> I'm trying to install the port /usr/ports/emulators/vmware-guestd6 (even >>> the freshest from FreeBSD server) in 8-CURRENT: >> >> Do you have a particular reason for using this port? Assuming you mean >> 8.X, > > My FreeBSD is a CVS 8-CURRENT from May 2009 to be exactly, i.e. after > 8-RELEASE but before 8.1. > 9-CURRENT was after 8.0-RELEASE. Can you provide the output of 'uname -a'? Regards, -- Glen Barber From guru at unixarea.de Fri Sep 3 13:01:34 2010 From: guru at unixarea.de (Matthias Apitz) Date: Fri Sep 3 13:01:47 2010 Subject: vmware-guestd6: error during make install In-Reply-To: <4C80EF3C.8050509@gmail.com> References: <20100903075925.GA3116@current.Sisis.de> <20100903083143.GA3316@current.Sisis.de> <4C80EF3C.8050509@gmail.com> Message-ID: <20100903130130.GA5324@current.Sisis.de> El d?a Friday, September 03, 2010 a las 08:51:08AM -0400, Glen Barber escribi?: > Hi, > > On 9/3/10 4:31 AM, Matthias Apitz wrote: > >>> I'm trying to install the port /usr/ports/emulators/vmware-guestd6 (even > >>> the freshest from FreeBSD server) in 8-CURRENT: > >> > >> Do you have a particular reason for using this port? Assuming you mean > >> 8.X, > > > > My FreeBSD is a CVS 8-CURRENT from May 2009 to be exactly, i.e. after > > 8-RELEASE but before 8.1. > > > > 9-CURRENT was after 8.0-RELEASE. Can you provide the output of 'uname -a'? Of course: guru@current:~> uname -a FreeBSD current.Sisis.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 09:55:14 CET 2010 guru@current.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386 guru@current:~> ls -l /usr/src/CVS total 8 -rw-r--r-- 1 root wheel 654 28 may 2009 Entries -rw-r--r-- 1 root wheel 4 19 may 2009 Repository -rw-r--r-- 1 root wheel 51 19 may 2009 Root -rw-r--r-- 1 root wheel 660 19 may 2009 Template As I said, the kernel and user land is based on what was in CVS in May 2009. Later I incorparated some new USB stuff, that's why the build is from Januar 2010. I tried to install the vmware-freebsd-tools.tar.gz directly as VMWare.com it provides (I have compat6x already installed for some other reason). But in vmware-freebsd-tools.tar.gz there are only kernel modules for FreeBSD 6 and 7 and using the modules for 7 it crashes, ofc. Who can I get the tools installed? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From freebsd-questions-local at be-well.ilk.org Fri Sep 3 13:11:04 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri Sep 3 13:11:12 2010 Subject: two ata-related problems In-Reply-To: <4c80bc3d.bsLwHSU5+KZyQFD6%perryh@pluto.rain.com> (perryh@pluto.rain.com's message of "Fri, 03 Sep 2010 02:13:33 -0700") References: <4c80bc3d.bsLwHSU5+KZyQFD6%perryh@pluto.rain.com> Message-ID: <44mxrzvuop.fsf@be-well.ilk.org> perryh@pluto.rain.com writes: > Two questions about installing FreeBSD 8.1 on a Dell Precision 420 > (yes, I know it's old): I have a similar machine running as a lab tool. > 1. Should FreeBSD 8.1 be able to recognize a 100MB ATAPI Zip drive? > I'm not finding it in the dmesg, although BIOS Setup recognizes > it. (It and a CDROM are on the secondary IDE channel; I've tried > with each of them as master and either way the CD is recognized > but the Zip is not.) The default kernel definitely won't, but with the vpo device enabled, it probably will. There's a kernel module for that, so you can try "kldload vpo". > 2. It currently has the original A01 BIOS. I'm going to have to > update that, because it doesn't recognize the 320GB drive I've > added as a new boot drive. With the 320GB installed as unit 0 > (master) on the primary IDE channel, the A01 BIOS won't even > recognize the previously-working 40GB drive which is now unit 1; > so the BIOS disables that channel entirely keeping FreeBSD from > seeing those drives either. > > A BIOS upgrade should be straightforward, but while Googling > I ran into a posting where someone apparently had a lot of > trouble with a BIOS upgrade for one of these of boxes. Thus > the question: Has anyone here had any experience, either good > or bad, with running FreeBSD on one of these with an upgraded > BIOS? If so, which version? I found A06, A07, A10, A11, and > A13 on Dell's FTP site. A01 gave me a bunch of problems, although I don't really remember the details (it was more than five years ago!) at this point. BIOS upgrades were no problem at all. I stopped upgrading the BIOS once everything worked -- at least, everything I noticed. Good luck. From ltsampros at upnet.gr Fri Sep 3 12:53:18 2010 From: ltsampros at upnet.gr (Leonidas Tsampros) Date: Fri Sep 3 13:26:12 2010 Subject: Applying a patch to a port In-Reply-To: <4AB42548-002B-41A5-8603-638CF97DC7E9@todoo.biz> (bsd@todoo.biz's message of "Fri, 3 Sep 2010 09:53:19 +0200") References: <4AB42548-002B-41A5-8603-638CF97DC7E9@todoo.biz> Message-ID: <8762ynxblc.fsf@ltsampros-laptop.i-did-not-set--mail-host-address--so-tickle-me> bsd writes: > Hello, > > I have a patch for clamav that was submited by a developer of clamav. > I don't know how to apply It to the source code of the port. > > What I would like to do: > > 1. Get the source code > 2. cd to the source directory > 3. Apply the patch > 4. Recompile > 5. Test Hi, as a starting point you could follow this procedure: a) cd /usr/ports/security/clamav b) make extract c) cd work/clamav-whatever-version d) patch -p0 < the.patch.file.provided.by.the.clamav.developer.diff e) cd ../.. f) make install (as usual) Hope this helps. Best Regards Leonidas Tsampros From ertr1013 at student.uu.se Fri Sep 3 13:29:37 2010 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Fri Sep 3 13:29:44 2010 Subject: two ata-related problems In-Reply-To: <44mxrzvuop.fsf@be-well.ilk.org> References: <4c80bc3d.bsLwHSU5+KZyQFD6%perryh@pluto.rain.com> <44mxrzvuop.fsf@be-well.ilk.org> Message-ID: <20100903132925.GA71022@owl.midgard.homeip.net> On Fri, Sep 03, 2010 at 09:11:02AM -0400, Lowell Gilbert wrote: > perryh@pluto.rain.com writes: > > > Two questions about installing FreeBSD 8.1 on a Dell Precision 420 > > (yes, I know it's old): > > I have a similar machine running as a lab tool. > > > 1. Should FreeBSD 8.1 be able to recognize a 100MB ATAPI Zip drive? > > I'm not finding it in the dmesg, although BIOS Setup recognizes > > it. (It and a CDROM are on the secondary IDE channel; I've tried > > with each of them as master and either way the CD is recognized > > but the Zip is not.) > > The default kernel definitely won't, but with the vpo device enabled, it > probably will. There's a kernel module for that, so you can try > "kldload vpo". Why would you need vpo for an ATAPI device? It is only for parallell devices. You should only need the 'ata' and 'atapifd' devices (both of whoch are included in GENERIC) to handle an ATAPI Zip drive. So, yes, FreeBSD 8.1 *should* be able to recognize an ATAPI Zip drive. -- Erik Trulsson ertr1013@student.uu.se From xyin at gmx.com Fri Sep 3 13:56:07 2010 From: xyin at gmx.com (Xihong Yin) Date: Fri Sep 3 13:56:14 2010 Subject: error - ad2: FAILURE In-Reply-To: <44tym89rul.fsf@be-well.ilk.org> References: <201009012243.57415.mike.jeays@rogers.com> <44tym89rul.fsf@be-well.ilk.org> Message-ID: Thanks for the info. Now I am getting more such error messages and the disk fails at boot when trying to mount on /usr. Xihong On Thu, 2 Sep 2010, Lowell Gilbert wrote: > Mike Jeays writes: > >> On September 1, 2010 10:29:42 pm Xihong Yin wrote: >>> Hi, >>> >>> I received the following error when I try to access files in some of the >>> directories in /usr and when the computer boots. ad2s1f is mounted on >>> /usr. >>> >>> ad2: FAILURE - READ_DMA status=51 error=40 >>> LBA=37370159 g_vfs_done():ad2s1f[READ(offset=15415558144, >>> length=16384)]error = 5 >>> >>> Is this a sign of hard drive failure? Can I fix the error or do I have to >>> replace the hard drive? > >> I would think it is a hardware error, and the disk has run out of replacement >> sectors. If possible, it should be replaced, and any valuable data copied to >> somewhere safe, as soon as possible. > > Not necessarily. This is a read error, so replacement sectors wouldn't > help anyway. The problematic files might get fixed by the disk if they > were rewritten. A SMART report (e.g., from sysutils/smartmontools) > might give more information about the condition of the drive. > > None of which is to say that it isn't worrying, or that backing up > valuable data isn't called for (even more so than usual). Make sure you > have good backups before you do anything else. > _______________________________________________ > 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-questions-local at be-well.ilk.org Fri Sep 3 14:04:49 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri Sep 3 14:04:56 2010 Subject: error - ad2: FAILURE In-Reply-To: (Xihong Yin's message of "Fri, 3 Sep 2010 09:55:59 -0400 (Eastern Daylight Time)") References: <201009012243.57415.mike.jeays@rogers.com> <44tym89rul.fsf@be-well.ilk.org> Message-ID: <44eidax6rk.fsf@be-well.ilk.org> Xihong Yin writes: > Thanks for the info. Now I am getting more such error messages and the > disk fails at boot when trying to mount on /usr. On the chance the disk can be saved, you may want to try the manufacturer's diagnostics. From martin at dc.cis.okstate.edu Fri Sep 3 14:10:51 2010 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Fri Sep 3 14:11:05 2010 Subject: Boot Drive Nomenclature and How to Figure it out Message-ID: <201009031410.o83EAfOB020540@dc.cis.okstate.edu> I have been writing a script to build a system from a mfsboot startup and it is going well but I want to revisit part of the script that I don't think I did a very good job with. Is there an automatic way to tell which of the devices shown in /dev is a likely system drive? This is before anything is mounted. We can usually figure it out ourselves, but is there a way for a script to figure out automatically which character device could be the one we are going to put the OS on and use as our boot drive? I know this sounds really obvious and you can tell scripts not to use /dev/acdx as they are CDROM devices, but system drives can actually take many different names depending on whether they are RAIDs SCSI IDE, etc. Any good suggestions are appreciated. Martin McCormick From louie.bernstein at izenda.com Fri Sep 3 14:10:52 2010 From: louie.bernstein at izenda.com (Louie Bernstein) Date: Fri Sep 3 14:11:05 2010 Subject: FWD: High Performance Custom Fields for Multi-Tenant SaaS Architectures Message-ID: <5915c5906dc90bbc6bdd19f5182c4738@localhost.localdomain> Thought you might find this interesting and, hopefully helpful Subscriber. Another article written by our CEO, Sanjay Bhatia. High Performance Custom Fields for Multi-Tenant SaaS Architectures This article shows a simple way to give applications with [1]multi-tenant architectures the ability to add custom fields while keeping the performance, type safety and [2]reporting capabilities of the relational model and SQL language. SaaS Takes Over the ASP Model In the late 90's application service providers started leveraging the availability of abundant bandwidth and the popularity of the web to deliver applications in an [3]ASP model. Essentially the application would be hosted on a shared server and managed by the ASP. While this was a step in the right direction, there were still significant challenges with this approach. These models evolved into what is now knows as Software as a Service or [4]SaaS. SaaS architectures introduced multi-tenancy which allowed pools of high powered resources to be shared in a different way. Rather than customers having their own web server and database, a shared infrastructure served dozens or sometimes thousands of customers. The Customization Requirement Businesses generally need some level of customization for all their software. The most common need is to store information that is specific to that business, but may not be something every single customer needs to have. For instance, we are a [5]salesforce.com customer. For all our leads, we track the download date so when know when a lead has [6]downloaded a trial of our [7]self-service reporting product for evaluation purposes. Since most [8]salesforce.com customers do not have downloadable trials, it would not make sense for them add this just for us. If you did that in a multi-tenant environment, you'd quickly end up with a data architecture that is unwieldy from a maintenance perspective. Instead, salesforce let's us add custom fields that are relevant to us. They've done a great job of engineering the system so the custom fields work pretty much like a stock field that the system ships with. If you are working on a SaaS application, you will likely run into the same scenario. Inevitably, customers needed the ability to extend the applications. Since there was a shared code base and schema, vendors needed to find a way to deliver this functionality without changing the database schema which was shared across all customers. Two main approaches became popular. Two Popular Methods Method Description Advantages Disadvantages [9]Entity Attribute Value(EAV) This method uses name-value pairs Single universal schema across all tenants. Eliminates all advantages of using a relational database. Special Code must be written to access the data. Significant performance and scalability problems with large data sets or objects with a large number of fields. Reporting becomes nearly impossible Custom Joined Table This method adds a secondary table per tenant and which will be joined. Relatively high performance Retains the benefits of SQL technology Does not scale to a large number of tenants. The number of custom tables becomes impossible to manage and administer. The application schema must change at run time. There Is A Better Way One way to retain all the benefits of the relational model without adding lots of customer-specific tables is to use a single, generic table to store the data and a second table to map it to customer specific fields. Since databases optimize types differently, we will create a set of columns for each time. Note that under this approach we do have a limit to the number of maximum fields there are. For extrely large systems, you may want to break each type up into a separate table. Create script for custom fields table. CREATE TABLE [dbo].[CustomFields]( [TenantID] [int], [TableName] [varchar](50), [EntityID] [int], [Int1] [int] NULL, [Int2] [int] NULL, [Int3] [int] NULL, [String1] [varchar](50) NULL, [String2] [varchar](50) NULL, [String3] [varchar](50) NULL, [DateTime1] [datetime] NULL, [DateTime2] [datetime] NULL, [DateTime3] [datetime] NULL ) ON [PRIMARY] This table will store the actual data. The TenantID field locks the data to that particular account or customer in a multi-tenant system with a shared database. TableName represents the name of the table where the entity is stored. The EntityID is the primary key of whatever object this links to. The rest of the fields store actual data based on the type of the field. So if we just created a Lead in our [10]CRM system and needed to record a download date as a custom field our insert would look something like this. INSERT INTO CustomFields( TenantID, TableName, EntityID, DateTime1) VALUES (1,'Leads',1,'08/18/2010') To retrieve the data we would do a LEFT JOIN. This lets us retrieve any custom fields. SELECT * FROM Leads LEFT JOIN CustomFields ON Leads.TenantID=CustomFields.TenantID AND TableName='Leads' AND EntityID=LeadID Next we need the ability to map or alias the name into a more meaningful label. We would do this in the user interface or reporting tool [11]dynamically . To do so we'd need to store the "metadata" whenever a custom field is created. Here's what our tracking table looks like. CREATE TABLE [dbo].[CustomFieldNames]( [TenantID] [int] NULL, [TableName] [varchar](50) NULL, [FieldIndex] [int] NULL, [Type] [varchar](50) NULL, [Label] [varchar](50) NULL ) ON [PRIMARY] To setup our "Download Date" field, we would use an insert like this the first time the field is setup. INSERT INTO CustomFieldNames( TenantID, TableName, FieldIndex, [Type], Label) VALUES (1,'Leads',1,'datetime','Download Date') Essentially this would map to DateTime1 and the application UI or [12]reporting tool would [13]alias the field name dynamically based on which tenant the user belonged to. Conclusion We now have the entire data architecture capable of storing custom fields for our multi-tenant application. Each customer can have their own set of custom fields. Best of all, we keep all the benefits of the relational model and can plug this directly into a reporting tool like Izenda. The only overhead is a single join and adding an index will remove most of that. Could you use a better Ad Hoc Reporting platform? To download a fully-functional version of Izenda Reports and Dashboards [14]click here. (C)opywrite 2010 Izenda LLC References 1. http://en.wikipedia.org/wiki/Multi-tenant 2. http://www.izenda.com/ 3. http://en.wikipedia.org/wiki/Application_service_provider 4. http://en.wikipedia.org/wiki/SaaS 5. http://www.salesforce.com/ 6. http://www.izenda.com/Site/ContentReg.aspx?rt=Download 7. http://www.izenda.com/ 8. http://salesforce.com/ 9. http://en.wikipedia.org/wiki/Entity-attribute-value_model 10. http://en.wikipedia.org/wiki/Customer_relationship_management 11. http://www.izenda.com/Site/KB/CodeSamples/Create-Custom-Field-Aliases?Keywords=fieldaliases 12. http://www.izenda.com/ 13. http://www.izenda.com/Site/KB/CodeSamples/Create-Custom-Field-Aliases?Keywords=fieldaliases 14. http://www.izenda.com/ This message was sent by: Izenda, 75 5th Street NW, Atlanta, GA 30308 To be removed click here: http://app.icontact.com/icp/mmail-mprofile.pl?r=35247039&l=10516&s=X0JT&m=273946&c=568311 Forward to a friend: http://app.icontact.com/icp/core/message/forward?m=273946&s=35247039&c=X0JT&cid=568311 From amvandemore at gmail.com Fri Sep 3 14:33:23 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Sep 3 14:33:36 2010 Subject: Boot Drive Nomenclature and How to Figure it out In-Reply-To: <201009031410.o83EAfOB020540@dc.cis.okstate.edu> References: <201009031410.o83EAfOB020540@dc.cis.okstate.edu> Message-ID: On Fri, Sep 3, 2010 at 9:10 AM, Martin McCormick wrote: > I have been writing a script to build a system from a > mfsboot startup and it is going well but I want to revisit part > of the script that I don't think I did a very good job with. > > Is there an automatic way to tell which of the devices > shown in /dev is a likely system drive? This is before anything > is mounted. > > We can usually figure it out ourselves, but is there a > way for a script to figure out automatically which character > device could be the one we are going to put the OS on and use as > our boot drive? > > I know this sounds really obvious and you can tell > scripts not to use /dev/acdx as they are CDROM devices, but > system drives can actually take many different names depending > on whether they are RAIDs SCSI IDE, etc. > > Any good suggestions are appreciated. > Would doing something like: gpart list help? -- Adam Vande More From ipfreak at yahoo.com Fri Sep 3 14:37:25 2010 From: ipfreak at yahoo.com (gahn) Date: Fri Sep 3 14:37:32 2010 Subject: CARP and freebsd Message-ID: <182172.27725.qm@web52302.mail.re2.yahoo.com> Hi, all: Is carp a part of freebsd 8.1? or I have to download from somewhere and install it? Thanks in advance From ashley at cpufight.com Fri Sep 3 15:13:38 2010 From: ashley at cpufight.com (ashley@cpufight.com) Date: Fri Sep 3 15:13:46 2010 Subject: CARP and freebsd In-Reply-To: <182172.27725.qm@web52302.mail.re2.yahoo.com> References: <182172.27725.qm@web52302.mail.re2.yahoo.com> Message-ID: <8697205d22ac213b7e3794537eabd92f.squirrel@webmail.cpufight.com> > Hi, all: > > Is carp a part of freebsd 8.1? or I have to download from somewhere and > install it? > > Thanks in advance > > > > _______________________________________________ > 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 FreeBSD hand book says: To enable support for CARP, the FreeBSD kernel must be rebuilt with the following option: device carp (http://www.freebsd.org/doc/handbook/carp.html) It's indicated as covering FreeBSD 7.3-RELEASE and FreeBSD 8.1-RELEASE so you should be OK. From martin at x.it.okstate.edu Fri Sep 3 15:14:50 2010 From: martin at x.it.okstate.edu (Martin McCormick) Date: Fri Sep 3 15:14:59 2010 Subject: Boot Drive Nomenclature and How to Figure it out Message-ID: <201009031504.o83F4Hdt097382@x.it.okstate.edu> Adam Vande More writes: > Would doing something like: > > gpart list > > help? Thank you. I have never heard of gpart before so I gave it a try and that helps very much if the drive is already formatted. Most of these drives I plan to encounter will be formatted so this basically solves the problem but it raises a new question. If one does gpart list as suggested and the disk is formatted, one gets exactly the information necessary. I believe it is even the first line of output. It doesn't get better than that. If the disk is not corrected formatted such as might happen with corruption or maybe a new drive, gpart list executes silently and prints nothing on the output. As I said, you answered my question so many thanks. The new question might best be put: Okay, if nothing is there, where did gpart look to see nothing? Martin McCormick From kevin.wilcox at gmail.com Fri Sep 3 15:16:36 2010 From: kevin.wilcox at gmail.com (Kevin Wilcox) Date: Fri Sep 3 15:16:43 2010 Subject: CARP and freebsd In-Reply-To: <182172.27725.qm@web52302.mail.re2.yahoo.com> References: <182172.27725.qm@web52302.mail.re2.yahoo.com> Message-ID: On 3 September 2010 10:37, gahn wrote: > Is carp a part of freebsd 8.1? or I have to download from somewhere and install it? Everything you could want to know about CARP and FreeBSD: http://www.freebsd.org/doc/handbook/carp.html On my 8.1 box - fbsdsroute0# sysctl net.inet.carp.allow sysctl: unknown oid 'net.inet.carp.allow' So I can't say for certain but I would hazard the guess that it is not included in the GENERIC kernel. Alas, there is documentation for rebuilding your kernel, too: http://www.freebsd.org/doc/handbook/kernelconfig.html kmw From amvandemore at gmail.com Fri Sep 3 15:41:15 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Sep 3 15:41:21 2010 Subject: Boot Drive Nomenclature and How to Figure it out In-Reply-To: <201009031504.o83F4Hdt097382@x.it.okstate.edu> References: <201009031504.o83F4Hdt097382@x.it.okstate.edu> Message-ID: On Fri, Sep 3, 2010 at 10:04 AM, Martin McCormick wrote: > Thank you. I have never heard of gpart before so I gave > it a try and that helps very much if the drive is already > formatted. Most of these drives I plan to encounter will be > formatted so this basically solves the problem but it raises a > new question. If one does > > gpart list as suggested and the disk is formatted, one gets > exactly the information necessary. I believe it is even the > first line of output. It doesn't get better than that. If the > disk is not corrected formatted such as might happen with > corruption or maybe a new drive, gpart list executes silently > and prints nothing on the output. > > As I said, you answered my question so many thanks. The > new question might best be put: > > Okay, if nothing is there, where did gpart look to see nothing? > I believe gpart checks the geom sector which the last one of a particular geom class. The sector is written anytime the geom device is added or updated. This applies only to geom devices which are hardcoded. For example, /dev/ad0 and /dev/ad0p1 would both be seperate geom classes and have their own meta-data sector. FWIW, the only suitable hard disk devices I know of are: /dev/ad{0-9} /dev/ada{0-9} /dev/da{0-9} If you're writing a test, I would probably grep dmesg for the presence of one of them. The first device appearance is probably a prime candidate for installation target. -- Adam Vande More From gull at gull.us Fri Sep 3 15:57:34 2010 From: gull at gull.us (David Brodbeck) Date: Fri Sep 3 15:57:41 2010 Subject: Weird Linux - FreeBSD/ZFS NFSv4 interoperability problem In-Reply-To: References: Message-ID: Thanks, Ivan. I'll pursue it there. If it's not ready for prime time yet, I understand, but I'd also like to help nudge it in that direction. :) On Fri, Sep 3, 2010 at 2:57 AM, Ivan Voras wrote: > On 09/02/10 21:25, David Brodbeck wrote: >> >> While doing some interoperability testing between Linux and FreeBSD, I >> came up with this unusual issue. ?I could use some help figuring out >> if this is a bug, and if so, where to file it. ?Here's the scenario: >> >> - FreeBSD 8.1-RELEASE server, sharing a ZFS filesystem via NFSv4. > > I think that this is the beginning of your problems - even the developer who > is working on NFSv4 says it's too experimental to be used in real world. > >> - Linux client (I've tested with RHEL 5.4 and Debian Lenny) mounting >> said filesystem with NFSv4. >> - A user on the Linux client does a Subversion checkout onto the >> mounted filesystem. >> >> At the end of the checkout, access to the filesystem hangs. ?nfsd on >> the FreeBSD server and rpciod on the Linux client seem to be in a >> tight loop, and there's lots of network traffic between them. ?I can >> reproduce this every time. >> >> The problem does not occur if the backing filesystem is UFS instead of >> ZFS, if NFSv3 is used instead of NFSv4, or if the client is FreeBSD >> instead of Linux. > > ... but you may have stumbled on something specific. I recommend you repeat > this same post (and others you have on the similar topic) on the freebsd-fs > at freebsd.org mailing list, the developer (Rick Macklem) reads it. > > _______________________________________________ > 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 editor at d3photography.com Fri Sep 3 15:58:17 2010 From: editor at d3photography.com (Ryan Coleman) Date: Fri Sep 3 15:58:24 2010 Subject: Which of these NICs will work? Message-ID: Any thoughts? I need/want to get a multi-port NIC for my new system but I haven't purchased the guts for the server yet. http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100010064+600013872+600016290&QksAutoSuggestion=&ShowDeactivatedMark=False&Configurator=&IsNodeId=1&Subcategory=27&description=&Ntk=&CFG=&SpeTabStoreType=&srchInDesc= Basically, this machine will have two external (real-world) IPs and one network LAN (10.0.1.0/24) address, finding three-NIC motherboards is not exactly possible so this is my alternative. I'm looking for FreeBSD 7-9 support. Rather run 8.1-RELEASE (same as my other two machines right now). Thanks, Ryan From elifan2007 at ya.ru Fri Sep 3 16:08:08 2010 From: elifan2007 at ya.ru (Elifan) Date: Fri Sep 3 16:08:14 2010 Subject: i386 to amd64 migration Message-ID: <84614688.20100903185220@ya.ru> Hello, I have experience in freebsd but never did such system architecture migration. Is it possible to do safely with only SSH access (or IP-KVM)? I'm planning to upgrade system from 7.2 to 7.3 but it's i386.. Regards, Elifan From claudiu.vasadi at gmail.com Fri Sep 3 16:26:28 2010 From: claudiu.vasadi at gmail.com (claudiu vasadi) Date: Fri Sep 3 16:26:37 2010 Subject: i386 to amd64 migration In-Reply-To: <84614688.20100903185220@ya.ru> References: <84614688.20100903185220@ya.ru> Message-ID: AFAIK,basically .... no x86 -> x86 and x64 -> x64 Non-basically ... yes but it's a real pain in the @$$ and you will definitely run in all kinds of trouble. ip you have KVM access, just put a x64 DVD inside and do a clean install (it will keep your sanity intact) From gibblertron at gmail.com Fri Sep 3 17:27:25 2010 From: gibblertron at gmail.com (patrick) Date: Fri Sep 3 17:27:32 2010 Subject: 8.1: Cron ignoring crontab updates In-Reply-To: <4C80C1D6.2050104@qeng-ho.org> References: <4c80af91.0XK7R1NzplpVQC/a%perryh@pluto.rain.com> <4C80C1D6.2050104@qeng-ho.org> Message-ID: Yes, it's definitely updating: [root@juno /var/cron/tabs]# ls -ald /var/cron/tabs drwx------ 2 root wheel 512 Sep 2 12:49 /var/cron/tabs And after editing my crontab: [root@juno /var/cron/tabs]# ls -ald /var/cron/tabs drwx------ 2 root wheel 512 Sep 3 10:25 /var/cron/tabs I've been using FreeBSD since version 4, and this has never once been an issue, nor is this an issue on a system with a fresh install of 8.1. Patrick On Fri, Sep 3, 2010 at 2:37 AM, Arthur Chance wrote: > On 09/03/10 09:19, perryh@pluto.rain.com wrote: >> >> Chris Rees ?wrote: >> >>> You have to SIGHUP cron, not restart it. >>> >>> # killall -HUP cron >> >> Isn't crontab(1) supposed to do that, without separate intervention? > > From man cron > >> ? ? Additionally, cron checks each minute to see if its spool directory's >> ? ? modification time (or the modification time on /etc/crontab) has >> changed, >> ? ? and if it has, cron will then examine the modification time on all >> ? ? crontabs and reload those which have changed. ?Thus cron need not be >> ? ? restarted whenever a crontab file is modified. ?Note that the >> crontab(1) >> ? ? command updates the modification time of the spool directory whenever >> it >> ? ? changes a crontab. > > From the original post crontab seems to be working, so all I can suggest > is to "ls -ld /var/cron/tabs" before and after using crontab -e and see > if the modtime is being changed correctly. > From roberthuff at rcn.com Fri Sep 3 17:32:55 2010 From: roberthuff at rcn.com (Robert Huff) Date: Fri Sep 3 17:33:02 2010 Subject: Which of these NICs will work? In-Reply-To: References: Message-ID: <19585.12609.782477.654588@jerusalem.litteratus.org> Ryan Coleman writes: > Any thoughts? I need/want to get a multi-port NIC for my new > system but I haven't purchased the guts for the server yet. > > http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100010064+600013872+600016290&QksAutoSuggestion=&ShowDeactivatedMark=False&Configurator=&IsNodeId=1&Subcategory=27&description=&Ntk=&CFG=&SpeTabStoreType=&srchInDesc= > > Basically, this machine will have two external (real-world) IPs > and one network LAN (10.0.1.0/24) address, finding three-NIC > motherboards is not exactly possible so this is my alternative. Intel network cards have a very good reputation; I have been running a dual-port Pro/1000 GT for years and the thing is still a rock. Others will have a better opinion on performance issues. The Intel employee who maintains the driver is frequently seen on current@ and occasionally on questions@. Nice guy, very responsive. Robert Huff From demelier.david at gmail.com Fri Sep 3 18:40:04 2010 From: demelier.david at gmail.com (David DEMELIER) Date: Fri Sep 3 18:40:16 2010 Subject: watch(8) does not work in jails In-Reply-To: <20100816225715.GA35248@slackbox.erewhon.net> References: <20100816181703.GB66710@slackbox.erewhon.net> <20100816225715.GA35248@slackbox.erewhon.net> Message-ID: 2010/8/17 Roland Smith : > On Tue, Aug 17, 2010 at 12:09:23AM +0200, David DEMELIER wrote: >> > Does /dev/pts/0 actually exist in the jail's devfs instance, and are its >> > permissions correct? >> > >> >> (In jail) : >> >> # ls -l /dev/pts/* >> crw--w---- ?1 markand ?tty ? ?0, ?94 17 Aug 00:06 /people/dev/pts/0 >> crw--w---- ?1 markand ?tty ? ?0, ?96 17 Aug 00:06 /people/dev/pts/1 >> crw--w---- ?1 root ? ? tty ? ?0, 101 21 Jul 00:07 /people/dev/pts/2 >> crw--w---- ?1 markand ?tty ? ?0, 108 17 Aug 00:06 /people/dev/pts/3 >> crw--w---- ?1 markand ?tty ? ?0, ?99 16 Aug 01:28 /people/dev/pts/4 >> crw--w---- ?1 markand ?tty ? ?0, 112 17 Aug 00:05 /people/dev/pts/5 >> crw--w---- ?1 root ? ? tty ? ?0, 111 17 Aug 00:06 /people/dev/pts/6 >> crw--w---- ?1 root ? ? tty ? ?0, 114 16 Aug 23:53 /people/dev/pts/7 >> crw--w---- ?1 root ? ? tty ? ?0, 100 17 Aug 00:06 /people/dev/pts/8 > > I think you mounted your devfs incorrectly or you started the jail in the > wrong directory. If ls is run inside the jail, it should be /dev/pts/N, not > /people/dev/pts/N! > > Roland > -- > R.F.Smith ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 ?B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > Sorry I made a mistake while I was writing. In fact there is the permissions in the jail : markand@Orange ~ $ sudo jexec 1 tcsh # su - People# ls -l /dev/pts/* crw--w---- 1 zazak tty 0, 118 3 Sep 20:39 /dev/pts/0 crw--w---- 1 zazak tty 0, 99 3 Sep 07:07 /dev/pts/4 crw--w---- 1 zazak tty 0, 94 3 Sep 20:39 /dev/pts/6 People# who zazak pts/0 1 Sep 19:07 (92.147.166.20:S.) zazak pts/4 10 Aug 16:00 (92.147.166.20:S.) People# watch pts/0 watch: fatal: cannot open snoop device And that's it. -- Demelier David From demelier.david at gmail.com Fri Sep 3 18:41:44 2010 From: demelier.david at gmail.com (David DEMELIER) Date: Fri Sep 3 18:41:51 2010 Subject: watch(8) does not work in jails In-Reply-To: References: <20100816181703.GB66710@slackbox.erewhon.net> <20100816225715.GA35248@slackbox.erewhon.net> Message-ID: 2010/9/3 David DEMELIER : > 2010/8/17 Roland Smith : >> On Tue, Aug 17, 2010 at 12:09:23AM +0200, David DEMELIER wrote: >>> > Does /dev/pts/0 actually exist in the jail's devfs instance, and are its >>> > permissions correct? >>> > >>> >>> (In jail) : >>> >>> # ls -l /dev/pts/* >>> crw--w---- ?1 markand ?tty ? ?0, ?94 17 Aug 00:06 /people/dev/pts/0 >>> crw--w---- ?1 markand ?tty ? ?0, ?96 17 Aug 00:06 /people/dev/pts/1 >>> crw--w---- ?1 root ? ? tty ? ?0, 101 21 Jul 00:07 /people/dev/pts/2 >>> crw--w---- ?1 markand ?tty ? ?0, 108 17 Aug 00:06 /people/dev/pts/3 >>> crw--w---- ?1 markand ?tty ? ?0, ?99 16 Aug 01:28 /people/dev/pts/4 >>> crw--w---- ?1 markand ?tty ? ?0, 112 17 Aug 00:05 /people/dev/pts/5 >>> crw--w---- ?1 root ? ? tty ? ?0, 111 17 Aug 00:06 /people/dev/pts/6 >>> crw--w---- ?1 root ? ? tty ? ?0, 114 16 Aug 23:53 /people/dev/pts/7 >>> crw--w---- ?1 root ? ? tty ? ?0, 100 17 Aug 00:06 /people/dev/pts/8 >> >> I think you mounted your devfs incorrectly or you started the jail in the >> wrong directory. If ls is run inside the jail, it should be /dev/pts/N, not >> /people/dev/pts/N! >> >> Roland >> -- >> R.F.Smith ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? http://www.xs4all.nl/~rsmith/ >> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] >> pgp: 1A2B 477F 9970 BA3C 2914 ?B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) >> > > Sorry I made a mistake while I was writing. In fact there is the > permissions in the jail : > > markand@Orange ~ $ sudo jexec 1 tcsh > # su - > People# ls -l /dev/pts/* > crw--w---- ?1 zazak ?tty ? ?0, 118 ?3 Sep 20:39 /dev/pts/0 > crw--w---- ?1 zazak ?tty ? ?0, ?99 ?3 Sep 07:07 /dev/pts/4 > crw--w---- ?1 zazak ?tty ? ?0, ?94 ?3 Sep 20:39 /dev/pts/6 > People# who > zazak ? ? ? ? ? pts/0 ? ? 1 Sep 19:07 (92.147.166.20:S.) > zazak ? ? ? ? ? pts/4 ? ?10 Aug 16:00 (92.147.166.20:S.) > People# watch pts/0 > watch: fatal: cannot open snoop device > > And that's it. > > -- > Demelier David > People# write pts/0 write: /dev/pts/7: No such file or directory Then I really don't understand. -- Demelier David From drew at mykitchentable.net Fri Sep 3 18:46:03 2010 From: drew at mykitchentable.net (Drew Tomlinson) Date: Fri Sep 3 18:46:11 2010 Subject: Regex Help For Procmail Message-ID: <4C814262.5060504@mykitchentable.net> I use procmail for mail delivery and I'm trying to concoct the right regex to match From: headers and deliver to a folder. However mail is sent from various addresses so I want to match all that end with "famous-smoke.com>". Here's an example of a header: From: "Famous Smoke Shop" Because I also occasionally order, I don't want to catch mail from anything that has the word "Orders" and "Famous" in the From field. Thus here is my procmail recipe: # Deliver order info to inbox :0 *^From:.[Ff]amous.*[Oo]rder.*famous-smoke.com>$ "${HOME}/Maildir/new/" # Deliver other email to folder :0 *^From:.*famous-smoke.com>$ "${HOME}/Maildir/.Shopping/Famous Smoke/Email/" According to my procmail log, the From: header does not match. I would expect the example From: header above to match the second regex and be delivered to the specified folder. Where is my error? Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From glen.j.barber at gmail.com Fri Sep 3 19:02:39 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri Sep 3 19:02:48 2010 Subject: Regex Help For Procmail In-Reply-To: <4C814262.5060504@mykitchentable.net> References: <4C814262.5060504@mykitchentable.net> Message-ID: <4C814634.1000003@gmail.com> Hi Drew, On 9/3/10 2:45 PM, Drew Tomlinson wrote: > I use procmail for mail delivery and I'm trying to concoct the right > regex to match From: headers and deliver to a folder. However mail is > sent from various addresses so I want to match all that end with > "famous-smoke.com>". Here's an example of a header: > > From: "Famous Smoke Shop" > > Because I also occasionally order, I don't want to catch mail from > anything that has the word "Orders" and "Famous" in the From field. > Thus here is my procmail recipe: > > # Deliver order info to inbox > :0 > *^From:.[Ff]amous.*[Oo]rder.*famous-smoke.com>$ > "${HOME}/Maildir/new/" > Is this supposed to be "match Famous OR Order"? This currently matches "Famous AND Order". > # Deliver other email to folder > :0 > *^From:.*famous-smoke.com>$ > "${HOME}/Maildir/.Shopping/Famous Smoke/Email/" > Going by your examples, you want to catch "Famous OR Order" and place that in Maildir/new, and all other email from this address to go to Maildir/.Shopping/... Try this: # catch "famous" or "order" :0 * ^From:.*([Ff]amous|[Oo]rder).*famous-smoke.com>$ "$HOME/Maildir/new" # catch everything else from this sender :0 * ^From:.*famous-smoke.com>$ "$HOME/Maildir/.Shopping/Famous Smoke/Email/" > According to my procmail log, the From: header does not match. I would > expect the example From: header above to match the second regex and be > delivered to the specified folder. Where is my error? > If my assumption above is incorrect, could you paste a snippet from your procmail log and point out what should be matching so we can have a specific example? Regards, -- Glen Barber From martin at dc.cis.okstate.edu Fri Sep 3 19:13:48 2010 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Fri Sep 3 19:13:54 2010 Subject: Need to run a Command Once on Boot. FreeBSD8.1 Message-ID: <201009031913.o83JDXOt054359@dc.cis.okstate.edu> I seem to recall that there is some sort of stub that will let one execute a script which runs at the last stage of the boot process but I can't seem to remember enough to look it up. I need to run a small script to do pwd_mkdb just once to sync the passwd data base after booting a 8.1 system for the first time. The system is being built via script and /etc/master.passwd has a couple of accounts that the data base doesn't know about. After running pwd_mkdb against /etc/master.passwd, all is well but we are locked out of the system until this happens. I may even make the script destroy itself after launching since it never needs to run after that one time. Thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From faust64 at gmail.com Fri Sep 3 19:18:47 2010 From: faust64 at gmail.com (=?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?=) Date: Fri Sep 3 19:18:54 2010 Subject: Need to run a Command Once on Boot. FreeBSD8.1 In-Reply-To: <201009031913.o83JDXOt054359@dc.cis.okstate.edu> References: <201009031913.o83JDXOt054359@dc.cis.okstate.edu> Message-ID: creating a /etc/rc.local that rm itself? or, if you already have a rc.local, calling there a script that would self desctruct after beeing launched. Samuel Mart?n Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 All?e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Fri, Sep 3, 2010 at 9:13 PM, Martin McCormick wrote: > I seem to recall that there is some sort of stub that > will let one execute a script which runs at the last stage of > the boot process but I can't seem to remember enough to look it > up. > > I need to run a small script to do pwd_mkdb just once to > sync the passwd data base after booting a 8.1 system for the > first time. The system is being built via script and > /etc/master.passwd has a couple of accounts that the data base > doesn't know about. After running pwd_mkdb against > /etc/master.passwd, all is well but we are locked out of the > system until this happens. > > I may even make the script destroy itself after > launching since it never needs to run after that one time. > > Thanks. > > Martin McCormick WB5AGZ Stillwater, OK > Systems Engineer > OSU Information Technology Department Telecommunications Services Group > _______________________________________________ > 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 Fri Sep 3 19:33:58 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Fri Sep 3 19:34:05 2010 Subject: Need to run a Command Once on Boot. FreeBSD8.1 Message-ID: <201009031933.o83JX7XP010818@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Fri Sep 3 14:13:18 2010 > To: freebsd-questions@freebsd.org > Date: Fri, 03 Sep 2010 14:13:33 -0500 > From: Martin McCormick > Subject: Need to run a Command Once on Boot. FreeBSD8.1 > > I seem to recall that there is some sort of stub that > will let one execute a script which runs at the last stage of > the boot process but I can't seem to remember enough to look it > up. /etc/rc.local maybe? contrary to the 'rc.d' way of doing things, but 'simple'. :) From martin at dc.cis.okstate.edu Fri Sep 3 19:51:23 2010 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Fri Sep 3 19:51:29 2010 Subject: Need to run a Command Once on Boot. FreeBSD8.1 Message-ID: <201009031951.o83Jom6b092378@dc.cis.okstate.edu> Robert Bonomi writes: > /etc/rc.local maybe? contrary to the 'rc.d' way of doing things, but > 'simple'. :) Thanks so much to both people who answered. I thought there was more to it than that but I may be thinking of the rcx.d directories in Linux. If you don't watch out, you can be scratching your head all day trying to figure out why the job isn't getting done. I use and like both FreeBSD and Linux but some things are easier in one than the other. Again, many thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From rfarmer at predatorlabs.net Fri Sep 3 19:53:37 2010 From: rfarmer at predatorlabs.net (Rob Farmer) Date: Fri Sep 3 19:53:45 2010 Subject: vmware-guestd6: error during make install In-Reply-To: <20100903130130.GA5324@current.Sisis.de> References: <20100903075925.GA3116@current.Sisis.de> <20100903083143.GA3316@current.Sisis.de> <4C80EF3C.8050509@gmail.com> <20100903130130.GA5324@current.Sisis.de> Message-ID: On Fri, Sep 3, 2010 at 06:01, Matthias Apitz wrote: > I tried to install the vmware-freebsd-tools.tar.gz directly as > VMWare.com it provides (I have compat6x already installed for some other > reason). But in vmware-freebsd-tools.tar.gz there are only kernel > modules for FreeBSD 6 and 7 and using the modules for 7 it crashes, ofc. > > Who can I get the tools installed? My EULA says: 3.4 VMware Tools. You may distribute the VMware Tools to any third party provided that (i) you only distribute the VMware Tools as a whole in object code format whether or not as part of, the Virtual Machine you create with the Software; (ii) you do not use VMware's name, logo or trademarks to market the VMware Tools, except you may refer to VMware names, logos or trademarks to indicate that the VMware Tools are compatible with or designed for use with the Software and (iii) you agree to indemnify, hold harmless, and defend VMware from and against any claims or lawsuits, including attorneys' fees, that arise or result from your use or distribution of VMware Tools. Notwithstanding the foregoing, you may distribute and modify the Open Source Software of VMware Tools; however, VMware may not provide any support, pursuant to Section 5, for such modified VMware Tools. Assuming you aren't in a US export restricted country (Cuba, Iran, North Korea, Sudan, and Syria) I should be able to give you a legal copy. This is the ISO that ships with Workstation 7.1.1 build-282343. It has kernel modules for 8.0 i386 & amd64. http://www.predatorlabs.net/dl/vmware-tools-freebsd-711.iso -- Rob Farmer From freebsd_user at guice.ath.cx Fri Sep 3 19:54:21 2010 From: freebsd_user at guice.ath.cx (freebsd_user@guice.ath.cx) Date: Fri Sep 3 19:54:28 2010 Subject: Custom Kernel -- Module exclusion by association Message-ID: <89096821fdf9098c09c610c1c3434d63.squirrel@wtp1.ath.cx> My meaning in the 'subject' is: Currently we want to: 'options QUOTA' in the kernel. We do not want to compile any modules that we don't have to (effort to save time). If adding support for 'QUOTA' doesn't require any module rebuilding, how do we specify/exclude 'all' module building using 'WITHOUT_MODULES' in the /etc/make.conf? In addition, if there are modules that need to be rebuilt in 'association' with the 'options QUOTA', or any other kernel addition, how are we to tell 'what is' needed and/or what 'is not' needed before blindly omitting modules from the kernel build process? 2) The "man make.conf" shows a listing for 'KERNCONF', the installed (7.3) file: /usr/share/examples/etc/make.conf makes no mention of this. Should we decide to employ the use of 'KERNCONF' within our /etc/make.conf, does this get auto-magically read if we only type: env -i make buildkernel KERNCONF <--without typing a configuration filename? Assuming of course we saved the named file in /usr/src/sys//conf. Thanks for taking the time to read my msg. From enlil65 at gmail.com Fri Sep 3 19:56:19 2010 From: enlil65 at gmail.com (Peggy Wilkins) Date: Fri Sep 3 19:56:27 2010 Subject: network deamons starting before network! In-Reply-To: References: <4C1B20F0.2090804@mapper.nl> Message-ID: On Thu, Sep 2, 2010 at 9:45 AM, Peggy Wilkins wrote: > On Fri, Jun 18, 2010 at 2:32 AM, Mark Stapper wrote: > >> Since updating to 8.X I noticed that network services were started >> before the network was up! >> I use lagg failover configuration on both my FreeBSD boxes. >> First, boot fails on mounting my nfs-shares. >> After entering and exiting the "rescue" shell, the system boots as normal. >> >> uname -a >> FreeBSD mario 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: Fri Jun 18 >> 07:46:01 CEST 2010 ? ? ****@mario:/usr/obj/usr/src/sys/mario ?amd64 >> What could I do to fix this? >> >> Here's an exerpt from /var/log/messages: >> >> Jun 18 09:10:25 ?ntpd[1376]: ntpd 4.2.4p5-a (1) >> Jun 18 09:10:25 ?kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 >> Jun 18 09:10:27 ?ntpd_initres[1412]: host name not found: yoshi >> Jun 18 09:10:27 ?kernel: nfe0: link state changed to UP >> Jun 18 09:10:27 ?kernel: lagg0: link state changed to UP >> Jun 18 09:10:27 ?kernel: nfe1: link state changed to UP >> Jun 18 09:10:27 ?ntpd_initres[1412]: couldn't resolve `yoshi', giving up >> on it >> Jun 18 09:10:28 ?dhclient: New Hostname (lagg0): mario >> Jun 18 09:10:28 ?dhclient: New IP Address (lagg0): 10.58.235.6 >> Jun 18 09:10:28 ?dhclient: New Subnet Mask (lagg0): 255.255.255.0 >> Jun 18 09:10:28 ?dhclient: New Broadcast Address (lagg0): 10.58.235.255 >> Jun 18 09:10:28 ?dhclient: New Routers (lagg0): 10.58.235.1 > > I upgraded my amd64 FreeBSD-8.0-RELEASE-p4 system to > FreeBSD-8.1-RELEASE earlier this week. ?After completing the upgrade > and rebooting, I also am having the above reported problem. > > I am not using dhcp, I have configured a static IP address. > > My system also has nfe NIC. ?I wonder if this problem is specific to > systems using nfe network driver. ?The problem was not occuring on my > 8.0 system, before the upgrade to 8.1. > > Here are my boot messages that display this problem. [snip] > It is pretty clear that the network services are all getting started > twice, once before dropping to single user shell, and a second time > after exiting single user. > > It is also pretty clear that "nfe0: link state changed to DOWN" is > happening at a bad time; and nothing that requires network to be up is > waiting for it to change to UP. I have a workaround for this problem, albeit an ugly workaround. I edited /etc/rc.d/netif to add a 10 second sleep as each network interface is brought up: if [ -n "${_ok}" ]; then case ${_func} in ifn_start) _str='Starting' ;; ifn_stop) _str='Stopping' ;; esac echo "${_str} Network:${_ok}." if check_startmsgs; then for ifn in ${_ok}; do /sbin/ifconfig ${ifn} sleep 10 done fi fi This is probably overkill, and for me it adds 20 seconds to boot time, but it works for me until the general problem is solved. I think there is a general bug with the rc.d/rcorder framework, because even outside this weird case with nfe NIC if any network mount fails during the early part of rc processing it is repeated in the late part via "mount -a" in the second passthrough. This results potentially in multiple mounts of the same remote filesystem (e.g. if mount_nfs is backgrounded in the first pass mount_nfs will be run a second time in the second pass; and if the first problem isn't resolved the second mount_nfs is also backgrounded. For me this usually results in two mounts of the same remote filesystem, after the (presumably temporary) network mounting problem resolves). plw From jhelfman at e-e.com Fri Sep 3 20:02:50 2010 From: jhelfman at e-e.com (Jason) Date: Fri Sep 3 20:03:26 2010 Subject: Need to run a Command Once on Boot. FreeBSD8.1 In-Reply-To: <201009031951.o83Jom6b092378@dc.cis.okstate.edu> References: <201009031951.o83Jom6b092378@dc.cis.okstate.edu> Message-ID: <20100903200009.GA94476@eggman.experts-exchange.com> On Fri, Sep 03, 2010 at 02:50:48PM -0500, Martin McCormick thus spake: >Robert Bonomi writes: >> /etc/rc.local maybe? contrary to the 'rc.d' way of doing things, but >> 'simple'. :) > > Thanks so much to both people who answered. I thought >there was more to it than that but I may be thinking of the >rcx.d directories in Linux. If you don't watch out, you can be >scratching your head all day trying to figure out why the job >isn't getting done. I use and like both FreeBSD and Linux but >some things are easier in one than the other. > > Again, many thanks. man 5 crontab has: @reboot Run once, at startup > >Martin McCormick WB5AGZ Stillwater, OK >Systems Engineer >OSU Information Technology Department Telecommunications Services Group From rsmith at xs4all.nl Fri Sep 3 20:23:34 2010 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Sep 3 20:24:24 2010 Subject: watch(8) does not work in jails In-Reply-To: References: <20100816181703.GB66710@slackbox.erewhon.net> <20100816225715.GA35248@slackbox.erewhon.net> Message-ID: <20100903202331.GA19492@slackbox.erewhon.net> On Fri, Sep 03, 2010 at 08:40:01PM +0200, David DEMELIER wrote: > Sorry I made a mistake while I was writing. In fact there is the > permissions in the jail : > > markand@Orange ~ $ sudo jexec 1 tcsh > # su - > People# ls -l /dev/pts/* > crw--w---- 1 zazak tty 0, 118 3 Sep 20:39 /dev/pts/0 > crw--w---- 1 zazak tty 0, 99 3 Sep 07:07 /dev/pts/4 > crw--w---- 1 zazak tty 0, 94 3 Sep 20:39 /dev/pts/6 That looks OK. > People# who > zazak pts/0 1 Sep 19:07 (92.147.166.20:S.) > zazak pts/4 10 Aug 16:00 (92.147.166.20:S.) > People# watch pts/0 > watch: fatal: cannot open snoop device For watch(1) to work, you need the device snp(4) either loaded as a module or built into the kernel. It's not in the GENERIC kernel. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [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/20100903/24b4e979/attachment.pgp From nathan at vidican.com Fri Sep 3 20:25:17 2010 From: nathan at vidican.com (Nathan Vidican) Date: Fri Sep 3 20:25:23 2010 Subject: Which of these NICs will work? In-Reply-To: <19585.12609.782477.654588@jerusalem.litteratus.org> References: <19585.12609.782477.654588@jerusalem.litteratus.org> Message-ID: I have several Intel multi-port, (2 port, 4 port and even some 2 port fibre-optic), cards in use. All have been rock-solid, stable performers, and have hardware VLAN tagging and trunking capability. I have some 4 port cards in use with LACP+VLAN Trunking, and then use vlan interfaces in FreeBSD configured per vlan. This allows many networks to share the same interface and is great for virtualization type situations too. Just my two cents - but I'd pay the extra for the Intel because I know it just works predictably and reliably. -- Nathan Vidican nathan@vidican.com Happy FreeBSD'er since 2.2.1:) On Fri, Sep 3, 2010 at 1:32 PM, Robert Huff wrote: > > Ryan Coleman writes: > > > Any thoughts? I need/want to get a multi-port NIC for my new > > system but I haven't purchased the guts for the server yet. > > > > > http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100010064+600013872+600016290&QksAutoSuggestion=&ShowDeactivatedMark=False&Configurator=&IsNodeId=1&Subcategory=27&description=&Ntk=&CFG=&SpeTabStoreType=&srchInDesc= > > > > Basically, this machine will have two external (real-world) IPs > > and one network LAN (10.0.1.0/24) address, finding three-NIC > > motherboards is not exactly possible so this is my alternative. > > Intel network cards have a very good reputation; I have been > running a dual-port Pro/1000 GT for years and the thing is still a > rock. Others will have a better opinion on performance issues. > The Intel employee who maintains the driver is frequently seen > on current@ and occasionally on questions@. Nice guy, very > responsive. > > > 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" > From demelier.david at gmail.com Fri Sep 3 20:51:14 2010 From: demelier.david at gmail.com (David DEMELIER) Date: Fri Sep 3 20:51:20 2010 Subject: watch(8) does not work in jails In-Reply-To: <20100903202331.GA19492@slackbox.erewhon.net> References: <20100816181703.GB66710@slackbox.erewhon.net> <20100816225715.GA35248@slackbox.erewhon.net> <20100903202331.GA19492@slackbox.erewhon.net> Message-ID: 2010/9/3 Roland Smith : > On Fri, Sep 03, 2010 at 08:40:01PM +0200, David DEMELIER wrote: >> Sorry I made a mistake while I was writing. In fact there is the >> permissions in the jail : >> >> markand@Orange ~ $ sudo jexec 1 tcsh >> # su - >> People# ls -l /dev/pts/* >> crw--w---- ?1 zazak ?tty ? ?0, 118 ?3 Sep 20:39 /dev/pts/0 >> crw--w---- ?1 zazak ?tty ? ?0, ?99 ?3 Sep 07:07 /dev/pts/4 >> crw--w---- ?1 zazak ?tty ? ?0, ?94 ?3 Sep 20:39 /dev/pts/6 > > That looks OK. > >> People# who >> zazak ? ? ? ? ? pts/0 ? ? 1 Sep 19:07 (92.147.166.20:S.) >> zazak ? ? ? ? ? pts/4 ? ?10 Aug 16:00 (92.147.166.20:S.) >> People# watch pts/0 >> watch: fatal: cannot open snoop device > > For watch(1) to work, you need the device snp(4) either loaded as a module or > built into the kernel. It's not in the GENERIC kernel. > > Roland > -- > R.F.Smith ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 ?B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > As I said in the first post it's present in my kernel config. I did not built as module. -- Demelier David From drew at mykitchentable.net Fri Sep 3 21:12:51 2010 From: drew at mykitchentable.net (Drew Tomlinson) Date: Fri Sep 3 21:13:00 2010 Subject: Regex Help For Procmail In-Reply-To: <4C814634.1000003@gmail.com> References: <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> Message-ID: <4C8164C7.9000107@mykitchentable.net> Hi Glen, Thank you for your reply. On 9/3/2010 12:02 PM, Glen Barber wrote: > Hi Drew, > > On 9/3/10 2:45 PM, Drew Tomlinson wrote: >> I use procmail for mail delivery and I'm trying to concoct the right >> regex to match From: headers and deliver to a folder. However mail is >> sent from various addresses so I want to match all that end with >> "famous-smoke.com>". Here's an example of a header: >> >> From: "Famous Smoke Shop" >> >> Because I also occasionally order, I don't want to catch mail from >> anything that has the word "Orders" and "Famous" in the From field. >> Thus here is my procmail recipe: >> >> # Deliver order info to inbox >> :0 >> *^From:.[Ff]amous.*[Oo]rder.*famous-smoke.com>$ >> "${HOME}/Maildir/new/" >> > Is this supposed to be "match Famous OR Order"? This currently matches > "Famous AND Order". No, I want "Famous AND Order". >> # Deliver other email to folder >> :0 >> *^From:.*famous-smoke.com>$ >> "${HOME}/Maildir/.Shopping/Famous Smoke/Email/" > Going by your examples, you want to catch "Famous OR Order" and place > that in Maildir/new, and all other email from this address to go to > Maildir/.Shopping/... > > Try this: > > # catch "famous" or "order" > :0 > * ^From:.*([Ff]amous|[Oo]rder).*famous-smoke.com>$ > "$HOME/Maildir/new" > > # catch everything else from this sender > :0 > * ^From:.*famous-smoke.com>$ > "$HOME/Maildir/.Shopping/Famous Smoke/Email/" >> According to my procmail log, the From: header does not match. I would >> expect the example From: header above to match the second regex and be >> delivered to the specified folder. Where is my error? > If my assumption above is incorrect, could you paste a snippet from your > procmail log and point out what should be matching so we can have a > specific example? This is the actual log entry from the example I used in this email: From Announce@email.famous-smoke.com Fri Sep 3 10:11:08 2010 Subject: Another Must-Attend Event at Famous! Folder: /home//Maildir/new/1283533874.95147_0.blacklamb. 8161 procmail: [95164] Fri Sep 3 10:13:05 2010 procmail: Assigning "NL= " procmail: Assigning "LOG= /home//Procmail/famous_smoke.rc" /home//Procmail/famous_smoke.rc procmail: No match on "^From:.[Ff]amous.*[Oo]rder.*famous-smoke.com>$" procmail: No match on "^From:.*famous-smoke.com>$" procmail: Assigning "VERBOSE=OFF" I think my problem is that I was missing a "space" between "*" and "^From:". Your example shows a space and a reply from Brent Bloxam suggests this is the problem as well. I don't quite understand the difference between the two but have made the change and I'll see if it works. I'm also going to hit Google and see if I can understand. Thanks again for your help! Cheers, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From peter at vfemail.net Fri Sep 3 21:19:54 2010 From: peter at vfemail.net (peter@vfemail.net) Date: Fri Sep 3 21:20:01 2010 Subject: What made my FreeBSD server freeze? In-Reply-To: References: <20100830131822.529B3106564A@hub.freebsd.org> Message-ID: <20100903211954.B071010656A9@hub.freebsd.org> Thanks. I cloned the hard drive and replaced the old drive with the new drive this afternoon. ------- At 09:25 AM 8/30/2010, Ivan Voras wrote: >On 08/30/10 13:24, peter@vfemail.net wrote: >> >>When I awoke this morning my FreeBSD box was frozen -- completely unresponsive at the console -- and displayed these messages on the console: >> >> ad0: READ command timeout tag=0 serv=0 -resetting >> ata0: resetting devices >> ad0: removed from configuration >> done >> Aug 30 03:09:25 abc sm-mta 88427 xyz SYSERR(root): collect: Cannot write: ./xyz (fsync uid=o, gid=25): Device not configured >> >>The box has been in continuous operation for years, and I've never seen this behavior before. >> >>I rebooted the machine this morning and, thank God, it came back to life. >> >>Is this an early warning that the hard drive is failing and should be replaced this week? > >Very probably! > >>Is there anything else I should explore or do at this time? > >If not the drive, check drive cables, the power supply and motherboard/CPU overheating. > > >_______________________________________________ >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 message sent via VFEmail.net http://www.vfemail.net $14.95 Lifetime accounts - 1GB disk, No bandwidth quotas! From yuri at rawbw.com Fri Sep 3 23:27:18 2010 From: yuri at rawbw.com (Yuri) Date: Fri Sep 3 23:28:48 2010 Subject: Why skype can't see webcam? Message-ID: <4C818455.1080805@rawbw.com> I have webcamd running and can see my webcam using mplayer like this: mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=30:device=/dev/video0 But skype can't see the video. It only sees /dev/video0 device but when I try testing it image is black. v4l support was recently added into 8.1: http://www.leidinger.net/blog/2010/07/29/v4l-support-in-the-linuxulator-mfced-to-8-stable/, this is related. Anybody knows why skype can't use video? On the other hand, I tried to debug this with 'truss -f', but -f flag doesn't follow descendants of the linux process for some reason as it should. Any way to work around this? Yuri From ait at p2ee.org Sat Sep 4 02:12:29 2010 From: ait at p2ee.org (Alejandro Imass) Date: Sat Sep 4 02:12:36 2010 Subject: Why skype can't see webcam? In-Reply-To: <4C818455.1080805@rawbw.com> References: <4C818455.1080805@rawbw.com> Message-ID: On Fri, Sep 3, 2010 at 7:27 PM, Yuri wrote: > I have webcamd running and can see my webcam using mplayer like this: > mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=30:device=/dev/video0 I think this has come up a few times recently on the list, check the archives to see if it was solved. Could be mistaken, but I have a faint memory someone said it was working for them. Best, Alejandro Imass From sfourman at gmail.com Sat Sep 4 03:17:07 2010 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sat Sep 4 03:17:16 2010 Subject: Why skype can't see webcam? In-Reply-To: References: <4C818455.1080805@rawbw.com> Message-ID: On Fri, Sep 3, 2010 at 8:44 PM, Alejandro Imass wrote: > On Fri, Sep 3, 2010 at 7:27 PM, Yuri wrote: >> I have webcamd running and can see my webcam using mplayer like this: >> mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=30:device=/dev/video0 > > I think this has come up a few times recently on the list, check the > archives to see if it was solved. Could be mistaken, but I have a > faint memory someone said it was working for them. > > Best, > Alejandro Imass This has came up a few times, but I cant confirm that there was a solution found for 8.1 Sam Fourman Jr. Fourman Networks http://www.fourmannetworks.com From perryh at pluto.rain.com Sat Sep 4 06:36:57 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Sep 4 06:37:10 2010 Subject: two ata-related problems In-Reply-To: <20100903132925.GA71022@owl.midgard.homeip.net> References: <4c80bc3d.bsLwHSU5+KZyQFD6%perryh@pluto.rain.com> <44mxrzvuop.fsf@be-well.ilk.org> <20100903132925.GA71022@owl.midgard.homeip.net> Message-ID: <4c81e631.zkcvAwK0iwezhj6z%perryh@pluto.rain.com> Erik Trulsson wrote: > So, yes, FreeBSD 8.1 *should* be able to recognize > an ATAPI Zip drive. No great urgency -- I won't need it during the install and no specific plans even after that -- but any ideas how to go about tracking this down? From perryh at pluto.rain.com Sat Sep 4 06:36:57 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Sep 4 06:37:11 2010 Subject: 8.1: Cron ignoring crontab updates In-Reply-To: <4C80C1D6.2050104@qeng-ho.org> References: <4c80af91.0XK7R1NzplpVQC/a%perryh@pluto.rain.com> <4C80C1D6.2050104@qeng-ho.org> Message-ID: <4c81e879.vT3c8HBQCXR5AwE5%perryh@pluto.rain.com> Arthur Chance wrote: > On 09/03/10 09:19, perryh@pluto.rain.com wrote: > > Chris Rees wrote: > >> You have to SIGHUP cron, not restart it. > >> # killall -HUP cron > > > > Isn't crontab(1) supposed to do that, without separate > > intervention? > > From man cron > > > Additionally, cron checks each minute to see if its spool > > directory's modification time (or the modification time on > > /etc/crontab) has changed, and if it has, cron will then > > examine the modification time on all crontabs and reload > > those which have changed. Thus cron need not be restarted > > whenever a crontab file is modified. Note that the > > crontab(1) command updates the modification time of the > > spool directory whenever it changes a crontab. OK, I had the mechanism wrong. The main point is, it should not require manual intervention by an administrator to get cron(8) to notice when crontab(1) has revised a crontab. The one thing I can think of, short of a bug, is that a change made less than 1 minute before the newly-added or -removed event might not be noticed in time. From guru at unixarea.de Sat Sep 4 06:50:26 2010 From: guru at unixarea.de (Matthias Apitz) Date: Sat Sep 4 06:50:38 2010 Subject: vmware-guestd6: error during make install In-Reply-To: References: <20100903075925.GA3116@current.Sisis.de> <20100903083143.GA3316@current.Sisis.de> <4C80EF3C.8050509@gmail.com> <20100903130130.GA5324@current.Sisis.de> Message-ID: <20100904065023.GA2247@current.Sisis.de> El d?a Friday, September 03, 2010 a las 12:53:35PM -0700, Rob Farmer escribi?: > Assuming you aren't in a US export restricted country (Cuba, Iran, > North Korea, Sudan, and Syria) I should be able to give you a legal > copy. ... Rob, Thanks for this. Btw: It's a pity that I'm not in Cuba, I'm living in the cold and rainy Germany :-) Meanwhile I have updated the port emulators/open-vm-tools to version 253928 which compiles, installs and works just fine in my system. The vmware driver for Xorg gives you a lot of very high resolutions which hides all the Win shit behind the FreeBSD VM. I could also solve the sound problem. In VMware you need the driver snd_es137x. I need this for Skype. I still have to figure out how my USB video cam will work, the rest works now again as it was working in the real laptop. Thanks again for your help matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From m.seaman at infracaninophile.co.uk Sat Sep 4 09:02:50 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Sep 4 09:02:59 2010 Subject: Which of these NICs will work? In-Reply-To: <19585.12609.782477.654588@jerusalem.litteratus.org> References: <19585.12609.782477.654588@jerusalem.litteratus.org> Message-ID: <4C820B24.9080200@infracaninophile.co.uk> On 03/09/2010 18:32:49, Robert Huff wrote: > > Ryan Coleman writes: > >> Any thoughts? I need/want to get a multi-port NIC for my new >> system but I haven't purchased the guts for the server yet. >> >> http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100010064+600013872+600016290&QksAutoSuggestion=&ShowDeactivatedMark=False&Configurator=&IsNodeId=1&Subcategory=27&description=&Ntk=&CFG=&SpeTabStoreType=&srchInDesc= >> >> Basically, this machine will have two external (real-world) IPs >> and one network LAN (10.0.1.0/24) address, finding three-NIC >> motherboards is not exactly possible so this is my alternative. > > Intel network cards have a very good reputation; I have been > running a dual-port Pro/1000 GT for years and the thing is still a > rock. Others will have a better opinion on performance issues. > The Intel employee who maintains the driver is frequently seen > on current@ and occasionally on questions@. Nice guy, very > responsive. I second all the other respondents praise of the Intel cards. Intel is a safe choice of NIC -- basically you can be sure that it will not only be supported, but it will work very well. Of the other branded NICs there, unfortunately it is impossible to say much about them based on the manufacturers name. The important thing is the chipset. If the chipset is supported then you can be 99% certain the card will work. (The other 1% are manufacturers who do stupid things to the card firmware.) Unfortunately that is the sort of useful information that vendors almost never tell you on a website. Probably because they think all those letters and numbers will scare people away. They're right of course: that sort of cheap card tends to use chipsets from people like RealTek, many of whose products attract a wholly justified level of opprobrium. [Definitely avoid things that use the rl(4) driver. Stuff that uses re(4) is passable for some uses.] Also "working well" is quite subjective. It depends on the sort of traffic patterns and load levels you need to deal with. Cheaper NICs will not be able to cope with sustained mega-bit levels of traffic and complicated networking layouts, but they will be fine for occasional light use in a desktop box. 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/20100904/4bda9aa6/signature.pgp From bsd at todoo.biz Sat Sep 4 09:58:29 2010 From: bsd at todoo.biz (bsd) Date: Sat Sep 4 09:58:40 2010 Subject: Benchmark tool Message-ID: <5B9C0579-D94B-48C9-9F34-A5458C723BE5@todoo.biz> Hi, I am looking for a tool (or a configuration setup) that will allow me to benchmark (performance test) couple of firewall based on pfSense, and eventualy to compare them with other software / hard solution. Any idea, clue, link will be highly appreciated. Thanks ???????????????????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ???????????????????????????????????????????????? From odhiambo at gmail.com Sat Sep 4 10:32:26 2010 From: odhiambo at gmail.com (Odhiambo Washington) Date: Sat Sep 4 10:32:33 2010 Subject: Need to run a Command Once on Boot. FreeBSD8.1 In-Reply-To: <20100903200009.GA94476@eggman.experts-exchange.com> References: <201009031951.o83Jom6b092378@dc.cis.okstate.edu> <20100903200009.GA94476@eggman.experts-exchange.com> Message-ID: On Fri, Sep 3, 2010 at 11:00 PM, Jason wrote: > On Fri, Sep 03, 2010 at 02:50:48PM -0500, Martin McCormick thus spake: > > Robert Bonomi writes: >> >>> /etc/rc.local maybe? contrary to the 'rc.d' way of doing things, but >>> 'simple'. :) >>> >> >> Thanks so much to both people who answered. I thought >> there was more to it than that but I may be thinking of the >> rcx.d directories in Linux. If you don't watch out, you can be >> scratching your head all day trying to figure out why the job >> isn't getting done. I use and like both FreeBSD and Linux but >> some things are easier in one than the other. >> >> Again, many thanks. >> > > man 5 crontab has: > > @reboot Run once, at startup But this will always run every reboot, no? I think there used to be something along the lines of rc.early which could do what he wants. Then you can schedule a task to delete rc.early once it's served it's purpose:) > > > >> Martin McCormick WB5AGZ Stillwater, OK >> Systems Engineer >> OSU Information Technology Department Telecommunications Services Group >> > _______________________________________________ > 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" > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From freebsd.user at seibercom.net Sat Sep 4 11:31:20 2010 From: freebsd.user at seibercom.net (Jerry) Date: Sat Sep 4 11:31:26 2010 Subject: Updating KDE4 Message-ID: <20100904073115.1fdf5efd@scorpio> From the UPDATING file: 20100902: AFFECTS: users of KDE4 AUTHOR: kde@FreeBSD.org KDE SC ports has been updated to 4.5.1. A number of files were moved between packages, manual intervention into update procedure is required: # pkg_delete -f kdehier4\* kdelibs-4\* kdebase-4\* kdebase-runtime-4\* kdebase-workspace-4\* # rm -rf /usr/local/kde4/share/PolicyKit/policy # cd /usr/ports/misc/kdehier4 && make install clean # portmaster -a I don't use 'portmaster'. I am assuming that 'portupgrade -a' would accomplish the same thing. Would that be correct? -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From fazaeli at sepehrs.com Sat Sep 4 14:09:25 2010 From: fazaeli at sepehrs.com (H.Fazaeli) Date: Sat Sep 4 14:09:32 2010 Subject: Which of these NICs will work? In-Reply-To: References: Message-ID: <4C8249B7.8060006@sepehrs.com> based on 10+ exprience and working with a dozen models, I recommend intel cards: - Intel explicitly supports freebsd. - the cards are highly stable - have best performance among all other cards on freebsd and if you look for best performance, buy a card based on 82575 or 82576 controllers. On 9/3/2010 8:28 PM, Ryan Coleman wrote: > Any thoughts? I need/want to get a multi-port NIC for my new system but I haven't purchased the guts for the server yet. > > http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100010064+600013872+600016290&QksAutoSuggestion=&ShowDeactivatedMark=False&Configurator=&IsNodeId=1&Subcategory=27&description=&Ntk=&CFG=&SpeTabStoreType=&srchInDesc= > > Basically, this machine will have two external (real-world) IPs and one network LAN (10.0.1.0/24) address, finding three-NIC motherboards is not exactly possible so this is my alternative. > > I'm looking for FreeBSD 7-9 support. Rather run 8.1-RELEASE (same as my other two machines right now). > > Thanks, > > Ryan > > _______________________________________________ > 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 troy at i2bnetworks.com Sat Sep 4 19:59:45 2010 From: troy at i2bnetworks.com (troy@i2bnetworks.com) Date: Sat Sep 4 19:59:52 2010 Subject: FreeBSD8.1 AMD64 UFS2 file system size issues. Message-ID: <1cko7im.9c7bda5a0b3dad896e76c5f12d237fd7@webmail.dev.i2bnetworks.com> Hello. I am having a problem with a fresh install onto a that is 9TB in size. during the initial install, the syste the correct disk size and partition sizes, but after it has complete d and rebooted it shows the the large partition as only 1TB. I am using a 3w message, it shows that On initial install, this is Total disk size: Sep 4 12:17:51 fi (19531038720 512 byte sectors: 255H 63S/T 1215 1G da0s1a /&nbs 4G da0s1b &nb 2G da0s1d 36G da0s1e &n remainder da0s1f &nbs Upon completion of insta up as this: Filesystem&nbs on /dev/da0s1a 1012974 2 devfs /dev/da0s1f 1094909108 4 10 /dev/da0s1e&nb /dev/da0s1d 2026030 &n It was my understanding that UFS2 supports drive s what I am trying to use. Is there something that I am doing Thanks, -Troy From fquest at paz.bz Sat Sep 4 22:30:43 2010 From: fquest at paz.bz (Jim Pazarena) Date: Sat Sep 4 22:30:50 2010 Subject: proper way to setup laptop with apache22 Message-ID: <4C82C13B.7080108@paz.bz> I'm setting up a laptop with apache, just to play, basically. But apache doesn't like the fact that it can't resolve the lappy's hostname to an IP number and it will not load. The laptop gets its IP # via DHCP so it changes at various locations. I could use the localhost name & IP #, which should work. My laptop is named 'laptop' (laptop.mydomain.com) Is there a way to have the system utilize it's assigned IP #? Or do I have to change my apache config to "localhost" ? thanks. From bernt at bah.homeip.net Sat Sep 4 22:33:01 2010 From: bernt at bah.homeip.net (Bernt Hansson) Date: Sat Sep 4 22:33:09 2010 Subject: Directory Encryption? In-Reply-To: <4C729C29.2090206@ticore.de> References: <4C729C29.2090206@ticore.de> Message-ID: <4C82C917.8000305@bah.homeip.net> 2010-08-23 18:04, Timm Wimmers skrev: > Am 23.08.2010 16:36, schrieb Chris Maness: >> What is a good tool to encrypt a directory? I need an application >> that is also readily available for Apple OSX, and that does not get >> mangled when transferring via rsync. > > How about "openssl'? > > Encrypt a TARed directory: > > $ tar cjf - /path/to/source/folder | \ > openssl enc -e -bf -out OUTFILE.tgz.enc -pass pass:MYSILLYPASS > > > Decrypt: > > $ openssl enc -d -bf \ > -in OUTFILE.tgz.enc \ > -out OUTFILE.tgz \ > -pass pass:MYSILLYPASS > > There are also ways to encrypt with keys, see manpage. Or A single file Encrypt and decrypt: # openssl aes-128-cbc -salt -in file -out file.aes # openssl aes-128-cbc -d -salt -in file.aes -out file Note that the file can of course be a tar archive. tar and encrypt a whole directory # tar -cf - directory | openssl aes-128-cbc -salt -out directory.tar.aes # Encrypt # openssl aes-128-cbc -d -salt -in directory.tar.aes | tar -x -f - # Decrypt tar zip and encrypt a whole directory # tar -zcf - directory | openssl aes-128-cbc -salt -out directory.tar.gz.aes # Encrypt # openssl aes-128-cbc -d -salt -in directory.tar.gz.aes | tar -xz -f - # Decrypt * Use -k mysecretpassword after aes-128-cbc to avoid the interactive password request. However note that this is highly insecure. * Use aes-256-cbc instead of aes-128-cbc to get even stronger encryption. This uses also more CPU. http://cb.vu/unixtoolbox.xhtml#crypt From glen.j.barber at gmail.com Sat Sep 4 22:34:08 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Sep 4 22:34:15 2010 Subject: proper way to setup laptop with apache22 In-Reply-To: <4C82C13B.7080108@paz.bz> References: <4C82C13B.7080108@paz.bz> Message-ID: <4C82C95B.5020609@gmail.com> On 9/4/10 5:59 PM, Jim Pazarena wrote: > I'm setting up a laptop with apache, just to play, basically. > > But apache doesn't like the fact that it can't resolve the > lappy's hostname to an IP number and it will not load. The laptop > gets its IP # via DHCP so it changes at various locations. > > I could use the localhost name & IP #, which should work. > > My laptop is named 'laptop' (laptop.mydomain.com) > > Is there a way to have the system utilize it's assigned IP #? > Or do I have to change my apache config to "localhost" ? > Hi, You can enter (assuming 'lappy' is the hostname): 127.0.0.1 localhost lappy in /etc/hosts and set the ListenAddress directive in Apache to bind to that IP. Regards, -- Glen Barber From glen.j.barber at gmail.com Sat Sep 4 22:35:15 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Sep 4 22:35:22 2010 Subject: proper way to setup laptop with apache22 In-Reply-To: <4C82C95B.5020609@gmail.com> References: <4C82C13B.7080108@paz.bz> <4C82C95B.5020609@gmail.com> Message-ID: <4C82C99F.1050003@gmail.com> On 9/4/10 6:34 PM, Glen Barber wrote: > On 9/4/10 5:59 PM, Jim Pazarena wrote: >> I'm setting up a laptop with apache, just to play, basically. >> >> But apache doesn't like the fact that it can't resolve the >> lappy's hostname to an IP number and it will not load. The laptop >> gets its IP # via DHCP so it changes at various locations. >> >> I could use the localhost name & IP #, which should work. >> >> My laptop is named 'laptop' (laptop.mydomain.com) >> >> Is there a way to have the system utilize it's assigned IP #? >> Or do I have to change my apache config to "localhost" ? >> > > Hi, > > You can enter (assuming 'lappy' is the hostname): > > 127.0.0.1 localhost lappy > > in /etc/hosts and set the ListenAddress directive in Apache to bind to > that IP. > Oops. Listen 127.0.0.1:80 Too much SSH config-ing for me lately. :) -- Glen Barber From perrin at apotheon.com Sat Sep 4 23:12:33 2010 From: perrin at apotheon.com (Chad Perrin) Date: Sat Sep 4 23:12:40 2010 Subject: PDF to HTML translations Message-ID: <20100904230920.GA20735@guilt.hydra> What PDF to HTML translators, other than pdftohtml, am I likely to be able to find in ports? I went looking for pdf2html, expecting to find that there, but no luck. Before I spend hours sifting through, still without knowing whether I missed something that should be obvious, I figured I'd ask here whether anyone knows of something off the top of his/her head. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100904/6712a05a/attachment.pgp From olivares14031 at gmail.com Sun Sep 5 01:03:01 2010 From: olivares14031 at gmail.com (Antonio Olivares) Date: Sun Sep 5 01:03:08 2010 Subject: PDF to HTML translations In-Reply-To: <20100904230920.GA20735@guilt.hydra> References: <20100904230920.GA20735@guilt.hydra> Message-ID: On 9/4/10, Chad Perrin wrote: > What PDF to HTML translators, other than pdftohtml, am I likely to be > able to find in ports? I went looking for pdf2html, expecting to find > that there, but no luck. Before I spend hours sifting through, still > without knowing whether I missed something that should be obvious, I > figured I'd ask here whether anyone knows of something off the top of > his/her head. > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > Chad, There might be several out there, one that I know from the top of my head is OpenOffice.org, with the pdf import option then use export to pdf? Have not used it to do the task, but I believe it can do the job. An other option without ports is to use google(gmail) and use the option (View as HTML)? Hope this helps in some way. Regards, Antonio From bf1783 at googlemail.com Sun Sep 5 02:52:36 2010 From: bf1783 at googlemail.com (b. f.) Date: Sun Sep 5 02:52:43 2010 Subject: PDF to HTML translations Message-ID: >What PDF to HTML translators, other than pdftohtml, am I likely to be >able to find in ports? I went looking for pdf2html, expecting to find >that there, but no luck. Off the top of my head: OpenOffice graphics/xpdf (via pdftotext -htmlmeta, simplistic) graphics/poppler-utils (pdftohtml) I'm guessing there are others, too. Or maybe, you could use Adobe's service. From: http://www.adobe.com/products/acrobat/access_onlinetools.html "Adobe PDF Conversion by Email Attachment If the Adobe PDF file is on local media, such as a hard drive, CD-ROM, or internal server, it can be submitted as a MIME attachment to an e-mail message. All converted Adobe PDF documents will be sent back to the sender as MIME attachments. For plain text, mail the attached PDF to pdf2txt@adobe.com. For HTML, mail the attached PDF to pdf2html@adobe.com." b. From bf1783 at googlemail.com Sun Sep 5 03:19:46 2010 From: bf1783 at googlemail.com (b. f.) Date: Sun Sep 5 03:19:52 2010 Subject: PDF to HTML translations In-Reply-To: References: Message-ID: On 9/5/10, b. f. wrote: >>What PDF to HTML translators, other than pdftohtml, am I likely to be >>able to find in ports? I went looking for pdf2html, expecting to find >>that there, but no luck. > > Off the top of my head: > > OpenOffice > graphics/xpdf (via pdftotext -htmlmeta, simplistic) > graphics/poppler-utils (pdftohtml) > I guess that you could also use converters/pdf2djvu + djvutoxml from graphics/djvulibre[-nox11]. b. From gnemmi at gmail.com Sun Sep 5 04:04:27 2010 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sun Sep 5 04:04:34 2010 Subject: FreeBSD on Compaq mini CQ10 anyone? Message-ID: <4C8316C5.2060906@gmail.com> I just got one and was wondering if anyone was running FreeBSD on it and how well does it work out of the box. All comments are welcome. Best Regards. Gonzalo Nemmi From perryh at pluto.rain.com Sun Sep 5 04:25:10 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun Sep 5 04:25:16 2010 Subject: "gmirror load" broken in 8.1 memstick Message-ID: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> Fixit# gmirror label -vb round-robin gm0 /dev/ad0s2a appeared to work properly. (I didn't write down the exact message, but it said something about the metadata having been written successfully.) However: Fixit# gmirror load gmirror: Command 'load' not available. and it did not create /dev/mirror/gm0 or even the /dev/mirror directory. How do I fix this? From z_axis at 163.com Sun Sep 5 06:09:50 2010 From: z_axis at 163.com (zaxis) Date: Sun Sep 5 06:09:58 2010 Subject: Can i use tmpfs to mount /tmp ? Message-ID: <29625711.post@talk.nabble.com> >cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad4s3b none swap sw 0 0 /dev/ad4s3a / ufs rw,noatime 1 1 /dev/ad4s3e /tmp ufs rw 2 2 /dev/ad4s3f /usr ufs rw 2 2 /dev/ad4s3d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/ad4s7 /media/F msdosfs rw 0 0 /dev/ad4s8 /media/G ext2fs rw 0 0 The /dev/ad4s3e is used for /tmp. Now i want to use tmpfs instead of ufs as below none /tmp tmpfs size=64M,nodev,nosuid,noexec 0 0 If i can, then how to reuse the space of /dev/ad4s3e ? Sincerely! ----- e^(??i) + 1 = 0 -- View this message in context: http://old.nabble.com/Can-i-use-tmpfs-to-mount--tmp---tp29625711p29625711.html Sent from the freebsd-questions mailing list archive at Nabble.com. From rsmith at xs4all.nl Sun Sep 5 06:57:13 2010 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Sep 5 06:57:21 2010 Subject: PDF to HTML translations In-Reply-To: <20100904230920.GA20735@guilt.hydra> References: <20100904230920.GA20735@guilt.hydra> Message-ID: <20100905065711.GA34993@slackbox.erewhon.net> On Sat, Sep 04, 2010 at 05:09:20PM -0600, Chad Perrin wrote: > What PDF to HTML translators, other than pdftohtml, am I likely to be > able to find in ports? I went looking for pdf2html, expecting to find > that there, but no luck. Before I spend hours sifting through, still > without knowing whether I missed something that should be obvious, Yes, you did. :-) > I > figured I'd ask here whether anyone knows of something off the top of > his/her head. Try textproc/pdftohtml Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [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/20100905/35a0b689/attachment.pgp From m.seaman at infracaninophile.co.uk Sun Sep 5 07:54:13 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Sep 5 07:54:21 2010 Subject: FreeBSD8.1 AMD64 UFS2 file system size issues. In-Reply-To: <1cko7im.9c7bda5a0b3dad896e76c5f12d237fd7@webmail.dev.i2bnetworks.com> References: <1cko7im.9c7bda5a0b3dad896e76c5f12d237fd7@webmail.dev.i2bnetworks.com> Message-ID: <4C834C86.7080109@infracaninophile.co.uk> On 04/09/2010 20:35:02, troy@i2bnetworks.com wrote: > I am having a problem with a fresh install onto a that is 9TB in > size. during the initial install, the syste the correct disk size > and partition sizes, but after it has complete d and rebooted it > shows the the large partition as only 1TB. I am using a 3w message, > it shows that On initial install, this is Total disk size: Sep > 4 12:17:51 fi (19531038720 512 byte sectors: 255H 63S/T 1215 1G > da0s1a /&nbs 4G da0s1b &nb 2G da0s1d 36G > da0s1e &n remainder da0s1f &nbs Upon completion of insta up as > this: Filesystem&nbs on /dev/da0s1a 1012974 2 devfs > /dev/da0s1f 1094909108 4 10 /dev/da0s1e&nb /dev/da0s1d > 2026030 &n It was my understanding that UFS2 supports drive s > what I am trying to use. Is there something that I am doing > Thanks, Weird. Something seems to have eaten chunks out of your message. I suspect a less than optimal conversion from HTML -- for best results write to FreeBSD lists in plain text. Anyhow, you've got a system with 9TB disk but your big partition gets truncated? It's not the limits in the UFS2 filesystem that are biting you: that can handle individual files of up to 32 PB (with the right options) and a total filesystem size of 1 YB. You may not be familiar with Y 'Yotta' as an SI prefix: it means 10^24. That's more than enough to boil the oceans should you attempt to create a filesystem of that size[*]. I suspect that you are running into limitations of the disk label. The original Dos-derived MBR that you can manipulate with fdisk(8) is based around 32bit quantities and has an inherent limitation to 2TB per partition. There are ways around this, not least by using the new gpart(8) disk partitioning. See: http://www.freebsd.org/projects/bigdisk/index.html Personally, I'd start again from scratch and install using both gpart(8) and zfs(1M). Unfortunately sysinstall(8) can't handle doing that at the moment. You need to follow a different procedure described here: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror (Or the equivalent pages for RAIDZ1 or RAIDZ2 if that's what you prefer) Although ZFS's maximum size is /only/ 1 EB (individual file or whole filesystem) it should still suffice. The compelling advantage with ZFS is the built-in checksumming of every data block. That's important for large data volumes where bitwise errors can become significant. Also, no need for fsck(8). Not even background fsck. Cheers, Matthew [*] Kids: don't try this at home. -- 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/20100905/677254b7/signature.pgp From m.seaman at infracaninophile.co.uk Sun Sep 5 08:14:08 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Sep 5 08:14:15 2010 Subject: Can i use tmpfs to mount /tmp ? In-Reply-To: <29625711.post@talk.nabble.com> References: <29625711.post@talk.nabble.com> Message-ID: <4C835129.3000106@infracaninophile.co.uk> On 05/09/2010 07:09:50, zaxis wrote: > The /dev/ad4s3e is used for /tmp. Now i want to use tmpfs instead of ufs as > below > none /tmp tmpfs size=64M,nodev,nosuid,noexec 0 0 > > If i can, then how to reuse the space of /dev/ad4s3e ? There are two choices. Either mount your ad4s3e partition somewhere else as a regular filesystem -- you can move the mount point simply by unmounting it, editing fstab and then mounting the new partition. Do that before mounting your new tmpfs based /tmp, or you'll block access to the whole filesystem on ad4s3e. Oh, and 'chmod 755 /new/mountpoint' after you move it -- you don't want the /tmp defaults of mode 1777 on a normal filesystem. Or amalgamate the ad4s3e partition with one of the partitions neighbouring it on the drive. Use bsdlabel(8) to examine and modify the disk-level layout. If you join ad4s3e on to the end of the preceeding partition, you can use growfs(8) to expand that partition into the extra space. Otherwise you'll have to newfs(8) the expanded partition and recover the contents from backup. Either way, this sort of partition wrangling operation involves low-level fiddling in the guts of the OS and an enhanced potential for things to go horribly wrong, so make sure you've got good backups and spend some time planning exactly what you are going to do, even down to the extent of writing out all the commands you'll need beforehand. Cheers, Matthew PS. 64MB is pretty small for a /tmp -- you might want to increase the size of your tmpfs. -- 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/20100905/f75f574b/signature.pgp From m.seaman at infracaninophile.co.uk Sun Sep 5 08:27:42 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Sep 5 08:27:54 2010 Subject: "gmirror load" broken in 8.1 memstick In-Reply-To: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> Message-ID: <4C835474.7060707@infracaninophile.co.uk> On 05/09/2010 05:14:02, perryh@pluto.rain.com wrote: > Fixit# gmirror label -vb round-robin gm0 /dev/ad0s2a > > appeared to work properly. (I didn't write down the exact > message, but it said something about the metadata having > been written successfully.) However: > > Fixit# gmirror load > gmirror: Command 'load' not available. > > and it did not create /dev/mirror/gm0 or even the /dev/mirror > directory. > > How do I fix this? If you've been able to run 'gmirror label' then geom_mirror.ko is almost certainly already loaded into your kernel, making 'gmirror load' superfluous. Check using kldstat(8). The actual problem is getting /dev to update itself and show gmirror related filesystems. First of all, is /dev a mounted devfs filesystem? If it is, does playing with devfs(8) yield any enlightenment? 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/20100905/63aa2d17/signature.pgp From ertr1013 at student.uu.se Sun Sep 5 08:32:23 2010 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Sun Sep 5 08:32:30 2010 Subject: PDF to HTML translations In-Reply-To: <20100905065711.GA34993@slackbox.erewhon.net> References: <20100904230920.GA20735@guilt.hydra> <20100905065711.GA34993@slackbox.erewhon.net> Message-ID: <20100905083154.GA89704@owl.midgard.homeip.net> On Sun, Sep 05, 2010 at 08:57:11AM +0200, Roland Smith wrote: > On Sat, Sep 04, 2010 at 05:09:20PM -0600, Chad Perrin wrote: > > What PDF to HTML translators, other than pdftohtml, am I likely to be > > able to find in ports? I went looking for pdf2html, expecting to find > > that there, but no luck. Before I spend hours sifting through, still > > without knowing whether I missed something that should be obvious, > > Yes, you did. :-) > > > I > > figured I'd ask here whether anyone knows of something off the top of > > his/her head. > > Try textproc/pdftohtml Uhm, he said "other than pdftohtml" so I suspect he already knew about that one. -- Erik Trulsson ertr1013@student.uu.se From s.dave.jones at gmail.com Sun Sep 5 11:30:50 2010 From: s.dave.jones at gmail.com (dave jones) Date: Sun Sep 5 11:30:57 2010 Subject: ACPI questions about press power button Message-ID: Hello, I'm running FreeBSD 8 on my desktop. I want to write a file or do something when I or someone presses power button. In devd.conf, I added the following lines for testing: notify 10 { match "system" "ACPI"; match "subsystem" "Button"; matcho "notify" "0x00" action "echo hello world"; }; But it doesn't work. Would anyone tell me how to do? Thanks. Regards, Dave. From tg at gmplib.org Sun Sep 5 13:18:03 2010 From: tg at gmplib.org (Torbjorn Granlund) Date: Sun Sep 5 13:18:41 2010 Subject: Failure to use Adaptec 2405 with FreeBSD 8.1 Message-ID: <86d3ssl4yl.fsf@shell.gmplib.org> I am trying to get an Adaptec 2405 to work in *any* mode with FreeBSD 8.1. I have installed FreeBSD hundreds of times, usually quiet successfully. I have just one disk, a Seagate Savvio 15k 146 GB SAS. (The reason I use a RAID controller is that it appears that FreeBSD does not support any plain SAS controllers.) I have tried configuring the controller for JBOD, and many types of RAID modes. In all tried RAID modes, FreeBSD's installation program allows me to put FreeBSD on the disk. When I reboot, the system hang or crashes during initial kernel load. (Whether it hangs or crashes seem to depend on the size of created partitions, and other such magic.) I then boot things in "fixit" mode. I can then newfs any partition without problems. I can also mount any newly newfs'ed partition except the first one on the disk. You read it right, newfs succeeds but then the partition cannot be mounted. That strange behaviour seems reproducible with any sort of array configuration. Finally, I gave up array configs. After all, I have just one disk, so any array is somewhat degenerate. And even if I could get it to appear to work, I wouldn't want to put my files on a disk subsystem that seems very buggy. In JBOD mode, FreeBSD's installation program does not allow installation to the disk. (As a sanity check of the hardware and firmware, I tried installing Debian GNU/Linux, and it works. Using Debian is not an option, I need FreeBSD.) I again start fixit mode to check dmesg. And the disk is really there! It shows up as a "Fixed Uninstalled SCSI 5" disk. The /dev/aac* devices are in place. I am stuck at this point. I have tried google for help. I have read some FreeBSD kernel sources. I have no idea why FreeBSD rejects installation to the disk, and what FreeBSD means with that the disk is "Uninstalled". System summary: Controller: Adaptec 2405 RAID SAS PCIe Disk: Seagate Savvio 15k 146 GB SAS Motherboard: ASUS M2V-MX AM2 MicroATX PCIe FreeBSD ver: 8.1 Questions: * Can Adaptec 2405 actually be used as a boot device with FreeBSD? * Is the firmware and/or FreeBSD drives for 2405 in such a shape that it can be trusted for a critical system? Are my problems due to bugs, or am I trying something that is not (yet) supported. * If Adaptec 2405 is not good with FreeBSD, what controller should I purchase instead, to allow me to use the new disk? (I do not care about RAID.) -- Torbj?rn From eduardr at pobox.com Sun Sep 5 15:09:33 2010 From: eduardr at pobox.com (Eduard Rozenberg) Date: Sun Sep 5 15:09:43 2010 Subject: Is support planned for Intel NIC I340-T4 (82580 ethernet chipset) ? Message-ID: <903DE6F0-5BA9-4EF7-9A28-37AFC6ED8A05@pobox.com> Hi, I've checked the latest 8.1R hardware compatibility and don't see the Intel 82580 ethernet chipset being supported. This is Intel's latest ethernet chipset, released beginning of 2010 I think. Is there support planned for this? Thanks! --Ed From cpghost at cordula.ws Sun Sep 5 15:18:15 2010 From: cpghost at cordula.ws (C. P. Ghost) Date: Sun Sep 5 15:18:23 2010 Subject: GnuPG not allowing passphrase entry In-Reply-To: <20100901124948.B2607ECAA6@mf3.socket.net> References: <20100901124948.B2607ECAA6@mf3.socket.net> Message-ID: On Wed, Sep 1, 2010 at 2:49 PM, wrote: > Ladies and Gentlemen, > > I an attempting to decrypt a file using the following command line. > > /usr/local/bin/gpg --output /usr/local/scripts/test. --no-default-keyring > --secret-keyring 09-2010.sec --keyring 09-2010.pub --always-trust > --decrypt --recipient Wed_Sep_1_00_01_00_CDT_2010@abc.org > /usr/local/scripts/test.gpg > > When doing so, I receive the following output. > > You need a passphrase to unlock the secret key for > user: "Wed_Sep_1_00_01_00_CDT_2010 (Monthly Archive Encryption Key) > " > 1024-bit ELG key, ID E8E5F849, created 2010-09-01 (main key ID 557E7C04) > > gpg: cancelled by user > gpg: encrypted with 1024-bit ELG key, ID E8E5F849, created 2010-09-01 > ? ? ?"Wed_Sep_1_00_01_00_CDT_2010 (Monthly Archive Encryption Key) > " > gpg: public key decryption failed: General error > gpg: decryption failed: No secret key > > While the prompt to enter a passphrase does appear, it is skipped without > allowing me to enter anything. > > gpg-agent is running. ?I am running FreeBSD 8.0. My GnuPG version is > 2.0.14 gpg-agent (and pinentry-*) causes all sorts of trouble. Are you sure all environment variables are pointing to it when you run gpg (notably GPG_AGENT_INFO and GPG_TTY)? What about the permissions of the sockets? > I have also tried adding the public and secret keys to the default keyring > and receive the same result. > > Thanks for your help. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From roberthuff at rcn.com Sun Sep 5 15:49:08 2010 From: roberthuff at rcn.com (Robert Huff) Date: Sun Sep 5 15:49:14 2010 Subject: Is support planned for Intel NIC I340-T4 (82580 ethernet chipset) ? In-Reply-To: <903DE6F0-5BA9-4EF7-9A28-37AFC6ED8A05@pobox.com> References: <903DE6F0-5BA9-4EF7-9A28-37AFC6ED8A05@pobox.com> Message-ID: <19587.48102.141028.637665@jerusalem.litteratus.org> Eduard Rozenberg writes: > I've checked the latest 8.1R hardware compatibility and don't see > the Intel 82580 ethernet chipset being supported. This is Intel's > latest ethernet chipset, released beginning of 2010 I think. Is > there support planned for this? The person to ask would be Jack Vogel, who has posted to various FreeBSD lists before. Intel pays Jack to (among other things) write our drivers, at which he does a very good job. Robert Huff From freebsd at edvax.de Sun Sep 5 16:03:37 2010 From: freebsd at edvax.de (Polytropon) Date: Sun Sep 5 16:03:46 2010 Subject: Can i use tmpfs to mount /tmp ? In-Reply-To: <29625711.post@talk.nabble.com> References: <29625711.post@talk.nabble.com> Message-ID: <20100905180333.fc7336c3.freebsd@edvax.de> Allow me a short comment regarding your /etc/fstab, not related to your intial question. You have the following entries: On Sat, 4 Sep 2010 23:09:50 -0700 (PDT), zaxis wrote: > /dev/ad4s7 /media/F msdosfs rw 0 0 > /dev/ad4s8 /media/G ext2fs rw 0 0 It looks like you are using the directories F and G in /media to mount other slices of your hard disk ("primary partitions") corresponding to specific "drive letters". According to "man hier", the /media subtree is not intended for that purpose. Let me quote: /media/ contains subdirectories to be used as mount points for remov- able media such as CDs, USB drives, and floppy disks This directory is often used by automounting solutions such as they appear in KDE, Gnome or Xfce. Now, where else would one instead mount them? In /mnt maybe? /mnt/ empty directory commonly used by system administrators as a temporary mount point No, doesn't seem to look right. As I didn't have any need to mount FAT/NTFS partitions in my whole life, I couldn't even suggest some directory where to mount it that does not interfere with the well-designed and intended concepts of the FreeBSD file system hierarchy. I had other kinds of partitions and disks (UFS usually) mounted under /export, but just because they were then exported via NFS right away, so the use of /export/F and /export/G would look strange, too (but possible, as FreeBSD does not have /export per se - it's a Solarism, if I remember correctly). The same way, you could create any arbitrary name (/winparts, /dos, /ntmounts or anything else) to not interfere with the expected use of /media. Maybe some "file system guru" cares to join my little sideshow and explain how it is done correctly? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From drew at mykitchentable.net Sun Sep 5 16:33:38 2010 From: drew at mykitchentable.net (Drew Tomlinson) Date: Sun Sep 5 16:33:45 2010 Subject: Regex Help For Procmail In-Reply-To: <4C8164C7.9000107@mykitchentable.net> References: <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> <4C8164C7.9000107@mykitchentable.net> Message-ID: <4C83C65B.6060508@mykitchentable.net> On 9/3/2010 2:12 PM, Drew Tomlinson wrote: > Hi Glen, > > Thank you for your reply. > > On 9/3/2010 12:02 PM, Glen Barber wrote: >> Hi Drew, >> >> On 9/3/10 2:45 PM, Drew Tomlinson wrote: >>> I use procmail for mail delivery and I'm trying to concoct the right >>> regex to match From: headers and deliver to a folder. However mail is >>> sent from various addresses so I want to match all that end with >>> "famous-smoke.com>". Here's an example of a header: >>> >>> From: "Famous Smoke Shop" >>> >>> Because I also occasionally order, I don't want to catch mail from >>> anything that has the word "Orders" and "Famous" in the From field. >>> Thus here is my procmail recipe: >>> >>> # Deliver order info to inbox >>> :0 >>> *^From:.[Ff]amous.*[Oo]rder.*famous-smoke.com>$ >>> "${HOME}/Maildir/new/" >>> >> Is this supposed to be "match Famous OR Order"? This currently matches >> "Famous AND Order". > > No, I want "Famous AND Order". > >>> # Deliver other email to folder >>> :0 >>> *^From:.*famous-smoke.com>$ >>> "${HOME}/Maildir/.Shopping/Famous Smoke/Email/" >> Going by your examples, you want to catch "Famous OR Order" and place >> that in Maildir/new, and all other email from this address to go to >> Maildir/.Shopping/... >> >> Try this: >> >> # catch "famous" or "order" >> :0 >> * ^From:.*([Ff]amous|[Oo]rder).*famous-smoke.com>$ >> "$HOME/Maildir/new" >> >> # catch everything else from this sender >> :0 >> * ^From:.*famous-smoke.com>$ >> "$HOME/Maildir/.Shopping/Famous Smoke/Email/" >>> According to my procmail log, the From: header does not match. I would >>> expect the example From: header above to match the second regex and be >>> delivered to the specified folder. Where is my error? >> If my assumption above is incorrect, could you paste a snippet from your >> procmail log and point out what should be matching so we can have a >> specific example? > > This is the actual log entry from the example I used in this email: > > From Announce@email.famous-smoke.com Fri Sep 3 10:11:08 2010 > Subject: Another Must-Attend Event at Famous! > Folder: /home//Maildir/new/1283533874.95147_0.blacklamb. > 8161 > procmail: [95164] Fri Sep 3 10:13:05 2010 > procmail: Assigning "NL= > " > procmail: Assigning "LOG= > /home//Procmail/famous_smoke.rc" > > /home//Procmail/famous_smoke.rc > procmail: No match on "^From:.[Ff]amous.*[Oo]rder.*famous-smoke.com>$" > procmail: No match on "^From:.*famous-smoke.com>$" > procmail: Assigning "VERBOSE=OFF" > > > I think my problem is that I was missing a "space" between "*" and > "^From:". Your example shows a space and a reply from Brent Bloxam > suggests this is the problem as well. I don't quite understand the > difference between the two but have made the change and I'll see if it > works. I'm also going to hit Google and see if I can understand. No, still not matching. Basically, why doesn't this header: From: "Famous Smoke Shop" Match this procmail recipe: :0 * ^From:.*famous-smoke.com>$ "${HOME}/Maildir/.Shopping/Famous Smoke/Email/" From my procmail log: procmail: No match on "^From:.*famous-smoke.com>$" Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From jcw at speakeasy.net Sun Sep 5 19:45:25 2010 From: jcw at speakeasy.net (Jason C. Wells) Date: Sun Sep 5 19:45:33 2010 Subject: ASN.1 encoding ended unexpectedly Message-ID: <4C83F352.1030400@speakeasy.net> I've upgraded to FreeBSD 8.1-R from 7.1-R. I propogated my database to my new KDC. After doing so I've deleted and recreated most of my principals to take advantage of AES. I also deleted and re-extracted keytabs on the hosts. I can acquire a TGT. When I attempt to telnet to a host, I receive this error: [ Kerberos V5 refuses authentication because Read req failed: ASN.1 encoding ended unexpectedly ] Any ideas where to start? Thanks, Jason C. Wells From troy at i2bnetworks.com Sun Sep 5 19:49:51 2010 From: troy at i2bnetworks.com (Troy Beisigl) Date: Sun Sep 5 19:49:58 2010 Subject: FreeBSD8.1 AMD64 UFS2 file system size issues. In-Reply-To: <4C834C86.7080109@infracaninophile.co.uk> References: <1cko7im.9c7bda5a0b3dad896e76c5f12d237fd7@webmail.dev.i2bnetworks.com> <4C834C86.7080109@infracaninophile.co.uk> Message-ID: <02F7F25C-BF21-4B48-A3D9-809103E86D59@i2bnetworks.com> Thanks Matthew. I had to do a manual install using gpart in the fixit live cd to partition the filesystem. Everything looks to be running great. -Troy Sent from my iPhone On Sep 5, 2010, at 12:53 AM, Matthew Seaman wrote: > On 04/09/2010 20:35:02, troy@i2bnetworks.com wrote: > >> I am having a problem with a fresh install onto a that is 9TB in >> size. during the initial install, the syste the correct disk size >> and partition sizes, but after it has complete d and rebooted it >> shows the the large partition as only 1TB. I am using a 3w message, >> it shows that On initial install, this is Total disk size: Sep >> 4 12:17:51 fi (19531038720 512 byte sectors: 255H 63S/T 1215 1G >> da0s1a /&nbs 4G da0s1b &nb 2G da0s1d 36G >> da0s1e &n remainder da0s1f &nbs Upon completion of insta up as >> this: Filesystem&nbs on /dev/da0s1a 1012974 2 devfs >> /dev/da0s1f 1094909108 4 10 /dev/da0s1e&nb /dev/da0s1d >> 2026030 &n It was my understanding that UFS2 supports drive s >> what I am trying to use. Is there something that I am doing >> Thanks, > > Weird. Something seems to have eaten chunks out of your message. I > suspect a less than optimal conversion from HTML -- for best results > write to FreeBSD lists in plain text. > > Anyhow, you've got a system with 9TB disk but your big partition gets > truncated? > > It's not the limits in the UFS2 filesystem that are biting you: that can > handle individual files of up to 32 PB (with the right options) and a > total filesystem size of 1 YB. You may not be familiar with Y 'Yotta' > as an SI prefix: it means 10^24. That's more than enough to boil the > oceans should you attempt to create a filesystem of that size[*]. > > I suspect that you are running into limitations of the disk label. The > original Dos-derived MBR that you can manipulate with fdisk(8) is based > around 32bit quantities and has an inherent limitation to 2TB per > partition. There are ways around this, not least by using the new > gpart(8) disk partitioning. See: > http://www.freebsd.org/projects/bigdisk/index.html > > Personally, I'd start again from scratch and install using both gpart(8) > and zfs(1M). Unfortunately sysinstall(8) can't handle doing that at the > moment. You need to follow a different procedure described here: > http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror (Or the equivalent > pages for RAIDZ1 or RAIDZ2 if that's what you prefer) > > Although ZFS's maximum size is /only/ 1 EB (individual file or whole > filesystem) it should still suffice. The compelling advantage with ZFS > is the built-in checksumming of every data block. That's important for > large data volumes where bitwise errors can become significant. Also, > no need for fsck(8). Not even background fsck. > > Cheers, > > Matthew > > [*] Kids: don't try this at home. > > -- > 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 nekoexmachina at gmail.com Sun Sep 5 20:53:20 2010 From: nekoexmachina at gmail.com (Mikle Krutov) Date: Sun Sep 5 20:53:27 2010 Subject: Linux emu: ELF file OS ABI invalid In-Reply-To: <61270570@bb.ipt.ru> References: <61270570@bb.ipt.ru> Message-ID: Hello, Boris! Thank you for your respond, and sorry for my long-time no-respond. It worked okay (now binaries run), but new problem here: ptrace attach: Operation not permitted What should i do to fix it? -- with best regards, Krutov Mikle From frank at shute.org.uk Sun Sep 5 20:59:14 2010 From: frank at shute.org.uk (Frank Shute) Date: Sun Sep 5 20:59:20 2010 Subject: Regex Help For Procmail In-Reply-To: <4C83C65B.6060508@mykitchentable.net> References: <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> <4C8164C7.9000107@mykitchentable.net> <4C83C65B.6060508@mykitchentable.net> Message-ID: <20100905205910.GA82375@orange.esperance-linux.co.uk> On Sun, Sep 05, 2010 at 09:33:31AM -0700, Drew Tomlinson wrote: > [snip] > > No, still not matching. Basically, why doesn't this header: > > From: "Famous Smoke Shop" > > Match this procmail recipe: > > :0 > * ^From:.*famous-smoke.com>$ > "${HOME}/Maildir/.Shopping/Famous Smoke/Email/" > > From my procmail log: > > procmail: No match on "^From:.*famous-smoke.com>$" > > Thanks, > > Drew Drew, try this: * ^From:.*famous-smoke\.com I think it's not catching it because the period isn't backslash escaped. Also don't bother catching the end of line as any whitespace there will screw up your re. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From glen.j.barber at gmail.com Sun Sep 5 21:32:16 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Sep 5 21:32:23 2010 Subject: Regex Help For Procmail In-Reply-To: <4C83C65B.6060508@mykitchentable.net> References: <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> <4C8164C7.9000107@mykitchentable.net> <4C83C65B.6060508@mykitchentable.net> Message-ID: <4C840C59.6050704@gmail.com> On 9/5/10 12:33 PM, Drew Tomlinson wrote: > No, still not matching. Basically, why doesn't this header: > > From: "Famous Smoke Shop" > > Match this procmail recipe: > > :0 > * ^From:.*famous-smoke.com>$ Hmm.. I just noticed this - I don't think you need the trailing bracket (>). What about this: * ^From:.*famous-smoke\.com$ Note that I also escaped the period before 'com'. -- Glen Barber From z_axis at 163.com Mon Sep 6 00:17:22 2010 From: z_axis at 163.com (zaxis) Date: Mon Sep 6 00:17:29 2010 Subject: Can i use tmpfs to mount /tmp ? In-Reply-To: <4C835129.3000106@infracaninophile.co.uk> References: <29625711.post@talk.nabble.com> <4C835129.3000106@infracaninophile.co.uk> Message-ID: <29627883.post@talk.nabble.com> thanks for your suggestion! >df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s3a 496M 119M 337M 26% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad4s3e 496M 18M 438M 4% /tmp /dev/ad4s3f 14G 4.8G 8.4G 37% /usr /dev/ad4s3d 1.4G 178M 1.1G 14% /var /dev/ad4s7 30G 3.6G 26G 12% /media/F /dev/ad4s8 30G 4.1G 24G 15% /media/G The /dev/ad4s3e is just 496M. so it is not worth for me to modify the disk-level layout. Matthew Seaman-2 wrote: > > On 05/09/2010 07:09:50, zaxis wrote: >> The /dev/ad4s3e is used for /tmp. Now i want to use tmpfs instead of ufs >> as >> below >> none /tmp tmpfs size=64M,nodev,nosuid,noexec 0 0 >> >> If i can, then how to reuse the space of /dev/ad4s3e ? > > There are two choices. > > Either mount your ad4s3e partition somewhere else as a regular > filesystem -- you can move the mount point simply by unmounting it, > editing fstab and then mounting the new partition. Do that before > mounting your new tmpfs based /tmp, or you'll block access to the whole > filesystem on ad4s3e. Oh, and 'chmod 755 /new/mountpoint' after you > move it -- you don't want the /tmp defaults of mode 1777 on a normal > filesystem. > > Or amalgamate the ad4s3e partition with one of the partitions > neighbouring it on the drive. Use bsdlabel(8) to examine and modify the > disk-level layout. If you join ad4s3e on to the end of the preceeding > partition, you can use growfs(8) to expand that partition into the extra > space. Otherwise you'll have to newfs(8) the expanded partition and > recover the contents from backup. Either way, this sort of partition > wrangling operation involves low-level fiddling in the guts of the OS > and an enhanced potential for things to go horribly wrong, so make sure > you've got good backups and spend some time planning exactly what you > are going to do, even down to the extent of writing out all the commands > you'll need beforehand. > > Cheers, > > Matthew > > PS. 64MB is pretty small for a /tmp -- you might want to increase the > size of your tmpfs. > > -- > 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 > > > > ----- e^(??i) + 1 = 0 -- View this message in context: http://old.nabble.com/Can-i-use-tmpfs-to-mount--tmp---tp29625711p29627883.html Sent from the freebsd-questions mailing list archive at Nabble.com. From perryh at pluto.rain.com Mon Sep 6 03:37:36 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Sep 6 03:37:42 2010 Subject: Regex Help For Procmail In-Reply-To: <20100905205910.GA82375@orange.esperance-linux.co.uk> References: <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> <4C8164C7.9000107@mykitchentable.net> <4C83C65B.6060508@mykitchentable.net> <20100905205910.GA82375@orange.esperance-linux.co.uk> Message-ID: <4c84216f.w2295Zjs25+GOe/F%perryh@pluto.rain.com> Frank Shute wrote: > Drew, try this: > > * ^From:.*famous-smoke\.com > > I think it's not catching it because the period isn't backslash > escaped ... Unless there's some edge case that I'm not thinking of, adding a backslash to escape a period will never convert a non-match into a match. An unescaped period in an RE matches any character, including a period. An escaped period matches only a period. Adding the backslash _does_ better represent what the OP wants to accomplish, but the lack of it is not the cause of the RE not matching. (I'm not sufficiently familiar with how procmail uses REs to figure out what _is_ causing it not to match.) From gpagnoni at gmail.com Mon Sep 6 05:49:27 2010 From: gpagnoni at gmail.com (Giuseppe Pagnoni) Date: Mon Sep 6 05:49:33 2010 Subject: pyglet font load segmentation fault Message-ID: Dear all, I posted about this problem a few months ago and have been scouring the web ever since but I cannot find the slightest hint at a solution. Actually, it seems that nobody else has reported a similar problem, which I find really weird since the function is such a basic one in pyglet -- quoting Zoolander, "I feel like I am taking crazy pills!" The problem is that I cannot use the pyglet.font.load() function at all without causing a segmentation fault: python import pyglet arial = pyglet.font.load('Arial') Segmentation fault My system is running FreeBSD 8.1/amd64 with an Nvidia GeForce 9500GT and the latest driver from Nvidia (256.53), and with all the ports up-to-date as of today. python26-2.6.5_1 was compiled with standard options: WITH_THREADS=true WITHOUT_HUGE_STACK_SIZE=true WITHOUT_SEM=true WITHOUT_PTH=true WITH_UCS4=true WITH_PYMALLOC=true WITH_IPV6=true WITHOUT_FPECTL=true Any help would be tremendously appreciated, thanks in advance giuseppe From perryh at pluto.rain.com Mon Sep 6 06:13:21 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Sep 6 06:13:27 2010 Subject: "gmirror load" broken in 8.1 memstick In-Reply-To: <4C835474.7060707@infracaninophile.co.uk> References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> Message-ID: <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> Matthew Seaman wrote: > If you've been able to run 'gmirror label' then geom_mirror.ko is > almost certainly already loaded into your kernel, making 'gmirror > load' superfluous. Check using kldstat(8). Fixit# kldstat Id Refs Address Size Name 1 1 0xc0400000 bb5504 kernel It looks as if writing the metadata doesn't require geom_mirror.ko to be loaded -- which makes a certain amount of sense since the module, even if loaded, presumably shouldn't do anything to a partition that doesn't already have metadata in its last sector. The good news is that, now having an idea what to look for, I checked for geom_mirror.ko in /boot/kernel and found -- surprise! -- the /boot/kernel directory doesn't even exist in the Fixit FS (when booted from the USB stick, dunno about the CD or DVD) and this is apparently the cause of "gmirror load" reporting "Command 'load' not available." The fix is: Fixit# ln -s /dist/boot/kernel /boot after which "gmirror load" works, creating /dev/mirror/gm0{,a,b}. From bsam at ipt.ru Mon Sep 6 06:42:46 2010 From: bsam at ipt.ru (Boris Samorodov) Date: Mon Sep 6 06:42:53 2010 Subject: Linux emu: ELF file OS ABI invalid In-Reply-To: (Mikle Krutov's message of "Sun, 5 Sep 2010 20:53:18 +0000") References: <61270570@bb.ipt.ru> Message-ID: <61230764@bb.ipt.ru> On Sun, 5 Sep 2010 20:53:18 +0000 Mikle Krutov wrote: > Thank you for your respond, and sorry for my > long-time no-respond. It worked okay (now > binaries run), but new problem here: > ptrace attach: Operation not permitted > What should i do to fix it? Can't help you here. But at least you may change the subject (or post a new thread). Current subject is misleading now. And freebsd-emulation@ may be a more apropriate list. BTW, there may be some console (or /var/log/messages) messages which give some additional info. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From vyaaghrah-nix at yahoo.com Mon Sep 6 07:42:04 2010 From: vyaaghrah-nix at yahoo.com (vyaaghrah-nix@yahoo.com) Date: Mon Sep 6 07:42:12 2010 Subject: FreeBSD Message-ID: <291410.40127.qm@web113906.mail.gq1.yahoo.com> Hi Everybody Greetings! I am new to the mailing list and working newly on the FreeBSD platform. I have some query regarding the kernel dump which i am trying to decode. #0 doadump (di=0xc0baca40, live_dump=0) at ../../../../../src/bsd/sys/kern/kern_shutdown.c:444 #1 0xc0593b32 in boot (howto=260) at ../../../../../src/bsd/sys/kern/kern_shutdown.c:531 #2 0xc0593fe3 in panic (fmt=0xc0af61cc "%s: nhindex %u could not be allocated\n") at ../../../../../src/bsd/sys/kern/kern_shutdown.c:897 I need help in understanding what is function doadump? what role it plays in FreeBSD. And what do i interpret from the output above. Any link which could help understand more on this and how decode kernel dumps should be useful. Thanks Regards Abhijeet.C From bruce at cran.org.uk Mon Sep 6 08:03:33 2010 From: bruce at cran.org.uk (Bruce Cran) Date: Mon Sep 6 08:03:40 2010 Subject: FreeBSD In-Reply-To: <291410.40127.qm@web113906.mail.gq1.yahoo.com> References: <291410.40127.qm@web113906.mail.gq1.yahoo.com> Message-ID: <20100906084913.0000120f@unknown> On Mon, 6 Sep 2010 00:28:19 -0700 (PDT) vyaaghrah-nix@yahoo.com wrote: > Hi Everybody > > Greetings! > > I am new to the mailing list and working newly on the FreeBSD > platform. I have some query regarding the kernel dump which i am > trying to decode. > > #0 doadump (di=0xc0baca40, live_dump=0) at > ../../../../../src/bsd/sys/kern/kern_shutdown.c:444 > #1 0xc0593b32 in boot (howto=260) at > ../../../../../src/bsd/sys/kern/kern_shutdown.c:531 > #2 0xc0593fe3 in panic (fmt=0xc0af61cc "%s: nhindex %u could not be > allocated\n") at ../../../../../src/bsd/sys/kern/kern_shutdown.c:897 > > I need help in understanding what is function doadump? what role it > plays in FreeBSD. And what do i interpret from the output above. doadump() is just the function that wrote the kernel dump: you need to look at the functions below panic() in the call stack to see what caused the crash. Already you can see that the problem was: %s: nhindex %u could not be allocated -- Bruce Cran From vyaaghrah-nix at yahoo.com Mon Sep 6 09:03:57 2010 From: vyaaghrah-nix at yahoo.com (vyaaghrah-nix@yahoo.com) Date: Mon Sep 6 09:04:04 2010 Subject: FreeBSD In-Reply-To: <20100906084913.0000120f@unknown> References: <291410.40127.qm@web113906.mail.gq1.yahoo.com> <20100906084913.0000120f@unknown> Message-ID: <383147.13442.qm@web113909.mail.gq1.yahoo.com> Hi Bruce Thanks for u r reply. So is it that doadump is the only function which is responsible for writing dump in BSD? Or thier are other fucntion which can also do this. I will be looking into the function below which called these last few func to generate the dump. I need docs or links which could help me in understanding the role of the doadump, panic and boot. Regards Abhijeet.C ----- Original Message ---- From: Bruce Cran To: vyaaghrah-nix@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Mon, September 6, 2010 1:19:13 PM Subject: Re: FreeBSD On Mon, 6 Sep 2010 00:28:19 -0700 (PDT) vyaaghrah-nix@yahoo.com wrote: > Hi Everybody > > Greetings! > > I am new to the mailing list and working newly on the FreeBSD > platform. I have some query regarding the kernel dump which i am > trying to decode. > > #0 doadump (di=0xc0baca40, live_dump=0) at > ../../../../../src/bsd/sys/kern/kern_shutdown.c:444 > #1 0xc0593b32 in boot (howto=260) at > ../../../../../src/bsd/sys/kern/kern_shutdown.c:531 > #2 0xc0593fe3 in panic (fmt=0xc0af61cc "%s: nhindex %u could not be > allocated\n") at ../../../../../src/bsd/sys/kern/kern_shutdown.c:897 > > I need help in understanding what is function doadump? what role it > plays in FreeBSD. And what do i interpret from the output above. doadump() is just the function that wrote the kernel dump: you need to look at the functions below panic() in the call stack to see what caused the crash. Already you can see that the problem was: %s: nhindex %u could not be allocated -- Bruce Cran From reko.turja at liukuma.net Mon Sep 6 09:26:43 2010 From: reko.turja at liukuma.net (Reko Turja) Date: Mon Sep 6 09:26:50 2010 Subject: ASN.1 encoding ended unexpectedly In-Reply-To: <4C83F352.1030400@speakeasy.net> References: <4C83F352.1030400@speakeasy.net> Message-ID: <25499C748E4C4414ACD97AEE6D6830A6@rivendell> Sadly from http://www.freebsd.org/cgi/query-pr.cgi?pr=147454&cat=kern. Heimdal in 8.0-> is seriously broken and it looks like it has been left to bitrot due missing maintainer in system... -Reko -------------------------------------------------- From: "Jason C. Wells" Sent: Sunday, September 05, 2010 10:45 PM To: "freebsd general questions" Subject: ASN.1 encoding ended unexpectedly > I've upgraded to FreeBSD 8.1-R from 7.1-R. I propogated my database > to my new KDC. After doing so I've deleted and recreated most of my > principals to take advantage of AES. I also deleted and > re-extracted keytabs on the hosts. I can acquire a TGT. When I > attempt to telnet to a host, I receive this error: > > [ Kerberos V5 refuses authentication because Read req failed: ASN.1 > encoding ended unexpectedly ] > > Any ideas where to start? > > Thanks, > Jason C. Wells > > > _______________________________________________ > 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 yuri at rawbw.com Mon Sep 6 10:06:15 2010 From: yuri at rawbw.com (Yuri) Date: Mon Sep 6 10:06:27 2010 Subject: VBox-3.2.8 has screen refresh problem Message-ID: <4C84BD14.8080101@rawbw.com> When vbox window is minimized or covered by other windows and comes back on top it doesn't repaint. Resizing the window helps to refresh it. This happens on FreeBSD-8.1-STABLE amd64 with the latest NVidia driver. Yuri From bruce at cran.org.uk Mon Sep 6 10:56:26 2010 From: bruce at cran.org.uk (Bruce Cran) Date: Mon Sep 6 10:56:34 2010 Subject: FreeBSD In-Reply-To: <383147.13442.qm@web113909.mail.gq1.yahoo.com> References: <291410.40127.qm@web113906.mail.gq1.yahoo.com> <20100906084913.0000120f@unknown> <383147.13442.qm@web113909.mail.gq1.yahoo.com> Message-ID: <20100906115556.00004758@unknown> On Mon, 6 Sep 2010 01:50:37 -0700 (PDT) vyaaghrah-nix@yahoo.com wrote: > So is it that doadump is the only function which is responsible for > writing dump in BSD? Or thier are other fucntion which can also do > this. doadump() is the main entry-point which triggers dumping. There's also a textdump system. > [...] > I need docs or links which could help me in understanding the role of > the doadump, panic and boot. There's information about how to do kernel debugging at http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html But essentially panic() is called in kernel code when something wrong is detected so the system can stop whatever it's doing. doadump() just dumps the contents of memory to disk. -- Bruce Cran From perryh at pluto.rain.com Mon Sep 6 11:12:50 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Sep 6 11:12:57 2010 Subject: More gmirror problems (Re: "gmirror load" broken in 8.1 memstick) In-Reply-To: <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> Message-ID: <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> I wrote: > The good news is ... > > Fixit# ln -s /dist/boot/kernel /boot > > after which "gmirror load" works, creating /dev/mirror/gm0{,a,b}. and the bad news is that it still doesn't work: * "gmirror load" did create /dev/mirror/gm0{,a,b}, and it produced no output on stdout or stderr, but it appended a couple of lines to dmesg and the second does not look at all promising: GEOM_MIRROR: Device mirror/gm0 launched (1/1). GEOM_MIRROR: Cannot add disk ad0s2a to gm0 (error=17). 17 is defined in sys/errno.h as EEXIST /* File exists */ What can this mean? Of course ad0s2a and gm0 exist: ad0s2a is the (so far only) provider for gm0, which was just instantiated. By a different test, that error message may be bogus (long lines reformatted): Fixit# ls -la /dev/mirror total 1 dr-xr-xr-x 2 root 0 512 Sep 6 08:18 ./ dr-xr-xr-x 8 root 0 512 Sep 6 08:08 ../ crw-r----- 1 root operator 0, 78 Sep 6 08:15 gm0 crw-r----- 1 root operator 0, 79 Sep 6 08:15 gm0a crw-r----- 1 root operator 0, 80 Sep 6 08:15 gm0b Fixit# file -s /dev/mirror/* /dev/ad0s2a /dev/mirror/gm0: Unix Fast File system [v2] (little-endian) last mounted on /mnt/z, last written at Sun Sep 5 03:24:40 2010, clean flag 1, readonly flag 0, number of blocks 154976879, number of data blocks 150098746, number of cylinder groups 1648, block size 16384, fragment size 2048, average file size 16384, average number of files in dir 64, pending blocks to free 0, pending inodes to free 0, system-wide uuid 0, minimum percentage of free blocks 8, TIME optimization /dev/mirror/gm0a: Unix Fast File system [v2] (little-endian) last mounted on /mnt/z, last written at Sun Sep 5 03:24:40 2010, clean flag 1, readonly flag 0, number of blocks 154976879, number of data blocks 150098746, number of cylinder groups 1648, block size 16384, fragment size 2048, average file size 16384, average number of files in dir 64, pending blocks to free 0, pending inodes to free 0, system-wide uuid 0, minimum percentage of free blocks 8, TIME optimization /dev/mirror/gm0b: ERROR: cannot read `/dev/mirror/gm0b' (Input/Output error) /dev/ad0s2a: Unix Fast File system [v2] (little-endian) last mounted on /mnt/z, last written at Sun Sep 5 03:24:40 2010, clean flag 1, readonly flag 0, number of blocks 154976879, number of data blocks 150098746, number of cylinder groups 1648, block size 16384, fragment size 2048, average file size 16384, average number of files in dir 64, pending blocks to free 0, pending inodes to free 0, system-wide uuid 0, minimum percentage of free blocks 8, TIME optimization This sure _looks_ as if mirror/gm0 and mirror/gm0a are seeing the data on ad0s2a, so maybe it's working after all. But: * After exiting from Fixit, and having sysinstall rescan devices so as to become aware of /dev/mirror/gm0*, gm0 is not in the disk list for either Partition (slice) or Label. I even tried: Fixit# ( cd /dev && ln -s mirror/* . && ll gm* ) lrwxr-xr-x 1 root 0 10 Sep 6 10:48 gm0@ -> mirror/gm0 lrwxr-xr-x 1 root 0 10 Sep 6 10:48 gm0a@ -> mirror/gm0a lrwxr-xr-x 1 root 0 10 Sep 6 10:48 gm0b@ -> mirror/gm0b in case sysinstall looks only in /dev itself and not in any subdirectories, and gm0 is *still* not in either list. How do I get sysinstall to see it? From products at dabber-player.com Mon Sep 6 13:26:58 2010 From: products at dabber-player.com (Daniel Dabber) Date: Mon Sep 6 13:27:05 2010 Subject: Today we launch The Dabber video player for free Message-ID: Ladies and gentlemen, mina damer och herrar. Today we launch a free version of our popular Dabber player at http://www.dabber-player.com The Dabber player is one of the most beautiful 3D-interface videoplayers for embedding on any webpage. Now you can host your own online tv-channel, display your best content and best of all you can change the look and feel and adapt the player to your webpage. No more black, boring, standard embedded and sad videoplayers. Let?s make Internet more beautiful! You can use our entire range of improved, evolved and very beautiful Dabber video players for only $75 and Free for non commercial use. And for only $95 per month you can have storage, trafik, contentmanagement and all players! Order yours today and use them, love them, and improve all websites out there. You can find them at http://www.dabber-player.com A huge thanks goes to all you brave ones who have ordered and implemented our early Dabber players so far. Your orders, thoughts, feedback and love have taken us to this day. You know who you are! New players and plugins are in the pipeline, both for YouTube, Vimeo, JW, Flow, Html5 and other. We can already provide a CMS as a Wordpress plugin We look forward to your order and feedback! For future newsletters and info please subscribe at http://www.dabber.tv/#news Daniel Daboczy CEO & co-founder DABBER website: http://www.dabber-player.com mobile: +46 (0)736 26 99 85 e-mail: daniel@dabber.tv SKYPE: mrdaboczy adress: Frejgatan 8, SE-114 20 Stockholm, Sweden Nominated for "Best Streaming Innovation of 2009" at the prestigious Streaming Media awards in London. This message was sent to freebsd-questions@freebsd.org from Dabber Stockholm. To stop receiveing info or newsletters from us please reply with the word unsub. From drew at mykitchentable.net Mon Sep 6 17:46:55 2010 From: drew at mykitchentable.net (Drew Tomlinson) Date: Mon Sep 6 17:47:20 2010 Subject: Regex Help For Procmail In-Reply-To: <4c84216f.w2295Zjs25+GOe/F%perryh@pluto.rain.com> References: <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> <4C8164C7.9000107@mykitchentable.net> <4C83C65B.6060508@mykitchentable.net> <20100905205910.GA82375@orange.esperance-linux.co.uk> <4c84216f.w2295Zjs25+GOe/F%perryh@pluto.rain.com> Message-ID: <4C852907.5000303@mykitchentable.net> On 9/5/2010 4:02 PM, perryh@pluto.rain.com wrote: > Frank Shute wrote: > >> Drew, try this: >> >> * ^From:.*famous-smoke\.com >> >> I think it's not catching it because the period isn't backslash >> escaped ... > Unless there's some edge case that I'm not thinking of, adding a > backslash to escape a period will never convert a non-match into > a match. An unescaped period in an RE matches any character, > including a period. An escaped period matches only a period. I have confirmed this. I did add the backslash but procmail is still not matching. > Adding the backslash _does_ better represent what the OP wants > to accomplish, but the lack of it is not the cause of the RE not > matching. (I'm not sufficiently familiar with how procmail uses > REs to figure out what _is_ causing it not to match.) True and thus I'll leave the backslash. However I have no idea what _is_ causing it not to match either. I'm stumped. Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From drew at mykitchentable.net Mon Sep 6 17:49:00 2010 From: drew at mykitchentable.net (Drew Tomlinson) Date: Mon Sep 6 17:49:30 2010 Subject: Regex Help For Procmail In-Reply-To: <4C840C59.6050704@gmail.com> References: <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> <4C8164C7.9000107@mykitchentable.net> <4C83C65B.6060508@mykitchentable.net> <4C840C59.6050704@gmail.com> Message-ID: <4C852985.90606@mykitchentable.net> On 9/5/2010 2:32 PM, Glen Barber wrote: > On 9/5/10 12:33 PM, Drew Tomlinson wrote: >> No, still not matching. Basically, why doesn't this header: >> >> From: "Famous Smoke Shop" >> >> Match this procmail recipe: >> >> :0 >> * ^From:.*famous-smoke.com>$ > Hmm.. I just noticed this - I don't think you need the trailing bracket (>). > > What about this: > > * ^From:.*famous-smoke\.com$ > > Note that I also escaped the period before 'com'. I think I'd have to have the trailing bracket when specifying the "$" at the end. However maybe the bracket is some special regex character and needs to be escaped? I'm just going to remove the bracket and the $ and see what happens. However I *would* like to understand. Thanks for your help! Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From doug at fledge.watson.org Mon Sep 6 18:16:06 2010 From: doug at fledge.watson.org (doug) Date: Mon Sep 6 18:16:13 2010 Subject: 64-bit Windows XP NDIS drivers giving missing symbols In-Reply-To: References: <20100724084204.597b9e6f@scorpio> <20100724154644.75b1938b@scorpio> Message-ID: On Sun, 25 Jul 2010, Gautham Ganapathy wrote: > On Sun, Jul 25, 2010 at 1:16 AM, Jerry wrote: > >> On Sat, 24 Jul 2010 18:45:24 +0000 >> Paul B Mahol articulated: >> >> >>> On 7/24/10, Jerry wrote: >>>> On Sat, 24 Jul 2010 12:01:24 +0000 >>>> Paul B Mahol articulated: >>>> >>>>> Such symbols are completly irrelevant for normal operation, because >>>>> NDISulator crash on amd64 during driver initialization. >>>>> I fixed this in my own git repo, but "fpudna in kernel mode" (my >>>>> understanding is that it is source of panic when trying to use ndis0 >>>>> device on amd64), present only on amd64 is still not yet fixed - this >>>>> should be addressed with fpu_kern KPI available on CURRENT - not done >>>>> yet... >>>>> Feel free to send patches. >>>> >>>> I feel his pain. I need 64 bit drivers for cards that FBSD does not >>>> support, mostly 'N' protocol wireless cards. The inability to secure >>>> and use perfectly good drivers that are available for Windows users in >>>> FreeBSD is a real PIA. Of course, it does give my Window user friends >>>> something to laugh about. >>> >>> And bwn(4) doesn't work at all? >> >> >> bwn -- Broadcom BCM43xx IEEE 802.11b/g wireless network driver >> >> >> You will notice that there is no 'n' in the description. In any case, >> it is limited to 'broadcom' chips. >> >> -- >> Jerry ? >> FreeBSD.user@seibercom.net >> > > Nope, bwn did not work. The man page mentioned a port that also had to be > installed. It had two modules, which I put in loader.conf one at a time > along with if_bwn.ko, but still no luck. > > The card I have has a Broadcom 4353 chipset. I think it is b/g/n. > I have a laptop with the same card. In a December 23, 2009 (in current I think) the driver maintainer said: I see that your device has LP-PHY instead of A/B/G/N PHYs so currently it's not supported by bwn(4). AFAIK linux has a weak but working implementation so we could refer to other Open Sources. At least on 8.1 bwn does not recognize the device. I can not find XP drivers. Broadcom's site does not (as far as I could find) mention the card. It does not sound like the XP driver work much better. Using the win7 drivers produces a hard loop upon doing an ifconfig. There are no PRs on either ndis or bwn so I assume this will be the state of things for a while at least. If anyone got the XP drivers to work with this card, please share the solution and how to get the drivers. From perrin at apotheon.com Mon Sep 6 18:51:19 2010 From: perrin at apotheon.com (Chad Perrin) Date: Mon Sep 6 18:51:26 2010 Subject: PDF to HTML translations In-Reply-To: <20100905083154.GA89704@owl.midgard.homeip.net> References: <20100904230920.GA20735@guilt.hydra> <20100905065711.GA34993@slackbox.erewhon.net> <20100905083154.GA89704@owl.midgard.homeip.net> Message-ID: <20100906184802.GC28608@guilt.hydra> On Sun, Sep 05, 2010 at 10:31:54AM +0200, Erik Trulsson wrote: > On Sun, Sep 05, 2010 at 08:57:11AM +0200, Roland Smith wrote: > > On Sat, Sep 04, 2010 at 05:09:20PM -0600, Chad Perrin wrote: > > > What PDF to HTML translators, other than pdftohtml, am I likely to be > > > able to find in ports? I went looking for pdf2html, expecting to find > > > that there, but no luck. Before I spend hours sifting through, still > > > without knowing whether I missed something that should be obvious, > > > > Yes, you did. :-) Apparently not. See below. > > > > > I > > > figured I'd ask here whether anyone knows of something off the top of > > > his/her head. > > > > Try textproc/pdftohtml > > Uhm, he said "other than pdftohtml" so I suspect he already knew about > that one. This is indeed the case. I appreciate the several suggestions I've received, though I see in retrospect that I haven't been sufficiently specific, since I have not gotten any suitable answers. I have "inherited" a Perl script that wraps pdftohtml. The reason a wrapper is needed is that a substantial amount of cleanup work is needed to produce HTML suitable to our final needs. The output of pdftohtml is sufficiently far from "perfect" that I would like to test the output of a few other possible "back ends" for the script to see if a significant amount of work being done by the script can be eliminated. Toward that end, the simpler the tool the better -- and the tool on the "back end" should not be something that must be contacted across a network, or that cannot be redistributed freely. I wanted to start with things I have in the base system on my FreeBSD laptop (where I'm doing my development) or through ports. OpenOffice.org is quite a bit larger and more unwieldy than we would really want to deal with at this point. Using Google or Adobe tools online is well outside the range of what we need (requiring network access for the tool to work). I've started looking at the Xpdf tools as well as pdftohtml. Other suggestions from within ports would be appreciated. Additional options other than what can be found in ports might also be useful, understanding the needs I sketched out above. The script itself is Perl, in case that matters. To everyone who has replied so far: thank you for your time. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100906/4cd5ec6f/attachment.pgp From wblock at wonkity.com Mon Sep 6 19:02:11 2010 From: wblock at wonkity.com (Warren Block) Date: Mon Sep 6 19:02:21 2010 Subject: PDF to HTML translations In-Reply-To: <20100906184802.GC28608@guilt.hydra> References: <20100904230920.GA20735@guilt.hydra> <20100905065711.GA34993@slackbox.erewhon.net> <20100905083154.GA89704@owl.midgard.homeip.net> <20100906184802.GC28608@guilt.hydra> Message-ID: On Mon, 6 Sep 2010, Chad Perrin wrote: > I've started looking at the Xpdf tools as well as pdftohtml. Other > suggestions from within ports would be appreciated. Additional options > other than what can be found in ports might also be useful, understanding > the needs I sketched out above. The script itself is Perl, in case that > matters. An alternative might be to render the PDF to a relatively low-res bitmap. Then the HTML becomes just an IMG. You can do that directly with Ghostscript, or use ImageMagick/GraphicsMagick. From sterling at camdensoftware.com Mon Sep 6 19:04:42 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Mon Sep 6 19:04:50 2010 Subject: PDF to HTML translations In-Reply-To: <20100906184802.GC28608@guilt.hydra> References: <20100904230920.GA20735@guilt.hydra> <20100905065711.GA34993@slackbox.erewhon.net> <20100905083154.GA89704@owl.midgard.homeip.net> <20100906184802.GC28608@guilt.hydra> Message-ID: <20100906190437.GB26054@libertas.local.camdensoftware.com> Quoth Chad Perrin on Monday, 06 September 2010: > On Sun, Sep 05, 2010 at 10:31:54AM +0200, Erik Trulsson wrote: > > On Sun, Sep 05, 2010 at 08:57:11AM +0200, Roland Smith wrote: > > > On Sat, Sep 04, 2010 at 05:09:20PM -0600, Chad Perrin wrote: > > > > What PDF to HTML translators, other than pdftohtml, am I likely to be > > > > able to find in ports? I went looking for pdf2html, expecting to find > > > > that there, but no luck. Before I spend hours sifting through, still > > > > without knowing whether I missed something that should be obvious, > > > > > > Yes, you did. :-) > > Apparently not. See below. > > > > > > > > > I > > > > figured I'd ask here whether anyone knows of something off the top of > > > > his/her head. > > > > > > Try textproc/pdftohtml > > > > Uhm, he said "other than pdftohtml" so I suspect he already knew about > > that one. > > This is indeed the case. > > I appreciate the several suggestions I've received, though I see in > retrospect that I haven't been sufficiently specific, since I have not > gotten any suitable answers. > > I have "inherited" a Perl script that wraps pdftohtml. The reason a > wrapper is needed is that a substantial amount of cleanup work is needed > to produce HTML suitable to our final needs. The output of pdftohtml is > sufficiently far from "perfect" that I would like to test the output of a > few other possible "back ends" for the script to see if a significant > amount of work being done by the script can be eliminated. > > Toward that end, the simpler the tool the better -- and the tool on the > "back end" should not be something that must be contacted across a > network, or that cannot be redistributed freely. I wanted to start with > things I have in the base system on my FreeBSD laptop (where I'm doing my > development) or through ports. OpenOffice.org is quite a bit larger and > more unwieldy than we would really want to deal with at this point. > Using Google or Adobe tools online is well outside the range of what we > need (requiring network access for the tool to work). > > I've started looking at the Xpdf tools as well as pdftohtml. Other > suggestions from within ports would be appreciated. Additional options > other than what can be found in ports might also be useful, understanding > the needs I sketched out above. The script itself is Perl, in case that > matters. > > To everyone who has replied so far: thank you for your time. > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] How about print/p5-PDFLib and print/pecl-pdflib to roll your own? Maybe that's more work than you wanted. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100906/0bc55617/attachment.pgp From FreeBSD at insightbb.com Mon Sep 6 19:33:23 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Mon Sep 6 19:33:30 2010 Subject: Plasma omic applet Message-ID: <201009061533.21588.FreeBSD@insightbb.com> I can't get this applet to work, following the instructions provided. Anybody else get it to work? Here are the instructions: plasmapkg -t dataengine -i wifi-engine-1.0.plasmoid which I translated to mean: plasmapkg -t dataengine -i wifi-engine-1.0.1.plasmoid Is dataengine supposed to be replaced with something?? There is no man page for plasmapkg, which would allow me to find out what the options are... Here's the output: plasmapkg(32592)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase plasmapkg(32592): Session bus not found KCrash: Application 'plasmapkg' crashing... KCrash: Attempting to start /usr/local/kde4/lib/kde4/libexec/drkonqi from kdeinit sock_file=/root/.kde4/socket-laptop2.StevenFriedrich.org/kdeinit4__0 Warning: connect() failed: : No such file or directory KCrash: Attempting to start /usr/local/kde4/lib/kde4/libexec/drkonqi directly drkonqi(32659)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to privat drkonqi(32659): Session bus not found From FreeBSD at insightbb.com Mon Sep 6 19:35:23 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Mon Sep 6 19:35:36 2010 Subject: Plasma WiFi applet Message-ID: <201009061535.20532.FreeBSD@insightbb.com> I can't get this applet to work, following the instructions provided. Anybody else get it to work? Here are the instructions: plasmapkg -t dataengine -i wifi-engine-1.0.plasmoid which I translated to mean: plasmapkg -t dataengine -i wifi-engine-1.0.1.plasmoid Is dataengine supposed to be replaced with something?? There is no man page for plasmapkg, which would allow me to find out what the options are... Here's the output: plasmapkg(32592)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase plasmapkg(32592): Session bus not found KCrash: Application 'plasmapkg' crashing... KCrash: Attempting to start /usr/local/kde4/lib/kde4/libexec/drkonqi from kdeinit sock_file=/root/.kde4/socket-laptop2.StevenFriedrich.org/kdeinit4__0 Warning: connect() failed: : No such file or directory KCrash: Attempting to start /usr/local/kde4/lib/kde4/libexec/drkonqi directly drkonqi(32659)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to privat drkonqi(32659): Session bus not found From btillman99 at yahoo.com Mon Sep 6 19:35:55 2010 From: btillman99 at yahoo.com (Bill Tillman) Date: Mon Sep 6 19:36:02 2010 Subject: NFS Issue Message-ID: <168438.41481.qm@web36503.mail.mud.yahoo.com> I have two LAN segments with a FreeBSD server on each. ? Server A is 10.0.0.254 Server B is 192.168.0.102 ? I setup server A has two drives and I setup a share on drive #2 to be shared via NFS with the both networks. I also made a symlink on drive #2 to a folder on drive #1 ? On server B I can nfs_mount the share on server A and see the symlink. But when I try to access the files in the symlink it shows the link is broken, In other words no files show up. ? On server A I can see the files in the symlink folder just fine. From perrin at apotheon.com Mon Sep 6 19:40:27 2010 From: perrin at apotheon.com (Chad Perrin) Date: Mon Sep 6 19:40:36 2010 Subject: PDF to HTML translations In-Reply-To: <20100906190437.GB26054@libertas.local.camdensoftware.com> References: <20100904230920.GA20735@guilt.hydra> <20100905065711.GA34993@slackbox.erewhon.net> <20100905083154.GA89704@owl.midgard.homeip.net> <20100906184802.GC28608@guilt.hydra> <20100906190437.GB26054@libertas.local.camdensoftware.com> Message-ID: <20100906193710.GA28769@guilt.hydra> On Mon, Sep 06, 2010 at 12:04:37PM -0700, Chip Camden wrote: > > How about print/p5-PDFLib and print/pecl-pdflib to roll your own? Maybe > that's more work than you wanted. I've looked into the PDFLib and PDF modules for Perl in CPAN, but as far as I've been able to determine they don't offer any support for exporting to other formats. I'd love to find out I'm wrong. I've been meaning to sort out how to use SWISH::Filter::Pdf2HTML as a possibility, but haven't gotten around to it yet. Isn't PECL for PHP, though? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100906/a6e9c710/attachment.pgp From sterling at camdensoftware.com Mon Sep 6 20:35:11 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Mon Sep 6 20:35:18 2010 Subject: PDF to HTML translations In-Reply-To: <20100906193710.GA28769@guilt.hydra> References: <20100904230920.GA20735@guilt.hydra> <20100905065711.GA34993@slackbox.erewhon.net> <20100905083154.GA89704@owl.midgard.homeip.net> <20100906184802.GC28608@guilt.hydra> <20100906190437.GB26054@libertas.local.camdensoftware.com> <20100906193710.GA28769@guilt.hydra> Message-ID: <20100906203505.GA44032@libertas.local.camdensoftware.com> Quoth Chad Perrin on Monday, 06 September 2010: > On Mon, Sep 06, 2010 at 12:04:37PM -0700, Chip Camden wrote: > > > > How about print/p5-PDFLib and print/pecl-pdflib to roll your own? Maybe > > that's more work than you wanted. > > I've looked into the PDFLib and PDF modules for Perl in CPAN, but as far > as I've been able to determine they don't offer any support for exporting > to other formats. I'd love to find out I'm wrong. I've been meaning to > sort out how to use SWISH::Filter::Pdf2HTML as a possibility, but haven't > gotten around to it yet. > > Isn't PECL for PHP, though? > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Oops, you're right. How embarrassing -- confusing Perl and PHP is like confusing, well, any beautiful thing with its cheap imitation. I could blame Google, but I have to own up to my own careless reading of its results. I think PDFLib would allow you to inspect the PDF, but you'd have to write your own corresponding HTML. SWISH::Filter::Pdf2HTML looks promising, though. Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100906/5004541e/attachment.pgp From corky1951 at comcast.net Mon Sep 6 23:09:46 2010 From: corky1951 at comcast.net (Charlie Kester) Date: Mon Sep 6 23:09:53 2010 Subject: PDF to HTML translations In-Reply-To: References: <20100904230920.GA20735@guilt.hydra> <20100905065711.GA34993@slackbox.erewhon.net> <20100905083154.GA89704@owl.midgard.homeip.net> <20100906184802.GC28608@guilt.hydra> Message-ID: <20100906230941.GA6385@comcast.net> On Mon 06 Sep 2010 at 12:02:07 PDT Warren Block wrote: >On Mon, 6 Sep 2010, Chad Perrin wrote: >>I've started looking at the Xpdf tools as well as pdftohtml. Other >>suggestions from within ports would be appreciated. Additional options >>other than what can be found in ports might also be useful, understanding >>the needs I sketched out above. The script itself is Perl, in case that >>matters. > >An alternative might be to render the PDF to a relatively low-res >bitmap. Then the HTML becomes just an IMG. You can do that directly >with Ghostscript, or use ImageMagick/GraphicsMagick. Which, if I correctly understand the description on freshmeat, is almost exactly what pdf2html does. http://freshmeat.net/projects/pdf2html/ I downloaded the latest version just now and tried building it. The build failed with some syntax errors in pbm2png.c, so if anyone wants to add this to ports, they'll have some cleanup work to do. From corky1951 at comcast.net Mon Sep 6 23:33:21 2010 From: corky1951 at comcast.net (Charlie Kester) Date: Mon Sep 6 23:33:29 2010 Subject: PDF to HTML translations In-Reply-To: <20100906230941.GA6385@comcast.net> References: <20100904230920.GA20735@guilt.hydra> <20100905065711.GA34993@slackbox.erewhon.net> <20100905083154.GA89704@owl.midgard.homeip.net> <20100906184802.GC28608@guilt.hydra> <20100906230941.GA6385@comcast.net> Message-ID: <20100906233317.GB6385@comcast.net> On Mon 06 Sep 2010 at 16:09:41 PDT Charlie Kester wrote: >On Mon 06 Sep 2010 at 12:02:07 PDT Warren Block wrote: >>On Mon, 6 Sep 2010, Chad Perrin wrote: >>>I've started looking at the Xpdf tools as well as pdftohtml. Other >>>suggestions from within ports would be appreciated. Additional options >>>other than what can be found in ports might also be useful, understanding >>>the needs I sketched out above. The script itself is Perl, in case that >>>matters. >> >>An alternative might be to render the PDF to a relatively low-res >>bitmap. Then the HTML becomes just an IMG. You can do that >>directly >>with Ghostscript, or use ImageMagick/GraphicsMagick. > >Which, if I correctly understand the description on freshmeat, is almost >exactly what pdf2html does. > >http://freshmeat.net/projects/pdf2html/ > >I downloaded the latest version just now and tried building it. The >build failed with some syntax errors in pbm2png.c, so if anyone wants >to add this to ports, they'll have some cleanup work to do. FWIW, the syntax errors are all due to some misplaced line breaks. Re-joining all the lines that generate a warning about a missing terminating " character fixes this. (This was using gcc 4.2.1.) From arundel at freebsd.org Tue Sep 7 00:08:56 2010 From: arundel at freebsd.org (Alexander Best) Date: Tue Sep 7 00:09:02 2010 Subject: unchar and ulong typedefs Message-ID: <20100907000855.GA20642@freebsd.org> hi there, just stumbled over PR 44365 and was wondering why FreeBSD never added unchar and ulong to types.h to increase sys v compatibility? cheers. alex -- a13x From jcw at speakeasy.net Tue Sep 7 00:28:09 2010 From: jcw at speakeasy.net (Jason C. Wells) Date: Tue Sep 7 00:28:19 2010 Subject: unchar and ulong typedefs In-Reply-To: <20100907000855.GA20642@freebsd.org> References: <20100907000855.GA20642@freebsd.org> Message-ID: <4C858718.4080101@speakeasy.net> On 09/06/10 17:08, Alexander Best wrote: > hi there, > > just stumbled over PR 44365 and was wondering why FreeBSD never added unchar > and ulong to types.h to increase sys v compatibility? > Sys V. Is that some sort of linux distribution? (only half joking) Regards, Jason From fbsd at dannysplace.net Tue Sep 7 01:39:26 2010 From: fbsd at dannysplace.net (Danny Carroll) Date: Tue Sep 7 01:39:33 2010 Subject: Windows XP Backup resetting unix perms. Message-ID: <4C8597C7.7010002@dannysplace.net> Today I decided to make a backup of some of my unix data to an XP machine in preparation for a migration. I set windows XP backup running and when it started backing up files in my home directory I noticed that it set u-x permissions on all of the files. Directories are unaffected. If I use XP's security dialog to set the permissions back, they are applied OK. Has anyone seen this behaviour before? -D From olivares14031 at gmail.com Tue Sep 7 01:51:02 2010 From: olivares14031 at gmail.com (Antonio Olivares) Date: Tue Sep 7 01:51:08 2010 Subject: killall -9 program-name does not work In-Reply-To: <20100902140113.GA69315@orange.esperance-linux.co.uk> References: <20100830120007.543fa5dd@gumby.homeunix.com> <20100902140113.GA69315@orange.esperance-linux.co.uk> Message-ID: On 9/2/10, Frank Shute wrote: > On Wed, Sep 01, 2010 at 08:32:56PM -0500, Antonio Olivares wrote: >> >> On 8/30/10, RW wrote: >> > On Mon, 30 Aug 2010 03:14:58 +0000 >> > Antonio Olivares wrote: >> > >> >> Dear fellow FreeBSD users, >> >> >> >> I have a cron script that plays music in the morning when I arrive at >> >> work. >> >> >> >> in ~/.xalarm I have two lines, one that calls xterm and one that calls >> >> mplayer and plays a series of music files in a playlist >> >> >> >> crontab -l >> >> has the following >> >> # min hour day-of-month month day-of-week command >> >> # 0-59 0-23 1-31 1-12 0-6 0=sun 1=mon >> >> 00 07 * * 1-5 ~/.xalarm >/dev/null 2>&1 >> >> 30 07 * * 1-5 killall -9 /usr/local/bin/mplayer >/dev/null 2>&1 >> > >> > You don't need the path to mplayer. >> >> It makes no difference. This does not stop mplayer from playing :( >> >> Thanks though for trying to help. >> >> Regards, >> >> Antonio > > Use the command: > > killall -d mplayer > > & see what it's saying. ie. don't direct stout & sterr to /dev/null > > > Regards, > > -- > > Frank > > Contact info: http://www.shute.org.uk/misc/contact.html > > > Frank and other interested folks, Thank you for all your help. I was able to solve the problem using a script provided by George that uses sleep and kill commands respectively. #!/bin/sh /usr/local/bin/ xterm -e /usr/local/bin/mplayer -really-quiet -shuffle -playlist ~/.playlist & PID=$! # all in one line, then sleep 1800 # 1800 is 60*30 play music for 30 minutes, kill $PID # music stops after playing for 30 minutes. The previous commands I had worked for several versions of linux but not on FreeBSD. The above one is for home machine to play music as I wake up, and the following one for work, #!/bin/sh /usr/local/bin/ xterm -e /usr/local/bin/mplayer -really-quiet -shuffle -playlist ~/.playlist & PID=$! # all in one line, then sleep 180 # 180 is 60*3 play music for 3 minutes, kill $PID Thank you all for your help. I had not noticed that killall -9 /usr/bin/mplayer was not stopping mplayer, but machine was shutting down since I had programmed it using cron as root to shutdown at a certain time. Regards, Antonio From frank at shute.org.uk Tue Sep 7 01:51:28 2010 From: frank at shute.org.uk (Frank Shute) Date: Tue Sep 7 01:51:34 2010 Subject: Regex Help For Procmail In-Reply-To: <4C83C65B.6060508@mykitchentable.net> References: <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> <4C8164C7.9000107@mykitchentable.net> <4C83C65B.6060508@mykitchentable.net> Message-ID: <20100907015124.GA21193@orange.esperance-linux.co.uk> On Sun, Sep 05, 2010 at 09:33:31AM -0700, Drew Tomlinson wrote: > [snip] > > No, still not matching. Basically, why doesn't this header: > > From: "Famous Smoke Shop" > > Match this procmail recipe: > > :0 > * ^From:.*famous-smoke.com>$ > "${HOME}/Maildir/.Shopping/Famous Smoke/Email/" > > From my procmail log: > > procmail: No match on "^From:.*famous-smoke.com>$" > > Thanks, > > Drew > I additionally don't like the look of your Maildir. It's quoted, you should set MAILDIR in procmailrc, you should get rid of the space and it should end in "new". Result: :0 * ^From:.*famous-smoke\.com .Shopping/Famous_Smoke/new I don't know what you're using for maildirmake but here's a script you can adapt: ---- #!/bin/sh # # Usage: maildirmake mkdir $1 mkdir $1/new mkdir $1/cur mkdir $1/tmp chown frank:frank $1/new chown frank:frank $1/cur chown frank:frank $1/tmp chmod 700 $1 chmod 700 $1/new chmod 700 $1/cur chmod 700 $1/tmp ---- You have to run it from where you keep your maildirs i.e MAILDIR So if you have your maildirs in Mail: $ cd ~/Mail $ mkdir .Shopping $ cd .Shopping $ maildirmake Famous_Smoke For your ref, here's my procmailrc PATH=/usr/local/bin SHELL=/bin/sh ORGMAIL=$HOME/Maildir/new PMDIR=$HOME/.procmail LOGFILE=$PMDIR/log VERBOSE=on MAILDIR=$HOME/Mail DEFAULT=$HOME/Maildir/new LOGNAME=frank INCLUDERC=$PMDIR/rules Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From frank at shute.org.uk Tue Sep 7 02:00:16 2010 From: frank at shute.org.uk (Frank Shute) Date: Tue Sep 7 02:00:28 2010 Subject: Windows XP Backup resetting unix perms. In-Reply-To: <4C8597C7.7010002@dannysplace.net> References: <4C8597C7.7010002@dannysplace.net> Message-ID: <20100907020004.GB21193@orange.esperance-linux.co.uk> On Tue, Sep 07, 2010 at 11:39:19AM +1000, Danny Carroll wrote: > > Today I decided to make a backup of some of my unix data to an XP > machine in preparation for a migration. > I set windows XP backup running and when it started backing up files in > my home directory I noticed that it set u-x permissions on all of the > files. > Directories are unaffected. > > If I use XP's security dialog to set the permissions back, they are > applied OK. > > Has anyone seen this behaviour before? > Yeah, it does that because it doesn't understand unix permissions. Proper way to back up to XP is to make a tarball of your $HOME first & then copy it to XP, that way the permissions are preserved. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From fbsd at dannysplace.net Tue Sep 7 02:05:38 2010 From: fbsd at dannysplace.net (Danny Carroll) Date: Tue Sep 7 02:05:46 2010 Subject: Windows XP Backup resetting unix perms. In-Reply-To: <20100907020004.GB21193@orange.esperance-linux.co.uk> References: <4C8597C7.7010002@dannysplace.net> <20100907020004.GB21193@orange.esperance-linux.co.uk> Message-ID: <4C859DEA.7020708@dannysplace.net> On 7/09/2010 12:00 PM, Frank Shute wrote: > On Tue, Sep 07, 2010 at 11:39:19AM +1000, Danny Carroll wrote: >> >> Today I decided to make a backup of some of my unix data to an XP >> machine in preparation for a migration. >> I set windows XP backup running and when it started backing up files in >> my home directory I noticed that it set u-x permissions on all of the >> files. >> Directories are unaffected. >> >> If I use XP's security dialog to set the permissions back, they are >> applied OK. >> >> Has anyone seen this behaviour before? >> > > Yeah, it does that because it doesn't understand unix permissions. > > Proper way to back up to XP is to make a tarball of your $HOME first & > then copy it to XP, that way the permissions are preserved. > Hmmm. Apart from creating a readonly share, is there a way to tell samba to disallow this? Perhaps there is an option to disallow permissions updates altogether. -D From smithi at nimnet.asn.au Tue Sep 7 02:45:39 2010 From: smithi at nimnet.asn.au (Ian Smith) Date: Tue Sep 7 02:45:45 2010 Subject: ACPI questions about press power button In-Reply-To: <20100905120024.A5AD31065732@hub.freebsd.org> References: <20100905120024.A5AD31065732@hub.freebsd.org> Message-ID: <20100907122428.J32216@sola.nimnet.asn.au> Re: freebsd-questions Digest, Vol 326, Issue 11, Message: 19 On Sun, 5 Sep 2010 19:04:51 +0800 dave jones wrote: > I'm running FreeBSD 8 on my desktop. I want to write a file or do something > when I or someone presses power button. In devd.conf, I added the > following lines > for testing: > > notify 10 { > match "system" "ACPI"; > match "subsystem" "Button"; > matcho "notify" "0x00" > action "echo hello world"; > }; > > But it doesn't work. Would anyone tell me how to do? Thanks. I'm not sure this will do what you want anyway; devd will handle the notify but won't replace the normal action itself, ie it might power down (hopefully running shutdown actions, synching disks etc), however 'matcho' won't match 'match' :) and that line needs a trailing ';'. Whether or not it powers down (perhaps depending on BIOS setting, ie instant-off or 4-second-delay), it may be more useful logging it, say: action "logger -p kern.emerg 'power button pressed!'"; cheers, Ian From peter at boosten.org Tue Sep 7 03:09:02 2010 From: peter at boosten.org (Peter Boosten) Date: Tue Sep 7 03:09:22 2010 Subject: Regex Help For Procmail In-Reply-To: <20100907015124.GA21193@orange.esperance-linux.co.uk> References: <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> <4C8164C7.9000107@mykitchentable.net> <4C83C65B.6060508@mykitchentable.net> <20100907015124.GA21193@orange.esperance-linux.co.uk> Message-ID: <4C85ACA4.80101@boosten.org> On 7-9-2010 3:51, Frank Shute wrote: > [snip] > I additionally don't like the look of your Maildir. It's quoted, you > should set MAILDIR in procmailrc, you should get rid of the space and > it should end in "new". Result: > > :0 > * ^From:.*famous-smoke\.com > .Shopping/Famous_Smoke/new I've actually never seen a recipe (either on the net, nor in the examples in procmailex suggesting this. The 'new' part is taken care of by procmail itself. > > I don't know what you're using for maildirmake but here's a script you > can adapt: > > ---- > > #!/bin/sh > # > # Usage: maildirmake > > mkdir $1 > mkdir $1/new > mkdir $1/cur > mkdir $1/tmp > chown frank:frank $1/new > chown frank:frank $1/cur > chown frank:frank $1/tmp > chmod 700 $1 > chmod 700 $1/new > chmod 700 $1/cur > chmod 700 $1/tmp > > ---- > > You have to run it from where you keep your maildirs i.e MAILDIR Also something procmail takes care of automatically. I've never created any directory structure for procmail to be able to deliver email to it. Peter -- http://www.boosten.org From gvidals at gmail.com Tue Sep 7 03:19:00 2010 From: gvidals at gmail.com (Gil Vidals) Date: Tue Sep 7 03:19:07 2010 Subject: zfs enabled freebsd requires root zfs partition? Message-ID: I'm new to both FreeBSD and ZFS and need some guidance. The only way I could get zfs to work was by installing FreeBSD directly on a freebsd-ZFS file system, which isn't supported by default by sysinstall. I had to run the zfsinstall.sh script which creates the freebsd-ZFS file system and compiles freeBSD. Whenever If I used the standard install (UFS file system), I would always get an "unsupported file system" error whenever I tried to kldload zfs.ko. Is there away to install FreeBSD on the standard UFS file system and then use the other disks on the server for ZFS? I would appreciate any hints. Thanks, Gil Vidals From amvandemore at gmail.com Tue Sep 7 04:50:05 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Sep 7 04:50:19 2010 Subject: zfs enabled freebsd requires root zfs partition? In-Reply-To: References: Message-ID: On Mon, Sep 6, 2010 at 9:55 PM, Gil Vidals wrote: > Whenever If I used the standard install (UFS file system), I would always > get an "unsupported file system" error whenever I tried to kldload zfs.ko. > That doesn't seem like a logical error, the only occurrence of the "unsupported file system" text in the src tree is in /usr/src/sbin/ggate/shared/ggate.c. Can you be more specific about the steps you are taking to reach this error, and it's exact message. Is there away to install FreeBSD on the standard UFS file system and then > use the other disks on the server for ZFS? > That's a very common approach. -- Adam Vande More From merlyn at stonehenge.com Tue Sep 7 05:05:41 2010 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Tue Sep 7 05:05:49 2010 Subject: zfs enabled freebsd requires root zfs partition? In-Reply-To: (Gil Vidals's message of "Mon, 6 Sep 2010 19:55:40 -0700") References: Message-ID: <8662yiywgq.fsf@red.stonehenge.com> >>>>> "Gil" == Gil Vidals writes: Gil> The only way I could Gil> get zfs to work was by installing FreeBSD directly on a freebsd-ZFS file Gil> system, which isn't supported by default by sysinstall. It *is* supported by PCBSD-8.1 installer though, and PCBSD can install a typical FreeBSD install without all of the PCBSD extra packages. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From demelier.david at gmail.com Tue Sep 7 05:07:34 2010 From: demelier.david at gmail.com (David DEMELIER) Date: Tue Sep 7 05:07:41 2010 Subject: ACPI questions about press power button In-Reply-To: References: Message-ID: 2010/9/5 dave jones : > Hello, > > I'm running FreeBSD 8 on my desktop. I want to write a file or do something > when I or someone presses power button. In devd.conf, I added the > following lines > for testing: > > ?notify 10 { > ? ? ? ? ? ?match "system" ? ? ? ? ?"ACPI"; > ? ? ? ? ? ?match "subsystem" ? ? ?"Button"; > ? ? ? ? ? ?matcho "notify" ? ? ? ? ? ?"0x00" > ? ? ? ? ? ?action "echo hello world"; > ? ?}; > > But it doesn't work. Would anyone tell me how to do? Thanks. > > Regards, > Dave. > _______________________________________________ > 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 think, you must first disable this setting because S5 is the default behavior when pressing the power button, it calls /etc/rc.shutdown. hw.acpi.power_button_state: S5 Disable it with sysctl hw.acpi.power_button_state=NONE and add this line to /etc/sysctl.conf. And then maybe the power button will be released for an other purpose? Kind regards. -- Demelier David From perryh at pluto.rain.com Tue Sep 7 07:13:30 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Tue Sep 7 07:13:38 2010 Subject: zfs enabled freebsd requires root zfs partition? In-Reply-To: <8662yiywgq.fsf@red.stonehenge.com> References: <8662yiywgq.fsf@red.stonehenge.com> Message-ID: <4c85e7f6.d5ohjgv5UwUOr6ji%perryh@pluto.rain.com> merlyn@stonehenge.com (Randal L. Schwartz) wrote: > ... PCBSD can install a typical FreeBSD install without all of > the PCBSD extra packages. Is there a writeup somewhere on how to do this, much preferably involving something like memstick rather than having to burn a CD or DVD? From sudakov at sibptus.tomsk.ru Tue Sep 7 09:00:22 2010 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Tue Sep 7 09:00:30 2010 Subject: ipfw fwd and ipfw allow In-Reply-To: <20100822052550.GA42346@admin.sibptus.tomsk.ru> References: <20100822052550.GA42346@admin.sibptus.tomsk.ru> Message-ID: <20100907090012.GA48608@admin.sibptus.tomsk.ru> Am I asking something unreasonable? Victor Sudakov wrote: > > What tricks do you use if you need to allow a packet and then fwd > it (or vice versa)? The search terminates and the packet quits ipfw on > "fwd" as well as on "allow". > > How do I allow a packet and then policy route it? An example ruleset > will be appreciated. > -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From bernt at bah.homeip.net Tue Sep 7 10:01:45 2010 From: bernt at bah.homeip.net (Bernt Hansson) Date: Tue Sep 7 10:01:54 2010 Subject: Regex Help For Procmail In-Reply-To: <4C852907.5000303@mykitchentable.net> References: <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> <4C8164C7.9000107@mykitchentable.net> <4C83C65B.6060508@mykitchentable.net> <20100905205910.GA82375@orange.esperance-linux.co.uk> <4c84216f.w2295Zjs25+GOe/F%perryh@pluto.rain.com> <4C852907.5000303@mykitchentable.net> Message-ID: <4C860D84.6080502@bah.homeip.net> 2010-09-06 19:46, Drew Tomlinson skrev: > On 9/5/2010 4:02 PM, perryh@pluto.rain.com wrote: >> Frank Shute wrote: >> >>> Drew, try this: >>> >>> * ^From:.*famous-smoke\.com >>> >>> I think it's not catching it because the period isn't backslash >>> escaped ... >> Unless there's some edge case that I'm not thinking of, adding a >> backslash to escape a period will never convert a non-match into >> a match. An unescaped period in an RE matches any character, >> including a period. An escaped period matches only a period. > > I have confirmed this. I did add the backslash but procmail is still not > matching. > >> Adding the backslash _does_ better represent what the OP wants >> to accomplish, but the lack of it is not the cause of the RE not >> matching. (I'm not sufficiently familiar with how procmail uses >> REs to figure out what _is_ causing it not to match.) > > True and thus I'll leave the backslash. However I have no idea what _is_ > causing it not to match either. I'm stumped. I think it is the dash. Try to escape it like so: * ^From:.*famous\-smoke\.com > Thanks, > > Drew > From arab at tangerine-army.co.uk Tue Sep 7 10:28:11 2010 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Tue Sep 7 10:28:20 2010 Subject: zfs enabled freebsd requires root zfs partition? References: Message-ID: <01FB8F39BAD0BD49A6D0DA8F78973929C5D4@Mercury.galaxy.lan.lcl> ________________________________ From: Gil Vidals [mailto:gvidals@gmail.com] Sent: Tue 07/09/2010 03:55 To: freebsd-questions@freebsd.org Subject: zfs enabled freebsd requires root zfs partition? I'm new to both FreeBSD and ZFS and need some guidance. The only way I could get zfs to work was by installing FreeBSD directly on a freebsd-ZFS file system, which isn't supported by default by sysinstall. I had to run the zfsinstall.sh script which creates the freebsd-ZFS file system and compiles freeBSD. Whenever If I used the standard install (UFS file system), I would always get an "unsupported file system" error whenever I tried to kldload zfs.ko. Is there away to install FreeBSD on the standard UFS file system and then use the other disks on the server for ZFS? I would appreciate any hints. Thanks, Gil Vidals _______________________________________________ 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 Once you have installed FreeBSD 8.0 to a ufs partition have you from your SU account have you tried zpool create ? Regards Graeme From andrew at qemg.org Tue Sep 7 10:31:38 2010 From: andrew at qemg.org (A. Wright) Date: Tue Sep 7 10:31:45 2010 Subject: NFS Issue In-Reply-To: <168438.41481.qm@web36503.mail.mud.yahoo.com> References: <168438.41481.qm@web36503.mail.mud.yahoo.com> Message-ID: On Mon, 6 Sep 2010, Bill Tillman wrote: > I have two LAN segments with a FreeBSD server on each. > > Server A is 10.0.0.254 > Server B is 192.168.0.102 > > I setup server A has two drives and I setup a share on drive #2 to be shared via NFS with the both networks. I also made a symlink on drive #2 to a folder on drive #1 > > On server B I can nfs_mount the share on server A and see the symlink. But when I try to access the files in the symlink it shows the link is broken, In other words no files show up. > > On server A I can see the files in the symlink folder just fine. This is expected NFS behaviour: NFS exports filesystems starting at a given (exported) mount point. While there are many reasons for this, think about the security issues if a user on B could create a symlink on your exported volume (because the origin of the symlink will make no difference to the server) to access any file anywhere on A. If you want both disks 1 and 2 visible, the standard solution is to export and mount both disks on B. If the paths (absolute is easiest, but relative can be made to work) are consistent between A and the mounted image of A's filesystems on B, then your symlinks will work -- that is, if you have this kind of /etc/fstab entry, mounting "/disk1" on A to "/disk1" on B: A:/disk1/somedir /disk1/somedir A:/disk2 /disk2 then a symlink in /disk1/somedir/link pointing to /disk1/something will work just fine. A. From nvass9573 at gmx.com Tue Sep 7 10:42:21 2010 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Tue Sep 7 10:42:28 2010 Subject: ipfw fwd and ipfw allow In-Reply-To: <20100907090012.GA48608@admin.sibptus.tomsk.ru> References: <20100822052550.GA42346@admin.sibptus.tomsk.ru> <20100907090012.GA48608@admin.sibptus.tomsk.ru> Message-ID: <4C8616F0.5010401@gmx.com> On 9/7/2010 12:00 PM, Victor Sudakov wrote: > Am I asking something unreasonable? Not really, but if you ask, one could say that IPFW is a "first match wins" firewall, so a fwd or an allow action would be the terminal one. You must design your rules accordingly. There is also the skipto action which can alter the way packets flow through the rules. Could you describe in a conrete example what you're trying to achieve? HTH, Nikos From andrew at qemg.org Tue Sep 7 10:56:21 2010 From: andrew at qemg.org (A. Wright) Date: Tue Sep 7 10:56:28 2010 Subject: NFS Issue In-Reply-To: References: <168438.41481.qm@web36503.mail.mud.yahoo.com> Message-ID: On Tue, 7 Sep 2010, A. Wright wrote: > your symlinks will work -- that is, if you have this kind of > /etc/fstab entry, mounting "/disk1" on A to "/disk1" on B: > > A:/disk1/somedir /disk1/somedir > A:/disk2 /disk2 > > then a symlink in /disk1/somedir/link pointing to /disk1/something > will work just fine. That should have read: then a symlink in /disk1/somedir/link pointing to /disk2/something will work just fine A. From sudakov at sibptus.tomsk.ru Tue Sep 7 11:00:43 2010 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Tue Sep 7 11:00:50 2010 Subject: ipfw fwd and ipfw allow In-Reply-To: <4C8616F0.5010401@gmx.com> References: <20100822052550.GA42346@admin.sibptus.tomsk.ru> <20100907090012.GA48608@admin.sibptus.tomsk.ru> <4C8616F0.5010401@gmx.com> Message-ID: <20100907110033.GA51618@admin.sibptus.tomsk.ru> Nikos Vassiliadis wrote: > >Am I asking something unreasonable? > > Not really, but if you ask, one could say that IPFW is a "first > match wins" firewall, so a fwd or an allow action would be the > terminal one. You must design your rules accordingly. > > There is also the skipto action which can alter the way packets > flow through the rules. > > Could you describe in a conrete example what you're trying to > achieve? I want forwarded packets to create a dynamic "allow" rule. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From nvass9573 at gmx.com Tue Sep 7 13:43:07 2010 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Tue Sep 7 13:43:14 2010 Subject: ipfw fwd and ipfw allow In-Reply-To: <20100907110033.GA51618@admin.sibptus.tomsk.ru> References: <20100822052550.GA42346@admin.sibptus.tomsk.ru> <20100907090012.GA48608@admin.sibptus.tomsk.ru> <4C8616F0.5010401@gmx.com> <20100907110033.GA51618@admin.sibptus.tomsk.ru> Message-ID: <4C864145.80805@gmx.com> On 9/7/2010 2:00 PM, Victor Sudakov wrote: > Nikos Vassiliadis wrote: >>> Am I asking something unreasonable? >> >> Not really, but if you ask, one could say that IPFW is a "first >> match wins" firewall, so a fwd or an allow action would be the >> terminal one. You must design your rules accordingly. >> >> There is also the skipto action which can alter the way packets >> flow through the rules. >> >> Could you describe in a conrete example what you're trying to >> achieve? > > I want forwarded packets to create a dynamic "allow" rule. > You can combine fwd and keep-state. Could you be more specific? From jhs at berklix.com Tue Sep 7 13:57:21 2010 From: jhs at berklix.com (Julian H. Stacey) Date: Tue Sep 7 13:57:28 2010 Subject: enclosed: bwerror. i'm lost. In-Reply-To: Date: Tue, 6 Jul 2010 13:10:13 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100706201011.GA94757@thought.org> Message-ID: <201009071325.o87DP1lr036742@fire.js.berklix.net> I believe I have seen 3 occurences of same phenomena Gary K reported, maybe same thing as also mentioned by rannumgen@globaleyes.net which was subject of a PR kern/134914 closed Sat Jun 27 05:31:16 UTC 2009 by linimon@ I'm not clear whats going on yet, I too see the problem as self clearing on 2 of 3 hosts so far, (doesnt help to define it ;-) I wish I could make a clearer statement of fact, but I can't as yet. All I can do is join these 3 observations together so far. My ongoing notes are in http://berklix.org/~jhs/src/bsd/fixes/FreeBSD/src/gen/sys/boot/i386/\ Makefile.skip_broken_zfsboot.REL=7.3-RELEASE.diff Which contains all further URLs to mails PR etc. Before people ask me "What did you do to clear it ?" I ran my patch above, & after a make ; make install ; make world , whatever I then no longer needed my patch on the cured machine. If I could be clearer I would, but it goes away. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text, Not HTML, quoted-printable & base 64 dumped with spam. Avoid top posting, It cripples itemised cumulative responses. From sudakov at sibptus.tomsk.ru Tue Sep 7 14:52:33 2010 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Tue Sep 7 14:52:41 2010 Subject: ipfw fwd and ipfw allow In-Reply-To: <4C864145.80805@gmx.com> References: <20100822052550.GA42346@admin.sibptus.tomsk.ru> <20100907090012.GA48608@admin.sibptus.tomsk.ru> <4C8616F0.5010401@gmx.com> <20100907110033.GA51618@admin.sibptus.tomsk.ru> <4C864145.80805@gmx.com> Message-ID: <20100907145223.GA55660@admin.sibptus.tomsk.ru> Nikos Vassiliadis wrote: > >>>Am I asking something unreasonable? > >> > >>Not really, but if you ask, one could say that IPFW is a "first > >>match wins" firewall, so a fwd or an allow action would be the > >>terminal one. You must design your rules accordingly. > >> > >>There is also the skipto action which can alter the way packets > >>flow through the rules. > >> > >>Could you describe in a conrete example what you're trying to > >>achieve? > > > >I want forwarded packets to create a dynamic "allow" rule. > > > > You can combine fwd and keep-state. I hope so. I just don't understand how. > Could you be more specific? A packet generated locally 1) should be forwarded by a 'fwd' rule and 2) should create a dynamic 'allow' rule for returning traffic. Could you please suggest a ruleset for this. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From Daniel.Willacy at sch-group.com Tue Sep 7 15:52:00 2010 From: Daniel.Willacy at sch-group.com (Daniel Willacy) Date: Tue Sep 7 15:52:08 2010 Subject: FreeBSD vendors Message-ID: <3871F13F8355D549BD762579BEDDC17E01120D19B752@EXCHANGE01.sch.com> Hi, I have a client who uses FreeBSD on IBM X3550 M3 Servers (x86). The problem is that they are big supporters of both IBM and FreeBSD but they do not seem to work too well together. They are reporting problems at the RAID and hence, a massive slow down in performance. I notice from your vendor list that IBM is not mentioned. Is this because your product hasn't been tested with IBM or are there any case studies or models that you could provide to me to show that FreeBSD can work on certain IBM servers. Any advice or information would be greatly received. Thanks & best regards, Danny Danny Willacy Business Development Location: 710 Birchwood Boulevard, Birchwood, Warrington, WA3 7PS Mobile: +44 (0) 7872 544 203 e-mail: daniel.willacy@scc.com web: www.scc.com ******************************************************************************************************** The information contained in this e-mail is confidential and may be privileged. It is intended for the addressee only. If you are not the intended recipient, please delete this e-mail immediately. The contents of this e-mail must not be disclosed or copied without the sender's consent. We cannot accept any responsibility for viruses, so please scan all attachments. No changes to Terms and Conditions of trade can be accepted through e-mail communication. All changes to Terms and Conditions must be in writing evidenced by a director of the company and in hard copy format. The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the company. The company does not take any responsibility for the views of the author. ********************************************************************************************************* SPECIALIST COMPUTER HOLDINGS PLC is a company registered in England and Wales with Company No. 04279856. Registered office: James House, Warwick Road, BIRMINGHAM. B11 2LE. VAT Registration Number is GB 313 6516 80 From ross.cameron at unix.net Tue Sep 7 17:03:44 2010 From: ross.cameron at unix.net (Ross Cameron) Date: Tue Sep 7 17:03:51 2010 Subject: FreeBSD vendors In-Reply-To: <3871F13F8355D549BD762579BEDDC17E01120D19B752@EXCHANGE01.sch.com> References: <3871F13F8355D549BD762579BEDDC17E01120D19B752@EXCHANGE01.sch.com> Message-ID: Exactly what make/model/firmware revision of RAID card are we talking about here? Can you also include a dmesg dump for the list's perusal? "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. On Tue, Sep 7, 2010 at 5:24 PM, Daniel Willacy wrote: > Hi, > > I have a client who uses FreeBSD on IBM X3550 M3 Servers (x86). The problem > is that they are big supporters of both IBM and FreeBSD but they do not seem > to work too well together. They are reporting problems at the RAID and > hence, a massive slow down in performance. > > I notice from your vendor list that IBM is not mentioned. Is this because > your product hasn't been tested with IBM or are there any case studies or > models that you could provide to me to show that FreeBSD can work on certain > IBM servers. > > Any advice or information would be greatly received. > > Thanks & best regards, > > Danny > > Danny Willacy > Business Development > Location: 710 Birchwood Boulevard, Birchwood, Warrington, WA3 7PS > Mobile: +44 (0) 7872 544 203 > e-mail: daniel.willacy@scc.com > web: www.scc.com > > > > > ******************************************************************************************************** > > The information contained in this e-mail is confidential and may be > privileged. > It is intended for the addressee only. If you are not the intended > recipient, please delete > this e-mail immediately. The contents of this e-mail must not be > disclosed or copied > without the sender's consent. We cannot accept any responsibility for > viruses, so please > scan all attachments. > > No changes to Terms and Conditions of trade can be accepted through e-mail > communication. All changes to Terms and Conditions must be in writing > evidenced by > a director of the company and in hard copy format. > > The statements and opinions expressed in this message are those of the > author and > do not necessarily reflect those of the company. The company does not take > any > responsibility for the views of the author. > > > ********************************************************************************************************* > SPECIALIST COMPUTER HOLDINGS PLC is a company registered in England > and Wales with Company No. 04279856. > Registered office: James House, Warwick Road, BIRMINGHAM. B11 2LE. > VAT Registration Number is GB 313 6516 80 > _______________________________________________ > 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 tg at gmplib.org Tue Sep 7 18:26:08 2010 From: tg at gmplib.org (Torbjorn Granlund) Date: Tue Sep 7 18:26:15 2010 Subject: Need supported SAS controller Message-ID: <861v95s94x.fsf@shell.gmplib.org> Is the any PCIe SAS controller that is supported by FreeBSD 8.1 that I can purchase today? The controller should preferably be low-profile. RAID is not needed since I have just one disk, but if only RAID controllers are available, I can live with that. FreeBSD supports several controllers, but most of them seems old and impossible to purchase today. I have tried a new Adaptec 2405 but I have serious issues with data inte- grity (the beginning of the virtualised disk does not read back the same data as just written). It is unknown if this is a problem with the cont- roller or with the FreeBSD drivers. Due to technical and administrative experiences with Adaptec during this process, no other Adaptec controller will be considered, see . The Supermicro controllers listed by FreeBSD as supported seem to be rebranded Adaptec controllers, and they are therefore also disqualified. The LSI controllers FreeBSD list as supported at (with the mpt driver) are no longer in production, as far as I can tell. My hope is that some currently produced LSI controllers actually work with FreeBSD 8.1. Please help if you know something about that. -- Torbj?rn From ml at netfence.it Tue Sep 7 19:46:34 2010 From: ml at netfence.it (Andrea Venturoli) Date: Tue Sep 7 19:46:42 2010 Subject: Need supported SAS controller In-Reply-To: <861v95s94x.fsf@shell.gmplib.org> References: <861v95s94x.fsf@shell.gmplib.org> Message-ID: <4C869694.7090301@netfence.it> Il 09/07/10 20:26, Torbjorn Granlund ha scritto: > Is the any PCIe SAS controller that is supported by FreeBSD 8.1 that I > can purchase today? The controller should preferably be low-profile. > RAID is not needed since I have just one disk, but if only RAID > controllers are available, I can live with that. I have never seen a non-RAID SAS controller in my life: notice I'm not saying mean they don't exist, but everyone I used was RAID capable. That said, I'm using: Adaptec SAS RAID 3405 aac0@pci0:2:14:0: class=0x010400 card=0x02bb9005 chip=0x02859005 rev=0x00 hdr=0x00 vendor = 'Adaptec Inc' device = 'AAC-RAID RAID Controller' class = mass storage subclass = RAID Adaptec SAS RAID 3805 aac0@pci0:4:14:0: class=0x010400 card=0x02bc9005 chip=0x02859005 rev=0x00 hdr=0x00 vendor = 'Adaptec Inc' device = 'AAC-RAID RAID Controller' class = mass storage subclass = RAID Intel SRCSASJV mfi0@pci0:2:0:0: class=0x010400 card=0x10068086 chip=0x00601000 rev=0x04 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' device = 'SAS1078 PCI-X Fusion-MPT SAS' class = mass storage subclass = RAID I've also used a couple of HPs in the past: I think it was a P400, but I don't have access to those machines any more. Never had any problems with any of these; only note: I could not get access to HP management via FreeBSD, but things might possibly have changed since then. N.B. I'm using 7.x, but I see no reason why 8.1 should be more troublesome. bye av. From gvidals at gmail.com Tue Sep 7 23:06:54 2010 From: gvidals at gmail.com (Gil Vidals) Date: Tue Sep 7 23:07:00 2010 Subject: zfs enabled freebsd requires root zfs partition? In-Reply-To: References: Message-ID: The exact error message I get is: linker_load_file: Unsupported file type kldload: can't load zfs.ko: Exec format error. I would appreciate any additional guidance. In the meantime, Randal Schwartz was kind of enough to suggest PC-BSD, which includes an installer that supports ZFS, so I will check them out. --Gil Vidals On Mon, Sep 6, 2010 at 9:50 PM, Adam Vande More wrote: > On Mon, Sep 6, 2010 at 9:55 PM, Gil Vidals wrote: > >> Whenever If I used the standard install (UFS file system), I would always >> get an "unsupported file system" error whenever I tried to kldload zfs.ko. >> > > That doesn't seem like a logical error, the only occurrence of the > "unsupported file system" text in the src tree is in > /usr/src/sbin/ggate/shared/ggate.c. Can you be more specific about the > steps you are taking to reach this error, and it's exact message. > > Is there away to install FreeBSD on the standard UFS file system and then >> use the other disks on the server for ZFS? >> > > That's a very common approach. > > -- > Adam Vande More > From amvandemore at gmail.com Tue Sep 7 23:33:45 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Sep 7 23:33:52 2010 Subject: zfs enabled freebsd requires root zfs partition? In-Reply-To: References: Message-ID: On Tue, Sep 7, 2010 at 6:06 PM, Gil Vidals wrote: > The exact error message I get is: > > linker_load_file: Unsupported file type > kldload: can't load zfs.ko: Exec format error. > > I would appreciate any additional guidance. In the meantime, Randal > Schwartz was kind of enough to suggest PC-BSD, which includes an installer > that supports ZFS, so I will check them out. > Well that error makes a lot more sense, but doesn't pinpoint the exact cause. I don't know what this is: zfsinstall.sh It's not part of the base system. Without more info, my best guess is that your zfs module is out of sync with your kernel. Two things you can do, install a clean FreeBSD, and just use zfs from there. It works. Or resync the kernel/modules by rebuilding them. Make sure your src tree is in sync, eg csup with RELENG_8_1 or whatever you're trying to run Follow these instructions: http://www.freebsd.org/doc/handbook/kernelconfig-building.html Just rebuild with GENERIC to make sure no other vars are interfering. That means don't use the KERNCONF=MYKERNEL part of the line or at least set it to GENERIC. Once you have installed the new kernel, reboot and kldload zfs should work. -- Adam Vande More From bonomi at mail.r-bonomi.com Wed Sep 8 00:58:15 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Sep 8 00:58:22 2010 Subject: Regex Help For Procmail Message-ID: <201009080056.o880uIkA002196@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Tue Sep 7 14:24:56 2010 > Date: Tue, 07 Sep 2010 12:01:40 +0200 > From: Bernt Hansson > To: Drew Tomlinson > Cc: frank@shute.org.uk, perryh@pluto.rain.com, freebsd-questions@freebsd.org > Subject: Re: Regex Help For Procmail > > 2010-09-06 19:46, Drew Tomlinson skrev: > > On 9/5/2010 4:02 PM, perryh@pluto.rain.com wrote: > >> Frank Shute wrote: > >> > >>> Drew, try this: > >>> > >>> * ^From:.*famous-smoke\.com > >>> > >>> I think it's not catching it because the period isn't backslash > >>> escaped ... > >> Unless there's some edge case that I'm not thinking of, adding a > >> backslash to escape a period will never convert a non-match into > >> a match. An unescaped period in an RE matches any character, > >> including a period. An escaped period matches only a period. > > > > I have confirmed this. I did add the backslash but procmail is still not > > matching. > > > >> Adding the backslash _does_ better represent what the OP wants > >> to accomplish, but the lack of it is not the cause of the RE not > >> matching. (I'm not sufficiently familiar with how procmail uses > >> REs to figure out what _is_ causing it not to match.) > > > > True and thus I'll leave the backslash. However I have no idea what _is_ > > causing it not to match either. I'm stumped. > > I think it is the dash. Nope. dashes are 'special' *ONLY within a 'character class' (i.e., within square brackets). > Try to escape it like so: > > * ^From:.*famous\-smoke\.com > Z. From lists at eitanadler.com Wed Sep 8 01:47:04 2010 From: lists at eitanadler.com (Eitan Adler) Date: Wed Sep 8 01:47:11 2010 Subject: BWN driver error messages Message-ID: When I attempt to use the if_bwn driver I get the following messages: Is my card not supported or am I missing a step or is it something else? siba_bwn0: mem 0xf4700000-0xf4703fff irq 1 8 at device 0.0 on pci4 bwn0 on siba_bwn0 bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2) bwn0: DMA (64 bits) bwn0: Using 1 MSI messages bwn0: [FILTER] wlan0: Ethernet address: 00:21:00:e7:75:20 bwn_v4_lp_ucode15: could not load firmware image, error 2 bwn0: the fw file(bwn_v4_lp_ucode15) not found bwn-open_v4_lp_ucode15: could not load firmware image, error 2 bwn0: the fw file(bwn-open_v4_lp_ucode15) not found -- Eitan Adler From FreeBSD at insightbb.com Wed Sep 8 02:25:06 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Wed Sep 8 02:25:14 2010 Subject: BWN driver error messages In-Reply-To: References: Message-ID: <201009072224.58398.FreeBSD@insightbb.com> On Tuesday 07 September 2010 21:46:43 Eitan Adler wrote: > When I attempt to use the if_bwn driver I get the following messages: > > Is my card not supported or am I missing a step or is it something else? > > > siba_bwn0: mem 0xf4700000-0xf4703fff > irq 1 8 at device 0.0 on pci4 > bwn0 on siba_bwn0 > bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf > 0x17f ver 0x2062 rev 2) > bwn0: DMA (64 bits) > bwn0: Using 1 MSI messages > bwn0: [FILTER] > wlan0: Ethernet address: 00:21:00:e7:75:20 > bwn_v4_lp_ucode15: could not load firmware image, error 2 > bwn0: the fw file(bwn_v4_lp_ucode15) not found > bwn-open_v4_lp_ucode15: could not load firmware image, error 2 > bwn0: the fw file(bwn-open_v4_lp_ucode15) not found You need a package or port of: bwn-firmware-kmod-0.1.0 Broadcom AirForce IEEE 802.11 Firmware Kernel Module From redlamb at redlamb.net Wed Sep 8 02:42:01 2010 From: redlamb at redlamb.net (Pete Erickson) Date: Wed Sep 8 02:42:07 2010 Subject: Exporting ZFS Pool Message-ID: <20100907212501.gt31sgaog0w4g4ko@imp.redlamb.net> I'm relatively new to ZFS and have been playing around with different file-backed set ups to determine how I will eventually configure my pools. I've recently come across a problem with exporting a pool, but I'm not sure if it's a bug or just my poor understanding of ZFS. I create a simple pool using 2 128MB files. After exporting the pool, I am unable to import it and the pool is not found by the zpool command. Any advise would be appreciated. I'm currently running 8.1 STABLE. ratchet# dd if=/dev/zero of=/disk1.dd bs=1m count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 2.852547 secs (47051891 bytes/sec) ratchet# dd if=/dev/zero of=disk2.dd bs=1m count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 2.740976 secs (48967128 bytes/sec) ratchet# zpool create pool /usr/tmp/disk1.dd /usr/tmp/disk2.dd ratchet# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT pool 246M 75K 246M 0% ONLINE - ratchet# zpool status pool: pool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM pool ONLINE 0 0 0 /usr/tmp/disk1.dd ONLINE 0 0 0 /usr/tmp/disk2.dd ONLINE 0 0 0 errors: No known data errors ratchet# zpool export pool ratchet# zpool import -d . If I then attempt to recreate the pool, I get an error indicating that one of the files is a part of an exported pool. ratchet# zpool create z /usr/tmp/disk1.dd /usr/tmp/disk2.dd invalid vdev specification use '-f' to override the following errors: /usr/tmp/disk1.dd is part of exported pool 'pool' -- Pete Erickson redlamb _at_ redlamb _dot_ net From cyberleo at cyberleo.net Wed Sep 8 05:48:53 2010 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Wed Sep 8 05:49:01 2010 Subject: Need supported SAS controller In-Reply-To: <4C869694.7090301@netfence.it> References: <861v95s94x.fsf@shell.gmplib.org> <4C869694.7090301@netfence.it> Message-ID: <4C8723C2.6030002@cyberleo.net> On 09/07/2010 02:46 PM, Andrea Venturoli wrote: > Il 09/07/10 20:26, Torbjorn Granlund ha scritto: >> Is the any PCIe SAS controller that is supported by FreeBSD 8.1 that I >> can purchase today? The controller should preferably be low-profile. >> RAID is not needed since I have just one disk, but if only RAID >> controllers are available, I can live with that. > > I have never seen a non-RAID SAS controller in my life: notice I'm not > saying mean they don't exist, but everyone I used was RAID capable. I'm currently using a Perc5i PCIe 2-port SAS controller in production on 7.2-RELEASE amd64. It's whatever came with the Dell PowerEdge 1950 I'm running, and it's been rock-solid; no RAID capabilities at all, but hosts a gmirror just fine. It identifies as such: mpt0@pci0:2:8:0: class=0x010000 card=0x1f061028 chip=0x00541000 rev=0x01 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' device = 'SAS 3000 series, 8-port with 1068 -StorPort' class = mass storage subclass = SCSI -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From cyberleo at cyberleo.net Wed Sep 8 06:20:10 2010 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Wed Sep 8 06:20:16 2010 Subject: Exporting ZFS Pool In-Reply-To: <20100907212501.gt31sgaog0w4g4ko@imp.redlamb.net> References: <20100907212501.gt31sgaog0w4g4ko@imp.redlamb.net> Message-ID: <4C872B17.3020606@cyberleo.net> On 09/07/2010 09:25 PM, Pete Erickson wrote: > I'm relatively new to ZFS and have been playing around with different > file-backed set ups to determine how I will eventually configure my > pools. I've recently come across a problem with exporting a pool, but > I'm not sure if it's a bug or just my poor understanding of ZFS. I > create a simple pool using 2 128MB files. After exporting the pool, I am > unable to import it and the pool is not found by the zpool command. Any > advise would be appreciated. I'm currently running 8.1 STABLE. Curious, neither can I (8.1-RELEASE): (f84104b2)[cyberleo@akisha /tmp/zp]$ truncate -s 256m d1 d2 (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool create pool /tmp/zp/d1 /tmp/zp/d2 (f84104b2)[cyberleo@akisha /tmp/zp]$ zpool status pool pool: pool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM pool ONLINE 0 0 0 /tmp/zp/d1 ONLINE 0 0 0 /tmp/zp/d2 ONLINE 0 0 0 errors: No known data errors (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool export pool (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool import -d . pool: pool id: 16288839965492350952 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: http://www.sun.com/msg/ZFS-8000-6X config: pool UNAVAIL missing device /tmp/zp/d1 ONLINE Additional devices are known to be part of this pool, though their exact configuration cannot be determined. > If I then attempt to recreate the pool, I get an error indicating that > one of the files is a part of an exported pool. > > ratchet# zpool create z /usr/tmp/disk1.dd /usr/tmp/disk2.dd > invalid vdev specification > use '-f' to override the following errors: > /usr/tmp/disk1.dd is part of exported pool 'pool' 'zpool create' starts over from scratch, and will destroy all data on the target devices; thus, it warns you if it detects that they are part of an old pool. You must tell it that you intend to obliterate the old pool to create a fresh new one. This is intentional. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From olli at lurza.secnetix.de Wed Sep 8 08:00:28 2010 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Sep 8 08:00:56 2010 Subject: SOLVED: serious (for me) Xorg 7.5 mouse/kbd problem in 8.1-STABLE In-Reply-To: Message-ID: <201009080800.o8880AZj009667@lurza.secnetix.de> William Bulley wrote: > See below for details of solution. > [...] > This problem is known (and fixed) in newer versions of xorg-server. > > See this URL for details of the problem. > > > > I have also attached the changes I made to the dit/events.c file. Thank you very much for sharing the solution! I've been having similar problems with olvwm recently (apart from the fact that it doesn't work on amd64, but that's a different story). It keeps forgetting grabs every now and then, forcing me to restart the session. The description at the above URL sounds like it should be applicable to my problem, too. I'm going to rebuild my X server with that patch ASAP. I wish all of the recent xorg problems would be that easy to fix (such as Ctrl-Alt-Fx not working anymore). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Above all, they contribute to the genetic diversity in the operating system pool. Which is a good thing." -- Ruben van Staveren, on the question which BSD OS is the best one. From tg at gmplib.org Wed Sep 8 08:48:28 2010 From: tg at gmplib.org (Torbjorn Granlund) Date: Wed Sep 8 08:48:34 2010 Subject: Need supported SAS controller In-Reply-To: (Matthias Gamsjager's message of "Wed\, 8 Sep 2010 10\:20\:39 +0200") References: <861v95s94x.fsf@shell.gmplib.org> Message-ID: <86eid4sjs5.fsf@shell.gmplib.org> Matthias Gamsjager writes: > > The Supermicro controllers listed by FreeBSD as supported seem to be > rebranded Adaptec controllers, and they are therefore also disqualified. > The supermicro usas-l8i http://www.supermicro.com/products/accessories/addon/AOC-USAS-L8i.cfm uses a LSI chip (LSISAS 1068E SAS controller ) and works great under FB8.1 Thanks. Unfortunately, these cards fit just in supermicro motherboards, since they have they are reversed/mirrored compared to normal PCIe cards. (I have a Tyan S8005.) -- Torbj?rn From mgamsjager at gmail.com Wed Sep 8 08:48:59 2010 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Wed Sep 8 08:49:05 2010 Subject: Need supported SAS controller In-Reply-To: <861v95s94x.fsf@shell.gmplib.org> References: <861v95s94x.fsf@shell.gmplib.org> Message-ID: > > The Supermicro controllers listed by FreeBSD as supported seem to be > rebranded Adaptec controllers, and they are therefore also disqualified. > The supermicro usas-l8i http://www.supermicro.com/products/accessories/addon/AOC-USAS-L8i.cfm uses a LSI chip (LSISAS 1068E SAS controller ) and works great under FB8.1 From mgamsjager at gmail.com Wed Sep 8 08:56:18 2010 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Wed Sep 8 08:56:25 2010 Subject: Need supported SAS controller In-Reply-To: <86eid4sjs5.fsf@shell.gmplib.org> References: <861v95s94x.fsf@shell.gmplib.org> <86eid4sjs5.fsf@shell.gmplib.org> Message-ID: > > Unfortunately, these cards fit just in supermicro motherboards, since > they have they are reversed/mirrored compared to normal PCIe cards. > > (I have a Tyan S8005.) > > -- > Torbj?rn Well it's just the bracket. You can unmount it and replace it with another bracket. The card is up side down thats true but thats all. Works in every pci-e 8 slot. You can order a replacement bracket for couple of bucks. From david at vizion2000.net Wed Sep 8 09:01:31 2010 From: david at vizion2000.net (David Southwell) Date: Wed Sep 8 09:01:38 2010 Subject: Browser choices & flash Message-ID: <201009080945.48847.david@vizion2000.net> Hi One of our freebsd systems is a user terminal with desktop. We have constant difficulties with web browsing on that platform. Here is the data 1. INFO: System: freebsd 7.2-RELEASE-p3 - GENERIC amd64 Desktop: kde4.5.1 Current installed web browser stuff: konqueror 4.5.1 epiphany-2.30.2_1 firefox-3.5.11,1 flashplugin-mozilla-0.4.13_5 A GPL standalone Flash (TM) plugin for Mozilla web browser kwebkitpart-0.9.6.b1_1 Web browser component for KDE based on QtWebKit links-0.98,1 Lynx-like text WWW browser seamonkey-2.0.6 The open source, standards compliant web browser w3m-0.5.2_4 A pager/text-based WWW browser webkit-gtk2-1.2.3 An opensource browser engine 2. PROBLEMS Frequent crashing of all available browsers - seems to be flash related. 3. ADVICE PLEASE Most reliable browser combination and recomendations of specific port combinations which can deliver reliable browsing including flash capability. Thanks in advance Photographic Artist Permanent Installations & Design Creative Imagery and Advanced Digital Techniques High Dynamic Range Photography & Official Portraiture Combined darkroom & digital creations & Systems Adminstrator for the vizion2000.net network From mgamsjager at gmail.com Wed Sep 8 09:11:11 2010 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Wed Sep 8 09:11:30 2010 Subject: Need supported SAS controller In-Reply-To: References: <861v95s94x.fsf@shell.gmplib.org> <86eid4sjs5.fsf@shell.gmplib.org> Message-ID: On Wed, Sep 8, 2010 at 10:55 AM, Matthias Gamsjager wrote: >> >> Unfortunately, these cards fit just in supermicro motherboards, since >> they have they are reversed/mirrored compared to normal PCIe cards. >> >> (I have a Tyan S8005.) >> >> -- >> Torbj?rn > > Well it's just the bracket. You can unmount it and replace it with > another bracket. The card is up side down thats true but thats all. > Works in every pci-e 8 slot. You can order a replacement bracket for > couple of bucks. > The bracket I was talking about: http://www.mail-archive.com/zfs-discuss@opensolaris.org/msg38227.html From nvass9573 at gmx.com Wed Sep 8 09:18:39 2010 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Wed Sep 8 09:18:47 2010 Subject: ipfw fwd and ipfw allow In-Reply-To: <20100907145223.GA55660@admin.sibptus.tomsk.ru> References: <20100822052550.GA42346@admin.sibptus.tomsk.ru> <20100907090012.GA48608@admin.sibptus.tomsk.ru> <4C8616F0.5010401@gmx.com> <20100907110033.GA51618@admin.sibptus.tomsk.ru> <4C864145.80805@gmx.com> <20100907145223.GA55660@admin.sibptus.tomsk.ru> Message-ID: <4C8754CD.6030003@gmx.com> On 9/7/2010 5:52 PM, Victor Sudakov wrote: > A packet generated locally 1) should be forwarded by a 'fwd' > rule and 2) should create a dynamic 'allow' rule for returning > traffic. Could you please suggest a ruleset for this. The fw has the 10.0.0.1 IP address. The 10.0.0.100 IP address belongs to another computer running a TCP service at 9999. The IPFW rules: > fw# ipfw list > 00100 fwd 10.0.0.100 tcp from any to 10.90.10.3 dst-port 9999 keep-state > 00200 deny ip from any to any > 65535 allow ip from any to any Trying to connect to TCP 9998 fails because of rule 200: > fw# nc -v 10.90.10.3 9998 > nc: connect to 10.90.10.3 port 9998 (tcp) failed: Permission denied While trying to connect to TCP 9999 succeeds and creates a IPFW state: > fw# nc -v 10.90.10.3 9999 > Connection to 10.90.10.3 9999 port [tcp/*] succeeded! > ^Z > Suspended > fw# ipfw -d show > 00100 61 3315 fwd 10.0.0.100 tcp from any to 10.90.10.3 dst-port 9999 keep-state > 00200 45 2644 deny ip from any to any > 65535 0 0 allow ip from any to any > ## Dynamic rules (9): > 00100 2 112 (292s) STATE tcp 10.0.0.1 27320 <-> 10.90.10.3 9999 > fw# HTH, Nikos From ashukaul at gmail.com Wed Sep 8 09:30:10 2010 From: ashukaul at gmail.com (Ashutosh Kaul) Date: Wed Sep 8 11:14:34 2010 Subject: Fwd: Problem :System getting hung @ Trying to mount root /dev/.... In-Reply-To: References: Message-ID: Julian, told me to forward it to this group.. I would appreciate any help in this regard thanks, ashu ---------- Forwarded message ---------- From: Ashutosh Kaul Date: Wed, Sep 8, 2010 at 8:58 AM Subject: Problem :System getting hung @ Trying to mount root /dev/.... To: freebsd-user-groups@freebsd.org Hi All,, First I Apologize if this would be not the right forum to ask this question.I have a Freebsd 6.4 running system with disk mirrored on a HP DL . Now I am pulling one hard disk from the Server and putting in the first slot of the Second Server.(Trying to build the exact replica) The 2nd servers boots up perfectly fine but it get stuck @ "Trying to Mount root /dev/" When I try to run it in single user mode. It gives me a shell and when I run 'fsck' the keyboard just hangs and I have to hard boot the system again. Any pointers what I may be doing wrong ? Appreciate your help. regards, Ashu From roberthuff at rcn.com Wed Sep 8 11:46:55 2010 From: roberthuff at rcn.com (Robert Huff) Date: Wed Sep 8 11:47:03 2010 Subject: Browser choices & flash In-Reply-To: <201009080945.48847.david@vizion2000.net> References: <201009080945.48847.david@vizion2000.net> Message-ID: <19591.30637.289885.767759@jerusalem.litteratus.org> David Southwell writes: > One of our freebsd systems is a user terminal with desktop. We > have constant difficulties with web browsing on that > platform. Here is the data > 2. PROBLEMS > Frequent crashing of all available browsers - seems to be flash related. > > 3. ADVICE PLEASE > Most reliable browser combination and recomendations of specific > port combinations which can deliver reliable browsing including > flash capability. What "works" for me - doesn't crash, but sometimes can't handle the content - is: firefox-3.6.8 (or) seamonkey-2.0.6 nspluginwrapper-1.2.2_7 linux-f10-flashplugin-10.1r82 installed per the Handbook. A minor annoyance is the wrapper doesn't exit cleanly and tends to leave hung jobs; not noticeable resource sink, until you have 20+ of them .... Robert Huff From guru at unixarea.de Wed Sep 8 13:07:34 2010 From: guru at unixarea.de (Matthias Apitz) Date: Wed Sep 8 13:07:43 2010 Subject: ports: customer database Message-ID: <20100908130728.GA4909@current.Sisis.de> Hello, I'm looking for something which can be used as a small customer database to store: name, contacts, system environment, comments; it should be managed via browser; is the something in the ports or some other Open Source, ready for FreeBSD (before building something by my own based on GNATS, for example). Any ideas? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From fortezza at mechanicalism.net Wed Sep 8 13:44:45 2010 From: fortezza at mechanicalism.net (Jason Fortezzo) Date: Wed Sep 8 13:45:00 2010 Subject: Need supported SAS controller In-Reply-To: References: <861v95s94x.fsf@shell.gmplib.org> Message-ID: <20100908132911.GA29019@alderaan.mechanicalism.net> On Wed, Sep 08, 2010 at 10:20:39AM +0200, Matthias Gamsjager wrote: > The supermicro usas-l8i > http://www.supermicro.com/products/accessories/addon/AOC-USAS-L8i.cfm > uses a LSI chip (LSISAS 1068E SAS controller ) and works great under > FB8.1 FYI, I bought one for my Supermicro X7SB3 motherboard and it didn't work. I had to end up buying an Intel SASUC8I which is just an OEM LSI SAS3081E-R. -- Jason Fortezzo fortezza@mechanicalism.net From nec556 at retena.com Wed Sep 8 14:13:09 2010 From: nec556 at retena.com (Eduardo) Date: Wed Sep 8 14:13:17 2010 Subject: Need supported SAS controller In-Reply-To: <86eid4sjs5.fsf@shell.gmplib.org> References: <861v95s94x.fsf@shell.gmplib.org> <86eid4sjs5.fsf@shell.gmplib.org> Message-ID: <4C593D22004F841A@> (added by postmaster@resmaa14.ono.com) On Wed, 08 Sep 2010 10:48:26 +0200 Torbjorn Granlund wrote: > Matthias Gamsjager writes: > > > > > The Supermicro controllers listed by FreeBSD as supported seem to > > be rebranded Adaptec controllers, and they are therefore also > > disqualified. > > > > The supermicro usas-l8i > http://www.supermicro.com/products/accessories/addon/AOC-USAS-L8i.cfm > uses a LSI chip (LSISAS 1068E SAS controller ) and works great under > FB8.1 > > Thanks. > > Unfortunately, these cards fit just in supermicro motherboards, since > they have they are reversed/mirrored compared to normal PCIe cards. > > (I have a Tyan S8005.) > Don't know why they do that. But be careful because HTX/HNC (Hypertransport) connections are the same as PCIe but reversed and incompatible, check it before plugin anything. HTX is used to connect 2 motherboards via hypertransport (up to 51.2 GB/sec for now), connect expansion cards, etc... http://www.hypertransport.org/ http://www.hypertransport.org/default.cfm?page=ProductsHTXProducts HTH From mgamsjager at gmail.com Wed Sep 8 14:17:21 2010 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Wed Sep 8 14:17:28 2010 Subject: Need supported SAS controller In-Reply-To: <20100908132911.GA29019@alderaan.mechanicalism.net> References: <861v95s94x.fsf@shell.gmplib.org> <20100908132911.GA29019@alderaan.mechanicalism.net> Message-ID: > > FYI, I bought one for my Supermicro X7SB3 motherboard and it didn't work. > I had to end up buying an Intel SASUC8I which is just an OEM LSI > SAS3081E- hmm strange because I have one running right here with the MPT driver. even mptutils works with it. And if you google it then you will find couple of positive reactions. Check the freebsd forums. From lists at eitanadler.com Wed Sep 8 14:22:05 2010 From: lists at eitanadler.com (Eitan Adler) Date: Wed Sep 8 14:22:14 2010 Subject: BWN driver error messages In-Reply-To: <201009072224.58398.FreeBSD@insightbb.com> References: <201009072224.58398.FreeBSD@insightbb.com> Message-ID: On Tue, Sep 7, 2010 at 10:24 PM, Steven Friedrich wrote: > On Tuesday 07 September 2010 21:46:43 Eitan Adler wrote: >> When I attempt to use the if_bwn driver I get the following messages: >> >> Is my card not supported or am I missing a step or is it something else? >> ... > You need a package or port of: > ?bwn-firmware-kmod-0.1.0 Broadcom AirForce IEEE 802.11 Firmware Kernel Module > The closest port I find is net/bwi-firmware-kmod # locate bwn-|grep ports|wc -l 0 When I searched for firmware using make quicksearch key="firmware" I found net/bwn-firmware-kmod but it does not exist ls -lao /usr/ports/net/bwn-firmware-kmod ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory -- Eitan Adler From mgamsjager at gmail.com Wed Sep 8 14:22:55 2010 From: mgamsjager at gmail.com (Matthias Gamsjager) Date: Wed Sep 8 14:23:10 2010 Subject: Need supported SAS controller In-Reply-To: <7400470299185520142@unknownmsgid> References: <861v95s94x.fsf@shell.gmplib.org> <86eid4sjs5.fsf@shell.gmplib.org> <7400470299185520142@unknownmsgid> Message-ID: > Don't know why they do that. But be careful because HTX/HNC > (Hypertransport) connections are the same as PCIe but reversed > and incompatible, check it before plugin anything. > > HTX is used to connect 2 motherboards via hypertransport (up to 51.2 > GB/sec for now), connect expansion cards, etc... Well I think most users will see what is a HTX slot and what is a pci-e8 slot. And if you dont then check your motherboard manual. From redlamb at redlamb.net Wed Sep 8 14:36:49 2010 From: redlamb at redlamb.net (Pete Erickson) Date: Wed Sep 8 14:36:57 2010 Subject: Exporting ZFS Pool In-Reply-To: <4C872B17.3020606@cyberleo.net> References: <20100907212501.gt31sgaog0w4g4ko@imp.redlamb.net> <4C872B17.3020606@cyberleo.net> Message-ID: <20100908093648.1vt3q2ut4wkk0g0g@imp.redlamb.net> On Wed Sep 8 01:20:07 2010, CyberLeo Kitsana wrote: > On 09/07/2010 09:25 PM, Pete Erickson wrote: >> I'm relatively new to ZFS and have been playing around with different >> file-backed set ups to determine how I will eventually configure my >> pools. I've recently come across a problem with exporting a pool, but >> I'm not sure if it's a bug or just my poor understanding of ZFS. I >> create a simple pool using 2 128MB files. After exporting the pool, I am >> unable to import it and the pool is not found by the zpool command. Any >> advise would be appreciated. I'm currently running 8.1 STABLE. > > Curious, neither can I (8.1-RELEASE): > > (f84104b2)[cyberleo@akisha /tmp/zp]$ truncate -s 256m d1 d2 > (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool create pool /tmp/zp/d1 > /tmp/zp/d2 > (f84104b2)[cyberleo@akisha /tmp/zp]$ zpool status pool > pool: pool > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > pool ONLINE 0 0 0 > /tmp/zp/d1 ONLINE 0 0 0 > /tmp/zp/d2 ONLINE 0 0 0 > > errors: No known data errors > (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool export pool > (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool import -d . > pool: pool > id: 16288839965492350952 > state: UNAVAIL > status: One or more devices are missing from the system. > action: The pool cannot be imported. Attach the missing > devices and try again. > see: http://www.sun.com/msg/ZFS-8000-6X > config: > > pool UNAVAIL missing device > /tmp/zp/d1 ONLINE > > Additional devices are known to be part of this pool, though their > exact configuration cannot be determined. I have received this error several times as well... it appears to be very inconsistent. I feel better that I'm not the only one having this problem. From FreeBSD at insightbb.com Wed Sep 8 14:41:38 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Wed Sep 8 14:41:45 2010 Subject: BWN driver error messages In-Reply-To: References: <201009072224.58398.FreeBSD@insightbb.com> Message-ID: <201009081041.21361.FreeBSD@insightbb.com> On Wednesday 08 September 2010 10:21:44 Eitan Adler wrote: > On Tue, Sep 7, 2010 at 10:24 PM, Steven Friedrich wrote: > > On Tuesday 07 September 2010 21:46:43 Eitan Adler wrote: > >> When I attempt to use the if_bwn driver I get the following messages: > >> > >> Is my card not supported or am I missing a step or is it something else? > > ... > > > You need a package or port of: > > bwn-firmware-kmod-0.1.0 Broadcom AirForce IEEE 802.11 Firmware Kernel > > Module > > The closest port I find is > > net/bwi-firmware-kmod > > > # locate bwn-|grep ports|wc -l > 0 > > When I searched for firmware using make quicksearch key="firmware" I > found net/bwn-firmware-kmod but it does not exist > > ls -lao /usr/ports/net/bwn-firmware-kmod > ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory See http://www.freebsd.org/cgi/ports.cgi?query=bwn-firmware-kmod+&stype=all You should have a directory under /usr/ports/net named bwn-firmware-kmod. If you don't, then you need to update your ports skeleton. You should also be able to just use a package, like: pkg_fetch bwn-firmware-kmod or with portupgrade -N bwn-firmware-kmod HTH. From FreeBSD at insightbb.com Wed Sep 8 14:44:43 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Wed Sep 8 14:44:50 2010 Subject: BWN driver error messages In-Reply-To: References: <201009072224.58398.FreeBSD@insightbb.com> Message-ID: <201009081044.41114.FreeBSD@insightbb.com> On Wednesday 08 September 2010 10:21:44 Eitan Adler wrote: > On Tue, Sep 7, 2010 at 10:24 PM, Steven Friedrich wrote: > > On Tuesday 07 September 2010 21:46:43 Eitan Adler wrote: > >> When I attempt to use the if_bwn driver I get the following messages: > >> > >> Is my card not supported or am I missing a step or is it something else? > > ... > > > You need a package or port of: > > bwn-firmware-kmod-0.1.0 Broadcom AirForce IEEE 802.11 Firmware Kernel > > Module > > The closest port I find is > > net/bwi-firmware-kmod > > > # locate bwn-|grep ports|wc -l > 0 > > When I searched for firmware using make quicksearch key="firmware" I > found net/bwn-firmware-kmod but it does not exist > > ls -lao /usr/ports/net/bwn-firmware-kmod > ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory I'm sorry, I read your post too quickly and missed where you clearly stated the problem. You said: > ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory This indicates that you need to update your ports tree. Do you know how? From lists at eitanadler.com Wed Sep 8 14:50:27 2010 From: lists at eitanadler.com (Eitan Adler) Date: Wed Sep 8 14:50:34 2010 Subject: BWN driver error messages In-Reply-To: <201009081044.41114.FreeBSD@insightbb.com> References: <201009072224.58398.FreeBSD@insightbb.com> <201009081044.41114.FreeBSD@insightbb.com> Message-ID: On Wed, Sep 8, 2010 at 10:44 AM, Steven Friedrich wrote: > On Wednesday 08 September 2010 10:21:44 Eitan Adler wrote: >> On Tue, Sep 7, 2010 at 10:24 PM, Steven Friedrich > wrote: >> > On Tuesday 07 September 2010 21:46:43 Eitan Adler wrote: >> >> When I attempt to use the if_bwn driver I get the following messages: >> >> >> >> Is my card not supported or am I missing a step or is it something else? >> >> ... >> >> > You need a package or port of: >> > ?bwn-firmware-kmod-0.1.0 Broadcom AirForce IEEE 802.11 Firmware Kernel >> > Module >> >> The closest port I find is >> >> net/bwi-firmware-kmod >> >> >> # locate bwn-|grep ports|wc -l >> ? ? ? ?0 >> >> When I searched for firmware using make quicksearch key="firmware" I >> found net/bwn-firmware-kmod but it does not exist >> >> ls -lao /usr/ports/net/bwn-firmware-kmod >> ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory > > I'm sorry, I read your post too quickly and missed where you clearly stated > the problem. > > You said: >> ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory > This indicates that you need to update your ports tree. ?Do you know how? > [root@AlphaBeta ~ ]# !portsn [root@AlphaBeta ~ ]# portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Latest snapshot on server matches what we already have. No updates needed. Removing old files and directories... done. Extracting new files: Building new INDEX files... done. [root@AlphaBeta ~ ]# grep "REFUSE" /etc/portsnap.conf # can cause problems due to missing dependencies. If you have REFUSE REFUSE arabic chinese french german hungarian japanese REFUSE korean polish portuguese russian ukrainian vietnamese -- Eitan Adler From nec556 at retena.com Wed Sep 8 14:53:54 2010 From: nec556 at retena.com (Eduardo) Date: Wed Sep 8 14:54:01 2010 Subject: Need supported SAS controller In-Reply-To: References: <861v95s94x.fsf@shell.gmplib.org> <86eid4sjs5.fsf@shell.gmplib.org> <7400470299185520142@unknownmsgid> Message-ID: <4C593CFD004FB8F0@> (added by postmaster@resmaa12.ono.com) On Wed, 8 Sep 2010 16:22:24 +0200 Matthias Gamsjager wrote: > > Don't know why they do that. But be careful because HTX/HNC > > (Hypertransport) connections are the same as PCIe but reversed > > and incompatible, check it before plugin anything. > > > > HTX is used to connect 2 motherboards via hypertransport (up to 51.2 > > GB/sec for now), connect expansion cards, etc... > > Well I think most users will see what is a HTX slot and what is a > pci-e8 slot. And if you dont then check your motherboard manual. I thought he doesn't know HTX slots exists and how are them, because he said "since they have they are reversed/mirrored compared to normal PCIe cards". He can shortcircuit/damage something if plugin a pcie card, so i advise him. But you are right, if in doubt read the manual. From FreeBSD at insightbb.com Wed Sep 8 15:04:25 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Wed Sep 8 15:04:33 2010 Subject: BWN driver error messages In-Reply-To: References: <201009081044.41114.FreeBSD@insightbb.com> Message-ID: <201009081104.02996.FreeBSD@insightbb.com> On Wednesday 08 September 2010 10:49:54 Eitan Adler wrote: > On Wed, Sep 8, 2010 at 10:44 AM, Steven Friedrich wrote: > > On Wednesday 08 September 2010 10:21:44 Eitan Adler wrote: > >> On Tue, Sep 7, 2010 at 10:24 PM, Steven Friedrich > >> > > > > wrote: > >> > On Tuesday 07 September 2010 21:46:43 Eitan Adler wrote: > >> >> When I attempt to use the if_bwn driver I get the following messages: > >> >> > >> >> Is my card not supported or am I missing a step or is it something > >> >> else? > >> > >> ... > >> > >> > You need a package or port of: > >> > bwn-firmware-kmod-0.1.0 Broadcom AirForce IEEE 802.11 Firmware Kernel > >> > Module > >> > >> The closest port I find is > >> > >> net/bwi-firmware-kmod > >> > >> > >> # locate bwn-|grep ports|wc -l > >> 0 > >> > >> When I searched for firmware using make quicksearch key="firmware" I > >> found net/bwn-firmware-kmod but it does not exist > >> > >> ls -lao /usr/ports/net/bwn-firmware-kmod > >> ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory > > > > I'm sorry, I read your post too quickly and missed where you clearly > > stated the problem. > > > > You said: > >> ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory > > > > This indicates that you need to update your ports tree. Do you know how? > > [root@AlphaBeta ~ ]# !portsn > [root@AlphaBeta ~ ]# portsnap fetch update > Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. > Fetching snapshot tag from portsnap5.FreeBSD.org... done. > Latest snapshot on server matches what we already have. > No updates needed. > Removing old files and directories... done. > Extracting new files: > Building new INDEX files... done. > [root@AlphaBeta ~ ]# grep "REFUSE" /etc/portsnap.conf > # can cause problems due to missing dependencies. If you have REFUSE > REFUSE arabic chinese french german hungarian japanese > REFUSE korean polish portuguese russian ukrainian vietnamese I'm not familiar with portsnap, so I'll let someone else troublehoot that. But I want to mention that the port was added to the tree six months ago... From lists at eitanadler.com Wed Sep 8 15:15:26 2010 From: lists at eitanadler.com (Eitan Adler) Date: Wed Sep 8 15:15:33 2010 Subject: BWN driver error messages In-Reply-To: <201009081104.02996.FreeBSD@insightbb.com> References: <201009081044.41114.FreeBSD@insightbb.com> <201009081104.02996.FreeBSD@insightbb.com> Message-ID: > I'm not familiar with portsnap, so I'll let someone else troublehoot that. > But I want to mention that the port was added to the tree six months ago... > I checked it out from CVS and installed the port. I'll test the wireless soon. -- Eitan Adler From bdsfbsd at att.net Wed Sep 8 14:30:26 2010 From: bdsfbsd at att.net (bdsfbsd@att.net) Date: Wed Sep 8 15:35:15 2010 Subject: Browser choices & flash In-Reply-To: <19591.30637.289885.767759@jerusalem.litteratus.org> References: <201009080945.48847.david@vizion2000.net> <19591.30637.289885.767759@jerusalem.litteratus.org> Message-ID: On Wed, 08 Sep 2010 07:46:53 -0400, Robert Huff wrote: > > David Southwell writes: > [snip] >> 3. ADVICE PLEASE >> Most reliable browser combination and recomendations of specific >> port combinations which can deliver reliable browsing including >> flash capability. > > What "works" for me - doesn't crash, but sometimes can't handle > the content - is: > > firefox-3.6.8 (or) > seamonkey-2.0.6 > nspluginwrapper-1.2.2_7 > linux-f10-flashplugin-10.1r82 > > installed per the Handbook. A minor annoyance is the wrapper > doesn't exit cleanly and tends to leave hung jobs; not noticeable > resource sink, until you have 20+ of them .... > > > Robert Huff Here is a possible fix available to the hung jobs problem: http://forums.freebsd.org/showpost.php?p=91872&postcount=5 (Not my work, I'm just pointing to it.) Although instead of a cron job I actually just use a launcher on a desktop panel that does killall -9 npviewer.bin (and IIRC rm npviewer.bin.core* or something like that, sorry it isn't in front of me right now.) This works for me because I only really need it after the wife has been playing games on Facebook using Firefox. I use Opera with www/opera-linuxplugins and don't have any problems. B From drew at mykitchentable.net Wed Sep 8 16:22:37 2010 From: drew at mykitchentable.net (Drew Tomlinson) Date: Wed Sep 8 16:22:45 2010 Subject: Regex Help For Procmail In-Reply-To: <201009080050.o880oZli002150@mail.r-bonomi.com> References: <201009080050.o880oZli002150@mail.r-bonomi.com> Message-ID: <4C87B844.4090505@mykitchentable.net> On 9/7/2010 5:50 PM, Robert Bonomi wrote: >> From owner-freebsd-questions@freebsd.org Mon Sep 6 12:46:59 2010 >> Date: Mon, 06 Sep 2010 10:46:47 -0700 >> From: Drew Tomlinson >> To: perryh@pluto.rain.com >> Cc: frank@shute.org.uk, freebsd-questions@freebsd.org >> Subject: Re: Regex Help For Procmail >> >> On 9/5/2010 4:02 PM, perryh@pluto.rain.com wrote: >>> Frank Shute wrote: >>> >>>> Drew, try this: >>>> >>>> * ^From:.*famous-smoke\.com >>>> >>>> I think it's not catching it because the period isn't backslash >>>> escaped ... >>> Unless there's some edge case that I'm not thinking of, adding a >>> backslash to escape a period will never convert a non-match into >>> a match. An unescaped period in an RE matches any character, >>> including a period. An escaped period matches only a period. >> I have confirmed this. I did add the backslash but procmail is still >> not matching. >> >>> Adding the backslash _does_ better represent what the OP wants >>> to accomplish, but the lack of it is not the cause of the RE not >>> matching. (I'm not sufficiently familiar with how procmail uses >>> REs to figure out what _is_ causing it not to match.) >> True and thus I'll leave the backslash. However I have no idea what >> _is_ causing it not to match either. I'm stumped. > Chances are you're 'over-specifying' what you want. take off the trailing > $, and maybe even the '>' > > There's _something_ in the header that is not what you 'think' it is, > which is what is causing the problem. the difficulty is -finding- what > that 'something' is. > > From whatever file procmail is dumping that message into, try using a > minimal text editor (something that is *NOT* language/charset aware, > delete everything _but_ that 'From: ' line, and then use that as input > to 'od -xc' to see _exactly_ what's there. > Here is that output: blacklamb> od -xc x 0000000 7246 6d6f 203a 4622 6d61 756f 2073 6d53 F r o m : " F a m o u s S m 0000020 6b6f 2065 6853 706f 2022 413c 6e6e 756f o k e S h o p " < A n n o u 0000040 636e 4065 6d65 6961 2e6c 6166 6f6d 7375 n c e @ e m a i l . f a m o u s 0000060 732d 6f6d 656b 632e 6d6f 0a3e - s m o k e . c o m > \n And this procmail recipe does *not* match: # Deliver other email to folder :0 * ^From:.*famous-smoke\.com "${HOME}/Maildir/.Shopping/Famous Smoke/Email/" Do you see anything I'm missing? Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From dnelson at allantgroup.com Wed Sep 8 16:49:10 2010 From: dnelson at allantgroup.com (Dan Nelson) Date: Wed Sep 8 16:49:21 2010 Subject: Exporting ZFS Pool In-Reply-To: <20100908093648.1vt3q2ut4wkk0g0g@imp.redlamb.net> References: <20100907212501.gt31sgaog0w4g4ko@imp.redlamb.net> <4C872B17.3020606@cyberleo.net> <20100908093648.1vt3q2ut4wkk0g0g@imp.redlamb.net> Message-ID: <20100908164908.GA89940@dan.emsphone.com> In the last episode (Sep 08), Pete Erickson said: > On Wed Sep 8 01:20:07 2010, CyberLeo Kitsana wrote: > > On 09/07/2010 09:25 PM, Pete Erickson wrote: > >> I'm relatively new to ZFS and have been playing around with different > >> file-backed set ups to determine how I will eventually configure my > >> pools. I've recently come across a problem with exporting a pool, but > >> I'm not sure if it's a bug or just my poor understanding of ZFS. I > >> create a simple pool using 2 128MB files. After exporting the pool, I am > >> unable to import it and the pool is not found by the zpool command. Any > >> advise would be appreciated. I'm currently running 8.1 STABLE. > > > > Curious, neither can I (8.1-RELEASE): > > > > (f84104b2)[cyberleo@akisha /tmp/zp]$ truncate -s 256m d1 d2 > > (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool create pool /tmp/zp/d1 /tmp/zp/d2 Try using mdconfig to attach these files as disk devices. "mdconfig -a -t vnode -f /tmp/zp/d1" and "-f /tmp/zp/d2" (you'll get two md# devices), then see if the zpool import command is any happier. It may be looking for disk devices and not files. -- Dan Nelson dnelson@allantgroup.com From rsmith at xs4all.nl Wed Sep 8 16:55:14 2010 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Sep 8 16:55:22 2010 Subject: Browser choices & flash In-Reply-To: <201009080945.48847.david@vizion2000.net> References: <201009080945.48847.david@vizion2000.net> Message-ID: <20100908165511.GA64401@slackbox.erewhon.net> On Wed, Sep 08, 2010 at 09:45:48AM +0100, David Southwell wrote: > Hi > One of our freebsd systems is a user terminal with desktop. We have constant > difficulties with web browsing on that platform. Here is the data > > 1. INFO: > System: > freebsd 7.2-RELEASE-p3 - GENERIC amd64 > Desktop: > kde4.5.1 > Current installed web browser stuff: > konqueror 4.5.1 > epiphany-2.30.2_1 > firefox-3.5.11,1 > flashplugin-mozilla-0.4.13_5 A GPL standalone Flash (TM) plugin for Mozilla This plugin is now five years old, and doesn't seem to be in active development anymore. > 3. ADVICE PLEASE > Most reliable browser combination and recomendations of specific port > combinations which can deliver reliable browsing including flash capability. No open source flash player works on all sites, as far as I know. If you don't mind non-free software and all the extra linux compat stuff that it needs, try the linux version of the Adobe flash plugin; www/linux-f10-flashplugin10 Try graphics/gnash instead if you want native software. Mind that there is a problem with the 0.8.7 version of gnash and youtube. This is fixed in 0.8.8 but that hasn't made it into ports yet. Gnash sometimes crashes, but this doesn't usualy affect firefox. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [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/20100908/da440dc8/attachment.pgp From FreeBSD at insightbb.com Wed Sep 8 17:50:40 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Wed Sep 8 17:50:46 2010 Subject: BWN driver error messages In-Reply-To: References: <201009081104.02996.FreeBSD@insightbb.com> Message-ID: <201009081350.38069.FreeBSD@insightbb.com> On Wednesday 08 September 2010 11:15:03 Eitan Adler wrote: > > I'm not familiar with portsnap, so I'll let someone else troublehoot > > that. But I want to mention that the port was added to the tree six > > months ago... > > I checked it out from CVS and installed the port. I'll test the wireless > soon. As I recall, I had to add this line to loader.conf because it wouldn't autoload it: if_bwn_load="YES" # Broadcom BCM43xx IEEE 802.11 wireless NICs Someone may have fixed it by now. I was doing this back during the release of 8.1 From lists at eitanadler.com Wed Sep 8 18:17:58 2010 From: lists at eitanadler.com (Eitan Adler) Date: Wed Sep 8 18:18:06 2010 Subject: BWN driver error messages In-Reply-To: <201009081350.38069.FreeBSD@insightbb.com> References: <201009081104.02996.FreeBSD@insightbb.com> <201009081350.38069.FreeBSD@insightbb.com> Message-ID: As I recall, I had to add this line to loader.conf because it wouldn't > autoload it: > if_bwn_load="YES" ? ? ? ? ? ? ?# Broadcom BCM43xx IEEE 802.11 wireless NICs > > Someone may have fixed it by now. ?I was doing this back during the release of > 8.1 > I already did $kldload if_bwn && kldload bwn_v4_ucode.ko && kldload bwn_v4_lp_ucode.ko -- Eitan Adler From redlamb at redlamb.net Wed Sep 8 18:32:03 2010 From: redlamb at redlamb.net (Pete Erickson) Date: Wed Sep 8 18:32:10 2010 Subject: Exporting ZFS Pool In-Reply-To: <20100908164908.GA89940@dan.emsphone.com> References: <20100907212501.gt31sgaog0w4g4ko@imp.redlamb.net> <4C872B17.3020606@cyberleo.net> <20100908093648.1vt3q2ut4wkk0g0g@imp.redlamb.net> <20100908164908.GA89940@dan.emsphone.com> Message-ID: <20100908181708.GA15884@does.not.exist> ** Dan Nelson [2010-09-08 11:49:08 -0500] ** > In the last episode (Sep 08), Pete Erickson said: > > On Wed Sep 8 01:20:07 2010, CyberLeo Kitsana wrote: > > > On 09/07/2010 09:25 PM, Pete Erickson wrote: > > >> I'm relatively new to ZFS and have been playing around with different > > >> file-backed set ups to determine how I will eventually configure my > > >> pools. I've recently come across a problem with exporting a pool, but > > >> I'm not sure if it's a bug or just my poor understanding of ZFS. I > > >> create a simple pool using 2 128MB files. After exporting the pool, I am > > >> unable to import it and the pool is not found by the zpool command. Any > > >> advise would be appreciated. I'm currently running 8.1 STABLE. > > > > > > Curious, neither can I (8.1-RELEASE): > > > > > > (f84104b2)[cyberleo@akisha /tmp/zp]$ truncate -s 256m d1 d2 > > > (f84104b2)[cyberleo@akisha /tmp/zp]$ sudo zpool create pool /tmp/zp/d1 /tmp/zp/d2 > > Try using mdconfig to attach these files as disk devices. "mdconfig -a -t > vnode -f /tmp/zp/d1" and "-f /tmp/zp/d2" (you'll get two md# devices), then > see if the zpool import command is any happier. It may be looking for disk > devices and not files. This seemed to work. I was able to export the pool and reimport it without a problem. I'll use this for testing, however, correct me if I'm wrong, but this should still work without attaching it as a disk device, correct? Prior to testing this, I tried using the the files again without mounting and I received the error stating that it was missing one of the files. It clearly identified disk1.dd as present, but was unable to find disk2.dd. From pmahan at adaranet.com Wed Sep 8 18:52:27 2010 From: pmahan at adaranet.com (Patrick Mahan) Date: Wed Sep 8 18:52:36 2010 Subject: Burning a the 8.1 release DVD iso Message-ID: <4C87D984.90100@adaranet.com> I am wanting to burn the 8.1 DVD iso image onto a DVD-R disc. Previously, I did this on my Macbook Pro using OSX, but alas, my HD died on the Macbook so I am trying to do this on my Sony Vaio desktop system. Platform: Intel Pentium 4 @ 2.80 GHz w/512 MB memory HD: IBM DTLA-307075 (74 G) DVD writer: SONY DVD RW DW-U12A/2.0d OS: FreeBSD mycroft.adaranet.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I have the following modules loaded: Id Refs Address Size Name 1 17 0xc0400000 b6dfe0 kernel 2 1 0xc396b000 26000 linux.ko 3 1 0xc3adc000 5e000 radeon.ko 4 1 0xc3b3d000 14000 drm.ko 5 1 0xc59dd000 4000 atapicam.ko The 'camcontrol devlist' command reports: at scbus1 target 0 lun 0 (pass1,cd1) at scbus1 target 1 lun 0 (pass0,cd0) I have built and installed dvd+rw-tools 7.1 along with cdrtools-2.01. If I try to use 'growisofs' : mycroft# growisofs -dvd-compat -Z /dev/cd1=FreeBSD-8.1-RELEASE-amd64-dvd1.iso :-( /dev/cd1: media is not recognized as recordable DVD: 0 So then I try to use 'cdrecord' and get the following: mycroft# cdrecord dev=1,0,0 speed=16 -v -eject -tao -data FreeBSD-8.1-RELEASE-amd64-dvd1.iso Cdrecord-Clone 2.01 (i386-unknown-freebsd8.0) Copyright (C) 1995-2004 J?rg Schilling TOC Type: 1 = CD-ROM scsidev: '1,0,0' scsibus: 1 target: 0 lun: 0 Using libscg version 'schily-0.8'. SCSI buffer size: 64512 atapi: 0 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'SONY ' Identifikation : 'DVD RW DW-U12A ' Revision : '2.0d' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Current: 0x0000 Profile: 0x001B Profile: 0x001A Profile: 0x0014 Profile: 0x0013 Profile: 0x0011 Profile: 0x0010 Profile: 0x000A Profile: 0x0009 Profile: 0x0008 cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code. cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD. cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R Drive buf size : 8112896 = 7922 KB Drive DMA Speed: 5744 kB/s 32x CD 4x DVD FIFO size : 4194304 = 4096 KB Track 01: data 2199 MB Total size: 2525 MB (250:12.89) = 1125967 sectors Lout start: 2525 MB (250:14/67) = 1125967 sectors cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error CDB: 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 12 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x30 Qual 0x00 (incompatible medium installed) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.010s timeout 40s cdrecord: No disk / Wrong disk! However, I went to the ftp ftp.berlios.de and there I find a message that ProDVD has been released as of cdrtools-2.01.01a09. So obviously I am missing something. The handbook is not quite clear on this issue. And my googling has only located the issues regarding needing to load atapicam.ko module. Any help or educational experience is appreciated. Thanks, Patrick Mahan Adara Networks From henry.olyer at gmail.com Wed Sep 8 19:11:24 2010 From: henry.olyer at gmail.com (Henry Olyer) Date: Wed Sep 8 19:11:32 2010 Subject: Browser choices & flash In-Reply-To: <20100908165511.GA64401@slackbox.erewhon.net> References: <201009080945.48847.david@vizion2000.net> <20100908165511.GA64401@slackbox.erewhon.net> Message-ID: I'm about to put up 8.1. And would like (I know I'm dreaming,) to get this right, first time. Many times I've had to scrap an installation and restart from scratch because I didn't do things right. On Wed, Sep 8, 2010 at 12:55 PM, Roland Smith wrote: > On Wed, Sep 08, 2010 at 09:45:48AM +0100, David Southwell wrote: > > Hi > > One of our freebsd systems is a user terminal with desktop. We have > constant > > difficulties with web browsing on that platform. Here is the data > > > > 1. INFO: > > System: > > freebsd 7.2-RELEASE-p3 - GENERIC amd64 > > Desktop: > > kde4.5.1 > > Current installed web browser stuff: > > konqueror 4.5.1 > > epiphany-2.30.2_1 > > firefox-3.5.11,1 > > flashplugin-mozilla-0.4.13_5 A GPL standalone Flash (TM) plugin for > Mozilla > > This plugin is now five years old, and doesn't seem to be in active > development anymore. > > > 3. ADVICE PLEASE > > Most reliable browser combination and recomendations of specific port > > combinations which can deliver reliable browsing including flash > capability. > > No open source flash player works on all sites, as far as I know. > > If you don't mind non-free software and all the extra linux compat stuff > that > it needs, try the linux version of the Adobe flash plugin; > www/linux-f10-flashplugin10 > > Try graphics/gnash instead if you want native software. Mind that there > is a problem with the 0.8.7 version of gnash and youtube. This is fixed in > 0.8.8 but that hasn't made it into ports yet. Gnash sometimes crashes, but > this doesn't usualy affect firefox. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > From sonicy at otenet.gr Wed Sep 8 19:29:00 2010 From: sonicy at otenet.gr (Manolis Kiagias) Date: Wed Sep 8 19:29:08 2010 Subject: Burning a the 8.1 release DVD iso In-Reply-To: <4C87D984.90100@adaranet.com> References: <4C87D984.90100@adaranet.com> Message-ID: <4C87E3F6.30205@otenet.gr> On 08/09/2010 9:44 ?.?., Patrick Mahan wrote: > > I am wanting to burn the 8.1 DVD iso image onto a DVD-R disc. Previously, > I did this on my Macbook Pro using OSX, but alas, my HD died on the > Macbook > so I am trying to do this on my Sony Vaio desktop system. > > Platform: > > Intel Pentium 4 @ 2.80 GHz w/512 MB memory > HD: IBM DTLA-307075 (74 G) > DVD writer: SONY DVD RW DW-U12A/2.0d > > OS: > > FreeBSD mycroft.adaranet.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat > Nov 21 15:48:17 UTC 2009 > root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > I have the following modules loaded: > > Id Refs Address Size Name > 1 17 0xc0400000 b6dfe0 kernel > 2 1 0xc396b000 26000 linux.ko > 3 1 0xc3adc000 5e000 radeon.ko > 4 1 0xc3b3d000 14000 drm.ko > 5 1 0xc59dd000 4000 atapicam.ko > > The 'camcontrol devlist' command reports: > > at scbus1 target 0 lun 0 (pass1,cd1) > at scbus1 target 1 lun 0 (pass0,cd0) > > > I have built and installed dvd+rw-tools 7.1 along with cdrtools-2.01. > > If I try to use 'growisofs' : > > mycroft# growisofs -dvd-compat -Z > /dev/cd1=FreeBSD-8.1-RELEASE-amd64-dvd1.iso > :-( /dev/cd1: media is not recognized as recordable DVD: 0 > > So then I try to use 'cdrecord' and get the following: > > mycroft# cdrecord dev=1,0,0 speed=16 -v -eject -tao -data > FreeBSD-8.1-RELEASE-amd64-dvd1.iso > Cdrecord-Clone 2.01 (i386-unknown-freebsd8.0) Copyright (C) 1995-2004 > J?rg Schilling > TOC Type: 1 = CD-ROM > scsidev: '1,0,0' > scsibus: 1 target: 0 lun: 0 > Using libscg version 'schily-0.8'. > SCSI buffer size: 64512 > atapi: 0 > Device type : Removable CD-ROM > Version : 0 > Response Format: 2 > Capabilities : > Vendor_info : 'SONY ' > Identifikation : 'DVD RW DW-U12A ' > Revision : '2.0d' > Device seems to be: Generic mmc2 DVD-R/DVD-RW. > Current: 0x0000 > Profile: 0x001B > Profile: 0x001A > Profile: 0x0014 > Profile: 0x0013 > Profile: 0x0011 > Profile: 0x0010 > Profile: 0x000A > Profile: 0x0009 > Profile: 0x0008 > cdrecord: This version of cdrecord does not include DVD-R/DVD-RW > support code. > cdrecord: If you need DVD-R/DVD-RW support, ask the Author for > cdrecord-ProDVD. > cdrecord: Free test versions and free keys for personal use are at > ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ > Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). > Driver flags : MMC-3 SWABAUDIO BURNFREE > Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R > Drive buf size : 8112896 = 7922 KB > Drive DMA Speed: 5744 kB/s 32x CD 4x DVD > FIFO size : 4194304 = 4096 KB > Track 01: data 2199 MB > Total size: 2525 MB (250:12.89) = 1125967 sectors > Lout start: 2525 MB (250:14/67) = 1125967 sectors > cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable > error > CDB: 00 00 00 00 00 00 > status: 0x2 (CHECK CONDITION) > Sense Bytes: 70 00 02 00 00 00 00 12 00 00 00 00 30 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 > Sense Key: 0x2 Not Ready, Segment 0 > Sense Code: 0x30 Qual 0x00 (incompatible medium installed) Fru 0x0 > Sense flags: Blk 0 (not valid) > cmd finished after 0.010s timeout 40s > cdrecord: No disk / Wrong disk! > > However, I went to the ftp ftp.berlios.de and there I find a message > that ProDVD has been released > as of cdrtools-2.01.01a09. > > So obviously I am missing something. The handbook is not quite clear > on this issue. And my googling has > only located the issues regarding needing to load atapicam.ko module. > > Any help or educational experience is appreciated. > > Thanks, > > Patrick Mahan > Adara Networks Nothing wrong with your growisofs line. That's what I use all the time to write DVD isos, including FreeBSD install media. It seems the drive is unable to recognize the media as a recordable one (look at the cdrecord message: incompatible medium found and growisofs: media not recognized as recordable dvd). Could you try with a different brand/type disk? Try both DVD+R and DVD-R. I've had this before: specific drives refusing to work with specific media. From FreeBSD at insightbb.com Wed Sep 8 20:53:00 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Wed Sep 8 20:53:07 2010 Subject: BWN driver error messages In-Reply-To: <201009081350.38069.FreeBSD@insightbb.com> References: <201009081350.38069.FreeBSD@insightbb.com> Message-ID: <201009081652.52330.FreeBSD@insightbb.com> On Wednesday 08 September 2010 13:50:37 Steven Friedrich wrote: > On Wednesday 08 September 2010 11:15:03 Eitan Adler wrote: > > > I'm not familiar with portsnap, so I'll let someone else troublehoot > > > that. But I want to mention that the port was added to the tree six > > > months ago... > > > > I checked it out from CVS and installed the port. I'll test the wireless > > soon. > > As I recall, I had to add this line to loader.conf because it wouldn't > autoload it: > if_bwn_load="YES" # Broadcom BCM43xx IEEE 802.11 wireless NICs > > Someone may have fixed it by now. I was doing this back during the release > of 8.1 > _______________________________________________ > 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'm sorry. I cut the wrong line from loader.conf. It should have been to load firmware. I know you've gotten past it, but I wanted to set the record straight, in case anyone needs help... bwn_v4_ucode_load="YES" # Broadcom BCM43XX firmware From pmahan at adaranet.com Wed Sep 8 21:13:59 2010 From: pmahan at adaranet.com (Patrick Mahan) Date: Wed Sep 8 21:14:08 2010 Subject: Burning a the 8.1 release DVD iso In-Reply-To: <4C87E3F6.30205@otenet.gr> References: <4C87D984.90100@adaranet.com> <4C87E3F6.30205@otenet.gr> Message-ID: <4C87FDAE.3010201@adaranet.com> Manolis Kiagias wrote: > On 08/09/2010 9:44 ?.?., Patrick Mahan wrote: >> I am wanting to burn the 8.1 DVD iso image onto a DVD-R disc. Previously, >> I did this on my Macbook Pro using OSX, but alas, my HD died on the >> Macbook >> so I am trying to do this on my Sony Vaio desktop system. >> >> Platform: >> >> Intel Pentium 4 @ 2.80 GHz w/512 MB memory >> HD: IBM DTLA-307075 (74 G) >> DVD writer: SONY DVD RW DW-U12A/2.0d >> >> OS: >> >> FreeBSD mycroft.adaranet.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat >> Nov 21 15:48:17 UTC 2009 >> root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> I have the following modules loaded: >> >> Id Refs Address Size Name >> 1 17 0xc0400000 b6dfe0 kernel >> 2 1 0xc396b000 26000 linux.ko >> 3 1 0xc3adc000 5e000 radeon.ko >> 4 1 0xc3b3d000 14000 drm.ko >> 5 1 0xc59dd000 4000 atapicam.ko >> >> The 'camcontrol devlist' command reports: >> >> at scbus1 target 0 lun 0 (pass1,cd1) >> at scbus1 target 1 lun 0 (pass0,cd0) >> >> >> I have built and installed dvd+rw-tools 7.1 along with cdrtools-2.01. >> >> If I try to use 'growisofs' : >> >> mycroft# growisofs -dvd-compat -Z >> /dev/cd1=FreeBSD-8.1-RELEASE-amd64-dvd1.iso >> :-( /dev/cd1: media is not recognized as recordable DVD: 0 >> >> So then I try to use 'cdrecord' and get the following: >> >> mycroft# cdrecord dev=1,0,0 speed=16 -v -eject -tao -data >> FreeBSD-8.1-RELEASE-amd64-dvd1.iso >> Cdrecord-Clone 2.01 (i386-unknown-freebsd8.0) Copyright (C) 1995-2004 >> J?rg Schilling >> TOC Type: 1 = CD-ROM >> scsidev: '1,0,0' >> scsibus: 1 target: 0 lun: 0 >> Using libscg version 'schily-0.8'. >> SCSI buffer size: 64512 >> atapi: 0 >> Device type : Removable CD-ROM >> Version : 0 >> Response Format: 2 >> Capabilities : >> Vendor_info : 'SONY ' >> Identifikation : 'DVD RW DW-U12A ' >> Revision : '2.0d' >> Device seems to be: Generic mmc2 DVD-R/DVD-RW. >> Current: 0x0000 >> Profile: 0x001B >> Profile: 0x001A >> Profile: 0x0014 >> Profile: 0x0013 >> Profile: 0x0011 >> Profile: 0x0010 >> Profile: 0x000A >> Profile: 0x0009 >> Profile: 0x0008 >> cdrecord: This version of cdrecord does not include DVD-R/DVD-RW >> support code. >> cdrecord: If you need DVD-R/DVD-RW support, ask the Author for >> cdrecord-ProDVD. >> cdrecord: Free test versions and free keys for personal use are at >> ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ >> Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). >> Driver flags : MMC-3 SWABAUDIO BURNFREE >> Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R >> Drive buf size : 8112896 = 7922 KB >> Drive DMA Speed: 5744 kB/s 32x CD 4x DVD >> FIFO size : 4194304 = 4096 KB >> Track 01: data 2199 MB >> Total size: 2525 MB (250:12.89) = 1125967 sectors >> Lout start: 2525 MB (250:14/67) = 1125967 sectors >> cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable >> error >> CDB: 00 00 00 00 00 00 >> status: 0x2 (CHECK CONDITION) >> Sense Bytes: 70 00 02 00 00 00 00 12 00 00 00 00 30 00 00 00 00 00 00 >> 00 00 00 00 00 00 00 00 00 00 00 00 00 >> Sense Key: 0x2 Not Ready, Segment 0 >> Sense Code: 0x30 Qual 0x00 (incompatible medium installed) Fru 0x0 >> Sense flags: Blk 0 (not valid) >> cmd finished after 0.010s timeout 40s >> cdrecord: No disk / Wrong disk! >> >> However, I went to the ftp ftp.berlios.de and there I find a message >> that ProDVD has been released >> as of cdrtools-2.01.01a09. >> >> So obviously I am missing something. The handbook is not quite clear >> on this issue. And my googling has >> only located the issues regarding needing to load atapicam.ko module. >> >> Any help or educational experience is appreciated. >> >> Thanks, >> >> Patrick Mahan >> Adara Networks > > Nothing wrong with your growisofs line. That's what I use all the time > to write DVD isos, including FreeBSD install media. > It seems the drive is unable to recognize the media as a recordable one > (look at the cdrecord message: incompatible medium found and growisofs: > media not recognized as recordable dvd). Could you try with a different > brand/type disk? > Try both DVD+R and DVD-R. I've had this before: specific drives refusing > to work with specific media. > *sigh* not on FreeBSD as well :-( I have run across this writing DVD's using Fedora Cora and Ubuntu. Especially, when the drive is a DVD+/-RW drive. I've had it writing with -R and come back the next day and it would only take +R. Should have guessed since these are basically the same tools I have tried to use under linux. This was one of the reasons I used my Mac. I've gone and gotten some DVD+R and it seems to be doing something (lights are flashing and growisofs is outputing a lot of info. Thanks, Patrick _______________________________________________ > 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.user at seibercom.net Wed Sep 8 22:02:38 2010 From: freebsd.user at seibercom.net (Jerry) Date: Wed Sep 8 22:02:44 2010 Subject: Browser choices & flash In-Reply-To: <19591.30637.289885.767759@jerusalem.litteratus.org> References: <201009080945.48847.david@vizion2000.net> <19591.30637.289885.767759@jerusalem.litteratus.org> Message-ID: <20100908180233.09ead760@scorpio> On Wed, 8 Sep 2010 07:46:53 -0400 Robert Huff articulated: > David Southwell writes: > > > One of our freebsd systems is a user terminal with desktop. We > > have constant difficulties with web browsing on that > > platform. Here is the data > > > 2. PROBLEMS > > Frequent crashing of all available browsers - seems to be flash > > related. > > 3. ADVICE PLEASE > > Most reliable browser combination and recomendations of specific > > port combinations which can deliver reliable browsing including > > flash capability. > > What "works" for me - doesn't crash, but sometimes can't > handle the content - is: > > firefox-3.6.8 (or) > seamonkey-2.0.6 > nspluginwrapper-1.2.2_7 > linux-f10-flashplugin-10.1r82 > > installed per the Handbook. A minor annoyance is the wrapper > doesn't exit cleanly and tends to leave hung jobs; not noticeable > resource sink, until you have 20+ of them .... The biggest problem with firefox is that FreeBSD does not have a compatible (current) version of Java available for it. If you don't need Java, all is well and good; otherwise, you are screwed. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From gjin at ubicom.com Wed Sep 8 23:05:29 2010 From: gjin at ubicom.com (Guojun Jin) Date: Wed Sep 8 23:06:04 2010 Subject: how to tell "ls" output date in digital Message-ID: I remember that "ls" can output date in digital like following format before -rw-r--r-- 1 user Domain Users 54323 2010-09-08 14:12 crash.log Instead of Sep 08 2010 or Sep 08 11:07 But I cannot find any option or ENV to do this under FreeBSD (6.X-R). Does anyone have knowledge about this possibility? -Jin From lists at eitanadler.com Wed Sep 8 23:09:12 2010 From: lists at eitanadler.com (Eitan Adler) Date: Wed Sep 8 23:09:20 2010 Subject: how to tell "ls" output date in digital In-Reply-To: References: Message-ID: On Wed, Sep 8, 2010 at 7:03 PM, Guojun Jin wrote: > I remember that "ls" can output date in digital like following format ls -lD "format" check strftime(3) for details on format. -- Eitan Adler From gjin at ubicom.com Wed Sep 8 23:18:31 2010 From: gjin at ubicom.com (Guojun Jin) Date: Wed Sep 8 23:18:38 2010 Subject: how to tell "ls" output date in digital In-Reply-To: References: Message-ID: No D option in ls: [162] bsd-ms: ls -lD "+%F %H:%M" ls: illegal option -- D usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] [163] bsd-ms: uname -a FreeBSD bsd-ms 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Thu Mar 5 11:51:50 PST 2009 -----Original Message----- From: Eitan Adler [mailto:lists@eitanadler.com] Sent: Wednesday, September 08, 2010 4:09 PM To: Guojun Jin Cc: questions@freebsd.org Subject: Re: how to tell "ls" output date in digital On Wed, Sep 8, 2010 at 7:03 PM, Guojun Jin wrote: > I remember that "ls" can output date in digital like following format ls -lD "format" check strftime(3) for details on format. -- Eitan Adler From cswiger at mac.com Wed Sep 8 23:21:01 2010 From: cswiger at mac.com (Chuck Swiger) Date: Wed Sep 8 23:21:08 2010 Subject: how to tell "ls" output date in digital In-Reply-To: References: Message-ID: <3CF8B516-812C-4309-88BD-A1F346939A47@mac.com> Hi-- On Sep 8, 2010, at 4:14 PM, Guojun Jin wrote: > No D option in ls: > > [162] bsd-ms: ls -lD "+%F %H:%M" > ls: illegal option -- D > usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] I suspect that's a GNU extention to their version of ls. Try installing /usr/ports/sysutils/coreutils and see whether /usr/local/bin/ls supports this.... Regards, -- -Chuck From lists at eitanadler.com Wed Sep 8 23:23:26 2010 From: lists at eitanadler.com (Eitan Adler) Date: Wed Sep 8 23:23:34 2010 Subject: how to tell "ls" output date in digital In-Reply-To: <3CF8B516-812C-4309-88BD-A1F346939A47@mac.com> References: <3CF8B516-812C-4309-88BD-A1F346939A47@mac.com> Message-ID: On Wed, Sep 8, 2010 at 7:20 PM, Chuck Swiger wrote: > Hi-- > > On Sep 8, 2010, at 4:14 PM, Guojun Jin wrote: >> No D option in ls: >> >> [162] bsd-ms: ls -lD "+%F %H:%M" >> ls: illegal option -- D >> usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] > % svn log -r 177907 ------------------------------------------------------------------------ r177907 | grog | 2008-04-03 23:57:46 -0400 (Thu, 03 Apr 2008) | 2 lines Add -D option to specify exact format of date and time output with ls -l. ------------------------------------------------------------------------ I just noticed your using 6.x. I'm not sure what revision 6.x was but maybe it is too old to have this option? -- Eitan Adler From gjin at ubicom.com Wed Sep 8 23:55:39 2010 From: gjin at ubicom.com (Guojun Jin) Date: Wed Sep 8 23:55:47 2010 Subject: how to tell "ls" output date in digital In-Reply-To: References: <3CF8B516-812C-4309-88BD-A1F346939A47@mac.com> Message-ID: 6.4-R seems been released after that date. Maybe not. Just checked, ls in 8.1-R has "-D" option. Now moving forward. Thanks, -----Original Message----- From: Eitan Adler [mailto:lists@eitanadler.com] Sent: Wednesday, September 08, 2010 4:23 PM To: Chuck Swiger Cc: Guojun Jin; questions@freebsd.org Subject: Re: how to tell "ls" output date in digital On Wed, Sep 8, 2010 at 7:20 PM, Chuck Swiger wrote: > Hi-- > > On Sep 8, 2010, at 4:14 PM, Guojun Jin wrote: >> No D option in ls: >> >> [162] bsd-ms: ls -lD "+%F %H:%M" >> ls: illegal option -- D >> usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] > % svn log -r 177907 ------------------------------------------------------------------------ r177907 | grog | 2008-04-03 23:57:46 -0400 (Thu, 03 Apr 2008) | 2 lines Add -D option to specify exact format of date and time output with ls -l. ------------------------------------------------------------------------ I just noticed your using 6.x. I'm not sure what revision 6.x was but maybe it is too old to have this option? -- Eitan Adler From freebsd-questions at pp.dyndns.biz Thu Sep 9 00:10:20 2010 From: freebsd-questions at pp.dyndns.biz (=?ISO-8859-1?Q?Morgan_Wesstr=F6m?=) Date: Thu Sep 9 00:10:28 2010 Subject: Any way to force AHCI mode on ICH8? Message-ID: <4C8825E7.5080000@pp.dyndns.biz> I run FreeBSD 8.1 on an old Asus P5B-VM motherboard with ICH8. Its AMI BIOS lacks an option to enable AHCI mode. Intel's datasheet for the ICH8 family specifies that this feature exists on the ICH8, and the option is available in the BIOS for the identical (apart from form factor) P5B motherboard. http://www.intel.com/Assets/PDF/datasheet/313056.pdf I've contacted Asus support for an updated BIOS but I don't have much hope I will ever see one. Would it be possible to patch the FreeBSD kernel to enable AHCI mode somehow during boot? Regards Morgan From ivoras at freebsd.org Thu Sep 9 11:04:47 2010 From: ivoras at freebsd.org (Ivan Voras) Date: Thu Sep 9 11:04:54 2010 Subject: Any way to force AHCI mode on ICH8? In-Reply-To: <4C8825E7.5080000@pp.dyndns.biz> References: <4C8825E7.5080000@pp.dyndns.biz> Message-ID: On 09/09/10 02:10, Morgan Wesstr?m wrote: > I run FreeBSD 8.1 on an old Asus P5B-VM motherboard with ICH8. Its AMI > BIOS lacks an option to enable AHCI mode. Intel's datasheet for the ICH8 > family specifies that this feature exists on the ICH8, and the option is > available in the BIOS for the identical (apart from form factor) P5B > motherboard. > > http://www.intel.com/Assets/PDF/datasheet/313056.pdf > > I've contacted Asus support for an updated BIOS but I don't have much > hope I will ever see one. Would it be possible to patch the FreeBSD > kernel to enable AHCI mode somehow during boot? You mean except adding: ahci_load="YES" to /boot/loader.conf ? From mail at ozzmosis.com Thu Sep 9 11:51:07 2010 From: mail at ozzmosis.com (andrew clarke) Date: Thu Sep 9 11:51:16 2010 Subject: how to tell "ls" output date in digital In-Reply-To: References: Message-ID: <20100909112421.GA31640@ozzmosis.com> On Wed 2010-09-08 16:03:20 UTC-0700, Guojun Jin (gjin@ubicom.com) wrote: > I remember that "ls" can output date in digital like following format > before > > -rw-r--r-- 1 user Domain Users 54323 2010-09-08 14:12 crash.log > > Instead of Sep 08 2010 or Sep 08 11:07 > > But I cannot find any option or ENV to do this under FreeBSD (6.X-R). > > Does anyone have knowledge about this possibility? In FreeBSD 7.3 I use /usr/local/bin/gls installed from the sysutils/coreutils port, and a tcsh alias for ls: ls gls --time-style=long-iso --color=auto 21:23 ozzmosis@blizzard [~]ls -ld / drwxr-xr-x 19 root wheel 512 2010-09-05 03:11 / Regards Andrew From glen.j.barber at gmail.com Thu Sep 9 12:00:53 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Sep 9 12:01:00 2010 Subject: Regex Help For Procmail In-Reply-To: <4C87B844.4090505@mykitchentable.net> References: <201009080050.o880oZli002150@mail.r-bonomi.com> <4C87B844.4090505@mykitchentable.net> Message-ID: <4C88CC70.6050309@gmail.com> On 9/8/10 12:22 PM, Drew Tomlinson wrote: [snip] > # Deliver other email to folder > :0 > * ^From:.*famous-smoke\.com > "${HOME}/Maildir/.Shopping/Famous Smoke/Email/" > > Do you see anything I'm missing? > Drew, I'll give this one final shot. Try this: * ^From:(.*@.*famous-smoke\.com) "$HOME/Maildir/...." Regards, -- Glen Barber From mail at ozzmosis.com Thu Sep 9 13:22:08 2010 From: mail at ozzmosis.com (andrew clarke) Date: Thu Sep 9 13:22:18 2010 Subject: how to tell "ls" output date in digital In-Reply-To: References: <20100909112421.GA31640@ozzmosis.com> Message-ID: <20100909132205.GA71024@ozzmosis.com> On Thu 2010-09-09 13:11:39 UTC+0000, Pala, Santosh (Santosh_Pala@KEANE.COM) wrote: > The ls command with -E switch will give the required output. Hmm, not in FreeBSD 7.3: 23:19 ozzmosis@blizzard [~]/bin/ls -E ls: illegal option -- E usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] 23:19 ozzmosis@blizzard [~]/usr/local/bin/gls -E /usr/local/bin/gls: invalid option -- 'E' Try /usr/local/bin/gls --help' for more information. From guru at unixarea.de Thu Sep 9 13:30:57 2010 From: guru at unixarea.de (Matthias Apitz) Date: Thu Sep 9 13:31:04 2010 Subject: mount NTFS && can't write to it Message-ID: <20100909133052.GA5274@current.Sisis.de> Hello, I'm mounting an NTFS slice on an external USB drive as: # mount -t ntfs /dev/da1s1 /mnt I can see the data there with ls(1) but can't create any dir like /mnt/dir nor touch a file like /mnt/file (ofc as root). It alwaya says /mnt/dir: No such file or directory. The man page of mount_ntfs(8) does not explain what the problem could be. This is with 8-CURRENT Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From Santosh_Pala at KEANE.COM Thu Sep 9 13:39:31 2010 From: Santosh_Pala at KEANE.COM (Pala, Santosh) Date: Thu Sep 9 13:39:38 2010 Subject: how to tell "ls" output date in digital In-Reply-To: <20100909112421.GA31640@ozzmosis.com> References: , <20100909112421.GA31640@ozzmosis.com> Message-ID: Hi Andrew, The ls command with -E switch will give the required output. Regards, Pala. ________________________________________ From: owner-freebsd-questions@freebsd.org [owner-freebsd-questions@freebsd.org] on behalf of andrew clarke [mail@ozzmosis.com] Sent: Thursday, September 09, 2010 9:24 PM To: Guojun Jin Cc: questions@freebsd.org Subject: Re: how to tell "ls" output date in digital On Wed 2010-09-08 16:03:20 UTC-0700, Guojun Jin (gjin@ubicom.com) wrote: > I remember that "ls" can output date in digital like following format > before > > -rw-r--r-- 1 user Domain Users 54323 2010-09-08 14:12 crash.log > > Instead of Sep 08 2010 or Sep 08 11:07 > > But I cannot find any option or ENV to do this under FreeBSD (6.X-R). > > Does anyone have knowledge about this possibility? In FreeBSD 7.3 I use /usr/local/bin/gls installed from the sysutils/coreutils port, and a tcsh alias for ls: ls gls --time-style=long-iso --color=auto 21:23 ozzmosis@blizzard [~]ls -ld / drwxr-xr-x 19 root wheel 512 2010-09-05 03:11 / Regards Andrew _______________________________________________ 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" ______________________________________________________________________ Disclaimer: This email message and any attachments are for the sole use of the intended recipient(s) and may contain information that is confidential, legally privileged or otherwise exempt from disclosure under applicable law. If you are not the intended recipient(s) or have received this message in error, you are instructed to immediately notify the sender by return email and required to delete this message from your computer system. This communication does not form any contractual obligation on behalf of the sender, the sender's employer or such employer's parent company, affiliates or subsidiaries. From ryan.coleman at cwis.biz Thu Sep 9 13:46:16 2010 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Thu Sep 9 13:46:22 2010 Subject: mount NTFS && can't write to it In-Reply-To: <20100909133052.GA5274@current.Sisis.de> References: <20100909133052.GA5274@current.Sisis.de> Message-ID: the default NTFS driver - a topic of much discussion here in the past two months - does *not* support writing. Check ports for fuse-ntfs. On Sep 9, 2010, at 8:30 AM, Matthias Apitz wrote: > > Hello, > > I'm mounting an NTFS slice on an external USB drive as: > > # mount -t ntfs /dev/da1s1 /mnt > > I can see the data there with ls(1) but can't create any dir like > /mnt/dir nor touch a file like /mnt/file (ofc as root). > It alwaya says /mnt/dir: No such file or directory. > > The man page of mount_ntfs(8) does not explain what the problem could > be. This is with 8-CURRENT > > Thx > > matthias > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ > Solidarity with the zionistic pirates of Israel? Not in my name! > ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! > _______________________________________________ > 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-questions at pp.dyndns.biz Thu Sep 9 13:51:39 2010 From: freebsd-questions at pp.dyndns.biz (=?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?=) Date: Thu Sep 9 13:51:48 2010 Subject: Any way to force AHCI mode on ICH8? In-Reply-To: References: <4C8825E7.5080000@pp.dyndns.biz> Message-ID: <4C88E666.2030208@pp.dyndns.biz> On 2010-09-09 13:04, Ivan Voras wrote: > On 09/09/10 02:10, Morgan Wesstr?m wrote: >> I run FreeBSD 8.1 on an old Asus P5B-VM motherboard with ICH8. Its AMI >> BIOS lacks an option to enable AHCI mode. Intel's datasheet for the ICH8 >> family specifies that this feature exists on the ICH8, and the option is >> available in the BIOS for the identical (apart from form factor) P5B >> motherboard. >> >> http://www.intel.com/Assets/PDF/datasheet/313056.pdf >> >> I've contacted Asus support for an updated BIOS but I don't have much >> hope I will ever see one. Would it be possible to patch the FreeBSD >> kernel to enable AHCI mode somehow during boot? > > You mean except adding: > > ahci_load="YES" > > to /boot/loader.conf ? > Yes, I meant if there was a way to programmatically switch the ICH8 into AHCI mode before loading ahci(4). The BIOS on this motherboard only provides a "legacy" and an "enhanced" option for the SATA controller. Neither option turns on AHCI mode so ata(4) attaches to the controller. There's also a JMicron controller, providing an eSATA connector, on this motherboard. It is AHCI compatible and ahci(4) attaches correctly to it. It would've been nice to be able to use NCQ and hotplug on the other SATA connectors too since the ICH8 has those features. Regards Morgan From guru at unixarea.de Thu Sep 9 14:22:48 2010 From: guru at unixarea.de (Matthias Apitz) Date: Thu Sep 9 14:22:55 2010 Subject: mount NTFS && can't write to it In-Reply-To: References: <20100909133052.GA5274@current.Sisis.de> Message-ID: <20100909142245.GA19039@current.Sisis.de> El d?a Thursday, September 09, 2010 a las 08:46:12AM -0500, Ryan Coleman escribi?: > the default NTFS driver - a topic of much discussion here in the past two months - does *not* support writing. Check ports for fuse-ntfs. thanks for the pointer, but this (using it) gave me a PANIC only :-( btw: do you think that one remember all what was said in the list in the last monthes? I think that a clear statement should be in the man page of mount_ntfs(8). thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From jerrymc at msu.edu Thu Sep 9 14:32:04 2010 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Sep 9 14:32:11 2010 Subject: how to tell "ls" output date in digital In-Reply-To: References: <20100909112421.GA31640@ozzmosis.com> Message-ID: <20100909142907.GA83383@gizmo.acns.msu.edu> On Thu, Sep 09, 2010 at 01:11:39PM +0000, Pala, Santosh wrote: > Hi Andrew, > > The ls command with -E switch will give the required output. Doesn't for me. Says -E is an illegal option. Running FreeBSd 8.1 stock ls. On the other hand, ls -lD "%F %T %Z" does nicely. ////jerry > > Regards, > Pala. > ________________________________________ > From: owner-freebsd-questions@freebsd.org [owner-freebsd-questions@freebsd.org] on behalf of andrew clarke [mail@ozzmosis.com] > Sent: Thursday, September 09, 2010 9:24 PM > To: Guojun Jin > Cc: questions@freebsd.org > Subject: Re: how to tell "ls" output date in digital > > On Wed 2010-09-08 16:03:20 UTC-0700, Guojun Jin (gjin@ubicom.com) wrote: > > > I remember that "ls" can output date in digital like following format > > before > > > > -rw-r--r-- 1 user Domain Users 54323 2010-09-08 14:12 crash.log > > > > Instead of Sep 08 2010 or Sep 08 11:07 > > > > But I cannot find any option or ENV to do this under FreeBSD (6.X-R). > > > > Does anyone have knowledge about this possibility? > > In FreeBSD 7.3 I use /usr/local/bin/gls installed from the > sysutils/coreutils port, and a tcsh alias for ls: > > ls gls --time-style=long-iso --color=auto > > 21:23 ozzmosis@blizzard [~]ls -ld / > drwxr-xr-x 19 root wheel 512 2010-09-05 03:11 / > > Regards > Andrew > _______________________________________________ > 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" > > ______________________________________________________________________ > Disclaimer: This email message and any attachments are for the sole use of the intended recipient(s) and may contain information that is confidential, legally privileged or otherwise exempt from disclosure under applicable law. If you are not the intended recipient(s) or have received this message in error, you are instructed to immediately notify the sender by return email and required to delete this message from your computer system. This communication does not form any contractual obligation on behalf of the sender, the sender's employer or such employer's parent company, affiliates or subsidiaries. > _______________________________________________ > 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 perrin at apotheon.com Thu Sep 9 17:10:42 2010 From: perrin at apotheon.com (Chad Perrin) Date: Thu Sep 9 17:10:49 2010 Subject: how to tell "ls" output date in digital In-Reply-To: <20100909142907.GA83383@gizmo.acns.msu.edu> References: <20100909112421.GA31640@ozzmosis.com> <20100909142907.GA83383@gizmo.acns.msu.edu> Message-ID: <20100909164038.GA57863@guilt.hydra> On Thu, Sep 09, 2010 at 10:29:08AM -0400, Jerry McAllister wrote: > On Thu, Sep 09, 2010 at 01:11:39PM +0000, Pala, Santosh wrote: > > > Hi Andrew, > > > > The ls command with -E switch will give the required output. > > Doesn't for me. > Says -E is an illegal option. It works with AT&T's version of ls, apparently. I'm pretty sure it doesn't work with either BSD ls or GNU ls, though, so I'm not sure how it ended up being mentioned in this discussion. > > Running FreeBSd 8.1 stock ls. > > On the other hand, ls -lD "%F %T %Z" does nicely. . . . and you can easily alias that to lsd for easier use (and a chuckle). Note that this doesn't work with GNU ls, because Stallman and MacKenzie in their infinite wisdom decided GNU ls needed -D to produce output tailored to some Emacs functionality. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100909/63ba2921/attachment.pgp From aryeh.friedman at gmail.com Thu Sep 9 17:46:58 2010 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Thu Sep 9 17:47:04 2010 Subject: how to recursively symlink every file in a dir Message-ID: I want to make it so every file is a seperate symlink in dir2 if and only if it is a regular file (not a dir) in dir1... the reason is if the file is unchanged then use symlink but I can rm the symlink and replace it with a non-symlink: To show the problem I am attempting to solve: foo: (owned by fred) arf: ack in barney's account: ln -s ~foo/ foo rm foo/arf/ack # Permissioin denied ... it should nuke the symlink and let me then do something like "touch foo/arf/ack Note there are over 500 files upto 5 dirs deep in the dir I want to symlink from.... the final application is our version control system (devel/aegis) keeps seperate repos for different source code projects (for obvious reasons) and we want to make it so in normal operation we can symlink tne source tree from one project into an other but if we want to make a local modificiation to the "foreign" source tree all we have do is (sorry for the aegis commands but I think the idea is clear): rm src/foreign/foo.c aenf src/foreign/foo.c cp ~aegis/foreign/baselins/src/forgein.c vi src/foreign/foo.c # to make local modifications And before someone suggests a ar library we purposely *DO NOT* want the modified libs to be installed until later From freebsd at qeng-ho.org Thu Sep 9 17:50:32 2010 From: freebsd at qeng-ho.org (Arthur Chance) Date: Thu Sep 9 17:50:38 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: References: Message-ID: <4C891E66.3010405@qeng-ho.org> On 09/09/10 18:24, Aryeh Friedman wrote: > I want to make it so every file is a seperate symlink in dir2 if and > only if it is a regular file (not a dir) in dir1... the reason is if > the file is unchanged then use symlink but I can rm the symlink and > replace it with a non-symlink: cpio -pdl From aryeh.friedman at gmail.com Thu Sep 9 17:52:21 2010 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Thu Sep 9 17:52:28 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: <4C891E66.3010405@qeng-ho.org> References: <4C891E66.3010405@qeng-ho.org> Message-ID: Should of mentioned that I was using C as an example we are in fact using Java and the archives in question are jar's On Thu, Sep 9, 2010 at 1:50 PM, Arthur Chance wrote: > On 09/09/10 18:24, Aryeh Friedman wrote: >> >> I want to make it so every file is a seperate symlink in dir2 if and >> only if it is a regular file (not a dir) in dir1... the reason is if >> the file is unchanged then use symlink but I can rm the symlink and >> replace it with a non-symlink: > > cpio -pdl > > From freebsd at qeng-ho.org Thu Sep 9 18:01:53 2010 From: freebsd at qeng-ho.org (Arthur Chance) Date: Thu Sep 9 18:02:00 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: <4C891E66.3010405@qeng-ho.org> References: <4C891E66.3010405@qeng-ho.org> Message-ID: <4C892110.9050104@qeng-ho.org> On 09/09/10 18:50, Arthur Chance wrote: > On 09/09/10 18:24, Aryeh Friedman wrote: >> I want to make it so every file is a seperate symlink in dir2 if and >> only if it is a regular file (not a dir) in dir1... the reason is if >> the file is unchanged then use symlink but I can rm the symlink and >> replace it with a non-symlink: > > cpio -pdl Ack! Too quick to answer. That hard links, not symlinks. (Useful in its own way though.) cd $SRCDIR; find . -type d | cpio -pd $DESTDIR will create the directory structure. Linking the files will have to be left as an exercise for the reader as I have to go out. I'd use find for the job, but I'm sure someone will come up with some Perl. From jrisom at gmail.com Thu Sep 9 18:13:21 2010 From: jrisom at gmail.com (Joshua Isom) Date: Thu Sep 9 18:13:28 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: References: Message-ID: <4C8923BC.4080209@gmail.com> On 9/9/2010 12:24 PM, Aryeh Friedman wrote: > I want to make it so every file is a seperate symlink in dir2 if and > only if it is a regular file (not a dir) in dir1... the reason is if > the file is unchanged then use symlink but I can rm the symlink and > replace it with a non-symlink: > > To show the problem I am attempting to solve: > > foo: (owned by fred) > arf: > ack > > in barney's account: > > ln -s ~foo/ foo > rm foo/arf/ack # Permissioin denied ... it should nuke the symlink > and let me then do something like "touch foo/arf/ack This should give you at least a good start: find foo/ \( -type d -exec mkdir -p copy/'{}' \; \) -o \( -type f -exec ln -s '{}' copy/'{}' \; \) That'll copy directory foo into copy/foo and the rest is fine. You'll have to tweak the rest as you need but it'll get you started. From aryeh.friedman at gmail.com Thu Sep 9 18:25:42 2010 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Thu Sep 9 18:25:48 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: <4C8923BC.4080209@gmail.com> References: <4C8923BC.4080209@gmail.com> Message-ID: After playing around here is what I came up with (cpio -l never did the links right): #!/bin/tcsh foreach i ( `find ~aegis/fnre/baseline/src/ -type d | grep -v src/build | cut -f6- -d'/'` ) mkdir $i end foreach i ( `find ~aegis/fnre/baseline/src/ -type f -name '*.java' | grep -v src/build | cut -f6- -d'/'` ) ln -s ~aegis/fnre/baseline/$i $i end On Thu, Sep 9, 2010 at 2:13 PM, Joshua Isom wrote: > On 9/9/2010 12:24 PM, Aryeh Friedman wrote: >> >> I want to make it so every file is a seperate symlink in dir2 if and >> only if it is a regular file (not a dir) in dir1... the reason is if >> the file is unchanged then use symlink but I can rm the symlink and >> replace it with a non-symlink: >> >> To show the problem I am attempting to solve: >> >> foo: (owned by fred) >> ? ? arf: >> ? ? ? ?ack >> >> in barney's account: >> >> ln -s ~foo/ foo >> rm foo/arf/ack ? ?# Permissioin denied ... it should nuke the symlink >> and let me then do something like "touch foo/arf/ack > > This should give you at least a good start: > > find foo/ \( -type d -exec mkdir -p copy/'{}' \; \) -o \( -type f -exec ln > -s '{}' copy/'{}' \; \) > > That'll copy directory foo into copy/foo and the rest is fine. ?You'll have > to tweak the rest as you need but it'll get you started. > _______________________________________________ > 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 guru at unixarea.de Thu Sep 9 18:46:05 2010 From: guru at unixarea.de (Matthias Apitz) Date: Thu Sep 9 18:46:12 2010 Subject: installing FreeBSD in VMWare-player Message-ID: <20100909184856.GA1195@tiny.Sisis.de> I could solve the boot problem of the USB key in the older laptop of my wife by inserting into /boot/loader.conf the line kern.cam.scsi_delay="10000" (note: set kern.cam.boot_delay did not help) matthias -- Matthias Apitz ?...una sola vez, que es cuanto basta si se trata de verdades definitivas.? ?...only once, which is enough if it has todo with definite truth.? Jos? Saramago, Historia del Cerca de Lisboa From msk at blackops.org Thu Sep 9 18:55:29 2010 From: msk at blackops.org (Murray S. Kucherawy) Date: Thu Sep 9 18:55:38 2010 Subject: freebsd-update question Message-ID: Hi, I'm reading http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html in preparation for an update of a 6.2-RELEASE machine in a colocation faciilty. However, that page says 6.3 or later is needed to do it via the freebsd-update(8) mechanism. Are there any references for using freebsd-update for a 6.2 installation, or am I looking at doing the update from source as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html? Thanks, -MSK From m.seaman at infracaninophile.co.uk Thu Sep 9 19:31:27 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Sep 9 19:31:42 2010 Subject: freebsd-update question In-Reply-To: References: Message-ID: <4C8935EB.1050102@infracaninophile.co.uk> On 09/09/2010 19:40:19, Murray S. Kucherawy wrote: > I'm reading > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > in preparation for an update of a 6.2-RELEASE machine in a colocation > faciilty. However, that page says 6.3 or later is needed to do it via > the freebsd-update(8) mechanism. > > Are there any references for using freebsd-update for a 6.2 > installation, or am I looking at doing the update from source as per > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html? Yes. 6.2 is long out of support, so you will need to use the makeworld route to get to something more recent. 6.4 is just about to go out of support -- you should be able to buildworld to that version, and then use freebsd-update to get to something up to date. Or just use the buildworld route to get to the latest (it takes some time for all the compilation but works reliably) -- you might be able to get to 8.1 in one step, but I think that's probably unlikely. You should always be able to update from the latest version on any major branch to any version on the next branch, so 6.2 -> 6.4 -> 7.3 -> 8.1 should work. You will need to rebuild all your ports for a major version upgrade, although (if it isn't obvious) if you're going to go up two major versions, you only need to rebuild all the ports once at the end of the process of updating the system. 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/20100909/c9cb2dd2/signature.pgp From redtick at sbcglobal.net Thu Sep 9 19:41:24 2010 From: redtick at sbcglobal.net (Mark) Date: Thu Sep 9 19:41:31 2010 Subject: freebsd-update question In-Reply-To: Message-ID: <923843.69747.qm@web81205.mail.mud.yahoo.com> --- On Thu, 9/9/10, Murray S. Kucherawy wrote: > From: Murray S. Kucherawy > Subject: freebsd-update question > To: questions@freebsd.org > Date: Thursday, September 9, 2010, 1:40 PM > Hi, > > I'm reading http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > in preparation for an update of a 6.2-RELEASE machine in a > colocation faciilty.? However, that page says 6.3 or > later is needed to do it via the freebsd-update(8) > mechanism. > > Are there any references for using freebsd-update for a 6.2 > installation, or am I looking at doing the update from > source as per > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html? > > Thanks, > -MSK > _______________________________________________ > 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" > Depending on how the computer is used, to bring it up to 8.1 I'd backup data, config files, make a list of installed software and do a reinstall. The time it takes to build world, merg files and rebuild software a fresh install may be quicker than to try the jump from 6.2 to 8.1. YMMV From keramida at ceid.upatras.gr Thu Sep 9 20:05:50 2010 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Thu Sep 9 20:05:57 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: (Aryeh Friedman's message of "Thu, 9 Sep 2010 13:24:50 -0400") References: Message-ID: <87bp86r93u.fsf@kobe.laptop> On Thu, 9 Sep 2010 13:24:50 -0400, Aryeh Friedman wrote: > I want to make it so every file is a seperate symlink in dir2 if and > only if it is a regular file (not a dir) in dir1... the reason is if > the file is unchanged then use symlink but I can rm the symlink and > replace it with a non-symlink: > > To show the problem I am attempting to solve: > > foo: (owned by fred) > arf: > ack > > in barney's account: > > ln -s ~foo/ foo > rm foo/arf/ack # Permissioin denied ... it should nuke the symlink > and let me then do something like "touch foo/arf/ack If you don't mind creating the local directories in one run, and then symlinking everything else, you can use something like: cd bar ( cd ~foo ; find . -type d ) | xargs mkdir -p ( cd ~foo ; find . \! -type d ) | while read fname ; do ln -s ~foo/"$fname" "$fname" done From gad at FreeBSD.org Thu Sep 9 20:29:28 2010 From: gad at FreeBSD.org (Garance A Drosehn) Date: Thu Sep 9 20:29:34 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: References: Message-ID: At 1:24 PM -0400 9/9/10, Aryeh Friedman wrote: >I want to make it so every file is a seperate symlink in dir2 if and >only if it is a regular file (not a dir) in dir1... the reason is if >the file is unchanged then use symlink but I can rm the symlink and >replace it with a non-symlink: > >To show the problem I am attempting to solve: > >foo: (owned by fred) > arf: > ack > >in barney's account: > >ln -s ~foo/ foo >rm foo/arf/ack # Permissioin denied ... it should nuke the symlink >and let me then do something like "touch foo/arf/ack > >Note there are over 500 files upto 5 dirs deep in the dir I want to >symlink from.... the final application is our version control system >(devel/aegis) keeps seperate repos for different source code projects >(for obvious reasons) and we want to make it so in normal operation we >can symlink tne source tree from one project into an other but if we >want to make a local modificiation to the "foreign" source tree all we >have do is (sorry for the aegis commands but I think the idea is >clear): I believe early X11-distributions had a script called "lndir" would pretty much do exactly what you want here. And then there was a companion command called "breakln" which would remove the symlink and make a copy of the original file to replace it. I don't know if X11 still has these commands (I haven't installed X11 in at least 10 years), but I have my own versions of them. Let me know if you can't find them, and I'll send you copies of my scripts. (actually, I'm not 100% sure I got these from X11. But I got them from somewhere in the mid-1990's) -- Garance Alistair Drosehn = drosehn@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA From merlyn at stonehenge.com Thu Sep 9 20:35:07 2010 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Thu Sep 9 20:35:20 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: (Aryeh Friedman's message of "Thu, 9 Sep 2010 13:24:50 -0400") References: Message-ID: <86bp86mz9h.fsf@red.stonehenge.com> >>>>> "Aryeh" == Aryeh Friedman writes: Aryeh> I want to make it so every file is a seperate symlink in dir2 if and Aryeh> only if it is a regular file (not a dir) in dir1... the reason is if Aryeh> the file is unchanged then use symlink but I can rm the symlink and Aryeh> replace it with a non-symlink: Are you committed to symlinks? I think null-mounts would do what you're trying to do... as in, as long as you're reading, you're reading from the old stuff, but if you ever write something new, all the right bits get created in the new dir. But I'm new to null-mounts, so I could be wrong. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From merlyn at stonehenge.com Thu Sep 9 20:38:01 2010 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Thu Sep 9 20:38:07 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: <86bp86mz9h.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Thu, 09 Sep 2010 13:35:06 -0700") References: <86bp86mz9h.fsf@red.stonehenge.com> Message-ID: <867hiumz4n.fsf@red.stonehenge.com> >>>>> "Randal" == Randal L Schwartz writes: Randal> I think null-mounts would do what you're trying to do... as in, as long Randal> as you're reading, you're reading from the old stuff, but if you ever Randal> write something new, all the right bits get created in the new dir. Randal> But I'm new to null-mounts, so I could be wrong. And I meant "mount_unionfs", not null mounts. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From perrin at apotheon.com Thu Sep 9 20:57:49 2010 From: perrin at apotheon.com (Chad Perrin) Date: Thu Sep 9 20:57:56 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: References: Message-ID: <20100909205424.GA58499@guilt.hydra> On Thu, Sep 09, 2010 at 04:28:59PM -0400, Garance A Drosehn wrote: > > I believe early X11-distributions had a script called "lndir" > would pretty much do exactly what you want here. And then > there was a companion command called "breakln" which would > remove the symlink and make a copy of the original file to > replace it. lndir is in ports: > pkgsearch lndir /usr/ports/devel/lndir I'm not so sure about a "breakln" being anywhere accessible, other than whatever tools you have handy. > > I don't know if X11 still has these commands (I haven't > installed X11 in at least 10 years), but I have my own > versions of them. Let me know if you can't find them, and > I'll send you copies of my scripts. I'd like to see what you have, even if the OP doesn't need them. Are they of your own making, or copied from somewhere? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100909/ec5ce06f/attachment.pgp From jules.stocks at gmail.com Thu Sep 9 21:34:22 2010 From: jules.stocks at gmail.com (Jules Gilbert) Date: Thu Sep 9 21:34:28 2010 Subject: this is probably a little touchy to ask... Message-ID: About Java. Using java with freebsd/mozilla or another browser. Some questions: Is GNU java sufficient? I need to be able to run a browser with Java. No alternative -- and no I don't want to run windoz. I'm trying to do an 8.1 install. Does this problem exist with Sun's x86 OS? Does anyone have a website or even a set of notes as to the right way to do this. Now an opinion. If Oracle isn't going to help us, we should look around for an alternative, even inventing something else, something that isn't Sun/Oracle/Java. Because this problem has been getting progressively worse for the past three or four years or so (longer?,) and, look around, it's hurting the FreeBSD community. From amvandemore at gmail.com Thu Sep 9 21:43:38 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Thu Sep 9 21:43:45 2010 Subject: this is probably a little touchy to ask... In-Reply-To: References: Message-ID: On Thu, Sep 9, 2010 at 4:02 PM, Jules Gilbert wrote: > About Java. Using java with freebsd/mozilla or another browser. > > Some questions: > > Is GNU java sufficient? I need to be able to run a browser with Java. > No alternative -- and no I don't want to run windoz. > > I'm trying to do an 8.1 install. > Works fine for me as long as you stick with firefox35 > Does anyone have a website or even a set of notes as to the right way > to do this. > > Now an opinion. If Oracle isn't going to help us, we should look > around for an alternative, even inventing something else, something > that isn't Sun/Oracle/Java. > > Because this problem has been getting progressively worse for the past > three or four years or so (longer?,) and, look around, it's hurting > the FreeBSD community. > I believe the FreeBSD Foundation is still accepting donations. -- Adam Vande More From merlyn at stonehenge.com Thu Sep 9 21:46:37 2010 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Thu Sep 9 21:46:44 2010 Subject: this is probably a little touchy to ask... In-Reply-To: (Jules Gilbert's message of "Thu, 9 Sep 2010 17:02:58 -0400") References: Message-ID: <86pqwmlhdu.fsf@red.stonehenge.com> >>>>> "Jules" == Jules Gilbert writes: Jules> Now an opinion. If Oracle isn't going to help us, we should look Jules> around for an alternative, even inventing something else, something Jules> that isn't Sun/Oracle/Java. You mean something that looks like Java but isn't Java? That's precisely what the Oracle v. Google suit is about. Dangerous road to go down at this point. Or do you mean something that isn't even Java, but has a lot of Java-like features? I think you're describing "everything else already available in production". Plenty of choices. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From gad at FreeBSD.org Fri Sep 10 00:23:59 2010 From: gad at FreeBSD.org (Garance A Drosehn) Date: Fri Sep 10 00:24:03 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: <20100909205424.GA58499@guilt.hydra> References: <20100909205424.GA58499@guilt.hydra> Message-ID: At 2:54 PM -0600 9/9/10, Chad Perrin wrote: >On Thu, Sep 09, 2010 at 04:28:59PM -0400, Garance A Drosehn wrote: >> >> I believe early X11-distributions had a script called "lndir" >> would pretty much do exactly what you want here. And then >> there was a companion command called "breakln" which would >> remove the symlink and make a copy of the original file to >> replace it. > >lndir is in ports: > > > pkgsearch lndir > /usr/ports/devel/lndir > >I'm not so sure about a "breakln" being anywhere accessible, >other than whatever tools you have handy. >I'd like to see what you have, even if the OP doesn't need >them. Are they of your own making, or copied from somewhere? It looks like my 'lndir' script started out as a copy of a script named 'lndir.sh' that the XConsortium had in Oct 1988. Over the years I added a number of features to it. Looking at the 'lndir' which is installed by the port, it seems to have added some of those same features, but my script writes out it's progress in a nicer format (IMO). Given that the port is written in C and much more recent, I suspect it is the right way to go. For large directories it is much faster than my script. I should check to see how much work it'd be to add my formatting to the C version. The 'breakln' script might be something written here at RPI. Looks like the last change to it was done in 1993. It is pretty simple: #!/bin/sh # # All the arguments are turned into copies of themselves, # and write access is granted to the user. This is good # for making exceptions to trees built with lndir. # if [ $# = 0 ]; then echo "Usage: $0 files..." exit fi for f in $* ; do mv $f $f.tmpln cp -p $f.tmpln $f rm $f.tmpln chmod u+w $f done -- Garance Alistair Drosehn = drosehn@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA From jcw at speakeasy.net Fri Sep 10 00:28:14 2010 From: jcw at speakeasy.net (Jason C. Wells) Date: Fri Sep 10 00:28:51 2010 Subject: this is probably a little touchy to ask... In-Reply-To: References: Message-ID: <4C897B9A.8060908@speakeasy.net> On 09/09/10 14:02, Jules Gilbert wrote: > About Java. Using java with freebsd/mozilla or another browser. > > Some questions: > > Is GNU java sufficient? I need to be able to run a browser with Java. > No alternative -- and no I don't want to run windoz. > > I'm trying to do an 8.1 install. > > Does this problem exist with Sun's x86 OS? > > Does anyone have a website or even a set of notes as to the right way > to do this. > > cd /usr/ports/java/jdk make make install > Now an opinion. If Oracle isn't going to help us, we should look > around for an alternative, even inventing something else, something > that isn't Sun/Oracle/Java. > > Because this problem has been getting progressively worse for the past > three or four years or so (longer?,) and, look around, it's hurting > the FreeBSD community. > Help you with what? Their silly little distribution policy is annoying. It doesn't prevent you from running java. Regards, Jason From perrin at apotheon.com Fri Sep 10 03:10:46 2010 From: perrin at apotheon.com (Chad Perrin) Date: Fri Sep 10 03:10:49 2010 Subject: how to recursively symlink every file in a dir In-Reply-To: References: <20100909205424.GA58499@guilt.hydra> Message-ID: <20100910030719.GA59314@guilt.hydra> On Thu, Sep 09, 2010 at 08:23:09PM -0400, Garance A Drosehn wrote: > > It looks like my 'lndir' script started out as a copy of a > script named 'lndir.sh' that the XConsortium had in Oct 1988. [snip] > > Given that the port is written in C and much more recent, I > suspect it is the right way to go. For large directories it > is much faster than my script. I should check to see how > much work it'd be to add my formatting to the C version. > > The 'breakln' script might be something written here at RPI. > Looks like the last change to it was done in 1993. It is > pretty simple: [snip] Thanks for the information and the breakln script. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100910/802c28ae/attachment.pgp From s.dave.jones at gmail.com Fri Sep 10 03:41:48 2010 From: s.dave.jones at gmail.com (dave jones) Date: Fri Sep 10 03:41:52 2010 Subject: Questions about setting bridge Message-ID: Hello, I want to setup a bridge in a ring topology since a break at any point along the ring would still leave all stations connected. My machine has two nics. In /etc/rc.conf, I have: ifconfig_em0="inet 192.168.1.0 netmask 255.255.255.0" cloned_interfaces="bridge0" ifconfig_em0="up" ifconfig_em1="up" ifconfig_bridge0="addm em0 addm em1 up" ifconfig_bridge0_alias0="192.168.1.0 netmask 255.255.255.0 up" I tried to boot my clients using tftpd, but it seems doesn't work if I unpluged em0. If I run "ifconfig em1 inet 192.168.1.0 netmask 255.255.255.0" then my clients can boot via tftpd. But it's not a bridge, right? I mean should I configure the same ip for em0, em1, and bridge0? Thanks. Dave. From z_axis at 163.com Fri Sep 10 04:39:36 2010 From: z_axis at 163.com (zaxis) Date: Fri Sep 10 04:39:40 2010 Subject: wine doesnot work after upgrading to 8.1? Message-ID: <29673647.post@talk.nabble.com> The wine works great when using freebsd 8.0. Yesterday i upgrading FB 8.0 to 8.1, the wine cannot display window without any message even if reinstalling wine under FB 8.1 . >uname -a FreeBSD mybsd.zsoft.com 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Wed Sep 8 09:07:54 CST 2010 root@mybsd.zsoft.com:/media/G/usr/obj/media/G/usr/src/sys/MYKERNEL i386 >pkg_info|grep wine wine-1.3.2_2,1 Microsoft Windows compatibility layer for Unix-like systems Any suggestion is appreciated! ----- e^(??i) + 1 = 0 -- View this message in context: http://old.nabble.com/wine-doesnot-work-after-upgrading-to-8.1--tp29673647p29673647.html Sent from the freebsd-questions mailing list archive at Nabble.com. From amvandemore at gmail.com Fri Sep 10 06:51:41 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Sep 10 06:51:45 2010 Subject: Questions about setting bridge In-Reply-To: References: Message-ID: > > I want to setup a bridge in a ring topology since a break at any point > along the ring would > still leave all stations connected. My machine has two nics. In > /etc/rc.conf, I have: > > ifconfig_em0="inet 192.168.1.0 netmask 255.255.255.0" > cloned_interfaces="bridge0" > ifconfig_em0="up" > ifconfig_em1="up" > ifconfig_bridge0="addm em0 addm em1 up" > ifconfig_bridge0_alias0="192.168.1.0 netmask 255.255.255.0 up" > > I tried to boot my clients using tftpd, but it seems doesn't work if I > unpluged > em0. If I run "ifconfig em1 inet 192.168.1.0 netmask 255.255.255.0" then > my clients can boot via tftpd. But it's not a bridge, right? > I mean should I configure the same ip for em0, em1, and bridge0? > 192.168.1.0/24 is not a valid address. Your addressable hosts are 192.168.1.1 - 192.168.1.254. I think you want to lagg: http://www.freebsd.org/doc/handbook/network-aggregation.html -- Adam Vande More From vince at unsane.co.uk Fri Sep 10 09:20:19 2010 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Sep 10 09:20:23 2010 Subject: Dual booting with OSX without bootcamp Message-ID: <4C89F84F.9090409@unsane.co.uk> Hi all, Work has kindly supplied a shiny new macbook pro (6,2) so I've re-partitioned it (OSX's grow/shrink partitions/filesystems online is handy) and now have an EFI partition (hidden,) OSX partition, FreeBSD / partition, ZFS partition for the rest and a swap partition. I've stuck with GPT to avoid reinstalling and the fiddly process that is installing anything but windows via bootcamp without trashing the system. FreeBSD was installed by using the DVD with the livefs, Partitioning of free space done with gpart, and install done with the shell scripts (in /dist/8.1-RELEASE/{kernel,base,whatever} adapted from the instructions here http://typo.submonkey.net/articles/2006/3/20/installing-freebsd-onto-a-usb-stick ) The problem is booting it, my initial hope was that rEFIt would just work, but no joy. Next I looked for an EFI loader for freebsd and found http://blogs.freebsdish.org/rpaulo/2008/09/03/so-you-want-to-test-the-freebsdi386-efi-boot-loader/ but it still wont quite boot a kernel so no joy. Next came grub2 as this will boot freebsd and also has EFI support, however the EFI support doesnt support FreeBSD, so I cant find a way to boot . So currently I can only boot FreeBSD by booting a grub2 CDROM, tellit it to look at the config file on my mac partition, then booting freebsd using that, If anyone has a better suggestion I'd welcome it. Other than that it seems to be working ok, no wireless support as its a broadcom 43224 which doesn't seem to be supported, however I see that broadcom have just opensourced their linux drivers (including for the 43224) so maybe that will open the way to more support in the BSDs too. In the mean time I'll try ndiswrapper or just use a usb device, I may try take it up to 9-CURRENT so i get atp(4) and see if anything else relevant has been improved. If anyone else has a simpler way of booting (without needing to use bootcamp/the fakembr etc as I'm happy to never have to use fdisk/bsdlabel again ;) then I'd be interested to hear it, I did see if i could use grub2efi to boot grub2 (non efi), or use rEFIt to boot grub2 (non efi) from a file to avoid the cdrom but no joy. Vince From vince at unsane.co.uk Fri Sep 10 09:34:02 2010 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Sep 10 09:34:08 2010 Subject: this is probably a little touchy to ask... In-Reply-To: References: Message-ID: <4C89FB87.1090206@unsane.co.uk> On 09/09/2010 22:02, Jules Gilbert wrote: > About Java. Using java with freebsd/mozilla or another browser. > > Some questions: > > Is GNU java sufficient? I need to be able to run a browser with Java. > No alternative -- and no I don't want to run windoz. > > I'm trying to do an 8.1 install. Looks like you might be in luck the thread here http://lists.freebsd.org/pipermail/freebsd-gecko/2010-September/001099.html shows that there are 2 ports of icedtea including a plugin for firefox 3.6 in progress. It looks like the one at http://lists.freebsd.org/pipermail/freebsd-java/2010-September/008806.html is in a better state at the moment. Vince > Does this problem exist with Sun's x86 OS? > > Does anyone have a website or even a set of notes as to the right way > to do this. > > Now an opinion. If Oracle isn't going to help us, we should look > around for an alternative, even inventing something else, something > that isn't Sun/Oracle/Java. > > Because this problem has been getting progressively worse for the past > three or four years or so (longer?,) and, look around, it's hurting > the FreeBSD community. > _______________________________________________ > 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 jules.stocks at gmail.com Fri Sep 10 10:38:23 2010 From: jules.stocks at gmail.com (Jules Gilbert) Date: Fri Sep 10 10:38:28 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <86pqwmlhdu.fsf@red.stonehenge.com> References: <86pqwmlhdu.fsf@red.stonehenge.com> Message-ID: Look, I'm just a user. I'm not a Java developer, not a language developer, not a run-time specialist. But folks, we got problems! I say this because it's becoming really hard to make Java run on a browser. I didn't even know that Google and Oracle weren't getting along, I really am out of date. (All I do is code.) But here's the thing: almost no one can make a java enabled browser, and lot's of us need exactly that, java running on our browsers. So obviously this means that something is seriously wrong -- and worse, when I asked "how", no one came back and said "Oh, you obviously didn't install such-and-such a patch, do that and everything will work." No, and worse, the responses are all about possible solutions in the distant not-known-when-and-only-maybe future. I do think we should all get behind this Beat fellow, he's beat@freebsd.org, his work seems closest to bringing up a java-enabled browser, with zero or at least few problems. --jg On Thu, Sep 9, 2010 at 5:46 PM, Randal L. Schwartz wrote: >>>>>> "Jules" == Jules Gilbert writes: > > Jules> Now an opinion. ?If Oracle isn't going to help us, we should look > Jules> around for an alternative, even inventing something else, something > Jules> that isn't Sun/Oracle/Java. > > You mean something that looks like Java but isn't Java? > > That's precisely what the Oracle v. Google suit is about. ?Dangerous > road to go down at this point. > > Or do you mean something that isn't even Java, but has a lot of > Java-like features? > > I think you're describing "everything else already available in > production". ?Plenty of choices. > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion > -- ================================================ Fellow Christians!, Read Galatians, chapter three, verse 14. ?Here Paul documents that Christians have been made part of God's original promise to Abraham, and that, because of Jesus, we are tied to these same promises. But don't for a moment imagine that God is done with the Jews!, no, God is even today working to fulfill every promise he made, even to save every person in Israel -- which God declares will be the case, for he say's that "all Israel will be saved." About this business with Iran... ?Don't fret. ?Jeremiah, who probably wrote the most about modern day Iran, advises us, beginning in chapter 34, verse 49, that Iran is going to lose big. ?Yes, one day both Egypt and Iran, in fact all of south-Asia be a community of Christian nations. ?(Both Isaiah and Zechariah make similar statements.) ?In fact Zechariah say's that Gazan's will one day be elected, freely elected by Jews, to high offices in Israel. ?Imagine that! But as my wife just told me! when I tried this on her, people aren't saved (or even helped,) by knowledge of prophecy, no, real assistance from the God of the Bible comes only one way; ?By tying oneself to Jesus, by asking to partner with him. ?He is the basis of help, of love, and change that brings with it God's love and assistance. From freebsd.user at seibercom.net Fri Sep 10 10:48:17 2010 From: freebsd.user at seibercom.net (Jerry) Date: Fri Sep 10 10:48:22 2010 Subject: this is probably a little touchy to ask... In-Reply-To: References: Message-ID: <20100910064813.387f4ef0@scorpio> On Thu, 9 Sep 2010 16:43:36 -0500 Adam Vande More articulated: > On Thu, Sep 9, 2010 at 4:02 PM, Jules Gilbert > wrote: > > > About Java. Using java with freebsd/mozilla or another browser. > > > > Some questions: > > > > Is GNU java sufficient? I need to be able to run a browser with > > Java. No alternative -- and no I don't want to run windoz. > > > > I'm trying to do an 8.1 install. > > > > Works fine for me as long as you stick with firefox35 > > > Does anyone have a website or even a set of notes as to the right > > way to do this. > > > > Now an opinion. If Oracle isn't going to help us, we should look > > around for an alternative, even inventing something else, something > > that isn't Sun/Oracle/Java. > > > > Because this problem has been getting progressively worse for the > > past three or four years or so (longer?,) and, look around, it's > > hurting the FreeBSD community. > > I believe the FreeBSD Foundation is still accepting donations. Excepting donations != producing results. I will be happy to donate $100 US dollars to their fund once they distribute a fully up-to-date version of JAVA, not some reworked, deprecated version, that is fully compatible with Firefox on FreeBSD. I believe the current version of Java is Version 6 Update 21. It simply goes counter to my basic business model to contribute any monetary assistance to any open ended project. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From laszlo_danielisz at yahoo.com Fri Sep 10 08:11:09 2010 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Fri Sep 10 11:16:24 2010 Subject: CNID DB vs afp Message-ID: <250661.64584.qm@web30802.mail.mud.yahoo.com> Hi, I having the following problem on my afpd share: "something wrong witht he volume's CNID DB, using temporary CNIDB DB insted. Check server messages for details. Switching to read-only mode". I am using FreeBSD 8.0 for the afpd and OS-X 10.6.4, do you have any idea what to check? thx! L?szl? From jason_zhoa at 126.com Fri Sep 10 08:43:33 2010 From: jason_zhoa at 126.com (jason) Date: Fri Sep 10 11:17:01 2010 Subject: lots of time_wait Message-ID: <150b04a.1188c.12afab358b4.Coremail.jason_zhoa@126.com> hello,i have a problem: tcp4 0 0 192.168.0.26.9939 192.168.0.195.11211 TIME_WAIT netstat -an | awk '{if($5 ~/11200/ && $6 ~/TIME_WAIT/) print $0}' | wc -l 64203 sysctl net.inet.tcp.msl net.inet.tcp.msl: 2500 msl will not recycle "TIME_WAIT" states when have lots of "TIME_WAIT",like64203 so server local port will Exhaust, if i open a connection it will report: telnet 192.168.0.195 11211 Trying 192.168.0.195... telnet: connect to address 192.168.0.195: Can't assign requested address telnet: Unable to connect to remote host what can i do? only reboot server? system Environment: FreeBSD 7.2-RELEASE #0 amd64 From amijaresp at gmail.com Fri Sep 10 11:42:57 2010 From: amijaresp at gmail.com (Alberto Mijares) Date: Fri Sep 10 11:43:00 2010 Subject: lots of time_wait In-Reply-To: <150b04a.1188c.12afab358b4.Coremail.jason_zhoa@126.com> References: <150b04a.1188c.12afab358b4.Coremail.jason_zhoa@126.com> Message-ID: 2010/9/10 jason : > hello,i have a problem: > tcp4 0 0 192.168.0.26.9939 192.168.0.195.11211 TIME_WAIT > netstat -an | awk '{if($5 ~/11200/ && $6 ~/TIME_WAIT/) print $0}' | wc -l > 64203 > > sysctl net.inet.tcp.msl > net.inet.tcp.msl: 2500 > You should check the application's idle connections time out. Regards Alberto Mijares From peter at boosten.org Fri Sep 10 11:56:59 2010 From: peter at boosten.org (Peter Boosten) Date: Fri Sep 10 11:57:03 2010 Subject: CNID DB vs afp In-Reply-To: <250661.64584.qm@web30802.mail.mud.yahoo.com> References: <250661.64584.qm@web30802.mail.mud.yahoo.com> Message-ID: <4C8A15A8.3040700@boosten.org> On 10-9-2010 10:11, D?nielisz L?szl? wrote: > Hi, > > I having the following problem on my afpd share: "something wrong witht he > volume's CNID DB, using temporary CNIDB DB insted. Check server messages for > details. Switching to read-only mode". > I am using FreeBSD 8.0 for the afpd and OS-X 10.6.4, do you have any idea what > to check? > try dbd -r /path/to/your/volume This will rebuild the DB. Also: check if cnid_metad is running. You might need cnid_metad_enable="yes" in your rc.conf -- http://www.boosten.org From sudakov at sibptus.tomsk.ru Fri Sep 10 12:55:44 2010 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Fri Sep 10 12:55:49 2010 Subject: ipfw fwd and ipfw allow In-Reply-To: <4C8754CD.6030003@gmx.com> References: <20100822052550.GA42346@admin.sibptus.tomsk.ru> <20100907090012.GA48608@admin.sibptus.tomsk.ru> <4C8616F0.5010401@gmx.com> <20100907110033.GA51618@admin.sibptus.tomsk.ru> <4C864145.80805@gmx.com> <20100907145223.GA55660@admin.sibptus.tomsk.ru> <4C8754CD.6030003@gmx.com> Message-ID: <20100910125534.GA50527@admin.sibptus.tomsk.ru> Nikos Vassiliadis wrote: > >A packet generated locally 1) should be forwarded by a 'fwd' > >rule and 2) should create a dynamic 'allow' rule for returning > >traffic. Could you please suggest a ruleset for this. > > The fw has the 10.0.0.1 IP address. > The 10.0.0.100 IP address belongs to another computer running a TCP > service at 9999. > > The IPFW rules: > >fw# ipfw list > >00100 fwd 10.0.0.100 tcp from any to 10.90.10.3 dst-port 9999 keep-state > >00200 deny ip from any to any > >65535 allow ip from any to any It seems that the 'fwd ... keep-state' statement does create a useful dynamic rule. It contradicts the ipfw(8) man page but works. Thank you for enlightment. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From laszlo_danielisz at yahoo.com Fri Sep 10 13:11:56 2010 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Fri Sep 10 13:11:59 2010 Subject: CNID DB vs afp In-Reply-To: <4C8A15A8.3040700@boosten.org> References: <250661.64584.qm@web30802.mail.mud.yahoo.com> <4C8A15A8.3040700@boosten.org> Message-ID: <586151.53696.qm@web30801.mail.mud.yahoo.com> Thank you! Actually it was a the cnid failure, it wasn't running, now its ok :-) ________________________________ From: Peter Boosten To: freebsd-questions@freebsd.org Sent: Fri, September 10, 2010 1:25:28 PM Subject: Re: CNID DB vs afp On 10-9-2010 10:11, D?nielisz L?szl? wrote: > Hi, > > I having the following problem on my afpd share: "something wrong witht he > volume's CNID DB, using temporary CNIDB DB insted. Check server messages for > details. Switching to read-only mode". > I am using FreeBSD 8.0 for the afpd and OS-X 10.6.4, do you have any idea what > to check? > try dbd -r /path/to/your/volume This will rebuild the DB. Also: check if cnid_metad is running. You might need cnid_metad_enable="yes" in your rc.conf -- http://www.boosten.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 freebsd-questions at pp.dyndns.biz Fri Sep 10 13:21:47 2010 From: freebsd-questions at pp.dyndns.biz (=?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?=) Date: Fri Sep 10 13:21:51 2010 Subject: Any way to force AHCI mode on ICH8? In-Reply-To: <4C88E666.2030208@pp.dyndns.biz> References: <4C8825E7.5080000@pp.dyndns.biz> <4C88E666.2030208@pp.dyndns.biz> Message-ID: <4C8A30E6.5090009@pp.dyndns.biz> On 2010-09-09 15:51, Morgan Wesstr?m wrote: > On 2010-09-09 13:04, Ivan Voras wrote: >> On 09/09/10 02:10, Morgan Wesstr?m wrote: >>> I run FreeBSD 8.1 on an old Asus P5B-VM motherboard with ICH8. Its AMI >>> BIOS lacks an option to enable AHCI mode. Intel's datasheet for the ICH8 >>> family specifies that this feature exists on the ICH8, and the option is >>> available in the BIOS for the identical (apart from form factor) P5B >>> motherboard. >>> >>> http://www.intel.com/Assets/PDF/datasheet/313056.pdf >>> >>> I've contacted Asus support for an updated BIOS but I don't have much >>> hope I will ever see one. Would it be possible to patch the FreeBSD >>> kernel to enable AHCI mode somehow during boot? >> >> You mean except adding: >> >> ahci_load="YES" >> >> to /boot/loader.conf ? > > Yes, I meant if there was a way to programmatically switch the ICH8 into > AHCI mode before loading ahci(4). The BIOS on this motherboard only > provides a "legacy" and an "enhanced" option for the SATA controller. > Neither option turns on AHCI mode so ata(4) attaches to the controller. > There's also a JMicron controller, providing an eSATA connector, on this > motherboard. It is AHCI compatible and ahci(4) attaches correctly to it. > It would've been nice to be able to use NCQ and hotplug on the other > SATA connectors too since the ICH8 has those features. > Cross-posting this to freebsd-hackers in case that is a more appropriate list. On page 486, in the Intel I/O Controller Hub 8 (ICH8) Datasheet, there's a description of the address map register that controls the SATA mode selection (SMS). http://www.intel.com/assets/pdf/datasheet/313056.pdf I quote note 7: "Software shall not manipulate SMS during runtime operation (i.e., the OS will not do this). The BIOS may choose to switch from one mode to another during POST." That note is probably there for a reason but what would life be without experimentation? :-) This is of course far beyond my level of expertise, but would it be possible to flip the necessary register bit very early on in the boot process to turn the SATA controller into AHCI mode? Has anyone done anything like this and what part of the kernel or boot loader would be most appropriate to patch? I have no problem applying a patch and recompiling what's needed if anyone could provide the necessary code. Regards Morgan From cbakken at roros.net Fri Sep 10 13:46:35 2010 From: cbakken at roros.net (=?iso-8859-1?Q?Christian_Th=F8rn_Bakken?=) Date: Fri Sep 10 13:46:42 2010 Subject: IBM server SAS controller support? Message-ID: <871506CD-C75A-4672-950C-BBEFC44F3740@roros.net> I understand that you, Ivan, managed to install FreeBSD on an IBM Series x 3650 M3 server with the LSI M1015 SAS/SATA RAID controller. Ivan, did you tweak something to install, or did it work "out of the box" for you? Which FreeBSD version did you install? My main objective is to install the appliance distro SpanTitan 5.04 from www.spamtitan.com. It's based on FreeBSD 7.3 and the manufacturer confirms that the mfi(4) driver is compiled into the kernel. I've also tried with another (vanilla) version of FreeBSD (8.1), but with no luck. It just says there's no disk drives found. Regards Christian T. Bakken From merlyn at stonehenge.com Fri Sep 10 13:46:58 2010 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Fri Sep 10 13:47:02 2010 Subject: this is probably a little touchy to ask... In-Reply-To: (Jules Gilbert's message of "Fri, 10 Sep 2010 06:38:00 -0400") References: <86pqwmlhdu.fsf@red.stonehenge.com> Message-ID: <86sk1hk8xa.fsf@red.stonehenge.com> >>>>> "Jules" == Jules Gilbert writes: Jules> Look, I'm just a user. I'm not a Java developer, not a language Jules> developer, not a run-time specialist. But folks, we got problems! I Jules> say this because it's becoming really hard to make Java run on a Jules> browser. And that's why I challenged you as to "why". We needed Java to run in the browser back before we had cross-platform DHTML widgets. But with HTML5 around the corner, I've got to again ask, "why Java"? Java had its day. Time to move on. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From faust64 at gmail.com Fri Sep 10 13:52:12 2010 From: faust64 at gmail.com (=?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?=) Date: Fri Sep 10 13:52:15 2010 Subject: IBM server SAS controller support? In-Reply-To: <871506CD-C75A-4672-950C-BBEFC44F3740@roros.net> References: <871506CD-C75A-4672-950C-BBEFC44F3740@roros.net> Message-ID: two solutions: - compiling the kernel with the driver (device pci and device mfi in the configuration file) - mfi_load="YES" in your loader.conf Samuel Mart?n Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 All?e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Fri, Sep 10, 2010 at 3:27 PM, Christian Th?rn Bakken wrote: > I understand that you, Ivan, managed to install FreeBSD on an IBM Series x > 3650 M3 server with the LSI M1015 SAS/SATA RAID controller. > > > Ivan, did you tweak something to install, or did it work "out of the box" > for you? > Which FreeBSD version did you install? > > My main objective is to install the appliance distro SpanTitan 5.04 from > www.spamtitan.com. It's based on FreeBSD 7.3 and the manufacturer > confirms that the mfi(4) driver is compiled into the kernel. > > I've also tried with another (vanilla) version of FreeBSD (8.1), but with > no luck. It just says there's no disk drives found. > > Regards > Christian T. Bakken_______________________________________________ > 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 msommer at somware.com Fri Sep 10 14:20:34 2010 From: msommer at somware.com (Mark Sommer) Date: Fri Sep 10 14:20:40 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <86sk1hk8xa.fsf@red.stonehenge.com> Message-ID: On 9/10/10 7:46 AM, "Randal L. Schwartz" wrote: >>>>>> "Jules" == Jules Gilbert writes: > > Jules> Look, I'm just a user. I'm not a Java developer, not a language > Jules> developer, not a run-time specialist. But folks, we got problems! I > Jules> say this because it's becoming really hard to make Java run on a > Jules> browser. > > And that's why I challenged you as to "why". We needed Java to run in > the browser back before we had cross-platform DHTML widgets. But with > HTML5 around the corner, I've got to again ask, "why Java"? > > Java had its day. Time to move on. That's a pretty idealistic view of the upcoming release of HTML5. I have yet to see a release of HTML that is compatible across browsers, i.e. adapted universally by all browsers uniformly. Java is still a very viable platform, even on the browser. ~Mark From merlyn at stonehenge.com Fri Sep 10 14:29:19 2010 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Fri Sep 10 14:29:25 2010 Subject: this is probably a little touchy to ask... In-Reply-To: (Mark Sommer's message of "Fri, 10 Sep 2010 07:57:25 -0600") References: Message-ID: <86occ5k6yo.fsf@red.stonehenge.com> >>>>> "Mark" == Mark Sommer writes: Mark> That's a pretty idealistic view of the upcoming release of HTML5. Mark> I have yet to see a release of HTML that is compatible across Mark> browsers, i.e. adapted universally by all browsers uniformly. Mark> Java is still a very viable platform, even on the browser. Whenever I see Java firing up on my browser, I cringe. (Flash too.) There are darn few things either of these do that a good modern cross-platform library, like jQueryUI, can't do instead. Except for video playback, which HTML5 fixes as well. And yes, until then, we're stuck with Flash. We needed Java before we had good JavaScript. Now we have good JavaScript. I repeat... Java had its day. Time to move on. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From sterling at camdensoftware.com Fri Sep 10 15:16:56 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Fri Sep 10 15:17:00 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <86occ5k6yo.fsf@red.stonehenge.com> References: <86occ5k6yo.fsf@red.stonehenge.com> Message-ID: <20100910151651.GA29465@libertas.local.camdensoftware.com> Quoth Randal L. Schwartz on Friday, 10 September 2010: > >>>>> "Mark" == Mark Sommer writes: > > Mark> That's a pretty idealistic view of the upcoming release of HTML5. > Mark> I have yet to see a release of HTML that is compatible across > Mark> browsers, i.e. adapted universally by all browsers uniformly. > Mark> Java is still a very viable platform, even on the browser. > > Whenever I see Java firing up on my browser, I cringe. (Flash too.) > > There are darn few things either of these do that a good modern > cross-platform library, like jQueryUI, can't do instead. > > Except for video playback, which HTML5 fixes as well. And yes, until > then, we're stuck with Flash. > > We needed Java before we had good JavaScript. Now we have good > JavaScript. > > I repeat... Java had its day. Time to move on. > Perhaps someone could provide specific use cases for which Java is the only good solution? I don't have Flash installed on my browser, and what I lack from that is evident. I have yet to miss Java in any way. What problems would it solve for people that can't be solved using a different approach? -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100910/99b30ce8/attachment.pgp From ltning at anduin.net Fri Sep 10 15:20:09 2010 From: ltning at anduin.net (=?utf-8?Q?Eirik_=C3=98verby?=) Date: Fri Sep 10 15:20:17 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <86occ5k6yo.fsf@red.stonehenge.com> References: <86occ5k6yo.fsf@red.stonehenge.com> Message-ID: On 10. sep. 2010, at 16:29, merlyn@stonehenge.com (Randal L. Schwartz) wrote: >>>>>> "Mark" == Mark Sommer writes: > > Mark> That's a pretty idealistic view of the upcoming release of HTML5. > Mark> I have yet to see a release of HTML that is compatible across > Mark> browsers, i.e. adapted universally by all browsers uniformly. > Mark> Java is still a very viable platform, even on the browser. > > Whenever I see Java firing up on my browser, I cringe. (Flash too.) > > There are darn few things either of these do that a good modern > cross-platform library, like jQueryUI, can't do instead. > > Except for video playback, which HTML5 fixes as well. And yes, until > then, we're stuck with Flash. > > We needed Java before we had good JavaScript. Now we have good > JavaScript. > > I repeat... Java had its day. Time to move on. You are forgetting - or conveniently ignoring - that many still NEED Java support in their browsers - and not of their own choice. Banks, insurances, digital signature services etc. Still frequently use Java as carrier for their services. Often this cannot be changed easily as such organizations have long turn-around times and make investments in the long term. Java is still very much alive, and until html5 can validate and run signed code it'll stay that way even on the client. And that is just one of the reasons/scenarios. I'm not using FreeBSD on the desktop for just this kind o reasons. I'm sure it would be a great choice in an ideal world but we are unfortunately living in a real one. So either one takes the time to implement what people _need_ in addition to what you would prefer them to need, or the desktop can as well be ditched and focus moved to improving FreeBSD for servers, where it already excels. /Eirik > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > From amvandemore at gmail.com Fri Sep 10 15:31:46 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Sep 10 15:31:50 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <20100910064813.387f4ef0@scorpio> References: <20100910064813.387f4ef0@scorpio> Message-ID: On Fri, Sep 10, 2010 at 5:48 AM, Jerry wrote: > Excepting donations != producing results. I will be happy to donate > $100 US dollars to their fund once they distribute a fully up-to-date > version of JAVA, not some reworked, deprecated version, that is fully > compatible with Firefox on FreeBSD. I believe the current version of > Java is Version 6 Update 21. It simply goes counter to my basic > business model to contribute any monetary assistance to any open ended > project. > Did you contribute back when it was up to date? Or do you contribute now based on all the other features you find useful in FreeBSD? So you won't write code, you won't donate money, but constantly complain about it. I guess I fail to see the logic in your basic business model. I've donated fairly regularly, and things I've requested like HA and XEN support are at least partially here now. If you're in the US your donations are tax deductible, at least monetary donations are, so there is even less argument against donations. -- Adam Vande More From craig001 at lerwick.hopto.org Fri Sep 10 16:10:17 2010 From: craig001 at lerwick.hopto.org (Craig Butler) Date: Fri Sep 10 16:10:20 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <20100910151651.GA29465@libertas.local.camdensoftware.com> References: <86occ5k6yo.fsf@red.stonehenge.com> <20100910151651.GA29465@libertas.local.camdensoftware.com> Message-ID: <1284133412.5254.5.camel@main.lerwick.hopto.org> On Fri, 2010-09-10 at 08:16 -0700, Chip Camden wrote: > Quoth Randal L. Schwartz on Friday, 10 September 2010: > > >>>>> "Mark" == Mark Sommer writes: > > > > Mark> That's a pretty idealistic view of the upcoming release of HTML5. > > Mark> I have yet to see a release of HTML that is compatible across > > Mark> browsers, i.e. adapted universally by all browsers uniformly. > > Mark> Java is still a very viable platform, even on the browser. > > > > Whenever I see Java firing up on my browser, I cringe. (Flash too.) > > > > There are darn few things either of these do that a good modern > > cross-platform library, like jQueryUI, can't do instead. > > > > Except for video playback, which HTML5 fixes as well. And yes, until > > then, we're stuck with Flash. > > > > We needed Java before we had good JavaScript. Now we have good > > JavaScript. > > > > I repeat... Java had its day. Time to move on. > > > > Perhaps someone could provide specific use cases for which Java is the > only good solution? > > I don't have Flash installed on my browser, and what I lack from that is > evident. I have yet to miss Java in any way. What problems would it > solve for people that can't be solved using a different approach? > One that springs to mind for me is alom/ilo/drac console redirection... It requires java unfortunately. I suspect there are a lot of legacy applications that use javaws... It will take time for them to catch up once html5 is proper mainstream if at all. Cheers Craig B From four.harrisons at googlemail.com Fri Sep 10 15:52:09 2010 From: four.harrisons at googlemail.com (four.harrisons@googlemail.com) Date: Fri Sep 10 16:14:27 2010 Subject: this is probably a little touchy to ask... Message-ID: <4c8a4eaa.5b8bcc0a.7880.62d3@mx.google.com> ----------------------------- From: "Eirik ?verby" Subject: Re: this is probably a little touchy to ask... Date: 10th September 2010 16:20 On 10. sep. 2010, at 16:29, merlyn@stonehenge.com (Randal L. Schwartz) wrote: >>>>>> "Mark" == Mark Sommer writes: > > Mark> That's a pretty idealistic view of the upcoming release of HTML5. > Mark> I have yet to see a release of HTML that is compatible across > Mark> browsers, i.e. adapted universally by all browsers uniformly. > Mark> Java is still a very viable platform, even on the browser. > > Whenever I see Java firing up on my browser, I cringe. (Flash too.) > > There are darn few things either of these do that a good modern > cross-platform library, like jQueryUI, can't do instead. > > Except for video playback, which HTML5 fixes as well. And yes, until > then, we're stuck with Flash. > > We needed Java before we had good JavaScript. Now we have good > JavaScript. > > I repeat... Java had its day. Time to move on. You are forgetting - or conveniently ignoring - that many still NEED Java support in their browsers - and not of their own choice. Banks, insurances, digital signature services etc. Still frequently use Java as carrier for their services. Often this cannot be changed easily as such organizations have long turn-around times and make investments in the long term. Java is still very much alive, and until html5 can validate and run signed code it'll stay that way even on the client. And that is just one of the reasons/scenarios. I'm not using FreeBSD on the desktop for just this kind o reasons. I'm sure it would be a great choice in an ideal world but we are unfortunately living in a real one. So either one takes the time to implement what people _need_ in addition to what you would prefer them to need, or the desktop can as well be ditched and focus moved to improving FreeBSD for servers, where it already excels. /Eirik I've been running FreeBSD as my sole desktop since 5.2.1. I bank and shop online. I do not have either Java or Flash installed. I have yet to find any functionality missing because of the lack of Java. Some sites make accessing them difficult without Flash, but I consider that their problem and move on. FreeBSD isn't just good for servers. Peter Harrison www.4harrisons.blogspot.com > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-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 cbakken at roros.net Fri Sep 10 16:40:31 2010 From: cbakken at roros.net (=?utf-8?Q?Christian_Th=C3=B8rn_Bakken?=) Date: Fri Sep 10 16:40:34 2010 Subject: IBM server SAS controller support? In-Reply-To: References: <871506CD-C75A-4672-950C-BBEFC44F3740@roros.net> Message-ID: <1B268A40-90D4-467F-95B0-D3380BE35C85@roros.net> Sorry about the blank post... As I wrote in my former post, SpamTitan claims that the driver is already compiled into the kernel. Even if that is correct, it wouldn't hurt to try the loader.conf approach, would it? Can I just edit the loader.conf file in a loop mounted .iso, and then just burn the .iso to a bootable CD? Regards Christian T Bakken Den 10. sep. 2010 kl. 15:51 skrev Samuel Mart?n Moro : > two solutions: > - compiling the kernel with the driver (device pci and device mfi in the > configuration file) > - mfi_load="YES" in your loader.conf > > > Samuel Mart?n Moro > {EPITECH.} tek4 > CamTrace S.A.S > (+033) 1 41 38 37 60 > 1 All?e de la Venelle > 92150 Suresnes > FRANCE > > "Nobody wants to say how this works. > Maybe nobody knows ..." > Xorg.conf(5) > > > On Fri, Sep 10, 2010 at 3:27 PM, Christian Th?rn Bakken > wrote: > >> I understand that you, Ivan, managed to install FreeBSD on an IBM Series x >> 3650 M3 server with the LSI M1015 SAS/SATA RAID controller. >> >> >> Ivan, did you tweak something to install, or did it work "out of the box" >> for you? >> Which FreeBSD version did you install? >> >> My main objective is to install the appliance distro SpanTitan 5.04 from >> www.spamtitan.com. It's based on FreeBSD 7.3 and the manufacturer >> confirms that the mfi(4) driver is compiled into the kernel. >> >> I've also tried with another (vanilla) version of FreeBSD (8.1), but with >> no luck. It just says there's no disk drives found. >> >> Regards >> Christian T. Bakken_______________________________________________ >> 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 cbakken at roros.net Fri Sep 10 16:46:46 2010 From: cbakken at roros.net (=?utf-8?Q?Christian_Th=C3=B8rn_Bakken?=) Date: Fri Sep 10 16:46:50 2010 Subject: IBM server SAS controller support? In-Reply-To: References: <871506CD-C75A-4672-950C-BBEFC44F3740@roros.net> Message-ID: <3A1A5CA0-D55E-421A-9895-4F7D4F2E0791@roros.net> Mvh Christian Th?rn Bakken Infonett R?ros as Mob. 40 40 83 38 Tel. 72 41 48 17 www.rev.no | www.roros.net Den 10. sep. 2010 kl. 15:51 skrev Samuel Mart?n Moro : > two solutions: > - compiling the kernel with the driver (device pci and device mfi in the > configuration file) > - mfi_load="YES" in your loader.conf > > > Samuel Mart?n Moro > {EPITECH.} tek4 > CamTrace S.A.S > (+033) 1 41 38 37 60 > 1 All?e de la Venelle > 92150 Suresnes > FRANCE > > "Nobody wants to say how this works. > Maybe nobody knows ..." > Xorg.conf(5) > > > On Fri, Sep 10, 2010 at 3:27 PM, Christian Th?rn Bakken > wrote: > >> I understand that you, Ivan, managed to install FreeBSD on an IBM Series x >> 3650 M3 server with the LSI M1015 SAS/SATA RAID controller. >> >> >> Ivan, did you tweak something to install, or did it work "out of the box" >> for you? >> Which FreeBSD version did you install? >> >> My main objective is to install the appliance distro SpanTitan 5.04 from >> www.spamtitan.com. It's based on FreeBSD 7.3 and the manufacturer >> confirms that the mfi(4) driver is compiled into the kernel. >> >> I've also tried with another (vanilla) version of FreeBSD (8.1), but with >> no luck. It just says there's no disk drives found. >> >> Regards >> Christian T. Bakken_______________________________________________ >> 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 joannem at juniper.net Fri Sep 10 16:59:47 2010 From: joannem at juniper.net (Joanne McClintock) Date: Fri Sep 10 16:59:51 2010 Subject: question on access to res utility Message-ID: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> I'm helping a new writer use tech pubs lab routers. In trying to use the res utility, he gets the following: -bash-2.05b$ res show tp5 -bash: res: command not found In giving the uname -a command he gets: -bash-2.05b$ uname -a FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: Mon Oct 25 16:23:23 PDT 2004 root@bigpink.juniper.net:/usr/src/sys/compile/bigpink i386 We are wondering if perhaps this is an access problem. Any ideas? Need any other information? Thanks. Joanne From mikel.king at olivent.com Fri Sep 10 17:21:36 2010 From: mikel.king at olivent.com (mikel king) Date: Fri Sep 10 17:21:40 2010 Subject: question on access to res utility In-Reply-To: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> References: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> Message-ID: <2C0A4329-41B2-4116-850B-97898006447E@olivent.com> Joanne, I did a quick which and search of the ports that yielded nothing concrete regarding this command. I believe that this a proprietary Juniper utility. I found similar reference to this at this url: http://forum.nginx.org/read.php?23,124019,124019 As much as I hate passing the buck, I'd have to punt this back to someone familiar with the changes to FreeBSD made in JunOS. Regards, Mikel King Senior Editor, BSD News Network Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 http://www.linkedin.com/in/mikelking http://twitter.com/mikelking On Sep 10, 2010, at 12:42 PM, Joanne McClintock wrote: > I'm helping a new writer use tech pubs lab routers. In trying to use > the res utility, he gets the following: > > -bash-2.05b$ res show tp5 > -bash: res: command not found > > In giving the uname -a command he gets: > > -bash-2.05b$ uname -a > FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 > #0: Mon Oct 25 16:23:23 PDT 2004 root@bigpink.juniper.net:/usr/ > src/sys/compile/bigpink i386 > > We are wondering if perhaps this is an access problem. Any ideas? > Need any other information? Thanks. > > Joanne > _______________________________________________ > 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 ross.cameron at unix.net Fri Sep 10 17:23:52 2010 From: ross.cameron at unix.net (Ross Cameron) Date: Fri Sep 10 17:23:57 2010 Subject: question on access to res utility In-Reply-To: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> References: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> Message-ID: As an !!! employee !!! of Juniper I would expect that you would know that the "res" command is part of the JunOS shell and NOT part of the underlying FreeBSD OS. Most especially since you're "helping" what sounds like a member of the press, therefore you SHOULD have / SOME / idea of what you are doing. What respect I had for Juniper's products has been ruined of last as this is NOT the first time that a Juniper employee has posted such completely idiotic emails to this list. Please do tell what are the employment requirements? Know how to press the "ON" button on a kettle? "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. On Fri, Sep 10, 2010 at 6:42 PM, Joanne McClintock wrote: > I'm helping a new writer use tech pubs lab routers. In trying to use the > res utility, he gets the following: > > -bash-2.05b$ res show tp5 > -bash: res: command not found > > In giving the uname -a command he gets: > > -bash-2.05b$ uname -a > FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: > Mon Oct 25 16:23:23 PDT 2004 root@bigpink.juniper.net:/usr/src/sys/compile/bigpink > i386 > > We are wondering if perhaps this is an access problem. Any ideas? Need any > other information? Thanks. > > Joanne > _______________________________________________ > 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 kurt.buff at gmail.com Fri Sep 10 18:28:41 2010 From: kurt.buff at gmail.com (Kurt Buff) Date: Fri Sep 10 18:28:44 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <86sk1hk8xa.fsf@red.stonehenge.com> References: <86pqwmlhdu.fsf@red.stonehenge.com> <86sk1hk8xa.fsf@red.stonehenge.com> Message-ID: On Fri, Sep 10, 2010 at 06:46, Randal L. Schwartz wrote: >>>>>> "Jules" == Jules Gilbert writes: > > Jules> Look, I'm just a user. ?I'm not a Java developer, not a language > Jules> developer, not a run-time specialist. ?But folks, we got problems! ?I > Jules> say this because it's becoming really hard to make Java run on a > Jules> browser. > > And that's why I challenged you as to "why". ?We needed Java to run in > the browser back before we had cross-platform DHTML widgets. ?But with > HTML5 around the corner, I've got to again ask, "why Java"? > > Java had its day. ?Time to move on. Why Java? I've worked with several SSL VPNs (SonicWall, Juniper, Aventail) for $WORK, and they all require a java-enabled browser - so unless you're suggesting that DHTML and HTML5 can replace that, I need a java-enabled browser. Aside from that, there are some really nice apps written in Java - including Data Crow, which is a pretty decent cataloging utility for my books and movies and such, and I haven't seen anything nearly as good as that written in a cross-platform language, so that I can move it between my FreeBSD machine and my family's Windows machines. Kurt From ross.cameron at unix.net Fri Sep 10 18:59:07 2010 From: ross.cameron at unix.net (Ross Cameron) Date: Fri Sep 10 18:59:12 2010 Subject: question on access to res utility In-Reply-To: References: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> Message-ID: It's not the first time that almost word for word the same question has been asked by someone from that domain..... "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. On Fri, Sep 10, 2010 at 8:49 PM, Alessandro Dellavedova < alessandro.dellavedova@ifom-ieo-campus.it> wrote: > > On Sep 10, 2010, at 7:23 PM, Ross Cameron wrote: > > > As an !!! employee !!! of Juniper I would expect that you would know that > > the "res" command is part of the JunOS shell and NOT part of the > underlying > > FreeBSD OS. > > > > Most especially since you're "helping" what sounds like a member of the > > press, therefore you SHOULD have / SOME / idea of what you are doing. > > > > What respect I had for Juniper's products has been ruined of last as this > is > > NOT the first time that a Juniper employee has posted such completely > > idiotic emails to this list. > > Please do tell what are the employment requirements? Know how to press > > the "ON" button on a kettle? > > Please don't be so rude, maybe she's a Press Office employee, looking for a > bit of help here. > Working at Juniper does not mean being a JunOS developer or a tech guru. > > It's just one e-mail on hundreds that you get per day, and it does not > hurt. > > Just my opinion, peace > > Alessandro > > > > > > > On Fri, Sep 10, 2010 at 6:42 PM, Joanne McClintock >wrote: > > > >> I'm helping a new writer use tech pubs lab routers. In trying to use the > >> res utility, he gets the following: > >> > >> -bash-2.05b$ res show tp5 > >> -bash: res: command not found > >> > >> In giving the uname -a command he gets: > >> > >> -bash-2.05b$ uname -a > >> FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: > >> Mon Oct 25 16:23:23 PDT 2004 root@bigpink.juniper.net: > /usr/src/sys/compile/bigpink > >> i386 > >> > >> We are wondering if perhaps this is an access problem. Any ideas? Need > any > >> other information? Thanks. > >> > >> Joanne > >> _______________________________________________ > >> 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 alessandro.dellavedova at ifom-ieo-campus.it Fri Sep 10 19:16:29 2010 From: alessandro.dellavedova at ifom-ieo-campus.it (Alessandro Dellavedova) Date: Fri Sep 10 19:16:34 2010 Subject: question on access to res utility In-Reply-To: References: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> Message-ID: On Sep 10, 2010, at 7:23 PM, Ross Cameron wrote: > As an !!! employee !!! of Juniper I would expect that you would know that > the "res" command is part of the JunOS shell and NOT part of the underlying > FreeBSD OS. > > Most especially since you're "helping" what sounds like a member of the > press, therefore you SHOULD have / SOME / idea of what you are doing. > > What respect I had for Juniper's products has been ruined of last as this is > NOT the first time that a Juniper employee has posted such completely > idiotic emails to this list. > Please do tell what are the employment requirements? Know how to press > the "ON" button on a kettle? Please don't be so rude, maybe she's a Press Office employee, looking for a bit of help here. Working at Juniper does not mean being a JunOS developer or a tech guru. It's just one e-mail on hundreds that you get per day, and it does not hurt. Just my opinion, peace Alessandro > > > On Fri, Sep 10, 2010 at 6:42 PM, Joanne McClintock wrote: > >> I'm helping a new writer use tech pubs lab routers. In trying to use the >> res utility, he gets the following: >> >> -bash-2.05b$ res show tp5 >> -bash: res: command not found >> >> In giving the uname -a command he gets: >> >> -bash-2.05b$ uname -a >> FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: >> Mon Oct 25 16:23:23 PDT 2004 root@bigpink.juniper.net:/usr/src/sys/compile/bigpink >> i386 >> >> We are wondering if perhaps this is an access problem. Any ideas? Need any >> other information? Thanks. >> >> Joanne >> _______________________________________________ >> 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 amvandemore at gmail.com Fri Sep 10 19:22:36 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Sep 10 19:22:39 2010 Subject: question on access to res utility In-Reply-To: References: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> Message-ID: On Fri, Sep 10, 2010 at 1:58 PM, Ross Cameron wrote: > It's not the first time that almost word for word the same question has > been > asked by someone from that domain..... > True but juniper has given a great of IP to BSD. Gracefully handling some runoff seems appropriate. -- Adam Vande More From jerrymc at msu.edu Fri Sep 10 19:31:59 2010 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri Sep 10 19:32:03 2010 Subject: question on access to res utility In-Reply-To: References: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> Message-ID: <20100910192859.GB90329@gizmo.acns.msu.edu> On Fri, Sep 10, 2010 at 08:58:46PM +0200, Ross Cameron wrote: > It's not the first time that almost word for word the same question has been > asked by someone from that domain..... > And not the first time some idiot rude reply caused much more harm than good. ////jerry > > "Opportunity is most often missed by people because it is dressed in > overalls and looks like work." > Thomas Alva Edison > Inventor of 1093 patents, including: > The light bulb, phonogram and motion pictures. > > > > On Fri, Sep 10, 2010 at 8:49 PM, Alessandro Dellavedova < > alessandro.dellavedova@ifom-ieo-campus.it> wrote: > > > > > On Sep 10, 2010, at 7:23 PM, Ross Cameron wrote: > > > > > As an !!! employee !!! of Juniper I would expect that you would know that > > > the "res" command is part of the JunOS shell and NOT part of the > > underlying > > > FreeBSD OS. > > > > > > Most especially since you're "helping" what sounds like a member of the > > > press, therefore you SHOULD have / SOME / idea of what you are doing. > > > > > > What respect I had for Juniper's products has been ruined of last as this > > is > > > NOT the first time that a Juniper employee has posted such completely > > > idiotic emails to this list. > > > Please do tell what are the employment requirements? Know how to press > > > the "ON" button on a kettle? > > > > Please don't be so rude, maybe she's a Press Office employee, looking for a > > bit of help here. > > Working at Juniper does not mean being a JunOS developer or a tech guru. > > > > It's just one e-mail on hundreds that you get per day, and it does not > > hurt. > > > > Just my opinion, peace > > > > Alessandro > > > > > > > > > > > On Fri, Sep 10, 2010 at 6:42 PM, Joanne McClintock > >wrote: > > > > > >> I'm helping a new writer use tech pubs lab routers. In trying to use the > > >> res utility, he gets the following: > > >> > > >> -bash-2.05b$ res show tp5 > > >> -bash: res: command not found > > >> > > >> In giving the uname -a command he gets: > > >> > > >> -bash-2.05b$ uname -a > > >> FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: > > >> Mon Oct 25 16:23:23 PDT 2004 root@bigpink.juniper.net: > > /usr/src/sys/compile/bigpink > > >> i386 > > >> > > >> We are wondering if perhaps this is an access problem. Any ideas? Need > > any > > >> other information? Thanks. > > >> > > >> Joanne > > >> _______________________________________________ > > >> 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" > > > > > _______________________________________________ > 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 mikel.king at olivent.com Fri Sep 10 19:45:06 2010 From: mikel.king at olivent.com (mikel king) Date: Fri Sep 10 19:45:10 2010 Subject: question on access to res utility In-Reply-To: References: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> Message-ID: <1DAF4911-4B84-414A-9B5B-08D73DF4F734@olivent.com> I'm glad that I am not the only one who felt that was a bit extreme. This is a BSD, not Linux, list after all. Regards, Mikel King Senior Editor, BSD News Network Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 http://www.linkedin.com/in/mikelking http://twitter.com/mikelking On Sep 10, 2010, at 3:22 PM, Adam Vande More wrote: > On Fri, Sep 10, 2010 at 1:58 PM, Ross Cameron > wrote: > >> It's not the first time that almost word for word the same question >> has >> been >> asked by someone from that domain..... >> > > True but juniper has given a great of IP to BSD. Gracefully > handling some > runoff seems appropriate. > > -- > 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 > " From ross.cameron at unix.net Fri Sep 10 19:59:31 2010 From: ross.cameron at unix.net (Ross Cameron) Date: Fri Sep 10 19:59:34 2010 Subject: question on access to res utility In-Reply-To: <1DAF4911-4B84-414A-9B5B-08D73DF4F734@olivent.com> References: <3E6CB99C2F38864E95D6AA1B707C0C70573C2BE99C@EMBX02-HQ.jnpr.net> <1DAF4911-4B84-414A-9B5B-08D73DF4F734@olivent.com> Message-ID: 2seconds spent Googling the phrase pulls up my much more polite answer to exactly the same question from a month ago. Absolutely no effort was made, that much is OBVIOUS. In my defense when I realised the the OP thought that this was a Juniper support list I did offer to try help. "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. On Fri, Sep 10, 2010 at 9:44 PM, mikel king wrote: > I'm glad that I am not the only one who felt that was a bit extreme. > > This is a BSD, not Linux, list after all. > > > Regards, > Mikel King > Senior Editor, BSD News Network > Columnist, BSD Magazine > 6 Alpine Court, > Medford, NY 11763 > o: 631.627.3055 > http://www.linkedin.com/in/mikelking > http://twitter.com/mikelking > > On Sep 10, 2010, at 3:22 PM, Adam Vande More wrote: > > On Fri, Sep 10, 2010 at 1:58 PM, Ross Cameron >> wrote: >> >> It's not the first time that almost word for word the same question has >>> been >>> asked by someone from that domain..... >>> >>> >> True but juniper has given a great of IP to BSD. Gracefully handling some >> runoff seems appropriate. >> >> -- >> 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" >> > > > > > > > _______________________________________________ > 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 a at jenisch.at Fri Sep 10 20:47:20 2010 From: a at jenisch.at (Ewald Jenisch) Date: Fri Sep 10 20:47:23 2010 Subject: sysutils/eiciel - can't portupgrade but dependencies to gnome2-power-tools Message-ID: <20100910201751.GA17386@aurora.oekb.co.at> Hi, Upon upgrading my ports I ran into a problem: When portupgrade comes to upgrading sysutils/eiciel it stops with the following message: ===> eiciel-0.9.8 is marked as broken: does not compile. *** Error code 1 Stop in /usr/ports/sysutils/eiciel. # However eiciel is needed by gnome2-power-tools. # pkg_info -Rx eiciel | more Information for eiciel-0.9.6.1_6: Required by: gnome2-power-tools-2.30.2_1 # So how can I do a portupgrade for gnome2-power-tools when a port that it depends on can't be upgraded? Thanks much in advance for any hint! -ewald PS: System im question is freebsd 7.3, AMD64 From martin at dc.cis.okstate.edu Fri Sep 10 20:58:58 2010 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Fri Sep 10 20:59:01 2010 Subject: How to Best Prevent Unwanted named installation Message-ID: <201009102058.o8AKwgAr025569@dc.cis.okstate.edu> After successfully installing bind97 from a package on to a new server, I do a cvs-sup of the system to get the latest patches in to the kernel. After discovering that bind97 had been replaced with bind9.6.1, I looked in /usr/src and there is a contrib/bind9 directory. What is the safest way to disable that build without adversly effecting the rest of the update? The reason for doing these things in this order is that I would like to get bind running as quickly as possible since it takes a couple of hours or more to get the world built when we could be doing DNS. Since I am not using that version of bind, not getting it built is no problem. I don't even care if it gets built so long as it does not end up in /usr/sbin to clobber the new bind9.7. This is not really a complaint. I just want to prevent the installation of the old bind over the new one as simply as possible. Thanks. Martin McCormick From mike at sentex.net Fri Sep 10 21:03:03 2010 From: mike at sentex.net (Mike Tancsa) Date: Fri Sep 10 21:03:06 2010 Subject: How to Best Prevent Unwanted named installation In-Reply-To: <201009102058.o8AKwgAr025569@dc.cis.okstate.edu> References: <201009102058.o8AKwgAr025569@dc.cis.okstate.edu> Message-ID: <201009102102.o8AL2rfl082248@lava.sentex.ca> At 04:58 PM 9/10/2010, Martin McCormick wrote: >contrib/bind9 directory. What is the safest way to disable that >build without adversly effecting the rest of the update? Hi, Take a look at the man page for src.conf (and make.conf for completeness). You can control parts of what gets built and installed. ---Mike > The reason for doing these things in this order is that >I would like to get bind running as quickly as possible since it >takes a couple of hours or more to get the world built when we >could be doing DNS. > > Since I am not using that version of bind, not getting >it built is no problem. I don't even care if it gets built so >long as it does not end up in /usr/sbin to clobber the new >bind9.7. > > This is not really a complaint. I just want to prevent >the installation of the old bind over the new one as simply as >possible. > > Thanks. > >Martin McCormick >_______________________________________________ >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" -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From cronfy at gmail.com Fri Sep 10 22:52:51 2010 From: cronfy at gmail.com (cronfy) Date: Fri Sep 10 22:52:55 2010 Subject: fsck reports errors on clean filesystem (mounted rw) Message-ID: Hello. I ran fsck on my filesystems while system was running (partitons were mounted rw with moderate FS usage). fsck reported there were errors (INCORRECT BLOCK COUNT and others). I decided to reboot to single mode and check all filesystems. But in single mode fsck did not find any errors. 1. Can I be sure my filesystem is consistent? 2. If fsck reports nonexistent errors (and probably will try to fix them if asked), isn't it even danger to run fsck on running system? 3. How can I check (not fix) filesystems while partitions are mouted rw and are under usage? FreeBSD 7.3/kernel, 7.2/world. Thanks in advance. -- // cronfy From cswiger at mac.com Fri Sep 10 23:04:26 2010 From: cswiger at mac.com (Chuck Swiger) Date: Fri Sep 10 23:04:29 2010 Subject: fsck reports errors on clean filesystem (mounted rw) In-Reply-To: References: Message-ID: <5FCC3CB1-D40F-47C2-946C-4095506D0091@mac.com> On Sep 10, 2010, at 3:27 PM, cronfy wrote: > 1. Can I be sure my filesystem is consistent? Reasonably. > 2. If fsck reports nonexistent errors (and probably will try to fix > them if asked), isn't it even danger to run fsck on running system? Running fsck in foreground mode on a mounted filesystem is not recommended. > 3. How can I check (not fix) filesystems while partitions are mouted > rw and are under usage? fsck -B...? See "man fsck_ffs". Regards, -- -Chuck From FreeBSD at insightbb.com Fri Sep 10 23:25:52 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Fri Sep 10 23:25:59 2010 Subject: Unable to create plasma widget per tutorial Message-ID: <201009101925.44908.FreeBSD@insightbb.com> There is a tutorial at: http://techbase.kde.org/Development/Tutorials/Plasma/GettingStarted My tutorial1 widget doesn't appear in the add widgets box. Any ideas? -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From perrin at apotheon.com Fri Sep 10 23:53:25 2010 From: perrin at apotheon.com (Chad Perrin) Date: Fri Sep 10 23:53:29 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <20100910151651.GA29465@libertas.local.camdensoftware.com> References: <86occ5k6yo.fsf@red.stonehenge.com> <20100910151651.GA29465@libertas.local.camdensoftware.com> Message-ID: <20100910234956.GB63239@guilt.hydra> On Fri, Sep 10, 2010 at 08:16:51AM -0700, Chip Camden wrote: > > Perhaps someone could provide specific use cases for which Java is the > only good solution? I guess the only answer to that is "running applications someone wrote in Java" -- but I know that's *not* what you meant. > > I don't have Flash installed on my browser, and what I lack from that is > evident. I have yet to miss Java in any way. What problems would it > solve for people that can't be solved using a different approach? I have intentionally avoided installing Java for a long time. This has caused some issues with getting OpenOffice.org running, but the single use I've had for it in the last year (give or take) dried up a couple months or so ago, so that reason to care went away. I sure as heck have never actually *needed* Java in my browser, for any reason. Who still uses Java in the browser without some alternative for those who don't have it, these days? These days, it seems like the only places people *really* think they still need Java are smartphones and "enterprise" systems running on overpriced servers -- neither of which makes a difference for Firefox on the desktop. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100910/8c64c4f1/attachment.pgp From faust64 at gmail.com Sat Sep 11 00:58:30 2010 From: faust64 at gmail.com (=?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?=) Date: Sat Sep 11 00:58:34 2010 Subject: kernel replacement in installation media Message-ID: Hi, I bought a QNAP ts-509. I'ld like to set up a gate, with a RAID ; I'm still waiting for the disks, 5*2T - Samsung, ecogreen, 5400rpm - to be delivered. I've seen managing a RAID may be quite difficult. That's my first one. I don't want to loose everything 'cause of a mistake. I've read zfs, and RAID-Z, may be helpfull, since there's no risk to loose data on read, and since zfs handle variable blob (is that the correct word?) size The thing is, it only have a 128M flash disk (seen as /dev/da0) GENERIC needs almost 250M. I though about using mfsBSD. But I'm not sure my drivers would be there (since at least the RAID one is quite new in FB-8). I tried to build nanoBSD in a 128M disk, without configuring that much (hoping it would be nano out-of-the-box), and it failed saying "no more space on device" Moreover, every small BSD with zfs I found was a custom FreeBSD. So I decided to make mine. First, from a USB stick, I installed FreeBSD on an other USB stick. Then, I looked at what I would have to get in the kernel (mainly: da, usb, ehci, kbd, vga, bge, ...) So I build a custom kernel, deleting some lines from the GENERIC configuration file. As my USB stick doesn't seem to handle write access that well, I had to compile the kernel on a VM, and the to send/extract the tarball on the NAS. But once installed, I still have a lot of .ko in boot/kernel. I'm not sure I actually removed something, except symbols. Whatever, it worked I haven't that much time. Once I'll get some, I'll also try to reduce the /usr size. Then, I replaced the kernel from the installation stick with mine, updated the .mtree and checksums files, ... But, I didn't understood, what's the generic.inf file? How can I update it? In doubt, I deleted it. And maybe I shouldn't have. (or is it because my kernel is not called "GENERIC" any more, but "QNAP"?!) The thing is, the install failed, I finished it with the Fixit shell, untar my kernel, ... it's now "working" So, first question, how can I be sure I removed modules from my kernel? is there something to add to the config file? how can I have so much if_*.ko, while I deleted almost all device lines? Second one, how to generate .inf files for distribs? (I may have to do it at least for base too) And even if it's a dirty way to do it, is it ok to update a .img file (or the created stick)? or should I rebuild everything? (on my VM...) Regards, Samuel Mart?n Moro {EPITECH.} tek4 CamTrace S.A.S From jcw at speakeasy.net Sat Sep 11 01:20:11 2010 From: jcw at speakeasy.net (Jason C. Wells) Date: Sat Sep 11 01:20:16 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <86occ5k6yo.fsf@red.stonehenge.com> References: <86occ5k6yo.fsf@red.stonehenge.com> Message-ID: <4C8AD94A.9060404@speakeasy.net> On 09/10/10 07:29, Randal L. Schwartz wrote: > > I repeat... Java had its day. Time to move on. > > Java is not just for browsers. Regards, Jason C. Wells From merlyn at stonehenge.com Sat Sep 11 01:23:35 2010 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Sat Sep 11 01:23:37 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <4C8AD94A.9060404@speakeasy.net> (Jason C. Wells's message of "Fri, 10 Sep 2010 18:20:10 -0700") References: <86occ5k6yo.fsf@red.stonehenge.com> <4C8AD94A.9060404@speakeasy.net> Message-ID: <86vd6df4yx.fsf@red.stonehenge.com> >>>>> "Jason" == Jason C Wells writes: Jason> On 09/10/10 07:29, Randal L. Schwartz wrote: >> >> I repeat... Java had its day. Time to move on. >> >> Jason> Java is not just for browsers. Indeed. And I still stand by my statement. Java makes everyone equally incompetent, which is why managers like it. It helps the beginner, hurts the advanced. Managers can swap programmers in and out strictly on head count, not on experience. Friends don't let friends make greenstarts with Java. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From olivares14031 at gmail.com Sat Sep 11 02:37:41 2010 From: olivares14031 at gmail.com (Antonio Olivares) Date: Sat Sep 11 02:37:45 2010 Subject: TexLive on FreeBSD 8.1 In-Reply-To: <201008021920.o72JK9It005114@anthesphoria.net> References: <201007251607.o6PG6xaB078142@anthesphoria.net> <201008021920.o72JK9It005114@anthesphoria.net> Message-ID: On 8/2/10, Nikola Le?i? wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: RIPEMD160 > > On Mon, 2 Aug 2010 18:54:43 +0000 > Antonio Olivares wrote: > >> Sorry to ask, but you mention that the new TeXLive 2010 will be >> released this summer. Do you know *when exactly* it will be released? > > TeX Live and FreeBSD share the same principle: a release will be out > when it is ready. No deadlines: > > http://tug.org/pipermail/tex-live/2010-July/026779.html > > TL2010 pretest is currently at the stage of final testings. > >> I am also hoping that if use either the pretest one, or the official >> release, that *it*(The install procedure) also setup the paths, >> otherwise one has to do this manually :( >> [...] > > Ok, so you would like an installation procedure without need to change > PATH and other env vars and without installing binaries manually? The > following comes to mind (unfortunately, you must deinstall all traces > of teTeX from FreeBSD ports first, but I think you can easily maintain a > teTeX-free installation): > > (1) download TL2010 pretest tree: > rsync -a --delete --exclude="mactex*" > rsync://ftp.cstug.cz/pub/tex/local/tlpretest . > (don't forget the final dot) > > (2) run > ./install-tl -gui > (you'll need x11-toolkits/p5-Tk for GUI) > > (3) find the last option, "Create symlinks in system > directories" (which is "no" by default) and click "Change"; in the > small window, check "create symlinks in standard directories". > > (4) Click "Install TeX Live". > > That's all. You'll have FreeBSD binaries; no need to change PATH since > all TL binaries, manpages, etc. will be linked from /usr/local/bin/ etc. > > Hope this helps, > - -- @Nikola, Roland, & others that offered advice and suggestions TeXLive 2010 has officially been released: http://mirror.ctan.org/systems/texlive/Images/texlive2010.iso.xz Did not know, I hope to download it as soon as I can and try to install it, I might just set the symlinks manually since the required packages might not be there. Hope that there are no problems. BTW, do you know if this release has the editor (TeXWorks)? Why? The package found on the updates depends on TeTeX, while Kile and TeXMaker also do. This way I may avoid using them?, otherwise compile them from source(not through ports*tetex is a dep*) Regards, Antonio From cyberleo at cyberleo.net Sat Sep 11 03:01:59 2010 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Sat Sep 11 03:02:03 2010 Subject: kernel replacement in installation media In-Reply-To: References: Message-ID: <4C8AF124.5050808@cyberleo.net> On 09/10/2010 07:57 PM, Samuel Mart?n Moro wrote: > Hi, > ... > The thing is, it only have a 128M flash disk (seen as /dev/da0) > GENERIC needs almost 250M. I have run into something similar, while building a ZFS install to run on an Intel SS4200EHW NAS device. Utilizing a series of scripts I have developed[1], I was able to compact an entire functional FreeBSD system into 4.6MB /boot and 84MB root with mkisofs and mkuzip, without permanently tying up a bunch of the machine's limited RAM with an MFS, and with acceptable performance despite the IDE channel's speed limit of 1.6MB/sec. Plus, boot and root are read-only, so the CompactFlash card won't wear out prematurely. You can make use of src.conf(5) while building world and kernel to eliminate a lot of unnecessary userland components, and MODULES_OVERRIDE and WITHOUT_MODULES to control what modules get built, as the kernel build process will build all modules regardless of what might be in your kernel config. Be prepared to perform lots of testing, though, as a missed critical dependency can appear to succeed, but leave something else broken. [1] http://git.cyberleo.net/Mosi.git -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From s.dave.jones at gmail.com Sat Sep 11 03:29:31 2010 From: s.dave.jones at gmail.com (dave jones) Date: Sat Sep 11 03:29:35 2010 Subject: Questions about setting bridge In-Reply-To: References: Message-ID: On Fri, Sep 10, 2010 at 2:51 PM, Adam Vande More wrote: >> I want to setup a bridge in a ring topology since a break at any point >> along the ring would >> still leave all stations connected. My machine has two nics. In >> /etc/rc.conf, I have: >> >> ifconfig_em0="inet 192.168.1.0 ?netmask 255.255.255.0" >> cloned_interfaces="bridge0" >> ifconfig_em0="up" >> ifconfig_em1="up" >> ifconfig_bridge0="addm em0 addm em1 up" >> ifconfig_bridge0_alias0="192.168.1.0 netmask 255.255.255.0 up" >> >> I tried to boot my clients using tftpd, but it seems doesn't work if I >> unpluged >> em0. If I run "ifconfig em1 inet 192.168.1.0 netmask 255.255.255.0" then >> my clients can boot via tftpd. But it's not a bridge, right? >> I mean should I configure the same ip for em0, em1, and bridge0? > > 192.168.1.0/24 is not a valid address.? Your addressable hosts are > 192.168.1.1 - 192.168.1.254. Oops, typo. Should be 192.168.1.1 > > I think you want to lagg: > > http://www.freebsd.org/doc/handbook/network-aggregation.html In Winodws, I setup a bridge with no problems. But in FreeBSD, it seems doesn't work :( > > -- > Adam Vande More > From jcw at speakeasy.net Sat Sep 11 03:56:39 2010 From: jcw at speakeasy.net (Jason C. Wells) Date: Sat Sep 11 03:56:43 2010 Subject: kernel replacement in installation media In-Reply-To: <4C8AF124.5050808@cyberleo.net> References: <4C8AF124.5050808@cyberleo.net> Message-ID: <4C8AFDF6.5030205@speakeasy.net> On 09/10/10 20:01, CyberLeo Kitsana wrote: > On 09/10/2010 07:57 PM, Samuel Mart?n Moro wrote: > >> Hi, >> ... >> The thing is, it only have a 128M flash disk (seen as /dev/da0) >> GENERIC needs almost 250M. >> > I have run into something similar, while building a ZFS install to run > on an Intel SS4200EHW NAS device. Utilizing a series of scripts I have > developed[1], I was able to compact an entire functional FreeBSD system > into 4.6MB /boot and 84MB root with mkisofs and mkuzip, without > permanently tying up a bunch of the machine's limited RAM with an MFS, > and with acceptable performance despite the IDE channel's speed limit of > 1.6MB/sec. Plus, boot and root are read-only, so the CompactFlash card > won't wear out prematurely. > > You can make use of src.conf(5) while building world and kernel to > eliminate a lot of unnecessary userland components, and MODULES_OVERRIDE > and WITHOUT_MODULES to control what modules get built, as the kernel > build process will build all modules regardless of what might be in your > kernel config. Be prepared to perform lots of testing, though, as a > missed critical dependency can appear to succeed, but leave something > else broken. > I do believe you can omit the *.symbols files. I plan to try it myself. Would someone please confirm this? And you might look at resurrecting the picobsd method of crunching binaries into one single statically linked binary with hard links of differing file names if you want to get really small. I used to do this when compactflash was only 128MiB. Thanks, Jason C. Wells From amvandemore at gmail.com Sat Sep 11 04:30:31 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Sat Sep 11 04:30:36 2010 Subject: Questions about setting bridge In-Reply-To: References: Message-ID: On Fri, Sep 10, 2010 at 10:29 PM, dave jones wrote: > > > > I think you want to lagg: > > > > http://www.freebsd.org/doc/handbook/network-aggregation.html > > In Winodws, I setup a bridge with no problems. But in FreeBSD, it > seems doesn't work :( It does work quite well, Many, many people do it. Windows generally refers to this as network teaming, Linux nic bonding, and FreeBSD does lagg. If you bother to read the handbook link I sent, you'll see a way to accomplish your goal. Your bridge setup also has another error: ifconfig_em0="inet 192.168.1.0 netmask 255.255.255.0" You should not set an ip address on a member interface. The bridge interface should get the real ip, no alias. -- Adam Vande More From amvandemore at gmail.com Sat Sep 11 04:58:24 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Sat Sep 11 04:58:28 2010 Subject: kernel replacement in installation media In-Reply-To: <4C8AFDF6.5030205@speakeasy.net> References: <4C8AF124.5050808@cyberleo.net> <4C8AFDF6.5030205@speakeasy.net> Message-ID: On Fri, Sep 10, 2010 at 10:56 PM, Jason C. Wells wrote > > I do believe you can omit the *.symbols files. I plan to try it myself. > Would someone please confirm this? > Yes you can remove them safely. > > And you might look at resurrecting the picobsd method of crunching binaries > into one single statically linked binary with hard links of differing file > names if you want to get really small. I used to do this when compactflash > was only 128MiB. > /usr/src/tools/tools/nanobsd/ /usr/src/tools/tools/tinybsd/ -- Adam Vande More From freebsd at edvax.de Sat Sep 11 06:00:14 2010 From: freebsd at edvax.de (Polytropon) Date: Sat Sep 11 06:00:18 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <4c8a4eaa.5b8bcc0a.7880.62d3@mx.google.com> References: <4c8a4eaa.5b8bcc0a.7880.62d3@mx.google.com> Message-ID: <20100911080011.99b2d379.freebsd@edvax.de> Preface: Sorry for messing up the quotes and all, this message got a bit untidy so that even *I* am unsure who I am currently replying to. :-) On Fri, 10 Sep 2010 15:24:31 +0000, four.harrisons@googlemail.com wrote: > On 10. sep. 2010, at 16:29, merlyn@stonehenge.com (Randal L. Schwartz) wrote: > > Except for video playback, which HTML5 fixes as well. And yes, until > > then, we're stuck with Flash. Sadly not. While HTML5 standardizes the embedding of video content, there still seems to be a problem with codec to use. All this idiotic crap of patenting, licensing, and all the fee-loaded lawyer-stuff that has NO need to exist in a technical discussion brought "Flash" where it is today: "Flash" is abused as a replacement of HTML, mostly by "professional program managers" and script kiddies. HTML5 browsers would need to be able to play video content out of the box, WITHOUT the need for installing additional codecs "that are illegal to use in my country" - you know what I mean. It's like requiring a plugin at OS kernel level to display text in bold face, or showing a PNG image in a web page! > > I repeat... Java had its day. Time to move on. > > You are forgetting - or conveniently ignoring - that many still > NEED Java support in their browsers - and not of their own choice. I think the initial suggestion to move on was directed exactly at the reasons you mentioned in the next sentence: > Banks, insurances, digital signature services etc. Still frequently > use Java as carrier for their services. Often this cannot be changed > easily as such organizations have long turn-around times and make > investments in the long term. Good software can always be changed easily. :-) > Java is still very much alive, and until html5 can validate and run > signed code it'll stay that way even on the client. And that is just > one of the reasons/scenarios. It's also very famous in education. For example, basic programming courses (not BASIC programming courses!) often use Java to teach the basics of programming. This produces bad programmers. :-) > I'm not using FreeBSD on the desktop for just this kind o reasons. I'm using FreeBSD *exclusively* on the desktop since version 4.0. I never had issues with Java - it always worked. I admit that it wasn't very easy in the first years due to Sun's licensing politics (again, politics are the enemy of every educated technical consi- deration), but it worked. Both in Opera (my main browser) and Firefox, among many "testing bed" browsers I had to use in the past. Since "Flash" works on FreeBSD, I also tried this out. After one week, I removed it. Reason: No need for it. You are right that Java is still needed in some places on the web, but it's far more easy to deal with Java problems than with "Flash" problems, I think. > So either one takes the time to implement what people _need_ in > addition to what you would prefer them to need, or the desktop > can as well be ditched and focus moved to improving FreeBSD for > servers, where it already excels. First of all, please see the big difference between "what people need" and "what people want", and who those people are. I'm sure I don't have to elaborate on this. :-) Second, FreeBSD is an excellent MULTI-purpose operating system that can be used on terminals, workstations, servers, and on all kinds of mixed forms. I would be sad to lose only one of those functionalities. For a more desktop-centric FreeBSD that has all the stuff "what people need", refer to PC-BSD. > Some sites make accessing them difficult without Flash, but I > consider that their problem and move on. Yes, same here. > FreeBSD isn't just good for servers. As I said. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sat Sep 11 06:10:54 2010 From: freebsd at edvax.de (Polytropon) Date: Sat Sep 11 06:11:00 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <20100910234956.GB63239@guilt.hydra> References: <86occ5k6yo.fsf@red.stonehenge.com> <20100910151651.GA29465@libertas.local.camdensoftware.com> <20100910234956.GB63239@guilt.hydra> Message-ID: <20100911081052.d08cc39e.freebsd@edvax.de> On Fri, 10 Sep 2010 17:49:56 -0600, Chad Perrin wrote: > These days, it seems like the only places > people *really* think they still need Java are smartphones and > "enterprise" systems running on overpriced servers -- neither of which > makes a difference for Firefox on the desktop. Let me add another field: There are applicances like "all-in-one DSL modem telephone splitter router DHCP server NAT firewall boxes" that are very common in german households. Those usually use Java to present their control elements to the user; "Applet loading" is often seen when connected to that box in order to change some setting. I think the initial developers found it better to put a Java applet in there than some PHP generated HTML served by a little web server... they could have used an efficient and professional programming language, too, but that's something you won't find in home consumer crap devices. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From perryh at pluto.rain.com Sat Sep 11 08:11:02 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Sep 11 08:11:06 2010 Subject: ipfw fwd and ipfw allow In-Reply-To: <20100910125534.GA50527@admin.sibptus.tomsk.ru> References: <20100822052550.GA42346@admin.sibptus.tomsk.ru> <20100907090012.GA48608@admin.sibptus.tomsk.ru> <4C8616F0.5010401@gmx.com> <20100907110033.GA51618@admin.sibptus.tomsk.ru> <4C864145.80805@gmx.com> <20100907145223.GA55660@admin.sibptus.tomsk.ru> <4C8754CD.6030003@gmx.com> <20100910125534.GA50527@admin.sibptus.tomsk.ru> Message-ID: <4c8b3849.mx6rDwHZtDT6N5YR%perryh@pluto.rain.com> Victor Sudakov wrote: > ... the 'fwd ... keep-state' statement does create a useful > dynamic rule. It contradicts the ipfw(8) man page but works ... Hopefully someone who understands all this will submit a patch for the man page :) From jrisom at gmail.com Sat Sep 11 08:17:51 2010 From: jrisom at gmail.com (Joshua Isom) Date: Sat Sep 11 08:17:55 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <20100911081052.d08cc39e.freebsd@edvax.de> References: <86occ5k6yo.fsf@red.stonehenge.com> <20100910151651.GA29465@libertas.local.camdensoftware.com> <20100910234956.GB63239@guilt.hydra> <20100911081052.d08cc39e.freebsd@edvax.de> Message-ID: <4C8B3B2D.4010803@gmail.com> On 9/11/2010 1:10 AM, Polytropon wrote: > Let me add another field: There are applicances like "all-in-one > DSL modem telephone splitter router DHCP server NAT firewall boxes" > that are very common in german households. Those usually use Java > to present their control elements to the user; "Applet loading" > is often seen when connected to that box in order to change some > setting. I think the initial developers found it better to put > a Java applet in there than some PHP generated HTML served by > a little web server... they could have used an efficient and > professional programming language, too, but that's something you > won't find in home consumer crap devices.:-) > > So to configure your router, you need a java enabled browser, and odds are you get the jar file from the router, so it has an http server, and probably another server just to process configuration requests? Now your router has two servers running, one to get the jar, one to deal with config, instead of one http server with one cgi script. Java has/had its uses, but I don't recall the last time I ran something using java. At the moment when it comes to the browser, flash is more important and that's only for all the websites that want to stream instead of give you a file like they used to. I remember years and years ago starting to learn java. I got really frustrated by spending a few hours going through documentation to find the "proper" way to read a text file. Writing the gui seemed easy, the rest wasn't. From freebsd at edvax.de Sat Sep 11 08:28:03 2010 From: freebsd at edvax.de (Polytropon) Date: Sat Sep 11 08:28:06 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <4C8B3B2D.4010803@gmail.com> References: <86occ5k6yo.fsf@red.stonehenge.com> <20100910151651.GA29465@libertas.local.camdensoftware.com> <20100910234956.GB63239@guilt.hydra> <20100911081052.d08cc39e.freebsd@edvax.de> <4C8B3B2D.4010803@gmail.com> Message-ID: <20100911102800.c24ac84a.freebsd@edvax.de> On Sat, 11 Sep 2010 03:17:49 -0500, Joshua Isom wrote: > So to configure your router, you need a java enabled browser, and odds > are you get the jar file from the router, so it has an http server, and > probably another server just to process configuration requests? Now > your router has two servers running, one to get the jar, one to deal > with config, instead of one http server with one cgi script. Yes, such complicated devices exist. Accessing it with Java switched off, you can't do anything. Very overcomplicated, and slow. > Java has/had its uses, but I don't recall the last time I ran something > using java. As it has been mentioned, Java is often required in online banking, but as far as I've noticed, it's also less and less important in those fields. I'm not using online banking myself so my opinion is very little substanciated. > At the moment when it comes to the browser, flash is more > important and that's only for all the websites that want to stream > instead of give you a file like they used to. Not only that. Whole suites of development tools are arranged around "Flash" in order to replace dealing with HTML at all. Navigational elements, as well as non-AV content is enclosed in "Flash" to limit accessibility (which of course makes the web less barrier-free, but who cares except cripples - they don't count, majority wins). Also "content protection" is a field where "Flash" is heavily used, like "No, you can't select this text and copy it somewhere else!" What animated GIFs were in the past, that's "Flash" today, but much more ressource-intensive, proprietary, dangerous, and annoying. > I remember years and years ago starting to learn java. It was hard for me to "learn" Java at university when I had already years of C experience. :-) > I got really > frustrated by spending a few hours going through documentation to find > the "proper" way to read a text file. I didn't know there was one. :-) > Writing the gui seemed easy, the > rest wasn't. That's the basic idea: Make it "look good" on the outside, so it appeals to users using the "first sight effect". Don't care for the internals, nobody can see them anyway. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From ohartman at mail.zedat.fu-berlin.de Sat Sep 11 09:28:34 2010 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Sat Sep 11 09:28:38 2010 Subject: Compiling software with different compiler than cc or clang results in unusable output Message-ID: <4C8B4BC0.1000900@mail.zedat.fu-berlin.de> Dear Sirs, you see me a kind of desperate. I wrote my own a small piece of software in C, calculating the orbit and position of astronomical objects, astroids, in a heliocentric coordinate system from Keplerian orbital elements. So far. The software calculates the set of points of an ellipse based upon ephemeridal datas taken from the Minor Planet Cataloge. Again, so far, everything all right. The set of points of an orbit is all right and correct. But when it comes to positions at a specific time, then I loose hair! Compiling this piece of software with FreeBSD's gcc (V4.2) and clang (clang devel) on my private and lab's FreeBSD boxes (both most recent FreeBSD 8.1/amd64), this program does well, the calculated orbital positions are very close to professional applications or observational checks. But when compiling the sources with gcc44 or gcc45 (same source, same CFLAG setting, mostly no CFLAGS set), then there is a great discrepancy. Sometimes when plotting positions, the results plotted seconds before differs from the most recent. The ellipses are allways correct, but the position of a single point at a specific time isn't correct. I use the GNU autotools to build the package. I suspekt miscompilations in memory alloction or in some time- or mathematical functions like sin, cos. before I digg deeper I'd like to ask the community for some hints how to hunt down such a problem. regards, Oliver From brampton+freebsd at gmail.com Sat Sep 11 10:10:45 2010 From: brampton+freebsd at gmail.com (Andrew Brampton) Date: Sat Sep 11 10:10:48 2010 Subject: Compiling software with different compiler than cc or clang results in unusable output In-Reply-To: <4C8B4BC0.1000900@mail.zedat.fu-berlin.de> References: <4C8B4BC0.1000900@mail.zedat.fu-berlin.de> Message-ID: On 11 September 2010 10:28, O. Hartmann wrote: > > Dear Sirs, > > you see me a kind of desperate. I wrote my own a small piece of ?software in > C, calculating the orbit and position of astronomical objects, astroids, in > a heliocentric coordinate system from Keplerian orbital elements. So far. > The software calculates the set of points of an ellipse based upon > ephemeridal datas taken from the Minor Planet Cataloge. Again, so far, > everything all right. The set of points of an orbit is all right and > correct. But when it comes to positions at a specific time, then I loose > hair! > > Compiling this piece of software with FreeBSD's gcc (V4.2) and clang (clang > devel) on my private and lab's FreeBSD boxes (both most recent FreeBSD > 8.1/amd64), this program does well, the calculated orbital positions are > very close to professional applications or observational checks. But when > compiling the sources with gcc44 or gcc45 (same source, same CFLAG setting, > mostly no CFLAGS set), then there is a great discrepancy. Sometimes when > plotting positions, the results plotted seconds before differs from the most > recent. The ellipses are allways correct, but the position of a single point > at a specific time isn't correct. > > I use the GNU autotools to build the package. > > I suspekt miscompilations in memory alloction or in some time- or > mathematical functions like sin, cos. > > before I digg deeper I'd like to ask the community for some hints how to > hunt down such a problem. > > regards, > Oliver Sounds a cool project. I suspect you are miss-using a feature of C or are using uninitialised memory, and with gcc44/45's more aggressive optimisations it is getting it wrong. I have three suggestions 1) Use valgrind to check if it finds anything wrong when running your program. Check both the good and the bad builds. 2) If your program is made up of multiple C files, then try compiling all of the C files with gcc42, but just one at a time with gcc44. This way will help you track down exactly which C file has "the bug". 3) Finally do some printf debugging to find the first line of code that is generating the wrong value. I hope these suggestions help. Andrew From m.e.sanliturk at gmail.com Sat Sep 11 12:26:13 2010 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat Sep 11 12:26:18 2010 Subject: Compiling software with different compiler than cc or clang results in unusable output In-Reply-To: References: <4C8B4BC0.1000900@mail.zedat.fu-berlin.de> Message-ID: On Sat, Sep 11, 2010 at 5:43 AM, Andrew Brampton > wrote: > On 11 September 2010 10:28, O. Hartmann > wrote: > > > > Dear Sirs, > > > > you see me a kind of desperate. I wrote my own a small piece of software > in > > C, calculating the orbit and position of astronomical objects, astroids, > in > > a heliocentric coordinate system from Keplerian orbital elements. So far. > > The software calculates the set of points of an ellipse based upon > > ephemeridal datas taken from the Minor Planet Cataloge. Again, so far, > > everything all right. The set of points of an orbit is all right and > > correct. But when it comes to positions at a specific time, then I loose > > hair! > > > > Compiling this piece of software with FreeBSD's gcc (V4.2) and clang > (clang > > devel) on my private and lab's FreeBSD boxes (both most recent FreeBSD > > 8.1/amd64), this program does well, the calculated orbital positions are > > very close to professional applications or observational checks. But when > > compiling the sources with gcc44 or gcc45 (same source, same CFLAG > setting, > > mostly no CFLAGS set), then there is a great discrepancy. Sometimes when > > plotting positions, the results plotted seconds before differs from the > most > > recent. The ellipses are allways correct, but the position of a single > point > > at a specific time isn't correct. > > > > I use the GNU autotools to build the package. > > > > I suspekt miscompilations in memory alloction or in some time- or > > mathematical functions like sin, cos. > > > > before I digg deeper I'd like to ask the community for some hints how to > > hunt down such a problem. > > > > regards, > > Oliver > > Sounds a cool project. I suspect you are miss-using a feature of C or > are using uninitialised memory, and with gcc44/45's more aggressive > optimisations it is getting it wrong. I have three suggestions > > 1) Use valgrind to check if it finds anything wrong when running your > program. Check both the good and the bad builds. > > 2) If your program is made up of multiple C files, then try compiling > all of the C files with gcc42, but just one at a time with gcc44. This > way will help you track down exactly which C file has "the bug". > > 3) Finally do some printf debugging to find the first line of code > that is generating the wrong value. > > I hope these suggestions help. > Andrew > > Another check may be to use Sun Studio C and or Fortran compilers . These can be used in Linux ( Linux version of Sun Studio ) and/or OpenSolaris or Solaris ( Solaris version of SunStudio ( both in x86 , x86_64 , Sparc ) ( all of them are ( Solaris , OpenSolaris , Sun Studio , Linux ) free ) . All of them are freely downloadable from www.sun.com and/or www.opensolaris.com ( these sites or their pages may be redirected to www.oracle.com owned pages ) . Personally I tried GCC compilers , but I found that they are very unreliable . Now I am using Sun Studio compilers in OpenSolaris and Linux , and never GCC compilers . Thank you very much . Mehmet Erol Sanliturk From dave at g8kbv.demon.co.uk Sat Sep 11 12:58:01 2010 From: dave at g8kbv.demon.co.uk (Dave) Date: Sat Sep 11 12:58:05 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <4C8AD94A.9060404@speakeasy.net> References: , <86occ5k6yo.fsf@red.stonehenge.com>, <4C8AD94A.9060404@speakeasy.net> Message-ID: <4C8B729D.17841.13524491@dave.g8kbv.demon.co.uk> On 10 Sep 2010 at 18:20, Jason C. Wells wrote: Subject: Re: this is probably a little touchy to ask... > On 09/10/10 07:29, Randal L. Schwartz wrote: > > > > I repeat... Java had its day. Time to move on. > > > > > Java is not just for browsers. > > Regards, > Jason C. Wells > I can't help wondering if half of you are talking about the "JavaScripting" language that runs in a browser, while the rest are talking about the "Java Run Time Engine" that some (cross platform) standalone app's (and some browser apps) use. All I know is they are very different beasts. dit dit. Dave B. From dave at g8kbv.demon.co.uk Sat Sep 11 13:04:56 2010 From: dave at g8kbv.demon.co.uk (Dave) Date: Sat Sep 11 13:05:00 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <4C8AD94A.9060404@speakeasy.net> References: , <86occ5k6yo.fsf@red.stonehenge.com>, <4C8AD94A.9060404@speakeasy.net> Message-ID: <4C8B72CE.5719.13530735@dave.g8kbv.demon.co.uk> On 10 Sep 2010 at 18:20, Jason C. Wells wrote: Subject: Re: this is probably a little touchy to ask... > On 09/10/10 07:29, Randal L. Schwartz wrote: > > > > I repeat... Java had its day. Time to move on. > > > > > Java is not just for browsers. > > Regards, > Jason C. Wells > I can't help wondering if half of you are talking about the "JavaScripting" language that runs in a browser, while the rest are talking about the "Java Run Time Engine" that some (cross platform) standalone app's (and some browser apps) use. All I know is they are very different beasts. dit dit. Dave B. From ohartman at mail.zedat.fu-berlin.de Sat Sep 11 13:59:21 2010 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Sat Sep 11 13:59:25 2010 Subject: Compiling software with different compiler than cc or clang results in unusable output In-Reply-To: References: <4C8B4BC0.1000900@mail.zedat.fu-berlin.de> Message-ID: <4C8B8B36.9040601@mail.zedat.fu-berlin.de> On 09/11/10 11:43, Andrew Brampton wrote: > On 11 September 2010 10:28, O. Hartmann > wrote: >> >> Dear Sirs, >> >> you see me a kind of desperate. I wrote my own a small piece of ? software in >> C, calculating the orbit and position of astronomical objects, astroids, in >> a heliocentric coordinate system from Keplerian orbital elements. So far. >> The software calculates the set of points of an ellipse based upon >> ephemeridal datas taken from the Minor Planet Cataloge. Again, so far, >> everything all right. The set of points of an orbit is all right and >> correct. But when it comes to positions at a specific time, then I loose >> hair! >> >> Compiling this piece of software with FreeBSD's gcc (V4.2) and clang (clang >> devel) on my private and lab's FreeBSD boxes (both most recent FreeBSD >> 8.1/amd64), this program does well, the calculated orbital positions are >> very close to professional applications or observational checks. But when >> compiling the sources with gcc44 or gcc45 (same source, same CFLAG setting, >> mostly no CFLAGS set), then there is a great discrepancy. Sometimes when >> plotting positions, the results plotted seconds before differs from the most >> recent. The ellipses are allways correct, but the position of a single point >> at a specific time isn't correct. >> >> I use the GNU autotools to build the package. >> >> I suspekt miscompilations in memory alloction or in some time- or >> mathematical functions like sin, cos. >> >> before I digg deeper I'd like to ask the community for some hints how to >> hunt down such a problem. >> >> regards, >> Oliver > > Sounds a cool project. I suspect you are miss-using a feature of C or > are using uninitialised memory, and with gcc44/45's more aggressive > optimisations it is getting it wrong. I have three suggestions > > 1) Use valgrind to check if it finds anything wrong when running your > program. Check both the good and the bad builds. > > 2) If your program is made up of multiple C files, then try compiling > all of the C files with gcc42, but just one at a time with gcc44. This > way will help you track down exactly which C file has "the bug". > > 3) Finally do some printf debugging to find the first line of code > that is generating the wrong value. > > I hope these suggestions help. > Andrew Hello Andrew. Thanks for your comments, they are worth trying out. I will do so ... item 2) oh, yes, a very good idea ... item 3) I did already, the whole software is built up by those printf's. The problem boiled down to be some problem in the UNIX time routines. I use localtime(3), time(3) and a strftime(3) and strptime(3). I use a 'wikipedia'-algorithm converting the actual time string into an 'epoch' used in astronomical calculations. Compiling this routine with gcc42 and clang everything is all right, compiling it with gcc44 or gcc45 it returns 10 times higher values. I use very 'primitive' cutoffs for casting a double value into an int - I need the integrale value, not the remainings after the decimal point. I will check this again and look forward for a cleaner solution. But isn't this a 'bug'? I'll try the BETA of the new FreeBSD PathScale compiler if I get some. Well, I'll report ... Oliver From rwmaillists at googlemail.com Sat Sep 11 14:26:02 2010 From: rwmaillists at googlemail.com (RW) Date: Sat Sep 11 14:26:07 2010 Subject: gjournal+geli Message-ID: <20100911152558.27153c31@gumby.homeunix.com> I'm planning to use gjournal+geli on a 2TB drive in a USB enclosure. What I've read about this suggest that the order should be: geli-gjournal-ufs. I was wondering if it's possible to do it in the order gjournal-geli-ufs, which should be much more efficient. I've read that ufs should go directly on gjournal, but I just wanted to check that that is needed. I was also wondering about the journal size, and whether there are any performance optimizations to be made to mitigate the extra encryption/decryption in the journal. The man page suggests a size of at least 2xmemory which would be 2x1.5GB now, or maybe 2x16GB to allow for potential upgrades. It seems very large. The disk will hold fairly static data so it will be mostly be long sustained writes as files are copied in. Currently coping from geli to geli with soft-updates is slightly cpu limited. From rwmaillists at googlemail.com Sat Sep 11 15:25:50 2010 From: rwmaillists at googlemail.com (RW) Date: Sat Sep 11 15:25:54 2010 Subject: How to Best Prevent Unwanted named installation In-Reply-To: <201009102058.o8AKwgAr025569@dc.cis.okstate.edu> References: <201009102058.o8AKwgAr025569@dc.cis.okstate.edu> Message-ID: <20100911162545.1e2049ca@gumby.homeunix.com> On Fri, 10 Sep 2010 15:58:42 -0500 Martin McCormick wrote: > After successfully installing bind97 from a package on > to a new server, I do a cvs-sup of the system to get the latest > patches in to the kernel. After discovering that bind97 had been > replaced with bind9.6.1, Presumably that's because you explicitly configured the port version to install in the same place as the system version. It doesn't do that by default. From ohartman at mail.zedat.fu-berlin.de Sat Sep 11 14:05:47 2010 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Sat Sep 11 15:35:54 2010 Subject: Compiling software with different compiler than cc or clang results in unusable output In-Reply-To: References: <4C8B4BC0.1000900@mail.zedat.fu-berlin.de> Message-ID: <4C8B8CB9.4010104@mail.zedat.fu-berlin.de> On 09/11/10 14:26, Mehmet Erol Sanliturk wrote: > > > On Sat, Sep 11, 2010 at 5:43 AM, Andrew Brampton > > wrote: > > On 11 September 2010 10:28, O. Hartmann > > wrote: > > > > Dear Sirs, > > > > you see me a kind of desperate. I wrote my own a small piece of > ? software in > > C, calculating the orbit and position of astronomical objects, > astroids, in > > a heliocentric coordinate system from Keplerian orbital elements. > So far. > > The software calculates the set of points of an ellipse based upon > > ephemeridal datas taken from the Minor Planet Cataloge. Again, so > far, > > everything all right. The set of points of an orbit is all right and > > correct. But when it comes to positions at a specific time, then > I loose > > hair! > > > > Compiling this piece of software with FreeBSD's gcc (V4.2) and > clang (clang > > devel) on my private and lab's FreeBSD boxes (both most recent > FreeBSD > > 8.1/amd64), this program does well, the calculated orbital > positions are > > very close to professional applications or observational checks. > But when > > compiling the sources with gcc44 or gcc45 (same source, same > CFLAG setting, > > mostly no CFLAGS set), then there is a great discrepancy. > Sometimes when > > plotting positions, the results plotted seconds before differs > from the most > > recent. The ellipses are allways correct, but the position of a > single point > > at a specific time isn't correct. > > > > I use the GNU autotools to build the package. > > > > I suspekt miscompilations in memory alloction or in some time- or > > mathematical functions like sin, cos. > > > > before I digg deeper I'd like to ask the community for some hints > how to > > hunt down such a problem. > > > > regards, > > Oliver > > Sounds a cool project. I suspect you are miss-using a feature of C or > are using uninitialised memory, and with gcc44/45's more aggressive > optimisations it is getting it wrong. I have three suggestions > > 1) Use valgrind to check if it finds anything wrong when running your > program. Check both the good and the bad builds. > > 2) If your program is made up of multiple C files, then try compiling > all of the C files with gcc42, but just one at a time with gcc44. This > way will help you track down exactly which C file has "the bug". > > 3) Finally do some printf debugging to find the first line of code > that is generating the wrong value. > > I hope these suggestions help. > Andrew > > > > Another check may be to use Sun Studio C and or Fortran? compilers . > These can be used in Linux ( Linux version of Sun Studio )? and/or > OpenSolaris or Solaris ( Solaris version of SunStudio ( both in x86 , > x86_64 , Sparc )? ( all of them are ( Solaris , OpenSolaris , Sun > Studio , Linux ? ) ? free ) . All of them are freely downloadable from > www.sun.com and/or www.opensolaris.com > ( these sites or their pages may be > redirected to www.oracle.com owned pages ) . > > Personally I tried GCC compilers , but I found that they are very > unreliable . Now I am using Sun Studio compilers in OpenSolaris and > Linux , and never GCC compilers .? > > Thank you very much . > > Mehmet Erol Sanliturk > > > > ? Hello. Well, the only other architectures I have access to are Linux boxes. clang ist a very nice compiler since its syntax checking is formidable. But its code is slow and there seems no OpenMP support at the moment. Oliver From amvandemore at gmail.com Sat Sep 11 15:47:06 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Sat Sep 11 15:47:11 2010 Subject: gjournal+geli In-Reply-To: <20100911152558.27153c31@gumby.homeunix.com> References: <20100911152558.27153c31@gumby.homeunix.com> Message-ID: On Sat, Sep 11, 2010 at 9:25 AM, RW wrote: > > I'm planning to use gjournal+geli on a 2TB drive in a USB enclosure. > > What I've read about this suggest that the order should be: > geli-gjournal-ufs. I was wondering if it's possible to do it in > the order gjournal-geli-ufs, which should be much more efficient. I've > read that ufs should go directly on gjournal, but I just wanted to > check that that is needed. > > I was also wondering about the journal size, and whether there are any > performance optimizations to be made to mitigate the extra > encryption/decryption in the journal. The man page suggests a size of at > least 2xmemory which would be 2x1.5GB now, or maybe 2x16GB to allow for > potential upgrades. It seems very large. The disk will hold fairly > static data so it will be mostly be long sustained writes as files are > copied in. Currently coping from geli to geli with soft-updates is > slightly cpu limited. > AFAIK, ufs must be on top of gjournal. Specific changes were made to allow ufs to be aware of the journal and I think sticking geli in-between would destroy that relationship. IME, gjournal is more sensitive to load as the man page also suggests. I have one production server with moderate load, and a 5 GB problem. I think something like 5 -10 GB journal would be more than enough for almost all loads, but that's just a guess. It's easy to test though, just run blogbench or some other io benchmark for a sustained period of time. If it doesn't panic, you're golden. -- Adam Vande More From freebsd at qeng-ho.org Sat Sep 11 16:25:55 2010 From: freebsd at qeng-ho.org (Arthur Chance) Date: Sat Sep 11 16:25:58 2010 Subject: How to Best Prevent Unwanted named installation In-Reply-To: <201009102058.o8AKwgAr025569@dc.cis.okstate.edu> References: <201009102058.o8AKwgAr025569@dc.cis.okstate.edu> Message-ID: <4C8BAD82.8020907@qeng-ho.org> On 09/10/10 21:58, Martin McCormick wrote: > After successfully installing bind97 from a package on > to a new server, I do a cvs-sup of the system to get the latest > patches in to the kernel. After discovering that bind97 had been > replaced with bind9.6.1, I looked in /usr/src and there is a > contrib/bind9 directory. What is the safest way to disable that > build without adversly effecting the rest of the update? > > The reason for doing these things in this order is that > I would like to get bind running as quickly as possible since it > takes a couple of hours or more to get the world built when we > could be doing DNS. > > Since I am not using that version of bind, not getting > it built is no problem. I don't even care if it gets built so > long as it does not end up in /usr/sbin to clobber the new > bind9.7. If your ports version of named is in /usr/sbin you must have enabled the REPLACE_BASE option in the port. From man src.conf > WITHOUT_BIND > Setting this variable will prevent any part of BIND from being > built. When set, it also enforces the following options: [list of sub options snipped] Add WITHOUT_BIND= true into /etc/src.conf, and the next time you rebuild the world the base system bind will be left out of it. From FreeBSD at insightbb.com Sat Sep 11 18:42:51 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Sat Sep 11 18:42:56 2010 Subject: apropos returning same item twice Message-ID: <201009111442.49114.FreeBSD@insightbb.com> Why does apropos list mysql(1) twice? It doesn't return duplicates with apropos kde... admin@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql mysql(1) - the MySQL command-line tool mysql.server(1) - MySQL server startup script mysql_config(1) - get compile options for compiling clients mysql_install_db(1) - initialize MySQL data directory mysql_tzinfo_to_sql(1) - load the time zone tables mysql_upgrade(1) - check tables for MySQL upgrade mysql_waitpid(1) - kill process and wait for its termination mysqladmin(1) - client for administering a MySQL server mysqlbinlog(1) - utility for processing binary log files mysqlbug(1) - generate bug report mysqlcheck(1) - a table maintenance program mysqld_safe(1) - MySQL server startup script safe_mysqld - MySQL server startup script mysqldump(1) - a database backup program mysqlimport(1) - a data import program mysqlshow(1) - display database, table, and column information mysqltest(1) - program to run test cases mysqltest_embedded - program to run embedded test cases slapd-ndb(5) - MySQL NDB backend to slapd mysql(1) - the MySQL command-line tool mysql.server(1) - MySQL server startup script mysql_config(1) - get compile options for compiling clients mysql_install_db(1) - initialize MySQL data directory mysql_tzinfo_to_sql(1) - load the time zone tables mysql_upgrade(1) - check tables for MySQL upgrade mysql_waitpid(1) - kill process and wait for its termination mysqladmin(1) - client for administering a MySQL server mysqlbinlog(1) - utility for processing binary log files mysqlbug(1) - generate bug report mysqlcheck(1) - a table maintenance program mysqld_safe(1) - MySQL server startup script safe_mysqld - MySQL server startup script mysqldump(1) - a database backup program mysqlimport(1) - a data import program mysqlshow(1) - display database, table, and column information mysqltest(1) - program to run test cases mysqltest_embedded - program to run embedded test cases slapd-ndb(5) - MySQL NDB backend to slapd -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From m.e.sanliturk at gmail.com Sat Sep 11 19:32:42 2010 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat Sep 11 19:32:45 2010 Subject: Compiling software with different compiler than cc or clang results in unusable output In-Reply-To: <4C8B8CB9.4010104@mail.zedat.fu-berlin.de> References: <4C8B4BC0.1000900@mail.zedat.fu-berlin.de> <4C8B8CB9.4010104@mail.zedat.fu-berlin.de> Message-ID: On Sat, Sep 11, 2010 at 10:05 AM, O. Hartmann < ohartman@mail.zedat.fu-berlin.de> wrote: > > Hello. > Well, the only other architectures I have access to are Linux boxes. > > clang ist a very nice compiler since its syntax checking is formidable. But > its code is slow and there seems no OpenMP support at the moment. > > Oliver > > The following pages may be useful : www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index-jsp-141149.html www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index-jsp-136197.html www.oracle.com/technetwork/server-storage/solarisstudio/documentation/express-june2010-137081.html ( Please notice Support for OpenMP 3.0 features in the C, C++, and Fortran compilers: ) This means that you may use Oracle Solaris Studio on Linux with OpenMP 3.0 support immediately . I do not know whether they can be used in FreeBSD as Linux programs or not , because I did not study such a possibility . For me , using Linux directly is easy . Thank you very much . Mehmet Erol Sanliturk From jguojun at gmail.com Sat Sep 11 20:45:58 2010 From: jguojun at gmail.com (Jin Guojun[VFF]) Date: Sat Sep 11 21:29:15 2010 Subject: gs-8-8.71 under 8.1-Release missing x11 devices Message-ID: <4C8BE43C.8050200@gmail.com> gs 8-8.71 under FreeBSD 8.1-R seems missing x11 device. When use ghostview, it complains "/unknown device x11" /By tracing around, I found it was caused by gs 8-8.71. As typing "gs --help", it shows much less devices supported than gs 8-8.62 under FreeSBD 6.4-R. By searching on the Internet, one message says that this could be resulted by build config. Is this true? or can gs be dynamically configured to use x11 device? Hopefully, users do not have to recompile ghostscript. -Jin From arthurbarlow at gmail.com Sat Sep 11 21:32:28 2010 From: arthurbarlow at gmail.com (Arthur Barlow) Date: Sat Sep 11 21:32:31 2010 Subject: xvidtune and nouveau video driver Message-ID: Ever since Debian went to the "nouveau" video driver for Nvidia, I have not been able to adjust my horizontal screen position with xvidtune. The application runs, but when I try to reset the "HSyncStart" value I get an error dialog box that says, "Sorry: You have requested a mode-line that is not possible, or not supported by your hardware configuration." This didn't happen with the old "nv" driver. Does anyone know a fix other than reinstalling "nv"? From kayasaman at gmail.com Sat Sep 11 22:47:46 2010 From: kayasaman at gmail.com (Kaya Saman) Date: Sat Sep 11 22:47:49 2010 Subject: Upgrading packages - portupgrade confusion Message-ID: <4C8C0110.20801@gmail.com> Hi, I have 2 servers one production and another test. The test machine's packages however, seem to be older then the production machines one's even though I built the production system a few months ago. I used the: portupgrade command in order to try to upgrade the ports nad re-install the packages only the same versions seem to be compiling??? I ran: portupgrade -ai on the base system as the system where these packages are installed into is a FreeBSD jail. The ports in question are these: tomcat-6.0.29 Open-source Java web server by Apache, 6.x branch postgresql-client-8.2.17_1 PostgreSQL database (client) postgresql-server-8.2.17_1 The most advanced open-source database available anywhere Which on my newer test system show up as such: postgresql-client-8.2.13 PostgreSQL database (client) postgresql-server-8.2.13 The most advanced open-source database available anywhere tomcat-6.0.20_1 Open-source Java web server by Apache, 6.x branch I don't understand this 100%??? I would like the versions to be the same as the production system since I have a postgres-Tomcat connector which doesn't work on the test setup as my Tomcat webapp isn't being displayed!! Can I do anything about this?? I don't even know why it is like this although I must admit that it has been an exceptionally long day and am really suffering from fatigue now which might be a contributor but I can't tell..... Can anyone give me any advise?? Many thanks and best regards, Kaya From mnorwick at centurytel.net Sat Sep 11 23:52:10 2010 From: mnorwick at centurytel.net (Michael D. Norwick) Date: Sat Sep 11 23:52:13 2010 Subject: portupgrade -a stops at building gnome-menus Message-ID: <4C8BF21C.2090706@centurytel.net> FreeBSD 8.1-RELEASE #>uname -a FreeBSD ****@****.net 8.1-RELEASE FreeBSD 8.1 RELEASE FreeBSD 8.1-RELEASE #0: Thu Aug 12 08:43:46 CDT 2010 ****@****.net:/usr/obj/src/sys/GENERIC i386 Running on VirtualBox Version 3.2.8 r64453 running on current Debian 'lenny', Pentium 4 2.4 GHz. 4G ram. portsnap update on 09/08/2010. Trying to do 'portupgrade -a', initially had a portupgrade stop at '/usr/ports/graphviz' an error about 'dot' and doxygen. Built doxygen and graphiz from the individual /usr/ports/*** directories after 'portsclean -DLP' and individual 'make clean' in the respective /usr/ports directories. Had the "/usr/local/include/python2.6/pth.h link to /usr/local/include/pth/pth.h" issue. Fixed that and portupgrade borked at building gnome-menus. '/usr/bin/ld: cannot find -lpth'. Did ln -s /usr/local/lib/pth/libpth.a /usr/local/lib/ and ln -s /usr/local/include/pth/pth.h /usr/local/include/python2.6/ - again. Ran make install clean from /usr/ports/x11/gnome-menus after executing make clean. Still no joy. Yeah, I'm a 15 year linux guy, but, I've installed and used FreeBSD around the 5.0-RELEASE days so I don't think I'm totally clueless. I'm running it as a virtual machine because I would like to install it on a new machine once I get past the test drive and checkout. Tried to build a new kernel a week or two ago and that went awry. Deleted the VM and reinstalled from the RELEASE dvd.iso. What am I doing wrong? Michael D. Norwick PS: I've R.T.F.M'd and Googled. Filed a bug report on the graphviz issue but now I don't think it was a problem with the graphviz build. From nightrecon at hotmail.com Sun Sep 12 01:43:04 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Sun Sep 12 01:43:08 2010 Subject: Upgrading packages - portupgrade confusion References: <4C8C0110.20801@gmail.com> Message-ID: Kaya Saman wrote: > Hi, > > I have 2 servers one production and another test. > > The test machine's packages however, seem to be older then the > production machines one's even though I built the production system a > few months ago. > > I used the: portupgrade command in order to try to upgrade the ports nad > re-install the packages only the same versions seem to be compiling??? > > I ran: portupgrade -ai > > on the base system as the system where these packages are installed into > is a FreeBSD jail. > > The ports in question are these: > > tomcat-6.0.29 Open-source Java web server by Apache, 6.x branch > postgresql-client-8.2.17_1 PostgreSQL database (client) > postgresql-server-8.2.17_1 The most advanced open-source database > available anywhere > > Which on my newer test system show up as such: > > postgresql-client-8.2.13 PostgreSQL database (client) > postgresql-server-8.2.13 The most advanced open-source database > available anywhere > tomcat-6.0.20_1 Open-source Java web server by Apache, 6.x branch > > I don't understand this 100%??? > > I would like the versions to be the same as the production system since > I have a postgres-Tomcat connector which doesn't work on the test setup > as my Tomcat webapp isn't being displayed!! > > Can I do anything about this?? > > I don't even know why it is like this although I must admit that it has > been an exceptionally long day and am really suffering from fatigue now > which might be a contributor but I can't tell..... > > Can anyone give me any advise?? > Have you refreshed the ports tree(s) with csup using the same supfile to ensure the ports trees are up to date ( and therefore identical)? Since you are using portugrade, as I do, this is what I do to see what needs to be done: I cd to /usr/sup which is where I keep my supfiles and the housekeeping. Then using this command sequence will refresh the ports tree, the ports index database, and ensure the package database is clean and synced. Portversion then just tells you with a "<" symbol any that are old and in need of an update. csup -L 2 ports && portsdb -uF && pkgdb -u && portversion where "ports" above is my supfile for ports refresh and looks like this: *default host=cvsup.nl.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix compress ports-all Then a portupgrade -a as required. If all symbols in the right column are "=" everything is up to date and nothing is required. Adjust server location for mirror near you (or one that works best). -Mike From nightrecon at hotmail.com Sun Sep 12 02:09:47 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Sun Sep 12 02:09:51 2010 Subject: gs-8-8.71 under 8.1-Release missing x11 devices References: <4C8BE43C.8050200@gmail.com> Message-ID: Jin Guojun[VFF] wrote: > gs 8-8.71 under FreeBSD 8.1-R seems missing x11 device. > When use ghostview, it complains "/unknown device x11" > > /By tracing around, I found it was caused by gs 8-8.71. As typing "gs > --help", it shows much less > devices supported than gs 8-8.62 under FreeSBD 6.4-R. > > By searching on the Internet, one message says that this could be > resulted by build config. > Is this true? or can gs be dynamically configured to use x11 device? Possibly, if the module was built at compile time when selected from the make config list. However, I suspect it is not needed and just in the way. There may be a .conf file somewhere where you could tell it not to load the X11 modules even though they may have been built. > Hopefully, users do not have to recompile ghostscript. When you run make config in the ghostscript port you should get a list with checkboxes to set build configuration. Unless there is some direct need you might consider clearing the X11 checkbox(es) and recompiling with make, then make deinstall, followed by make reinstall. If you want to completely clear the build config simply do make rmconfig and it will remove previously saved options. Then make should present you with the build config option screen with default options preselected. Doing make config allows to pull up the saved options for adjustment as needed. But the short answer is you probably need to rebuild the port without the X11 modules which are producing your errors and probably not needed anyway. -Mike From perryh at pluto.rain.com Sun Sep 12 04:13:16 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun Sep 12 04:13:20 2010 Subject: sysinstall vs gmirror In-Reply-To: <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> Message-ID: <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> How do I get sysinstall to recognize a gmirror? I've created the mirror -- which currently has only one provider -- using Fixit#, followed by Fixit# ln -s /dist/boot/kernel /boot Fixit# gmirror load after which /dev/mirror/gm0{,a,b} exist. However, even after rescanning the disks, sysinstall doesn't include gm0 in its drive list. I also tried: Fixit# ( cd /dev && ln -s mirror/* . && ll gm* ) lrwxr-xr-x 1 root 0 10 Sep 6 10:48 gm0@ -> mirror/gm0 lrwxr-xr-x 1 root 0 10 Sep 6 10:48 gm0a@ -> mirror/gm0a lrwxr-xr-x 1 root 0 10 Sep 6 10:48 gm0b@ -> mirror/gm0b in case sysinstall looks only in /dev itself and not in any subdirectories, and that didn't help. I even tried: Fixit# ( cd /dev && ln -s mirror/gm0 ar0 \ && for p in a b d e ; \ do ln -s mirror/gm0$p ar0$p ; done && ll ar* ) lrwxr-xr-x 1 root 0 10 Sep 6 10:48 ar0@ -> mirror/gm0 lrwxr-xr-x 1 root 0 10 Sep 6 10:48 ar0a@ -> mirror/gm0a lrwxr-xr-x 1 root 0 10 Sep 6 10:48 ar0b@ -> mirror/gm0b lrwxr-xr-x 1 root 0 10 Sep 6 10:48 ar0d@ -> mirror/gm0d lrwxr-xr-x 1 root 0 10 Sep 6 10:48 ar0e@ -> mirror/gm0e in case sysinstall looks only for names of known disk drivers, and that didn't help either. From ml at netfence.it Sun Sep 12 06:41:31 2010 From: ml at netfence.it (Andrea Venturoli) Date: Sun Sep 12 06:41:35 2010 Subject: Linux DRI (and Google Earth) Message-ID: <4C8C7613.6080808@netfence.it> Hello. What's the status of 3d hardware acceleration in Linux emulation? I'm running 8.1R/i386 and I was finally able to get DRI working (with native software) on my Radeon HD 4200. So I installe Google Earth, but it's warning that it will use software rendering and is, of course, slow. %pkg_info|grep linux linux-f10-dri-7.2_1 Mesa libGL runtime libraries and DRI drivers (Linux Fedora linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library (Linux linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X Windows (Linux Fe linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) linux_base-f10-10_2 Base set of packages needed in Linux mode for i386/amd64 (L I had linux-dri-7.4_1 installed by default, but tried switching to linux-f10-dri-7.2_1; nothing changed. bye & Thanks av. From demelier.david at gmail.com Sun Sep 12 07:06:12 2010 From: demelier.david at gmail.com (David DEMELIER) Date: Sun Sep 12 07:06:17 2010 Subject: Linux DRI (and Google Earth) In-Reply-To: <4C8C7613.6080808@netfence.it> References: <4C8C7613.6080808@netfence.it> Message-ID: 2010/9/12 Andrea Venturoli : > Hello. > > What's the status of 3d hardware acceleration in Linux emulation? > I'm running 8.1R/i386 and I was finally able to get DRI working (with native > software) on my Radeon HD 4200. > So I installe Google Earth, but it's warning that it will use software > rendering and is, of course, slow. > > %pkg_info|grep linux > linux-f10-dri-7.2_1 Mesa libGL runtime libraries and DRI drivers (Linux > Fedora > linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library > (Linux > linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X Windows > (Linux Fe > linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) > linux_base-f10-10_2 Base set of packages needed in Linux mode for i386/amd64 > (L > > I had linux-dri-7.4_1 installed by default, but tried switching to > linux-f10-dri-7.2_1; nothing changed. > > ?bye & Thanks > ? ? ? ?av. > _______________________________________________ > 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 version 7.4 of DRI hasn't the support of hardware acceleration of radeon hd cards. We need to update the linux mesa port to 7.6 to get it. Cheers, -- Demelier David From ml at netfence.it Sun Sep 12 07:50:46 2010 From: ml at netfence.it (Andrea Venturoli) Date: Sun Sep 12 07:50:50 2010 Subject: AMD SMBus Message-ID: <4C8C8650.4080505@netfence.it> Any chance of enabling this? (Google was unfriendly :-) none0@pci0:0:20:0: class=0x0c0500 card=0x37001565 chip=0x43851002 rev=0x3c hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'ATI SMBus (ATI RD600/RS600)' class = serial bus subclass = SMBus bye & Thanks av. From kayasaman at gmail.com Sun Sep 12 11:34:56 2010 From: kayasaman at gmail.com (Kaya Saman) Date: Sun Sep 12 11:35:01 2010 Subject: Upgrading packages - portupgrade confusion In-Reply-To: References: <4C8C0110.20801@gmail.com> Message-ID: <4C8CBADC.3070904@gmail.com> [...] > Have you refreshed the ports tree(s) with csup using the same supfile to > ensure the ports trees are up to date ( and therefore identical)? Since you > are using portugrade, as I do, this is what I do to see what needs to be > done: > > I cd to /usr/sup which is where I keep my supfiles and the housekeeping. > Then using this command sequence will refresh the ports tree, the ports > index database, and ensure the package database is clean and synced. > Portversion then just tells you with a "<" symbol any that are old and in > need of an update. > > csup -L 2 ports&& portsdb -uF&& pkgdb -u&& portversion > > where "ports" above is my supfile for ports refresh and looks like this: > > *default host=cvsup.nl.freebsd.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=. > *default delete use-rel-suffix compress > ports-all > > Then a portupgrade -a as required. If all symbols in the right column are > "=" everything is up to date and nothing is required. Adjust server location > for mirror near you (or one that works best). > > -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" > Thanks alot Mike for the response!! I didn't actually refresh the ports tree so I'm gona have to do that. The thing I don't quite understand though is that if the ports tree gets refreshed, do the packages get upgraded or will I need to rebuild them?? I slightly recall the csup commnad, however I've never actually performed an inplace upgrade of a package in BSD. Only done this kind of thing in Linux - Debian/Ubuntu, CentOS and Solaris - OpenSolaris, Belenix where they have package managers. What's the process for upgrading a package? make reinstall clean?? Many Thanks Kaya From freebsd.user at seibercom.net Sun Sep 12 12:50:13 2010 From: freebsd.user at seibercom.net (Jerry) Date: Sun Sep 12 12:50:17 2010 Subject: Upgrading packages - portupgrade confusion In-Reply-To: <4C8CBADC.3070904@gmail.com> References: <4C8C0110.20801@gmail.com> <4C8CBADC.3070904@gmail.com> Message-ID: <20100912085008.558d3d84@scorpio> On Sun, 12 Sep 2010 14:34:52 +0300 Kaya Saman articulated: > [...] > > Have you refreshed the ports tree(s) with csup using the same > > supfile to ensure the ports trees are up to date ( and therefore > > identical)? Since you are using portugrade, as I do, this is what I > > do to see what needs to be done: > > > > I cd to /usr/sup which is where I keep my supfiles and the > > housekeeping. Then using this command sequence will refresh the > > ports tree, the ports index database, and ensure the package > > database is clean and synced. Portversion then just tells you with > > a "<" symbol any that are old and in need of an update. > > > > csup -L 2 ports&& portsdb -uF&& pkgdb -u&& portversion > > > > where "ports" above is my supfile for ports refresh and looks like > > this: > > > > *default host=cvsup.nl.freebsd.org > > *default base=/usr > > *default prefix=/usr > > *default release=cvs tag=. > > *default delete use-rel-suffix compress > > ports-all > > > > Then a portupgrade -a as required. If all symbols in the right > > column are "=" everything is up to date and nothing is required. > > Adjust server location for mirror near you (or one that works best). > > > > -Mike > > Thanks alot Mike for the response!! > > I didn't actually refresh the ports tree so I'm gona have to do that. > > The thing I don't quite understand though is that if the ports tree > gets refreshed, do the packages get upgraded or will I need to > rebuild them?? You have to rebuild them. > I slightly recall the csup commnad, however I've never actually > performed an inplace upgrade of a package in BSD. Only done this kind > of thing in Linux - Debian/Ubuntu, CentOS and Solaris - OpenSolaris, > Belenix where they have package managers. > > What's the process for upgrading a package? make reinstall clean?? If using a port maintenance application such as portupgrade or portmanager, you could simply do the following: "portupgrade -a" or "portmanager -u" depending on what application you are using. Switching between multiple port maintenance applications is not the worse thing you could do; however, I would not recommend it as an everyday occurrence. If doing it manually, you could just do: make && make deinstall && make reinstall && make distclean There are other variations of course. I would recommend that you run: "make config" in the port's home directory prior to building it for the first time. there might be some useful features that you want to turn on or off. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Minicomputer: A computer that can be afforded on the budget of a middle-level manager. From nightrecon at hotmail.com Sun Sep 12 12:51:43 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Sun Sep 12 12:51:47 2010 Subject: Upgrading packages - portupgrade confusion References: <4C8C0110.20801@gmail.com> <4C8CBADC.3070904@gmail.com> Message-ID: Kaya Saman wrote: > [...] >> csup -L 2 ports && portsdb -uF && pkgdb -u && portversion To elaborate a little. csup -L 2 ports is what refreshes the ports tree. Portupgrade is a third party app you can install to assist in automating the updating process. Once you've installed portupgrade there are man pages for portsdb, pkgdb, and portversion to see what the switches described above do. The commands above are just strung together to prepare a system for updating. portupgrade -a is actually what does the actual updating. There are other tools as well, I'm just not as familiar with them. I think the other one is called portmaster. It may even be better, I don't know as I tend to stick with what I know as long as it keeps doing the job. [snip] > > I didn't actually refresh the ports tree so I'm gona have to do that. > > The thing I don't quite understand though is that if the ports tree gets > refreshed, do the packages get upgraded or will I need to rebuild them?? I don't know if I can properly explain well enough, but I'll take a stab at it anyways. But I believe the first answer here would be no. Refreshing the ports tree does not install or update any installed software. I kind of keyed in on your mentioning of portupgrade. Portupgrade is a tool for automating the upgrading of installed software. While I believe it, and possibly portmaster can operate on pre-built packages I myself stopped using packages a long time ago. I compile everything. A pre-built package is built from the same ports system that you would use if you were compiling locally yourself. It's just someone else has done it for you. The thing to know is that in either situation, e.g. pre-built package or compile it yourself the ports tree is where the versioning and dependency tracking happens. There is more information in the Handbook, and probably presented better there than I can. It is spread out in several locations however. It may not be immediately apparent when reading the "How to install software" section that you also need to read the other sections further down that explain csup, portmaster, etc. The main thing we will keep reiterating though is the first step for updating installed apps is always refresh the ports tree first. > I slightly recall the csup commnad, however I've never actually > performed an inplace upgrade of a package in BSD. Only done this kind of > thing in Linux - Debian/Ubuntu, CentOS and Solaris - OpenSolaris, > Belenix where they have package managers. > > What's the process for upgrading a package? make reinstall clean?? > Since I don't use packages my vantage point is centered around compiling locally myself. However, most of what I describe applies to both situations. Typically the first thing to do is update/refresh the ports tree. Should you determine something needs to be updated the manual approach would be to change to the directory of the app in ports system and do make, followed by make deinstall, and then make reinstall. The deinstall/reinstall leaves your configurations for installed apps in place. Portupgrade is a tool that automates this. After refreshing the ports tree the portupgrade -a command will pretty much do what was described in the previous paragraph automagically. It isn't perfect and sometimes it hiccups. I've noticed that doing this more often so that only a few out of date apps need upgrading at any one time is smoother. It's when you have a hundred things that are really old and out of date because updating has been infrequent is when you are most likely to experience trouble. Hope this helps. I'm not the best at explaining things, but the Handbook is a most excellent resource to be studied extensively. It is written much better than anything I can manage. And while much of it may seem cryptic at first glance, most of what you need to know is in there. -Mike From m.seaman at infracaninophile.co.uk Sun Sep 12 13:16:34 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Sep 12 13:16:37 2010 Subject: sysinstall vs gmirror In-Reply-To: <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> Message-ID: <4C8CD2A4.3020203@infracaninophile.co.uk> On 12/09/2010 05:09:04, perryh@pluto.rain.com wrote: > How do I get sysinstall to recognize a gmirror? > > I've created the mirror -- which currently has only one provider -- > using Fixit#, followed by > > Fixit# ln -s /dist/boot/kernel /boot > Fixit# gmirror load > > after which /dev/mirror/gm0{,a,b} exist. However, even after > rescanning the disks, sysinstall doesn't include gm0 in its > drive list. I also tried: > > Fixit# ( cd /dev && ln -s mirror/* . && ll gm* ) > lrwxr-xr-x 1 root 0 10 Sep 6 10:48 gm0@ -> mirror/gm0 > lrwxr-xr-x 1 root 0 10 Sep 6 10:48 gm0a@ -> mirror/gm0a > lrwxr-xr-x 1 root 0 10 Sep 6 10:48 gm0b@ -> mirror/gm0b > > in case sysinstall looks only in /dev itself and not in any > subdirectories, and that didn't help. I even tried: > > Fixit# ( cd /dev && ln -s mirror/gm0 ar0 \ > && for p in a b d e ; \ > do ln -s mirror/gm0$p ar0$p ; done && ll ar* ) > lrwxr-xr-x 1 root 0 10 Sep 6 10:48 ar0@ -> mirror/gm0 > lrwxr-xr-x 1 root 0 10 Sep 6 10:48 ar0a@ -> mirror/gm0a > lrwxr-xr-x 1 root 0 10 Sep 6 10:48 ar0b@ -> mirror/gm0b > lrwxr-xr-x 1 root 0 10 Sep 6 10:48 ar0d@ -> mirror/gm0d > lrwxr-xr-x 1 root 0 10 Sep 6 10:48 ar0e@ -> mirror/gm0e > > in case sysinstall looks only for names of known disk drivers, > and that didn't help either. I don't think sysinstall will do what you want. However, what is your ultimate goal? To install a system with a gmirror root drive? You can do that by installing direct to one of your drives (ie ad0s1* or da0s1*) in the usual way and then converting the system into a gmirror. The Onlamp article by Dru Lavigne is the best referrence here: http://onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html Or else you can boot into the Fixit system, set up mirroring etc. and then work through the rest of the installation process by hand. The install sets are just split up tarballs and it's pretty easy to extract a copy of a system from them. 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/20100912/643e8ff5/signature.pgp From kayasaman at gmail.com Sun Sep 12 13:50:41 2010 From: kayasaman at gmail.com (Kaya Saman) Date: Sun Sep 12 13:50:44 2010 Subject: Upgrading packages - portupgrade confusion In-Reply-To: References: <4C8C0110.20801@gmail.com> <4C8CBADC.3070904@gmail.com> Message-ID: <4C8CDAAD.2070606@gmail.com> Hi Jerry and Michael, thanks for all the advise and information!! I think I was confusing terminologies a little.... I was trying to imply that I have been building from ports all this time and *not* using pkg_add to obtain pre-built packages. I think mainly it's just that I've been using package managers too much with Linux and OpenSolaris distros that it got burned into my brain..... not to mention that yesterday was a 14 hour shift without break which didn't help. The thing I don't quite understand though is that if the ports tree > gets refreshed, do the packages get upgraded or will I need to > rebuild them?? You have to rebuild them. Does this apply to ports too?? "portupgrade -a" or "portmanager -u" depending on what application you are using. Switching between multiple port maintenance applications is not the worse thing you could do; however, I would not recommend it as an everyday occurrence. Ok so "portupgrade -a" upgrades all ports according to the manual. On 09/12/2010 03:52 PM, Michael Powell wrote: > [...] > To elaborate a little. csup -L 2 ports is what refreshes the ports tree. > Portupgrade is a third party app you can install to assist in automating the > updating process. Once you've installed portupgrade there are man pages for > portsdb, pkgdb, and portversion to see what the switches described above do. > The commands above are just strung together to prepare a system for > updating. portupgrade -a is actually what does the actual updating. > > There are other tools as well, I'm just not as familiar with them. I think > the other one is called portmaster. It may even be better, I don't know as I > tend to stick with what I know as long as it keeps doing the job. > > [ Ok, so if I understand correctly now is that the csup command refreshes the ports tree while portupgrade upgrades the actual port itself.... eg: cd /usr/ports/*/nano make install clean although not the case but say if this was to build version 1.8 of the Nano text editor, running: csup -L 2 portupgrade nano would upgrade the installed version to 1.9?? Of course the current version of Nano is totally different I am just trying to understand here!! > [...] > I don't know if I can properly explain well enough, but I'll take a stab at > it anyways. But I believe the first answer here would be no. Refreshing the > ports tree does not install or update any installed software. > > I kind of keyed in on your mentioning of portupgrade. Portupgrade is a tool > for automating the upgrading of installed software. While I believe it, and > possibly portmaster can operate on pre-built packages I myself stopped using > packages a long time ago. I compile everything. > > Ok I think this practically explains what I've just been trying to say above. > > [...] > Hope this helps. I'm not the best at explaining things, but the Handbook is > a most excellent resource to be studied extensively. It is written much > better than anything I can manage. And while much of it may seem cryptic at > first glance, most of what you need to know is in there. > > Yep I think this helps a lot!!! :-) > -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" > Many thanks and best regards, Kaya From wblock at wonkity.com Sun Sep 12 14:03:35 2010 From: wblock at wonkity.com (Warren Block) Date: Sun Sep 12 14:03:40 2010 Subject: Upgrading packages - portupgrade confusion In-Reply-To: <4C8CBADC.3070904@gmail.com> References: <4C8C0110.20801@gmail.com> <4C8CBADC.3070904@gmail.com> Message-ID: On Sun, 12 Sep 2010, Kaya Saman wrote: > The thing I don't quite understand though is that if the ports tree gets > refreshed, do the packages get upgraded or will I need to rebuild them?? The ports tree is just build instructions, so updating it doesn't update any installed applications. It does let you use a program to see which installed applications need to be updated, like pkg_version or portversion. Here's a document I've been working on lately about upgrading ports. I'm not sure it's really there yet, but it covers the basics: http://www.wonkity.com/~wblock/docs/html/portupgrade.html From nightrecon at hotmail.com Sun Sep 12 14:34:59 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Sun Sep 12 14:35:04 2010 Subject: Upgrading packages - portupgrade confusion References: <4C8C0110.20801@gmail.com> <4C8CBADC.3070904@gmail.com> <4C8CDAAD.2070606@gmail.com> Message-ID: Kaya Saman wrote: [snip] > The thing I don't quite understand though is that if the ports tree >> gets refreshed, do the packages get upgraded or will I need to >> rebuild them?? > > You have to rebuild them. > > Does this apply to ports too?? Yes. A package is just a port that someone has compiled into a pre-built binary package for use with pkg_add. These binary packages are placed on ftp servers where pkg_add may download from and install. A port is just you doing the compiling locally yourself using the ports system. The installed result is the same, except for one thing. When a package is built some build options may have been selected as defaults while others were excluded. When you build the port locally you have complete control over all options. > "portupgrade -a" or "portmanager -u" depending on what application you > are using. Switching between multiple port maintenance applications is > not the worse thing you could do; however, I would not recommend it as > an everyday occurrence. > > > Ok so "portupgrade -a" upgrades all ports according to the manual. > [snip] > Ok, so if I understand correctly now is that the csup command refreshes > the ports tree while portupgrade upgrades the actual port itself.... Update the ports tree first! csup -L 2 ports <- this file "ports" is a supfile. An example of a supfile was included in a previous mail. More detailed info in the Handbook. > eg: > > cd /usr/ports/*/nano > make install clean cd /usr/ports/editors/nano/ make install clean This installs nano when it was not installed before. The manual method to update would be: (with a freshly updated ports tree) cd /usr/ports/editors/nano/ make && make deinstall && make reinstall > although not the case but say if this was to build version 1.8 of the > Nano text editor, running: > > portupgrade nano > > would upgrade the installed version to 1.9?? Yes - provided you had installed portupgrade and are using an up to date ports tree. If your ports tree is as old as the old version of nano then as far as FreeBSD is concerned it does not know of any new version. Refreshing your ports tree is where that information comes from. The utility of automation with portupgrade really comes into play when you are trying to update more than one port. One port at a time can be done manually as in the above example, but that quickly becomes tiresome when there are many. Sometimes a port may provide a shared library which many other ports depend upon. Updating that library may cause dependent apps to break. In such a situation portupgrade can recurse and rebuild all apps depending on that library so they will be linked against the new. Another tip: Whenever there are situations which can get sticky most of the time notes are placed into a file containing instructions on how to deal with the problem. Get into the habit of always reading the UPDATING file located in /usr/ports so you will know about these *before* updating. [snip] From smithi at nimnet.asn.au Sun Sep 12 15:17:41 2010 From: smithi at nimnet.asn.au (Ian Smith) Date: Sun Sep 12 15:17:45 2010 Subject: Compiling software with different compiler than cc or clang results in unusable output In-Reply-To: <20100912120025.CC19510656D4@hub.freebsd.org> References: <20100912120025.CC19510656D4@hub.freebsd.org> Message-ID: <20100912235539.N73353@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 327, Issue 11, Message: 4 On Sat, 11 Sep 2010 "O. Hartmann" wrote: > On 09/11/10 11:43, Andrew Brampton wrote: > > On 11 September 2010 10:28, O. Hartmann > > wrote: > >> > >> you see me a kind of desperate. I wrote my own a small piece of ? software in > >> C, calculating the orbit and position of astronomical objects, astroids, in > >> a heliocentric coordinate system from Keplerian orbital elements. So far. Don't expect too much accuracy from Keplerian orbits anywhere vaguely near Jupiter or Saturn - but yes they're a great place to start from. > >> The software calculates the set of points of an ellipse based upon > >> ephemeridal datas taken from the Minor Planet Cataloge. Again, so far, > >> everything all right. The set of points of an orbit is all right and > >> correct. But when it comes to positions at a specific time, then I loose > >> hair! The program mentioned below can generate accurate results for as often as every few hours; handy at least for comparing your results over time. > >> Compiling this piece of software with FreeBSD's gcc (V4.2) and clang (clang > >> devel) on my private and lab's FreeBSD boxes (both most recent FreeBSD > >> 8.1/amd64), this program does well, the calculated orbital positions are > >> very close to professional applications or observational checks. But when > >> compiling the sources with gcc44 or gcc45 (same source, same CFLAG setting, > >> mostly no CFLAGS set), then there is a great discrepancy. Sometimes when > >> plotting positions, the results plotted seconds before differs from the most > >> recent. The ellipses are allways correct, but the position of a single point > >> at a specific time isn't correct. Know the feeling; it took Kepler 20 years to get ellipses down pat :) > >> I use the GNU autotools to build the package. > >> > >> I suspekt miscompilations in memory alloction or in some time- or > >> mathematical functions like sin, cos. > >> > >> before I digg deeper I'd like to ask the community for some hints how to > >> hunt down such a problem. > >> > >> regards, > >> Oliver > > > > Sounds a cool project. I suspect you are miss-using a feature of C or > > are using uninitialised memory, and with gcc44/45's more aggressive > > optimisations it is getting it wrong. I have three suggestions > > > > 1) Use valgrind to check if it finds anything wrong when running your > > program. Check both the good and the bad builds. > > > > 2) If your program is made up of multiple C files, then try compiling > > all of the C files with gcc42, but just one at a time with gcc44. This > > way will help you track down exactly which C file has "the bug". > > > > 3) Finally do some printf debugging to find the first line of code > > that is generating the wrong value. > > > > I hope these suggestions help. > > Andrew > > Hello Andrew. > > Thanks for your comments, they are worth trying out. I will do so ... > > item 2) oh, yes, a very good idea ... > > item 3) I did already, the whole software is built up by those printf's. > > The problem boiled down to be some problem in the UNIX time routines. I > use localtime(3), time(3) and a strftime(3) and strptime(3). > > I use a 'wikipedia'-algorithm converting the actual time string into an > 'epoch' used in astronomical calculations. Compiling this routine with > gcc42 and clang everything is all right, compiling it with gcc44 or > gcc45 it returns 10 times higher values. I use very 'primitive' cutoffs > for casting a double value into an int - I need the integrale value, not > the remainings after the decimal point. I will check this again and look > forward for a cleaner solution. But isn't this a 'bug'? > > I'll try the BETA of the new FreeBSD PathScale compiler if I get some. > > Well, I'll report ... Please do. Well I can't help at all about the compilers, but I suggest having a close look over Steve Moshier's 'Numerical Integration of Sun, Moon and Planets' at http://www.moshier.net/ssystem.html I compiled the contents of http://www.moshier.net/de118i-2.zip as-is on a FreeBSD 5.5 system four years ago and it just ran, reproducing closely my late '90s results from the then DOS version SSYSTEM.EXE; there are #defines for using doubles or long doubles, major asteroids on not, even including 'your' asteroid's elements, and test results for comparison. You could check how your different compilers treat those sources? Apart from that it's very readable code and there's just about every maths and trig function imaginable, including quadrant-correct arctans and such. And also, of course, Julian Ephemeris Date handling routines .. not to mention close-to-JPL positions and velocities over many centuries :) Good luck. I'm hoping to revive and extend from my '90s Pascal astro programs in FPC soon to chew on 100s of years of ssystem ephemerides. HTH, Ian From kayasaman at gmail.com Sun Sep 12 15:46:58 2010 From: kayasaman at gmail.com (Kaya Saman) Date: Sun Sep 12 15:47:08 2010 Subject: Upgrading packages - portupgrade confusion In-Reply-To: References: <4C8C0110.20801@gmail.com> <4C8CBADC.3070904@gmail.com> <4C8CDAAD.2070606@gmail.com> Message-ID: <4C8CF5EC.80206@gmail.com> Thanks Warren and Michael! :-) On Sun, 12 Sep 2010, Kaya Saman wrote: > The thing I don't quite understand though is that if the ports tree > gets refreshed, do the packages get upgraded or will I need to rebuild > them?? The ports tree is just build instructions, so updating it doesn't update any installed applications. It does let you use a program to see which installed applications need to be updated, like pkg_version or portversion. Here's a document I've been working on lately about upgrading ports. I'm not sure it's really there yet, but it covers the basics: http://www.wonkity.com/~wblock/docs/html/portupgrade.html Yep I kinda figured that before even posting and also I knew the difference between packages built by pkg_add and compiling fresh from ports since I've done a few BSD builds now but the really iffy thing was a: communication - which let me down not explaining myself properly and b: confusion of how to update On 09/12/2010 05:36 PM, Michael Powell wrote: > [...] > Yes. A package is just a port that someone has compiled into a pre-built > binary package for use with pkg_add. These binary packages are placed on ftp > servers where pkg_add may download from and install. > > A port is just you doing the compiling locally yourself using the ports > system. The installed result is the same, except for one thing. When a > package is built some build options may have been selected as defaults while > others were excluded. When you build the port locally you have complete > control over all options. > > Ditto :-) >> "portupgrade -a" or "portmanager -u" depending on what application you >> are using. Switching between multiple port maintenance applications is >> not the worse thing you could do; however, I would not recommend it as >> an everyday occurrence. >> >> >> Ok so "portupgrade -a" upgrades all ports according to the manual. >> >> > [snip] > > >> Ok, so if I understand correctly now is that the csup command refreshes >> the ports tree while portupgrade upgrades the actual port itself.... >> > Update the ports tree first! csup -L 2 ports<- this file "ports" is a > supfile. An example of a supfile was included in a previous mail. More > detailed info in the Handbook. > This clarifies, I can't believe what's wrong with me today as I seem to not be thinking :-( I picked this up the first time round on a really good production build that I made and now I lost all that knowledge.... oh well working with MS can do that to you I guess?? > > > [...] > Another tip: Whenever there are situations which can get sticky most of the > time notes are placed into a file containing instructions on how to deal > with the problem. Get into the habit of always reading the UPDATING file > located in /usr/ports so you will know about these *before* updating. > > [snip] > > This is really great advise as I'm kinda in the process of developing documentation myself similar to Warren: http://wiki.optiplex-networks.com/xwiki/bin/view/FreeBSD/ Luckily I build all my systems in jails so is easily managed and doesn't blow up the whole system, however I do share the ports tree throughout all jails and the base install meaning that things get simplified although it can have its own problems such as version inconsistencies etc... {{PS. this is also due to the fact that I only one available production system and can't afford to get more although soon I hope to one day}} Thanks so much guys and sorry for being so noobish these last 2 days, just sorry you all had to put up with it!! :-) Anyway best regards to all and hopefully mail along side you guys helping out others some sunny day in the future :-D Kaya From freebsd-questions at pp.dyndns.biz Sun Sep 12 16:52:40 2010 From: freebsd-questions at pp.dyndns.biz (=?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?=) Date: Sun Sep 12 16:52:44 2010 Subject: 8.1 memstick installation In-Reply-To: References: <4C72BCFC.1030106@pp.dyndns.biz> Message-ID: <4C8D0554.3000507@pp.dyndns.biz> > 2010/8/23 Morgan Wesstr?m: >> On 2010-08-23 19:34, Friedemann Becker wrote: >>> Hello, >>> >>> I have some questions about an installation on a memorystick. >>> >>> I have (a few weeks still) a very poor internet connection at home >>> that's unusable for anything beyond email. I tried some hacking on >>> musescore (yes I know that it can't work, but that's not my problem >>> for now). Since I don't want to carry missing ports/packages/other >>> stuff around on a stick everytime I miss something - which takes one >>> day each - i would like to have a working system (not installation >>> image) on usb-stick. >>> Can i use fdimage with the memorystick installation image on windows, >>> or any hacked versions of it? >>> And how do turn this stick in a running system? >>> Or is there any kind of live-stick-images out there, and if it is, how >>> to move these on the stick (since windows is missing dd and nero >>> doesn't like burning sticks :-) ) >>> >>> Thanks in advance >>> >> >> Check my old message on how to do this in FreeBSD 7.2. The same >> instructions should work for 8.1 too, just change the version references. >> http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/201928.html >> /Morgan >> On 2010-08-26 13:52, Friedemann Becker wrote: > Thanks a lot, > this seems to work. Is there any chance to get this into the faq or > handbook? It's seems way more usefull to me than a live-CD. Best thing > would be putting it into sysinstall, but maybe this is not reallistic. > > Best regards, > Friedemann > For the archives - below I've updated my installation guide to work with FreeBSD 8.1-RELEASE, GPT and ZFS if anyone finds it useful. Make sure your usb memory stick is empty and unpartitioned, then plug it in and boot from the FreeBSD DVD. Select your country and keyboard layout. Enter the Fixit environment and use the live filesystem on your DVD. Your usb memory stick will most likely be da0 but you can (and should) check it with "camcontrol devlist" before you continue. Create a new GPT partitioning scheme: # gpart create -s gpt da0 Create a 64KiB partition for the zfs bootcode starting at LBA 1920: # gpart add -b 1920 -s 128 -t freebsd-boot da0 Create a zfs partition spanning the remainder of the usb memory stick and give it a label we can refer to: # gpart add -t freebsd-zfs -l FreeBSDonUSB da0 (The starting LBA for the first partition is there to align the partitions to the flash memory's erase block size. This is particularly important for the main zfs partition. The main partition above will start at exactly 1MiB (LBA 2048) which will align it to any erase block size used today. This alignment is also of great importance if you use this guide to install FreeBSD to one of the newer harddrives using 4096 byte sectors.) Install the protective MBR to LBA 0 and the zfs bootcode to the first partition: # gpart bootcode -b /dist/boot/pmbr -p /dist/boot/gptzfsboot -i 1 da0 Create /boot/zfs (for zpool.cache) and load the zfs kernel modules: # mkdir /boot/zfs # kldload /dist/boot/kernel/opensolaris.ko # kldload /dist/boot/kernel/zfs.ko Create a zfs pool and set its bootfs property: # zpool create zrootusb /dev/gpt/FreeBSDonUSB # zpool set bootfs=zrootusb zrootusb Switch to fletcher4 checksums and turn off access time modifications: # zfs set checksum=fletcher4 zrootusb # zfs set atime=off zrootusb Extract at a minimum, base and the generic kernel: # cd /dist/8.1-RELEASE/base # DESTDIR=/zrootusb ./install.sh # cd ../kernels # DESTDIR=/zrootusb ./install.sh generic Delete the empty, default kernel directory and move the generic kernel into its place: # rmdir /zrootusb/boot/kernel # mv /zrootusb/boot/GENERIC /zrootusb/boot/kernel Make sure the zfs modules are loaded at boot: # echo 'zfs_load="YES"' > /zrootusb/boot/loader.conf # echo 'vfs.root.mountfrom="zfs:zrootusb"' >> \ /zrootusb/boot/loader.conf Create /etc/rc.conf. Adjust and add to your own needs: # echo 'ifconfig_DEFAULT="DHCP"' > /zrootusb/etc/rc.conf # echo 'hostname="freebsd"' >> /zrootusb/etc/rc.conf # echo 'keymap="swedish.iso"' >> /zrootusb/etc/rc.conf # echo 'ntpdate_enable="YES"' >> /zrootusb/etc/rc.conf # echo 'sshd_enable="YES"' >> /zrootusb/etc/rc.conf # echo 'zfs_enable="YES"' >> /zrootusb/etc/rc.conf Setup your time zone: # cp /zrootusb/usr/share/zoneinfo/Europe/Stockholm \ /zrootusb/etc/localtime Create an empty fstab to avoid startup warnings: # touch /zrootusb/etc/fstab Set the root password in the new environment: # cd # chroot /zrootusb /bin/sh # passwd root # exit Copy zpool.cache: # cp /boot/zfs/zpool.cache /zrootusb/boot/zfs Unmount the filesystem and set its mountpoint: # zfs unmount -a # zfs set mountpoint=legacy zrootusb Exit SYSINSTALL and reboot. You now have a fully functional and bootable FreeBSD installation on your usb memory stick. Regards Morgan Wesstr?m From bonomi at mail.r-bonomi.com Sun Sep 12 21:18:50 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Sun Sep 12 21:18:53 2010 Subject: fsck reports errors on clean filesystem (mounted rw) Message-ID: <201009122116.o8CLGr0l016533@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Fri Sep 10 17:51:18 2010 > From: cronfy > Date: Sat, 11 Sep 2010 02:27:46 +0400 > To: freebsd-questions > Subject: fsck reports errors on clean filesystem (mounted rw) > > Hello. > > I ran fsck on my filesystems while system was running (partitons were > mounted rw with moderate FS usage). fsck reported there were errors > (INCORRECT BLOCK COUNT and others). I decided to reboot to single mode > and check all filesystems. But in single mode fsck did not find any > errors. > > 1. Can I be sure my filesystem is consistent? yes. > 2. If fsck reports nonexistent errors (and probably will try to fix > them if asked), isn't it even danger to run fsck on running system? They're not non-existant. and they're _not_ "errors". they are *EXPECTED* inconsistancies in the _disk-based_ copies of the file-system meta-data because the 'current' (memory-resident) data is *not* written to disk at the instant the meta-data changes. It is a 'non-issue', because the O/S 'knows what it's doing There are exactly _four_ possible causes of file-system inconsistencies. 1) You can have an unexpected loss of power, where the CPU stops working before it as time to write the above-mentioned 'memory-resident' data to disk. There are sub-classes of tis event, to distinguish between A utility company outage, somebody accidentally 'pulling the plug', be it litterally, or the power on/off switch, and somebody itting the 'reset' button. They all ave te same effect, the processor can't get te 'current' data in memory out to the disk. 2) you can hve a catastropic O/S failure -- a system 'crash' -- were the O/S has discovered an internal inconsistency. _IT_ doesn't trust its own data enough to keep running, and takes 'the lesser of two evils' route of *not* writing "known to be suspect" data over the out-of-date data on the disk. 3) 'bit rot' on the phyiscal media itself. Where what gets read back is *not* what was written there earlier. Modern disk drives detect this inside the controller and use embedded ECC info to give the 'right' data back, while alerting that the problem exists. 4) "Hardware failures" of any of a variety of sorts -- flakey power supply, bad RAM memory, failing controller cipes, etc. Cause 1) can be virtually eliminated by 'good practices', and the use of a UPS with controlled automatic shutdown Cause 3) you can 'stay hread of' by monitoring system logs for 'corrected' errors on magnetic media. Causes 2) and 4) you can't do much about. With the exception of cause 3) -everything- leads to sysem crash which results in the 'preserved' data being inconsistent. The 'good news' is that you *know* it happened, and can run the fixit software (fsck) before letting users back on. From bruce at cran.org.uk Sun Sep 12 21:34:20 2010 From: bruce at cran.org.uk (Bruce Cran) Date: Sun Sep 12 21:34:23 2010 Subject: fsck reports errors on clean filesystem (mounted rw) In-Reply-To: <201009122116.o8CLGr0l016533@mail.r-bonomi.com> References: <201009122116.o8CLGr0l016533@mail.r-bonomi.com> Message-ID: <20100912223406.00005904@unknown> On Sun, 12 Sep 2010 16:16:53 -0500 (CDT) Robert Bonomi wrote: > There are exactly _four_ possible causes of file-system > inconsistencies. 1) You can have an unexpected loss of power, where > the CPU stops working before it as time to write the above-mentioned > 'memory-resident' data to disk. There are sub-classes of tis event, > to distinguish between A utility company outage, somebody > accidentally 'pulling the plug', be it litterally, or the power > on/off switch, and somebody itting the 'reset' button. They all ave > te same effect, the processor can't get te 'current' data in memory > out to the disk. 2) you can hve a catastropic O/S failure -- a system > 'crash' -- were the O/S has discovered an internal inconsistency. > _IT_ doesn't trust its own data enough to keep running, and takes > 'the lesser of two evils' route of *not* writing "known to be > suspect" data over the out-of-date data on the disk. > 3) 'bit rot' on the phyiscal media itself. Where what gets read > back is *not* what was written there earlier. Modern disk drives > detect this inside the controller and use embedded ECC info to give > the 'right' data back, while alerting that the problem exists. > 4) "Hardware failures" of any of a variety of sorts -- flakey power > supply, bad RAM memory, failing controller cipes, etc. 5. An bug in the filesystem code. I've been seeing UFS corruption in recently -current, as have others, which isn't associated with crashes or bad media. -- Bruce Cran From abergeron at gmail.com Sun Sep 12 21:41:01 2010 From: abergeron at gmail.com (Arnaud Bergeron) Date: Sun Sep 12 21:41:05 2010 Subject: Services do not start at boot Message-ID: I have a FreeBSD 8.0-RELEASE installation with a UFS root and a ZFS pool for data and users. I have a couple of ports installed (netatalk, mediatomb) to share the content of the ZFS pool along with sharing it over NFS. After a fresh boot, the NFS shares do not work, mediatomb is not up and netatalk runs but does not share anything. There may be other things not working properly but those are the ones I notice. If I manually restart mountd, and the two ports using the rc.d scripts then everything works correctly until the next restart. I found this message in the archives which is similar to the problem I have except that I use dhcp: http://marc.info/?l=freebsd-questions&m=128354380615514&w=2 After checking the log I see that indeed my problem is that these services start before the network is available and they don't cope well with that. As a fix, I added dhclient to the REQUIRE: for NETWORKING and a 'sleep 10' after the dhclient command in the dhclient startup script and made sure that background_dhclient is NO, and it still doesn't work. I am at a loss. Arnaud From perryh at pluto.rain.com Mon Sep 13 04:24:36 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Sep 13 04:24:39 2010 Subject: sysinstall vs gmirror In-Reply-To: <4C8CD2A4.3020203@infracaninophile.co.uk> References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> <4C8CD2A4.3020203@infracaninophile.co.uk> Message-ID: <4c8da53d.pPK/NzHAHPlQPOfh%perryh@pluto.rain.com> Matthew Seaman wrote: > On 12/09/2010 05:09:04, perryh@pluto.rain.com wrote: > > How do I get sysinstall to recognize a gmirror? > > ... > I don't think sysinstall will do what you want. It certainly has been less than totally cooperative so far :( > However, what is your ultimate goal? > To install a system with a gmirror root drive? No, to install a system with each of /, /usr, and /var mirrored and journalled, with each journal kept in the same (mirrored) partition as its FS -- diagram below. IIUC, to put the journal in the same partition with the FS I have to create the journal while the FS is empty, hence before installing. (This is all UFS -- 512MB seems a bit small for ZFS.) The plan after partitioning the mirror is to create the journals, then install onto the journalled FS's, and finally to insert the second half of the mirror after everything else is up and running. > ... you can boot into the Fixit system, set up mirroring etc. and > then work through the rest of the installation process by hand. > The install sets are just split up tarballs and it's pretty easy > to extract a copy of a system from them. The part I don't know how to do is partitioning gm0 by hand. (I suppose it would require some sort of arcane incantations involving bsdlabel.) For all its limitations, sysinstall seems at least to know how to translate a reasonably human- readable representation of the desired slice and partition layout into the necessary fdisk and bsdlabel commands. Someone suggested using the PC-BSD installer, which knows how to do stuff like this, but when I asked how to do that from a memstick (rather than from a CD or DVD) I didn't get an answer. ad0s2 FreeBSD ad2s2 FreeBSD ad0s2a <----- gm0 -----> ad2s2a | +-----------------+ | v gm0 gm0a gm0a.journal [gjournal label gm0a gm0a] rootFS gm0d gm0d.journal [gjournal label gm0a gm0a] /var gm0e gm0e.journal [gjournal label gm0a gm0a] /usr There's more to it than this, but I think I know how to do the rest. The current sticking point is getting the mirror partitioned. From sudakov at sibptus.tomsk.ru Mon Sep 13 04:32:07 2010 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Mon Sep 13 04:32:11 2010 Subject: ipfw fwd and ipfw allow In-Reply-To: <4c8b3849.mx6rDwHZtDT6N5YR%perryh@pluto.rain.com> References: <20100822052550.GA42346@admin.sibptus.tomsk.ru> <20100907090012.GA48608@admin.sibptus.tomsk.ru> <4C8616F0.5010401@gmx.com> <20100907110033.GA51618@admin.sibptus.tomsk.ru> <4C864145.80805@gmx.com> <20100907145223.GA55660@admin.sibptus.tomsk.ru> <4C8754CD.6030003@gmx.com> <20100910125534.GA50527@admin.sibptus.tomsk.ru> <4c8b3849.mx6rDwHZtDT6N5YR%perryh@pluto.rain.com> Message-ID: <20100913043203.GB11527@admin.sibptus.tomsk.ru> perryh@pluto.rain.com wrote: > > > ... the 'fwd ... keep-state' statement does create a useful > > dynamic rule. It contradicts the ipfw(8) man page but works ... > > Hopefully someone who understands all this will submit a patch > for the man page :) The man page says that the "Dynamic rules will be checked at the first check-state, keep-state or limit occurrence, and the action performed upon a match will be the same as in the parent rule." It suggests that if the parent rule is a 'fwd' rule, the corresponding dynamic rule is also a 'fwd' rule, which would be no use (who needs a reflexive 'fwd' rule?). However, in reality a parent 'fwd' rule seems to create an 'allow' dynamic rule, which is useful but confusing. Where exactly is this place in the ipfw code? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From amvandemore at gmail.com Mon Sep 13 04:37:41 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Sep 13 04:37:46 2010 Subject: sysinstall vs gmirror In-Reply-To: <4c8da53d.pPK/NzHAHPlQPOfh%perryh@pluto.rain.com> References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> <4C8CD2A4.3020203@infracaninophile.co.uk> <4c8da53d.pPK/NzHAHPlQPOfh%perryh@pluto.rain.com> Message-ID: On Sun, Sep 12, 2010 at 11:14 PM, wrote: > The part I don't know how to do is partitioning gm0 by hand. > (I suppose it would require some sort of arcane incantations > involving bsdlabel.) For all its limitations, sysinstall > seems at least to know how to translate a reasonably human- > readable representation of the desired slice and partition > layout into the necessary fdisk and bsdlabel commands. > I don't know of any exact howto, but the general principles are laid out here: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror It shows how to load geom modules from usb stick, once they are loaded you can then setup geom, Next fdisk/gpart accordingly(don't forget to make it bootable). If your setup if GPT compatible, I recommend using it. IMO, it's significantly more straightforward than the old mbr style. once you've got your partitions setup the way you want, create your filesystems and use the instrustions on the page to extract the distrobution on to them. Obviously they need to be mounted for this to occur, so adapt the example to your own use. Note, I've never tried to boot from a gjournaled geom, but I think it will work. -- Adam Vande More From omerfsen at gmail.com Mon Sep 13 06:45:23 2010 From: omerfsen at gmail.com (Omer Faruk SEN) Date: Mon Sep 13 06:45:28 2010 Subject: Windows AD and ntpd sync problem Message-ID: Hi, I am trying to sync my time against a ntp server on Active Directory but no matter what i do ntpd did not sync against AD's NTP server. ntpdate works perfectly against AD but not ntpd. Here is my ntpd.conf: restrict default nomodify notrap noquery restrict 127.0.0.1 server 10.0.0.85 References: Message-ID: <20100913075853.00005f0a@unknown> On Mon, 13 Sep 2010 09:45:22 +0300 Omer Faruk SEN wrote: > restrict default nomodify notrap noquery > restrict 127.0.0.1 > server 10.0.0.85 References: <871506CD-C75A-4672-950C-BBEFC44F3740@roros.net> Message-ID: <0962C84F-C0C0-45EA-AE93-DC550BD2D925@roros.net> I've now added the mfi_load option to loader.conf At boot this gives me the following message: module_register: module mfi/mfid already exists! Module mfi/mfid failed to register: 17 This leads me to believe that the driver is already compiled into the kernel, as stated by SpamTitan. The installation procedure still can't find any disks! Are there any other things I could try? Obviously it can be done, but I'm apparently not capable of doing it. Any suggestions, anyone? Regards Christian T. Bakken Den 10. sep. 2010 kl. 15.51 skrev Samuel Mart?n Moro: > two solutions: > - compiling the kernel with the driver (device pci and device mfi in the > configuration file) > - mfi_load="YES" in your loader.conf > > > Samuel Mart?n Moro > {EPITECH.} tek4 > CamTrace S.A.S > (+033) 1 41 38 37 60 > 1 All?e de la Venelle > 92150 Suresnes > FRANCE > > "Nobody wants to say how this works. > Maybe nobody knows ..." > Xorg.conf(5) > > > On Fri, Sep 10, 2010 at 3:27 PM, Christian Th?rn Bakken > wrote: > >> I understand that you, Ivan, managed to install FreeBSD on an IBM Series x >> 3650 M3 server with the LSI M1015 SAS/SATA RAID controller. >> >> >> Ivan, did you tweak something to install, or did it work "out of the box" >> for you? >> Which FreeBSD version did you install? >> >> My main objective is to install the appliance distro SpanTitan 5.04 from >> www.spamtitan.com. It's based on FreeBSD 7.3 and the manufacturer >> confirms that the mfi(4) driver is compiled into the kernel. >> >> I've also tried with another (vanilla) version of FreeBSD (8.1), but with >> no luck. It just says there's no disk drives found. >> >> Regards >> Christian T. Bakken_______________________________________________ >> 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 freebsd.user at seibercom.net Mon Sep 13 12:10:20 2010 From: freebsd.user at seibercom.net (Jerry) Date: Mon Sep 13 12:10:23 2010 Subject: security log entry Message-ID: <20100913081007.5b504f3d@scorpio> From time to time, I will find an entry similar to the follow in the /var/log/security log: Sep 12 07:23:59 scorpio kernel: ipi6pf0w0: A36c0c0e ptA cUcDePp t1 92U.D1P6 81.912..11061:81.510.5150 12:2145.005.50 .222541.:05.305.32 5o1u:t5 3v5i3a innf ev0i I have IPFW configured as my firewall. I am not sure exactly what is commencing when that above log entry is created. Apparently, or at least as far as I can tell, nothing is being effected. I was just wondering if anyone had any idea what it might be pertaining to. -- Jerry ? FreeBSD.user@seibercom.net 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/20100913/61b10108/signature.pgp From g.danecki at gmail.com Mon Sep 13 13:49:48 2010 From: g.danecki at gmail.com (Grzegorz Danecki) Date: Mon Sep 13 13:49:53 2010 Subject: security log entry In-Reply-To: <20100913081007.5b504f3d@scorpio> References: <20100913081007.5b504f3d@scorpio> Message-ID: Hello, I've seen similar garbage (on the screen however) and options PRINTF_BUFR_SIZE=128 solved the problem, maybe this will help you somehow. On Mon, Sep 13, 2010 at 2:10 PM, Jerry wrote: > From time to time, I will find an entry similar to the follow in > the /var/log/security log: > > > Sep 12 07:23:59 scorpio kernel: ipi6pf0w0: A36c0c0e ptA cUcDePp > t1 92U.D1P6 81.912..11061:81.510.5150 12:2145.005.50 .222541.:05.305.32 > 5o1u:t5 3v5i3a innf ev0i > > > I have IPFW configured as my firewall. I am not sure exactly what is > commencing when that above log entry is created. Apparently, or at > least as far as I can tell, nothing is being effected. > > I was just wondering if anyone had any idea what it might be pertaining > to. > > -- > Jerry ? > FreeBSD.user@seibercom.net > > Disclaimer: off-list followups get on-list replies or get ignored. > Please do not ignore the Reply-To header. > __________________________________________________________________ > > -- Grzegorz Danecki From freebsd.user at seibercom.net Mon Sep 13 15:09:28 2010 From: freebsd.user at seibercom.net (Jerry) Date: Mon Sep 13 15:09:31 2010 Subject: security log entry In-Reply-To: References: <20100913081007.5b504f3d@scorpio> Message-ID: <20100913110923.29834af5@scorpio> On Mon, 13 Sep 2010 15:21:43 +0200 Grzegorz Danecki articulated: > On Mon, Sep 13, 2010 at 2:10 PM, Jerry > wrote: > > > From time to time, I will find an entry similar to the follow in > > the /var/log/security log: > > > > Sep 12 07:23:59 scorpio kernel: ipi6pf0w0: A36c0c0e ptA > > cUcDePp t1 92U.D1P6 81.912..11061:81.510.5150 > > 12:2145.005.50 .222541.:05.305.32 5o1u:t5 3v5i3a innf ev0i > > > > I have IPFW configured as my firewall. I am not sure exactly what is > > commencing when that above log entry is created. Apparently, or at > > least as far as I can tell, nothing is being effected. > > > > I was just wondering if anyone had any idea what it might be > > pertaining to. > Hello, > > I've seen similar garbage (on the screen however) and > > options PRINTF_BUFR_SIZE=128 > > solved the problem, maybe this will help you somehow. That notation all ready exists (by default) in my kernel, FreeBSD-8.1 (amd64) options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ I've got a very bad feeling about this. Han Solo From laszlo at danielisz.eu Mon Sep 13 15:33:01 2010 From: laszlo at danielisz.eu (=?iso-8859-2?Q?D=E1nielisz_L=E1szl=F3?=) Date: Mon Sep 13 15:58:54 2010 Subject: FreeBSD Update Message-ID: <00E5BA22-4813-44A2-AA56-40205950C8E8@danielisz.eu> Hi! I noticed one little difference how to update my system on freebsd.org 1st: http://www.freebsd.org/doc/handbook/updating-freebsdupdate.html: it says to do an portupgrade -af after I issued freebsd-update install "# freebsd-update install Note: Depending on whether any libraries version numbers got bumped, there may only be two install phases instead of three. All third party software will now need to be rebuilt and re-installed. This is required as installed software may depend on libraries which have been removed during the upgrade process. The ports-mgmt/portupgrade command may be used to automate this process. The following commands may be used to begin this process: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Once this has completed, finish the upgrade process with a final call to freebsd-update. Issue the following command to tie up all loose ends in the upgrade process:" 2nd: http://www.freebsd.org/releases/8.1R/announce.html: it says that I only have to rebuild all third-party application if I've udpate from 7.3 or earlier. I think it might be good to mentions this in the handbook to. With all the respect, Laszlo Danielisz, Budapest, Hungary www.danielisz.eu From nathan at vidican.com Mon Sep 13 16:15:27 2010 From: nathan at vidican.com (Nathan Vidican) Date: Mon Sep 13 16:15:32 2010 Subject: ipfw fwd for transparent proxy (squid) - but, not on loopback Message-ID: Hey all - I've been trying to implement a transparent proxy for all outgoing traffic to port 80 to forward to a proxy server. The problem is that the proxy itself resides on a different host than the forward rule does. Has anyone done something similar? Ideally I'd like to implement with ipfw, but not opposed to other suggestions? Internet -> firewall/gateway -> proxy server -> LAN/clients Where the firewall/gateway is the central router for multiple networks, including the public subnet which 'proxy server' gets it's external IP for. So ideally I would like something along the lines of this (assuming the proxy server is running on 10.1.1.12:3128): ipfw add 600 fwd 10.1.1.12,3128 tcp from 10.1.2.0/24 to any 80 via 10.1.2.254 ipfw add 600 fwd 10.1.1.12,3128 tcp from 10.1.3.0/24 to any 80 via 10.1.3.254 ipfw add 600 fwd 10.1.1.12,3128 tcp from 10.1.1.0/26 to any 80 via 10.1.1.1 I have tried the identical rules to above using 127.0.0.1,3128 - of course starting up squid on the gateway machine too... the problem is that machine simply doesn't have the resources and I'd prefer to run squid on a different host. Any suggestions or referrals to RTFM somewhere would be greatly appreciated. Thanks. -- Nathan Vidican nathan@vidican.com From nathan at vidican.com Mon Sep 13 16:23:44 2010 From: nathan at vidican.com (Nathan Vidican) Date: Mon Sep 13 16:23:48 2010 Subject: ipfw fwd for transparent proxy (squid) - but, not on loopback In-Reply-To: References: Message-ID: On Mon, Sep 13, 2010 at 11:53 AM, Nathan Vidican wrote: > > Hey all - I've been trying to implement a transparent proxy for all outgoing traffic to port 80 to forward to a proxy server. The problem is that the proxy itself resides on a different host than the forward rule does. Has anyone done something similar? Ideally I'd like to implement with ipfw, but not opposed to other suggestions? > > Internet -> firewall/gateway -> proxy server -> LAN/clients > > Where the firewall/gateway is the central router for multiple networks, including the public subnet which 'proxy server' gets it's external IP for. So ideally I would like something along the lines of this (assuming the proxy server is running on 10.1.1.12:3128): > > ipfw add 600 fwd 10.1.1.12,3128 tcp from 10.1.2.0/24 to any 80 via 10.1.2.254 > ipfw add 600 fwd 10.1.1.12,3128 tcp from 10.1.3.0/24 to any 80 via 10.1.3.254 > ipfw add 600 fwd 10.1.1.12,3128 tcp from 10.1.1.0/26 to any 80 via 10.1.1.1 > > I have tried the identical rules to above using 127.0.0.1,3128 - of course starting up squid on the gateway machine too... the problem is that machine simply doesn't have the resources and I'd prefer to run squid on a different host. > > Any suggestions or referrals to RTFM somewhere would be greatly appreciated. Thanks. > > -- > Nathan Vidican > nathan@vidican.com > Go figure, five minutes after posting I found what I needed in squid's documentation. FYI in case anyone comes accross this thread, what I had been doing wrong was 'http_port 3128 transparent' should have been 'http_port 3128 intercept' instead. See this link for more details: http://wiki.squid-cache.org/ConfigExamples/Intercept/FreeBsdIpfw -- Nathan Vidican nathan@vidican.com From henois at msn.com Mon Sep 13 20:36:41 2010 From: henois at msn.com (Mme Claire Page) Date: Mon Sep 13 20:36:43 2010 Subject: Ramadan heureux mon cher Message-ID: <20100913200640.E589D10BAE38@vcvps1364.vcdns.de> I am Mrs Claire Page sending you this mail from my sick bed in the hospital. Please contact my lawyer, Email:(barr_willam_frank@lawyer.com) Je suis Mme Claire Page vous envoie ce mail de mon lit de malade à l'hôpital. S'il vous plaît communiquer avec mon avocat, Email: (barr_willam_frank@lawyer.com) From paul at fletchermoorland.co.uk Tue Sep 14 00:10:39 2010 From: paul at fletchermoorland.co.uk (Paul Wootton) Date: Tue Sep 14 00:10:43 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <20100910151651.GA29465@libertas.local.camdensoftware.com> References: <86occ5k6yo.fsf@red.stonehenge.com> <20100910151651.GA29465@libertas.local.camdensoftware.com> Message-ID: <4C8EB99E.50609@fletchermoorland.co.uk> On 09/10/10 15:16, Chip Camden wrote: > Perhaps someone could provide specific use cases for which Java is the > only good solution? > Take a look at some online games. For example Runescape (www.runescape.com) Taken from Wikipedia "/*RuneScape*/ is a fantasy massively multiplayer online role-playing game (MMORPG) released in January 2001 by Andrew and Paul Gower,^[2] and developed by Jagex Ltd. It is a graphical browser game implemented on the client-side in Java , and incorporates 3D rendering . The game has approximately 10 million active accounts, over 130 million registered accounts,^[3] and is recognised by the Guinness World Records as the world's most popular free MMORPG.^[4] " Using Java, Jagex have made Runescape available to most computer users, not just Windows users A lot of IP-KVMs also use client side Java apps. Paul From arundel at freebsd.org Tue Sep 14 00:37:26 2010 From: arundel at freebsd.org (Alexander Best) Date: Tue Sep 14 00:37:30 2010 Subject: apropos returning same item twice In-Reply-To: <201009111442.49114.FreeBSD@insightbb.com> References: <201009111442.49114.FreeBSD@insightbb.com> Message-ID: <20100914003726.GA5762@freebsd.org> On Sat Sep 11 10, Steven Friedrich wrote: > Why does apropos list mysql(1) twice? > > It doesn't return duplicates with apropos kde... maybe you have a gzip'ed and plain version in /usr ? see PR #4419. cheers. alex > > > > > admin@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql > mysql(1) - the MySQL command-line tool > mysql.server(1) - MySQL server startup script > mysql_config(1) - get compile options for compiling clients > mysql_install_db(1) - initialize MySQL data directory > mysql_tzinfo_to_sql(1) - load the time zone tables > mysql_upgrade(1) - check tables for MySQL upgrade > mysql_waitpid(1) - kill process and wait for its termination > mysqladmin(1) - client for administering a MySQL server > mysqlbinlog(1) - utility for processing binary log files > mysqlbug(1) - generate bug report > mysqlcheck(1) - a table maintenance program > mysqld_safe(1) - MySQL server startup script safe_mysqld - MySQL > server startup script > mysqldump(1) - a database backup program > mysqlimport(1) - a data import program > mysqlshow(1) - display database, table, and column information > mysqltest(1) - program to run test cases mysqltest_embedded - > program to run embedded test cases > slapd-ndb(5) - MySQL NDB backend to slapd > mysql(1) - the MySQL command-line tool > mysql.server(1) - MySQL server startup script > mysql_config(1) - get compile options for compiling clients > mysql_install_db(1) - initialize MySQL data directory > mysql_tzinfo_to_sql(1) - load the time zone tables > mysql_upgrade(1) - check tables for MySQL upgrade > mysql_waitpid(1) - kill process and wait for its termination > mysqladmin(1) - client for administering a MySQL server > mysqlbinlog(1) - utility for processing binary log files > mysqlbug(1) - generate bug report > mysqlcheck(1) - a table maintenance program > mysqld_safe(1) - MySQL server startup script safe_mysqld - MySQL > server startup script > mysqldump(1) - a database backup program > mysqlimport(1) - a data import program > mysqlshow(1) - display database, table, and column information > mysqltest(1) - program to run test cases mysqltest_embedded - > program to run embedded test cases > slapd-ndb(5) - MySQL NDB backend to slapd > > -- > System Name: laptop2.StevenFriedrich.org > Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory > OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) > manager(s): kde4-4.5.1 > X windows: xorg-7.5 X.Org X Server 1.7.5 -- a13x From joseane.delfino at sensorexpert.com Tue Sep 14 05:17:30 2010 From: joseane.delfino at sensorexpert.com (Sensor Expert) Date: Tue Sep 14 05:23:16 2010 Subject: New inexpensive sensor instantly measures surface contact stress Message-ID: <20100914041838.65648.qmail@acast.ca> MEASURE PRESSURE BETWEEN CONTACTING SURFACES Pressurex pressure indicating sensor film can reveal pressure distribution and magnitude between any two contacting or impacting surfaces. This thin plastic sensor film is placed at the actual contact surfaces and instantaneously and permanently captures the pressure profile by changing color. Similar in concept to Litmus paper, the color Pressurex turns is also directly proportional to the amount of force applied and can be quantified. Pressurex can be used in many applications including in a bolted joint interface, composite layup, heat sealing and lamination presses; it can act as a force sensing resistor, and it can measure surface pressure distribution whether it is used as an impact force sensor, seat pressure sensor, as a strain gauge or even as nip impression paper. http://www.sensorexpert.com/ If you would like to receive a sample of Pressurex, simply click on only one of the buttons below to indicate the pressure range most suitable to your application and we'll gladly send one out to you. Please be sure to include complete contact info and a full mailing address. Send me a sample of --> Micro 2 - 20 PSI (0.14 - 1.4 kg/cm?) Send an e-mail to samples@sensorexpert.com with a subject of "Send me a sample of Micro 11115" Ultra Low 28 - 85 PSI (2 - 6 kg/cm?) Send an e-mail to samples@sensorexpert.com with a subject of "Send me a sample of Ultra Low 11115" Super Low 70 - 350 PSI (5 - 25 kg/cm?) Send an e-mail to samples@sensorexpert.com with a subject of "Send me a sample of Super Low 11115 " Low 350 - 1,400 PSI (25 - 100 kg/cm?) Send an e-mail to samples@sensorexpert.com with a subject of "Send me a sample of Low 11115 " Medium 1,400 - 7,100 PSI (100 - 500 kg/cm?) Send an e-mail to samples@sensorexpert.com with a subject of "Send me a sample of Medium 11115 " High 7,100 - 18,500 PSI (500 - 1,300 kg/cm?) Send an e-mail to samples@sensorexpert.com with a subject of "Send me a sample of High 11115" Super High 18,500 - 43,200 PSI (1,300 - 3,000 kg/cm?) Send an e-mail to samples@sensorexpert.com with a subject of "Send me a sample of Super High 11115" For product brochure visit http://www.sensorexpert.com/ Sensor Expert (USA) ? Tel: (973) 884-1755 ? Fax: (973) 884-1699 ? samples@sensorexpert.com ? www.sensorexpert.com To unsubscribe from this emailing, send an e-mail to bebner@sensorexpert.com with a subject of Unsubscribe 11115 From benno at NLnetLabs.nl Tue Sep 14 07:48:59 2010 From: benno at NLnetLabs.nl (Benno Overeinder) Date: Tue Sep 14 07:49:01 2010 Subject: freebsd 6.4 -> 7.3 upgrade failure, ports openssl, and libz.so.3 versus libz.so.4 Message-ID: <4C8F28E8.30007@NLnetLabs.nl> Hi, I am upgrading a system from freebsd 6.4 to freebsd 7.3 from source. On this system, the ports openssl package has been installed. With the make buildworld, the compilation of sendmail fails with the message: /usr/obj/usr/src/tmp/usr/bin/ld: warning: libz.so.3, needed by /usr/local/lib/libssl.so, not found (try using -rpath or -rpath-link) Problem is that the new kernel is expecting (or compiling the sources against) libz.so.4 (/usr/obj/usr/src/lib/libz/libz.so.4). libz.so.3 is available in /lib/libz.so.3 (FreeBSD 6.4). Is there any way to break this dependency, such that the make buildworld completes successfully? It is openssl from ports depending on libz.so.3 of FreeBSD 6.4, sendmail is compiled with openssl from ports for FreeBSD 7.3, which provides libz.so.4... The upgrade path 6.4 -> 7.3 with ports openssl is probably not unique, others will have a similar upgrade path. Can I specify something (/etc/make.conf?) such that 'make buildworld' makes use of base openssl and not ports openssl? Or should I uninstall ports openssl (and recompile half of my ports, and later again recompile all for freebsd 7.3)? Any suggestions are welcome. Thanks, -- Benno From guru at unixarea.de Tue Sep 14 08:01:45 2010 From: guru at unixarea.de (Matthias Apitz) Date: Tue Sep 14 08:01:49 2010 Subject: sendmail && resolv.conf changes Message-ID: <20100914080141.GA2286@current.Sisis.de> Hello, When using a laptop it is normal that there are some changes in resolv.conf during the live, for example: boot time: no network available start of PPP over UMTS: resolv.conf from provider start VPN to connect to company: resolv.conf from company ... it seems that sendmail is not aware of such changes in the resolv.conf and always get stuck with the old DNS and ofc does not work on incoming mails (provided by fetchmail). A restart helps, but is there some better way to let sendmail switch to the new DNS environment when resolv.conf changes? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From tomaszd at paraklet.net Tue Sep 14 08:42:36 2010 From: tomaszd at paraklet.net (tomasz dereszynski) Date: Tue Sep 14 08:42:40 2010 Subject: sendmail && resolv.conf changes In-Reply-To: <20100914080141.GA2286@current.Sisis.de> References: <20100914080141.GA2286@current.Sisis.de> Message-ID: > > Hello, > > When using a laptop it is normal that there are some changes in > resolv.conf during the live, for example: > > boot time: no network available > start of PPP over UMTS: resolv.conf from provider > start VPN to connect to company: resolv.conf from company > ... > > it seems that sendmail is not aware of such changes in the resolv.conf > and always get stuck with the old DNS and ofc does not work on incoming > mails (provided by fetchmail). A restart helps, but is there some better > way to let sendmail switch to the new DNS environment when resolv.conf > changes? > > Thanks > My very wide guess would be that Sendmail starts before system obtain network settings from DHCP. But I do not remember Sendmail settings well enough. -- bEsT rEgArDs | "Confidence is what you have before you tomasz dereszynski | understand the problem." -- Woody Allen | Spes confisa Deo | "In theory, theory and practice are much numquam confusa recedit | the same. In practice they are very | different." -- Albert Einstein From guru at unixarea.de Tue Sep 14 08:54:45 2010 From: guru at unixarea.de (Matthias Apitz) Date: Tue Sep 14 08:54:49 2010 Subject: sendmail && resolv.conf changes In-Reply-To: References: <20100914080141.GA2286@current.Sisis.de> Message-ID: <20100914085445.GA1854@current.Sisis.de> El d?a Tuesday, September 14, 2010 a las 09:15:49AM +0100, tomasz dereszynski escribi?: > > > > > Hello, > > > > When using a laptop it is normal that there are some changes in > > resolv.conf during the live, for example: > > > > boot time: no network available > > start of PPP over UMTS: resolv.conf from provider > > start VPN to connect to company: resolv.conf from company > > ... > > > > it seems that sendmail is not aware of such changes in the resolv.conf > > and always get stuck with the old DNS and ofc does not work on incoming > > mails (provided by fetchmail). A restart helps, but is there some better > > way to let sendmail switch to the new DNS environment when resolv.conf > > changes? > > > > Thanks > > > My very wide guess would be that Sendmail starts before system obtain > network settings from DHCP. Your guess is correct :-) What I wanted to say: sendmail runs and DHCP changes in certain situations the IP, routing and DNS, and sendmail does not adopt on these changes. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From tomaszd at paraklet.net Tue Sep 14 09:28:19 2010 From: tomaszd at paraklet.net (tomasz dereszynski) Date: Tue Sep 14 09:28:23 2010 Subject: sendmail && resolv.conf changes In-Reply-To: <20100914085445.GA1854@current.Sisis.de> References: <20100914080141.GA2286@current.Sisis.de> <20100914085445.GA1854@current.Sisis.de> Message-ID: > El d?a Tuesday, September 14, 2010 a las 09:15:49AM +0100, tomasz > dereszynski escribi?: > >> >> > >> > Hello, >> > >> > When using a laptop it is normal that there are some changes in >> > resolv.conf during the live, for example: >> > >> > boot time: no network available >> > start of PPP over UMTS: resolv.conf from provider >> > start VPN to connect to company: resolv.conf from company >> > ... >> > >> > it seems that sendmail is not aware of such changes in the resolv.conf >> > and always get stuck with the old DNS and ofc does not work on >> incoming >> > mails (provided by fetchmail). A restart helps, but is there some >> better >> > way to let sendmail switch to the new DNS environment when resolv.conf >> > changes? >> > >> > Thanks >> > >> My very wide guess would be that Sendmail starts before system obtain >> network settings from DHCP. > > Your guess is correct :-) > > What I wanted to say: sendmail runs and DHCP changes in certain > situations the IP, routing and DNS, and sendmail does not adopt on these > changes. delay Sendmail start to after network settings loaded from DHCP. not sure if there is any 'documentation correct' way of doing that but 'home crafted' one would be to move /etc/rc.sendmail to /usr/local/etc/rc.d/blah.sendmail.sh and remove it from rc.config hope someone here knows more proper way and can advise. -- bEsT rEgArDs | "Confidence is what you have before you tomasz dereszynski | understand the problem." -- Woody Allen | Spes confisa Deo | "In theory, theory and practice are much numquam confusa recedit | the same. In practice they are very | different." -- Albert Einstein From stapleton.41 at gmail.com Tue Sep 14 13:27:56 2010 From: stapleton.41 at gmail.com (Jim) Date: Tue Sep 14 13:27:59 2010 Subject: i386 jail on AMD64 system not seeing network. AMD64 jails working fine. Message-ID: I am trying to run a teamspeak server, so I need an i386 jail. However, the jail seems to have issues with connecting to the network. * I set up the jail (make clean buildworld install distribution TARGET=i386 DESTDIR=/data/jail/speak/), and get no errors. * I mount /data/jail/speak/dev and /data/jail/speak/proc as I would on an AMD64 jail. * I copy over my /etc/hosts file, with an entry added for the teamspeak jail * I copy over my /etc/resolv.conf file * I set up the rc.conf file with: defaultrouter="192.168.1.1" hostname="speak.mydomain" #the following are also set on my web and email jails amd_enable="NO" sshd_enable="YES" usbd_enable="NO" rpc_bind="NO" * I nfs mounts /usr/ports to /data/jail/speak/usr/ports * I start the jail with "jail -s 2 /data/jail/speak "speak.mydomain" 192.168.1.9 /bin/sh ** The shell starts * I installed bash and lynx through ports - both have their distfiles and those of dependencies already downloaded * I left the jail and came back in with "jail -s 2 /data/jail/speak "speak.mydomain" 192.168.1.9 /usr/local/bin/bash Up to this point, there is no trouble. * I tried installing teamspeak: cd /usr/ports/audio/teamspeak_server; make install clean => Couldn't fetch it. Please try to retrieve this => port manually into /usr/ports/distfiles/teamspeak and try again *** Error code 1 * I try to connect to either my router or the web server I have at 192.168.1.5 with lynx. First I get: "Making HTTP connection to 192.168.1.1" (or 192.168.1.5), and the browser sits there for a while. This is followed by: Alert!: Unable to connect to remote host. * From the base system or either of the other jails, I can connect to either. * I try the jail again, this time with '-s 0', and I still can't connect to either site. The main system conf does not have the jails loaded specifically, I start the jails manually. The ifconfig setups look like this: hostname="server.mydomain" ifconfig_nfe0="inet 192.168.1.2 netmask 255.255.255.0" #we are borg ifconfig_nfe0_alias0="inet 192.168.1.3 netmask 255.255.255.0" ifconfig_nfe0_alias1="inet 192.168.1.4 netmask 255.255.255.0" ifconfig_nfe0_alias2="inet 192.168.1.5 netmask 255.255.255.0" ifconfig_nfe0_alias3="inet 192.168.1.6 netmask 255.255.255.0" ifconfig_nfe0_alias4="inet 192.168.1.7 netmask 255.255.255.0" ifconfig_nfe0_alias5="inet 192.168.1.8 netmask 255.255.255.0" ifconfig_nfe0_alias6="inet 192.168.1.9 netmask 255.255.255.0" ifconfig_nfe0_alias7="inet 192.168.1.25 netmask 255.255.255.0" ifconfig_nfe0_alias8="inet 192.168.1.80 netmask 255.255.255.0" defaultrouter="192.168.1.1" Anyone know what might be causing this? Thanks, -Jim Stapleton From jules.stocks at gmail.com Tue Sep 14 16:11:32 2010 From: jules.stocks at gmail.com (Jules Gilbert) Date: Tue Sep 14 16:11:38 2010 Subject: this is probably a little touchy to ask... In-Reply-To: References: Message-ID: I'm the guy who started this thread. First, I'm not unhappy with any of you. Each of you, every single person who has, at any time, been a member of the team working on *any* FBSD sub-system, has contributed more than me. I don't criticize you, I salute you, thank you. And stop throwing bricks at each other, we, the users, continue to need your skills and your contributions. Now, I wrote my note for a reason -- which no one seems to have touched on (maybe I missed it, that's certainly possible.) A typical FBSD user wants to be able to do a ports-based install, or perhaps a pkg_add and, presto, out of the box, have a browser. And, here it comes... Wait for it. Without too much trouble, have a running Java, connect to that browser and working. And it doesn't matter if some of us like or don't like Java. It's here and it's staying here. In ten years, and probably in twenty years, it will still be an important part of a typical OS environment. I understand that Sun declined to allow pre-built configurations to be shipped. Okay. Now, (here I am not asking for a public response, nor am I suggesting that anyone email me privately about this,) does anyone have an "in" with Oracle management? Because we need Oracle to reverse their decision in this matter (remember, they inherited Java from Sun, but their management team is slowly buying in to the decisions that Sun made. We want to give the Oracle people good reasons to change their thinking in regards to Java. It may be theoretically possible for a current user to build, say, a Firefox browser with a working Java, but this happens at a time when that new machine is just coming up. One mistake sometimes makes the builder unsure what he needs to change in his environment to try again (boy, is that me!) So, assuming we can't get real change from Oracle, can we at least provide much better install instructions for naive users. Please. (And I am hoping that my notes generate both short-term fixes as well as more permanent policy changes on the part of Oracle.) Now, if Oracle won't adjust their thinking, I intend to look at Java sub-systems that are supplied and built by other people than Oracle. (It's called Open Source.) It would help me if the FreeBSD website provided somewhat better descriptions of the programs offered. Those descriptions are perfect -- if you already know what you're doing. But in this area I am a naive user. For example: Do JDK's (java development kit's,) provide anything for an end-user? Or are they only useful for people building applications? Also: To run Java with a browser, do I need anything more than a client run-time environment? If so, what? Oh, one more thing... I don't do compiler stuff anymore, I did once. And to those of you who want to toss Java, you've got a lot of work to do, not only in terms of overcoming the number of applications but also the design, the people who've worked on it did great work. It's not going away. What will happen is what's already happening, stuff like IceTea is being built. But scrapping Java?, not for at least 25 years, more probably. On Thu, Sep 9, 2010 at 5:02 PM, Jules Gilbert wrote: > About Java. ?Using java with freebsd/mozilla or another browser. > > Some questions: > > Is GNU java sufficient? ?I need to be able to run a browser with Java. > ?No alternative -- and no I don't want to run windoz. > > I'm trying to do an 8.1 install. > > Does this problem exist with Sun's x86 OS? > > Does anyone have a website or even a set of notes as to the right way > to do this. > > Now an opinion. ?If Oracle isn't going to help us, we should look > around for an alternative, even inventing something else, something > that isn't Sun/Oracle/Java. > > Because this problem has been getting progressively worse for the past > three or four years or so (longer?,) and, look around, it's hurting > the FreeBSD community. > From root at mediamonks.net Tue Sep 14 16:19:11 2010 From: root at mediamonks.net (Terrence Koeman) Date: Tue Sep 14 16:19:16 2010 Subject: sendmail && resolv.conf changes In-Reply-To: Message-ID: <254c61d2cccd564d8fd93ae56635d6c0@mediamonks.com> > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of tomasz dereszynski > Sent: Tuesday, September 14, 2010 11:28 AM > To: Matthias Apitz; freebsd-questions@freebsd.org > Subject: Re: sendmail && resolv.conf changes > > > > El d?a Tuesday, September 14, 2010 a las 09:15:49AM +0100, tomasz > > dereszynski escribi?: > > > >> > >> > > >> > Hello, > >> > > >> > When using a laptop it is normal that there are some changes in > >> > resolv.conf during the live, for example: > >> > > >> > boot time: no network available > >> > start of PPP over UMTS: resolv.conf from provider > >> > start VPN to connect to company: resolv.conf from company > >> > ... > >> > > >> > it seems that sendmail is not aware of such changes in the > resolv.conf > >> > and always get stuck with the old DNS and ofc does not work on > >> incoming > >> > mails (provided by fetchmail). A restart helps, but is there some > >> better > >> > way to let sendmail switch to the new DNS environment when > resolv.conf > >> > changes? > >> > > >> > Thanks > >> > > >> My very wide guess would be that Sendmail starts before system > obtain > >> network settings from DHCP. > > > > Your guess is correct :-) > > > > What I wanted to say: sendmail runs and DHCP changes in certain > > situations the IP, routing and DNS, and sendmail does not adopt on > these > > changes. > > > delay Sendmail start to after network settings loaded from DHCP. > > not sure if there is any 'documentation correct' way of doing that but > 'home crafted' one would be to move /etc/rc.sendmail to > /usr/local/etc/rc.d/blah.sendmail.sh and remove it from rc.config > > hope someone here knows more proper way and can advise. > It might be an idea to (mis)use the "script" option in dhclient.conf to restart sendmail (/etc/rc.d/sendmail restart) after a lease has been aquired. See 'man dhclient.conf'. -- Regards, T. Koeman, MTh/BSc/BPsy; Technical Monk MediaMonks B.V. (www.mediamonks.com) Please quote all replies in correspondence. From gull at gull.us Tue Sep 14 17:08:10 2010 From: gull at gull.us (David Brodbeck) Date: Tue Sep 14 17:08:15 2010 Subject: this is probably a little touchy to ask... In-Reply-To: References: Message-ID: (Trimming the CC list a bit.) On Tue, Sep 14, 2010 at 9:11 AM, Jules Gilbert wrote: > I understand that Sun declined to allow pre-built configurations to be > shipped. ?Okay. > > Now, (here I am not asking for a public response, nor am I suggesting > that anyone email me privately about this,) does anyone have an "in" > with Oracle management? If you're holding your breath waiting for Oracle to answer questions, about all you're going to do is turn blue. They have a policy of not communicating about the status of their products. Anyone with an "in" with management would probably be forbidden to talk about it. Take a look at how long they jerked the OpenSolaris folks around before dumping them and ask yourself if you want to volunteer for that kind of treatment. From FreeBSD at insightbb.com Tue Sep 14 17:39:18 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Tue Sep 14 17:39:22 2010 Subject: apropos returning same item twice In-Reply-To: <20100914003726.GA5762@freebsd.org> References: <201009111442.49114.FreeBSD@insightbb.com> <20100914003726.GA5762@freebsd.org> Message-ID: <201009141339.15349.FreeBSD@insightbb.com> On Monday 13 September 2010 8:37:26 pm Alexander Best wrote: > On Sat Sep 11 10, Steven Friedrich wrote: > > Why does apropos list mysql(1) twice? > > > > It doesn't return duplicates with apropos kde... > > maybe you have a gzip'ed and plain version in /usr ? > > see PR #4419. > > cheers. > alex > find /usr -name mysql.1\* only returned one hit. /usr/local/man/man1/mysql.1.gz -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From doug at safeport.com Tue Sep 14 17:52:30 2010 From: doug at safeport.com (doug@safeport.com) Date: Tue Sep 14 17:52:37 2010 Subject: unix permissions questions Message-ID: I found several directories whose permissions where set to dr-s--S--T 2 user group 512 Feb 22 2010 .procmail/ All were .procmail which is what we set for procmail logging and supporting recipes. In reading 'man ls' it seems (to me) this might result from losing the execute bit on the directory. Is this correct? Been BSDing since 1995 and have not seen this set of permissions. Thanks for any insights. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From guru at unixarea.de Tue Sep 14 17:52:59 2010 From: guru at unixarea.de (Matthias Apitz) Date: Tue Sep 14 17:53:05 2010 Subject: sendmail && resolv.conf changes In-Reply-To: <254c61d2cccd564d8fd93ae56635d6c0@mediamonks.com> References: <254c61d2cccd564d8fd93ae56635d6c0@mediamonks.com> Message-ID: <20100914175608.GA1060@tiny.Sisis.de> El d?a Tuesday, September 14, 2010 a las 05:49:07PM +0200, Terrence Koeman escribi?: > > > What I wanted to say: sendmail runs and DHCP changes in certain > > > situations the IP, routing and DNS, and sendmail does not adopt on > > these > > > changes. > > > > > It might be an idea to (mis)use the "script" option in dhclient.conf to restart sendmail (/etc/rc.d/sendmail restart) after a lease has been aquired. See 'man dhclient.conf'. Actually I'm using hooks in devd(8) like: $ cat /usr/local/etc/devd/tun6.conf notify 0 { match "system" "IFNET"; match "subsystem" "tun6"; match "type" "LINK_UP"; action "/usr/local/etc/devd/tun6.sh $subsystem $type"; }; $ cat /usr/local/etc/devd/tun6.sh #!/bin/sh # echo `date`: $0 $* >> /tmp/devd.out ( sleep 30 ; echo Doing: /etc/rc.d/sendmail onerestart >> /tmp/devd.out ; /etc/rc.d/sendmail onerestart ; ) exit 0 for each interface which might come up; but I was thinking that there must be a more general solution in sendmail or DNS itself; in any case, thanks for your idea; > ... > Please quote all replies in correspondence. No. See netiquette RFC: http://www.faqs.org/rfcs/rfc1855.html matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From freebsd at edvax.de Tue Sep 14 18:01:20 2010 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 14 18:01:23 2010 Subject: unix permissions questions In-Reply-To: References: Message-ID: <20100914200116.23a34732.freebsd@edvax.de> On Tue, 14 Sep 2010 13:32:40 -0400 (EDT), doug@safeport.com wrote: > I found several directories whose permissions where set to > > dr-s--S--T 2 user group 512 Feb 22 2010 .procmail/ > > All were .procmail which is what we set for procmail logging and supporting > recipes. In reading 'man ls' it seems (to me) this might result from losing the > execute bit on the directory. Is this correct? Been BSDing since 1995 and have > not seen this set of permissions. Thanks for any insights. After a short read of "man ls": "s" in the owner permissions = file is executable and set-user-ID mode is set "S" in the group permissions = file is not executable and set-group-ID mode is set "T" in the other permission = sticky bit is set, but not execute or search permission. Result: User can execute SUID, group cannot execute, others cannot search or execute; sticky bit is set. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From cswiger at mac.com Tue Sep 14 18:05:05 2010 From: cswiger at mac.com (Chuck Swiger) Date: Tue Sep 14 18:05:08 2010 Subject: unix permissions questions In-Reply-To: <20100914200116.23a34732.freebsd@edvax.de> References: <20100914200116.23a34732.freebsd@edvax.de> Message-ID: On Sep 14, 2010, at 11:01 AM, Polytropon wrote: > On Tue, 14 Sep 2010 13:32:40 -0400 (EDT), doug@safeport.com wrote: >> I found several directories whose permissions where set to >> >> dr-s--S--T 2 user group 512 Feb 22 2010 .procmail/ >> >> All were .procmail which is what we set for procmail logging and supporting >> recipes. In reading 'man ls' it seems (to me) this might result from losing the >> execute bit on the directory. Is this correct? Been BSDing since 1995 and have >> not seen this set of permissions. Thanks for any insights. > > After a short read of "man ls": [ ... ] > Result: User can execute SUID, group cannot execute, others cannot search > or execute; sticky bit is set. Except that this is a directory, not a file.... :-) A bit of experimentation suggests that "chmod 7500 .procmail" are the permissions involved, which are silly. No group permissions enabled means setgid is meaningless, and I don't see any value for using the sticky bit here, either. Try using 0500, 0700, or maybe 4500/4700 instead. Regards, -- -Chuck From doug at safeport.com Tue Sep 14 18:13:27 2010 From: doug at safeport.com (doug@safeport.com) Date: Tue Sep 14 18:13:31 2010 Subject: unix permissions questions In-Reply-To: <20100914200116.23a34732.freebsd@edvax.de> References: <20100914200116.23a34732.freebsd@edvax.de> Message-ID: On Tue, 14 Sep 2010, Polytropon wrote: > On Tue, 14 Sep 2010 13:32:40 -0400 (EDT), doug@safeport.com wrote: >> I found several directories whose permissions where set to >> >> dr-s--S--T 2 user group 512 Feb 22 2010 .procmail/ >> >> All were .procmail which is what we set for procmail logging and supporting >> recipes. In reading 'man ls' it seems (to me) this might result from losing the >> execute bit on the directory. Is this correct? Been BSDing since 1995 and have >> not seen this set of permissions. Thanks for any insights. > > After a short read of "man ls": > > "s" in the owner permissions = file is executable and set-user-ID mode is set > > "S" in the group permissions = file is not executable and set-group-ID mode is set > > "T" in the other permission = sticky bit is set, but not execute > or search permission. > > Result: User can execute SUID, group cannot execute, others cannot search > or execute; sticky bit is set. > Thanks, I got that from the man page. My question, not stated very well, was can a non-root user set those permissions. If so, I obviously do not know how. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From doug at safeport.com Tue Sep 14 18:16:22 2010 From: doug at safeport.com (doug@safeport.com) Date: Tue Sep 14 18:16:26 2010 Subject: unix permissions questions In-Reply-To: References: <20100914200116.23a34732.freebsd@edvax.de> Message-ID: On Tue, 14 Sep 2010, Chuck Swiger wrote: > On Sep 14, 2010, at 11:01 AM, Polytropon wrote: >> On Tue, 14 Sep 2010 13:32:40 -0400 (EDT), doug@safeport.com wrote: >>> I found several directories whose permissions where set to >>> >>> dr-s--S--T 2 user group 512 Feb 22 2010 .procmail/ >>> >>> All were .procmail which is what we set for procmail logging and supporting >>> recipes. In reading 'man ls' it seems (to me) this might result from losing the >>> execute bit on the directory. Is this correct? Been BSDing since 1995 and have >>> not seen this set of permissions. Thanks for any insights. >> >> After a short read of "man ls": > [ ... ] >> Result: User can execute SUID, group cannot execute, others cannot search >> or execute; sticky bit is set. > > Except that this is a directory, not a file.... :-) > > A bit of experimentation suggests that "chmod 7500 .procmail" are the permissions involved, which are silly. No group permissions enabled means setgid is meaningless, and I don't see any value for using the sticky bit here, either. Try using 0500, 0700, or maybe 4500/4700 instead. thanks all - the context of this: the users involved do not know what the chmod command is much less its syntax and I did not do this. What I was going for was could this be a procmail bug or perhaps something more alarming (to me as a sysadmin). _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From freebsd at edvax.de Tue Sep 14 18:17:39 2010 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 14 18:17:43 2010 Subject: unix permissions questions In-Reply-To: References: <20100914200116.23a34732.freebsd@edvax.de> Message-ID: <20100914201736.9519471e.freebsd@edvax.de> On Tue, 14 Sep 2010 11:04:58 -0700, Chuck Swiger wrote: > On Sep 14, 2010, at 11:01 AM, Polytropon wrote: > > On Tue, 14 Sep 2010 13:32:40 -0400 (EDT), doug@safeport.com wrote: > >> I found several directories whose permissions where set to > >> > >> dr-s--S--T 2 user group 512 Feb 22 2010 .procmail/ > >> > >> All were .procmail which is what we set for procmail logging and supporting > >> recipes. In reading 'man ls' it seems (to me) this might result from losing the > >> execute bit on the directory. Is this correct? Been BSDing since 1995 and have > >> not seen this set of permissions. Thanks for any insights. > > > > After a short read of "man ls": > [ ... ] > > Result: User can execute SUID, group cannot execute, others cannot search > > or execute; sticky bit is set. > > Except that this is a directory, not a file.... :-) Thanks, I forgot to include that in my summary. :-) In this case, I wanted to say that the user can chdir / search that directory. > A bit of experimentation suggests that "chmod 7500 .procmail" are the > permissions involved, which are silly. No group permissions enabled > means setgid is meaningless, and I don't see any value for using the > sticky bit here, either. Try using 0500, 0700, or maybe 4500/4700 instead. I would think that's what the permissions should be - it roughly is equivalent to what a file with a similar purpose would look like for a (user's) private .procmail/ directory. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From cswiger at mac.com Tue Sep 14 18:22:55 2010 From: cswiger at mac.com (Chuck Swiger) Date: Tue Sep 14 18:22:59 2010 Subject: unix permissions questions In-Reply-To: References: <20100914200116.23a34732.freebsd@edvax.de> Message-ID: <270B9E77-D1B2-43AC-98EC-EEC9F8CE840A@mac.com> On Sep 14, 2010, at 11:16 AM, doug@safeport.com wrote: >> A bit of experimentation suggests that "chmod 7500 .procmail" are the permissions involved, which are silly. No group permissions enabled means setgid is meaningless, and I don't see any value for using the sticky bit here, either. Try using 0500, 0700, or maybe 4500/4700 instead. > > thanks all - the context of this: the users involved do not know what the chmod command is much less its syntax and I did not do this. What I was going for was could this be a procmail bug or perhaps something more alarming (to me as a sysadmin). The permissions here are unexpected. procmail cares about clearing group and other permissions-- unless GROUP_PER_USER is set (cf http://partmaps.org/era/procmail/mini-faq.html#group-writable), which usually would be appropriate for FreeBSD since it encourages all userids to also have a corresponding groupid. Regards, -- -Chuck From toomas.aas at raad.tartu.ee Tue Sep 14 18:32:44 2010 From: toomas.aas at raad.tartu.ee (Toomas Aas) Date: Tue Sep 14 18:32:48 2010 Subject: Is it safe to run gjournal on aac-based system (BIO_FLUSH)? Message-ID: <20100914211516.92195onu24td4z4s@webmail.raad.tartu.ee> Hello! I'm planning to install FreeBSD 8.1 on a system which has Adaptec 4805SAS RAID controller (using aac driver). I'd like to use gjournal for the data partition, but I have some doubts regarding the (lack of) BIO_FLUSH feature. I have another system with FreeBSD 7.3 and a different aac-based controller where I've been using gjournal for 3 years. Every time the system boots, it prints this warning: GEOM_JOURNAL: BIO_FLUSH not supported by aacd1s2. I understand that lack of BIO_FLUSH support means that data cannot be safely flushed to disk and that might cause corruption in case of sudden power loss. Is that correct? Anyway, since this system has battery-backed write cache, I'm not too worried. But on the system where I'm about to install now, the controller doesn't have a battery for its cache. Hence my question - does the aac driver on FreeBSD 8.1 still not support BIO_FLUSH? If so, I should probably avoid using gmirror on this system? -- Toomas Aas From arundel at freebsd.org Tue Sep 14 19:57:35 2010 From: arundel at freebsd.org (Alexander Best) Date: Tue Sep 14 19:57:37 2010 Subject: apropos returning same item twice In-Reply-To: <201009141339.15349.FreeBSD@insightbb.com> References: <201009111442.49114.FreeBSD@insightbb.com> <20100914003726.GA5762@freebsd.org> <201009141339.15349.FreeBSD@insightbb.com> Message-ID: <20100914195735.GA75221@freebsd.org> On Tue Sep 14 10, Steven Friedrich wrote: > On Monday 13 September 2010 8:37:26 pm Alexander Best wrote: > > On Sat Sep 11 10, Steven Friedrich wrote: > > > Why does apropos list mysql(1) twice? > > > > > > It doesn't return duplicates with apropos kde... > > > > maybe you have a gzip'ed and plain version in /usr ? > > > > see PR #4419. > > > > cheers. > > alex > > > > > > find /usr -name mysql.1\* only returned one hit. > /usr/local/man/man1/mysql.1.gz hmmm...dunno then. might be a bug? maybe you could check out this thread [1]. man, apropos, manpath and whatis will soon be replaced by a BSD variant. if you want to try it out be sure to get the latest release (the .shar file). if you still experience the same problem with it you might want to write gordon about it. cheers. alex [1] http://www.mail-archive.com/freebsd-current@freebsd.org/msg124238.html > -- > System Name: laptop2.StevenFriedrich.org > Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory > OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) > manager(s): kde4-4.5.1 > X windows: xorg-7.5 X.Org X Server 1.7.5 -- a13x From rwmaillists at googlemail.com Tue Sep 14 20:24:52 2010 From: rwmaillists at googlemail.com (RW) Date: Tue Sep 14 20:24:56 2010 Subject: this is probably a little touchy to ask... In-Reply-To: References: Message-ID: <20100914212432.2a64d5b3@gumby.homeunix.com> On Tue, 14 Sep 2010 12:11:10 -0400 Jules Gilbert wrote: > A typical FBSD user wants to be able to do a ports-based install, or > perhaps a pkg_add and, presto, out of the box, have a browser. > > And, here it comes... Wait for it. > > Without too much trouble, have a running Java, connect to that browser > and working. And it doesn't matter if some of us like or don't like > Java. It's here and it's staying here. In ten years, and probably in > twenty years, it will still be an important part of a typical OS > environment. > > I understand that Sun declined to allow pre-built configurations to be > shipped. Okay. Personally, I haven't used java for a long time (or even noticed its absence - unlike flash), so I 'm a bit behind the times. What's the is the problem? If they are stopping pre-built packages then that presumably just means the end of the diablo ports. Before those port existed I don't recall the plug-in situation as being any worse than slightly irritating. Is there more to it than that? From merlyn at stonehenge.com Tue Sep 14 21:21:13 2010 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Tue Sep 14 21:21:17 2010 Subject: this is probably a little touchy to ask... In-Reply-To: (Jules Gilbert's message of "Tue, 14 Sep 2010 12:11:10 -0400") References: Message-ID: <86zkvk2f92.fsf@red.stonehenge.com> >>>>> "Jules" == Jules Gilbert writes: Jules> Now, if Oracle won't adjust their thinking, I intend to look at Java Jules> sub-systems that are supplied and built by other people than Oracle. Jules> (It's called Open Source.) And that's what I tried to say in my last few posts. Given Oracle's apparent stance to own Java not by copyright but by patent, it doesn't *matter* that Java is "open source". We'll have to wait until Oracle v. Google is decided, but unless Google can invalidate Oracle's *patents* on Java, Java is effectively dead, unless you want to sleep in Oracle's bed. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From sterling at camdensoftware.com Tue Sep 14 22:11:11 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Tue Sep 14 22:11:15 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <86zkvk2f92.fsf@red.stonehenge.com> References: <86zkvk2f92.fsf@red.stonehenge.com> Message-ID: <20100914221105.GA2760@libertas.local.camdensoftware.com> Quoth Randal L. Schwartz on Tuesday, 14 September 2010: > >>>>> "Jules" == Jules Gilbert writes: > > Jules> Now, if Oracle won't adjust their thinking, I intend to look at Java > Jules> sub-systems that are supplied and built by other people than Oracle. > Jules> (It's called Open Source.) > > And that's what I tried to say in my last few posts. Given Oracle's > apparent stance to own Java not by copyright but by patent, it doesn't > *matter* that Java is "open source". We'll have to wait until Oracle > v. Google is decided, but unless Google can invalidate Oracle's > *patents* on Java, Java is effectively dead, unless you want to sleep in > Oracle's bed. > ... and Oracle makes for a large bedfellow, with a reputation for a painful embrace. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100914/788ed7e6/attachment.pgp From dnewman at networktest.com Wed Sep 15 02:36:21 2010 From: dnewman at networktest.com (David Newman) Date: Wed Sep 15 02:36:25 2010 Subject: jumbo frame support in bge(4) for BCM5704 Message-ID: <4C902D28.2040206@networktest.com> 8.0-RELEASE amd64, Tyan S2882-D motherboard, Broadcom BCM5704C gigabit Ethernet transceivers Looking for clues on enabling jumbo support on BCM5704 chips. The bge(4) manpage claims this interface supports jumbo frames, as does Broadcom's data sheet. However, 'ifconfig bge0 mtu 9000' returns an error, as does 'ifconfig bge0 mtu 1500': ifconfig: ioctl (set mtu): Invalid argument Also, this thread claims the manpage anddata sheet are in error and that jumbos aren't supported: http://lists.freebsd.org/pipermail/freebsd-net/2006-June/010866.html The Linux tg3 driver for this chip does support jumbos up to 9000 bytes but that doesn't necessarily answer whether the hardware can get there. Thanks in advance for any clues on enabling jumbos on this system. dn From amvandemore at gmail.com Wed Sep 15 02:43:32 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Sep 15 02:43:36 2010 Subject: jumbo frame support in bge(4) for BCM5704 In-Reply-To: <4C902D28.2040206@networktest.com> References: <4C902D28.2040206@networktest.com> Message-ID: On Tue, Sep 14, 2010 at 9:19 PM, David Newman wrote: > 8.0-RELEASE amd64, Tyan S2882-D motherboard, Broadcom BCM5704C gigabit > Ethernet transceivers > > Thanks in advance for any clues on enabling jumbos on this system. > What happens if you boot from a linux live cd and try to enable frames there? -- Adam Vande More From yuri at rawbw.com Wed Sep 15 06:42:01 2010 From: yuri at rawbw.com (Yuri) Date: Wed Sep 15 06:42:33 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? Message-ID: <4C906AB2.3030004@rawbw.com> Almost every time after improper shutdown (poweroff) and reboot I get into interactive fsck. I am being asked whole bunch of questions to which I just have to answer Y (what are my other options?) Why drop user into interactive fsck if there is not much choice anyways? Is there a way to set it up the way it doesn't drop into interactive mode? Like answer 'Y' to all questions? Yuri From remko at elvandar.org Wed Sep 15 06:47:40 2010 From: remko at elvandar.org (Remko Lodder) Date: Wed Sep 15 06:47:43 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: <4C906AB2.3030004@rawbw.com> References: <4C906AB2.3030004@rawbw.com> Message-ID: >> Almost every time after improper shutdown (poweroff) and reboot I get >> into interactive fsck. >> >> I am being asked whole bunch of questions to which I just have to answer >> Y (what are my other options?) >> >> Why drop user into interactive fsck if there is not much choice anyways? >> Is there a way to set it up the way it doesn't drop into interactive >> mode? Like answer 'Y' to all questions? >> >> Yuri I think this might do your trick: fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails. fsck_y_flags="" # Additional flags for fsck -y The reason for this to get interactively is because this might messup with your filesystem, and you are the one responsible for your filesystem, not us or the autmated system. So in case you want to "play" with that, that's entirely up to you. In addition, I can imagine that companies (been there done it) do not want to fsck -y by default, this because of the mentioned potential corruption and dataloss. Thanks remko p.s. This was found within 5 seconds in /etc/defaults/rc.conf. -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From jrisom at gmail.com Wed Sep 15 06:53:02 2010 From: jrisom at gmail.com (Joshua Isom) Date: Wed Sep 15 06:53:06 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <86zkvk2f92.fsf@red.stonehenge.com> References: <86zkvk2f92.fsf@red.stonehenge.com> Message-ID: <4C906D49.5090500@gmail.com> On 9/14/2010 4:21 PM, Randal L. Schwartz wrote: >>>>>> "Jules" == Jules Gilbert writes: > > Jules> Now, if Oracle won't adjust their thinking, I intend to look at Java > Jules> sub-systems that are supplied and built by other people than Oracle. > Jules> (It's called Open Source.) > > And that's what I tried to say in my last few posts. Given Oracle's > apparent stance to own Java not by copyright but by patent, it doesn't > *matter* that Java is "open source". We'll have to wait until Oracle > v. Google is decided, but unless Google can invalidate Oracle's > *patents* on Java, Java is effectively dead, unless you want to sleep in > Oracle's bed. > Google sort of shot themselves in the foot since it's like java enough that everyone not a lawyer can call it java, except it needs recompiled, and that Google ignored the patent grant by Sun since they made it a subset. There's also the issue that Google's not paying licensing fees to say it's Java capable. Google was intentionally weaseling out of a potential problem. Sun being bought got Google in trouble. Sun's patent grant could have protected Google, but Google refused it. As to the original post, Java, a "portable" "write once run anywhere" language, doesn't work on FreeBSD, a "standard" type operating system that mainly runs on "standard" hardware, when used with Xorg, a widely used "standard," as a plug in for Firefox, a major and presumably the dominant *nix web browser. Maybe the question should go to Oracle about why it doesn't work. A java applet probably works on your Symbian smart phone running on ARM. From guru at unixarea.de Wed Sep 15 06:53:25 2010 From: guru at unixarea.de (Matthias Apitz) Date: Wed Sep 15 06:53:30 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: <4C906AB2.3030004@rawbw.com> References: <4C906AB2.3030004@rawbw.com> Message-ID: <20100915065329.GA2258@current.Sisis.de> El d?a Wednesday, September 15, 2010 a las 09:41:54AM +0300, Yuri escribi?: > Almost every time after improper shutdown (poweroff) and reboot I get > into interactive fsck. > > I am being asked whole bunch of questions to which I just have to answer > Y (what are my other options?) > > Why drop user into interactive fsck if there is not much choice anyways? > Is there a way to set it up the way it doesn't drop into interactive > mode? Like answer 'Y' to all questions? Yes, just do: $ echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc $ man rc.conf | col -b | fgrep fsck_ In general one should avoid unclean shutdowns. I even after such event go into single user mode and run fsck(8) by hand. HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From peter at boosten.org Wed Sep 15 06:59:12 2010 From: peter at boosten.org (Peter Boosten) Date: Wed Sep 15 06:59:16 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: <20100915065329.GA2258@current.Sisis.de> References: <4C906AB2.3030004@rawbw.com> <20100915065329.GA2258@current.Sisis.de> Message-ID: <4C906EBB.2090005@boosten.org> On 15-9-2010 8:53, Matthias Apitz wrote: > echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc LOL, only worked with quotes, btw ;-) Peter -- http://www.boosten.org From amvandemore at gmail.com Wed Sep 15 07:03:35 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Sep 15 07:03:38 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: <4C906EBB.2090005@boosten.org> References: <4C906AB2.3030004@rawbw.com> <20100915065329.GA2258@current.Sisis.de> <4C906EBB.2090005@boosten.org> Message-ID: On Wed, Sep 15, 2010 at 1:59 AM, Peter Boosten wrote: > On 15-9-2010 8:53, Matthias Apitz wrote: > > echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc > > LOL, only worked with quotes, btw ;-) > Depends on the shell, I guess he's a bash user. -- Adam Vande More From guru at unixarea.de Wed Sep 15 07:07:18 2010 From: guru at unixarea.de (Matthias Apitz) Date: Wed Sep 15 07:07:22 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: <4C906EBB.2090005@boosten.org> References: <4C906AB2.3030004@rawbw.com> <20100915065329.GA2258@current.Sisis.de> <4C906EBB.2090005@boosten.org> Message-ID: <20100915070722.GA2415@current.Sisis.de> El d?a Wednesday, September 15, 2010 a las 08:59:07AM +0200, Peter Boosten escribi?: > On 15-9-2010 8:53, Matthias Apitz wrote: > > echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc > > LOL, only worked with quotes, btw ;-) no, $ sh $ echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc RTFM $ bash guru@current:/usr/home/guru> echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc RTFM which shell you used? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From amvandemore at gmail.com Wed Sep 15 07:11:45 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Sep 15 07:11:48 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: <20100915070722.GA2415@current.Sisis.de> References: <4C906AB2.3030004@rawbw.com> <20100915065329.GA2258@current.Sisis.de> <4C906EBB.2090005@boosten.org> <20100915070722.GA2415@current.Sisis.de> Message-ID: On Wed, Sep 15, 2010 at 2:07 AM, Matthias Apitz wrote: > El d?a Wednesday, September 15, 2010 a las 08:59:07AM +0200, Peter Boosten > escribi?: > > > On 15-9-2010 8:53, Matthias Apitz wrote: > > > echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc > > > > LOL, only worked with quotes, btw ;-) > > no, > > $ sh > $ echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc > RTFM > $ bash > guru@current:/usr/home/guru> echo > 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc > RTFM > > which shell you used? > it doesn't work in zsh, csh, tcsh, I didn't try sh, it didn't even occur to me since I so rarely use it as an interactive shell. -- Adam Vande More From peter at boosten.org Wed Sep 15 07:15:21 2010 From: peter at boosten.org (Peter Boosten) Date: Wed Sep 15 07:15:24 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: <20100915070722.GA2415@current.Sisis.de> References: <4C906AB2.3030004@rawbw.com> <20100915065329.GA2258@current.Sisis.de> <4C906EBB.2090005@boosten.org> <20100915070722.GA2415@current.Sisis.de> Message-ID: <4C907284.9010009@boosten.org> On 15-9-2010 9:07, Matthias Apitz wrote: > $ sh > $ echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc > RTFM > $ bash > guru@current:/usr/home/guru> echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq | dc > RTFM > > which shell you used? zsh. Peter -- http://www.boosten.org From antoniok.spb at gmail.com Wed Sep 15 08:03:23 2010 From: antoniok.spb at gmail.com (Antonio Kless) Date: Wed Sep 15 08:03:27 2010 Subject: how to re-read /etc/newsyslog.conf ? Message-ID: I have changed my /etc/newsyslog.conf by adding some new lines. How to make FreeBSD re-read it? # /etc/rc.d/newsyslog status newsyslog is not running. Is it OK? -- Best regards, Antonio Kless, http://kless.spb.ru/ From mostafafaridi at gmail.com Wed Sep 15 08:18:19 2010 From: mostafafaridi at gmail.com (Gholam Mostafa Faridi) Date: Wed Sep 15 08:18:25 2010 Subject: virtaullBox AMD64 32bit lib Message-ID: <4C907918.7090609@gmail.com> I want install virtualBox on AMD 64 and I use FreeBSD 8.1 and I have SRC directory , but when I run make install clean I see this error " Requires 32-bit libraries installed under /usr/lib32. Do: cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32 " and I run this command "cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32" and after minutes I see this error "===> gnu/lib/csu (obj,depend,all,install) sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbegin.o /usr/obj/usr/src/lib32/usr/lib32/crtbegin.o sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtend.o /usr/obj/usr/src/lib32/usr/lib32/crtend.o sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbeginT.o /usr/obj/usr/src/lib32/usr/lib32/crtbeginT.o sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbegin.So /usr/obj/usr/src/lib32/usr/lib32/crtbeginS.o sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtend.So /usr/obj/usr/src/lib32/usr/lib32/crtendS.o ===> lib/csu/i386-elf (obj,depend,all,install) ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 -o gcrt1.o -r crt1_s.o gcrt1_c.o ld: Relocatable linking with relocations from format elf64-x86-64 (gcrt1_c.o) to format elf32-i386-freebsd (gcrt1.o) is not supported *** Error code 1 Stop in /usr/src/lib/csu/i386-elf. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ldconfig: warning: /usr/lib32: No such file or directory " I make post about this error in freebsdforums but they can not help me please see link http://forums.freebsd.org/showthread.php?t=17607 they said problem is ccache and I disable and remove ccache ,but still I have that probelm please help me From m.seaman at infracaninophile.co.uk Wed Sep 15 08:42:32 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Sep 15 08:43:05 2010 Subject: how to re-read /etc/newsyslog.conf ? In-Reply-To: References: Message-ID: <4C9086E4.9040707@infracaninophile.co.uk> On 15/09/2010 09:02, Antonio Kless wrote: > I have changed my /etc/newsyslog.conf by adding some new lines. How to make > FreeBSD re-read it? > > # /etc/rc.d/newsyslog status > newsyslog is not running. > > Is it OK? newsyslog is a cron job that gets run every hour. There's nothing to restart. Changes to newsyslog.conf will be picked up the next time it runs. 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/20100915/68b233e2/signature.pgp From antoniok.spb at gmail.com Wed Sep 15 09:11:27 2010 From: antoniok.spb at gmail.com (Antonio Kless) Date: Wed Sep 15 09:11:31 2010 Subject: how to re-read /etc/newsyslog.conf ? In-Reply-To: <4C9086E4.9040707@infracaninophile.co.uk> References: <4C9086E4.9040707@infracaninophile.co.uk> Message-ID: 2010/9/15 Matthew Seaman > On 15/09/2010 09:02, Antonio Kless wrote: > > I have changed my /etc/newsyslog.conf by adding some new lines. How to > make > > FreeBSD re-read it? > > > > # /etc/rc.d/newsyslog status > > newsyslog is not running. > > > > Is it OK? > > newsyslog is a cron job that gets run every hour. There's nothing to > restart. Changes to newsyslog.conf will be picked up the next time it > runs. > > 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 > > OK, now I see. Then for what /etc/rc.d/newsyslog are there? FreeBSD 7.2-RELEASE. -- Best regards, Antonio Kless, http://kless.spb.ru/ From freebsd at edvax.de Wed Sep 15 10:10:22 2010 From: freebsd at edvax.de (Polytropon) Date: Wed Sep 15 10:10:26 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: References: <4C906AB2.3030004@rawbw.com> Message-ID: <20100915121018.a3a1f275.freebsd@edvax.de> On Wed, 15 Sep 2010 08:47:38 +0200, "Remko Lodder" wrote: > > >> Almost every time after improper shutdown (poweroff) and reboot I get > >> into interactive fsck. > >> > >> I am being asked whole bunch of questions to which I just have to answer > >> Y (what are my other options?) > >> > >> Why drop user into interactive fsck if there is not much choice anyways? > >> Is there a way to set it up the way it doesn't drop into interactive > >> mode? Like answer 'Y' to all questions? > >> > >> Yuri > > I think this might do your trick: > > fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen > fails. > fsck_y_flags="" # Additional flags for fsck -y > > The reason for this to get interactively is because this might messup > with your filesystem, and you are the one responsible for your filesystem, > not us or the autmated system. So in case you want to "play" with that, > that's entirely up to you. > > In addition, I can imagine that companies (been there done it) do not want > to fsck -y by default, this because of the mentioned potential corruption > and dataloss. Very important point. As an addition, allow me to mention background_fsck="YES" as an entry in /etc/rc.conf. This will let the system boot up and perform fsck checks while the system is running - running on a maybe defective or inconsistent file system. This is dangerous, but possible. It utilizes a snapshot mechanism which can cause further trouble (lost / emptyinodes and disappearing subtrees of files). Personally, if fsck requires YOUR attention, there's usually a reason for this. The reason is possible data loss or file system corruption where YOU take the responsibility of decision, not fsck. By default, fsck does not do damaging, but under strange circumstances, it can happen. For example, if you want to do a special kind of data recovery or forensic analysis on a file system, you potentially DO NOT WANT fsck to assume "y" for all the questions because that can make your job harder. A common additional "y flag" is -f (means fsck -yf) to force all operations suggested by fsck and confirming them. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From m.seaman at infracaninophile.co.uk Wed Sep 15 10:21:53 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Sep 15 10:22:00 2010 Subject: how to re-read /etc/newsyslog.conf ? In-Reply-To: References: <4C9086E4.9040707@infracaninophile.co.uk> Message-ID: <4C909E34.5040809@infracaninophile.co.uk> On 15/09/2010 10:11, Antonio Kless wrote: > OK, now I see. > Then for what /etc/rc.d/newsyslog are there? > It's a shell script. If you read it, you'll find the comments will elucidate. 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/20100915/7fb4cb4c/signature.pgp From b.smeelen at ose.nl Wed Sep 15 10:37:31 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Wed Sep 15 10:37:37 2010 Subject: how to re-read /etc/newsyslog.conf ? In-Reply-To: References: <4C9086E4.9040707@infracaninophile.co.uk> Message-ID: <4C909F8E.60705@ose.nl> On 09/15/2010 11:11 AM, Antonio Kless wrote: > 2010/9/15 Matthew Seaman > > >> On 15/09/2010 09:02, Antonio Kless wrote: >> >>> I have changed my /etc/newsyslog.conf by adding some new lines. How to >>> >> make >> >>> FreeBSD re-read it? >>> >>> # /etc/rc.d/newsyslog status >>> newsyslog is not running. >>> >>> Is it OK? >>> >> newsyslog is a cron job that gets run every hour. There's nothing to >> restart. Changes to newsyslog.conf will be picked up the next time it >> runs. >> >> 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 >> >> >> > OK, now I see. > Then for what /etc/rc.d/newsyslog are there? > > FreeBSD 7.2-RELEASE. > > > Hi I guess this is for running newsyslog during boot to cleanup logfiles (enable in rc.conf) The same as ntpdate for instance DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From freebsd.user at seibercom.net Wed Sep 15 11:02:51 2010 From: freebsd.user at seibercom.net (Jerry) Date: Wed Sep 15 11:02:54 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <4C906D49.5090500@gmail.com> References: <86zkvk2f92.fsf@red.stonehenge.com> <4C906D49.5090500@gmail.com> Message-ID: <20100915070241.23391390@scorpio> On Wed, 15 Sep 2010 01:52:57 -0500 Joshua Isom articulated: > As to the original post, Java, a "portable" "write once run anywhere" > language, doesn't work on FreeBSD, a "standard" type operating system > that mainly runs on "standard" hardware, when used with Xorg, a > widely used "standard," as a plug in for Firefox, a major and > presumably the dominant *nix web browser. Maybe the question should > go to Oracle about why it doesn't work. A java applet probably works > on your Symbian smart phone running on ARM. Java is offered in many different versions that work on a multitude of operating systems. To expect or require, and I have no idea how you would enforce the requirement bit, Oracle or any other software vendor for that matter to design software that is fully functional on all operating systems is simply unrealistic and most likely unobtainable. There are numerous examples of software that work only on a limited number of *.nix flavors. To be made operational on other operating systems usually requires reworking the code and in many cases disabling many of the software's features. Even then there is no guarantee that it will work correctly, if at all. It took years, literally, before FreeBSD matured enough to get 64-bit drivers for nVidia working correctly on its platform. The failure to get the latest version(s) of Java working correctly on FreeBSD and thereby, at least in my case, make the latest version of Firefox fully usable, rests with the FreeBSD developers. I have not been able to ascertain exactly why Java cannot be made functional on a modern FreeBSD system. Other than receiving some useless suggestion about donating money to the Java foundation, or whatever it is called, nobody has responded with an answer. The bottom line is that Java appears to be functioning on other flavors of *.nix, but not FreeBSD. It would seem pretty obvious where the problem lies. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ What if God?s a woman? Not only am I going to hell, I?ll never know why. Adam Ferrara From jahan at bol-online.com Wed Sep 15 11:05:01 2010 From: jahan at bol-online.com (Aftab Jahan Subedar) Date: Wed Sep 15 11:05:05 2010 Subject: gcc44 failed while installing x11/kde4 Message-ID: I am not getting able to compile gcc44 while making kde4. Below is the copy n paste. Anyone found solution to that? # uname -a FreeBSD space.subedartech.net 8.1-STABLE FreeBSD 8.1-STABLE #8: Wed Sep 15 15:36:45 UTC 2010 root@space.subedartech.net:/usr/obj/usr/src/sys/GENERIC i386 #cd /usr/ports/lang/gcc44 #make install clean ......................... checking dynamic linker characteristics... freebsd8.1 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C preprocessor... cc -E checking build system type... i386-portbld-freebsd8.1 checking host system type... i386-portbld-freebsd8.1 checking target system type... checking for stdlib.h... (cached) i386-portbld-freebsd8.1 yes checking for unistd.h... (cached) checking LIBRARY_PATH variable... ok yes checking GCC_EXEC_PREFIX variable... ok checking whether to place generated files in the source directory... no configure: error: cannot execute: /usr/local/bin/ld: check --with-ld or env. var checking for getpagesize... gmake[2]: *** [configure-stage1-gcc] Error 1 gmake[2]: *** Waiting for unfinished jobs.... yes checking for working mmap... yes checking for memcpy... yes checking for strerror... yes checking for deflate in -lz... yes checking for unistd.h... (cached) yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: executing default-1 commands config.status: executing depfiles commands config.status: executing libtool commands gmake[2]: Leaving directory `/usr/ports/lang/gcc44/work/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc44/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1 Stop in /usr/ports/lang/gcc44. # - Jahan Subedar Technologies Inc Dhaka Bangladesh From yuri at rawbw.com Wed Sep 15 07:00:39 2010 From: yuri at rawbw.com (Yuri) Date: Wed Sep 15 11:18:32 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: References: <4C906AB2.3030004@rawbw.com> Message-ID: <4C906EF7.3090200@rawbw.com> On 09/15/10 09:47, Remko Lodder wrote: > I think this might do your trick: > > fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen > fails. > fsck_y_flags="" # Additional flags for fsck -y > > The reason for this to get interactively is because this might messup > with your filesystem, and you are the one responsible for your filesystem, > not us or the autmated system. So in case you want to "play" with that, > that's entirely up to you. > > In addition, I can imagine that companies (been there done it) do not want > to fsck -y by default, this because of the mentioned potential corruption > and dataloss. > > Thanks > remko > > p.s. This was found within 5 seconds in /etc/defaults/rc.conf. > > Thanks Remko! I never had spare 5 secs for this :-), and now when I left my computer to friends (not computer savvy) they got into this trap. There is no database... I think installer better asks this question during installation since many users just run a desktop and -y is pretty much ok for them. Thank you again, Yuri From laszlo_danielisz at yahoo.com Wed Sep 15 07:27:58 2010 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Wed Sep 15 11:18:49 2010 Subject: CPU temp munin plugin Message-ID: <985459.58603.qm@web30803.mail.mud.yahoo.com> Hi, What plugin do you use in munin to get values of your CPU? Thanks! Laszlo From talon at lpthe.jussieu.fr Wed Sep 15 13:35:22 2010 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Wed Sep 15 13:35:26 2010 Subject: this is probably a little touchy to ask... Message-ID: <20100915151732.GA46569@lpthe.jussieu.fr> Jerry said: " It took years, literally, before FreeBSD matured enough to get 64-bit drivers for nVidia working correctly on its platform. The failure to get the latest version(s) of Java working correctly on FreeBSD and thereby, at least in my case, make the latest version of Firefox fully usable, rests with the FreeBSD developers. " I would be happy to have a precise information on what is not working. On my machine, FreeBSD-8.1 x86, Java works. niobe% java -version java version "1.6.0_03-p4" Java(TM) SE Runtime Environment (build 1.6.0_03-p4-michel_30_jul_2010_15_01-b00) Java HotSpot(TM) Client VM (build 1.6.0_03-p4-michel_30_jul_2010_15_01-b00, mixed mode) As you can see, it is a recent java, and i have compiled it myself. If i remember well, the prebuilt diablo-jdk was not working. I have boostraped my compilation by using a prebuilt openjdk installed with pkg_add -r. Of course i modified the Makefile to be able to use it. The openjdk package did not include a mozilla plugin, but the above compilation produces a plugin. Now the real problem: firefox36 doesn't see the plugin, and even worse doesn't produce any message about the plugin when starting up. However i am able to use the plugin under seamonkey, so it is clearly a firefox problem, and not a Java problem or a FreeBSD problem. Strangely enough, Konqueror, which doesn't use the plugin, but a direct invocation of java, doesn't work either. Execution of an applet begins, something appears but the applet execution never appears on screen. This is the first time i see Java not working on Konqueror. Last point: some people say in this thread that nobody uses Java any more on the browser, hence it is of no importance that one cannot have a java enabled firefox. I have an example to the contrary, here in France you can submit your tax declaration online, and the application allowing to do that is a java applet running under the browser. Similarly i am using a printing service for my photographs which allows to download them and manage the order via a java applet. Hence, at least in my case i see immediately several important applications using a Java enabled browser. -- Michel TALON From j.mckeown at ru.ac.za Wed Sep 15 13:46:22 2010 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Wed Sep 15 13:46:25 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <20100915070241.23391390@scorpio> References: <4C906D49.5090500@gmail.com> <20100915070241.23391390@scorpio> Message-ID: <201009151546.16746.j.mckeown@ru.ac.za> On Wednesday 15 September 2010 13:02:41 Jerry wrote: > It took years, literally, before FreeBSD matured enough to get 64-bit > drivers for nVidia working correctly on its platform. The failure to > get the latest version(s) of Java working correctly on FreeBSD and > thereby, at least in my case, make the latest version of Firefox fully > usable, rests with the FreeBSD developers. > > I have not been able to ascertain exactly why Java cannot be made > functional on a modern FreeBSD system. Other than receiving some > useless suggestion about donating money to the Java foundation, or > whatever it is called, nobody has responded with an answer. > The bottom line is that Java appears to be functioning on other flavors > of *.nix, but not FreeBSD. It would seem pretty obvious where the > problem lies. Yes. It lies with Sun and Oracle, and the licensing terms that prevent the FreeBSD project from distributing modified Java packages. More generally, the problem lies with companies who won't support FreeBSD but also prevent the project from supporting their product itself. There are strong commercial interests in Linux - IBM, Red Hat, Oracle, to name three - which makes it worth spending some money supporting a product on Linux. (That goes for other products too: nvidia graphics card drivers, flash, wireless networking device drivers...) Even so there are products that have patchy support in Linux too. FreeBSD isn't as attractive a commercial target, since it has no financially powerful backers (that I'm aware of), a small market share, and not much public awareness. Some companies are prepared to sink resources into supporting it anyway, and others are prepared to release the information needed for the FreeBSD project to support their products for them. There are other companies, as I said, that won't do either. I don't think it's fair to blame the FreeBSD developers for that; nor indeed to expect the FreeBSD developers to be responsible for making Sun/Oracle's Java and the Mozilla Foundation's Firefox work. Jonathan From cbergstrom at pathscale.com Wed Sep 15 13:52:50 2010 From: cbergstrom at pathscale.com (=?UTF-8?B?IkMuIEJlcmdzdHLDtm0i?=) Date: Wed Sep 15 13:52:53 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <201009151546.16746.j.mckeown@ru.ac.za> References: <4C906D49.5090500@gmail.com> <20100915070241.23391390@scorpio> <201009151546.16746.j.mckeown@ru.ac.za> Message-ID: <4C90CFF9.20206@pathscale.com> Jonathan McKeown wrote: > > Yes. It lies with Sun and Oracle, and the licensing terms that prevent the > FreeBSD project from distributing modified Java packages. More generally, the > problem lies with companies who won't support FreeBSD but also prevent the > project from supporting their product itself. > I've been wanting to ignore this thread because I know the amount of work involved, but.... #1 Why doesn't someone sign-up and get the OpenJDK validation suite? #2 Why doesn't someone pull Icedtea6, build it and then run the OpenJDK validation suite? I don't know if waiting for others is going to get the desired results in this case.. After the project is rolling I'm happy to help make suggestions or give a hand with how to make Hotspot and the whole JDK a little better performance. Thanks ./C From mostafafaridi at gmail.com Wed Sep 15 14:03:51 2010 From: mostafafaridi at gmail.com (Gholam Mostafa Faridi) Date: Wed Sep 15 14:03:55 2010 Subject: virtaullBox AMD64 32bit lib In-Reply-To: References: <4C907918.7090609@gmail.com> Message-ID: <4C90D141.9060603@gmail.com> On 09/15/2010 13:00, Edho P Arief wrote: > sh install.sh I download all file and go to download directory and run that command , for first time I do not see error and do not see messages , but when I run that sh install.sh again I see this error "mfaridipc# sh install.sh ./usr/lib32/libc.so.7: Could not unlink ./usr/lib32/libcrypt.so.5: Could not unlink ./usr/lib32/librt.so.1: Could not unlink ./usr/lib32/libthr.so.3: Could not unlink ./libexec/ld-elf32.so.1: Could not unlink tar: Error exit delayed from previous errors." and problem do not solve From freebsd.user at seibercom.net Wed Sep 15 14:08:53 2010 From: freebsd.user at seibercom.net (Jerry) Date: Wed Sep 15 14:08:58 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <20100915151732.GA46569@lpthe.jussieu.fr> References: <20100915151732.GA46569@lpthe.jussieu.fr> Message-ID: <20100915100848.2446ab49@scorpio> On Wed, 15 Sep 2010 15:17:32 +0000 Michel Talon articulated: > > Jerry said: > " > It took years, literally, before FreeBSD matured enough to get 64-bit > drivers for nVidia working correctly on its platform. The failure to > get the latest version(s) of Java working correctly on FreeBSD and > thereby, at least in my case, make the latest version of Firefox fully > usable, rests with the FreeBSD developers. > " > > I would be happy to have a precise information on what is not working. > On my machine, FreeBSD-8.1 x86, Java works. > niobe% java -version > java version "1.6.0_03-p4" > Java(TM) SE Runtime Environment (build > 1.6.0_03-p4-michel_30_jul_2010_15_01-b00) > Java HotSpot(TM) Client VM (build > 1.6.0_03-p4-michel_30_jul_2010_15_01-b00, mixed mode) On my system, using the latest build available in the ports system: $ java -version java version "1.6.0_07" Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode) > As you can see, it is a recent java, and i have compiled it myself. > If i remember well, the prebuilt diablo-jdk was not working. I have > boostraped my compilation by using a prebuilt openjdk installed with > pkg_add -r. Of course i modified the Makefile to be able to use it. > > The openjdk package did not include a mozilla plugin, but the above > compilation produces a plugin. > > Now the real problem: firefox36 doesn't see the plugin, and even worse > doesn't produce any message about the plugin when starting up. > However i am able to use the plugin under seamonkey, so it is clearly > a firefox problem, and not a Java problem or a FreeBSD problem. > Strangely enough, Konqueror, which doesn't use the plugin, but a > direct invocation of java, doesn't work either. Execution of an > applet begins, something appears but the applet execution never > appears on screen. This is the first time i see Java not working on > Konqueror. I am using Firefox: $ firefox3 --version Mozilla Firefox 3.6.9, Copyright (c) 1998 - 2010 mozilla.org If I wanted to use a different browser, I would. Hell, I could just use Windows and not worry about Java incompatibilities entirely. As per the Mozilla site: "Starting in Firefox 3.6, you also need the new Java plugin included in Java 6 Update 15 and above." FreeBSD does not supply, nor support as far as I can decipher, that version or any of the newer versions, the latest being version 6, update 21. Nor, as I stated previously, has anyone stated definitively why. > Last point: some people say in this thread that nobody uses Java any > more on the browser, hence it is of no importance that one cannot > have a java enabled firefox. I have an example to the contrary, here > in France you can submit your tax declaration online, and the > application allowing to do that is a java applet running under the > browser. Similarly i am using a printing service for my photographs > which allows to download them and manage the order via a java applet. > Hence, at least in my case i see immediately several important > applications using a Java enabled browser. People bitch about not needing or requiring Java based virtually solely on the lack of support the FreeBSD community (developers) have afforded it. If, Java worked as well on FreeBSD as it does on Windows and many other operating systems, their scorn would turn to praise. It is just the nature of the beast. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From talon at lpthe.jussieu.fr Wed Sep 15 14:45:42 2010 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Wed Sep 15 14:45:48 2010 Subject: this is probably a little touchy to ask... Message-ID: <20100915164635.GA48986@lpthe.jussieu.fr> Jerry said: > "Starting in Firefox 3.6, you also need the new Java plugin included in > Java 6 Update 15 and above." OK, this explains why my plugin doesn't work. So the only solution is to use the port firefox35 hoping that other components (flash plugin support) also work in this case. > FreeBSD does not supply, nor support as far as I can decipher, that > version or any of the newer versions, the latest being version 6, update > 21. Nor, as I stated previously, has anyone stated definitively why. It takes a long time for FreeBSD to support a new version of the jdk, because this is an extremely voluminous and complicated software, and the number of developers working on Java support is very small. -- Michel TALON From center at tech-center.com Wed Sep 15 15:49:23 2010 From: center at tech-center.com (MobTech Sverige) Date: Wed Sep 15 15:49:26 2010 Subject: =?utf-8?q?Prova_sin_relation_med_v=C3=A5r_prisbel=C3=B6nt_k?= =?utf-8?q?=C3=A4rleksmete?= Message-ID: <20100915154923.04EFC106566C@hub.freebsd.org> Hur het ?r er relation? Kylig som ett isberg eller het som en vulkan? L?t oss hj?lpa dig. Vi ger dig svaret vilket kan f?r?ndra ditt liv! Skicka ett SMS med s?korden TXT LOVE NAMN+NAMN till nummer 72401 och ta reda p? hur kompatibelt du ?r! Exempel p? SMS: TXT LOVE ELIN+ANDERS Efter du har skickat SMSet b?rjar v?r system analysera olika aspekter av er relation och skickar svaret med passningsprocent och tre olika k?rvisare (k?rlek, hur rolig, st?dja varandra). Tj?nsten k?rs i all svenska mobiln?t. Kostnaden f?r ett SMS ?r 20 kronor. Om du inte vill f? mer information fr?n MobTech Sverige klicka h?r: mailto:removal@tech-center.com?subject=unsubscribe;freebsd-questions@freebsd.org --- You are receiving this mailing because you have subscribed your e-mail freebsd-questions@freebsd.org to receive newsletters of this context. If you feel that your e-mail is abused, please send a report to reporting@tech-center.com and insert freebsd-questions@freebsd.org in the subject line of your message. MobTech Group LLC. W1U3HB, London, United Kingdom. From ws at au.dyndns.ws Wed Sep 15 16:39:21 2010 From: ws at au.dyndns.ws (Wayne Sierke) Date: Wed Sep 15 16:39:24 2010 Subject: apropos returning same item twice In-Reply-To: <20100914003726.GA5762@freebsd.org> References: <201009111442.49114.FreeBSD@insightbb.com> <20100914003726.GA5762@freebsd.org> Message-ID: <1284568755.20540.634.camel@predator-ii.buffyverse> On Tue, 2010-09-14 at 00:37 +0000, Alexander Best wrote: > On Sat Sep 11 10, Steven Friedrich wrote: > > Why does apropos list mysql(1) twice? > > > > It doesn't return duplicates with apropos kde... > > maybe you have a gzip'ed and plain version in /usr ? > > see PR #4419. > > cheers. > alex Are you certain that /etc/manpath.config doesn't just still have /usr/X11R6/man configured (as well as /usr/local/man)? Admittedly the kde issue is a mystery, assuming its manpages are installed in /usr/local/man. This system has the following: OPTIONAL_MANPATH /usr/local/man # (disabled by xorg-libraries port) OPTIONAL_MANPATH /usr/X11R6/man MANPATH_MAP /usr/local/bin /usr/local/man # (disabled by xorg-libraries port) MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man Is the whatis file being updated? Check the timestamp: # ls -l /usr/local/man/whatis -rw-r--r-- 1 root wheel 273178 Sep 11 04:22 /usr/local/man/whatis Wayne > > admin@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql > > mysql(1) - the MySQL command-line tool > > mysql.server(1) - MySQL server startup script > > mysql_config(1) - get compile options for compiling clients > > mysql_install_db(1) - initialize MySQL data directory > > mysql_tzinfo_to_sql(1) - load the time zone tables > > mysql_upgrade(1) - check tables for MySQL upgrade > > mysql_waitpid(1) - kill process and wait for its termination > > mysqladmin(1) - client for administering a MySQL server > > mysqlbinlog(1) - utility for processing binary log files > > mysqlbug(1) - generate bug report > > mysqlcheck(1) - a table maintenance program > > mysqld_safe(1) - MySQL server startup script safe_mysqld - MySQL > > server startup script > > mysqldump(1) - a database backup program > > mysqlimport(1) - a data import program > > mysqlshow(1) - display database, table, and column information > > mysqltest(1) - program to run test cases mysqltest_embedded - > > program to run embedded test cases > > slapd-ndb(5) - MySQL NDB backend to slapd > > mysql(1) - the MySQL command-line tool > > mysql.server(1) - MySQL server startup script > > mysql_config(1) - get compile options for compiling clients > > mysql_install_db(1) - initialize MySQL data directory > > mysql_tzinfo_to_sql(1) - load the time zone tables > > mysql_upgrade(1) - check tables for MySQL upgrade > > mysql_waitpid(1) - kill process and wait for its termination > > mysqladmin(1) - client for administering a MySQL server > > mysqlbinlog(1) - utility for processing binary log files > > mysqlbug(1) - generate bug report > > mysqlcheck(1) - a table maintenance program > > mysqld_safe(1) - MySQL server startup script safe_mysqld - MySQL > > server startup script > > mysqldump(1) - a database backup program > > mysqlimport(1) - a data import program > > mysqlshow(1) - display database, table, and column information > > mysqltest(1) - program to run test cases mysqltest_embedded - > > program to run embedded test cases > > slapd-ndb(5) - MySQL NDB backend to slapd > > > > -- > > System Name: laptop2.StevenFriedrich.org > > Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory > > OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) > > manager(s): kde4-4.5.1 > > X windows: xorg-7.5 X.Org X Server 1.7.5 > From center at tech-center.com Wed Sep 15 16:42:25 2010 From: center at tech-center.com (MobTech Sverige) Date: Wed Sep 15 16:42:29 2010 Subject: =?utf-8?b?SHVyIGhldCDDpHIgZXIgcmVsYXRpb24/IDop?= Message-ID: <20100915164225.59C371065670@hub.freebsd.org> Hur het ?r er relation? Kylig som ett isberg eller het som en vulkan? L?t oss hj?lpa dig. Vi ger dig svaret vilket kan f?r?ndra ditt liv! Skicka ett SMS med s?korden TXT LOVE NAMN+NAMN till nummer 72401 och ta reda p? hur kompatibelt du ?r! Exempel p? SMS: TXT LOVE ELIN+SVEN Efter du har skickat SMSet b?rjar v?r system analysera olika aspekter av er relation och skickar svaret med passningsprocent och tre olika k?rvisare (k?rlek, hur rolig, st?dja varandra). Tj?nsten k?rs i all svenska mobiln?t. Kostnaden f?r ett SMS ?r 20 kronor. Om du inte vill f? mer information fr?n MobTech Sverige klicka h?r: mailto:removal@tech-center.com?subject=unsubscribe;questions@freebsd.org --- You are receiving this mailing because you have subscribed your e-mail questions@freebsd.org to receive newsletters of this context. If you feel that your e-mail is abused, please send a report to reporting@tech-center.com and insert questions@freebsd.org in the subject line of your message. MobTech Group LLC. W1U3HB, London, United Kingdom. From gull at gull.us Wed Sep 15 17:07:26 2010 From: gull at gull.us (David Brodbeck) Date: Wed Sep 15 17:07:29 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: <4C906EF7.3090200@rawbw.com> References: <4C906AB2.3030004@rawbw.com> <4C906EF7.3090200@rawbw.com> Message-ID: On Wed, Sep 15, 2010 at 12:00 AM, Yuri wrote: > Thanks Remko! > I never had spare 5 secs for this :-), and now when I left my computer to > friends (not computer savvy) they got into this trap. There is no > database... I think installer better asks this question during installation > since many users just run a desktop and -y is pretty much ok for them. Train your friends to shut the machine down by pressing (not holding down!) the power button. On any modern machine ACPI should trigger a clean shutdown/poweroff. From bdsfbsd at att.net Wed Sep 15 17:13:19 2010 From: bdsfbsd at att.net (bdsfbsd@att.net) Date: Wed Sep 15 17:28:12 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <20100915164635.GA48986@lpthe.jussieu.fr> References: <20100915164635.GA48986@lpthe.jussieu.fr> Message-ID: On Wed, 15 Sep 2010 12:46:35 -0400, Michel Talon wrote: > Jerry said: > >> "Starting in Firefox 3.6, you also need the new Java plugin included in >> Java 6 Update 15 and above." > > OK, this explains why my plugin doesn't work. So the only solution is to > use the port firefox35 hoping that other components (flash plugin > support) also work in this case. > This, by the way, is probably the correct and only answer the OP was looking for. I had Java working just fine in a previous install, but hadn't bothered with it lately so I didn't want to answer the OP and possibly misinform. The OP didn't mean to troll (thus the non-descriptive yet truthful subject line), but we got treated to a big pointless discussion of whether or not Java is useful/evil anyway, with the added joy for some of us of receiving many copies of the responses thanks to the cross-posting. Sometimes people just want the _technical_ answer, not the _political_ one, regardless of the strength of your convictions. Brian From wolfgang.riegler at gmx.de Wed Sep 15 19:23:07 2010 From: wolfgang.riegler at gmx.de (Wolfgang Riegler) Date: Wed Sep 15 19:23:11 2010 Subject: gateway_enable Message-ID: <201009152110.36850.wolfgang.riegler@gmx.de> Hi, I have a question about building a FreeBSD gateway. I want to create a subnet in our internal company network. I have installed FreeBSD 8.0 RELEASE i386, no updates, right from the FreeBSD CD. Now I want to configure this box as the gateway of the subnet. I have two NICs configured. One external for the company network and one for the new subnet. On this box I can reach any other computer in our internal network, I have internet access, too, and I can reach the box on the subnet. The box on the subnet is able to ping both NICs on my FreeBSD box, but cannot reach any other computer of my company network or the internet. Because I don't need any firewall on this subnet, I thought gateway_enable="YES" in /etc/rc.conf should be sufficient. But it doesn't work. Do I need something else? # cat /etc/rc.conf keymap="german.iso" moused_enable="YES" sshd_enable="YES" hostname="gw2" ifconfig_rl0="DHCP" ifconfig_re0="inet 192.168.50.1 netmask 255.255.255.0" gateway_enable="YES" # sysctl net.inet.ip.forwarding net.inet.ip.forwarding: 1 # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.40.1 UGS 0 0 rl0 127.0.0.1 link#6 UH 0 0 lo0 192.168.40.0/24 link#2 U 1 274 rl0 192.168.40.122 link#2 UHS 0 0 lo0 192.168.50.0/24 link#1 U 0 15 re0 192.168.50.1 link#1 UHS 0 0 lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%lo0/64 link#6 U lo0 fe80::1%lo0 link#6 UHS lo0 ff01:6::/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 From cswiger at mac.com Wed Sep 15 19:27:36 2010 From: cswiger at mac.com (Chuck Swiger) Date: Wed Sep 15 19:27:40 2010 Subject: gateway_enable In-Reply-To: <201009152110.36850.wolfgang.riegler@gmx.de> References: <201009152110.36850.wolfgang.riegler@gmx.de> Message-ID: On Sep 15, 2010, at 12:10 PM, Wolfgang Riegler wrote: > I want to create a subnet in our internal company network. I have installed FreeBSD 8.0 RELEASE i386, no updates, right from the FreeBSD CD. Now I want to configure this box as the gateway of the subnet. I have two NICs configured. One external for the company network and one for the new subnet. On this box I can reach any other computer in our internal network, I have internet access, too, and I can reach the box on the subnet. The box on the subnet is able to ping both NICs on my FreeBSD box, but cannot reach any other computer of my company network or the internet. Because I don't need any firewall on this subnet, I thought gateway_enable="YES" in /etc/rc.conf should be sufficient. But it doesn't work. Do I need something else? Yes. What you've done thus far should work fine if your internal subnet was using routable IPs; since you are using 192.168.x.y RFC-1918 unroutable IPs, you want to also setup NAT on your gateway box: http://www.freebsd.org/doc/handbook/network-natd.html Regards, -- -Chuck From beat.siegenthaler at beatsnet.com Wed Sep 15 19:30:12 2010 From: beat.siegenthaler at beatsnet.com (Beat Siegenthaler) Date: Wed Sep 15 19:30:15 2010 Subject: gateway_enable In-Reply-To: <201009152110.36850.wolfgang.riegler@gmx.de> References: <201009152110.36850.wolfgang.riegler@gmx.de> Message-ID: <4C911EC0.9000607@beatsnet.com> On 15.09.10 21:10, Wolfgang Riegler wrote: > > I thought gateway_enable="YES" in /etc/rc.conf should be sufficient. But it doesn't work. Do I need something else? > > > > Looks all ok. But does 192.168.40.1 have a route to 192.168.50.0/24 via GW 192.168.40.122? > > Internet: > > Destination Gateway Flags Refs Use Netif Expire > > default 192.168.40.1 UGS 0 0 rl0 > > 127.0.0.1 link#6 UH 0 0 lo0 > > 192.168.40.0/24 link#2 U 1 274 rl0 > > 192.168.40.122 link#2 UHS 0 0 lo0 > > 192.168.50.0/24 link#1 U 0 15 re0 > > 192.168.50.1 link#1 UHS 0 0 lo0 > > Gruss Beat From cyberleo at cyberleo.net Wed Sep 15 20:15:23 2010 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Wed Sep 15 20:15:27 2010 Subject: Discard file cache Message-ID: <4C912868.6090403@cyberleo.net> Hi! I'm helping port a utility [1] to program the EyeFi card [2] and I seem to be running into problems properly manipulating the configuration. The card is programmed by writing encoded commands to certain hidden files on the card, and reading the coded responses back from other files. Since the card modifies the data in these files independently of the host operating system, there is a need to avoid all caching (read and write) whenever interacting with the card's interface. fsync(2) works for eliminating write caching, so that's no issue. While the Linux port of the software successfully accomplishes avoiding read caching by utilizing posix_fadvise and POSIX_FADV_DONTNEED to clear the caches for a particular file, the same does not appear to function on FreeBSD. I have also tried using msync with MS_INVALIDATE, but this doesn't appear to work either. Is there an official (or at least consistent) API for discarding a file's cached read data, so that it may be fetched afresh from the backing store? Thanks! [1] http://git.cyberleo.net/eyefi-config.git [2] http://www.eye.fi/ -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From judmarc at fastmail.fm Wed Sep 15 20:26:24 2010 From: judmarc at fastmail.fm (Jud) Date: Wed Sep 15 20:26:27 2010 Subject: So I've Been Wondering... Message-ID: Thinking of installing FreeBSD with ZFS root on my MacBook Pro as dual boot, possibly treble with Win7. What's the best way to do this - Boot Camp, then follow FreeBSD Wiki? Thanks, Jud -- "I'd take the awe of understanding over the awe of ignorance any day." ? Douglas Adams From doug at safeport.com Wed Sep 15 21:12:00 2010 From: doug at safeport.com (doug@safeport.com) Date: Wed Sep 15 21:12:04 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: <20100915121018.a3a1f275.freebsd@edvax.de> References: <4C906AB2.3030004@rawbw.com> <20100915121018.a3a1f275.freebsd@edvax.de> Message-ID: On Wed, 15 Sep 2010, Polytropon wrote: > On Wed, 15 Sep 2010 08:47:38 +0200, "Remko Lodder" wrote: >> >>>> Almost every time after improper shutdown (poweroff) and reboot I get >>>> into interactive fsck. >>>> >>>> I am being asked whole bunch of questions to which I just have to answer >>>> Y (what are my other options?) >>>> >>>> Why drop user into interactive fsck if there is not much choice anyways? >>>> Is there a way to set it up the way it doesn't drop into interactive >>>> mode? Like answer 'Y' to all questions? >>>> >>>> Yuri >> >> I think this might do your trick: >> >> fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen >> fails. >> fsck_y_flags="" # Additional flags for fsck -y >> >> The reason for this to get interactively is because this might messup >> with your filesystem, and you are the one responsible for your filesystem, >> not us or the autmated system. So in case you want to "play" with that, >> that's entirely up to you. >> >> In addition, I can imagine that companies (been there done it) do not want >> to fsck -y by default, this because of the mentioned potential corruption >> and dataloss. > > Very important point. > > As an addition, allow me to mention > > background_fsck="YES" > > as an entry in /etc/rc.conf. This will let the system boot up and perform > fsck checks while the system is running - running on a maybe defective or > inconsistent file system. This is dangerous, but possible. It utilizes a > snapshot mechanism which can cause further trouble (lost / emptyinodes > and disappearing subtrees of files). > > Personally, if fsck requires YOUR attention, there's usually a reason for > this. The reason is possible data loss or file system corruption where YOU > take the responsibility of decision, not fsck. By default, fsck does not > do damaging, but under strange circumstances, it can happen. For example, > if you want to do a special kind of data recovery or forensic analysis on > a file system, you potentially DO NOT WANT fsck to assume "y" for all the > questions because that can make your job harder. > > A common additional "y flag" is -f (means fsck -yf) to force all operations > suggested by fsck and confirming them. > I have had two systems die with bad disks. This email contains great information and spot-on advice from my experience. When I was ready to give up on my last system I did a -yf in single user mode and was able to get most of my data because the bad sectors were in /usr/local which had many missing files and directories. Modern disks die silently which I think is too bad. If this is happening and you have data you want to recover you might try booting in single user move and using fsck manually on each slice. If you are lucky, your errors will be in /tmp or /var. From nathan at vidican.com Wed Sep 15 21:27:19 2010 From: nathan at vidican.com (Nathan Vidican) Date: Wed Sep 15 21:27:22 2010 Subject: gateway_enable In-Reply-To: <4C911EC0.9000607@beatsnet.com> References: <201009152110.36850.wolfgang.riegler@gmx.de> <4C911EC0.9000607@beatsnet.com> Message-ID: On Wed, Sep 15, 2010 at 3:30 PM, Beat Siegenthaler < beat.siegenthaler@beatsnet.com> wrote: > > > On 15.09.10 21:10, Wolfgang Riegler wrote: > > > > I thought gateway_enable="YES" in /etc/rc.conf should be sufficient. > But it doesn't work. Do I need something else? > > > > > > > Looks all ok. > But does 192.168.40.1 have a route to 192.168.50.0/24 via GW > 192.168.40.122? > > > > Internet: > > > Destination Gateway Flags Refs Use Netif > Expire > > > default 192.168.40.1 UGS 0 0 rl0 > > > 127.0.0.1 link#6 UH 0 0 lo0 > > > 192.168.40.0/24 link#2 U 1 274 rl0 > > > 192.168.40.122 link#2 UHS 0 0 lo0 > > > 192.168.50.0/24 link#1 U 0 15 re0 > > > 192.168.50.1 link#1 UHS 0 0 lo0 > > > > Gruss Beat > > _______________________________________________ > 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" > As Beat questioned, I suspect your company network (192.168.40.0/24) know that it must use your machine (192.168.50.122) as it's gateway to get to 192.168.50.0/24 ? In other words, it would appear you have one side of the equation correct but are missing the other side. Assuming the other gateway is the (single) default gateway for 192.168.40.0/24 - you should simply have to add a route on that router instructing it to use 192.168.40.122 (your ip) as the gateway to the other subnet you created as 192.168.50.0/24. NETWORK A -> use 192.168.50.1 as default gateway 192.168.50.1 == router == 192.168.40.122 NETWORK B -> use 192.168.40.1 as default gateway 192.168.40.1 == router -> add entry on this router to use 192.168.40.122 to get to 192.168.50.1 Unfortunately, without seeing the route table for both sides I can't be sure - but like I'd said and Beat had eluded to, I think your missing the instructions to the other side of the route. -- Nathan Vidican nathan@vidican.com From dnewman at networktest.com Wed Sep 15 22:17:18 2010 From: dnewman at networktest.com (David Newman) Date: Wed Sep 15 22:17:22 2010 Subject: jumbo frame support in bge(4) for BCM5704 In-Reply-To: References: <4C902D28.2040206@networktest.com> Message-ID: <4C9145EB.90900@networktest.com> On 9/14/10 7:43 PM, Adam Vande More wrote: > On Tue, Sep 14, 2010 at 9:19 PM, David Newman wrote: > >> 8.0-RELEASE amd64, Tyan S2882-D motherboard, Broadcom BCM5704C gigabit >> Ethernet transceivers >> >> Thanks in advance for any clues on enabling jumbos on this system. >> > > What happens if you boot from a linux live cd and try to enable frames > there? With Ubuntu 10.04, the system accepts "ifconfig eth1 mtu N" for any value of N up to 9000, and shows an MTU of N in response to 'ifconfig'. With 8.1-RELEASE (not 8.0 as stated before, sorry), the command 'ifconfig bge0 mtu 8000' produces an error: ifconfig: ioctl (set mtu): Invalid argument Same thing with 'mtu 1500', 'mtu 1400', etc. dn From FreeBSD at insightbb.com Wed Sep 15 22:27:22 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Wed Sep 15 22:27:26 2010 Subject: apropos returning same item twice In-Reply-To: <1284568755.20540.634.camel@predator-ii.buffyverse> References: <201009111442.49114.FreeBSD@insightbb.com> <20100914003726.GA5762@freebsd.org> <1284568755.20540.634.camel@predator-ii.buffyverse> Message-ID: <201009151827.04122.FreeBSD@insightbb.com> On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote: > On Tue, 2010-09-14 at 00:37 +0000, Alexander Best wrote: > > On Sat Sep 11 10, Steven Friedrich wrote: > > > Why does apropos list mysql(1) twice? > > > > > > It doesn't return duplicates with apropos kde... > > > > maybe you have a gzip'ed and plain version in /usr ? > > > > see PR #4419. > > > > cheers. > > alex > > Are you certain that /etc/manpath.config doesn't just still > have /usr/X11R6/man configured (as well as /usr/local/man)? Admittedly > the kde issue is a mystery, assuming its manpages are installed > in /usr/local/man. This system has the following: > > OPTIONAL_MANPATH /usr/local/man > # (disabled by xorg-libraries port) OPTIONAL_MANPATH /usr/X11R6/man > > MANPATH_MAP /usr/local/bin /usr/local/man > # (disabled by xorg-libraries port) > MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man > > > Is the whatis file being updated? Check the timestamp: > > # ls -l /usr/local/man/whatis > -rw-r--r-- 1 root wheel 273178 Sep 11 04:22 /usr/local/man/whatis > > > Wayne > > > > admin@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql > _______________________________________________ > 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 still have X11R6 in usr symlinked to /usr/local. This was done per entry 20070519 in /usr/ports/UPDATING. Do we still need this symlink? -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From rbyrnes at gmail.com Wed Sep 15 22:35:14 2010 From: rbyrnes at gmail.com (Rob Byrnes) Date: Wed Sep 15 22:35:19 2010 Subject: CPU temp munin plugin In-Reply-To: <985459.58603.qm@web30803.mail.mud.yahoo.com> References: <985459.58603.qm@web30803.mail.mud.yahoo.com> Message-ID: 2010/9/15 D?nielisz L?szl? : > Hi, > > What plugin do you use in munin to get values of your CPU? There are several, and some have dependencies on other software - what cpu are you using? Rob From rbyrnes at gmail.com Wed Sep 15 23:15:56 2010 From: rbyrnes at gmail.com (Rob Byrnes) Date: Wed Sep 15 23:16:00 2010 Subject: virtaullBox AMD64 32bit lib In-Reply-To: <4C907918.7090609@gmail.com> References: <4C907918.7090609@gmail.com> Message-ID: On 15 September 2010 17:43, Gholam Mostafa Faridi wrote: > I want install virtualBox on AMD 64 and I use FreeBSD 8.1 and I have SRC > directory , but when I run make install clean I see this error > " Requires 32-bit libraries installed under /usr/lib32. > Do: cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32 " > and I run this command > "cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32" > ?and after minutes I see this error > > "===> gnu/lib/csu (obj,depend,all,install) > sh /usr/src/tools/install.sh -o root -g wheel -m 444 ?crtbegin.o > /usr/obj/usr/src/lib32/usr/lib32/crtbegin.o > sh /usr/src/tools/install.sh -o root -g wheel -m 444 ?crtend.o > /usr/obj/usr/src/lib32/usr/lib32/crtend.o > sh /usr/src/tools/install.sh -o root -g wheel -m 444 ?crtbeginT.o > /usr/obj/usr/src/lib32/usr/lib32/crtbeginT.o > sh /usr/src/tools/install.sh -o root -g wheel -m 444 ?crtbegin.So > /usr/obj/usr/src/lib32/usr/lib32/crtbeginS.o > sh /usr/src/tools/install.sh -o root -g wheel -m 444 ?crtend.So > /usr/obj/usr/src/lib32/usr/lib32/crtendS.o > ===> lib/csu/i386-elf (obj,depend,all,install) > ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 ?-o gcrt1.o -r > crt1_s.o gcrt1_c.o > ld: Relocatable linking with relocations from format elf64-x86-64 > (gcrt1_c.o) to format elf32-i386-freebsd (gcrt1.o) is not supported > *** Error code 1 > > Stop in /usr/src/lib/csu/i386-elf. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > ldconfig: warning: /usr/lib32: No such file or directory " > > I make post about this error in ?freebsdforums but they can not help me > please see link > > http://forums.freebsd.org/showthread.php?t=17607 > > they said problem is ccache and I disable and remove ccache ?,but still I > have that probelm > please help me I had a similar problem, and removing the contents of /usr/obj and then rebuilding world (cvsup'ed as of 15/09) with make -DNO_CCACHE seemed to work. This was on a real AMD64 machine too. Rob From demelier.david at gmail.com Thu Sep 16 05:13:49 2010 From: demelier.david at gmail.com (David DEMELIER) Date: Thu Sep 16 05:13:56 2010 Subject: make buildkernel pre-build too long Message-ID: Hi there, I can't understand why this part of make buildkernel is so long on my amd64 machine (8.1-R) make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector This command takes around 5-6 minutes before continuing, on my i386 machine (which is really old) it only takes about 20 seconds. The kernel configs are almost the same for both machines. Do you have any idea? Kind regards, -- Demelier David From indexer at internode.on.net Thu Sep 16 07:12:10 2010 From: indexer at internode.on.net (Indexer) Date: Thu Sep 16 07:12:15 2010 Subject: So I've Been Wondering... In-Reply-To: References: Message-ID: <9F9B3D46-8B7E-4C38-9459-59909F0D2672@internode.on.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What model of MBP do you have? If it is a dual GFX card model, your in for a world of pain. On 16/09/2010, at 5:37 AM, Jud wrote: > Thinking of installing FreeBSD with ZFS root on my MacBook Pro as dual boot, possibly treble with Win7. What's the best way to do this - Boot Camp, then follow FreeBSD Wiki? > > Thanks, > > Jud > > -- > "I'd take the awe of understanding over the awe of ignorance any day." ? Douglas Adams > _______________________________________________ > 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" William Brown pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQIcBAEBAgAGBQJMkbpIAAoJEHF16AnLoz6Ja20P/RBoHgNeHBLaCPCz1x70i7zr lc58inPScJHTc+RDfL+Ey7ANyJFVRn+3u8kVXq28auSajUGiGyrdK0AgCWFkGwDF mSCQwfcqdL3Z5mgHWYSG2MUQYczMnRH72gAMJhTnTTvcaGUBndUOXq+B9ELBOcpN MueoqMg6kmEwieo5ueQTGEwE34Ffg/cRSDo0tfKXtlA2drfL/PDjwNDAbZxOtNHi ozcsEjXWhwhs73HTCi5GbDYfc5JOzlelOuuhKvuUZPmpDVTRyyjCey02h1ke3uDP UfxMTUHDk36BXuOX86KEhSGVYJ6sYanAk2T7nSlM31fFO8Y3HDx5AT5zEKgdegrE KefsNVwxITQ3OkDK+92BTbYvsrwNsCGXaqOLX495AFu6fVCL5O3r5IzVS9N7GIgr mFTFzbbpN4ykoUOft03dvT4r1azoOfeeBHfSLfbwlsjqRhw5OPqQAo8xxrSOZWlh GcFJFhYeuriluv+rOacGIFhGksZKRMsG4lfTpn+iWcHU46dpImVoHCG0/i+LlXoA 7sffuEXKXBKwZ6RXexsZ/6Z4ieqV2CzB15Haa4OEKqJm2z636cmO8VMn07EXSsYK JuxvYneEHqaTdXw4eKS5q9K23Y14l0s6pAXqe1ePoYxnB44qT1tCrRkrO8zS1LQG XGRdjQm0RMsAE+l4kiVA =O5Dc -----END PGP SIGNATURE----- From modulok at gmail.com Thu Sep 16 07:49:19 2010 From: modulok at gmail.com (Modulok) Date: Thu Sep 16 07:49:40 2010 Subject: (no subject) Message-ID: List, I have an old box I want to turn into a file server backup machine. Unfortunately, the mainboard has only PATA headers. I do have three PCI slots though, so I was looking at a PCI SATA controller card that will get along with FreeBSD without a fuss. Nothing fancy, just something inexpensive that I can plug a few SATA drives into. Then I'll create a graid3 with them, or mess around with ZFS. Anyone using something worth a recommendation? Thanks! -Modulok- From ws at au.dyndns.ws Thu Sep 16 08:12:49 2010 From: ws at au.dyndns.ws (Wayne Sierke) Date: Thu Sep 16 08:12:53 2010 Subject: apropos returning same item twice In-Reply-To: <201009151827.04122.FreeBSD@insightbb.com> References: <201009111442.49114.FreeBSD@insightbb.com> <20100914003726.GA5762@freebsd.org> <1284568755.20540.634.camel@predator-ii.buffyverse> <201009151827.04122.FreeBSD@insightbb.com> Message-ID: <1284624764.20540.650.camel@predator-ii.buffyverse> On Wed, 2010-09-15 at 18:27 -0400, Steven Friedrich wrote: > On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote: > > On Tue, 2010-09-14 at 00:37 +0000, Alexander Best wrote: > > > On Sat Sep 11 10, Steven Friedrich wrote: > > > > Why does apropos list mysql(1) twice? > > > > > > > > It doesn't return duplicates with apropos kde... > > > > > > maybe you have a gzip'ed and plain version in /usr ? > > > > > > see PR #4419. > > > > > > cheers. > > > alex > > > > Are you certain that /etc/manpath.config doesn't just still > > have /usr/X11R6/man configured (as well as /usr/local/man)? Admittedly > > the kde issue is a mystery, assuming its manpages are installed > > in /usr/local/man. This system has the following: > > > > OPTIONAL_MANPATH /usr/local/man > > # (disabled by xorg-libraries port) OPTIONAL_MANPATH /usr/X11R6/man > > > > MANPATH_MAP /usr/local/bin /usr/local/man > > # (disabled by xorg-libraries port) > > MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man > > > > > > Is the whatis file being updated? Check the timestamp: > > > > # ls -l /usr/local/man/whatis > > -rw-r--r-- 1 root wheel 273178 Sep 11 04:22 /usr/local/man/whatis > > > > > > Wayne > > > > > > admin@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql > > > _______________________________________________ > > 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 still have X11R6 in usr symlinked to /usr/local. This was done per entry > 20070519 in /usr/ports/UPDATING. > > Do we still need this symlink? Yes, anything that references /usr/X11R6 gets directed to /usr/local. Did you check /etc/manpath.config and the timestamp on /usr/local/man/whatis? Another check is that the output of manpath(1) doesn't include /usr/X11R6/man. Wayne From claudiu.vasadi at gmail.com Thu Sep 16 08:35:17 2010 From: claudiu.vasadi at gmail.com (claudiu vasadi) Date: Thu Sep 16 08:35:22 2010 Subject: (no subject) In-Reply-To: References: Message-ID: I have SiI 3512 SATA150 controller and it works ok From bruce at cran.org.uk Thu Sep 16 08:46:16 2010 From: bruce at cran.org.uk (Bruce Cran) Date: Thu Sep 16 08:46:50 2010 Subject: (no subject) In-Reply-To: References: Message-ID: <20100916090505.00005180@unknown> On Thu, 16 Sep 2010 01:18:07 -0600 Modulok wrote: > I have an old box I want to turn into a file server backup machine. > Unfortunately, the mainboard has only PATA headers. I do have three > PCI slots though, so I was looking at a PCI SATA controller card that > will get along with FreeBSD without a fuss. Nothing fancy, just > something inexpensive that I can plug a few SATA drives into. Then > I'll create a graid3 with them, or mess around with ZFS. Anyone using > something worth a recommendation? The only recommendation I have is not to get a Silicon Image (Sil) based card - they're cheap but don't work well. -- Bruce From claudiu.vasadi at gmail.com Thu Sep 16 08:57:09 2010 From: claudiu.vasadi at gmail.com (claudiu vasadi) Date: Thu Sep 16 08:57:13 2010 Subject: (no subject) In-Reply-To: <20100916090505.00005180@unknown> References: <20100916090505.00005180@unknown> Message-ID: Bruce, Can you elaborate on that pls ? From bruce at cran.org.uk Thu Sep 16 10:01:51 2010 From: bruce at cran.org.uk (Bruce Cran) Date: Thu Sep 16 10:01:55 2010 Subject: (no subject) In-Reply-To: References: <20100916090505.00005180@unknown> Message-ID: <20100916110130.000021e1@unknown> On Thu, 16 Sep 2010 10:57:07 +0200 claudiu vasadi wrote: > Can you elaborate on that pls ? Silicon Image controllers have a bad reputation - see http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2004-03/0955.html and http://osdir.com/ml/os.freebsd.devel.hardware/2005-10/msg00048.html for example. -- Bruce Cran From claudiu.vasadi at gmail.com Thu Sep 16 10:23:38 2010 From: claudiu.vasadi at gmail.com (claudiu vasadi) Date: Thu Sep 16 10:23:41 2010 Subject: (no subject) In-Reply-To: <20100916110130.000021e1@unknown> References: <20100916090505.00005180@unknown> <20100916110130.000021e1@unknown> Message-ID: perhaps, but I reached speeds of up to 51MB constant write with it. what s-ata1 controller would you recommend in this case ? From bruce at cran.org.uk Thu Sep 16 10:36:28 2010 From: bruce at cran.org.uk (Bruce Cran) Date: Thu Sep 16 10:36:32 2010 Subject: (no subject) In-Reply-To: References: <20100916090505.00005180@unknown> <20100916110130.000021e1@unknown> Message-ID: <20100916113607.00002212@unknown> On Thu, 16 Sep 2010 12:23:36 +0200 claudiu vasadi wrote: > what s-ata1 controller would you recommend in this case ? I don't know, I've just heard that the Sil adapters have a bad reputation, including for data corruption. Things may have improved in the 5 years since though. -- Bruce Cran From srividya.k at tcs.com Thu Sep 16 06:03:14 2010 From: srividya.k at tcs.com (srividya.k@tcs.com) Date: Thu Sep 16 11:08:33 2010 Subject: Support for AIX Message-ID: Hi Is BSD compatible with AIX unix system?( AIX version 6). We require the make utility of BSD to compile few source programs? Is there any make utility compatible with AIX? Could you please give us the URL where we can get the same? Srividya K Tata Consultancy Services Mailto: srividya.k@tcs.com Website: http://www.tcs.com =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you From srividya.k at tcs.com Thu Sep 16 06:59:03 2010 From: srividya.k at tcs.com (srividya.k@tcs.com) Date: Thu Sep 16 11:14:30 2010 Subject: Need bsd make for AIX Message-ID: Hi Is there any BSD make versions available for AIX platform? We require the make utility of BSD to compile few source programs. Is there any make utility compatible with AIX? Could you please give us the URL where we can get the same? Srividya K Tata Consultancy Services Mailto: srividya.k@tcs.com Website: http://www.tcs.com Srividya K Tata Consultancy Services Mailto: srividya.k@tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you From laszlo_danielisz at yahoo.com Thu Sep 16 09:55:53 2010 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Thu Sep 16 11:14:51 2010 Subject: CPU temp munin plugin In-Reply-To: References: <985459.58603.qm@web30803.mail.mud.yahoo.com> Message-ID: <898036.79182.qm@web30807.mail.mud.yahoo.com> Actually I found that mbmon is quite great app. It just needed some cofigurations and now is working. Laci ________________________________ From: Rob Byrnes To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Thu, September 16, 2010 12:34:52 AM Subject: Re: CPU temp munin plugin 2010/9/15 D?nielisz L?szl? : > Hi, > > What plugin do you use in munin to get values of your CPU? There are several, and some have dependencies on other software - what cpu are you using? Rob From srividya.k at tcs.com Thu Sep 16 11:40:31 2010 From: srividya.k at tcs.com (srividya.k@tcs.com) Date: Thu Sep 16 11:40:37 2010 Subject: Need bsd make for AIX In-Reply-To: References: Message-ID: We have some open source code for RPC calls - DCE that has c programs and corresponding makefiles. When we tried gmake or make ( AIX make) , we were getting syntax errors. We found that all the makefiles had syntax that corresponds to makeutility of BSD? Do you have any alternative? Is there any BSD make utility that can be installed in AIX machine? Srividya K Tata Consultancy Services Mailto: srividya.k@tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ From: Masoom Shaikh To: srividya.k@tcs.com Cc: freebsd-questions@freebsd.org Date: 09/16/2010 05:04 PM Subject: Re: Need bsd make for AIX On Thu, Sep 16, 2010 at 8:58 AM, wrote: > Hi > Is there any BSD make versions available for AIX platform? > We require the make utility of BSD to compile few source programs. > > Is there any make utility compatible with AIX? Could you please give us > the URL where we can get the same? > > > > Srividya K > Tata Consultancy Services > Mailto: srividya.k@tcs.com > Website: http://www.tcs.com > > Srividya K > Tata Consultancy Services > Mailto: srividya.k@tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Outsourcing > ____________________________________________ > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. 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" > u can always GNU make http://www.gnu.org/software/make/ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you From freebsd at edvax.de Thu Sep 16 11:56:01 2010 From: freebsd at edvax.de (Polytropon) Date: Thu Sep 16 11:56:07 2010 Subject: How to prevent system to launch interactive fsck after improper shutdown and reboot? In-Reply-To: References: <4C906AB2.3030004@rawbw.com> <20100915121018.a3a1f275.freebsd@edvax.de> Message-ID: <20100916135557.e5cb35b7.freebsd@edvax.de> On Wed, 15 Sep 2010 17:11:30 -0400 (EDT), doug@safeport.com wrote: > I have had two systems die with bad disks. Personally, I never had trouble with bad disks, but with defective file systems (origin unknown), and follow-up trouble caused by background fsck that prevented me many years from accessing my data. Going the "old fashioned" way brought everything back. Long story short: A present .snapshot from the 1st background fsck (which was introduced as default in 5.0, as far as I remember) caused fsck from working as expected; after removing this file, I got all the missing data back. Luckily, the problem didn't seem to be related to actual disk failure, as SMART data didn't give a hint about that. I did work with a 1:1 dd copy anyway. > Modern disks die silently which I think is too bad. You usally see messages in dmesg / console that indicate disk trouble. In mos cases, those messages say that the disk is already dying - it's too late for "repair". So time for backup and replacement. Seems that this is the result of continuing bigger and cheaper disks... > If this is > happening and you have data you want to recover you > might try booting in single user move and using fsck > manually on each slice. The fsck program operates on partitions, not on slices. Terminology, dear Watson. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From masoom.shaikh at gmail.com Thu Sep 16 12:05:10 2010 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Thu Sep 16 12:05:16 2010 Subject: Need bsd make for AIX In-Reply-To: References: Message-ID: On Thu, Sep 16, 2010 at 8:58 AM, wrote: > Hi > ? ?Is there any BSD make versions available for AIX platform? > We require the make utility of BSD to compile few source programs. > > Is there any make utility compatible with AIX? ?Could you please give us > the URL where we can get the same? > > > > Srividya K > Tata Consultancy Services > Mailto: srividya.k@tcs.com > Website: http://www.tcs.com > > Srividya K > Tata Consultancy Services > Mailto: srividya.k@tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. ? IT Services > ? ? ? ? ? ? ? ? ? ? ? ?Business Solutions > ? ? ? ? ? ? ? ? ? ? ? ?Outsourcing > ____________________________________________ > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. 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" > u can always GNU make http://www.gnu.org/software/make/ From jamesbrandongooch at gmail.com Thu Sep 16 12:42:05 2010 From: jamesbrandongooch at gmail.com (Brandon Gooch) Date: Thu Sep 16 12:42:11 2010 Subject: (no subject) In-Reply-To: <20100916113607.00002212@unknown> References: <20100916090505.00005180@unknown> <20100916110130.000021e1@unknown> <20100916113607.00002212@unknown> Message-ID: On Thu, Sep 16, 2010 at 5:36 AM, Bruce Cran wrote: > On Thu, 16 Sep 2010 12:23:36 +0200 > claudiu vasadi wrote: > >> what s-ata1 controller would you recommend in this case ? > > I don't know, I've just heard that the Sil adapters have a bad > reputation, including for data corruption. Things may have improved in > the 5 years since though. I can chime in here -- I've gone through two SiI 3114s (Rosewill RC-209s). Fortunately for me, the system wasn't critical and the cards failed at reboots -- and I had spares :) The upside is, if you're using ZFS, data corruption may not be an issue. Also, did we mention that the cards are CHEAP? Like, bottled water cheap. On the other hand, I've read of "higher end" Rosewill (presumably also SiI) cards performing admirably, and for extended periods. Luck of the draw, I suppose... 2 cents, Brandon From ait at p2ee.org Thu Sep 16 12:55:59 2010 From: ait at p2ee.org (Alejandro Imass) Date: Thu Sep 16 12:56:07 2010 Subject: Support for AIX In-Reply-To: References: Message-ID: On Thu, Sep 16, 2010 at 1:53 AM, wrote: > Hi > ? ? Is BSD compatible with AIX unix system?( AIX version 6). > We require the make utility of BSD to compile few source programs? > First. This list is for support of ___FreeBSD___, the operating system, although many people that _use_ FBSD actually come to this list for help on all sorts of things, but I doubt many would be eager to support a component of BSD to help with a problem in AIX. I suspect lot of them in fact, would probably feel contempt or a deep repugnance towards any sort of proprietary operating system. Second. The subject of your mail and the questions themselves are not very helpful. Perhaps if they were more technical or specific, there might be a ___BSD Make___ expert who would have some compassion to help with a problem on AIX. Of course, the subject and questions would have to be asked in a smart way. This might help: http://www.catb.org/esr/faqs/smart-questions.html Thirdly. Besides structural, technical, philosophical and political reasons[1], many of which you will realize after reading the document above, you will find that is expected that you do your homework first, (i.e STFW and RTMF first, __before___ you post a question in an open source list). Just by typing "bsd make" in Google, I found this link, that will probably help you quite a bit with your problem: http://lists.freebsd.org/pipermail/freebsd-questions/2007-April/147533.html > Is there any make utility compatible with AIX? ?Could you please give us > the URL where we can get the same? > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nutshell.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-hardware.html Cheers, Alejandro Imass > > > Srividya K > Tata Consultancy Services > Mailto: srividya.k@tcs.com > Website: http://www.tcs.com > =====-----=====-----===== From pieter at degoeje.nl Thu Sep 16 13:37:46 2010 From: pieter at degoeje.nl (Pieter de Goeje) Date: Thu Sep 16 13:37:49 2010 Subject: virtaullBox AMD64 32bit lib In-Reply-To: <4C90D141.9060603@gmail.com> References: <4C907918.7090609@gmail.com> <4C90D141.9060603@gmail.com> Message-ID: <201009161527.50430.pieter@degoeje.nl> On Wednesday 15 September 2010 15:59:29 Gholam Mostafa Faridi wrote: > On 09/15/2010 13:00, Edho P Arief wrote: > > sh install.sh > > I download all file and go to download directory and run that command , > for first time I do not see error and do not see messages , but when I > run that sh install.sh again I see this error > > "mfaridipc# sh install.sh > > ./usr/lib32/libc.so.7: Could not unlink > ./usr/lib32/libcrypt.so.5: Could not unlink > ./usr/lib32/librt.so.1: Could not unlink > ./usr/lib32/libthr.so.3: Could not unlink > ./libexec/ld-elf32.so.1: Could not unlink > tar: Error exit delayed from previous errors." > > and problem do not solve These files have the schg flag set (see chflags(1)). This means the files are immutable. Try removing the schg flag first: # chflags noschg /usr/lib32/libc.so.7 - Pieter From mostafafaridi at gmail.com Thu Sep 16 14:02:51 2010 From: mostafafaridi at gmail.com (Gholam Mostafa Faridi) Date: Thu Sep 16 14:03:03 2010 Subject: virtaullBox AMD64 32bit lib In-Reply-To: <201009161527.50430.pieter@degoeje.nl> References: <4C907918.7090609@gmail.com> <4C90D141.9060603@gmail.com> <201009161527.50430.pieter@degoeje.nl> Message-ID: <4C922272.1010805@gmail.com> On 09/16/2010 17:57, Pieter de Goeje wrote: > On Wednesday 15 September 2010 15:59:29 Gholam Mostafa Faridi wrote: > >> On 09/15/2010 13:00, Edho P Arief wrote: >> >>> sh install.sh >>> >> I download all file and go to download directory and run that command , >> for first time I do not see error and do not see messages , but when I >> run that sh install.sh again I see this error >> >> "mfaridipc# sh install.sh >> >> ./usr/lib32/libc.so.7: Could not unlink >> ./usr/lib32/libcrypt.so.5: Could not unlink >> ./usr/lib32/librt.so.1: Could not unlink >> ./usr/lib32/libthr.so.3: Could not unlink >> ./libexec/ld-elf32.so.1: Could not unlink >> tar: Error exit delayed from previous errors." >> >> and problem do not solve >> > These files have the schg flag set (see chflags(1)). This means the files are > immutable. Try removing the schg flag first: > > # chflags noschg /usr/lib32/libc.so.7 > > - Pieter > > I run this chflags noschg /usr/lib32/libc.so.7 but I see this error "/usr/lib32/libc.so.7: Could not unlink ./usr/lib32/libcrypt.so.5: Could not unlink ./usr/lib32/librt.so.1: Could not unlink ./usr/lib32/libthr.so.3: Could not unlink ./libexec/ld-elf32.so.1: Could not unlink tar: Error exit delayed from previous errors." From m.seaman at infracaninophile.co.uk Thu Sep 16 14:10:12 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Sep 16 14:10:16 2010 Subject: Need bsd make for AIX In-Reply-To: References: Message-ID: <4C922536.5000306@infracaninophile.co.uk> On 16/09/2010 12:40:24, srividya.k@tcs.com wrote: > We have some open source code for RPC calls - DCE that has c programs and > corresponding makefiles. > When we tried gmake or make ( AIX make) , we were getting syntax errors. > We found that all the makefiles had syntax that corresponds to makeutility > of BSD? > > Do you have any alternative? > Is there any BSD make utility that can be installed in AIX machine? You could try this: http://www.crufty.net/help/sjg/bmake.html but I just found that after 2 seconds of searching with google and I have no idea if it works under AIX or not. There'd be no problem if someone wanted to take the BSD make sources and port them to AIX, but AFAIK, no one has ever wanted to do that, or at least, has never owned up to doing that in public that I've ever heard of. 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/20100916/707f2bb3/signature.pgp From mostafafaridi at gmail.com Thu Sep 16 14:14:41 2010 From: mostafafaridi at gmail.com (Gholam Mostafa Faridi) Date: Thu Sep 16 14:16:26 2010 Subject: virtaullBox AMD64 32bit lib In-Reply-To: <201009161527.50430.pieter@degoeje.nl> References: <4C907918.7090609@gmail.com> <4C90D141.9060603@gmail.com> <201009161527.50430.pieter@degoeje.nl> Message-ID: <4C922540.2010500@gmail.com> On 09/16/2010 17:57, Pieter de Goeje wrote: > chflags noschg /usr/lib32/libc.so.7 I do not know what happen , but after I run that command I can install virtulbox and it work bu when I want run it I see error about Failed to create a new session. Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) and I can not run it and use it , but when I run this command again cd /usr/src ; make build32 install32 ; ldconfig -v -m -R /usr/lib32 and I see this error sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtend.o /usr/obj/usr/src/lib32/usr/lib32/crtend.o sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbeginT.o /usr/obj/usr/src/lib32/usr/lib32/crtbeginT.o sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbegin.So /usr/obj/usr/src/lib32/usr/lib32/crtbeginS.o sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtend.So /usr/obj/usr/src/lib32/usr/lib32/crtendS.o ===> lib/csu/i386-elf (obj,depend,all,install) ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 -o gcrt1.o -r crt1_s.o gcrt1_c.o ld: Relocatable linking with relocations from format elf64-x86-64 (gcrt1_c.o) to format elf32-i386-freebsd (gcrt1.o) is not supported *** Error code 1 Stop in /usr/src/lib/csu/i386-elf. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. mfaridipc# I think my system is broken . how I solve this problem ? From ndhertbsd at gmail.com Thu Sep 16 14:35:59 2010 From: ndhertbsd at gmail.com (n dhert) Date: Thu Sep 16 14:36:02 2010 Subject: imapproxyd set up Message-ID: A user asked to set up IMAP proxy server (/usr/ports/mail/up-imapproxy) I installed it from the ports, then # cp /usr/local/etc/imapproxyd.conf.sample /usr/local/etc/imapproxyd.conf # vi /usr/local/etc/imapproxyd.conf and changed server_hostname ... to contain my imap server and listen_port 143 to listen_port 993 (it's an SSL imap server) and server_port 143 to server_port 993 Then added in /etc/rc.conf imapproxyd_enable="YES" then # /usr/local/etc/rc.d/imapproxyd start which responds Starting imapproxyd. /usr/local/etc/rc.d/imapproxyd: WARNING: failed to start imapproxyd For a short time, a # ps -jaxw | grep imap showed: root 62092 57397 62092 64240 1 I+ 1 0:00.02 /bin/sh /usr/local/etc/rc.d/imapproxyd start root 62098 62092 62092 64240 1 S+ 1 0:00.01 /usr/local/sbin/in.imapproxyd Am I doing something wrong here? the file /var/log/imapproxy_protocol.log is empty /var/log/maillog says Connection to server failed or could this be a firewall protecting the imap server?? From bruce at cran.org.uk Thu Sep 16 15:00:02 2010 From: bruce at cran.org.uk (Bruce Cran) Date: Thu Sep 16 15:00:06 2010 Subject: Support for AIX In-Reply-To: References: Message-ID: <20100916155945.00003401@unknown> On Thu, 16 Sep 2010 08:55:57 -0400 Alejandro Imass wrote: > First. This list is for support of ___FreeBSD___, the operating > system, although many people that _use_ FBSD actually come to this > list for help on all sorts of things, but I doubt many would be eager > to support a component of BSD to help with a problem in AIX. I suspect > lot of them in fact, would probably feel contempt or a deep repugnance > towards any sort of proprietary operating system. Take a look at http://www.flickr.com/photos/bitgeist/4603934635/ From all the glowing symbols you can see that everyone really hates proprietry operating systems :) -- Bruce Cran From f.bonnet at esiee.fr Thu Sep 16 15:05:31 2010 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Thu Sep 16 15:05:42 2010 Subject: imapproxyd set up In-Reply-To: References: Message-ID: <4C922E56.20702@esiee.fr> could you send your imapproxyd.conf file ? On 09/16/2010 04:35 PM, n dhert wrote: > A user asked to set up IMAP proxy server > (/usr/ports/mail/up-imapproxy) > I installed it from the ports, then > # cp /usr/local/etc/imapproxyd.conf.sample /usr/local/etc/imapproxyd.conf > # vi /usr/local/etc/imapproxyd.conf > and changed server_hostname ... to contain my imap server > and listen_port 143 to listen_port 993 (it's an SSL imap server) > and server_port 143 to server_port 993 > Then added in /etc/rc.conf > imapproxyd_enable="YES" > > then > # /usr/local/etc/rc.d/imapproxyd start > which responds > Starting imapproxyd. > /usr/local/etc/rc.d/imapproxyd: WARNING: failed to start imapproxyd > For a short time, a > # ps -jaxw | grep imap showed: > root 62092 57397 62092 64240 1 I+ 1 0:00.02 /bin/sh > /usr/local/etc/rc.d/imapproxyd start > root 62098 62092 62092 64240 1 S+ 1 0:00.01 > /usr/local/sbin/in.imapproxyd > > Am I doing something wrong here? > the file /var/log/imapproxy_protocol.log is empty > /var/log/maillog says Connection to server failed > > or could this be a firewall protecting the imap server?? > _______________________________________________ > 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 wodfer at gmail.com Thu Sep 16 15:35:35 2010 From: wodfer at gmail.com (Andy Wodfer) Date: Thu Sep 16 15:35:41 2010 Subject: Problem adding 1TB SATA disk to system Message-ID: Hi all, I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight). However, I'm having big problems adding a new harddrive to the system. I want a separate 1TB SATA installed to recover backup files on, but when I add it I only get error messages: dmesg: ad2: 953869MB at ata1-master SATA300 GEOM: ad2: corrupt or invalid GPT detected. GEOM: ad2: GPT rejected -- may not be recoverable. GEOM: ufsid/4c80e66f50f43e15: corrupt or invalid GPT detected. GEOM: ufsid/4c80e66f50f43e15: GPT rejected -- may not be recoverable. I've tried label and fdisk, but I can't get it to work. Fdisk: WARNING: It is safe to use a geometry of 1938021/16/63 for ad2 on ? ? computers with modern BIOS versions. If this disk is to be used ? ? on an old machine it is recommended that it does not have more ? ? than 65535 cylinders, more than 255 heads, or more than ? ? 63 sectors per track. ? ? ? ? Would you like to keep using the current geometry? Yes ... but it doesn't work. The computer hardware was bought new about 7 months ago and the mainboard is an intel server board. Can someone help me get this disk up and running (if possible?)? Thanks! Best regards, Andy From nightrecon at hotmail.com Thu Sep 16 16:15:15 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Thu Sep 16 16:15:18 2010 Subject: Problem adding 1TB SATA disk to system References: Message-ID: Andy Wodfer wrote: > Hi all, > > I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight). > However, I'm having big problems adding a new harddrive to the system. I > want a separate 1TB SATA installed to recover backup files on, but when I > add it I only get error messages: > > dmesg: > > ad2: 953869MB at ata1-master SATA300 > GEOM: ad2: corrupt or invalid GPT detected. > GEOM: ad2: GPT rejected -- may not be recoverable. > GEOM: ufsid/4c80e66f50f43e15: corrupt or invalid GPT detected. > GEOM: ufsid/4c80e66f50f43e15: GPT rejected -- may not be recoverable. > > I've tried label and fdisk, but I can't get it to work. > [snip] I do not believe you can utilize fdisk and label for this. Since it appears there may be a possibility of a garbage MBR present this will wipe it: Boot a LiveFS CD, then at a root prompt do: sysctl kern.geom.debugflags=16 and: dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 where x equals your drive number. This will zero out any old MBR. You will need to set this up with gpart instead of fdisk. More details in man gpart and possibly glabel. The devil is in the details, but this may be enough to get you pointed down the road. -Mike From chris at chrismaness.com Thu Sep 16 16:19:44 2010 From: chris at chrismaness.com (Chris Maness) Date: Thu Sep 16 16:19:48 2010 Subject: WANTED: Camera Neck Strap (92313) Message-ID: Does anyone have an old camera neck strap hanging around? Regards, Chris Maness From ait at p2ee.org Thu Sep 16 16:20:46 2010 From: ait at p2ee.org (Alejandro Imass) Date: Thu Sep 16 16:20:51 2010 Subject: Support for AIX In-Reply-To: <20100916155945.00003401@unknown> References: <20100916155945.00003401@unknown> Message-ID: On Thu, Sep 16, 2010 at 10:59 AM, Bruce Cran wrote: > On Thu, 16 Sep 2010 08:55:57 -0400 > Alejandro Imass wrote: > >> First. This list is for support of ___FreeBSD___, the operating >> system, although many people that _use_ FBSD actually come to this >> list for help on all sorts of things, but I doubt many would be eager >> to support a component of BSD to help with a problem in AIX. I suspect >> lot of them in fact, would probably feel contempt or a deep repugnance >> towards any sort of proprietary operating system. > > Take a look at http://www.flickr.com/photos/bitgeist/4603934635/ > From all the glowing symbols you can see that everyone really > hates proprietry operating systems :) > Yeah well, I do ;-) Besides they are running in fact great chunks of FBSD and NetBSD in those things anyway. Dunno if they use bsd make though > -- > Bruce Cran > From chris at chrismaness.com Thu Sep 16 16:30:39 2010 From: chris at chrismaness.com (Chris Maness) Date: Thu Sep 16 16:30:44 2010 Subject: WANTED: Camera Neck Strap (92313) In-Reply-To: <4C9245A3.7030509@radel.com> References: <4C9245A3.7030509@radel.com> Message-ID: oops. I meant freecycler ;o) sorry guys. Chris On Thu, Sep 16, 2010 at 9:28 AM, Jon Radel wrote: > On 9/16/10 12:19 PM, Chris Maness wrote: > >> Does anyone have an old camera neck strap hanging around? >> >> Regards, >> 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" >> > What's this got to do with FreeBSD? > > -- > > --Jon Radel > jon@radel.com > > > From svein-listmail at stillbilde.net Thu Sep 16 16:52:37 2010 From: svein-listmail at stillbilde.net (Svein Skogen (Listmail account)) Date: Thu Sep 16 16:52:42 2010 Subject: WANTED: Camera Neck Strap (92313) In-Reply-To: References: <4C9245A3.7030509@radel.com> Message-ID: <4C924B4F.8090906@stillbilde.net> On 16.09.2010 18:30, Chris Maness wrote: > oops. I meant freecycler ;o) sorry guys. Not to worry, I'm sure there are a few hobby photographers on this list as well. ;) //Svein -- --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg ?stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ ------------------------------------------------------------ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100916/93a4b9c1/signature.pgp From ryan.coleman at cwis.biz Thu Sep 16 16:56:02 2010 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Thu Sep 16 16:56:05 2010 Subject: WANTED: Camera Neck Strap (92313) In-Reply-To: <4C924B4F.8090906@stillbilde.net> References: <4C9245A3.7030509@radel.com> <4C924B4F.8090906@stillbilde.net> Message-ID: Yes, but I'm more a semi-pro. However I do not have a spare strap for you. (55125) On Sep 16, 2010, at 11:52 AM, Svein Skogen (Listmail account) wrote: > On 16.09.2010 18:30, Chris Maness wrote: >> oops. I meant freecycler ;o) sorry guys. > > Not to worry, I'm sure there are a few hobby photographers on this list > as well. ;) > > //Svein > > -- > --------+-------------------+------------------------------- > /"\ |Svein Skogen | svein@d80.iso100.no > \ / |Solberg ?stli 9 | PGP Key: 0xE5E76831 > X |2020 Skedsmokorset | svein@jernhuset.no > / \ |Norway | PGP Key: 0xCE96CE13 > | | svein@stillbilde.net > ascii | | PGP Key: 0x58CD33B6 > ribbon |System Admin | svein-listmail@stillbilde.net > Campaign|stillbilde.net | PGP Key: 0x22D494A4 > +-------------------+------------------------------- > |msn messenger: | Mobile Phone: +47 907 03 575 > |svein@jernhuset.no | RIPE handle: SS16503-RIPE > --------+-------------------+------------------------------- > If you really are in a hurry, mail me at > svein-mobile@stillbilde.net > This mailbox goes directly to my cellphone and is checked > even when I'm not in front of my computer. > ------------------------------------------------------------ > Picture Gallery: > https://gallery.stillbilde.net/v/svein/ > ------------------------------------------------------------ > From ross.cameron at unix.net Thu Sep 16 18:45:47 2010 From: ross.cameron at unix.net (Ross Cameron) Date: Thu Sep 16 18:45:50 2010 Subject: Support for AIX In-Reply-To: References: Message-ID: On Thu, Sep 16, 2010 at 7:53 AM, wrote: > Hi > Is BSD compatible with AIX unix system?( AIX version 6). > We require the make utility of BSD to compile few source programs? > Are you SURE you need BSD Make? If so why? Secondly,.... it is available from http://www.crufty.net/help/sjg/bmake.html Very simple install instructions on that page too. Is there any make utility compatible with AIX? Could you please give us > the URL where we can get the same? > Yes LOTS,... bmake/nmake/gnu make/etc. etc. etc. All Make commands are not made alike.... you need to use the one that suits the syntax of the makefile in question. Judging from the Q that was asked... if the software you want to compile is OpenSource look into NetBSD's Pkgsrc system.... From dnewman at networktest.com Thu Sep 16 20:39:39 2010 From: dnewman at networktest.com (David Newman) Date: Thu Sep 16 20:39:43 2010 Subject: jumbo frame support in bge(4) for BCM5704 SOLVED In-Reply-To: <4C9145EB.90900@networktest.com> References: <4C902D28.2040206@networktest.com> <4C9145EB.90900@networktest.com> Message-ID: <4C92808A.2090902@networktest.com> On 9/15/10 3:17 PM, David Newman wrote: > On 9/14/10 7:43 PM, Adam Vande More wrote: >> On Tue, Sep 14, 2010 at 9:19 PM, David Newman wrote: >> >>> 8.0-RELEASE amd64, Tyan S2882-D motherboard, Broadcom BCM5704C gigabit >>> Ethernet transceivers >>> >>> Thanks in advance for any clues on enabling jumbos on this system. >>> >> >> What happens if you boot from a linux live cd and try to enable frames >> there? > > With Ubuntu 10.04, the system accepts "ifconfig eth1 mtu N" for any > value of N up to 9000, and shows an MTU of N in response to 'ifconfig'. > > With 8.1-RELEASE (not 8.0 as stated before, sorry), the command > 'ifconfig bge0 mtu 8000' produces an error: > > ifconfig: ioctl (set mtu): Invalid argument > > Same thing with 'mtu 1500', 'mtu 1400', etc. I neglected to mention that this system uses link aggregation on the bge interfaces. Once a lagg interface exists, an MTU cannot be applied to either the bge or lagg instances. However, everything works fine if MTUs are applied to bge interfaces before bringing up the lagg interface: ifconfig_bge0="mtu 9000 up" ifconfig_bge1="mtu 9000 up" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto lacp laggport bge0 laggport bge1" ipv4_addrs_lagg0="10.0.0.1/24" # ifconfig lagg0 | grep mtu lagg0: flags=8843 metric 0 mtu 9000 One other thing: The maximum value for the BCM5704's mtu is 9000 bytes, not the more widely used 9216 for jumbo frames. This may reflect a hardware limit for this controller. Many thanks to FreeBSD bge(4) maintainer Pyun YongHyeon for contacting me and spotting my configuration error with the lagg setup. dn From leslie at eskk.nu Thu Sep 16 20:43:31 2010 From: leslie at eskk.nu (Leslie Jensen) Date: Thu Sep 16 20:43:36 2010 Subject: Replacing harddrive Message-ID: <4C928165.40109@eskk.nu> Hello list. My laptop has a 200Gb drive, dual booting W7 and Freebsd 8.0-release-p2. From dmesg ad4: 190782MB at ata2-master SATA300 I've now got a 500Gb drive that I want to install instead. Cloning the W7 has worked without problems. I starts when I replace the disk in the PC. I put the original drive 200Gb back and I have the new 500Gb drive in a ESATA docking station. Boot into Freebsd, this is in dmesg: ad8: FAILURE - SET_MULTI status=51 error=4 ad8: 476940MB at ata4-master SATA300 Does someone know what the failure is about? Next I do su and starts sysinstall. In fdisk I create a slice and prees Q for finish. Exit sysinstall and start it again. Create my mountpoints with disklabel. I copy the values from the 200Gb disk appart from home that I make bigger. FreeBSD Disklabel Editor Disk: ad8 Partition name: ad8s3 Free: 0 blocks (0MB) Part Mount Size Newfs Part Mount Size Newfs ---- ----- ---- ----- ---- ----- ---- ----- ad8s3a /mnt/newroot 1024MB * ad8s3b swap 4096MB SWAP ad8s3d /mnt/newtmp 2048MB * ad8s3e /mnt/newvar 4096MB * ad8s3f /mnt/newusr 20480MB * ad8s3g /mnt/newhome remaining free space approx 300Gb * I exit sysinstall and start it again and now the disk is layed out as you can see below. FreeBSD Disklabel Editor Disk: ad8 Partition name: ad8s4 Free: 0 blocks (0MB) Disk: ad8 Partition name: ad8s3 Free: 0 blocks (0MB) Part Mount Size Newfs Part Mount Size Newfs ---- ----- ---- ----- ---- ----- ---- ----- ad8s4d 30866MB * ad8s3a 1024MB * ad8s3b swap 4096MB SWAP ad8s3d 2048MB * ad8s3e 4096MB * ad8s3f 20480MB * ad8s3g 28125MB * I don't really understand this and would like some help to get it right. Thanks /Leslie From leslie at eskk.nu Thu Sep 16 21:17:14 2010 From: leslie at eskk.nu (Leslie Jensen) Date: Thu Sep 16 21:17:21 2010 Subject: Replacing harddrive In-Reply-To: <4C928165.40109@eskk.nu> References: <4C928165.40109@eskk.nu> Message-ID: <4C928951.1050806@eskk.nu> On 2010-09-16 22:43, Leslie Jensen wrote: > Hello list. > > My laptop has a 200Gb drive, dual booting W7 and Freebsd 8.0-release-p2. > > From dmesg > ad4: 190782MB at ata2-master SATA300 Sorry for the noise!!!! Should have used the W option before quitting out from fdisk and disklabel. /Leslie From lobo at bsd.com.br Thu Sep 16 21:20:07 2010 From: lobo at bsd.com.br (Mario Lobo) Date: Thu Sep 16 21:20:12 2010 Subject: (no subject) In-Reply-To: References: Message-ID: <201009161818.56077.lobo@bsd.com.br> On Thursday 16 September 2010 04:18:07 Modulok wrote: > List, > > I have an old box I want to turn into a file server backup machine. > Unfortunately, the mainboard has only PATA headers. I do have three > PCI slots though, so I was looking at a PCI SATA controller card that > will get along with FreeBSD without a fuss. Nothing fancy, just > something inexpensive that I can plug a few SATA drives into. Then > I'll create a graid3 with them, or mess around with ZFS. Anyone using > something worth a recommendation? > > Thanks! > -Modulok- > _______________________________________________ > 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 IDE to SATA converters. You plug it directly into the IDE connector and on the other end you have a SATA150 plug. I've been using one here on my home server for about 1,5 years without any problem. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winfoes FREE) From gautham at lisphacker.org Thu Sep 16 21:31:52 2010 From: gautham at lisphacker.org (Gautham Ganapathy) Date: Thu Sep 16 21:31:55 2010 Subject: running FreeBSD on Windows host In-Reply-To: References: <20100823070819.GB2539@current.Sisis.de> Message-ID: On Mon, Aug 23, 2010 at 8:50 AM, Sergio Tam wrote: > 2010/8/23 Matthias Apitz : >> >> Hello, > > Hi Matthias >> >> Any recommendation for the virtualisation software for best performance? > > VMware > > or Virtual PC > > http://www.microsoft.com/Windows/virtual-pc/download.aspx > > Hi The free VMware server (if still available) was generally much faster than Virtual PC, but that was sometime back (Solaris SXDE wouldn't even install under Virtual PC, but worked great with VMware). Something to do with only user-mode virtualization? Not sure if this is still true Gautham From z_axis at 163.com Thu Sep 16 23:51:32 2010 From: z_axis at 163.com (zaxis) Date: Thu Sep 16 23:51:36 2010 Subject: How to fix the "keyboard dead" question ? Message-ID: <29734114.post@talk.nabble.com> Sometimes after booting freebsd and reaching the slim login screen, i cannot input anything: the keyboard seems to be dead. Then i have to reboot freebsd and the problem disappear ! >uname -a FreeBSD mybsd.zsoft.com 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Wed Sep 8 09:07:54 CST 2010 root@mybsd.zsoft.com:/media/G/usr/obj/media/G/usr/src/sys/MYKERNEL i386 >dmesg -a | grep -i fail acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3fde0000 (3) failed >dmesg -a | grep -i warn ACPI Warning: Optional field Pm2ControlBlock has zero address or length: 0x 0 0/0x1 (20100331/tbfadt-655) Sincerely! ----- e^(??i) + 1 = 0 -- View this message in context: http://old.nabble.com/How-to-fix-the-%22keyboard-dead%22-question---tp29734114p29734114.html Sent from the freebsd-questions mailing list archive at Nabble.com. From ivoras at freebsd.org Fri Sep 17 00:35:04 2010 From: ivoras at freebsd.org (Ivan Voras) Date: Fri Sep 17 00:35:07 2010 Subject: Need bsd make for AIX In-Reply-To: References: Message-ID: On 09/16/10 08:58, srividya.k@tcs.com wrote: > Hi > Is there any BSD make versions available for AIX platform? > We require the make utility of BSD to compile few source programs. > > Is there any make utility compatible with AIX? Could you please give us > the URL where we can get the same? FreeBSD's make is an integral part of the FreeBSD file system. It is not created to be compatible across systems, but it is also not created to prevent this kind of porting. With a command like: svn co http://svn.freebsd.org/base/head/usr.bin/make you can fetch the sources for the BSD make. If you have a gcc compiler installed you can compile the BSD make with a command like: gcc '-DDEFSHELLNAME="sh"' -o make *.c Note that the Makefile included with BSD make is in BSD make format so you need to bootstrap it like in the above command; the quotes around -D are needed. There is absolutely no guarantee this will work on your system. From arundel at freebsd.org Fri Sep 17 00:38:38 2010 From: arundel at freebsd.org (Alexander Best) Date: Fri Sep 17 00:40:19 2010 Subject: make buildkernel pre-build too long In-Reply-To: References: Message-ID: <20100917003838.GA67783@freebsd.org> On Thu Sep 16 10, David DEMELIER wrote: > Hi there, > > I can't understand why this part of make buildkernel is so long on my > amd64 machine (8.1-R) > > make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" > CC="cc" xargs mkdep -a -f .newdep -O2 -frename-registers -pipe > -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -fformat-extensions -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath > -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm > -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD > -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs > -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel > -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx > -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables > -ffreestanding -fstack-protector > > This command takes around 5-6 minutes before continuing, on my i386 > machine (which is really old) it only takes about 20 seconds. The > kernel configs are almost the same for both machines. are there any differences in /etc/make.conf? cheers. alex > > Do you have any idea? > > Kind regards, > > -- > Demelier David -- a13x From ivoras at freebsd.org Fri Sep 17 00:40:44 2010 From: ivoras at freebsd.org (Ivan Voras) Date: Fri Sep 17 00:40:47 2010 Subject: Need bsd make for AIX In-Reply-To: References: Message-ID: On 09/17/10 02:34, Ivan Voras wrote: > FreeBSD's make is an integral part of the FreeBSD file system. It is not heh... *operating* system :) From freebsd at edvax.de Fri Sep 17 01:08:19 2010 From: freebsd at edvax.de (Polytropon) Date: Fri Sep 17 01:08:24 2010 Subject: How to fix the "keyboard dead" question ? In-Reply-To: <29734114.post@talk.nabble.com> References: <29734114.post@talk.nabble.com> Message-ID: <20100917030816.8512ee8c.freebsd@edvax.de> On Thu, 16 Sep 2010 16:51:31 -0700 (PDT), zaxis wrote: > > Sometimes after booting freebsd and reaching the slim login screen, i cannot > input anything: the keyboard seems to be dead. Then i have to reboot > freebsd and the problem disappear ! Is this an AT or USB keyboard? If it is a USB keyboard: I have similar problems on FreeBSD 7 (didn't have them before on 5) where the "activation" of the USB keyboard sometimes takes up to 2 minutes after system boot is complete. Detaching and re-attaching the USB plug sometimes helps. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From cpghost at cordula.ws Fri Sep 17 01:37:47 2010 From: cpghost at cordula.ws (C. P. Ghost) Date: Fri Sep 17 01:37:51 2010 Subject: this is probably a little touchy to ask... In-Reply-To: <20100915100848.2446ab49@scorpio> References: <20100915151732.GA46569@lpthe.jussieu.fr> <20100915100848.2446ab49@scorpio> Message-ID: On Wed, Sep 15, 2010 at 4:08 PM, Jerry wrote: > As per the Mozilla site: > > "Starting in Firefox 3.6, you also need the new Java plugin included in > Java 6 Update 15 and above." > > FreeBSD does not supply, nor support as far as I can decipher, that > version or any of the newer versions, the latest being version 6, update > 21. Nor, as I stated previously, has anyone stated definitively why. That's one of the problems w.r.t. Java on FreeBSD: I had to install openjdk6, which provides at least this level in order to run all services that Freenet provides (Freenet runs in degraded mode with java/jdk16, because that version is too old and contains a big XML-related vulnerability). But java/openjdk6 works just fine with Freenet and almost any Java program I could throw at it. I don't know about Firefox 3.6 plugins though. % java -version openjdk version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b20) OpenJDK 64-Bit Server VM (build 17.0-b16, mixed mode) -cpghost. -- Cordula's Web. http://www.cordula.ws/ From kline at thought.org Fri Sep 17 01:45:38 2010 From: kline at thought.org (Gary Kline) Date: Fri Sep 17 01:45:42 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? Message-ID: <20100917014530.GA35456@thought.org> Guys, Tell me if I'm wrong to be ticked off. I just learned that my website has been down for weeks. My KVM switch doesn't work to let me have control of the console of my server [ns1|ethic].thought.org. Whether it was a cheap KVM switch or whether the '09 Dell 550 is defective is unknown. I have a new KVM switch. I do need direct control of the console for many reasons, but mostly to portupgrad ports. In the months since I first got ethic working, everything _but_ X11 worked. In late August I upgraded apache and php5, rebooted, and just-assumed {TM} that apache22 was working. Weeks ago I did read and edit my non-blog blog; further reason to assume that everything worked. A couple hours ago my web server was not running. I traced it to a missing libphp5.so. I checked the makefile and found the php stuff defaults to "off". ...I am thinking this is a security risk, but most of us are reasonably sophisticated about such things .... Comments, anybody? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org From ryan.coleman at cwis.biz Fri Sep 17 01:58:03 2010 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Fri Sep 17 01:58:08 2010 Subject: How to fix the "keyboard dead" question ? In-Reply-To: <20100917030816.8512ee8c.freebsd@edvax.de> References: <29734114.post@talk.nabble.com> <20100917030816.8512ee8c.freebsd@edvax.de> Message-ID: <5A92300C-BA87-4EB3-AA7D-F4BAEA2625F8@cwis.biz> I've had similar results on my USB to PS/2 keyboard adapter. If I reconnect the bridge device (not necc. have the KB attached to it) it will work. On Sep 16, 2010, at 8:08 PM, Polytropon wrote: > On Thu, 16 Sep 2010 16:51:31 -0700 (PDT), zaxis wrote: >> >> Sometimes after booting freebsd and reaching the slim login screen, i cannot >> input anything: the keyboard seems to be dead. Then i have to reboot >> freebsd and the problem disappear ! > > Is this an AT or USB keyboard? > > If it is a USB keyboard: I have similar problems on FreeBSD 7 > (didn't have them before on 5) where the "activation" of the > USB keyboard sometimes takes up to 2 minutes after system boot > is complete. Detaching and re-attaching the USB plug sometimes > helps. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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 robertames at hotmail.com Fri Sep 17 02:52:51 2010 From: robertames at hotmail.com (Robert Ames) Date: Fri Sep 17 02:52:54 2010 Subject: Plextor PX-870A drives Message-ID: I have a couple of Plextor PX-870A drives in different machines (see below) that I'm trying to use with atapicam. The drives mostly work (booting, reading data, etc.) but for whatever reason neither of them will play audio CDs using the "cdcontrol play" command. They just sit there. The drives never spin up. There are no obvious errors. I've tried multiple types of CDs (CD-Rs that I burn and commercial audio CDs). I can burn audio CDs using cdrecord that play in other drives, they just won't play in these drives. And while "cdcontrol info" will show me what tracks are on a CD it just won't play them. I have a Plextor PX-850A that works fine. Is there something incompatible with PX-870A drives and FreeBSD? I can provide more info if needed. FreeBSD 6.4-RELEASE #1: Tue Sep 7 19:36:09 CDT 2010 acd0: DVDR at ata1-slave UDMA33 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 cd0 at ata1 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed FreeBSD 8.0-RELEASE #3: Mon Sep 6 16:48:45 CDT 2010 acd0: DVDR at ata1-master UDMA33 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray open From chuckr at telenix.org Fri Sep 17 03:43:00 2010 From: chuckr at telenix.org (Chuck Robey) Date: Fri Sep 17 03:43:03 2010 Subject: Need bsd make for AIX In-Reply-To: References: Message-ID: <4C92DD2A.4030609@telenix.org> On 09/16/10 20:34, Ivan Voras wrote: > On 09/16/10 08:58, srividya.k@tcs.com wrote: >> Hi >> Is there any BSD make versions available for AIX platform? >> We require the make utility of BSD to compile few source programs. >> >> Is there any make utility compatible with AIX? Could you please give us >> the URL where we can get the same? > > FreeBSD's make is an integral part of the FreeBSD file system. It is not > created to be compatible across systems, but it is also not created to > prevent this kind of porting. Wow. I disagree. It's been modified over the years to depend heavily on a set of libraries that are available nowhere else but FreeBSD. This was done (from what I can see) in the name of elegance ... because the actual functions ARE available elsewhere, but a bunch of modifications need to be added, no possible way is it going to compile anywhere else. I ported it a few years ago to Linux, so I know it can be moved, but it's not a trivial job. Too bad, because it's a fine tool, and all those mods added no functionality that I can see. From hemdani2009 at gmail.com Fri Sep 17 01:02:07 2010 From: hemdani2009 at gmail.com (Chabane HEMDANI) Date: Fri Sep 17 05:06:03 2010 Subject: The nightmarish problem of installing a printer Message-ID: I'm computer science teacher at university of Tizi-ouzou in Algeria. I'm using FreeBSD since 2007 when I "discover" it by chance when searching in the Web something about Linux. Since that date, I always invited and recommended to my students to install and use this "magical" and my favorite system. However, all my students retort me that they have a problem of installing their printers. I have so this problem, so I can't tell good-bye definitively to winosor and Linux. I always need them for printing. I've search, read, learn, follow instructions about nearly all the web-documentation about installing a new printer to work under cups without any success. I've an HP Laser Jet 1018 printer and tools given by package print/hplip don't work correctly. I'm using FreeBSD 8.1-RELEASE I've rebuild a kernel without ulpt. I modified my /etc/rc.conf to enable cupsd and hpiod and hpssd. I modified /etc/devfs.rules like suggested by cups (see pkg_info -D cups-base-1.4.4 ). I've made many other configurations like that suggested at http://diablotins.org/index.php/Imprimer,_hplip and finally, I've given to my students the wrong answer that "no one can print under FreeBSD !" Please where is the problem? Please help me to help others. Please help me to enlarge the FreeBSD users community. From srividya.k at tcs.com Fri Sep 17 05:16:56 2010 From: srividya.k at tcs.com (srividya.k@tcs.com) Date: Fri Sep 17 05:17:00 2010 Subject: Support for AIX In-Reply-To: References: Message-ID: We have a source code that needs to be compiled. Its the OpenGroup's DCE( used as RPC). The source code is available , but we are not able to compile it with either AIX's make utility or gmake. The syntax corresponds to BSD's make. Will try getting the make utility from the URL? Is there any other make utility. I am not sure if bmake is the exact utility we require. The makefile has macros as -- > .if define ---> .if exists and all the statements start with .. GMAKE or AIX make throws errors with this make file. Will bmake be the right make utility to for above type of source code? Srividya K Tata Consultancy Services Mailto: srividya.k@tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ From: Ross Cameron To: srividya.k@tcs.com Cc: freebsd-questions@freebsd.org Date: 09/17/2010 12:16 AM Subject: Re: Support for AIX Sent by: abalour@gmail.com On Thu, Sep 16, 2010 at 7:53 AM, wrote: Hi Is BSD compatible with AIX unix system?( AIX version 6). We require the make utility of BSD to compile few source programs? Are you SURE you need BSD Make? If so why? Secondly,.... it is available from http://www.crufty.net/help/sjg/bmake.html Very simple install instructions on that page too. Is there any make utility compatible with AIX? Could you please give us the URL where we can get the same? Yes LOTS,... bmake/nmake/gnu make/etc. etc. etc. All Make commands are not made alike.... you need to use the one that suits the syntax of the makefile in question. Judging from the Q that was asked... if the software you want to compile is OpenSource look into NetBSD's Pkgsrc system.... =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you From amvandemore at gmail.com Fri Sep 17 05:24:41 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Sep 17 05:24:45 2010 Subject: this is probably a little touchy to ask... In-Reply-To: References: <20100915151732.GA46569@lpthe.jussieu.fr> <20100915100848.2446ab49@scorpio> Message-ID: On Wed, Sep 15, 2010 at 11:46 AM, wrote: > On Wed, 15 Sep 2010 12:46:35 -0400, Michel Talon > wrote: > > Jerry said: >> >> "Starting in Firefox 3.6, you also need the new Java plugin included in >>> Java 6 Update 15 and above." >>> >> >> OK, this explains why my plugin doesn't work. So the only solution is to >> use the port firefox35 hoping that other components (flash plugin >> support) also work in this case. > > Yes, as I said in the second post to the thread. On Thu, Sep 16, 2010 at 8:37 PM, C. P. Ghost wrote: > I don't know about Firefox 3.6 plugins though. > It doesn't work, you need the icetea to generate the plugins. There is this: /usr/ports/java/icedtea6-stubs Looks promising anyways. There is also this work around. http://lists.freebsd.org/pipermail/freebsd-java/2010-February/008535.html Java seems more pervasive than ever in the web enviro at least for sys admin type stuff. Today I used it to access a Proxmox install, a Lantronics spider kvm over IP, and my girlfriend's child had a homework assignment on a java web app that was broken due to a recent update to her XP's java runtime. You can say all you want Java is dead, dying, and/or irrelevant. I wish you were right, unfortunately that's not the world many of us live in. -- Adam Vande More From ross.cameron at unix.net Fri Sep 17 05:44:35 2010 From: ross.cameron at unix.net (Ross Cameron) Date: Fri Sep 17 05:44:39 2010 Subject: Support for AIX In-Reply-To: References: Message-ID: Make doesn't handle source code, it just control's the actual build process so you don't have to type hundreds of "cc ........." lines in a console. Have you tried contacting the current maintainers of DCE for advice? Maybe a bit of googling.... Have you tried verifying the Makefile's format using the "-n" switch ??? I would suggest contacting either IBM or the OpenGroup about this as we're just guessing here.... this is the __FreeBSD__ mailing lists... we can try help but honestly the vendors are the right people to ask..... "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. On Fri, Sep 17, 2010 at 7:05 AM, wrote: > > We have a source code that needs to be compiled. Its the OpenGroup's DCE( > used as RPC). > The source code is available , but we are not able to compile it with > either AIX's make utility or gmake. > > The syntax corresponds to BSD's make. > > Will try getting the make utility from the URL? > > Is there any other make utility. I am not sure if bmake is the exact > utility we require. > > The makefile has macros as -- > .if define > ---> .if exists > and all the statements start with .. GMAKE or AIX make throws errors with > this make file. > > Will bmake be the right make utility to for above type of source code? > > Srividya K > Tata Consultancy Services > Mailto: srividya.k@tcs.com > Website: http://www.tcs.com > > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Outsourcing > ____________________________________________ > > > From: Ross Cameron To: srividya.k@tcs.com Cc: > freebsd-questions@freebsd.org Date: 09/17/2010 12:16 AM Subject: Re: > Support for AIX Sent by: abalour@gmail.com > ------------------------------ > > > > On Thu, Sep 16, 2010 at 7:53 AM, <*srividya.k@tcs.com*> > wrote: > Hi > Is BSD compatible with AIX unix system?( AIX version 6). > We require the make utility of BSD to compile few source programs? > > Are you SURE you need BSD Make? > If so why? > > Secondly,.... it is available from * > http://www.crufty.net/help/sjg/bmake.html* > Very simple install instructions on that page too. > > Is there any make utility compatible with AIX? Could you please give us > the URL where we can get the same? > > Yes LOTS,... bmake/nmake/gnu make/etc. etc. etc. > All Make commands are not made alike.... you need to use the one that > suits the syntax of the makefile in question. > > Judging from the Q that was asked... if the software you want to compile is > OpenSource look into NetBSD's Pkgsrc system.... > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > From srividya.k at tcs.com Fri Sep 17 05:51:17 2010 From: srividya.k at tcs.com (srividya.k@tcs.com) Date: Fri Sep 17 05:51:22 2010 Subject: Support for AIX In-Reply-To: References: Message-ID: Yes.. But the syntax used in the makefile corresponds to BSD make and gmake didnt work. IBM doesn't support this DCE anymore. Thanks much for the help Ross! Srividya K Tata Consultancy Services Mailto: srividya.k@tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ From: Ross Cameron To: srividya.k@tcs.com Cc: freebsd-questions@freebsd.org Date: 09/17/2010 11:14 AM Subject: Re: Support for AIX Sent by: abalour@gmail.com Make doesn't handle source code, it just control's the actual build process so you don't have to type hundreds of "cc ........." lines in a console. Have you tried contacting the current maintainers of DCE for advice? Maybe a bit of googling.... Have you tried verifying the Makefile's format using the "-n" switch ??? I would suggest contacting either IBM or the OpenGroup about this as we're just guessing here.... this is the __FreeBSD__ mailing lists... we can try help but honestly the vendors are the right people to ask..... "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. On Fri, Sep 17, 2010 at 7:05 AM, wrote: We have a source code that needs to be compiled. Its the OpenGroup's DCE( used as RPC). The source code is available , but we are not able to compile it with either AIX's make utility or gmake. The syntax corresponds to BSD's make. Will try getting the make utility from the URL? Is there any other make utility. I am not sure if bmake is the exact utility we require. The makefile has macros as -- > .if define ---> .if exists and all the statements start with .. GMAKE or AIX make throws errors with this make file. Will bmake be the right make utility to for above type of source code? Srividya K Tata Consultancy Services Mailto: srividya.k@tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ From: Ross Cameron To: srividya.k@tcs.com Cc: freebsd-questions@freebsd.org Date: 09/17/2010 12:16 AM Subject: Re: Support for AIX Sent by: abalour@gmail.com On Thu, Sep 16, 2010 at 7:53 AM, wrote: Hi Is BSD compatible with AIX unix system?( AIX version 6). We require the make utility of BSD to compile few source programs? Are you SURE you need BSD Make? If so why? Secondly,.... it is available from http://www.crufty.net/help/sjg/bmake.html Very simple install instructions on that page too. Is there any make utility compatible with AIX? Could you please give us the URL where we can get the same? Yes LOTS,... bmake/nmake/gnu make/etc. etc. etc. All Make commands are not made alike.... you need to use the one that suits the syntax of the makefile in question. Judging from the Q that was asked... if the software you want to compile is OpenSource look into NetBSD's Pkgsrc system.... =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you From claudiu.vasadi at gmail.com Fri Sep 17 05:55:25 2010 From: claudiu.vasadi at gmail.com (claudiu vasadi) Date: Fri Sep 17 05:55:29 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: Message-ID: Hello, First things first, does cups see your printer ? Do you use "lpradmin" or the web-interface for adding the printer ? Second, did you try using http://foo2qpdl.rkkda.com/ for the driver ? Third, can you post error logs ? From cyb. at gmx.net Fri Sep 17 06:39:49 2010 From: cyb. at gmx.net (Andreas Rudisch) Date: Fri Sep 17 06:39:53 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: Message-ID: <20100917081249.2a101981.cyb.@gmx.net> On Fri, 17 Sep 2010 01:45:54 +0100 Chabane HEMDANI wrote: > I've search, read, learn, follow instructions about nearly all the > web-documentation about installing a new printer to work under cups without > any success. I've an HP Laser Jet 1018 printer and tools given by package > print/hplip don't work correctly. > > I'm using FreeBSD 8.1-RELEASE > I've rebuild a kernel without ulpt. > I modified my /etc/rc.conf to enable cupsd and hpiod and hpssd. > I modified /etc/devfs.rules like suggested by cups (see pkg_info -D > cups-base-1.4.4 ). > I've made many other configurations like that suggested at > http://diablotins.org/index.php/Imprimer,_hplip > > and finally, I've given to my students the wrong answer that "no one can > print under FreeBSD !" Which is wrong, all you need is a printer, that is _supported_. > Please where is the problem? The LaserJet 1018 uses another protocol, so you need aditional software. Take a look at these sites: http://www.openprinting.org/printer/HP/HP-LaserJet_1018 http://foo2zjs.rkkda.com/ Before buying the next printer, see whether or not it is supported by Cups http://www.cups.org/ppd.php . Same goes for your students. Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 -------------- 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/20100917/c034859a/attachment.pgp From demelier.david at gmail.com Fri Sep 17 07:04:39 2010 From: demelier.david at gmail.com (David DEMELIER) Date: Fri Sep 17 07:04:43 2010 Subject: make buildkernel pre-build too long In-Reply-To: <20100917003838.GA67783@freebsd.org> References: <20100917003838.GA67783@freebsd.org> Message-ID: 2010/9/17 Alexander Best : > On Thu Sep 16 10, David DEMELIER wrote: >> Hi there, >> >> I can't understand why this part of make buildkernel is so long on my >> amd64 machine (8.1-R) >> >> make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | ?MKDEP_CPP="cc -E" >> CC="cc" xargs mkdep -a -f .newdep -O2 -frename-registers -pipe >> -fno-strict-aliasing ?-std=c99 ?-Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes ?-Wmissing-prototypes >> -Wpointer-arith -Winline -Wcast-qual ?-Wundef -Wno-pointer-sign >> -fformat-extensions -nostdinc ?-I. -I/usr/src/sys >> -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter >> -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath >> -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm >> -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD >> -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs >> -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb >> -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h >> -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param >> large-function-growth=1000 ?-fno-omit-frame-pointer -mcmodel=kernel >> -mno-red-zone ?-mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx >> -mno-3dnow ?-msoft-float -fno-asynchronous-unwind-tables >> -ffreestanding -fstack-protector >> >> This command takes around 5-6 minutes before continuing, on my i386 >> machine (which is really old) it only takes about 20 seconds. The >> kernel configs are almost the same for both machines. > > are there any differences in /etc/make.conf? > > cheers. > alex > >> >> Do you have any idea? >> >> Kind regards, >> >> -- >> Demelier David > > -- > a13x > No, except the KERNCONF entry it's exactly the same : # General settings. KERNCONF=Melon MASTER_SORT?= .fr .uk # Portconf. .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf) _PORTCONF!=/usr/local/libexec/portconf .for i in ${_PORTCONF:S/|/ /g} ${i:S/%/ /g} .endfor .endif # Perl. PERL_VERSION=5.10.1 # No need modules. NO_MODULES=yes # Specify other directories. WRKDIRPREFIX= /usr/obj DISTDIR= /usr/distfiles -- Demelier David From fbsdq at peterk.org Fri Sep 17 07:40:51 2010 From: fbsdq at peterk.org (Peter) Date: Fri Sep 17 07:40:55 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100917081249.2a101981.cyb.@gmx.net> References: <20100917081249.2a101981.cyb.@gmx.net> Message-ID: <28e7249799bdca81a7aee1cb2670506b.squirrel@pop.pknet.net> > On Fri, 17 Sep 2010 01:45:54 +0100 > Chabane HEMDANI wrote: > >> I've search, read, learn, follow instructions about nearly all the >> web-documentation about installing a new printer to work under cups >> without >> any success. I've an HP Laser Jet 1018 printer and tools given by >> package >> print/hplip don't work correctly. >> >> I'm using FreeBSD 8.1-RELEASE >> I've rebuild a kernel without ulpt. >> I modified my /etc/rc.conf to enable cupsd and hpiod and hpssd. >> I modified /etc/devfs.rules like suggested by cups (see pkg_info -D >> cups-base-1.4.4 ). >> I've made many other configurations like that suggested at >> http://diablotins.org/index.php/Imprimer,_hplip >> > >> and finally, I've given to my students the wrong answer that "no one >> can >> print under FreeBSD !" > > Which is wrong, all you need is a printer, that is _supported_. > >> Please where is the problem? > > The LaserJet 1018 uses another protocol, so you need aditional software. > Take a look at these sites: > http://www.openprinting.org/printer/HP/HP-LaserJet_1018 > http://foo2zjs.rkkda.com/ > > Before buying the next printer, see whether or not it is supported by > Cups http://www.cups.org/ppd.php . Same goes for your students. > > Andreas > -- > GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ > Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 > I got an HP Laser 1018 - works perfectly fine using the foo2zjs drivers, and I do believe ultp0. I can send you my configs once I get home if you want. The real pain which I keep forgetting after a reload or on new pc, was having to initialize [cat firmware > /dev/ulpt0] each time the computer is rebooted [ie @reboot in cron]. ]Peter[ From wolfgang at riegler.homeip.net Fri Sep 17 09:02:35 2010 From: wolfgang at riegler.homeip.net (Wolfgang Riegler) Date: Fri Sep 17 09:02:40 2010 Subject: gateway_enable In-Reply-To: <4C911EC0.9000607@beatsnet.com> References: <201009152110.36850.wolfgang.riegler@gmx.de> <4C911EC0.9000607@beatsnet.com> Message-ID: <201009171049.55372.wolfgang@riegler.homeip.net> Thank you for your support. You're right, our administrator has to add a route back to the new gateway. Am Mittwoch, 15. September 2010, 21:30:08 schrieb Beat Siegenthaler: > > On 15.09.10 21:10, Wolfgang Riegler wrote: > > > > I thought gateway_enable="YES" in /etc/rc.conf should be sufficient. But it doesn't work. Do I need something else? > > > > > > > Looks all ok. > But does 192.168.40.1 have a route to 192.168.50.0/24 via GW > 192.168.40.122? > > > > Internet: > > > Destination Gateway Flags Refs Use Netif Expire > > > default 192.168.40.1 UGS 0 0 rl0 > > > 127.0.0.1 link#6 UH 0 0 lo0 > > > 192.168.40.0/24 link#2 U 1 274 rl0 > > > 192.168.40.122 link#2 UHS 0 0 lo0 > > > 192.168.50.0/24 link#1 U 0 15 re0 > > > 192.168.50.1 link#1 UHS 0 0 lo0 > > > > Gruss Beat > > _______________________________________________ > 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 f.bonnet at esiee.fr Fri Sep 17 09:30:24 2010 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Fri Sep 17 09:30:30 2010 Subject: Problem with lagg driver at 8.1 ? Message-ID: <4C93352E.2000803@esiee.fr> Hello I am unable to make the lagg driver to work at 8.1 , it works well on another machine that runs 7.2 is there a problem with LAGG driver and Cisco switches at 8.1 ? Thanks From ivoras at freebsd.org Fri Sep 17 10:58:29 2010 From: ivoras at freebsd.org (Ivan Voras) Date: Fri Sep 17 10:58:32 2010 Subject: Need bsd make for AIX In-Reply-To: <4C92DD2A.4030609@telenix.org> References: <4C92DD2A.4030609@telenix.org> Message-ID: On 09/17/10 05:14, Chuck Robey wrote: > On 09/16/10 20:34, Ivan Voras wrote: >> On 09/16/10 08:58, srividya.k@tcs.com wrote: >>> Hi >>> Is there any BSD make versions available for AIX platform? >>> We require the make utility of BSD to compile few source programs. >>> >>> Is there any make utility compatible with AIX? Could you please give us >>> the URL where we can get the same? >> >> FreeBSD's make is an integral part of the FreeBSD file system. It is not >> created to be compatible across systems, but it is also not created to >> prevent this kind of porting. > > Wow. I disagree. It's been modified over the years to depend heavily on > a set of libraries that are available nowhere else but FreeBSD. This was The fact that it can be compiled with "gcc '-DDEFSHELLNAME="sh"' -o make *.c" indicates that it in fact doesn't use any libraries except for libc... > done (from what I can see) in the name of elegance ... because the > actual functions ARE available elsewhere, but a bunch of modifications > need to be added, no possible way is it going to compile anywhere else. Oh you're exaggerating, it's not that hard. I've made the attached patch in about 20 minutes, and most of it is including the small "lc.h" ad-hoc Linux compatibility header. I don't claim the patched make will work perfectly but it works for simple cases :) -------------- next part -------------- diff -u ../make/arch.c ./arch.c --- ../make/arch.c 2010-09-17 12:56:04.000000000 +0200 +++ ./arch.c 2010-09-17 12:28:59.000000000 +0200 @@ -38,6 +38,7 @@ * @(#)arch.c 8.2 (Berkeley) 1/2/94 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/buf.c ./buf.c --- ../make/buf.c 2010-09-17 12:56:04.000000000 +0200 +++ ./buf.c 2010-09-17 12:30:01.000000000 +0200 @@ -40,6 +40,7 @@ * @(#)buf.c 8.1 (Berkeley) 6/6/93 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/cond.c ./cond.c --- ../make/cond.c 2010-09-17 12:56:04.000000000 +0200 +++ ./cond.c 2010-09-17 12:30:25.000000000 +0200 @@ -39,6 +39,7 @@ * @(#)cond.c 8.2 (Berkeley) 1/2/94 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/dir.c ./dir.c --- ../make/dir.c 2010-09-17 12:56:04.000000000 +0200 +++ ./dir.c 2010-09-17 12:30:56.000000000 +0200 @@ -39,6 +39,7 @@ * @(#)dir.c 8.2 (Berkeley) 1/2/94 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/for.c ./for.c --- ../make/for.c 2010-09-17 12:56:04.000000000 +0200 +++ ./for.c 2010-09-17 12:31:32.000000000 +0200 @@ -32,6 +32,7 @@ * @(#)for.c 8.1 (Berkeley) 6/6/93 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/hash.c ./hash.c --- ../make/hash.c 2010-09-17 12:56:04.000000000 +0200 +++ ./hash.c 2010-09-17 12:37:44.000000000 +0200 @@ -39,6 +39,7 @@ * @(#)hash.c 8.1 (Berkeley) 6/6/93 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/hash_tables.c ./hash_tables.c --- ../make/hash_tables.c 2010-09-17 12:56:04.000000000 +0200 +++ ./hash_tables.c 2010-09-17 12:37:58.000000000 +0200 @@ -4,6 +4,7 @@ * auto-generated from FreeBSD: src/usr.bin/make/parse.c,v 1.114 2008/03/12 14:50:58 obrien Exp * DO NOT EDIT */ +#include "lc.h" #include #include "hash_tables.h" diff -u ../make/job.c ./job.c --- ../make/job.c 2010-09-17 12:56:04.000000000 +0200 +++ ./job.c 2010-09-17 12:38:12.000000000 +0200 @@ -39,6 +39,7 @@ * @(#)job.c 8.2 (Berkeley) 3/19/94 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); Only in .: lc.h Only in .: .lc.h.swp diff -u ../make/lst.c ./lst.c --- ../make/lst.c 2010-09-17 12:56:04.000000000 +0200 +++ ./lst.c 2010-09-17 12:38:23.000000000 +0200 @@ -36,7 +36,7 @@ * lst.c -- * Routines to maintain a linked list of objects. */ - +#include "lc.h" #include #include diff -u ../make/main.c ./main.c --- ../make/main.c 2010-09-17 12:56:04.000000000 +0200 +++ ./main.c 2010-09-17 12:55:03.000000000 +0200 @@ -37,6 +37,8 @@ * * @(#)main.c 8.3 (Berkeley) 3/19/94 */ +#include "lc.h" +#undef __unused #ifndef lint #if 0 @@ -372,7 +374,7 @@ rearg: optind = 1; /* since we're called more than once */ - optreset = 1; +/* optreset = 1;*/ #define OPTFLAGS "ABC:D:d:E:ef:I:ij:km:nPpQqrSstV:vXx:" for (;;) { if ((optind < argc) && strcmp(argv[optind], "--") == 0) { @@ -529,7 +531,7 @@ MFLAGS_append("-q", NULL); break; case 'r': - noBuiltins = TRUE; + noBuiltins = !noBuiltins; MFLAGS_append("-r", NULL); break; case 'S': @@ -892,7 +894,7 @@ * Initialize file global variables. */ expandVars = TRUE; - noBuiltins = FALSE; /* Read the built-in rules */ + noBuiltins = TRUE; /* Read the built-in rules */ forceJobs = FALSE; /* No -j flag */ curdir = cdpath; @@ -941,6 +943,7 @@ * to compile new make binary on old FreeBSD/pc98 systems, and * have the MACHINE variable set properly. */ +#ifdef __FreeBSD__ if ((machine = getenv("MACHINE")) == NULL) { int ispc98; size_t len; @@ -951,7 +954,7 @@ machine = "pc98"; } } - +#endif /* * Get the name of this type of MACHINE from utsname * so we can share an executable for similar machines. diff -u ../make/make.c ./make.c --- ../make/make.c 2010-09-17 12:56:04.000000000 +0200 +++ ./make.c 2010-09-17 12:38:32.000000000 +0200 @@ -38,6 +38,7 @@ * @(#)make.c 8.1 (Berkeley) 6/6/93 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/parse.c ./parse.c --- ../make/parse.c 2010-09-17 12:56:04.000000000 +0200 +++ ./parse.c 2010-09-17 12:38:48.000000000 +0200 @@ -38,6 +38,7 @@ * @(#)parse.c 8.3 (Berkeley) 3/19/94 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/proc.c ./proc.c --- ../make/proc.c 2010-09-17 12:56:04.000000000 +0200 +++ ./proc.c 2010-09-17 12:38:58.000000000 +0200 @@ -24,6 +24,7 @@ * SUCH DAMAGE. */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); Common subdirectories: ../make/PSD.doc and ./PSD.doc diff -u ../make/shell.c ./shell.c --- ../make/shell.c 2010-09-17 12:56:04.000000000 +0200 +++ ./shell.c 2010-09-17 12:39:06.000000000 +0200 @@ -37,6 +37,7 @@ * SUCH DAMAGE. */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/str.c ./str.c --- ../make/str.c 2010-09-17 12:56:04.000000000 +0200 +++ ./str.c 2010-09-17 12:39:16.000000000 +0200 @@ -38,6 +38,7 @@ * @(#)str.c 5.8 (Berkeley) 6/1/90 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/suff.c ./suff.c --- ../make/suff.c 2010-09-17 12:56:04.000000000 +0200 +++ ./suff.c 2010-09-17 12:39:24.000000000 +0200 @@ -38,6 +38,7 @@ * @(#)suff.c 8.4 (Berkeley) 3/21/94 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); Common subdirectories: ../make/.svn and ./.svn diff -u ../make/targ.c ./targ.c --- ../make/targ.c 2010-09-17 12:56:04.000000000 +0200 +++ ./targ.c 2010-09-17 12:39:35.000000000 +0200 @@ -38,6 +38,7 @@ * @(#)targ.c 8.2 (Berkeley) 3/19/94 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/util.c ./util.c --- ../make/util.c 2010-09-17 12:56:04.000000000 +0200 +++ ./util.c 2010-09-17 12:39:45.000000000 +0200 @@ -39,6 +39,7 @@ * @(#)main.c 8.3 (Berkeley) 3/19/94 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); diff -u ../make/var.c ./var.c --- ../make/var.c 2010-09-17 12:56:04.000000000 +0200 +++ ./var.c 2010-09-17 12:39:54.000000000 +0200 @@ -39,6 +39,7 @@ * @(#)var.c 8.3 (Berkeley) 3/19/94 */ +#include "lc.h" #include __FBSDID("$FreeBSD$"); From ndhertbsd at gmail.com Fri Sep 17 11:02:05 2010 From: ndhertbsd at gmail.com (n dhert) Date: Fri Sep 17 11:02:14 2010 Subject: /usr/local/etc/rc.d/imapproxyd start Message-ID: There seems to be a problem with starting up the IMAP proxy server imapproxyd: # /usr/local/etc/rc.d/imapproxyd start says Starting imapproxyd. but doesn't return the # prompt ... # ps -jawx | grep imap root 21490 21426 21490 64248 1 S+ 3 0:00.01 /bin/sh /usr/local/etc/rc.d/imapproxyd start root 21496 21490 21490 64218 1 S+ 3 0:00.01 /usr/local/sbin/in.imapproxyd I would expect the /bin/sh line to disappear and the # prompt to come back. If (from another terminal window) I do # /usr/local/etc/rc.d/imapproxyd stop is says Stopping imapproxyd. # (returns the prompt) If the first window, it says: Terminated /usr/local/etc/rc.d/imapproxyd: WARNING: failed to start imapproxyd ?? 1. what is wrong here and how to correct it ? 2. also, although I do have a user nobody and a group nobody in FreeBSD 8 and the config file /usr/local/etc/imapproxyd.conf specifies (default setting) proc_username nobody proc_groupname nobody I wonder why the processes (ps -jawx) show root as the process owner ? From ivoras at freebsd.org Fri Sep 17 11:05:09 2010 From: ivoras at freebsd.org (Ivan Voras) Date: Fri Sep 17 11:05:14 2010 Subject: Need bsd make for AIX In-Reply-To: References: <4C92DD2A.4030609@telenix.org> Message-ID: On 09/17/10 12:58, Ivan Voras wrote: > I don't claim the patched make will work perfectly but it works for > simple cases :) Also archived here (with the lc.h missed in previous version): http://people.freebsd.org/~ivoras/diffs/make-lc.patch From gautham at lisphacker.org Fri Sep 17 11:35:11 2010 From: gautham at lisphacker.org (Gautham Ganapathy) Date: Fri Sep 17 11:35:16 2010 Subject: Need bsd make for AIX In-Reply-To: References: Message-ID: On Thu, Sep 16, 2010 at 12:40 PM, wrote: > We have some open source code for RPC calls - DCE that has c programs and > corresponding makefiles. > When we tried gmake or make ( AIX make) , we were getting syntax errors. > We found that all the makefiles had syntax that corresponds to makeutility > of BSD? > > Do you have any alternative? > Is there any BSD make utility that can be installed in AIX machine? > > Srividya K > Tata Consultancy Services > Mailto: srividya.k@tcs.com > Website: http://www.tcs.com > ____________________________________________ Perhaps you could contact the authors of the code you are trying to compile and ask them how they did it. They might have a straightforward solution and maybe a reason as to why they chose BSD make Also, have you tried bmake? Regards Gautham Ganapathy http://lisphacker.org From freebsd at edvax.de Fri Sep 17 12:07:26 2010 From: freebsd at edvax.de (Polytropon) Date: Fri Sep 17 12:07:30 2010 Subject: Plextor PX-870A drives In-Reply-To: References: Message-ID: <20100917140723.ad984afa.freebsd@edvax.de> On Thu, 16 Sep 2010 22:40:49 -0400, Robert Ames wrote: > > I have a couple of Plextor PX-870A drives in different machines > (see below) that I'm trying to use with atapicam. The drives mostly > work (booting, reading data, etc.) but for whatever reason neither > of them will play audio CDs using the "cdcontrol play" command. > They just sit there. The drives never spin up. Have you made sure that this drive can actually play audio CDs? I assume that drive exist that can't. It's easy to check: # cdrecord -prcap -dev 0,0,0 Watch for the line "Does play audio CDs". This assumes you have ATAPICAM facility loaded. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd-questions at slightlystrange.org Fri Sep 17 12:12:49 2010 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Fri Sep 17 12:12:52 2010 Subject: /usr/local/etc/rc.d/imapproxyd start In-Reply-To: References: Message-ID: <20100917115925.GA58299@catflap.slightlystrange.org> On Fri, Sep 17, 2010 at 01:02:03PM +0200, n dhert wrote: > There seems to be a problem with starting up the IMAP proxy server > imapproxyd: > # /usr/local/etc/rc.d/imapproxyd start > says > Starting imapproxyd. > but doesn't return the # prompt ... > # ps -jawx | grep imap > root 21490 21426 21490 64248 1 S+ 3 0:00.01 /bin/sh > /usr/local/etc/rc.d/imapproxyd start > root 21496 21490 21490 64218 1 S+ 3 0:00.01 /usr/local/sbin/in.imapproxyd > > I would expect the /bin/sh line to disappear and the # prompt to come back. And so it should. I have just installed and tested it, and it works fine. The only way I can replicate the behaviour you report is if I misspell the name of the backend IMAP server - so start checking there. If it's not a typo, it is likely some other variety of DNS error. > > If (from another terminal window) I do > # /usr/local/etc/rc.d/imapproxyd stop > is says > Stopping imapproxyd. > # (returns the prompt) > > If the first window, it says: > Terminated > /usr/local/etc/rc.d/imapproxyd: WARNING: failed to start imapproxyd > ?? > > 1. what is wrong here and how to correct it ? > > 2. also, although I do have a user nobody and a group nobody in FreeBSD 8 > and the config file /usr/local/etc/imapproxyd.conf specifies (default > setting) > proc_username nobody > proc_groupname nobody > I wonder why the processes (ps -jawx) show root as the process owner ? It will need to start as root in order to bind all the resources it needs, before dropping privileges. Remember that only root can bind ports below 1024. It works fine here. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- 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/20100917/e97c3cc2/attachment.pgp From robertames at hotmail.com Fri Sep 17 12:24:10 2010 From: robertames at hotmail.com (Robert Ames) Date: Fri Sep 17 12:24:14 2010 Subject: Plextor PX-870A drives In-Reply-To: <20100917140723.ad984afa.freebsd@edvax.de> References: , <20100917140723.ad984afa.freebsd@edvax.de> Message-ID: It claims to be able to play audio CDs. $ cdrecord -prcap -dev 2,0,0 scsidev: '2,0,0' scsibus: 2 target: 0 lun: 0 Cdrecord-Clone 2.01 (i386-unknown-freebsd8.0) Copyright (C) 1995-2004 J\xf6rg Schilling Using libscg version 'schily-0.8'. Device type : Removable CD-ROM Version : 0 Response Format: 3 Capabilities : Vendor_info : 'PLEXTOR ' Identifikation : 'DVDR PX-870A ' Revision : '1.06' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Drive capabilities, per MMC-3 page 2A: Does read CD-R media Does write CD-R media Does read CD-RW media Does write CD-RW media Does read DVD-ROM media Does read DVD-R media Does write DVD-R media Does read DVD-RAM media Does write DVD-RAM media Does support test writing Does read Mode 2 Form 1 blocks Does read Mode 2 Form 2 blocks Does read digital audio blocks Does restart non-streamed digital audio reads accurately Does support Buffer-Underrun-Free recording Does read multi-session CDs Does read fixed-packet CD media using Method 2 Does not read CD bar code Does read R-W subcode information Does return R-W subcode de-interleaved and error-corrected Does read raw P-W subcode data from lead in Does return CD media catalog number Does return CD ISRC information Does support C2 error pointers Does not deliver composite A/V data Does play audio CDs Number of volume control levels: 256 Does support individual volume control setting for each channel Does support independent mute setting for each channel Does not support digital output on port 1 Does not support digital output on port 2 Loading mechanism type: tray Does support ejection of CD via START/STOP command Does not lock media on power up via prevent jumper Does allow media to be locked in the drive via PREVENT/ALLOW command Is not currently in a media-locked state Does not support changing side of disk Does not have load-empty-slot-in-changer feature Does not support Individual Disk Present feature Maximum read speed: 8468 kB/s (CD 48x, DVD 6x) Current read speed: 8468 kB/s (CD 48x, DVD 6x) Maximum write speed: 8468 kB/s (CD 48x, DVD 6x) Current write speed: 8468 kB/s (CD 48x, DVD 6x) Rotational control selected: CLV/PCAV Buffer size in KB: 2048 Copy management revision supported: 1 Number of supported write speeds: 10 Write speed # 0: 8467 kB/s CAV (CD 48x, DVD 6x) Write speed # 1: 7056 kB/s CLV/PCAV (CD 40x, DVD 5x) Write speed # 2: 5645 kB/s CLV/PCAV (CD 32x, DVD 4x) Write speed # 3: 4234 kB/s CLV/PCAV (CD 24x, DVD 3x) Write speed # 4: 2822 kB/s CLV/PCAV (CD 16x, DVD 2x) Write speed # 5: 1411 kB/s CLV/PCAV (CD 8x, DVD 1x) Write speed # 6: 0 kB/s CLV/PCAV (CD 0x, DVD 0x) Write speed # 7: 0 kB/s CLV/PCAV (CD 0x, DVD 0x) Write speed # 8: 0 kB/s CLV/PCAV (CD 0x, DVD 0x) Write speed # 9: 0 kB/s CLV/PCAV (CD 0x, DVD 0x) > Date: Fri, 17 Sep 2010 14:07:23 +0200 > From: freebsd@edvax.de > To: robertames@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: Plextor PX-870A drives > > On Thu, 16 Sep 2010 22:40:49 -0400, Robert Ames wrote: > > > > I have a couple of Plextor PX-870A drives in different machines > > (see below) that I'm trying to use with atapicam. The drives mostly > > work (booting, reading data, etc.) but for whatever reason neither > > of them will play audio CDs using the "cdcontrol play" command. > > They just sit there. The drives never spin up. > > Have you made sure that this drive can actually play audio CDs? > I assume that drive exist that can't. It's easy to check: > > # cdrecord -prcap -dev 0,0,0 > > Watch for the line "Does play audio CDs". This assumes you have > ATAPICAM facility loaded. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From djr at pdconsec.net Fri Sep 17 12:47:45 2010 From: djr at pdconsec.net (David Rawling) Date: Fri Sep 17 12:47:49 2010 Subject: Windows AD and ntpd sync problem In-Reply-To: References: Message-ID: <4C935F8E.8080804@pdconsec.net> On 13/09/2010 4:45 PM, Omer Faruk SEN wrote: > Hi, > > I am trying to sync my time against a ntp server on Active Directory > but no matter what i do ntpd did not sync against AD's NTP server. > ntpdate works perfectly against AD but not ntpd. I think you will have trouble doing this. AD's time service is not a true NTP service - it's SNTP with a dash of smarts around increasing frequency and backing off, plus automatic selection of masters / distribution hierarchy. I'd suggest setting up the NTP server to use the NTP Pool project (pool.ntp.org, or the appropriate country subdomain) and configuring AD to synchronise to the NTP server (that should work fine). Dave. -- David Rawling PD Consulting And Security Mob: +61 412 135 513 Email: djr@pdconsec.net Please note that whilst we take all care, neither PD Consulting and Security nor the sender accepts any responsibility for viruses and it is your responsibility to scan for viruses. The contents are intended only for use by the addressee and may contain confidential and/or privileged material and any use by other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. From dfunk6 at cox.net Fri Sep 17 15:53:10 2010 From: dfunk6 at cox.net (Derek Funk) Date: Fri Sep 17 15:53:14 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <28e7249799bdca81a7aee1cb2670506b.squirrel@pop.pknet.net> References: <20100917081249.2a101981.cyb.@gmx.net> <28e7249799bdca81a7aee1cb2670506b.squirrel@pop.pknet.net> Message-ID: <4C93892A.1020708@cox.net> On 9/17/2010 2:14 AM, Peter wrote: >> On Fri, 17 Sep 2010 01:45:54 +0100 >> Chabane HEMDANI wrote: >> >> >>> I've search, read, learn, follow instructions about nearly all the >>> web-documentation about installing a new printer to work under cups >>> without >>> any success. I've an HP Laser Jet 1018 printer and tools given by >>> package >>> print/hplip don't work correctly. >>> >>> I'm using FreeBSD 8.1-RELEASE >>> I've rebuild a kernel without ulpt. >>> I modified my /etc/rc.conf to enable cupsd and hpiod and hpssd. >>> I modified /etc/devfs.rules like suggested by cups (see pkg_info -D >>> cups-base-1.4.4 ). >>> I've made many other configurations like that suggested at >>> http://diablotins.org/index.php/Imprimer,_hplip >>> >>> >> >>> and finally, I've given to my students the wrong answer that "no one >>> can >>> print under FreeBSD !" >>> >> Which is wrong, all you need is a printer, that is _supported_. >> >> >>> Please where is the problem? >>> >> The LaserJet 1018 uses another protocol, so you need aditional software. >> Take a look at these sites: >> http://www.openprinting.org/printer/HP/HP-LaserJet_1018 >> http://foo2zjs.rkkda.com/ >> >> Before buying the next printer, see whether or not it is supported by >> Cups http://www.cups.org/ppd.php . Same goes for your students. >> >> Andreas >> -- >> GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ >> Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 >> >> > I got an HP Laser 1018 - works perfectly fine using the foo2zjs drivers, > and I do believe ultp0. I can send you my configs once I get home if you > want. The real pain which I keep forgetting after a reload or on new pc, > was having to initialize [cat firmware> /dev/ulpt0] each time the > computer is rebooted [ie @reboot in cron]. > > ]Peter[ > > _______________________________________________ > 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 issue I tend to get is cups doesnt have permission to access the /dev/ulpt... i have to add an entry in devfs.conf to all it to print From FreeBSD at insightbb.com Fri Sep 17 16:18:45 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Fri Sep 17 16:18:49 2010 Subject: apropos returning same item twice In-Reply-To: <1284624764.20540.650.camel@predator-ii.buffyverse> References: <201009111442.49114.FreeBSD@insightbb.com> <201009151827.04122.FreeBSD@insightbb.com> <1284624764.20540.650.camel@predator-ii.buffyverse> Message-ID: <201009171218.38065.FreeBSD@insightbb.com> On Thursday 16 September 2010 4:12:44 am Wayne Sierke wrote: > On Wed, 2010-09-15 at 18:27 -0400, Steven Friedrich wrote: > > On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote: > > > On Tue, 2010-09-14 at 00:37 +0000, Alexander Best wrote: > > > > On Sat Sep 11 10, Steven Friedrich wrote: > > > > > Why does apropos list mysql(1) twice? > > > > > > > > > > It doesn't return duplicates with apropos kde... > > > > > > > > maybe you have a gzip'ed and plain version in /usr ? > > > > > > > > see PR #4419. > > > > > > > > cheers. > > > > alex > > > > > > Are you certain that /etc/manpath.config doesn't just still > > > have /usr/X11R6/man configured (as well as /usr/local/man)? Admittedly > > > the kde issue is a mystery, assuming its manpages are installed > > > in /usr/local/man. This system has the following: > > > > > > OPTIONAL_MANPATH /usr/local/man > > > # (disabled by xorg-libraries port) OPTIONAL_MANPATH /usr/X11R6/man > > > > > > MANPATH_MAP /usr/local/bin /usr/local/man > > > # (disabled by xorg-libraries port) > > > MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man > > > > > > > > > Is the whatis file being updated? Check the timestamp: > > > > > > # ls -l /usr/local/man/whatis > > > -rw-r--r-- 1 root wheel 273178 Sep 11 04:22 /usr/local/man/whatis > > > > > > > > > Wayne > > > > > > > > admin@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql > > > > > > > > > _______________________________________________ > > > 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 still have X11R6 in usr symlinked to /usr/local. This was done per > > entry 20070519 in /usr/ports/UPDATING. > > > > Do we still need this symlink? > > Yes, anything that references /usr/X11R6 gets directed to /usr/local. Well I temporarily removed it and this anomaly disappeared. Perhaps we just have to suffer until we know the symlink can be removed. I thought it was going to eventually be removed... > > Did you check /etc/manpath.config and the timestamp > on /usr/local/man/whatis? > grep -v '^#' manpath.config MANDATORY_MANPATH /usr/share/man MANDATORY_MANPATH /usr/share/openssl/man OPTIONAL_MANPATH /usr/local/man MANPATH_MAP /bin /usr/share/man MANPATH_MAP /usr/bin /usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man OPTIONAL_MANPATH /usr/local/lib/perl5/5.12.2/man OPTIONAL_MANPATH /usr/local/lib/perl5/5.12.2/perl/man > Another check is that the output of manpath(1) doesn't > include /usr/X11R6/man. > manpath /usr/share/man:/usr/local/man:/usr/local/kde4/man:/usr/share/openssl/man:/usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/man > > Wayne -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From FreeBSD at insightbb.com Fri Sep 17 16:53:21 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Fri Sep 17 16:53:23 2010 Subject: Latest KDE 4.5.1 Message-ID: <201009171253.13675.FreeBSD@insightbb.com> Can anyone install the Fortune plasma widget? It doen't show up in my widget box, and I even tried to install the downloaded plasmoid I found in /tmp/kde-admin. No joy. I'm trying to discover if this anomaly is everywhere, or I just need to rebuild something.. -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From frank at shute.org.uk Fri Sep 17 18:01:41 2010 From: frank at shute.org.uk (Frank Shute) Date: Fri Sep 17 18:01:46 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: Message-ID: <20100917171056.GA72692@orange.esperance-linux.co.uk> On Fri, Sep 17, 2010 at 01:45:54AM +0100, Chabane HEMDANI wrote: > > I'm computer science teacher at university of Tizi-ouzou in Algeria. I'm > using FreeBSD since 2007 when I "discover" it by chance when searching in > the Web something about Linux. > Since that date, I always invited and recommended to my students to install > and use this "magical" and my favorite system. > > However, all my students retort me that they have a problem of installing > their printers. I have so this problem, so I can't tell good-bye > definitively to winosor and Linux. I always need them for printing. > > I've search, read, learn, follow instructions about nearly all the > web-documentation about installing a new printer to work under cups without > any success. I've an HP Laser Jet 1018 printer and tools given by package > print/hplip don't work correctly. > > I'm using FreeBSD 8.1-RELEASE > I've rebuild a kernel without ulpt. > I modified my /etc/rc.conf to enable cupsd and hpiod and hpssd. > I modified /etc/devfs.rules like suggested by cups (see pkg_info -D > cups-base-1.4.4 ). > I've made many other configurations like that suggested at > http://diablotins.org/index.php/Imprimer,_hplip > > and finally, I've given to my students the wrong answer that "no one can > print under FreeBSD !" > > > > Please where is the problem? > Please help me to help others. > Please help me to enlarge the FreeBSD users community. Many congratulations on your efforts to promote FreeBSD! I'm not going to tell you how to print with CUPS as it's too complicated and fragile for my liking. Have you thought about using lpd(8)? If your printer can understand Postscript (and I believe HP Laserjets can) then this can be a fairly simple process as you just send the raw PS to the printer with lpr(1) via a spool and filter. My filter: #!/bin/sh cat - echo "\f" # and my printcap(5) isn't overly complicated either and the format is well documented in it's manpage. Most Unix applications can produce Postscript or PDF (which can be converted to PS with ps2pdf which comes with Ghostscript) and LaTeX can produce PS with dvips. I recommend LaTeX for all users, especially university based users who are going to produce thesis/technical docs. Anyway, just a thought. Setting up lpd is documented in the Handbook of course. If your printer can't speak Postscript then you have to use Ghostscript and something like apsfilter with lpd. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From jrisom at gmail.com Fri Sep 17 18:04:41 2010 From: jrisom at gmail.com (Joshua Isom) Date: Fri Sep 17 18:08:29 2010 Subject: Plextor PX-870A drives In-Reply-To: References: , <20100917140723.ad984afa.freebsd@edvax.de> Message-ID: <4C93ADB4.6020000@gmail.com> On 9/17/2010 7:24 AM, Robert Ames wrote: > > It claims to be able to play audio CDs. > There's two things I can think of. With cdcontrol on a cd-rw drive I have, it needs the cd audio cable hooked up from the drive to the motherboard or else it's silent. My dvd-rw drive doesn't have that port but I haven't tested audio cd's in it. It's possible the "does play audio cd's" is about reading the format rather than playing, and I believe cdcontrol tells the drive to play instead of the OS playing it. You could try another media player to see if it'll play the disc or if you can rip the tracks off. From ryan.coleman at cwis.biz Fri Sep 17 18:36:05 2010 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Fri Sep 17 18:36:10 2010 Subject: Plextor PX-870A drives In-Reply-To: <4C93ADB4.6020000@gmail.com> References: , <20100917140723.ad984afa.freebsd@edvax.de> <4C93ADB4.6020000@gmail.com> Message-ID: <1D16D2D4-D906-4678-9AA1-A8E182F04F49@cwis.biz> On Sep 17, 2010, at 1:04 PM, Joshua Isom wrote: > On 9/17/2010 7:24 AM, Robert Ames wrote: >> >> It claims to be able to play audio CDs. >> > > There's two things I can think of. With cdcontrol on a cd-rw drive I have, it needs the cd audio cable hooked up from the drive to the motherboard or else it's silent. My dvd-rw drive doesn't have that port but I haven't tested audio cd's in it. It's possible the "does play audio cd's" is about reading the format rather than playing, and I believe cdcontrol tells the drive to play instead of the OS playing it. You could try another media player to see if it'll play the disc or if you can rip the tracks off. So you should plug headphones into the front? From wblock at wonkity.com Fri Sep 17 18:39:08 2010 From: wblock at wonkity.com (Warren Block) Date: Fri Sep 17 18:39:12 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100917171056.GA72692@orange.esperance-linux.co.uk> References: <20100917171056.GA72692@orange.esperance-linux.co.uk> Message-ID: On Fri, 17 Sep 2010, Frank Shute wrote: > I'm not going to tell you how to print with CUPS as it's too > complicated and fragile for my liking. Agreed. > Have you thought about using lpd(8)? If your printer can understand > Postscript (and I believe HP Laserjets can) then this can be a fairly > simple process as you just send the raw PS to the printer with lpr(1) > via a spool and filter. > > My filter: > > #!/bin/sh > > cat - > echo "\f" > > # That might not even be necessary; it just adds a formfeed to the job, which PostScript doesn't need. Helps with some PCL jobs, and PS printers usually do PCL also. > and my printcap(5) isn't overly complicated either and the format is > well documented in it's manpage. My lpd doc is an attempt to put everything about lpd in one place, with simple but complete examples: http://www.wonkity.com/~wblock/docs/html/lpdprinting.html From freebsd at edvax.de Fri Sep 17 18:40:01 2010 From: freebsd at edvax.de (Polytropon) Date: Fri Sep 17 18:40:06 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100917171056.GA72692@orange.esperance-linux.co.uk> References: <20100917171056.GA72692@orange.esperance-linux.co.uk> Message-ID: <20100917202414.8d259989.freebsd@edvax.de> On Fri, 17 Sep 2010 18:10:56 +0100, Frank Shute wrote: > I'm not going to tell you how to print with CUPS as it's too > complicated and fragile for my liking. If you have a printer that understands at least SOME standards, maybe you want to look at apsfilter instead of CUPS; apsfilter is a lightweight, but still powerful collection of printer filters that supports many standards. > Have you thought about using lpd(8)? If your printer can understand > Postscript (and I believe HP Laserjets can) then this can be a fairly > simple process as you just send the raw PS to the printer with lpr(1) > via a spool and filter. If the printer can understand PCL, as many HP Laserjet products do (at least the professional ones from "office class" product lines), you can also use apsfilter for that. In this case, it's even to be considered an overhead as apsfilter uses gs (ghostscript) to turn the PS input into PCL. A short read of "man gs" should give you all you need to know about how to use PCL for your printer. Oh, and professional office-class printers usually are networked printers, so no need to mess with silly USB. :-) > Most Unix applications can produce Postscript or PDF (which can be > converted to PS with ps2pdf which comes with Ghostscript) and LaTeX > can produce PS with dvips. Postscript is *the* default output format for printing in UNIX in general, as well as in X. For LaTeX, there's pdflatex to produce PDF output directly, a very useful tool for automated document production and printing. (Yes, you don't need "Acrobat Reader" to print PDF files, you can just use "lpr *.pdf" to get a stack of PDF files printed without any further interaction.) > I recommend LaTeX for all users, especially university based users who > are going to produce thesis/technical docs. Absolutely. > If your printer can't speak Postscript then you have to use > Ghostscript and something like apsfilter with lpd. As I mentioned. Sadly, there nowadays is a whole bunch of printing stuff, obsoleting one unified system that is to be used for printing. What comes to my mind? Of course CUPS, hpijs, Gutenprint, Foomatic, Gimp-print, several deamons and datafiles... what a mess - it's almost like "WIndows". Sorry. I would like to have ONE thing that is used for printing, and that does support ALL printers, and that does not force the user to search the web (bah!) for some arbitrary binary files. Of course, that's what printer manufacturers seem to want: Incompatible, non-standard and complicated crap, requiring bloated software to run. That's not how UNIX experience should be. My take: Whenever possible, get a professional printer. Think BEFORE you buy it. Even used (!) office-class hardware is acceptable. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From rsmith at xs4all.nl Fri Sep 17 19:11:32 2010 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Sep 17 19:11:35 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100917171056.GA72692@orange.esperance-linux.co.uk> References: <20100917171056.GA72692@orange.esperance-linux.co.uk> Message-ID: <20100917185816.GA20973@slackbox.erewhon.net> On Fri, Sep 17, 2010 at 06:10:56PM +0100, Frank Shute wrote: > On Fri, Sep 17, 2010 at 01:45:54AM +0100, Chabane HEMDANI wrote: > > > > I'm computer science teacher at university of Tizi-ouzou in Algeria. I'm > > using FreeBSD since 2007 when I "discover" it by chance when searching in > > the Web something about Linux. > > Since that date, I always invited and recommended to my students to install > > and use this "magical" and my favorite system. > > > > However, all my students retort me that they have a problem of installing > > their printers. I have so this problem, so I can't tell good-bye > > definitively to winosor and Linux. I always need them for printing. > > > > I've search, read, learn, follow instructions about nearly all the > > web-documentation about installing a new printer to work under cups without > > any success. I've an HP Laser Jet 1018 printer and tools given by package > > print/hplip don't work correctly. According to http://www.openprinting.org/printer/HP/HP-LaserJet_1018 it is best to use the foo2zjs driver: http://foo2zjs.rkkda.com/ But it only works in black and white. > > Please where is the problem? Printers these days are by-and-large built for MS windoze, without much thought for other operating systems. So they tend to use unpublished communications protocols or only work with the driver that works on windoze. When shopping for a printer, preferably look for one that understands the PostScript page description language. Those will work in FreeBSD and Linux without problems. These tend to be more high-end models, and may be more expensive when new. Secondhand they are probably more affordable, especially for students! If that is not an option, try for a printer that is supported by ghostscript (the print/ghostscript8 port) You can see the printers it supports by running 'make config' in /usr/ports/print/ghostscript8. Printers that use the PCL (HP) or ESC/P (epson) printing protocols should work without problems. Alternatively look for a printer that is supported by the "gutenprint" driver; http://www.openprinting.org/driver/gutenprint/ When you are thinking about buying a certain model of printer, _always_ check the openprinting database to see if it will work _before_ buying it: http://www.openprinting.org/printers > Postscript (and I believe HP Laserjets can) then this can be a fairly Some do, particularly high-end models. Most consumer-oriented stuff does not. Hope this helps! Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [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/20100917/8b62a4c2/attachment.pgp From modulok at gmail.com Fri Sep 17 20:45:42 2010 From: modulok at gmail.com (Modulok) Date: Fri Sep 17 20:45:46 2010 Subject: (no subject) In-Reply-To: <201009161818.56077.lobo@bsd.com.br> References: <201009161818.56077.lobo@bsd.com.br> Message-ID: >> I have an old box I want to turn into a file server backup machine. >> Unfortunately, the mainboard has only PATA headers. I do have three >> PCI slots though, so I was looking at a PCI SATA controller card that >> will get along with FreeBSD without a fuss. Nothing fancy, just >> something inexpensive that I can plug a few SATA drives into. Then >> I'll create a graid3 with them, or mess around with ZFS. Anyone using >> something worth a recommendation? >There are IDE to SATA converters. You plug it directly into the IDE connector and on the other end you have a SATA150 plug. This is news to me. I now have two on the way :) Thank you! -Modulok- From freebsd-questions-local at be-well.ilk.org Fri Sep 17 20:53:18 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri Sep 17 20:53:22 2010 Subject: Plextor PX-870A drives In-Reply-To: <1D16D2D4-D906-4678-9AA1-A8E182F04F49@cwis.biz> (Ryan Coleman's message of "Fri, 17 Sep 2010 13:36:01 -0500") References: <20100917140723.ad984afa.freebsd@edvax.de> <4C93ADB4.6020000@gmail.com> <1D16D2D4-D906-4678-9AA1-A8E182F04F49@cwis.biz> Message-ID: <44eicshz2b.fsf@be-well.ilk.org> Ryan Coleman writes: > On Sep 17, 2010, at 1:04 PM, Joshua Isom wrote: > >> On 9/17/2010 7:24 AM, Robert Ames wrote: >>> >>> It claims to be able to play audio CDs. >>> >> >> There's two things I can think of. With cdcontrol on a cd-rw drive I have, it needs the cd audio cable hooked up from the drive to the motherboard or else it's silent. My dvd-rw drive doesn't have that port but I haven't tested audio cd's in it. It's possible the "does play audio cd's" is about reading the format rather than playing, and I believe cdcontrol tells the drive to play instead of the OS playing it. You could try another media player to see if it'll play the disc or if you can rip the tracks off. > > So you should plug headphones into the front? If there's a headphone jack on the front of the *drive*, then yes, that will probably work. What was intended, though, was probably to suggest that instead of cdcontrol(1), you install and try a cd playing program that supports "digital extraction". Most programs in ports/audio that can play CDs at all will be able to handle this. From aaflatooni at yahoo.com Fri Sep 17 22:02:50 2010 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Fri Sep 17 22:02:54 2010 Subject: Can I compile sendmail simply through the ports collection? Message-ID: <26988.74794.qm@web51801.mail.re2.yahoo.com> Hi, I was wondering if I can simply recompile sendmail from the ports collection for FreeBSD 7.1 server. I need to recompile the sendmail on the server to add Cyrus SASL2 support. The instructions on FreeBSD point to src /usr/src/usr.sbin/sendmail which doesn't exist and I was wondering if I could simply recompile using the ports collection. Here is the instructions about compiling the Cyrus sasl2 support: http://www.freebsd.org/doc/handbook/smtp-auth.html Thanks From perryh at pluto.rain.com Fri Sep 17 22:13:42 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Fri Sep 17 22:13:45 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100917202414.8d259989.freebsd@edvax.de> References: <20100917171056.GA72692@orange.esperance-linux.co.uk> <20100917202414.8d259989.freebsd@edvax.de> Message-ID: <4c93e765.iednoY3/JBBqSNBq%perryh@pluto.rain.com> Polytropon wrote: > I would like to have ONE thing that is used for printing, and that > does support ALL printers ... Isn't that exactly what CUPS is supposed to be? From m.seaman at infracaninophile.co.uk Fri Sep 17 22:37:57 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Sep 17 22:38:00 2010 Subject: Can I compile sendmail simply through the ports collection? In-Reply-To: <26988.74794.qm@web51801.mail.re2.yahoo.com> References: <26988.74794.qm@web51801.mail.re2.yahoo.com> Message-ID: <4C93EDB2.3040307@infracaninophile.co.uk> On 17/09/2010 22:36:07, Aflatoon Aflatooni wrote: > Hi, > I was wondering if I can simply recompile sendmail from the ports collection for > FreeBSD 7.1 server. > I need to recompile the sendmail on the server to add Cyrus SASL2 support. The > instructions on FreeBSD point to src /usr/src/usr.sbin/sendmail which doesn't > exist and I was wondering if I could simply recompile using the ports > collection. Yes. 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/20100917/521916a0/signature.pgp From lobo at bsd.com.br Sat Sep 18 00:33:20 2010 From: lobo at bsd.com.br (Mario Lobo) Date: Sat Sep 18 00:33:24 2010 Subject: (no subject) In-Reply-To: References: <201009161818.56077.lobo@bsd.com.br> Message-ID: <201009172131.54449.lobo@bsd.com.br> On Friday 17 September 2010 17:45:40 Modulok wrote: > >> I have an old box I want to turn into a file server backup machine. > >> Unfortunately, the mainboard has only PATA headers. I do have three > >> PCI slots though, so I was looking at a PCI SATA controller card that > >> will get along with FreeBSD without a fuss. Nothing fancy, just > >> something inexpensive that I can plug a few SATA drives into. Then > >> I'll create a graid3 with them, or mess around with ZFS. Anyone using > >> something worth a recommendation? > > > >There are IDE to SATA converters. You plug it directly into the IDE > >connector > > and on the other end you have a SATA150 plug. > > This is news to me. I now have two on the way :) > > Thank you! > -Modulok- You're welcome ! Let me know if you need any info on the one I have. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winfoes FREE) From gibblertron at gmail.com Sat Sep 18 03:03:48 2010 From: gibblertron at gmail.com (patrick) Date: Sat Sep 18 03:03:52 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? In-Reply-To: <20100917014530.GA35456@thought.org> References: <20100917014530.GA35456@thought.org> Message-ID: I don't for sure, but I'd say it's off by default because not everyone runs PHP with Apache, and mod_php5/libphp5.so is strictly for Apache. Lots of people use PHP with FastCGI or other purposes. If you always want it to be on, add the option to /etc/make.conf. Or, if you're using portupgrade or some other port management utility for upgrades, there are ways to set the default options for the ports you use. Hindsight is 20/20, but I'll go out on a limb here and say that it's generally considered good practice to test software after upgrading -- particularly if it's a web server running websites. Another thing to consider would be running something like Nagios to monitor your systems/sites to make sure things are working properly. Patrick On Thu, Sep 16, 2010 at 6:45 PM, Gary Kline wrote: > > Guys, > > Tell me if I'm wrong to be ticked off. ?I just learned that my website > has been down for weeks. ?My KVM switch doesn't work to let me have > control of the console of my server [ns1|ethic].thought.org. ?Whether > it was a cheap KVM switch or whether the '09 Dell 550 is defective is > unknown. ?I have a new KVM switch. ?I do need direct control of the > console for many reasons, but mostly to portupgrad ports. > > In the months since I first got ethic working, everything _but_ X11 > worked. ?In late August I upgraded apache and php5, rebooted, and > just-assumed {TM} that apache22 was working. ?Weeks ago I did read and > edit my non-blog blog; further reason to assume that everything worked. > > A couple hours ago my web server was not running. ?I traced it to a > missing libphp5.so. ?I checked the makefile and found the php stuff > defaults to "off". ...I am thinking this is a security risk, but most > of us are reasonably sophisticated about such things .... > > Comments, anybody? > > -- > ?Gary Kline ?kline@thought.org ?http://www.thought.org ?Public Service Unix > ? ?The 7.83a release of Jottings: http://jottings.thought.org/index.php > ? ? ? ? ? ? ? ? ? ? ? ? ? http://journey.thought.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 aaflatooni at yahoo.com Sat Sep 18 03:53:19 2010 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Sat Sep 18 03:53:23 2010 Subject: Anyone familiar with authsmtp service and Sendmail. Message-ID: <361386.18020.qm@web51801.mail.re2.yahoo.com> I am trying to configure my sendmail to send out the emails generated locally on the server using the authsmtp service. But all their documentations and all my tweaking has been completely useless. I get the following errors in the log: Sep 18 00:03:25 zara sm-mta[58380]: STARTTLS=client, relay=mail.authsmtp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Sep 18 00:03:35 zara sm-mta[58380]: o8I43OdE058378: to=, delay=00:00:11, xdelay=00:00:11, mailer=relay, pri=30260, relay=mail.authsmtp.com. [62.13.128.188], dsn=5.0.0, stat=Service unavailable Here is the content of my freebsd.mc divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.3.4.1 2009/04/15 03:14:26 kensmith Exp $') OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -T /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') define(`SMART_HOST', `[mail.authsmtp.com]')dnl dnl FEATURE(`authinfo')dnl define(`RELAY_MAILER_ARGS', `TCP $h 25')dnl define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBrokenAAAA') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl Please help as I am going crazy!!!! I just can't get it to work! Thanks From perryh at pluto.rain.com Sat Sep 18 04:13:54 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Sep 18 04:13:56 2010 Subject: sysinstall vs gmirror In-Reply-To: References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> <4C8CD2A4.3020203@infracaninophile.co.uk> <4c8da53d.pPK/NzHAHPlQPOfh%perryh@pluto.rain.com> Message-ID: <4c943b69.bsyYirMmUuB/1m0g%perryh@pluto.rain.com> Adam Vande More wrote: > On Sun, Sep 12, 2010 at 11:14 PM, wrote: > > The part I don't know how to do is partitioning gm0 by hand. > > (I suppose it would require some sort of arcane incantations > > involving bsdlabel.) For all its limitations, sysinstall > > seems at least to know how to translate a reasonably human- > > readable representation of the desired slice and partition > > layout into the necessary fdisk and bsdlabel commands. > > I don't know of any exact howto, but the general principles are > laid out here: > > http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror I finally had time to (try to) read through that, and I'm having trouble locating a description of how to partition a gmirror. (The page seems oriented almost entirely to ZFS and gpart, the only mention of gmirror being in connection with swap.) I'm quite sure I don't want to attempt ZFS on a machine with only 512MB, and I'm not at all sure that a BIOS of this age would understand gpart. > It shows how to load geom modules from usb stick I had already figured out that part :) Fixit# ln -s /dist/boot/kernel /boot Fixit# gmirror load which is all I think I need until I get the mirror partitioned. > Next fdisk/gpart accordingly (don't forget to make it bootable). This is where I get stuck. I've partitioned the physical drives using sysinstall, but how do I go about partitioning gm0? > If your setup if GPT compatible, I recommend using it. How do I find out whether this setup is GPT compatible? > IMO, it's significantly more straightforward than the old > mbr style. I sure did not get that impression from reading gpart(8) :( For starters there seem to be at least 6 kernel options, of which I guess I may need 3: GEOM_PART_BSD, GEOM_PART_GPT, and GEOM_PART_MBR; there's apparently no "edit" function; and one has to puzzle out what is meant by a "protective MBR" as part of understanding how to make a GPT partition bootable. From amvandemore at gmail.com Sat Sep 18 05:04:35 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Sat Sep 18 05:04:39 2010 Subject: sysinstall vs gmirror In-Reply-To: <4c943b69.bsyYirMmUuB/1m0g%perryh@pluto.rain.com> References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> <4C8CD2A4.3020203@infracaninophile.co.uk> <4c8da53d.pPK/NzHAHPlQPOfh%perryh@pluto.rain.com> <4c943b69.bsyYirMmUuB/1m0g%perryh@pluto.rain.com> Message-ID: On Fri, Sep 17, 2010 at 11:09 PM, wrote: > > Next fdisk/gpart accordingly (don't forget to make it bootable). > > This is where I get stuck. I've partitioned the physical drives > using sysinstall, but how do I go about partitioning gm0? > Your problem is that you are still using sysinstall. You can't for your purposes(this was pointed out earlier). Fixit only! Notice in the example it creates some basic filesystems/diretories and then chroot's and extracts the dist's manually. You must do the same after you do the gmirror/gjournal setup to your liking and have created the appropriate fs's and mounted them. > > > If your setup if GPT compatible, I recommend using it. > > How do I find out whether this setup is GPT compatible? > Hardware(BIOS) dependent. > For starters there seem to be at least 6 kernel options, of > which I guess I may need 3: GEOM_PART_BSD, GEOM_PART_GPT, and > GEOM_PART_MBR; there's apparently no "edit" function; and one > has to puzzle out what is meant by a "protective MBR" as part > of understanding how to make a GPT partition bootable. > Yeah, there is no label editor or resize functionality, yet anyway. You don't need to worry about any of those kernel options yet, just get it working by loading from loader.conf. You can customize your kernel later. I think the "protective MBR" part relates to GPT/MBR hybrid style which is not what I think you should do, but maybe it works haven't tried it. You'll use gpart to create(and label) at least 3 parttitions, the boot, swap, and freebsd-ufs filesystem. You'll have to create more if you want seperate /usr /var /tmp etc. Once the fs's are created and mounted, extract, edit the /boot/loader.conf in the chroot to load gmirror, gjournal, and anything else you need, Note about the bootloader part, use gpart to install the boot code to the boot partition you create, I don't think you'll need to do anything special other than that. This example may also be helpful because it deals with GPT/UFS manual install, but doesn't use any other geom classes. http://wiki.freebsd.org/RootOnZFS/UFSBoot -- Adam Vande More From sfourman at gmail.com Sat Sep 18 06:22:50 2010 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sat Sep 18 06:22:57 2010 Subject: BSD licensed Web Fourm / Blog Message-ID: Hello, I thought I would ask quick, does anyone know of web forums or blog software that is BSD licensed? Thank you for any feedback -- Sam Fourman Jr. Fourman Networks http://www.fourmannetworks.com From perryh at pluto.rain.com Sat Sep 18 06:24:36 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Sep 18 06:24:39 2010 Subject: sysinstall vs gmirror In-Reply-To: References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> <4C8CD2A4.3020203@infracaninophile.co.uk> <4c8da53d.pPK/NzHAHPlQPOfh%perryh@pluto.rain.com> <4c943b69.bsyYirMmUuB/1m0g%perryh@pluto.rain.com> Message-ID: <4c945a3f.3BNAtV+UuZ+M1RW2%perryh@pluto.rain.com> Adam Vande More wrote: > On Fri, Sep 17, 2010 at 11:09 PM, wrote: > > > Next fdisk/gpart accordingly (don't forget to make it bootable). > > > > This is where I get stuck. I've partitioned the physical drives > > using sysinstall, but how do I go about partitioning gm0? > > Your problem is that you are still using sysinstall. No, I'm not. > You can't for your purposes(this was pointed out earlier). > Fixit only! The question is, how do I go about partitioning gm0 from Fixit? I've seen nothing so far that describes how to go about creating multiple partitions on a gmirror (or on anything else, for that matter) without either using sysinstall or having to understand gpart. > Notice in the example it creates some basic filesystems/diretories using gpart and ZFS > ... > > > If your setup if GPT compatible, I recommend using it. > > > > How do I find out whether this setup is GPT compatible? > > Hardware(BIOS) dependent. OK, given the system's age I will presume that it is not, thus (I suppose) no reason to deal with gpart. From jamesbrandongooch at gmail.com Sat Sep 18 07:14:50 2010 From: jamesbrandongooch at gmail.com (Brandon Gooch) Date: Sat Sep 18 07:14:52 2010 Subject: sysinstall vs gmirror In-Reply-To: <4c945a3f.3BNAtV+UuZ+M1RW2%perryh@pluto.rain.com> References: <4c83190a.SG+LIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI+H+UzM+J/y%perryh@pluto.rain.com> <4c8c5260.+COCCpHgloxRSY2/%perryh@pluto.rain.com> <4C8CD2A4.3020203@infracaninophile.co.uk> <4c8da53d.pPK/NzHAHPlQPOfh%perryh@pluto.rain.com> <4c943b69.bsyYirMmUuB/1m0g%perryh@pluto.rain.com> <4c945a3f.3BNAtV+UuZ+M1RW2%perryh@pluto.rain.com> Message-ID: On Sat, Sep 18, 2010 at 1:20 AM, wrote: > Adam Vande More wrote: [SNIP] > The question is, how do I go about partitioning gm0 from Fixit? > I've seen nothing so far that describes how to go about creating > multiple partitions on a gmirror (or on anything else, for that > matter) without either using sysinstall or having to understand > gpart. I've used something like this from the Fixit console (using /dev/ad0 as an example): Fixit# kldload /dist/boot/kernel/geom_mirror.ko Fixit# gmirror -v -b round-robin gm0 /dev/ad0 Fixit# fdisk -v -B -I /dev/mirror/gm0 Fixit# bsdlabel -w -B /dev/mirror/gm0s1 Partition with: # bsdlabel -e /dev/mirror/gm0s1 Create a UFS file system (with Soft Updates): Fixit# newfs -U /dev/mirror/gm0s1a Mount the newly created file system: Fixit# mount /dev/mirror/gm0s1a /mnt ...then follow one of the procedures for doing a "manual" install from fixit, e.g. Fixit# cd /dist/8.1-* Fixit# export DESTDIR=/mnt Fixit# for dir in base catpages dict doc games info lib32 manpages ports; \ do (cd $dir ; ./install.sh) ; done Fixit# cd src ; ./install.sh all Fixit# cd ../kernels ; ./install.sh generic Fixit# cd /mnt/boot ; cp -Rlp GENERIC/* /mnt/boot/kernel/ [taken from http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror] > OK, given the system's age I will presume that it is not, thus > (I suppose) no reason to deal with gpart. I've used GPT partitioning on all of my machines, ranging from a circa-2000 Toshiba Pentium 3 junker to a new i7 Quad Core beast. No problem so far, and it is a lot more logical (IMHO) than the fdisk/bsdlabel method. Also, the "manual" installation method demonstrated above hasn't failed me yet. Having stated all of this, I will say that I spent time reading the handbook, quite a few man pages, and a a wiki article here and there -- and I still feel only slightly more comfortable than I did after my first successful attempt! It is starting to "come together" for me now, finally :) Well, I hope this helps you get unstuck... Good Luck! -Brandon From djr at pdconsec.net Sat Sep 18 08:20:31 2010 From: djr at pdconsec.net (David Rawling) Date: Sat Sep 18 08:20:37 2010 Subject: FreeBSD 8.1 - boot failures (upgrades and clean installs) - root FS corrupt? Message-ID: <4C947600.9010201@pdconsec.net> Hi all I'm striking some trouble attempting to upgrade (and also in building a clean replacement) for an existing 8.0-RELEASE-p3 system running in a virtual machine. The host is Hyper-V R2 and 8.0 has been just fine and dandy. Upgrades and installation generally appear to go fine - no error messages that I can see - but in each case on restarting the system I get only a black screen with a single hyphen on the second line, and the cursor flashing underneath it. Leaving the VM for many minutes does not improve matters - but a Ctrl+Alt+Del does restart it, so it's not "hung" per se. It just fails to start. This is the result of a clean installation: The VM configuration is simple enough - a 64GB disk on IDE 0/0, a DVD on IDE 1/0, an Intel 100Mbps network card (de0), 2 CPUs and 1GB of RAM. Booting the Fixit shell from the DVD - fdisk shows the disk partitioned, seemingly correctly. I've created partitions like so: ad0s1a = 2GB = / ad0s1b = 2GB = swap ad0s1d = 10GB = /var ad0s1e = 48GB = /usr ad0s1f = 2GB = /tmp Mounting them shows the root volume seemingly has data: Fixit# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/md0 39561 3051 900 77% / devfs 1 0 0 100% /dev /dev/acd0 2251930 2251930 0 100% /dist /dev/ad0s1a 2026030 272730 1591218 15% /mnt/root /dev/ad0s1d 10154158 194 9341632 0% /mnt/var /dev/ad0s1e 48745002 695558 44149844 2% /mnt/root Fixit# Yet the 15% of used space is ... well not used properly: Fixit# ls -la /mnt/root total 0 Fixit# fsck_ffs /dev/ad0s1a produces errors for many (all?) inodes - as if file writes were not properly completed / flushed. When fsck is completed, all contents are in lost+found as inode numbers. Any suggestions on debugging what's going on? I'd really like to be able to get current. Dave. -- David Rawling Principal Consultant PD Consulting And Security Mob: +61 412 135 513 Email: djr@pdconsec.net Please note that whilst we take all care, neither PD Consulting and Security nor the sender accepts any responsibility for viruses and it is your responsibility to scan for viruses. The contents are intended only for use by the addressee and may contain confidential and/or privileged material and any use by other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. From reko.turja at liukuma.net Sat Sep 18 09:13:46 2010 From: reko.turja at liukuma.net (Reko Turja) Date: Sat Sep 18 09:13:50 2010 Subject: BSD licensed Web Fourm / Blog In-Reply-To: References: Message-ID: > I thought I would ask quick, does anyone know of web forums or blog > software that is BSD licensed? Serendipity - http://www.s9y.org/ Works well with Postgres too. -Reko From djr at pdconsec.net Sat Sep 18 11:44:52 2010 From: djr at pdconsec.net (David Rawling) Date: Sat Sep 18 11:44:55 2010 Subject: FreeBSD 8.1 - boot failures (upgrades and clean installs) - root FS corrupt? In-Reply-To: <4C947600.9010201@pdconsec.net> References: <4C947600.9010201@pdconsec.net> Message-ID: <4C94A2E1.7070004@pdconsec.net> On 18/09/2010 6:19 PM, I wrote: > Any suggestions on debugging what's going on? I'd really like to be able to > get current. > > Dave. Hmm. Further diagnosis is even more interesting. The output from the installation (console 2 - Alt-F2) shows segmentation faults and core dumps for mv, rm and ln commands - and the list gets longer if I try to do anything on the emergency shell (Alt-F4). Adding a user doesn't auto-populate the UID nor the shell, then claims that the user already exists. I also neglected to say that I am installing the AMD64 version - perhaps this is useful information :) Dave. -- David Rawling Principal Consultant PD Consulting And Security 20 Goodin Road Baulkham Hills, NSW 2153 Australia Mob: +61 412 135 513 Email: djr@pdconsec.net Please note that whilst we take all care, neither PD Consulting and Security nor the sender accepts any responsibility for viruses and it is your responsibility to scan for viruses. The contents are intended only for use by the addressee and may contain confidential and/or privileged material and any use by other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. From jdixon at omniti.com Sat Sep 18 11:47:55 2010 From: jdixon at omniti.com (Jason Dixon) Date: Sat Sep 18 11:48:03 2010 Subject: BSD licensed Web Fourm / Blog In-Reply-To: References: Message-ID: <20100918114748.GJ3577@omniti.com> On Sat, Sep 18, 2010 at 01:22:48AM -0500, Sam Fourman Jr. wrote: > Hello, > > I thought I would ask quick, does anyone know of web forums or blog > software that is BSD licensed? Blogsum is BSD licensed. -- Jason Dixon OmniTI Computer Consulting, Inc. jdixon@omniti.com 443.325.1357 x.241 From freebsd at edvax.de Sat Sep 18 12:15:28 2010 From: freebsd at edvax.de (Polytropon) Date: Sat Sep 18 12:15:59 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <4c93e765.iednoY3/JBBqSNBq%perryh@pluto.rain.com> References: <20100917171056.GA72692@orange.esperance-linux.co.uk> <20100917202414.8d259989.freebsd@edvax.de> <4c93e765.iednoY3/JBBqSNBq%perryh@pluto.rain.com> Message-ID: <20100918141525.c7564d66.freebsd@edvax.de> On Fri, 17 Sep 2010 15:10:45 -0700, perryh@pluto.rain.com wrote: > Polytropon wrote: > > > I would like to have ONE thing that is used for printing, and that > > does support ALL printers ... > > Isn't that exactly what CUPS is supposed to be? Obviously not. Look at the dependencies, the bloat, and the overall complicatedness of installing a printer. Also, the documentation situation could be better. When dealing with CUPS, foomatic and Gutenprint also enter the field, as well as hp*d stuff that is not included (and needs additional attention). There needs to be lots of action besides CUPS to get it working for certain printers. Try - with CUPS - to install a dotmatrix printer on a parallel port that is currently NOT connected. Last time I checked, this was not possible. Under one point of view you are right: CUPS has been become a quite standard assumption for many programs. If you install them, they will install CUPS (even if you're already running apsfilter or nothing, just pure system's lpd). I see this when printing from Gimp: "/usr/local/bin/lpstat: Unable to connect to server", clearly a CUPS message. This also shows that it doesn't integrate with system services that well, but its use seems to be hardcoded into programs. >From this opinion, you might get the impression that I don't like CUPS. You are right. But that's no problem as I don't have to use it. :-) I would LOVE to accept CUPS as a versatile part of the FreeBSD infrastructure, if it just wouldn't be that bloated, complicated, generally accepted as a default (in that case, it would have the potential of maybe becoming part of the base system), and finally abandoning the point of view that is has to cater "Windows"-typical kinds of thinking - ununderstandable, illogical. Of course I assume that you know that printer manufactureres that build home consumer crap are not interested in following established standards and recommendations, so THEY are the primary cause of trouble with printers. This is not CUPS's or FreeBSD's fault. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd.user at seibercom.net Sat Sep 18 12:50:35 2010 From: freebsd.user at seibercom.net (Jerry) Date: Sat Sep 18 12:50:39 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100918141525.c7564d66.freebsd@edvax.de> References: <20100917171056.GA72692@orange.esperance-linux.co.uk> <20100917202414.8d259989.freebsd@edvax.de> <4c93e765.iednoY3/JBBqSNBq%perryh@pluto.rain.com> <20100918141525.c7564d66.freebsd@edvax.de> Message-ID: <20100918085030.3ea69103@scorpio> On Sat, 18 Sep 2010 14:15:25 +0200 Polytropon articulated: > On Fri, 17 Sep 2010 15:10:45 -0700, perryh@pluto.rain.com wrote: > > Polytropon wrote: > > > > > I would like to have ONE thing that is used for printing, and that > > > does support ALL printers ... > > > > Isn't that exactly what CUPS is supposed to be? > > Obviously not. Look at the dependencies, the bloat, and the > overall complicatedness of installing a printer. Also, the > documentation situation could be better. When dealing with > CUPS, foomatic and Gutenprint also enter the field, as well > as hp*d stuff that is not included (and needs additional > attention). There needs to be lots of action besides CUPS to > get it working for certain printers. The same could be said in regards to a lot of other applications. > Try - with CUPS - to install a dotmatrix printer on a parallel > port that is currently NOT connected. Last time I checked, this > was not possible. > > Under one point of view you are right: CUPS has been become > a quite standard assumption for many programs. If you install > them, they will install CUPS (even if you're already running > apsfilter or nothing, just pure system's lpd). I see this when > printing from Gimp: "/usr/local/bin/lpstat: Unable to connect > to server", clearly a CUPS message. This also shows that it > doesn't integrate with system services that well, but its use > seems to be hardcoded into programs. > > >From this opinion, you might get the impression that I don't > like CUPS. You are right. But that's no problem as I don't have > to use it. :-) > > I would LOVE to accept CUPS as a versatile part of the FreeBSD > infrastructure, if it just wouldn't be that bloated, complicated, > generally accepted as a default (in that case, it would have the > potential of maybe becoming part of the base system), and finally > abandoning the point of view that is has to cater "Windows"-typical > kinds of thinking - ununderstandable, illogical. You keep insisting that it is complicated; yet, you fail to specifically state what it is that you are failing to comprehend. Your "bloat" comment makes no sense at all. What you consider "bloat" another user might well consider essential. Should we deny them in order to satisfy you? > Of course I assume that you know that printer manufactureres that > build home consumer crap are not interested in following established > standards and recommendations, so THEY are the primary cause of > trouble with printers. This is not CUPS's or FreeBSD's fault. What standards? Some arbitrary protocol that you or some other unofficial entity has determined to be the ONLY ACCEPTABLE protocol. It could very well be said that FreeBSD, and perhaps others, are failing to implement the commonly used protocols presently in effect by printer manufacturers. It is THEIR product. They have an ABSOLUTE right to create and distribute THEIR product as THEY see fit. The constant and repetitious rantings that manufacturers are failing to follow some arbitrary, self proclaimed "standard" is wearing thin. Perhaps if the FreeBSD team decided to jump on the band wagon as opposed to trying to reinvent the wheel, the ease of integrating devices into the system would be simplified and thereby enhance the OS's standing and acceptance. They again, bitching, complaining and blaming others is easier, and unfortunately, the common norm in today's society. "Never do for yourself, what you can blame on others" has become the new battle call. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ If the rich could pay the poor to die for them, what a living the poor could make! From freebsd at edvax.de Sat Sep 18 13:40:38 2010 From: freebsd at edvax.de (Polytropon) Date: Sat Sep 18 13:40:42 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100918085030.3ea69103@scorpio> References: <20100917171056.GA72692@orange.esperance-linux.co.uk> <20100917202414.8d259989.freebsd@edvax.de> <4c93e765.iednoY3/JBBqSNBq%perryh@pluto.rain.com> <20100918141525.c7564d66.freebsd@edvax.de> <20100918085030.3ea69103@scorpio> Message-ID: <20100918154035.0213e57b.freebsd@edvax.de> On Sat, 18 Sep 2010 08:50:30 -0400, Jerry wrote: > On Sat, 18 Sep 2010 14:15:25 +0200 > Polytropon articulated: > > Obviously not. Look at the dependencies, the bloat, and the > > overall complicatedness of installing a printer. Also, the > > documentation situation could be better. When dealing with > > CUPS, foomatic and Gutenprint also enter the field, as well > > as hp*d stuff that is not included (and needs additional > > attention). There needs to be lots of action besides CUPS to > > get it working for certain printers. > > The same could be said in regards to a lot of other applications. That's sadly true. Many years ago, you could "pkg_add -r progname" and then be sure that you have exactly what you needed. Today, this is often a problem, just think about OpenOffice or Firefox. Mainly X related stuff tends to "dissolve", as X itself does. Parts of such software get faster obsoleted than properly docu- mented. I think this is just a normal side-effect of "rapid application development", or maybe the natural way of how soft- ware evolves per se, to take advantage of faster and better hardware. > You keep insisting that it is complicated; yet, you fail to > specifically state what it is that you are failing to comprehend. I mentioned the inability to install a printer that is currently not connected, and in this special case, it was a parallel dotmatrix printer. > Your > "bloat" comment makes no sense at all. With today's big hard disks, lots of RAM and fast processors you will be mostly right: Resources are plenty, so the need for efficient programming isn't present anymore. Especially in GUI projects there are abstractions of abstractions of abstractions of libraries depending on libraries depending on libraries - of course intended, as it's much easier to access resources in this way than accessing the "bare metal". > What you consider "bloat" > another user might well consider essential. That's surely true. > Should we deny them in order > to satisfy you? I'm speaking out for choice. If tool A isn't able to do the job, there is another tool B that is. But as soon as tool A is mandatory and can't be replaced, subsequent calls will refer to A statically, and B will be out of scope, and out of support, so it won't work anyway. Pop goes the choice. > What standards? Some arbitrary protocol that you or some other > unofficial entity has determined to be the ONLY ACCEPTABLE protocol. In X, PS is the standard for printing output. For printers itself, there is PS, PCL and ESC/P, to name the three most known ones. But what about printers that need to be injected a firmware before they will be a printer? Or a printer that just as a specific driver for some arbitrary outdated "Windows"? This is NOT standards. Just imagine every printer manufacturer would make his own plugs. With parallel / Centronics, USB and RJ45 (for network printers) we have standardized connectors. Why can't we have standard printer protocols, which means: Why can't manufactureres just use what's already established? Now you might ask: WHERE is it established? Compare office-class equipment to home consumer crap. You will see that all the "expensive" printers can do at least PS or PCL (and in most cases both, and maybe some more). They use the standards that are common for those printers. Why not use them for home consumer products as well? Where's the big problem (the BIG problem that causes it NOT to be possible)? Technical answers are welcome. > It > could very well be said that FreeBSD, and perhaps others, are failing > to implement the commonly used protocols presently in effect by > printer manufacturers. That could be said, yes. Implementing a protocol requires the protocol to be KNOWN. That might often be a problem. > It is THEIR product. They have an ABSOLUTE right > to create and distribute THEIR product as THEY see fit. You are right. The conclusion on my side is NOT to by products that are incompatible. > The constant and repetitious rantings that manufacturers are failing to > follow some arbitrary, self proclaimed "standard" is wearing thin. As I did prove, it's not about "self proclaimed standards", it's about established ones, and they don't seem to be very arbitrary as they are widely spread. You will notice that arbitrary stuff is only present in niche markets, or already died out. > Perhaps if the FreeBSD team decided to jump on the band wagon as > opposed to trying to reinvent the wheel, the ease of integrating > devices into the system would be simplified and thereby enhance the > OS's standing and acceptance. I'd love to see that - just an example: If one buys a combined inkpee printer with scanner, attaching it to the system should make an ulpt and uscanner device available. The ulpt will understand PCL or any halfway standardized protocol that can easily be installed to the system as a printer filter ("driver"). The uscanner will be accessible by (x)sane / scanimage through its connection to a standard (!) SCSI scanner device (pass). > They again, bitching, complaining and > blaming others is easier, and unfortunately, the common norm in today's > society. I think that's not true. See how many proprietary crap devices today work well with FreeBSD. To be able to do so, developers did a really great job - working with blackboxes isn't as funny as it may sound. > "Never do for yourself, what you can blame on others" has > become the new battle call. Well... no. Where do you think most software for FreeBSD comes from? We can even run "Flash" and other stuff that doesn't even support the FreeBSD operating system! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bonomi at mail.r-bonomi.com Sat Sep 18 17:43:51 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Sat Sep 18 17:43:53 2010 Subject: The nightmarish problem of installing a printer Message-ID: <201009181741.o8IHfrJq028360@mail.r-bonomi.com> > Date: Sat, 18 Sep 2010 08:50:30 -0400 > From: Jerry > To: FreeBSD > Subject: Re: The nightmarish problem of installing a printer > > You keep insisting that it is complicated; yet, you fail to > specifically state what it is that you are failing to comprehend. Your > "bloat" comment makes no sense at all. What you consider "bloat" > another user might well consider essential. Should we deny them in order > to satisfy you? CUPS is an overly complex attempt t provide a 'general case' solution a problem that is, in fact, *INSOLVABLE* in the classical UNIX environment. CUPS supports a -very- small subset of that 'general case' *beyond* that which is supported by the traditional, and =far simpler= mechanisms.`o And, CUPS, itself, addresses -only- one half of te underlying issue, to start with. The _one_ thing that CUPS does have going for it is that it allows an application -- one which is *WRITTEN*AROUND* CUPS capabilities, to output a 'partial' print file, and have CUPS insert the missing parts. "Nice idea', usable only in "CUPS-aware" apps. Needless to say, there are very few of those. So this is a 'benefit' that is of 'no benefit' to most users. FACT: to print anything more complex than "plain ASCII' one has to have a methodology of conveying 'formatting' information (typeface, point-size, positioning, orientation, etc.,etc., ad nauseum) to the output device. IN A MANNER IN WHICH THAT DEVICE UNDERSTANDS. To do -that- requires that the software -producing- the data stream _know_ what the printer is capable of, and how to tell it what to do. CUPS does *NOT* include any means to get that information _to_ the output producing application. Hence it is only 'half an answer" _at_best_. It attempts to 'work around' this limitation in a half-assed way, by utilizing additional _external_ tools to convert from a 'standard' means of conveying formatting information (de jure standards of Postscript, and .PDF, and de facto standard PCL 5) into the proprietary gobbledygook that a few specific models of printer require. Don't have one of that handful of devices that (a) don't speak a standard protocol ,and (b) do speak something that an 'extension' that you _do_ have can generate, and you *still* can't print to that printer. UNLESS it does speak a standard protocol -- in which case you don't need CUPS at all. Virtually _every_ application for the UNIX world outputs in one of three formats: "Plain ASCII", "PostScript / PDF", or "HP PCL"(PCL5). {Bleep}ing "WinPrinters" can't even print ASCII text without it having been 'translated' by the driver available *only* from the manufacturer, let alone being able to deal with either of the 'smarter' page formats. If you want to play in the Unix world, having a printer that is capable of PLAIN TEXT (ASCII) output is an absolute necessity. If you want 'formatted' output, it is necessary to have 'something' that understands the protocol that is output by whatever you use to compose in. This can be a device that natively "speaks the language" _or_ something for which a 'translator" service exists. In -either- of those situations the traditional 'lpr/lpd' print spooler is "adequate" for the task. > What standards? Some arbitrary protocol that you or some other > unofficial entity has determined to be the ONLY ACCEPTABLE protocol. It > could very well be said that FreeBSD, and perhaps others, are failing > to implement the commonly used protocols presently in effect by > printer manufacturers. It is THEIR product. They have an ABSOLUTE right > to create and distribute THEIR product as THEY see fit. Yup. and if *THEY* choose to market a product that is _unusable_ by part of their potential market, _that_too_ is their 'right'. It's nobody's _fault_ that a product *designed* exclusively with the needs of -one- market segment in mind is 'unusable' in a different market segment. it _is_, however a 'reality' with which those in that 'different' market segment must (a) be aware of, and (b) "deal with", as a part of deciding to be _in_ that different market segment. > The constant and repetitious rantings that manufacturers are failing to > follow some arbitrary, self proclaimed "standard" is wearing thin. You, Sir, fit the categorization of "he who knoweth not, and knoweth not that he knoweth not", in the sense of the traditional Middle Eastern proverb. (those unfamiliar with the saying are encouraged to Google the phrase.) The issue is -not- whether the manufacturer 'follows a standard', but whether or not the device uses a *PUBLISHED* communications protocol. IF a device uses a "proprietary" communications protocol, one can do the same thing *IF* ( AND *ONLY* *IF*) one has the specifications of that protocol to work wit. There are disadvantages to writing to a proprietary protocol -- you can talk only to things that speak that particular language, where a 'standard' protocol allows one to talk to any device that speaks the standard language. LASTLY, if a device uses an *UNPUBLISHED* protocol, you are pretty much out-of-luck trying to generate data to it _yourself_. You have to "buy something' from somebody who -does_ know how to communicate with the device in question. That assumes that there _is_ "somebody" who offers such a tHing that works in the environment you need it to work in. _All_ the so-called 'standards' *are* published, so anybody can write stuff that output bit-streams in compliance with that standard, and have a reasonable expectation that it will 'work' on a device that claims to be compliant with that standard. Some have been 'formalized' by a so-called 'standards organization', *MOST* are just "something that the developer published for others to use", and a sufficient number of 'others' *DID*USE*IT*. The advantages to the 'community' of producing a device that is 'compatible' with other manufacturers is immense. Consider what would happen if every computer manufacturer used is _own_ type of connector and interface logic for their 'XSB" implementation of "something similar to USB" -- you'd only be able to buy devices that worked with your machine from your manufacturer. No carrying a XSB stick from home to work, if they were 'different' kinds of machines. > Perhaps if the FreeBSD team decided to jump on the band wagon as > opposed to trying to reinvent the wheel, the ease of integrating > devices into the system would be simplified and thereby enhance the > OS's standing and acceptance. There is *NO* fscking 'bandwagon' to "jump onto", with regard to supporting the things various manufacturers do with low-end printers. There are 'real' printers, that speak "some" form of a _published_ protocol, and can be used with *ANY* device that outputs data in conformance with that *PUBLISHED* protocol,.... And then there are "WinPrinters", which use an _unpublished_ protocol known *ONLY* to te manufacturer, and, as a result, work *ONLY* when they are 'fed' data by a driver WRITTEN BY THE MANUFACTURER. And the -only- drivers that that manufacturer provides are for MS-Windows. They can make 'really inexpensive' printers 'for Windows', but they are virtually useless _outside_ of that environment because of a LACK OF MANUFACTURER SUPPORT. The manufacturer doesn't supply drivers for any other O/s, NOR do they the provide the protocol information If the manufacturer _does_not_publish_ the communications protocol (WHATEVER it is) that a given printer uses, *and* the manufacturer does -not- provide a 'device' driver for the operating system one is using, there is, for all =practical= purposes, *NOTHING* that anybody can do about it. Many/most 'winprinters' are relatively dumb raster imaging devices, with the rasterization done _in_the_host_computer_ device-driver. *UNFORTUNATELY* the raster data is usually _compressed_ before being sent to the printer. using 'whatever' compression and coding scheme the manufacturer feels like implementing. look at the specs for 'Group III' fax transmission to get an idea of the 'games' played. RLL coding, with variable-length tokens as stand-ins for other bit-patterns. Without access to the 'known' translation- table of bit-patterns, you are essentially out-of-luck trying to reverse- engineer what that data-stream represents -- since the translation-table is *NOT* transmitted in the data stream, and without it you can't tell where one symbol ends and the next begins. Beyond -that-, there is the issue of any (also _undocumented_) "framing" that the manufacturer may include, to allow detection of transmission errors, re-send requests, etc, or simply to facilitate "ack/nak" flow control. Let alone any 'start-of-job' initialization and/or end-of-job clean-up stuff. Parameters in which may _entirely_ change the way the 'body data' is interpreted, just to add to the confusion. To "reverse engineer' the communications protocol used by any _single_ model of 'WinPrinter' (which probably sells for under $100) is a "project" that takes well in excess of US$50,000 of professional talent. *IF* the manu- facurer published the protocol involved, the effort is probably only in the 'hundreds of dollars' range. If it uses a 'standard' protocol, the added cost for a driver is probably _zero_, because it already exists. I've *DONE* major reverse-engineering jobs, I -know- what's involved. It's not particularly simple/easy when you have _uncompressed_ data to work with. Add an 'unknown' form of compression, and you're eyebrows deep in a swamp known as advanced crypto-analysis. If you're _LUCKY_ the printer is microprocessor-controlled *AND* the ROM programming is readable. then it is 'merely' a matter of decoding what the ROM program does. If the logic is in read-protected PLA, or, worse, ASICs, you're SOL. It's really *REALLY* difficult to find the process to 'decode' something when you (a) don't have the 'cleartext', and (b) can't recognize _a_ clear- text when you encounter it. > They again, bitching, complaining and > blaming others is easier, and unfortunately, the common norm in today's > society. "Never do for yourself, what you can blame on others" has > become the new battle call. FACT: *MANUFACTURERS* chose to go for a 'subset' of the market, where they could offer 'especially low prices' by tailoring the device for THAT MARKET *ONLY*. They have concluded that the 'additional profits' to be made from selling to a 'larger' marketplace are _not_worth_the_cost_ of the additional efforts that it takes to play in tat larger marketplace -- *even*if* that 'cost' is simply the release of the communication protocol specifications. It *IS* their prerogative, and right, to do so. FACT: UNIX, FreeBSD, and any other environment were GhostScript runs, support an *AMAZINGLY*LARGE* number of 'undocumented' printers, when you consider the fact that their communications protocols _are_ undocumented by the manufacturer. It's true that those printers constitute a miniscule share of the total number of *UNDOCUMENTED* printers that people might like to use, and that the ones that -have- been 'reverse engineered' art not the newest models on te market, but, reference to the famed 'dancing bear', the surprising thing is not 'how many' there are, but that there _are_ any such printers supported, *AT*ALL*. From henry.olyer at gmail.com Sat Sep 18 20:15:55 2010 From: henry.olyer at gmail.com (Henry Olyer) Date: Sat Sep 18 20:15:58 2010 Subject: "Unable to find device node for ./dev/ad4s1b in /dev" Message-ID: This morning I downloaded and burned the latest CD for 8.1. Then I took a brand new laptop, an ACER, model ASPIRE-7741Z-5731, and tried to install FreeBSD. (It had a copy of windoz on it. goodbye and good riddance.) My point is simple, this is about as vanilla as it gets. And I get the error, shown in the subject line. Not sure if this is important, but the ad4s1b partition is the SWAP partition. --jg From peter at boosten.org Sat Sep 18 20:37:47 2010 From: peter at boosten.org (Peter Boosten) Date: Sat Sep 18 20:37:50 2010 Subject: "Unable to find device node for ./dev/ad4s1b in /dev" In-Reply-To: References: Message-ID: <50A8932F-7292-44C0-BA5F-2DAFFCFA7E63@boosten.org> On 18 sep 2010, at 22:15, Henry Olyer wrote: > This morning I downloaded and burned the latest CD for 8.1. > > Then I took a brand new laptop, an ACER, model ASPIRE-7741Z-5731, > and tried > to install FreeBSD. (It had a copy of windoz on it. goodbye and good > riddance.) > > My point is simple, this is about as vanilla as it gets. > > And I get the error, shown in the subject line. > > Not sure if this is important, but the ad4s1b partition is the SWAP > partition. > I lost data this way... And I'm quite happy (not for you) to see .I'm not the only one experiencing this phenomena. Peter > --jg > _______________________________________________ > 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 peter at boosten.org Sat Sep 18 20:58:20 2010 From: peter at boosten.org (Peter Boosten) Date: Sat Sep 18 20:58:24 2010 Subject: Problems with upgrade - lost partition In-Reply-To: <4C778326.8090802@boosten.org> References: <4C778326.8090802@boosten.org> Message-ID: <04B5DBAB-ECB2-45B4-BC1E-068824019A3A@boosten.org> Ping... -- HTTP://www.boosten.org On 27 aug 2010, at 11:19, Peter Boosten wrote: > Hi, > > I recently updated a machine (running on VMWare) from 7.2 to 8.1. > > This machine has two (virtual) disks. While the upgrade went rather > smooth ('make buildworld, make buildkernel, make installkernel, reboot > into single user, mergemaster -p, make installworld, mergemaster, > reboot), I lost the partition on the second harddrive. > > So after reboot, the machine went directly in single user mode, > because > my /dev/ad1s1a was gone. The only devices in /dev where ad1 (the disk) > and ad1s1 (the slice). > > Since I had a backup this didn't seem to be such a problem, however > recreating the slice was. > > The only way I could get rid of that slice was through the gpart > utility > (sysinstall wouldn't help me at all): > > gpart delete ad1s1 > gpart destroy ad1 > > After that sysinstall worked again. Is there any way around this (and > preferably rescue the partition somehow, since I have more machines to > upgrade, and while backups are there, restoring creates an additional > delay in the whole process). > > Also, the numbering of the NICs changed from le0 to le1, which isn't > that a big problem, but rather annoying. > > > Thanks in advance. > > Peter > -- > http://www.boosten.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 glimp at live.com Sat Sep 18 21:43:41 2010 From: glimp at live.com (dan) Date: Sat Sep 18 21:43:44 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: Message-ID: On 17.09.2010 02:45, Chabane HEMDANI wrote: > I'm computer science teacher at university of Tizi-ouzou in Algeria. I'm > using FreeBSD since 2007 when I "discover" it by chance when searching in > the Web something about Linux. > Since that date, I always invited and recommended to my students to install > and use this "magical" and my favorite system. > > However, all my students retort me that they have a problem of installing > their printers. I have so this problem, so I can't tell good-bye > definitively to winosor and Linux. I always need them for printing. > > I've search, read, learn, follow instructions about nearly all the > web-documentation about installing a new printer to work under cups without > any success. I've an HP Laser Jet 1018 printer and tools given by package > print/hplip don't work correctly. > > I'm using FreeBSD 8.1-RELEASE > I've rebuild a kernel without ulpt. > I modified my /etc/rc.conf to enable cupsd and hpiod and hpssd. > I modified /etc/devfs.rules like suggested by cups (see pkg_info -D > cups-base-1.4.4 ). > I've made many other configurations like that suggested at > http://diablotins.org/index.php/Imprimer,_hplip > > and finally, I've given to my students the wrong answer that "no one can > print under FreeBSD !" > > > > Please where is the problem? > Please help me to help others. > Please help me to enlarge the FreeBSD users community. > _______________________________________________ > 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" > > :-) Definitely, I am feeling very "lucky". We have 2 multi-functional devices here. 1 - Samsung SCX-4100 . Once I installed SPLIX and the CUPS "system", I manually added the device to CUPS (using SCX-4200 ppd file) and print 2-3 test pages. For the moment I have not tried scanning. (p.s. for printing, I tried first using lpd and the foomatic filter but the filtering process unexpectedly broke: probably a misconfiguration with foomatic or a bug in it). 2 - HP Photosmart C3180. Once I installed HPLIP and adjusted some permissions I used a hp sw tool to update the CUPS printers' database (all with the __default__ 8.1 kernel). I then Succesfully printed a test page and successfully tested the device as a scanner (blank scanning of the plate). The "annoying" and computer-time-consuming part was recompiling gtk and qt with CUPS support, that was not the default when I first installed everything. In the end, CUPS was also easy to use to share the 1st printer in our small and simple network. To close, a sincere thank you to all the people directly/indirectly involved in all the branches (mailing lists too :-) ) of this project. daniele From perryh at pluto.rain.com Sat Sep 18 22:13:29 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Sep 18 22:13:31 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100918141525.c7564d66.freebsd@edvax.de> References: <20100917171056.GA72692@orange.esperance-linux.co.uk> <20100917202414.8d259989.freebsd@edvax.de> <4c93e765.iednoY3/JBBqSNBq%perryh@pluto.rain.com> <20100918141525.c7564d66.freebsd@edvax.de> Message-ID: <4c9538b5.IAmh0DDtGtrjQEr2%perryh@pluto.rain.com> Polytropon wrote: > On Fri, 17 Sep 2010 15:10:45 -0700, perryh@pluto.rain.com wrote: > > Polytropon wrote: > > > I would like to have ONE thing that is used for printing, > > > and that does support ALL printers ... > > > > Isn't that exactly what CUPS is supposed to be? > > Obviously not. Er, I said "is supposed to be", not "is" :) "Common Unix Printing System" certainly sounds as if the intent was to be the "ONE thing that is used for printing". Whether they did a good job of it is another question entirely :( From FreeBSD at insightbb.com Sat Sep 18 23:05:04 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Sat Sep 18 23:05:10 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <4c9538b5.IAmh0DDtGtrjQEr2%perryh@pluto.rain.com> References: <20100918141525.c7564d66.freebsd@edvax.de> <4c9538b5.IAmh0DDtGtrjQEr2%perryh@pluto.rain.com> Message-ID: <201009181905.01254.FreeBSD@insightbb.com> On Saturday 18 September 2010 6:09:57 pm perryh@pluto.rain.com wrote: > Polytropon wrote: > > On Fri, 17 Sep 2010 15:10:45 -0700, perryh@pluto.rain.com wrote: > > > Polytropon wrote: > > > > I would like to have ONE thing that is used for printing, > > > > and that does support ALL printers ... > > > > > > Isn't that exactly what CUPS is supposed to be? > > > > Obviously not. > > Er, I said "is supposed to be", not "is" :) "Common Unix Printing > System" certainly sounds as if the intent was to be the "ONE thing > that is used for printing". Whether they did a good job of it is > another question entirely :( > _______________________________________________ > 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 think that you don't fully apreciate the task at hand. When Unix was first invented, there were no laser printers, ink jets, USB, etc. That no one can create a one-size fits all solution OWES to the fact it's simply not always possible to unify disparate designs. They weren't designed to be interoperable. Technology keeps marchng forward. We need to discard all of it eventually. If you want easy, peasy printing success under *nix, choose a Postscript capable printer that has a network connection and supports IPP. Make sure the priner has a .ppd file available for it. You can get this file for free before buying the printer itself. I use (and love) my Brother HL-6050DN mono Laser. I'd like to get a Brother color laser, but it has to wait... -- From FreeBSD at insightbb.com Sat Sep 18 23:05:04 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Sat Sep 18 23:05:11 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <4c9538b5.IAmh0DDtGtrjQEr2%perryh@pluto.rain.com> References: <20100918141525.c7564d66.freebsd@edvax.de> <4c9538b5.IAmh0DDtGtrjQEr2%perryh@pluto.rain.com> Message-ID: <201009181905.01254.FreeBSD@insightbb.com> On Saturday 18 September 2010 6:09:57 pm perryh@pluto.rain.com wrote: > Polytropon wrote: > > On Fri, 17 Sep 2010 15:10:45 -0700, perryh@pluto.rain.com wrote: > > > Polytropon wrote: > > > > I would like to have ONE thing that is used for printing, > > > > and that does support ALL printers ... > > > > > > Isn't that exactly what CUPS is supposed to be? > > > > Obviously not. > > Er, I said "is supposed to be", not "is" :) "Common Unix Printing > System" certainly sounds as if the intent was to be the "ONE thing > that is used for printing". Whether they did a good job of it is > another question entirely :( > _______________________________________________ > 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 think that you don't fully apreciate the task at hand. When Unix was first invented, there were no laser printers, ink jets, USB, etc. That no one can create a one-size fits all solution OWES to the fact it's simply not always possible to unify disparate designs. They weren't designed to be interoperable. Technology keeps marchng forward. We need to discard all of it eventually. If you want easy, peasy printing success under *nix, choose a Postscript capable printer that has a network connection and supports IPP. Make sure the priner has a .ppd file available for it. You can get this file for free before buying the printer itself. I use (and love) my Brother HL-6050DN mono Laser. I'd like to get a Brother color laser, but it has to wait... -- From freebsd at edvax.de Sat Sep 18 23:21:54 2010 From: freebsd at edvax.de (Polytropon) Date: Sat Sep 18 23:21:59 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <4c9538b5.IAmh0DDtGtrjQEr2%perryh@pluto.rain.com> References: <20100917171056.GA72692@orange.esperance-linux.co.uk> <20100917202414.8d259989.freebsd@edvax.de> <4c93e765.iednoY3/JBBqSNBq%perryh@pluto.rain.com> <20100918141525.c7564d66.freebsd@edvax.de> <4c9538b5.IAmh0DDtGtrjQEr2%perryh@pluto.rain.com> Message-ID: <20100919012151.a7e766f2.freebsd@edvax.de> On Sat, 18 Sep 2010 15:09:57 -0700, perryh@pluto.rain.com wrote: > Polytropon wrote: > > > On Fri, 17 Sep 2010 15:10:45 -0700, perryh@pluto.rain.com wrote: > > > Polytropon wrote: > > > > I would like to have ONE thing that is used for printing, > > > > and that does support ALL printers ... > > > > > > Isn't that exactly what CUPS is supposed to be? > > > > Obviously not. > > Er, I said "is supposed to be", not "is" :) "Common Unix Printing > System" certainly sounds as if the intent was to be the "ONE thing > that is used for printing". Whether they did a good job of it is > another question entirely :( It seems that you are mis-interpreting the C in CUPS. :-) The "Common" refers to the fact - and this really is an advantage - that similar versions of CUPS can be used across many UNIX and Linux operating systems; there's also support for the big desktop environ- ments KDE and Gnome. Even Mac OS X uses it. This makes it common. In fact, it's great that one can use PPD files on all those systems that have CUPS, but the *need* to refer to arbitrary external files (instead of using what's installed - like gs) makes it less useful, but still powerful, and sadly very complex and sometimes complicated. Maybe this is the price of being common to many different systems... For further autopsy of "Common" refer to the C in CDE. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From carlj at peak.org Sat Sep 18 23:27:50 2010 From: carlj at peak.org (Carl Johnson) Date: Sat Sep 18 23:27:53 2010 Subject: extra open ports in rkhunter Message-ID: <87pqwar5sc.fsf@oak.localnet> I am running rkhunter and it keeps reporting a port inconsistency between sockstat and netstat -a. Netstat shows an extra 5 ports open, but netstat doesn't show what is holding ports open, so I don't know what they are. Does anybody know how to determine what is holding open a port? I have been looking around but none of my ideas show anything. This is a full desktop system with KDE4 and VirtualBox running, so it has a lot of things running. The following are the ports if anybody has any ideas, but I would also like to know how to trace them down myself: tcp4 0 0 *.876 *.* LISTEN tcp6 0 0 *.921 *.* LISTEN udp4 0 0 *.608 *.* udp6 0 0 *.952 *.* udp6 0 0 *.804 *.* -- Carl Johnson carlj@peak.org From cswiger at mac.com Sun Sep 19 02:45:31 2010 From: cswiger at mac.com (Chuck Swiger) Date: Sun Sep 19 02:45:34 2010 Subject: extra open ports in rkhunter In-Reply-To: <87pqwar5sc.fsf@oak.localnet> References: <87pqwar5sc.fsf@oak.localnet> Message-ID: Hi-- On Sep 18, 2010, at 4:27 PM, Carl Johnson wrote: > The following are the ports if anybody has any ideas, but I would also like to know how to trace them down myself: > > tcp4 0 0 *.876 *.* LISTEN > tcp6 0 0 *.921 *.* LISTEN > udp4 0 0 *.608 *.* > udp6 0 0 *.952 *.* > udp6 0 0 *.804 *.* Try: lsof -i tcp:876 ...and so forth for the other ports; this will give you the process ID of whatever is holding that socket. Regards, -- -Chuck From swell.k at gmail.com Sun Sep 19 03:05:58 2010 From: swell.k at gmail.com (Anonymous) Date: Sun Sep 19 03:06:03 2010 Subject: extra open ports in rkhunter In-Reply-To: (Chuck Swiger's message of "Sat, 18 Sep 2010 19:45:10 -0700") References: <87pqwar5sc.fsf@oak.localnet> Message-ID: <86tylmzb3j.fsf@gmail.com> Chuck Swiger writes: > Hi-- > > On Sep 18, 2010, at 4:27 PM, Carl Johnson wrote: >> The following are the ports if anybody has any ideas, but I would also like to know how to trace them down myself: >> >> tcp4 0 0 *.876 *.* LISTEN >> tcp6 0 0 *.921 *.* LISTEN >> udp4 0 0 *.608 *.* >> udp6 0 0 *.952 *.* >> udp6 0 0 *.804 *.* Do you have some networking FS enabled (NFS, AFS, Coda, etc)? Perhaps, one of them listens for connections from kernel and is not associated with userland process. But it's just a guess. > > Try: > > lsof -i tcp:876 > > ...and so forth for the other ports; this will give you the process ID of whatever is holding that socket. Speaking of processes, procstat(1) can show them, too. $ procstat -af | (IFS= read hdr && echo $hdr; fgrep UDP) PID COMM FD T V FLAGS REF OFFSET PRO NAME 1023 syslogd 6 s - rw------ 1 0 UDP ::.514 ::.0 1023 syslogd 7 s - rw------ 1 0 UDP 0.0.0.0:514 0.0.0.0:0 1170 nfsuserd 3 s - rw------ 8 0 UDP 0.0.0.0:998 0.0.0.0:0 From carlj at peak.org Sun Sep 19 03:59:49 2010 From: carlj at peak.org (Carl Johnson) Date: Sun Sep 19 03:59:53 2010 Subject: extra open ports in rkhunter In-Reply-To: (Chuck Swiger's message of "Sat, 18 Sep 2010 19:45:10 -0700") References: <87pqwar5sc.fsf@oak.localnet> Message-ID: <87lj6yqt7i.fsf@oak.localnet> Chuck Swiger writes: > Hi-- > > On Sep 18, 2010, at 4:27 PM, Carl Johnson wrote: >> The following are the ports if anybody has any ideas, but I would also like to know how to trace them down myself: >> >> tcp4 0 0 *.876 *.* LISTEN >> tcp6 0 0 *.921 *.* LISTEN >> udp4 0 0 *.608 *.* >> udp6 0 0 *.952 *.* >> udp6 0 0 *.804 *.* > > Try: > > lsof -i tcp:876 > > ...and so forth for the other ports; this will give you the process ID of whatever is holding that socket. lsof -i doesn't show any of those five ports. It seems to show the same ones as sockstat. I should have mentioned previously that I verified the tcp ports were open with nmap, but that wouldn't tell me what they were. I haven't figured out how to even verify the udp ports are connected or open. I also should have mentioned that I don't have any reason to think that my system is infected, but I just wanted to understand the difference. Thanks for the reply. I had completely forgotten about lsof. -- Carl Johnson carlj@peak.org From carlj at peak.org Sun Sep 19 04:38:00 2010 From: carlj at peak.org (Carl Johnson) Date: Sun Sep 19 04:38:04 2010 Subject: extra open ports in rkhunter In-Reply-To: <86tylmzb3j.fsf@gmail.com> (Anonymous's message of "Sun, 19 Sep 2010 07:05:52 +0400") References: <87pqwar5sc.fsf@oak.localnet> <86tylmzb3j.fsf@gmail.com> Message-ID: <87hbhmqrfh.fsf@oak.localnet> Anonymous writes: > Chuck Swiger writes: > >> Hi-- >> >> On Sep 18, 2010, at 4:27 PM, Carl Johnson wrote: >>> The following are the ports if anybody has any ideas, but I would also like to know how to trace them down myself: >>> >>> tcp4 0 0 *.876 *.* LISTEN >>> tcp6 0 0 *.921 *.* LISTEN >>> udp4 0 0 *.608 *.* >>> udp6 0 0 *.952 *.* >>> udp6 0 0 *.804 *.* > > Do you have some networking FS enabled (NFS, AFS, Coda, etc)? Perhaps, > one of them listens for connections from kernel and is not associated > with userland process. But it's just a guess. I have NFS enabled, but its processes are accounted for by both sockstat and netstat. > Speaking of processes, procstat(1) can show them, too. Procstat seems to show the same ports as sockstat and doesn't show any of the extra ports that netstat does. Thanks for the reply. -- Carl Johnson carlj@peak.org From ws at au.dyndns.ws Sun Sep 19 05:36:18 2010 From: ws at au.dyndns.ws (Wayne Sierke) Date: Sun Sep 19 05:36:23 2010 Subject: apropos returning same item twice In-Reply-To: <201009171218.38065.FreeBSD@insightbb.com> References: <201009111442.49114.FreeBSD@insightbb.com> <201009151827.04122.FreeBSD@insightbb.com> <1284624764.20540.650.camel@predator-ii.buffyverse> <201009171218.38065.FreeBSD@insightbb.com> Message-ID: <1284874572.20540.1746.camel@predator-ii.buffyverse> On Fri, 2010-09-17 at 12:18 -0400, Steven Friedrich wrote: > On Thursday 16 September 2010 4:12:44 am Wayne Sierke wrote: > > On Wed, 2010-09-15 at 18:27 -0400, Steven Friedrich wrote: > > > On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote: > > > > On Tue, 2010-09-14 at 00:37 +0000, Alexander Best wrote: > > > > > On Sat Sep 11 10, Steven Friedrich wrote: > > > > > > Why does apropos list mysql(1) twice? > > > > > > > > > > > > It doesn't return duplicates with apropos kde... > > > > > > > > > > maybe you have a gzip'ed and plain version in /usr ? > > > > > > > > > > see PR #4419. > > > > > > > > > > cheers. > > > > > alex > > > > > > > > Are you certain that /etc/manpath.config doesn't just still > > > > have /usr/X11R6/man configured (as well as /usr/local/man)? Admittedly > > > > the kde issue is a mystery, assuming its manpages are installed > > > > in /usr/local/man. This system has the following: > > > > > > > > OPTIONAL_MANPATH /usr/local/man > > > > # (disabled by xorg-libraries port) OPTIONAL_MANPATH /usr/X11R6/man > > > > > > > > MANPATH_MAP /usr/local/bin /usr/local/man > > > > # (disabled by xorg-libraries port) > > > > MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man > > > > > > > > > > > > Is the whatis file being updated? Check the timestamp: > > > > > > > > # ls -l /usr/local/man/whatis > > > > -rw-r--r-- 1 root wheel 273178 Sep 11 04:22 /usr/local/man/whatis > > > > > > > > > > > > Wayne > > > > > > > > > > admin@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql > > > > > > > > > > > > > _______________________________________________ > > > > 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 still have X11R6 in usr symlinked to /usr/local. This was done per > > > entry 20070519 in /usr/ports/UPDATING. > > > > > > Do we still need this symlink? > > > > Yes, anything that references /usr/X11R6 gets directed to /usr/local. > > Well I temporarily removed it and this anomaly disappeared. Perhaps we just > have to suffer until we know the symlink can be removed. I thought it was > going to eventually be removed... > > > > > Did you check /etc/manpath.config and the timestamp > > on /usr/local/man/whatis? > > > grep -v '^#' manpath.config > MANDATORY_MANPATH /usr/share/man > MANDATORY_MANPATH /usr/share/openssl/man > OPTIONAL_MANPATH /usr/local/man > MANPATH_MAP /bin /usr/share/man > MANPATH_MAP /usr/bin /usr/share/man > MANPATH_MAP /usr/local/bin /usr/local/man > OPTIONAL_MANPATH /usr/local/lib/perl5/5.12.2/man > OPTIONAL_MANPATH /usr/local/lib/perl5/5.12.2/perl/man > > > > Another check is that the output of manpath(1) doesn't > > include /usr/X11R6/man. > > > > manpath > /usr/share/man:/usr/local/man:/usr/local/kde4/man:/usr/share/openssl/man:/usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/man Ok. There's also: %man -a -w mysql to see the origins of the multiple man pages, although it seems that you may have already confirmed the /usr/X11R6 path connection. >From what you've presented so far I'd say it's looking like a problem with updating of the "whatis" db files. So to verify whether the weekly periodic "makewhatis" is being run:- - check the timestamp on /usr/local/man/whatis - it shouldn't be more than a week old - check that the "weekly run output" report lists "Rebuilding whatis database:" and that it doesn't list any errors, e.g.: Rebuilding whatis database: -- End of weekly output -- Wayne From ruschm at gmail.com Sun Sep 19 10:48:54 2010 From: ruschm at gmail.com (Michael R. Rusch) Date: Sun Sep 19 10:49:00 2010 Subject: Twitter on FreeBSD Message-ID: In an effort to try any to use twitter on PC-BSD I tried to install the Echofon firefox add on located here: http://www.echofon.com/twitter/firefox I tripped over an error and it wants OAuth installed. I am aware that @twitter just switched to OAuth recently and I am unaware of what port in FreeBSD enables OAuth. Located here is my screen shot of the error message: http://www.puffybsd.com/weeddude/echofon.png I am running PC-BSD 8.1 amd64 and I am using FireFox 3.6.8 (Installed from pbi) Cheerio! Michael -- Thanks, Michael Rusch ruschm@gmail.com twitter - @weeddude From freebsd.user at seibercom.net Sun Sep 19 11:34:31 2010 From: freebsd.user at seibercom.net (Jerry) Date: Sun Sep 19 11:34:35 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: Message-ID: <20100919073426.5d7f6bc6@scorpio> On Sat, 18 Sep 2010 23:27:13 +0200 dan articulated: > 2 - HP Photosmart C3180. > Once I installed HPLIP and adjusted some permissions I used a hp sw > tool to update the CUPS printers' database (all with the __default__ > 8.1 kernel). I then Succesfully printed a test page and successfully > tested the device as a scanner (blank scanning of the plate). > > > The "annoying" and computer-time-consuming part was recompiling gtk > and qt with CUPS support, that was not the default when I first > installed everything. > In the end, CUPS was also easy to use to share the 1st printer in our > small and simple network. I used the HPLIP port in conjunction with CUPS to get my home c6180 printer working. The FAX portion sucks, and probably always will. I just FAX from one of my Windows machines when the need arises. The printing thought is adequate. I still have not figured out how to get the CF, XD, etc ports to work with FreeBSD. They do work with Windows, so I know that they are working correctly. Luckily, I rarely utilize them anyway. I was wondering what "hp sw tool to update the CUPS printers' database" you are referring to. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Time and tide wait for no man. From smithi at nimnet.asn.au Sun Sep 19 11:47:53 2010 From: smithi at nimnet.asn.au (Ian Smith) Date: Sun Sep 19 11:47:55 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? In-Reply-To: <20100918114500.C20F41065761@hub.freebsd.org> References: <20100918114500.C20F41065761@hub.freebsd.org> Message-ID: <20100919194813.J11124@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 3, Issue 9, Message: 21 On Fri, 17 Sep 2010 20:03:46 -0700 patrick wrote: > I don't for sure, but I'd say it's off by default because not everyone > runs PHP with Apache, and mod_php5/libphp5.so is strictly for Apache. No, not everyone installs PHP to use with Apache, but I guess that maybe half do. This comes up many times in the last 5 or so years since you could last install the module from a package rather than only the port. It's also one of those ports that takes a good while to build on slower hardware (which of course developers don't tend to run :) but no amount of requesting a version with '"Build Apache module" on' helped so far. > Lots of people use PHP with FastCGI or other purposes. True, yet those people probably also tend to be less likely to want to install from packages (when available) anyway. Sure, adding libphp5.so to the (or one different?) package would add maybe 3MB to it. I'd be happy to spend an extra few MB and minutes to save likely an hour. > If you always want it to be on, add the option to /etc/make.conf. Or, > if you're using portupgrade or some other port management utility for > upgrades, there are ways to set the default options for the ports you > use. Not a problem when you have the horsepower and time to build it, but a significant loss of ability to install apache+php from packages, as you once could from the CDs .. guess I just got spoiled back there in the olden days :) > Hindsight is 20/20, but I'll go out on a limb here and say that it's > generally considered good practice to test software after upgrading -- > particularly if it's a web server running websites. Another thing to > consider would be running something like Nagios to monitor your > systems/sites to make sure things are working properly. Aye. > On Thu, Sep 16, 2010 at 6:45 PM, Gary Kline wrote: [..] > > A couple hours ago my web server was not running. ?I traced it to a > > missing libphp5.so. ?I checked the makefile and found the php stuff > > defaults to "off". ...I am thinking this is a security risk, but most > > of us are reasonably sophisticated about such things .... > > > > Comments, anybody? Gary, if you install something like MRTG to monitor your servers, you'll have interesting graphs to ponder over breakfast and you'll get to see pretty soon when something comes unstuck. Of course you have to have your Apache chicken working to lay that egg, but it doesn't need PHP. FWIW. I don't expect this policy so long now 'customary' to change, but I'm cc'ing the maintainer (ale@) in case it may help .. I expect not so many people run webservers and such on smaller, older systems either .. cheers, Ian (busy portupgrading from 8.0-R to 8.1-S fetching mostly packages, -aFPP) From glimp at live.com Sun Sep 19 13:53:55 2010 From: glimp at live.com (dan) Date: Sun Sep 19 13:53:57 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100919073426.5d7f6bc6@scorpio> References: <20100919073426.5d7f6bc6@scorpio> Message-ID: On 19.09.2010 13:34, Jerry wrote: > On Sat, 18 Sep 2010 23:27:13 +0200 > dan articulated: > >> 2 - HP Photosmart C3180. >> Once I installed HPLIP and adjusted some permissions I used a hp sw >> tool to update the CUPS printers' database (all with the __default__ >> 8.1 kernel). I then Succesfully printed a test page and successfully >> tested the device as a scanner (blank scanning of the plate). >> >> >> The "annoying" and computer-time-consuming part was recompiling gtk >> and qt with CUPS support, that was not the default when I first >> installed everything. >> In the end, CUPS was also easy to use to share the 1st printer in our >> small and simple network. > > I used the HPLIP port in conjunction with CUPS to get my home c6180 > printer working. The FAX portion sucks, and probably always will. I > just FAX from one of my Windows machines when the need arises. The > printing thought is adequate. I still have not figured out how to get > the CF, XD, etc ports to work with FreeBSD. They do work with Windows, > so I know that they are working correctly. Luckily, I rarely utilize > them anyway. > > I was wondering what "hp sw tool to update the CUPS printers' database" > you are referring to. > Sorry :-) The statement is obviously a bit ambiguous - if not incorrect. I used "hp-setup" (one of those kde applications included in HPLIP): it tries to discover printers on the usb bus and then a suitable ppd file for the printer one chooses to install. Later, when all the required data are collected it adds the chosen printer in CUPS (like if one selects "Add a printer" in CUPS - Section Administration). There are many hp tools installed under /usr/local/bin - including a device manager that seems to work fine with kde4. This last one is so "in love" with this system that even if it has not been asked to do so every time I start up kde I find it always loaded. For a test SD card that I had and I wanted to read: I turned off the printer, inserted the card and then I turned on the printer (stupid, eh ? :-) ). After these huge efforts ;) I found the card (ready to be mounted) under /dev/msdosfs/ . daniele From mikel.king at olivent.com Sun Sep 19 14:01:31 2010 From: mikel.king at olivent.com (mikel king) Date: Sun Sep 19 14:01:38 2010 Subject: Twitter on FreeBSD In-Reply-To: References: Message-ID: On Sep 19, 2010, at 6:23 AM, Michael R. Rusch wrote: > In an effort to try any to use twitter on PC-BSD I tried to install > the > Echofon firefox add on located here: > > http://www.echofon.com/twitter/firefox > > I tripped over an error and it wants OAuth installed. I am aware that > @twitter just switched to OAuth recently and I am unaware of what > port in > FreeBSD enables OAuth. > > Located here is my screen shot of the error message: > > http://www.puffybsd.com/weeddude/echofon.png > > I am running PC-BSD 8.1 amd64 and I am using FireFox 3.6.8 > (Installed from > pbi) > > Cheerio! > Michael > > > -- > Thanks, > Michael Rusch > ruschm@gmail.com > twitter - @weeddude Michael, OAuth is a protocol built on top of standard http traffic. It's likely that your version of firefox lacks the code necessary to negotiate the various consumer, signer transactions. The operating system has nothing to do with OAuth itself as it occurs completely within the application. Unfortunately I've only worked with it within custom php apps so I can not point you further inside of firefox and the echofon add-on. You could try a few other add-ons like twitbin for instance. According to this site (http://bit.ly/czRpwx) twitfox should work. Regards, Mikel King Senior Editor, BSD News Network Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 http://www.linkedin.com/in/mikelking http://twitter.com/mikelking From freebsd.user at seibercom.net Sun Sep 19 14:57:07 2010 From: freebsd.user at seibercom.net (Jerry) Date: Sun Sep 19 14:57:10 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: <20100919073426.5d7f6bc6@scorpio> Message-ID: <20100919105701.23154ed2@scorpio> On Sun, 19 Sep 2010 15:50:32 +0200 dan articulated: > On 19.09.2010 13:34, Jerry wrote: > > On Sat, 18 Sep 2010 23:27:13 +0200 > > dan articulated: > > > >> 2 - HP Photosmart C3180. > >> Once I installed HPLIP and adjusted some permissions I used a hp sw > >> tool to update the CUPS printers' database (all with the > >> __default__ 8.1 kernel). I then Succesfully printed a test page > >> and successfully tested the device as a scanner (blank scanning of > >> the plate). > >> > >> > >> The "annoying" and computer-time-consuming part was recompiling gtk > >> and qt with CUPS support, that was not the default when I first > >> installed everything. > >> In the end, CUPS was also easy to use to share the 1st printer in > >> our small and simple network. > > > > I used the HPLIP port in conjunction with CUPS to get my home c6180 > > printer working. The FAX portion sucks, and probably always will. I > > just FAX from one of my Windows machines when the need arises. The > > printing thought is adequate. I still have not figured out how to > > get the CF, XD, etc ports to work with FreeBSD. They do work with > > Windows, so I know that they are working correctly. Luckily, I > > rarely utilize them anyway. > > > > I was wondering what "hp sw tool to update the CUPS printers' > > database" you are referring to. > > > > Sorry :-) The statement is obviously a bit ambiguous - if not > incorrect. I used "hp-setup" (one of those kde applications included > in HPLIP): it tries to discover printers on the usb bus and then a > suitable ppd file for the printer one chooses to install. Later, when > all the required data are collected it adds the chosen printer in > CUPS (like if one selects "Add a printer" in CUPS - Section > Administration). I am familiar with that. I thought that you had discovered something new. > There are many hp tools installed under /usr/local/bin - including a > device manager that seems to work fine with kde4. This last one is so > "in love" with this system that even if it has not been asked to do > so every time I start up kde I find it always loaded. > > For a test SD card that I had and I wanted to read: I turned off the > printer, inserted the card and then I turned on the printer (stupid, > eh ? :-) ). After these huge efforts ;) I found the card (ready to be > mounted) under /dev/msdosfs/ . Well, I am not about to go through that BS. For the few times that I actually do need that functionality, I will just use my Windows machines. I would file a bug report against this behavior except that I don't have the slightest idea where to file the bug report; i.e., FreeBSD, KDE/Gnome, someone else, all the above? It becomes more than mildly infuriating, although users of Windows do have a nice laugh from time to time. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Hawkeye's Conclusion: It's not easy to play the clown when you've got to run the whole circus. From cpghost at cordula.ws Sun Sep 19 18:15:33 2010 From: cpghost at cordula.ws (C. P. Ghost) Date: Sun Sep 19 18:15:36 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: Message-ID: On Fri, Sep 17, 2010 at 2:45 AM, Chabane HEMDANI wrote: > ?I'm computer science teacher at university of Tizi-ouzou in Algeria. I'm > using FreeBSD since 2007 when I "discover" it by chance when searching in > the Web something about Linux. > ?Since that date, I always invited and recommended to my students to install > and use this "magical" and my favorite system. > > However, all my students retort me that they have a problem of installing > their printers. I have so this problem, so I can't tell good-bye > definitively to winosor and Linux. I always need them for printing. > > I've search, read, learn, follow instructions about nearly all the > web-documentation about installing a new printer to work under cups without > any success. I've ?an HP Laser Jet 1018 printer and tools given by package > print/hplip don't work correctly. > > I'm using FreeBSD 8.1-RELEASE > I've rebuild a kernel without ?ulpt. > I modified my /etc/rc.conf to enable cupsd and hpiod and ?hpssd. > I modified /etc/devfs.rules like suggested by cups (see pkg_info -D > cups-base-1.4.4 ). > I've made many other configurations like that suggested at > http://diablotins.org/index.php/Imprimer,_hplip > > and finally, I've given to my students the wrong ?answer that "no one can > print under FreeBSD !" Sometimes, permissions can be the problem: http://farid.hajji.name/blog/2010/02/02/printing-woes-on-freebsd-8-with-cups/ > Please where is the problem? > Please help me to help others. > Please help me to enlarge the FreeBSD users community. Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From drizzt321 at gmail.com Sun Sep 19 20:03:40 2010 From: drizzt321 at gmail.com (Aaron) Date: Sun Sep 19 20:03:48 2010 Subject: Problem running custom startup script at proper time Message-ID: I'm having trouble getting a custom startup script to run at the proper time. I'm having to use gnop with my new Western Digital WD10EARS (1TB, 4K sector size) because it reports the standard 512 byte to the OS. I'm basing it on http://www.cod3r.com/2010/06/zfs-on-western-digital-ears-drives/ which also says that it needs to be run on each boot so that ZFS will use the .nop devices. So, I've created a custom startup script to automatically do this for me at the proper time (before zfs starts and auto-mounts). I'm having trouble getting it to work properly though. In services -r, it is listed before the zfs startup script, but in dmesg the gnop messages come after the zfs startup messages. Below is excerpts from services -r, dmesg, and the startup script in its entirety. EXCERPT FROM services -r /etc/rc.d/hostid_save /etc/rc.d/mdconfig /etc/rc.d/mountcritlocal /etc/rc.d/gnop /etc/rc.d/zfs /etc/rc.d/FILESYSTEMS /etc/rc.d/var /etc/rc.d/cleanvar EXCERPT FROM dmesg Trying to mount root from ufs:/dev/ad0s1a ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS filesystem version 3 ZFS storage pool version 14 GEOM_NOP: Device ad6.nop created. GEOM_NOP: Device ad8.nop created. GEOM_NOP: Device ad10.nop created. GEOM_NOP: Device ad12.nop created. STARTUP SCRIPT, /etc/rc.d/gnop #!/bin/sh # # PROVIDE: gnop # REQUIRE: mdconfig . /etc/rc.subr name="gnop" start_cmd="gnop_start" gnop_start() { for i in ad6 ad8 ad10 ad12; do gnop create -S 4096 $i; done } load_rc_config $name run_rc_command "$1" From bsam at ipt.ru Sun Sep 19 20:27:33 2010 From: bsam at ipt.ru (Boris Samorodov) Date: Sun Sep 19 20:27:37 2010 Subject: Problem running custom startup script at proper time In-Reply-To: (Aaron's message of "Sun, 19 Sep 2010 12:40:52 -0700") References: Message-ID: <03936477@ipt.ru> On Sun, 19 Sep 2010 12:40:52 -0700 Aaron wrote: > # PROVIDE: gnop What if you try "PROVIDE: disks" instead? -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From drizzt321 at gmail.com Sun Sep 19 21:39:30 2010 From: drizzt321 at gmail.com (Aaron) Date: Sun Sep 19 21:39:32 2010 Subject: Problem running custom startup script at proper time In-Reply-To: <37854271@ipt.ru> References: <03936477@ipt.ru> <37854271@ipt.ru> Message-ID: Doh! Forgot to reply to the mailing list. Nope, that didn't work either. Darn. Maybe I'll just have to modify the /etc/rc.d/zfs script to run the for loop first :( On Sun, Sep 19, 2010 at 14:04, Boris Samorodov wrote: > On Sun, 19 Sep 2010 13:55:41 -0700 Aaron wrote: >> On Sun, Sep 19, 2010 at 13:27, Boris Samorodov wrote: >> > On Sun, 19 Sep 2010 12:40:52 -0700 Aaron wrote: >> > >> >> # PROVIDE: gnop >> > >> > What if you try "PROVIDE: disks" instead? > >> No good. I also tried the following in the gnop script: > >> # PROVIDE: gnop >> # REQUIRE: mountcritlocal >> # BEFORE: zfs > > /etc/rc.d/geli has this: > ----- > # PROVIDE: disks > # REQUIRE: initrandom > # KEYWORD: nojail > ----- > > Seems that that should work for you. If not I'm out of ideas > for now. > >> The services -r looks promising, but the dmesg is still the same :( >> ?When I disable zfs auto-mount, and then run it manually after boot, >> it uses the .nop devices that were created correctly as it should. > >> EXCERPT services -r >> /etc/rc.d/mdconfig >> /etc/rc.d/mountcritlocal >> /etc/rc.d/gnop >> /etc/rc.d/zfs > > -- > WBR, Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve > From carlj at peak.org Sun Sep 19 21:42:16 2010 From: carlj at peak.org (Carl Johnson) Date: Sun Sep 19 21:42:21 2010 Subject: extra open ports in rkhunter In-Reply-To: <87hbhmqrfh.fsf@oak.localnet> (Carl Johnson's message of "Sat, 18 Sep 2010 21:37:54 -0700") References: <87pqwar5sc.fsf@oak.localnet> <86tylmzb3j.fsf@gmail.com> <87hbhmqrfh.fsf@oak.localnet> Message-ID: <87zkvdpg0a.fsf@oak.localnet> Carl Johnson writes: > Anonymous writes: >> Do you have some networking FS enabled (NFS, AFS, Coda, etc)? Perhaps, >> one of them listens for connections from kernel and is not associated >> with userland process. But it's just a guess. > > I have NFS enabled, but its processes are accounted for by both sockstat > and netstat. I decided to check out your idea anyways today, and it appears you were right. I disabled and stopped all NFS and rpc processes and those extra ports disappeared from the netstat listing. None of those ports are listed as related to anything, so I don't know what is going on. I had just experimented with NFS for a while, so I will just leave it off. Thanks for your suggestion. -- Carl Johnson carlj@peak.org From goran.lowkrantz at ismobile.com Sun Sep 19 22:09:12 2010 From: goran.lowkrantz at ismobile.com (Goran Lowkrantz) Date: Sun Sep 19 22:09:15 2010 Subject: Problem running custom startup script at proper time In-Reply-To: References: <03936477@ipt.ru> <37854271@ipt.ru> Message-ID: <949C4B7C7E60C84BD1AFEBA7@[10.255.253.2]> --On Sunday, September 19, 2010 2:39 PM -0700 Aaron wrote: > Doh! Forgot to reply to the mailing list. > > > Nope, that didn't work either. Darn. Maybe I'll just have to modify > the /etc/rc.d/zfs script to run the for loop first :( Do you load zfs.ko in loader.conf? I have built a few NAS systems on NanoBSD and found that I had to wait loading zfs until I had go the cache file copied from backup storage as I am using the diskless setup. Could it be that you need to run your script before loading zfs.ko? Cheers, G?ran > > On Sun, Sep 19, 2010 at 14:04, Boris Samorodov wrote: >> On Sun, 19 Sep 2010 13:55:41 -0700 Aaron wrote: >>> On Sun, Sep 19, 2010 at 13:27, Boris Samorodov wrote: >>> > On Sun, 19 Sep 2010 12:40:52 -0700 Aaron wrote: >>> > >>> >> # PROVIDE: gnop >>> > >>> > What if you try "PROVIDE: disks" instead? >> >>> No good. I also tried the following in the gnop script: >> >>> # PROVIDE: gnop >>> # REQUIRE: mountcritlocal >>> # BEFORE: zfs >> >> /etc/rc.d/geli has this: >> ----- >> # PROVIDE: disks >> # REQUIRE: initrandom >> # KEYWORD: nojail >> ----- >> >> Seems that that should work for you. If not I'm out of ideas >> for now. >> >>> The services -r looks promising, but the dmesg is still the same :( >>> ?When I disable zfs auto-mount, and then run it manually after boot, >>> it uses the .nop devices that were created correctly as it should. >> >>> EXCERPT services -r >>> /etc/rc.d/mdconfig >>> /etc/rc.d/mountcritlocal >>> /etc/rc.d/gnop >>> /etc/rc.d/zfs >> >> -- >> WBR, Boris Samorodov (bsam) >> Research Engineer, http://www.ipt.ru Telephone & Internet SP >> 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 siefke_listen at web.de Sun Sep 19 22:15:59 2010 From: siefke_listen at web.de (Silvio Siefke) Date: Sun Sep 19 22:16:03 2010 Subject: Maia Mailguard Message-ID: <4C968BB4.7060604@web.de> Hello, i want use Maia Mailguard as Spam/Virus System. I have it install over the ports, the normal configuration was good. The Mail System is running. The webinterface make problems. Maia does not accept the Pear installation. # pkg_version -v | grep pear pear-1.9.1 = up-to-date with port The configtest in the webinterface: http://silviosiefke.de/1.png # pear list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.7 stable Auth_SASL 1.0.4 stable Console_Getopt 1.2.3 stable DB 1.7.13 stable Image_Canvas 0.3.2 alpha Image_Color 1.0.4 stable Image_Graph 0.7.2 alpha Log 1.12.2 stable MDB2 2.5.0b3 beta MDB2_Driver_mysql 1.5.0b3 beta Mail 1.2.0 stable Mail_Mime 1.8.0 stable Math_BigInteger 1.0.0 stable Net_IMAP 1.1.0 stable Net_POP3 1.3.7 stable Net_SMTP 1.4.2 stable Net_Socket 1.0.9 stable Numbers_Roman 1.0.2 stable Numbers_Words 0.16.2 beta PEAR 1.9.1 stable Pager 2.4.8 stable Structures_Graph 1.0.3 stable # pear config-show Configuration (channel pear.php.net): ===================================== Auto-discover new Channels auto_discover Default Channel default_channel pear.php.net HTTP Proxy Server Address http_proxy PEAR server [DEPRECATED] master_server pear.php.net Default Channel Mirror preferred_mirror pear.php.net Remote Configuration File remote_config PEAR executables directory bin_dir /usr/local/bin PEAR documentation directory doc_dir /usr/local/share/doc/pear PHP extension directory ext_dir /usr/local/lib/php/20090626 PEAR directory php_dir /usr/local/share/pear PEAR Installer cache directory cache_dir /tmp/pear/cache PEAR configuration file cfg_dir /usr/local/lib/php/pear/cfg directory PEAR data directory data_dir /usr/local/share/pear/data PEAR Installer download download_dir /tmp/pear/download directory PHP CLI/CGI binary php_bin /usr/local/bin/php php.ini location php_ini /usr/local/etc/php.ini --program-prefix passed to php_prefix PHP's ./configure --program-suffix passed to php_suffix PHP's ./configure PEAR Installer temp directory temp_dir /tmp/go-pear PEAR test directory test_dir /usr/local/share/pear/tests PEAR www files directory www_dir /usr/local/lib/php/pear/www Cache TimeToLive cache_ttl 3600 Preferred Package State preferred_state stable Unix file mask umask 22 Debug Log Level verbose 1 PEAR password (for password maintainers) Signature Handling Program sig_bin /usr/local/bin/gpg Signature Key Directory sig_keydir /usr/local/etc/pearkeys Signature Key Id sig_keyid Package Signature Type sig_type gpg PEAR username (for username maintainers) User Configuration File Filename /root/.pearrc System Configuration File Filename /usr/local/etc/pear.conf The php.ini is under the adress http://silviosiefke.de/php.txt. Installed: FreeBSD 8.1, Apache 2.2.16, PHP 5.3.3, Pear 1.9.1, Smarty 2.6.26 Has someone a idea? Thank u for support. Regards Silvio From rfarmer at predatorlabs.net Sun Sep 19 23:29:04 2010 From: rfarmer at predatorlabs.net (Rob Farmer) Date: Sun Sep 19 23:29:08 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? In-Reply-To: <20100919194813.J11124@sola.nimnet.asn.au> References: <20100918114500.C20F41065761@hub.freebsd.org> <20100919194813.J11124@sola.nimnet.asn.au> Message-ID: On Sun, Sep 19, 2010 at 04:47, Ian Smith wrote: > In freebsd-questions Digest, Vol 3, Issue 9, Message: 21 > On Fri, 17 Sep 2010 20:03:46 -0700 patrick wrote: > > ?> I don't for sure, but I'd say it's off by default because not everyone > ?> runs PHP with Apache, and mod_php5/libphp5.so is strictly for Apache. > > No, not everyone installs PHP to use with Apache, but I guess that maybe > half do. ?This comes up many times in the last 5 or so years since you > could last install the module from a package rather than only the port. > > It's also one of those ports that takes a good while to build on slower > hardware (which of course developers don't tend to run :) but no amount > of requesting a version with '"Build Apache module" on' helped so far. > > ?> Lots of people use PHP with FastCGI or other purposes. > > True, yet those people probably also tend to be less likely to want to > install from packages (when available) anyway. ?Sure, adding libphp5.so > to the (or one different?) package would add maybe 3MB to it. ?I'd be > happy to spend an extra few MB and minutes to save likely an hour. > > ?> If you always want it to be on, add the option to /etc/make.conf. Or, > ?> if you're using portupgrade or some other port management utility for > ?> upgrades, there are ways to set the default options for the ports you > ?> use. > > Not a problem when you have the horsepower and time to build it, but a > significant loss of ability to install apache+php from packages, as you > once could from the CDs .. guess I just got spoiled back there in the > olden days :) Adding a slave port would probably be a good solution and shouldn't be too difficult. -- Rob Farmer From sudakov at sibptus.tomsk.ru Mon Sep 20 06:08:15 2010 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Mon Sep 20 06:08:20 2010 Subject: apache22 and threads Message-ID: <20100920060811.GA10084@admin.sibptus.tomsk.ru> Colleagues, When building apache22 from ports, would you recommend to enable or to disable threads support? Even more confusing is the fact that for ports/www/apache22 the default is: "Enable threads support in APR is off" (WITHOUT_THREADS=true) while for ports/devel/apr1 the default is: "Enable Threads in apr is on" (WITH_THREADS=true). Thank you in advance for any input. PS ports/devel/apr1 will also be used for the subversion client. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From henry.olyer at gmail.com Mon Sep 20 07:17:55 2010 From: henry.olyer at gmail.com (Henry Olyer) Date: Mon Sep 20 07:17:59 2010 Subject: Unable to find device node for /dev/ad4s1b in /dev Message-ID: Not that I blame the people behind FBSD. I am amazed that it's so robust. But of course, since I purchased this ASPIRE laptop (model 7741Z,) for FreeBSD I'd like to run that on it. So far, well, maybe Billy Gates has finally gotten his memory back, maybe he'll finally make something that works. This is what I know, I run the FBSD install program and immediately, as soon as the system attempts to do the necessary partitioning. That's when the failure occurs, with the complaint that: Unable to find device node for /dev/ad4s1b in /dev I've tried a few things, I can put OpenBSD up, works fine -- except as good as that system is, I need to run FBSD. I do development and research and everything I've done for the last decade is done under FBSD. So I guess I am really serious here, HELP. Oh, one more thing. I can install PC-BSD, that works. And I actually like that system, I just don't want all that overhead, it's pretty resource intensive. I just want my FreeBSD. The thing is, am I going to get it? From eugene at imedia.ru Mon Sep 20 07:29:49 2010 From: eugene at imedia.ru (Eugene Mitrofanov) Date: Mon Sep 20 07:29:55 2010 Subject: vlan + ng_ipfw + ng_netflow == no success Message-ID: <201009201113.24220.eugene@imedia.ru> Hello I need the advise. Does anybody got the Subj working? I have FreeBSD 7.3-p2, Generic kernel. I try to set up the netflow traffic accounting using ng_ipfw from vlan interface. I created vlan interface, ipfw rule, set up ng hooks but the netflow export is not working. tcpdump does not catch any packets to the collector. Any suggestion? Should I create the bug report? - - - - - - - - # ifconfig vlan1 create vlan 1 vlandev fxp0 inet 192.168.1.1 netmask 255.255.255.0 # ipfw add 10 ngtee 1 via vlan1 # ngctl -f - < - - - - - - - Good luck -- EMIT-RIPN, EVM7-RIPE From ale at FreeBSD.org Mon Sep 20 08:12:39 2010 From: ale at FreeBSD.org (Alex Dupre) Date: Mon Sep 20 08:12:42 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? In-Reply-To: References: <20100918114500.C20F41065761@hub.freebsd.org> <20100919194813.J11124@sola.nimnet.asn.au> Message-ID: <4C971132.7060809@FreeBSD.org> Rob Farmer ha scritto: > Adding a slave port would probably be a good solution and shouldn't be > too difficult. This "issue" has been discussed too many times. The answer is simply "no", but you can search the archives for the actual reason. You have to comile the module for your specific apache installation. -- Alex Dupre From glimp at live.com Mon Sep 20 08:15:49 2010 From: glimp at live.com (dan) Date: Mon Sep 20 08:15:54 2010 Subject: Unable to find device node for /dev/ad4s1b in /dev In-Reply-To: References: Message-ID: On 20.09.2010 09:17, Henry Olyer wrote: > Not that I blame the people behind FBSD. I am amazed that it's so robust. > But of course, since I purchased this ASPIRE laptop (model 7741Z,) for > FreeBSD I'd like to run that on it. So far, well, maybe Billy Gates has > finally gotten his memory back, maybe he'll finally make something that > works. > > This is what I know, I run the FBSD install program and immediately, as soon > as the system attempts to do the necessary partitioning. That's when the > failure occurs, with the complaint that: > > Unable to find device node for /dev/ad4s1b in /dev > > I've tried a few things, I can put OpenBSD up, works fine -- except as good > as that system is, I need to run FBSD. I do development and research and > everything I've done for the last decade is done under FBSD. > > So I guess I am really serious here, HELP. > > Oh, one more thing. I can install PC-BSD, that works. And I actually like > that system, I just don't want all that overhead, it's pretty resource > intensive. > > I just want my FreeBSD. The thing is, am I going to get it? > _______________________________________________ > 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, any hints from the following posts ? http://forums.freebsd.org/showthread.php?t=5288 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2005-02/2448.html d From smithi at nimnet.asn.au Mon Sep 20 08:34:16 2010 From: smithi at nimnet.asn.au (Ian Smith) Date: Mon Sep 20 08:34:20 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? In-Reply-To: <4C971132.7060809@FreeBSD.org> References: <20100918114500.C20F41065761@hub.freebsd.org> <20100919194813.J11124@sola.nimnet.asn.au> <4C971132.7060809@FreeBSD.org> Message-ID: <20100920183311.N11124@sola.nimnet.asn.au> On Mon, 20 Sep 2010, Alex Dupre wrote: > Rob Farmer ha scritto: > > Adding a slave port would probably be a good solution and shouldn't be > > too difficult. > > This "issue" has been discussed too many times. The answer is simply > "no", but you can search the archives for the actual reason. You have to > comile the module for your specific apache installation. Ok Alex, and thanks for all your good work. cheers, Ian From rfarmer at predatorlabs.net Mon Sep 20 09:23:50 2010 From: rfarmer at predatorlabs.net (Rob Farmer) Date: Mon Sep 20 09:23:54 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? In-Reply-To: <4C971132.7060809@FreeBSD.org> References: <20100918114500.C20F41065761@hub.freebsd.org> <20100919194813.J11124@sola.nimnet.asn.au> <4C971132.7060809@FreeBSD.org> Message-ID: On Mon, Sep 20, 2010 at 00:45, Alex Dupre wrote: > This "issue" has been discussed too many times. The answer is simply > "no", but you can search the archives for the actual reason. You have to > comile the module for your specific apache installation. > > -- > Alex Dupre > If you can't be bothered to give the "actual reason," then why even reply? I have searched the archives. Unfortunately, there are so many messages revolving around how to set up php, secure it, etc. that it becomes difficult to find anything relevant. The only thing I came across was a thread from 2007 about how this is "more like a personal preference than engineering as such"[1] and "its just one of those things that you learn to live with after a while."[2] [1] http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/151399.html [2] http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/151384.html -- Rob Farmer From david at vizion2000.net Mon Sep 20 10:59:06 2010 From: david at vizion2000.net (David Southwell) Date: Mon Sep 20 10:59:10 2010 Subject: TCP Logs Why "Connection attempt to closed port" Message-ID: <201009201158.39179.david@vizion2000.net> Large quantities of these errors constantly appear in log/dmesg.today. Can anyone explain what is going on and whether any action is needed. If so how to go about tracing the cause. Thanks in advance for any guidance David TCP: [::1]:61570 to [::1]:4713 tcpflags 0x2; tcp_input: Connection attempt to closed port TCP: [127.0.0.1]:62307 to [127.0.0.1]:4713 tcpflags 0x2; tcp_input: Connection attempt to closed port Photographic Artist Permanent Installations & Design Creative Imagery and Advanced Digital Techniques High Dynamic Range Photography & Official Portraiture Combined darkroom & digital creations & Systems Adminstrator for the vizion2000.net network From perryh at pluto.rain.com Mon Sep 20 12:13:11 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Sep 20 12:13:17 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <201009181905.01254.FreeBSD@insightbb.com> References: <20100918141525.c7564d66.freebsd@edvax.de> <4c9538b5.IAmh0DDtGtrjQEr2%perryh@pluto.rain.com> <201009181905.01254.FreeBSD@insightbb.com> Message-ID: <4c9751a4.POuJNkjk++rGHEd0%perryh@pluto.rain.com> Steven Friedrich wrote: > > "Common Unix Printing System" certainly sounds as if the intent > > was to be the "ONE thing that is used for printing". Whether > > they did a good job of it is another question entirely :( > > I think that you don't fully apreciate the task at hand. When > Unix was first invented, there were no laser printers, ink jets, > USB, etc. > > That no one can create a one-size fits all solution OWES to the > fact it's simply not always possible to unify disparate designs. > They weren't designed to be interoperable. Technology keeps > marchng forward. We need to discard all of it eventually. Back in the CP/M and early MS-DOS days, similar doubts were raised regarding display systems. Fortunately, those doubts did not stop some developers from doing what others thought impossible. The results included X11, which has been rather durable for a considerable time. From nightrecon at hotmail.com Mon Sep 20 12:17:32 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Mon Sep 20 12:17:35 2010 Subject: apache22 and threads References: <20100920060811.GA10084@admin.sibptus.tomsk.ru> Message-ID: Victor Sudakov wrote: > Colleagues, > > When building apache22 from ports, would you recommend to enable or to > disable threads support? > > Even more confusing is the fact that for ports/www/apache22 the default > is: "Enable threads support in APR is off" (WITHOUT_THREADS=true) > > while for ports/devel/apr1 the default is: > "Enable Threads in apr is on" (WITH_THREADS=true). > > Thank you in advance for any input. > > PS ports/devel/apr1 will also be used for the subversion client. > I wouldn't mind someone with more apache22-fu to elaborate, correcting the following if necessary. My thoughts are this matters depending upon which mpm you choose to build into apache. The default is prefork, and it handles incoming requests by spawning child processes. The main shortcoming associated with this approach is resources such as database connections are not shareable between the child processes, e.g. each must have its own. So each incoming request has to fork a child, then build up, consume, and tear down the database connection. The lifetime will exist during the keepalive period and just be sitting there in memory idle most of the time following the task completion. A threaded mpm such as worker or event, is designed to spawn threads within a process to service incoming requests. One is a hybrid, in that it also forks additional processes as well when a preset thread count is reached. When all threads are contained within the same process each thread is able to share and consume resources in a pool amongst other threads. So an idle database connection which has finished serving a previous request can be immediately reused by a new thread without a build up tear down cycle. So my idea of the usage of WITH_THREADS is for the default prefork mpm it would be "NO", while for the event mpm it would be "YES". An additional consideration might be what kind of backend is used. For example, since not all of PHP is known to be thread safe it is not recommended for use with a threaded server and mod_php. The way to get around this situation is to separate PHP from Apache with something like mod_fcgid which runs PHP as a FastCGI. This way you can safely run a threaded Apache with non-thread safe PHP. As far as which is the better approach I still am not really sure. Each has its set of pros and cons. -Mike From faust64 at gmail.com Mon Sep 20 12:57:10 2010 From: faust64 at gmail.com (=?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?=) Date: Mon Sep 20 12:57:14 2010 Subject: dnsmasq, mfsBSD, status refused Message-ID: Hi I'm trying to replace my gate with a qnap ts-509. I installed mfsBSD, based on FreeBSD-8.1-RELEASE amd64. I just had to build some pre-configured packages, add ipfw, ipfw_nat and libalias to boot modules. Everything's working just fine, except for the DNS (dnsmasq-2.55,1.tbz, rebuilt with config files and ipfw startup script) DHCP works perfectly. But DNS does not... Even on the (soon-to-be) gateway, so I'm assuming ipfw is not related to the problem (in doubt, I still send it) root@phi /real/tmp : ipfw list 00001 check-state 00002 allow ip from any to any via lo0 00003 allow tcp from any to any established 00500 allow ip from any to any via bge1 00666 allow tcp from me to any out via bge0 setup uid root keep-state 65535 deny ip from any to any (since bge0 is not plugged, it's quite empty...) root@phi /real/tmp : ./dig @localhost alpha.faust-network ; <<>> DiG 9.6.2-P2 <<>> alpha.faust-network ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 13068 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;alpha.faust-network. IN A ;; Query time: 13 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Mon Sep 20 13:41:15 2010 ;; MSG SIZE rcvd: 37 basically, my configuration is the following: cache-size=1024 local-ttl=15 log-dhcp interface=bge1 bind-interfaces no-negcache dhcp-range=10.254.254.1,10.254.254.254,255.0.0.0,1h dhcp-boot=pxelinux.0,omega,10.42.42.45 # PXE TFTP server (omega) dhcp-option=3,10.242.42.254 # gateway dhcp-option=19,1 # option ip-forwarding off dhcp-option=23,42 # TTL de 42 dhcp-option=44,10.242.42.254 # Wins Server dhcp-option=45,10.242.42.254 # NetBios DDS dhcp-option=46,8 # NetBios Node Type dhcp-option=option:ntp-server,213.186.41.134,88.191.79.242,193.55.167.2,80.65.235.4,194.57.191.1,91.121.45.45 dhcp-script=/usr/local/bin/dhcp_action domain=faust-network expand-hosts bogus-nxdomain=64.94.110.11 #get SSL certificate from another CAServer localmx selfmx conf-file=/usr/local/etc/blocklist.conf # filter adds, shits, facebook, ... my resolv.conf: nameserver 10.242.42.254 #localhost, priv addr nameserver 8.8.4.4 domain faust-network I already have a dnsmasq working perfectly on my current gate (ArchLinux-x86_64). I copied the configuration, making a few changes (192.168.0.0/24 -> 10.0.0.0/8). So, I don't understant what I'm doing wrong.... Any idea? Cheers, --- Samuel Mart?n Moro {EPITECH.} tek5 CamTrace S.A.S From freebsd-questions at slightlystrange.org Mon Sep 20 14:21:41 2010 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Mon Sep 20 14:21:45 2010 Subject: TCP Logs Why "Connection attempt to closed port" In-Reply-To: <201009201158.39179.david@vizion2000.net> References: <201009201158.39179.david@vizion2000.net> Message-ID: <20100920142140.GA12913@catflap.slightlystrange.org> On Mon, Sep 20, 2010 at 11:58:38AM +0100, David Southwell wrote: > > Large quantities of these errors constantly appear in log/dmesg.today. > > Can anyone explain what is going on and whether any action is needed. If so > how to go about tracing the cause. I think you probably have the net.inet.tcp.log_in_vain sysctl set to something other than 0, causing the kernel to log these connection attempts on ports where no service is listening. It is probably nothing to worry about. If you want to turn these warnings off, check in your /etc/rc.conf for `log_in_vain=1' or similar and remove it - the default, set in /etc/defaults/rc.conf, is to not log these attempts. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- 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/20100920/8985daf7/attachment.pgp From doug at safeport.com Mon Sep 20 15:00:36 2010 From: doug at safeport.com (doug@safeport.com) Date: Mon Sep 20 15:00:39 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? In-Reply-To: References: <20100918114500.C20F41065761@hub.freebsd.org> <20100919194813.J11124@sola.nimnet.asn.au> <4C971132.7060809@FreeBSD.org> Message-ID: On Mon, 20 Sep 2010, Rob Farmer wrote: > On Mon, Sep 20, 2010 at 00:45, Alex Dupre wrote: >> This "issue" has been discussed too many times. The answer is simply >> "no", but you can search the archives for the actual reason. You have to >> comile the module for your specific apache installation. >> >> -- >> Alex Dupre >> > > If you can't be bothered to give the "actual reason," then why even reply? > > I have searched the archives. Unfortunately, there are so many > messages revolving around how to set up php, secure it, etc. that it > becomes difficult to find anything relevant. The only thing I came > across was a thread from 2007 about how this is "more like a personal > preference than engineering as such"[1] and "its just one of those > things that you learn to live with after a while."[2] > > [1] http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/151399.html > [2] http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/151384.html I think that response was not all that unreasonable. I 'remember' the topic in general. My questions archive has > 80,000 messages. Most [all??] of the ones relating to this issue probably do not address that in the subject line and are thus lost [to me]. That said the following reasons come to mind: 1) security - google + security + php = 9.7 million hits Probably enough said. But if I do not have php installed why should I have to prune it from apache or worry about the subset of the 9.7 hits that relate to my server[s]. 2) apache builds w/o php, and should php4, php5, or php6 be included by default? The base apache httpd.conf file requires several statement to support php, they should not have to be removed if php is not installed. Having the base of any port install other packages/ports that are not required breaks the requirements/dependencies that are the heart of the ports system. 3) I think (proof left to the reader) there is an apache/php package. 4) My own opinion of best admin practices generally follows, if you don't need it, don't install it. If you build/install something like wordpress that requires both php and apache, the correct thing is done. Usually even the required directives are added to httpd.conf. The original question does not say if a port management system was used to upgrade apache. If that was the case, perhaps one could argue apache was not updated properly. Even in that case, I would argue that the bug [if any] lies with the port management system. From bonomi at mail.r-bonomi.com Mon Sep 20 16:02:44 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Mon Sep 20 16:02:47 2010 Subject: Problem running custom startup script at proper time Message-ID: <201009201600.o8KG0iNk013372@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Sun Sep 19 16:37:49 2010 > From: Aaron > Date: Sun, 19 Sep 2010 14:39:08 -0700 > To: freebsd-questions@freebsd.org > Subject: Re: Problem running custom startup script at proper time > > Doh! Forgot to reply to the mailing list. > > > Nope, that didn't work either. Darn. Maybe I'll just have to modify > the /etc/rc.d/zfs script to run the for loop first :( How about just modifying the REQUIRE header on it to include 'gnop' the sequencer that selects the order to run rc.d things in sorts based on the REQUIRE/PROVIDES dependencies. > > On Sun, Sep 19, 2010 at 14:04, Boris Samorodov wrote: > > On Sun, 19 Sep 2010 13:55:41 -0700 Aaron wrote: > >> On Sun, Sep 19, 2010 at 13:27, Boris Samorodov wrote: > >> > On Sun, 19 Sep 2010 12:40:52 -0700 Aaron wrote: > >> > > >> >> # PROVIDE: gnop > >> > > >> > What if you try "PROVIDE: disks" instead? > > > >> No good. I also tried the following in the gnop script: > > > >> # PROVIDE: gnop > >> # REQUIRE: mountcritlocal > >> # BEFORE: zfs > > > > /etc/rc.d/geli has this: > > ----- > > # PROVIDE: disks > > # REQUIRE: initrandom > > # KEYWORD: nojail > > ----- > > > > Seems that that should work for you. If not I'm out of ideas > > for now. > > > >> The services -r looks promising, but the dmesg is still the same :( > >> =A0When I disable zfs auto-mount, and then run it manually after boot, > >> it uses the .nop devices that were created correctly as it should. > > > >> EXCERPT services -r > >> /etc/rc.d/mdconfig > >> /etc/rc.d/mountcritlocal > >> /etc/rc.d/gnop > >> /etc/rc.d/zfs > > > > -- > > WBR, Boris Samorodov (bsam) > > Research Engineer, http://www.ipt.ru Telephone & Internet SP > > 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 nightrecon at hotmail.com Mon Sep 20 16:38:43 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Mon Sep 20 16:38:47 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? References: <20100918114500.C20F41065761@hub.freebsd.org> <20100919194813.J11124@sola.nimnet.asn.au> <4C971132.7060809@FreeBSD.org> Message-ID: doug@safeport.com wrote: > On Mon, 20 Sep 2010, Rob Farmer wrote: > >> On Mon, Sep 20, 2010 at 00:45, Alex Dupre wrote: >>> This "issue" has been discussed too many times. The answer is simply >>> "no", but you can search the archives for the actual reason. You have to >>> comile the module for your specific apache installation. [snip] Many admins choose FastCGI over mod_php. We are not interested in having mod_php installed for us by default. So defaulting to 'off' is good. Had the OP been paying attention to this it would have been so simple for him to click the box in make config and build/install mod_php. Why should it be automatically "On" for those of us who do not want nor use mod_php? Being caught out when a change occurs is simply inattention to detail. [snip] > 4) My own opinion of best admin practices generally follows, if you > don't > need it, don't install it. > > If you build/install something like wordpress that requires both php and > apache, the correct thing is done. Usually even the required directives > are added to httpd.conf. The original question does not say if a port > management system was used to upgrade apache. If that was the case, > perhaps one could argue apache was not updated properly. Even in that > case, I would argue that the bug [if any] lies with the port management > system. The reason for paying attention is time can, and does, bring change. Maybe once upon a time installing mod_php was the default, but as more people selected alternatives it was decided to leave the choice up to the user. It is by not paying attention that such a change occurs and goes unnoticed. Blindly assuming that 'because it was always *this* way for years' does not mean things won't ever change. Many of these changes are logged in UPDATING. I have been updating Apache and PHP with portupgrade for years. I also recognize that a change in port build options may render the saved options file under the corresponding port directory in /var/db/ports invalid. When and if such a thing occurs it is up to me to recognize and adjust, rather than just blindly 'assume and ignore...'. These are the very typical duties of a system administrator. -Mike From bonomi at mail.r-bonomi.com Mon Sep 20 17:18:48 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Mon Sep 20 17:18:52 2010 Subject: The nightmarish problem of installing a printer Message-ID: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Mon Sep 20 07:11:41 2010 > Date: Mon, 20 Sep 2010 05:20:52 -0700 > From: perryh@pluto.rain.com > To: FreeBSD@insightbb.com > Cc: freebsd-questions@freebsd.org > Subject: Re: The nightmarish problem of installing a printer > > Steven Friedrich wrote: > > > > "Common Unix Printing System" certainly sounds as if the intent > > > was to be the "ONE thing that is used for printing". Whether > > > they did a good job of it is another question entirely :( > > > > I think that you don't fully apreciate the task at hand. When > > Unix was first invented, there were no laser printers, ink jets, > > USB, etc. > > > > That no one can create a one-size fits all solution OWES to the > > fact it's simply not always possible to unify disparate designs. > > They weren't designed to be interoperable. Technology keeps > > marchng forward. We need to discard all of it eventually. > > Back in the CP/M and early MS-DOS days, similar doubts were raised > regarding display systems. > > Fortunately, those doubts did not stop some developers from doing > what others thought impossible. The results included X11, which > has been rather durable for a considerable time. , , ROTFLMAO "X" works IF AND ONLY IF you have: 1) software that uses and responds to the *PUBLISHED* protocol for communicatins between applications and servers 2) a server that _knows_ how to communicate to the actual display device. either because that device behaves in compliance with a PUBLISHED specification, or because somebody who 'knows the secrets' has provided it. There has been an *EXACTLY* EQUIVALENT solution for printers for more than two decades. It's called "PostScript". The problem with supporting modern "WinPrinters" is that a signficant amount of the 'smarts' necessary to produce a printed page are *NOT* in the printer. they are on the 'driver' that the printer manufacturer supplies (and only as MS-WINDOWS(r) code). They 'know the secrets' (see #2 above), of how to talk to the stupid hardware, and provide a 'standard interface' (the windows device driver) on the 'upstream' side of that software. Unfortunately, that is the *only* interface THEY provide -- you can't talk PostScript to it, you can't talk PCL to it, you cant talk "X" to it, you can't even talk "Plain ASCII" to it. Since _nobody_else_ "knows the secrets" of how to actually communite with that stupid hardware, we _CANNOT_ write a driver to use the device, no matter how much we would like to. *UNLESS* the manufacturer releases the protocol info (see #2 above) for direct device communiction, that is. Some hardware 'speaks' a "standard' language, and is plug-and-play interchangable with any other device that speaks the same language, without *ANY* changes (not even a different 'device driver') to whatever it is connected to. As long as the connecting device has *a* driver tat supports that standard. Hardware that speaks a 'proprietary' language requires a 'customized' driver on the host system -- one that knows how to translate from the format that applications use to what the printer understands. *IF* the proprietary language is _documented_ -- i.e. =published= (see #2m above) -- then *anybody* with an incendive to do so *CAN* do so. *WITHOUT* such documentation, from *somewhere*, we are simply =unable= to do the things necessary to utilize that printer. No matter _how- 'attractive it is. "Adapting" MS-Windows print drivers is not 'practical' either. A windows print driver is embedd in the O/S KERNEL, with _system_ calls_ (not mere 'library' routines) that implement the 'device-dependant' rendering of layout/formating directions. One then takes the 'opaque object' so produced and sends it (via _another_ set of system calls) to the 'output' function of that same driver. In the Unix world, printing is handled _externally_ to the kernel. The application must have =its=own=means= of deciding what formatting/layout commands to use -- it _can't_ query the O/S for this info; the O/S simply doesn't have it. From lokadamus at gmx.de Mon Sep 20 17:39:09 2010 From: lokadamus at gmx.de (Lokadamus) Date: Mon Sep 20 17:39:15 2010 Subject: Problems with upgrade - lost partition In-Reply-To: <04B5DBAB-ECB2-45B4-BC1E-068824019A3A@boosten.org> References: <4C778326.8090802@boosten.org> <04B5DBAB-ECB2-45B4-BC1E-068824019A3A@boosten.org> Message-ID: <4C97961F.8030406@gmx.de> Under vmware both disk are online? Show dmesg something about the lost disk? Show "atacontrol list" your second hdd? When you use a generic kernel "freebsd-update upgrade -r 8.1-RELEASE" will work fine, i think. Am 18.09.2010 22:58, schrieb Peter Boosten: > Ping... > > -- HTTP://www.boosten.org > > On 27 aug 2010, at 11:19, Peter Boosten wrote: > >> Hi, >> >> I recently updated a machine (running on VMWare) from 7.2 to 8.1. >> >> This machine has two (virtual) disks. While the upgrade went rather >> smooth ('make buildworld, make buildkernel, make installkernel, reboot >> into single user, mergemaster -p, make installworld, mergemaster, >> reboot), I lost the partition on the second harddrive. >> >> So after reboot, the machine went directly in single user mode, because >> my /dev/ad1s1a was gone. The only devices in /dev where ad1 (the disk) >> and ad1s1 (the slice). >> >> Since I had a backup this didn't seem to be such a problem, however >> recreating the slice was. >> >> The only way I could get rid of that slice was through the gpart utility >> (sysinstall wouldn't help me at all): >> >> gpart delete ad1s1 >> gpart destroy ad1 >> >> After that sysinstall worked again. Is there any way around this (and >> preferably rescue the partition somehow, since I have more machines to >> upgrade, and while backups are there, restoring creates an additional >> delay in the whole process). >> >> Also, the numbering of the NICs changed from le0 to le1, which isn't >> that a big problem, but rather annoying. >> >> >> Thanks in advance. >> >> Peter >> -- >> http://www.boosten.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" > _______________________________________________ > 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 chris at chrismaness.com Mon Sep 20 19:00:12 2010 From: chris at chrismaness.com (Chris Maness) Date: Mon Sep 20 19:00:16 2010 Subject: RSS to email? Message-ID: Is there an app in ports that can fetch RSS feeds and send them as an email? Thanks, Chris Maness From glen.j.barber at gmail.com Mon Sep 20 19:30:17 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Sep 20 19:30:21 2010 Subject: RSS to email? In-Reply-To: References: Message-ID: <4C97B641.8030007@gmail.com> On 9/20/10 3:00 PM, Chris Maness wrote: > Is there an app in ports that can fetch RSS feeds and send them as an email? > mail/rss2email? :) Cheers, -- Glen Barber From sterling at camdensoftware.com Mon Sep 20 19:39:13 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Mon Sep 20 19:39:46 2010 Subject: RSS to email? In-Reply-To: <4C97B641.8030007@gmail.com> References: <4C97B641.8030007@gmail.com> Message-ID: <20100920193906.GC1909@libertas.local.camdensoftware.com> Quoth Glen Barber on Monday, 20 September 2010: > On 9/20/10 3:00 PM, Chris Maness wrote: > > Is there an app in ports that can fetch RSS feeds and send them as an email? > > > > mail/rss2email? :) > > Cheers, > > -- > Glen Barber > _______________________________________________ > 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 like newspipe better, but it isn't in ports (that I could find). It's just a python script, though. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100920/ab93dafc/attachment.pgp From glen.j.barber at gmail.com Mon Sep 20 19:45:02 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Sep 20 19:45:06 2010 Subject: RSS to email? In-Reply-To: <20100920193906.GC1909@libertas.local.camdensoftware.com> References: <4C97B641.8030007@gmail.com> <20100920193906.GC1909@libertas.local.camdensoftware.com> Message-ID: <4C97B9B9.2060101@gmail.com> On 9/20/10 3:39 PM, Chip Camden wrote: > Quoth Glen Barber on Monday, 20 September 2010: >> On 9/20/10 3:00 PM, Chris Maness wrote: >>> Is there an app in ports that can fetch RSS feeds and send them as an email? >>> >> >> mail/rss2email? :) >> > > I like newspipe better, but it isn't in ports (that I could find). It's > just a python script, though. > That looks interesting. Looks like it's not maintained anymore though. I may try that out anyway. -- Glen Barber From rfarmer at predatorlabs.net Mon Sep 20 21:23:00 2010 From: rfarmer at predatorlabs.net (Rob Farmer) Date: Mon Sep 20 21:23:04 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? In-Reply-To: References: <20100918114500.C20F41065761@hub.freebsd.org> <20100919194813.J11124@sola.nimnet.asn.au> <4C971132.7060809@FreeBSD.org> Message-ID: On Mon, Sep 20, 2010 at 08:00, wrote: > I think that response was not all that unreasonable. I'm not sure if you are referring to me or ale here. > ? 3) I think (proof left to the reader) there is an apache/php package. There's not. There's no way to run pkg_add -r and get the apache module (either that or it is poorly named and not found with a search). And, as I understand it, at one point there was, then it changed. My suggestion was to add it back via a slave port (say lang/php5-apache). This would be *in addition* to the existing lang/php5 port and everyone who is worried about unnecessary dependency bloat, security, etc. would be free to keep using that. Supposedly, there is a reason that shipping a binary package for this is impossible, despite the fact that every major Linux distribution does (and thus millions of web servers run this way) and supposedly there are many detailed descriptions of this reason in the list archives, though I can't find any. Adding the slave port was a good faith suggestion about how to improve the situation to meet everyone's needs. I feel it is rather dismissive and somewhat rude just say "The answer is simply 'no'" without any explanation. If it has been discussed so many times (for the record, I have been subscribed to this list for two years and have never seen such a thread), then it shouldn't be too hard to post a link. And if the maintainer is too busy with other work to do that, then, as I said, don't reply and let someone else explain it. -- Rob Farmer From bsd4michelle at tamay-dogan.net Mon Sep 20 21:25:18 2010 From: bsd4michelle at tamay-dogan.net (Michelle Konzack) Date: Mon Sep 20 21:25:22 2010 Subject: RSS to email? In-Reply-To: <4C97B9B9.2060101@gmail.com> References: <4C97B641.8030007@gmail.com> <20100920193906.GC1909@libertas.local.camdensoftware.com> <4C97B9B9.2060101@gmail.com> Message-ID: <20100920211501.GS4392@michelle1> Hello Glen Barber, Am 2010-09-20 15:44:57, hacktest Du folgendes herunter: > >> mail/rss2email? :) > > That looks interesting. Looks like it's not maintained anymore though. > I may try that out anyway. I am using "rss2email" in my BSD and Debian GNU/Linux Systems with the version which I found in Debian, because there, it IS MAINTAINED. Please be careful if you have a DISK FULL error, because the current version does not check for it and trash the databases to 0 Bytes. AFAIK is this already solved in the latest Linux version which run without any changes on and BSD versions. Thanks, Greetings and nice Day/Evening Michelle Konzack -- ##################### Debian GNU/Linux Consultant ###################### Development of Intranet and Embedded Systems with Debian GNU/Linux itsystems@tdnet France EURL itsystems@tdnet UG (limited liability) Owner Michelle Konzack Owner Michelle Konzack Apt. 917 (homeoffice) 50, rue de Soultz Kinzigstra?e 17 67100 Strasbourg/France 77694 Kehl/Germany Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil Tel: +33-9-52705884 fix Jabber linux4michelle@jabber.ccc.de ICQ #328449886 Linux-User #280138 with the Linux Counter, http://counter.li.org/ From m.seaman at infracaninophile.co.uk Mon Sep 20 22:05:50 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Sep 20 22:05:53 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? In-Reply-To: References: <20100918114500.C20F41065761@hub.freebsd.org> <20100919194813.J11124@sola.nimnet.asn.au> <4C971132.7060809@FreeBSD.org> Message-ID: <4C97DAA5.5080406@infracaninophile.co.uk> On 20/09/2010 22:22:57, Rob Farmer wrote: > My suggestion was to add it back via a slave port (say > lang/php5-apache). This would be *in addition* to the existing > lang/php5 port and everyone who is worried about unnecessary > dependency bloat, security, etc. would be free to keep using that. Yes, but you'ld need several different php5-apache ports to account for the different versions of apache available: 1.3, 2.0, 2.2 at least -- or rather, the corresponding versions of devel/apr. apr itself can depend optionally on mysql, postgresql, openldap, etc. etc. -- each combination of options there produces a runtime pretty much incompatible with either apache or modules compiled against apr with other combinations of modules selected. You begin to see the problem? Having said that, I do feel that having mod_php5 support available as a pkg -- just compiled against the default apache version with the default apache/apr settings -- would be a positive thing. Sometimes you just want to throw some php application onto a server with minimum effort, and being able to do that without having to compile either php or apache is definitely a win. 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/20100920/aac0fc6a/signature.pgp From carlj at peak.org Mon Sep 20 23:45:23 2010 From: carlj at peak.org (Carl Johnson) Date: Mon Sep 20 23:45:26 2010 Subject: extra open ports in rkhunter In-Reply-To: <87pqwar5sc.fsf@oak.localnet> (Carl Johnson's message of "Sat, 18 Sep 2010 16:27:47 -0700") References: <87pqwar5sc.fsf@oak.localnet> Message-ID: <87iq20ou7n.fsf@oak.localnet> Carl Johnson writes: > I am running rkhunter and it keeps reporting a port inconsistency > between sockstat and netstat -a. Netstat shows an extra 5 ports open, > but netstat doesn't show what is holding ports open, so I don't know > what they are. Does anybody know how to determine what is holding open > a port? I have been looking around but none of my ideas show anything. > This is a full desktop system with KDE4 and VirtualBox running, so it > has a lot of things running. The following are the ports if anybody has > any ideas, but I would also like to know how to trace them down myself: > tcp4 0 0 *.876 *.* LISTEN > tcp6 0 0 *.921 *.* LISTEN > udp4 0 0 *.608 *.* > udp6 0 0 *.952 *.* > udp6 0 0 *.804 *.* I did some further testing after getting some prompting from an off-list email. It turns out that all of those come from rpc.lockd, and that they are not fixed but change after every restart of rpc.lockd. I confirmed this with a fresh install from FreeBSD-8.1-RELEASE-amd64-dvd1.iso into VirtualBox with networking disabled. I also verified the checksums of the .iso to be sure that nothing had been tampered with. I had just been trying out nfs but didn't find anything that I couldn't handle with ssh, so I have since disabled NFS and all rpc daemons. Unlisted ports should be useless, so something else must handle those addresses, probably rpcbind or maybe rpc.statd. It does seem odd that rpc.statd has port addresses that show up in sockstat and others, but rpc.lockd does not. I never did find anthing that will show many of those hidden ports. Nmap will show open ports for tcp4 and tcp6, but it is too slow for upd4 and doesn't handle udp6 at all. Nmap also doesn't identify who has opened ports except by standard addresses, so that can't identify daemons that dynamically assign their addresses. Thanks for all of the suggestions. -- Carl Johnson carlj@peak.org From arundel at freebsd.org Tue Sep 21 00:06:24 2010 From: arundel at freebsd.org (Alexander Best) Date: Tue Sep 21 00:06:26 2010 Subject: make buildkernel pre-build too long In-Reply-To: References: <20100917003838.GA67783@freebsd.org> Message-ID: <20100921000624.GA86577@freebsd.org> On Fri Sep 17 10, David DEMELIER wrote: > 2010/9/17 Alexander Best : > > On Thu Sep 16 10, David DEMELIER wrote: > >> Hi there, > >> > >> I can't understand why this part of make buildkernel is so long on my > >> amd64 machine (8.1-R) > >> > >> make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | ?MKDEP_CPP="cc -E" > >> CC="cc" xargs mkdep -a -f .newdep -O2 -frename-registers -pipe > >> -fno-strict-aliasing ?-std=c99 ?-Wall -Wredundant-decls > >> -Wnested-externs -Wstrict-prototypes ?-Wmissing-prototypes > >> -Wpointer-arith -Winline -Wcast-qual ?-Wundef -Wno-pointer-sign > >> -fformat-extensions -nostdinc ?-I. -I/usr/src/sys > >> -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > >> -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath > >> -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm > >> -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD > >> -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs > >> -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb > >> -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > >> -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param > >> large-function-growth=1000 ?-fno-omit-frame-pointer -mcmodel=kernel > >> -mno-red-zone ?-mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx > >> -mno-3dnow ?-msoft-float -fno-asynchronous-unwind-tables > >> -ffreestanding -fstack-protector > >> > >> This command takes around 5-6 minutes before continuing, on my i386 > >> machine (which is really old) it only takes about 20 seconds. The > >> kernel configs are almost the same for both machines. > > > > are there any differences in /etc/make.conf? > > > > cheers. > > alex > > > >> > >> Do you have any idea? > >> > >> Kind regards, > >> > >> -- > >> Demelier David > > > > -- > > a13x > > > > No, except the KERNCONF entry it's exactly the same : hmmm....strange. could you post the ouput of `make -VCFLAGS -VCOPTFLAGS` on both your machines, please? cheers. alex > > # General settings. > KERNCONF=Melon > MASTER_SORT?= .fr .uk > > # Portconf. > .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf) > _PORTCONF!=/usr/local/libexec/portconf > .for i in ${_PORTCONF:S/|/ /g} > ${i:S/%/ /g} > .endfor > .endif > > # Perl. > PERL_VERSION=5.10.1 > > # No need modules. > NO_MODULES=yes > > # Specify other directories. > WRKDIRPREFIX= /usr/obj > DISTDIR= /usr/distfiles > > -- > Demelier David -- a13x From drizzt321 at gmail.com Tue Sep 21 00:19:25 2010 From: drizzt321 at gmail.com (Aaron) Date: Tue Sep 21 00:19:28 2010 Subject: Problem running custom startup script at proper time In-Reply-To: <201009201600.o8KG0iNk013372@mail.r-bonomi.com> References: <201009201600.o8KG0iNk013372@mail.r-bonomi.com> Message-ID: On Mon, Sep 20, 2010 at 09:00, Robert Bonomi wrote: >> From owner-freebsd-questions@freebsd.org ?Sun Sep 19 16:37:49 2010 >> From: Aaron >> Date: Sun, 19 Sep 2010 14:39:08 -0700 >> To: freebsd-questions@freebsd.org >> Subject: Re: Problem running custom startup script at proper time >> >> Doh! Forgot to reply to the mailing list. >> >> >> Nope, that didn't work either. Darn. Maybe I'll just have to modify >> the /etc/rc.d/zfs script to run the for loop first :( > > How about just modifying the REQUIRE header on it to include ?'gnop' > the sequencer that selects the order to run rc.d things in sorts based > on the REQUIRE/PROVIDES dependencies. > Nope, that didn't fix it. I even tried editing /etc/rc.d/zfs and included the gnop commands in the zfs_start(). The gnop still started up _after_ the ZFS in dmesg. However, I did figure it out after looking at the services that were starting up. There is apparent a 'zvol' script, which was the culprit. It was loading some ZFS stuff before the 'zfs' script. Once I set the 'gnop' script to startup before the 'zvol' script, worked like a charm. My zpool status now shows that it's using the gnop devices. Yay!! >> >> On Sun, Sep 19, 2010 at 14:04, Boris Samorodov wrote: >> > On Sun, 19 Sep 2010 13:55:41 -0700 Aaron wrote: >> >> On Sun, Sep 19, 2010 at 13:27, Boris Samorodov wrote: >> >> > On Sun, 19 Sep 2010 12:40:52 -0700 Aaron wrote: >> >> > >> >> >> # PROVIDE: gnop >> >> > >> >> > What if you try "PROVIDE: disks" instead? >> > >> >> No good. I also tried the following in the gnop script: >> > >> >> # PROVIDE: gnop >> >> # REQUIRE: mountcritlocal >> >> # BEFORE: zfs >> > >> > /etc/rc.d/geli has this: >> > ----- >> > # PROVIDE: disks >> > # REQUIRE: initrandom >> > # KEYWORD: nojail >> > ----- >> > >> > Seems that that should work for you. If not I'm out of ideas >> > for now. >> > >> >> The services -r looks promising, but the dmesg is still the same :( >> >> =A0When I disable zfs auto-mount, and then run it manually after boot, >> >> it uses the .nop devices that were created correctly as it should. >> > >> >> EXCERPT services -r >> >> /etc/rc.d/mdconfig >> >> /etc/rc.d/mountcritlocal >> >> /etc/rc.d/gnop >> >> /etc/rc.d/zfs >> > >> > -- >> > WBR, Boris Samorodov (bsam) >> > Research Engineer, http://www.ipt.ru Telephone & Internet SP >> > 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 cpghost at cordula.ws Tue Sep 21 00:42:25 2010 From: cpghost at cordula.ws (C. P. Ghost) Date: Tue Sep 21 00:42:29 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> Message-ID: On Mon, Sep 20, 2010 at 7:16 PM, Robert Bonomi wrote: > "Adapting" ?MS-Windows print drivers is not 'practical' either. ?A windows > print driver is embedd in the O/S KERNEL, ?with _system_ calls_ (not > mere 'library' routines) that implement the 'device-dependant' rendering > of layout/formating directions. ?One then takes the 'opaque object' so > produced and sends it (via _another_ set of system calls) to the 'output' > function of that same driver. Is that really so? How about writing some emulation shim like ndis(4) for winprinters? Please correct me if I'm wrong, as I'm not a Windows systems programmer, but this is what I'm thinking about. As far as I understand Windows printing, there are two aspects to resolve, given a vendor supplied windriver binary blob: 1/ the windriver gets some (opaque) data from the GDI+ -- maybe a bitmap, with some meta data. 2/ the windriver interprets this data however it sees fit, and then talks to the NT kernel (maybe via DLL calls) to send electrical impulses to the printer. Now, the data formats of 1/ (GDI stuff) is probably well defined (and therefore published) in gdiplus.dll or something similar and is the same for all windriver blobs. The API/ABI needed to talk to the NT kernel is probably defined in the Windows DDK (or whatever it is called nowadays). So, in both cases, we have stable API/ABI interfaces on both sides of the windriver binary blob: 1/, 2/ at the upper half, and 2/ at the bottom half. So, if we wanted to use those windriver blobs just like in the ndis(4) case, all we need is an emulation shim for both interfaces. Maybe 1/ is already covered by Wine (?) so we could borrow some code from there; and 2/ is basically a matter of mapping the subset of NT calls needed to read from and write to Windows ports to Unix calls to read and write to our Unix devices. Again, I'm no Windows programmer, and it is probably more involved than this. But the basic idea remains: the interfaces on both sides of the windriver binary blobs is pretty stable and (I think) not a secret at all. > In the Unix world, printing is handled _externally_ to the kernel. The > application must have =its=own=means= of deciding what formatting/layout > commands to use -- it _can't_ query the O/S for this info; the O/S simply > doesn't have it. Well, it doesn't matter if the windriver shims run as userland daemon or (partially) inside the kernel. The point here is that the windriver <-> NT, and windriver <-> GDI+ interface are both stable and not difficult to understand, so both can be emulated. At least theoretically. In practice, it takes some time and effort to get it right, quite obviously. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From editor at d3photography.com Tue Sep 21 03:25:03 2010 From: editor at d3photography.com (Ryan Coleman) Date: Tue Sep 21 03:25:07 2010 Subject: Zip file making issues Message-ID: Does anyone have any advice for this? I'm working on a series of commands - executed in a shell script - that zips a deep directory in a tree. But it makes the full path as part of the ZIP file. That's not what I want - I just want those directories that appear after the "*". In this case: "-J" eliminates all the paths - bad because it also kills those after the "*" Here's my default that includes the whole d*mn path. /usr/local/bin/zip -r /usr/www/d3photography.com/htdocs/images/paidphotos/1284343047-Le-ach.zip /mount/archive/orders/Sep20/1284343047-Le-ach/download* I could just run a "cd" to the directory parent and do it there - that would solve the problem - but that's simply too dangerous if the script generator throws an error on the next set of commands (a risk I do not want to take). So how do I get it to store as "download/small/image.jpg" inside of the ZIP file instead of "mount/archive/orders/Sep20/1284343047-Le-ach/download/small/image.jpg". I only recently discovered this bug -- none of my clients have had the guts to tell me about it. TIA, Ryan From matt at gsicomp.on.ca Tue Sep 21 03:49:22 2010 From: matt at gsicomp.on.ca (Matt Emmerton) Date: Tue Sep 21 03:49:25 2010 Subject: Zip file making issues References: Message-ID: ----- Original Message ----- From: "Ryan Coleman" To: "FreeBSD Questions" Sent: Monday, September 20, 2010 11:11 PM Subject: Zip file making issues Does anyone have any advice for this? I'm working on a series of commands - executed in a shell script - that zips a deep directory in a tree. But it makes the full path as part of the ZIP file. That's not what I want - I just want those directories that appear after the "*". In this case: "-J" eliminates all the paths - bad because it also kills those after the "*" Here's my default that includes the whole d*mn path. /usr/local/bin/zip -r /usr/www/d3photography.com/htdocs/images/paidphotos/1284343047-Le-ach.zip /mount/archive/orders/Sep20/1284343047-Le-ach/download* I could just run a "cd" to the directory parent and do it there - that would solve the problem - but that's simply too dangerous if the script generator throws an error on the next set of commands (a risk I do not want to take). So how do I get it to store as "download/small/image.jpg" inside of the ZIP file instead of "mount/archive/orders/Sep20/1284343047-Le-ach/download/small/image.jpg". I only recently discovered this bug -- none of my clients have had the guts to tell me about it. ============== Just change the directory before you start zipping. cd /mount/archive/orders/Sep20/1284343047-Le-ach /usr/local/bin/zip -r /usr/www/d3photography.com/htdocs/images/paidphotos/1284343047-Le-ch.zip download* -- Matt Emmerton From editor at d3photography.com Tue Sep 21 03:54:03 2010 From: editor at d3photography.com (Ryan Coleman) Date: Tue Sep 21 03:54:07 2010 Subject: Zip file making issues In-Reply-To: References: Message-ID: <70BA7AC2-7300-41F6-9D3E-7AFEAD7F533E@d3photography.com> On Sep 20, 2010, at 10:32 PM, Matt Emmerton wrote: > > ----- Original Message ----- From: "Ryan Coleman" > To: "FreeBSD Questions" > Sent: Monday, September 20, 2010 11:11 PM > Subject: Zip file making issues > > > Does anyone have any advice for this? > > I'm working on a series of commands - executed in a shell script - that zips a deep directory in a tree. But it makes the full path as part of the ZIP file. That's not what I want - I just want those directories that appear after the "*". In this case: > > "-J" eliminates all the paths - bad because it also kills those after the "*" > > Here's my default that includes the whole d*mn path. > /usr/local/bin/zip -r /usr/www/d3photography.com/htdocs/images/paidphotos/1284343047-Le-ach.zip /mount/archive/orders/Sep20/1284343047-Le-ach/download* > > I could just run a "cd" to the directory parent and do it there - that would solve the problem - but that's simply too dangerous if the script generator throws an error on the next set of commands (a risk I do not want to take). > > So how do I get it to store as "download/small/image.jpg" inside of the ZIP file instead of "mount/archive/orders/Sep20/1284343047-Le-ach/download/small/image.jpg". > > I only recently discovered this bug -- none of my clients have had the guts to tell me about it. > > ============== > > Just change the directory before you start zipping. > > cd /mount/archive/orders/Sep20/1284343047-Le-ach > /usr/local/bin/zip -r /usr/www/d3photography.com/htdocs/images/paidphotos/1284343047-Le-ch.zip download* As I said in my OP: I could just run a "cd" to the directory parent and do it there - that would solve the problem - but that's simply too dangerous if the script generator throws an error on the next set of commands (a risk I do not want to take). Thank you, though. I'm hoping to find a solution instead with PHP. One of these generated files comes out of PHP in a different directory path where a change of directory is not possible. -- Ryan From williamkindler at att.net Tue Sep 21 02:39:23 2010 From: williamkindler at att.net (William Kindler) Date: Tue Sep 21 04:22:20 2010 Subject: wireless networking Message-ID: <4C98149D.6070902@att.net> -- I have 2 wireless adapter that I am able to use for my system. One is a usb device, a D-Link DWA130, and the other is a PCI device, a Netgear WN311T. I can find no information about Linux or UNIX support, or drivers for either, on your website or on the respective manufacturer's sites, nor can I find out what chipsets they are using. Are either of these devices supported with Free-BSD, or the PC-BSD? Bill Kindler From michael.ross at gmx.net Tue Sep 21 04:40:44 2010 From: michael.ross at gmx.net (Michael Ross) Date: Tue Sep 21 04:41:04 2010 Subject: Zip file making issues In-Reply-To: <70BA7AC2-7300-41F6-9D3E-7AFEAD7F533E@d3photography.com> References: <70BA7AC2-7300-41F6-9D3E-7AFEAD7F533E@d3photography.com> Message-ID: Am 21.09.2010, 05:53 Uhr, schrieb Ryan Coleman : > > As I said in my OP: I could just run a "cd" to the directory parent and > do it there - that would solve the problem - but that's simply too > dangerous if the script generator throws an error on the next set of > commands (a risk I do not want to take). Maybe you could: mount -t nullfs -o ro /where/my/data/is /mnt cd /mnt zip ... Regards, Michael From ryan.coleman at cwis.biz Tue Sep 21 05:10:23 2010 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Tue Sep 21 05:10:26 2010 Subject: Zip file making issues In-Reply-To: References: <70BA7AC2-7300-41F6-9D3E-7AFEAD7F533E@d3photography.com> Message-ID: <7BB63DDA-62AB-43FB-B6A3-3ABDFB3A16F6@cwis.biz> On Sep 20, 2010, at 11:14 PM, Michael Ross wrote: > Am 21.09.2010, 05:53 Uhr, schrieb Ryan Coleman : > > >> >> As I said in my OP: I could just run a "cd" to the directory parent and do it there - that would solve the problem - but that's simply too dangerous if the script generator throws an error on the next set of commands (a risk I do not want to take). > > Maybe you could: > > mount -t nullfs -o ro /where/my/data/is /mnt > cd /mnt > zip ... Excellent suggestion. I have a PHP possibility I am going to try... and if that fails I think this will be the likely resolution for at least the shell script (although this still doesn't fix the PHP run command - I'll deal with that later I guess) -- Ryan From m.seaman at infracaninophile.co.uk Tue Sep 21 05:14:28 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Sep 21 05:14:31 2010 Subject: Zip file making issues In-Reply-To: <70BA7AC2-7300-41F6-9D3E-7AFEAD7F533E@d3photography.com> References: <70BA7AC2-7300-41F6-9D3E-7AFEAD7F533E@d3photography.com> Message-ID: <4C983F1F.700@infracaninophile.co.uk> On 21/09/2010 04:53:58, Ryan Coleman wrote: > As I said in my OP: I could just run a "cd" to the directory parent > and do it there - that would solve the problem - but that's simply > too dangerous if the script generator throws an error on the next set > of commands (a risk I do not want to take). Um.... changing directory *is* the way to solve this. Really. What you can do in a shell script is work in a sub-shell: that way, even if your zip command goes bananas, you are automatically returned to your original working directory. To create a sub-shell, just enclose your commands in (brackets). ( cd /mount/archive/orders/Sep20/1284343047-Le-ach/ ; zip -r /usr/www/d3photography.com/htdocs/images/paidphotos/1284343047-Le-ach.zip \ download* ) 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/20100921/e04a53e6/signature.pgp From editor at d3photography.com Tue Sep 21 05:16:50 2010 From: editor at d3photography.com (Ryan Coleman) Date: Tue Sep 21 05:16:54 2010 Subject: Zip file making issues In-Reply-To: <4C983F1F.700@infracaninophile.co.uk> References: <70BA7AC2-7300-41F6-9D3E-7AFEAD7F533E@d3photography.com> <4C983F1F.700@infracaninophile.co.uk> Message-ID: That changing of directories doesn't solve the PHP script I have building ZIP files, though, with a single shell command (path/to/zip /path/to/zip.zip -r /path/to/folder/to/zip). But I have solved this now with another PHP script that I can call both as part of my Apache CGI but also as a CLI. I just have to implement it which I will do in the morning. -- Ryan On Sep 21, 2010, at 12:14 AM, Matthew Seaman wrote: > On 21/09/2010 04:53:58, Ryan Coleman wrote: >> As I said in my OP: I could just run a "cd" to the directory parent >> and do it there - that would solve the problem - but that's simply >> too dangerous if the script generator throws an error on the next set >> of commands (a risk I do not want to take). > > Um.... changing directory *is* the way to solve this. Really. > > What you can do in a shell script is work in a sub-shell: that way, > even if your zip command goes bananas, you are automatically returned to > your original working directory. To create a sub-shell, just enclose > your commands in (brackets). > > ( > cd /mount/archive/orders/Sep20/1284343047-Le-ach/ ; > zip -r > /usr/www/d3photography.com/htdocs/images/paidphotos/1284343047-Le-ach.zip \ > download* > ) > > 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 demelier.david at gmail.com Tue Sep 21 06:21:30 2010 From: demelier.david at gmail.com (David DEMELIER) Date: Tue Sep 21 06:21:33 2010 Subject: make buildkernel pre-build too long In-Reply-To: <20100921000624.GA86577@freebsd.org> References: <20100917003838.GA67783@freebsd.org> <20100921000624.GA86577@freebsd.org> Message-ID: 2010/9/21 Alexander Best : > On Fri Sep 17 10, David DEMELIER wrote: >> 2010/9/17 Alexander Best : >> > On Thu Sep 16 10, David DEMELIER wrote: >> >> Hi there, >> >> >> >> I can't understand why this part of make buildkernel is so long on my >> >> amd64 machine (8.1-R) >> >> >> >> make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | ?MKDEP_CPP="cc -E" >> >> CC="cc" xargs mkdep -a -f .newdep -O2 -frename-registers -pipe >> >> -fno-strict-aliasing ?-std=c99 ?-Wall -Wredundant-decls >> >> -Wnested-externs -Wstrict-prototypes ?-Wmissing-prototypes >> >> -Wpointer-arith -Winline -Wcast-qual ?-Wundef -Wno-pointer-sign >> >> -fformat-extensions -nostdinc ?-I. -I/usr/src/sys >> >> -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter >> >> -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath >> >> -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm >> >> -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD >> >> -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs >> >> -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb >> >> -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h >> >> -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param >> >> large-function-growth=1000 ?-fno-omit-frame-pointer -mcmodel=kernel >> >> -mno-red-zone ?-mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx >> >> -mno-3dnow ?-msoft-float -fno-asynchronous-unwind-tables >> >> -ffreestanding -fstack-protector >> >> >> >> This command takes around 5-6 minutes before continuing, on my i386 >> >> machine (which is really old) it only takes about 20 seconds. The >> >> kernel configs are almost the same for both machines. >> > >> > are there any differences in /etc/make.conf? >> > >> > cheers. >> > alex >> > >> >> >> >> Do you have any idea? >> >> >> >> Kind regards, >> >> >> >> -- >> >> Demelier David >> > >> > -- >> > a13x >> > >> >> No, except the KERNCONF entry it's exactly the same : > > hmmm....strange. could you post the ouput of `make -VCFLAGS -VCOPTFLAGS` on > both your machines, please? > > cheers. > alex > >> >> # General settings. >> KERNCONF=Melon >> MASTER_SORT?= .fr .uk >> >> # Portconf. >> .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf) >> _PORTCONF!=/usr/local/libexec/portconf >> .for i in ${_PORTCONF:S/|/ /g} >> ${i:S/%/ /g} >> .endfor >> .endif >> >> # Perl. >> PERL_VERSION=5.10.1 >> >> # No need modules. >> NO_MODULES=yes >> >> # Specify other directories. >> WRKDIRPREFIX= ? /usr/obj >> DISTDIR= ? ? ? ?/usr/distfiles >> >> -- >> Demelier David > > -- > a13x > -O2 -pipe I think the problem is the amd64 architecture. When I buildkernel using TARGET_ARCH=i386 it takes only one minute or even less, it's only native target (amd64) which is long. Kind regards, -- Demelier David From faust64 at gmail.com Tue Sep 21 06:37:55 2010 From: faust64 at gmail.com (=?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?=) Date: Tue Sep 21 06:37:58 2010 Subject: wireless networking In-Reply-To: <4C98149D.6070902@att.net> References: <4C98149D.6070902@att.net> Message-ID: to find about your devices, and check you've a driver to use them: pciconf -lv Samuel Mart?n Moro {EPITECH.} tek5 CamTrace S.A.S (+033) 1 41 38 37 60 1 All?e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Tue, Sep 21, 2010 at 4:12 AM, William Kindler wrote: > > -- I have 2 wireless adapter that I am able to use for my system. One is a > usb device, a D-Link DWA130, and the other is a PCI device, a Netgear > WN311T. I can find no information about Linux or UNIX support, or drivers > for either, on your website or on the respective manufacturer's sites, nor > can I find out what chipsets they are using. > Are either of these devices supported with Free-BSD, or the PC-BSD? > > > Bill Kindler > > _______________________________________________ > 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 faust64 at gmail.com Tue Sep 21 08:18:36 2010 From: faust64 at gmail.com (=?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?=) Date: Tue Sep 21 08:18:41 2010 Subject: dnsmasq, mfsBSD, status refused In-Reply-To: References: Message-ID: Hi, I tried to associate hostnames with IPs in the hosts file. And it worked... With my linux gate, declaring hosts (mac,ip,name,lease) in one line works perfectly... I don't understand why it won't with FreeBSD... Whatever, sorry for the disturbance :) Cheers, Samuel Mart?n Moro {EPITECH.} tek5 CamTrace S.A.S On Mon, Sep 20, 2010 at 2:56 PM, Samuel Mart?n Moro wrote: > > Hi > > > I'm trying to replace my gate with a qnap ts-509. > I installed mfsBSD, based on FreeBSD-8.1-RELEASE amd64. > I just had to build some pre-configured packages, add ipfw, ipfw_nat and > libalias to boot modules. > > Everything's working just fine, except for the DNS (dnsmasq-2.55,1.tbz, > rebuilt with config files and ipfw startup script) > > DHCP works perfectly. But DNS does not... > Even on the (soon-to-be) gateway, so I'm assuming ipfw is not related to > the problem (in doubt, I still send it) > root@phi /real/tmp : ipfw list > 00001 check-state > 00002 allow ip from any to any via lo0 > 00003 allow tcp from any to any established > 00500 allow ip from any to any via bge1 > 00666 allow tcp from me to any out via bge0 setup uid root keep-state > 65535 deny ip from any to any > (since bge0 is not plugged, it's quite empty...) > > > > root@phi /real/tmp : ./dig @localhost alpha.faust-network > > ; <<>> DiG 9.6.2-P2 <<>> alpha.faust-network > ;; global options: +cmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 13068 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;alpha.faust-network. IN A > > ;; Query time: 13 msec > ;; SERVER: 127.0.0.1#53(127.0.0.1) > ;; WHEN: Mon Sep 20 13:41:15 2010 > ;; MSG SIZE rcvd: 37 > > > basically, my configuration is the following: > > cache-size=1024 > local-ttl=15 > log-dhcp > interface=bge1 > bind-interfaces > no-negcache > dhcp-range=10.254.254.1,10.254.254.254,255.0.0.0,1h > dhcp-boot=pxelinux.0,omega,10.42.42.45 # PXE TFTP server (omega) > dhcp-option=3,10.242.42.254 # gateway > dhcp-option=19,1 # option ip-forwarding off > dhcp-option=23,42 # TTL de 42 > dhcp-option=44,10.242.42.254 # Wins Server > dhcp-option=45,10.242.42.254 # NetBios DDS > dhcp-option=46,8 # NetBios Node Type > > dhcp-option=option:ntp-server,213.186.41.134,88.191.79.242,193.55.167.2,80.65.235.4,194.57.191.1,91.121.45.45 > dhcp-script=/usr/local/bin/dhcp_action > domain=faust-network > expand-hosts > bogus-nxdomain=64.94.110.11 #get SSL certificate from another CAServer > localmx > selfmx > conf-file=/usr/local/etc/blocklist.conf # filter adds, shits, facebook, ... > > > my resolv.conf: > nameserver 10.242.42.254 #localhost, priv addr > nameserver 8.8.4.4 > domain faust-network > > > I already have a dnsmasq working perfectly on my current gate > (ArchLinux-x86_64). > I copied the configuration, making a few changes (192.168.0.0/24 -> > 10.0.0.0/8). > So, I don't understant what I'm doing wrong.... > Any idea? > > > > Cheers, > > --- > > Samuel Mart?n Moro > {EPITECH.} tek5 > CamTrace S.A.S > > From xinqingshiguang1 at yahoo.cn Tue Sep 21 08:58:24 2010 From: xinqingshiguang1 at yahoo.cn (Lynn) Date: Tue Sep 21 08:58:28 2010 Subject: SpeedVoIP News 2010: VGSCLite Unblock your PC Dialer in UAE Message-ID: <0eca.302496.1998581@vmail11.mynewsletterbuilder.com> ====================================================================== ====================================================================== Software VGSCLite + Any brand softphone/dialer in UAE/Oman/Qatar/Africa = work fine! SpeedVoIP News 2010: VGSCLite--Seamless Integration with Legacy Softphone or Dialer for VoIP Anti-blockage Today many ISPs controlled by government are performing blockage of VoIP all over the world, especially in UAE, Oman, Qatar, and Africa. There are several ways to bypass blocking imposed by ISP even in these countries. Many service providers turn into VPN or VoIP Tunnel solution to allow use of VoIP and work around current blocking issue. But they have their own drawback such as high overhead and delay or poor quality when high call capacity. Now an entirely new approach is at your finger and accepts your choice. Now SpeedVoIP launches innovative anti-blocking solution VGSCLite for integration with your legacy softphone or dialer. And it’s targeted for any 3rd-party SIP softphone such as X-Lite/Eyebeam. The biggest advantage of VGSClite is easy and affordable to integrate anti-blocking feature into your existing branded Softphone/Dialer in operation that reduces tough development and testing effort. Benefits Seamless integration with legacy Softphone/Dialer; Reducing recurring costs significantly; Free you from repeatedly buying softphone/dialer; Any 3rd-party Softphone/Dialer supported; Most comprehensive codec support including g.711/g.723/g.729ab/iLBC/gsm/speechX; Excellent voice quality without any latency and performance compromise; Maximum call completion rate and maximum voice service duration; SIP core standards and a variety of drafts supported; Proprietary link layer protocol for call controlling; Bypassing Narus and Verso platform detection; Flexible user-customized encryption policy driven; Strict call path protection and security up to termination; Only simultaneous signaling/media/T.38 fax packet support across any firewall; No network or firewall modification is required; Available on main-stream Windows OS. Lynn SpeedVoIP Communication Technology Co.,Ltd Tel: +86 755 25504959 Fax: +86 755 25336159 MSN: svoipsales@hotmail.com Website: www.speed-voip.com Email: lynn@speed-voip.com Skype: svoipsales Yahoo: speedvoip@yahoo.com SpeedVoIP Communication Technology Co.,Ltd - futian - shenzhen - - 518000 Subscribe to this newsletter: https://www.mynewsletterbuilder.com/tools/subscription.php?username=contentkaren&send_id=1866853387&l=s&newsletter_id=1410532603 Unsubscribe freebsd-questions@freebsd.org: https://www.mynewsletterbuilder.com/tools/subscription.php?username=contentkaren&send_id=1866853387&l=u&email=freebsd-questions@freebsd.org Change your preferences: https://www.mynewsletterbuilder.com/tools/subscription.php?username=contentkaren&send_id=1866853387&l=p&email=freebsd-questions@freebsd.org Forward to a friend: https://www.mynewsletterbuilder.com/tools/forward.php?username=contentkaren&newsletter_id=1410532603&send_id=1866853387 Report this email as spam: https://www.mynewsletterbuilder.com/tools/abuse_report.php?username=contentkaren&send_id=1866853387&email=freebsd-questions@freebsd.org This email was sent using MyNewsletterBuilder.com. From sudakov at sibptus.tomsk.ru Tue Sep 21 09:03:20 2010 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Tue Sep 21 09:03:24 2010 Subject: apache22 and threads In-Reply-To: References: <20100920060811.GA10084@admin.sibptus.tomsk.ru> Message-ID: <20100921090316.GA36655@admin.sibptus.tomsk.ru> Michael Powell wrote: > > > > When building apache22 from ports, would you recommend to enable or to > > disable threads support? > > > > Even more confusing is the fact that for ports/www/apache22 the default > > is: "Enable threads support in APR is off" (WITHOUT_THREADS=true) > > > > while for ports/devel/apr1 the default is: > > "Enable Threads in apr is on" (WITH_THREADS=true). > > > > Thank you in advance for any input. > > > > PS ports/devel/apr1 will also be used for the subversion client. > > > > I wouldn't mind someone with more apache22-fu to elaborate, correcting the > following if necessary. > > My thoughts are this matters depending upon which mpm you choose to build > into apache. The default is prefork, and it handles incoming requests by > spawning child processes. Do you mean to say "WITH_MPM=prefork" works exactly like apache13? [dd] > > An additional consideration might be what kind of backend is used. For > example, since not all of PHP is known to be thread safe it is not > recommended for use with a threaded server and mod_php. The way to get > around this situation is to separate PHP from Apache with something like > mod_fcgid which runs PHP as a FastCGI. This way you can safely run a > threaded Apache with non-thread safe PHP. As far as which is the better > approach I still am not really sure. Each has its set of pros and cons. From what you have written it seems that prefork and no threads is the robustest, most reliable configuration (even if more resource consuming)? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From milu at dat.pl Tue Sep 21 09:39:18 2010 From: milu at dat.pl (Maciej Milewski) Date: Tue Sep 21 09:39:23 2010 Subject: wireless networking In-Reply-To: <4C98149D.6070902@att.net> References: <4C98149D.6070902@att.net> Message-ID: <201009211122.03155.milu@dat.pl> On Tuesday 21 September 2010 04:12:45, William Kindler wrote: > -- I have 2 wireless adapter that I am able to use for my system. One is > a usb device, a D-Link DWA130, and the other is a PCI device, a Netgear > WN311T. I can find no information about Linux or UNIX support, or > drivers for either, on your website or on the respective manufacturer's > sites, nor can I find out what chipsets they are using. > Are either of these devices supported with Free-BSD, or the PC-BSD? > Bill Kindler Asking google shows that there are informations about them on many linux forums. It depends on revision of these cards because f.ex. DWA130 has 5 revisions from A(no rev number) to E and they're using different chipsets inside. As an example information from net8192su.inf: %DWA-130C2.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1&PID_3302 %DWA-130E1.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1&PID_3300 %DWA-131A1.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1&PID_3303 I don't know this chipset and if it's supported by any driver. Looking for the Netgear it looks that it's Marvell 88W8361 and it's rather not supported by FreeBSD. Atleast man(8) mwl says that only 88W8363 is supported. Regards, Maciek From nightrecon at hotmail.com Tue Sep 21 09:46:20 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Tue Sep 21 09:46:24 2010 Subject: apache22 and threads References: <20100920060811.GA10084@admin.sibptus.tomsk.ru> <20100921090316.GA36655@admin.sibptus.tomsk.ru> Message-ID: Victor Sudakov wrote: [snip] >> >> My thoughts are this matters depending upon which mpm you choose to build >> into apache. The default is prefork, and it handles incoming requests by >> spawning child processes. > > Do you mean to say "WITH_MPM=prefork" works exactly like apache13? > Essentially yes. Although you don't have to specify as it is the default. You would only need to specify for a non-default configuration. >> >> An additional consideration might be what kind of backend is used. For >> example, since not all of PHP is known to be thread safe it is not >> recommended for use with a threaded server and mod_php. The way to get >> around this situation is to separate PHP from Apache with something like >> mod_fcgid which runs PHP as a FastCGI. This way you can safely run a >> threaded Apache with non-thread safe PHP. As far as which is the better >> approach I still am not really sure. Each has its set of pros and cons. > > From what you have written it seems that prefork and no threads > is the robustest, most reliable configuration (even if more resource > consuming)? > Most tried and true with the longest track record. Definitely the conservative approach. I have been running the event mpm with PHP as FastCGI for about a year and a half now on two servers with no reliability issues. However, neither is ever fully loaded so I can't say whether they'd fold if hit with enough traffic. The prefork mpm without threads and mod_php is a safe bet for a server that will not be hitting the wall, traffic volume-wise. -Mike From smithi at nimnet.asn.au Tue Sep 21 10:23:43 2010 From: smithi at nimnet.asn.au (Ian Smith) Date: Tue Sep 21 10:23:48 2010 Subject: why is the PHP stuff line "off" by default in ports/lang/php5? In-Reply-To: <20100921062151.185441065695@hub.freebsd.org> References: <20100921062151.185441065695@hub.freebsd.org> Message-ID: <20100921185247.N11124@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 329, Issue 2, Message: 14 On Mon, 20 Sep 2010 14:22:57 -0700 Rob Farmer wrote: > On Mon, Sep 20, 2010 at 08:00, wrote: > > I think that response was not all that unreasonable. > > I'm not sure if you are referring to me or ale here. To ale@ I expect. Since I started this in response to Gary's surprise, I'd better try cleaning up a bit :) > > ? 3) I think (proof left to the reader) there is an apache/php package. > > There's not. There's no way to run pkg_add -r and get the > apache module (either that or it is poorly named and not found with a > search). > > And, as I understand it, at one point there was, then it changed. Well, to be fair, it was quite a long time ago. As I recall without searching back years, when php5 came out both it and php4 - which had hitherto included mod_php in the distributed package - began defaulting to not building the module, rendering php packages useless for mod_php users. I think at that point apache 1.3 was still mainstream and 2.0 was still fairly new, perhaps in devel/ .. but I might misremember. > My suggestion was to add it back via a slave port (say > lang/php5-apache). This would be *in addition* to the existing > lang/php5 port and everyone who is worried about unnecessary > dependency bloat, security, etc. would be free to keep using that. > > Supposedly, there is a reason that shipping a binary package for this > is impossible, despite the fact that every major Linux distribution > does (and thus millions of web servers run this way) and supposedly > there are many detailed descriptions of this reason in the list > archives, though I can't find any. Well, I pretty well got it from the bit of ale's albeit terse response that you haven't mentioned: "You have to comile the module for your specific apache installation." which Matthew Seaman (thanks) has since expanded on more thoroughly. [And while there's LOTS of things about Linux I don't like, Debian's excellent binary updates for both system and apps isn't one of them; except a few customised apps, we've never _had_ to compile anything] > Adding the slave port was a good faith suggestion about how to > improve the situation to meet everyone's needs. I feel it is rather > dismissive and somewhat rude just say "The answer is simply 'no'" > without any explanation. Noone disputes your good faith; I think Alex was saying 'no' to me as much as to you. Most developers rarely appear (nor have spare time to read) freebsd-questions, and it was my cc that dragged him into this. > If it has been discussed so many times (for the record, I have been > subscribed to this list for two years and have never seen such a > thread), then it shouldn't be too hard to post a link. And if the > maintainer is too busy with other work to do that, then, as I said, > don't reply and let someone else explain it. Be not too easily annoyed, to invoke the old Fidonet adage :) I've been subscribed to questions for over 12 years, and most of these discussions were much longer ago than two. I expect most such discussion would have been on ports@ and perhaps other lists many/most of us don't follow. Whether packages of just the module and the necessary updates to apache configuration to use it for each of 1.3, 2.0 and 2.2 are feasible, I don't know. I'd use one if it was there, but don't have the time nor skills necessary to make such ports myself, so I'll shutup now :) cheers, Ian From phanquochien at gmail.com Tue Sep 21 10:28:26 2010 From: phanquochien at gmail.com (Phan Quoc Hien) Date: Tue Sep 21 10:28:33 2010 Subject: sysinstall with Fixit option and RootOnZFS/GPTZFSBoot caused kernel panic on Vmware machine! Message-ID: Hi everyone! I followed tut at http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/ to install FreeBSD Root on ZFS using GPT on my VMWARE virtual machine. When I go to step "Install FreeBSD to zroot" ....kernel-panic appeared! My virtual machine detail: RAM: 512MB HDD: 10GB vmware workstation: 7.1.0 build-261024 with FreeBSD 8.1-REL! See more detail about panic on image attached file. Please let me know how to solve this problem. Best regards, Mr.Hien -- Mr.Hien E-mail: phanquochien@gmail.com Website: www.mrhien.info From kalle.moller at gmail.com Tue Sep 21 10:34:06 2010 From: kalle.moller at gmail.com (=?UTF-8?Q?Kalle_M=C3=B8ller?=) Date: Tue Sep 21 10:34:16 2010 Subject: Samba32 in jail (NetBIOS workgroup) Message-ID: Hi I'm trying to get samba to work in a jail (made with ezjail and alias ip). Port installed only with WINS marked in config. I can get samba up and running, I can get a client to connect login, view files etc. My problem is that my WD TV Live can't connect directly, it uses something where it looks in it workgroup and then connects via NetBIOS name. So I need help to install samba in a jail, with NetBIOS and workgroup, (login is either local users or no login) ? I don't know if I need anything else then WINS when I install it ? Any short smb.conf that would do this ? :) I can provide dumps of everything if its needed ... -- Med Venlig Hilsen Kalle R. M?ller From freebsd.user at seibercom.net Tue Sep 21 11:37:27 2010 From: freebsd.user at seibercom.net (Jerry) Date: Tue Sep 21 11:37:38 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> Message-ID: <20100921073722.49d49e98@scorpio> On Tue, 21 Sep 2010 02:42:22 +0200 C. P. Ghost articulated: > On Mon, Sep 20, 2010 at 7:16 PM, Robert Bonomi > wrote: > > "Adapting" ?MS-Windows print drivers is not 'practical' either. ?A > > windows print driver is embedd in the O/S KERNEL, ?with _system_ > > calls_ (not mere 'library' routines) that implement the > > 'device-dependant' rendering of layout/formating directions. ?One > > then takes the 'opaque object' so produced and sends it (via > > _another_ set of system calls) to the 'output' function of that > > same driver. > > Is that really so? How about writing some emulation shim like ndis(4) > for winprinters? Please correct me if I'm wrong, as I'm not a Windows > systems programmer, but this is what I'm thinking about. > > As far as I understand Windows printing, there are two aspects to > resolve, given a vendor supplied windriver binary blob: > > 1/ the windriver gets some (opaque) data from the GDI+ -- maybe > a bitmap, with some meta data. > > 2/ the windriver interprets this data however it sees fit, and then > talks to the NT kernel (maybe via DLL calls) to send electrical > impulses to the printer. > > Now, the data formats of 1/ (GDI stuff) is probably well defined (and > therefore published) in gdiplus.dll or something similar and is the > same for all windriver blobs. The API/ABI needed to talk to the NT > kernel is probably defined in the Windows DDK (or whatever it is > called nowadays). > > So, in both cases, we have stable API/ABI interfaces on both sides > of the windriver binary blob: 1/, 2/ at the upper half, and 2/ at the > bottom half. > > So, if we wanted to use those windriver blobs just like in the ndis(4) > case, all we need is an emulation shim for both interfaces. Maybe 1/ > is already covered by Wine (?) so we could borrow some code from > there; and 2/ is basically a matter of mapping the subset of NT calls > needed to read from and write to Windows ports to Unix calls to read > and write to our Unix devices. > > Again, I'm no Windows programmer, and it is probably more involved > than this. But the basic idea remains: the interfaces on both sides > of the windriver binary blobs is pretty stable and (I think) not a > secret at all. > > > In the Unix world, printing is handled _externally_ to the kernel. > > The application must have =its=own=means= of deciding what > > formatting/layout commands to use -- it _can't_ query the O/S for > > this info; the O/S simply doesn't have it. > > Well, it doesn't matter if the windriver shims run as userland daemon > or (partially) inside the kernel. The point here is that the > windriver <-> NT, and windriver <-> GDI+ interface are both stable > and not difficult to understand, so both can be emulated. At least > theoretically. In practice, it takes some time and effort to get it > right, quite obviously. The bottom line is that installing and running a printer on a Window's machine is usually far easier than on a *nix variation. Even sharing a printer on a network in a Windows environment is simpler. On a separate note, I have friends who claim that the Ubuntu printer installation routine is similar to the Window's one and works quite well for most mainstream printers. I read something a few months ago that Ubuntu was working on using Window's printer drivers directly in Ubuntu. I cannot confirm that; however, it would certainly be a worthwhile avenue to explore. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From freebsd.user at seibercom.net Tue Sep 21 11:44:52 2010 From: freebsd.user at seibercom.net (Jerry) Date: Tue Sep 21 11:44:57 2010 Subject: wireless networking In-Reply-To: <4C98149D.6070902@att.net> References: <4C98149D.6070902@att.net> Message-ID: <20100921074447.67cf4c61@scorpio> On Mon, 20 Sep 2010 21:12:45 -0500 William Kindler articulated: > > -- I have 2 wireless adapter that I am able to use for my system. One > is a usb device, a D-Link DWA130, and the other is a PCI device, a > Netgear WN311T. I can find no information about Linux or UNIX > support, or drivers for either, on your website or on the respective > manufacturer's sites, nor can I find out what chipsets they are using. > Are either of these devices supported with Free-BSD, or the PC-BSD? The first thing you want to determine is if they are "N" class adapters. They both appear to be so; therefore, you are pretty much SOL. FreeBSD does not readily support "N" protocol adapters unfortunately. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ He who despairs over an event is a coward, but he who holds hopes for the human condition is a fool. Albert Camus From svein-listmail at stillbilde.net Tue Sep 21 12:16:23 2010 From: svein-listmail at stillbilde.net (Svein Skogen (Listmail account)) Date: Tue Sep 21 12:16:27 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100921073722.49d49e98@scorpio> References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921073722.49d49e98@scorpio> Message-ID: <4C98A210.4050106@stillbilde.net> On 21.09.2010 13:37, Jerry wrote: > The bottom line is that installing and running a printer on a Window's > machine is usually far easier than on a *nix variation. Even sharing a > printer on a network in a Windows environment is simpler. Actually ... no. Unless you are talking about the "keep HP happy by purchasing ink every week" usb-printers. Personally, for bulk printing, and even more so for intermittent printing (the kind where ink dries up and gets tossed away when you use the printer once every blue moon), most users would save a _LOT_ of money by looking at a laser printer instead. Take a good look at Xerox'es "Phaser" line (used to be tektronix phaser). They're no longer pawn-your-firstborn expensive, they're reliable, and they basically speak every standard protocol on the market (including both Postscript and PCL). //Svein -- --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg ?stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ ------------------------------------------------------------ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100921/30e85a08/signature.pgp From freebsd.user at seibercom.net Tue Sep 21 12:59:12 2010 From: freebsd.user at seibercom.net (Jerry) Date: Tue Sep 21 12:59:15 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <4C98A210.4050106@stillbilde.net> References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921073722.49d49e98@scorpio> <4C98A210.4050106@stillbilde.net> Message-ID: <20100921085858.111b004f@scorpio> On Tue, 21 Sep 2010 14:16:16 +0200 Svein Skogen (Listmail account) articulated: > On 21.09.2010 13:37, Jerry wrote: > > The bottom line is that installing and running a printer on a > > Window's machine is usually far easier than on a *nix variation. > > Even sharing a printer on a network in a Windows environment is > > simpler. > > Actually ... no. Unless you are talking about the "keep HP happy by > purchasing ink every week" usb-printers. > > Personally, for bulk printing, and even more so for intermittent > printing (the kind where ink dries up and gets tossed away when you > use the printer once every blue moon), most users would save a _LOT_ > of money by looking at a laser printer instead. Take a good look at > Xerox'es "Phaser" line (used to be tektronix phaser). They're no > longer pawn-your-firstborn expensive, they're reliable, and they > basically speak every standard protocol on the market (including both > Postscript and PCL). 1) I was not referring specifically to HP 2) Personally, I have never had a printer connected via USB 3) I was referring to connecting a printer via a wireless connection, a very common occurrence and one I employ in my home. It is also becoming more common in business environments since it makes relocating a printer far simpler. The cheapest multi-function laser recommended by you is the Phaser 6128MFP, an obviously loss-loser. The next version is $1500. I can buy a lot of ink for that. I agree that a laser printer is fine for a business environment; however, it would be total over-kill, and a gross waste of money, to install one in my home. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From 0 to "what seems to be the problem officer" in 8.3 seconds. Ad for the new VW Corrado -------------- 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/20100921/770f0c1e/signature.pgp From zszalbot at gmail.com Tue Sep 21 13:27:41 2010 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Tue Sep 21 13:27:45 2010 Subject: Upgrading from 8.0-Release / Message-ID: Dear all, I hope you can advise. According to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html once mergemaster is completed, I should issue "freebsd-update install". However, when I do this, I get: # freebsd-update install No updates are available to install. Run '/usr/sbin/freebsd-update fetch' first. However, I did fetch first. 12860....12870....12880....12890....12900....12910....12920....12930....12940....12950....12960....12970 done. Applying patches... done. Fetching 440 files... done. Attempting to automatically merge changes in files... done. So I am not sure where to go from here. Should I try to fetch again, reboot or do something else? I am using FreeBSD 8.0-RELEASE-p4 (GENERIC). Thank you! -- Zbigniew Szalbot From ait at p2ee.org Tue Sep 21 13:37:42 2010 From: ait at p2ee.org (Alejandro Imass) Date: Tue Sep 21 13:37:46 2010 Subject: apache22 and threads In-Reply-To: References: <20100920060811.GA10084@admin.sibptus.tomsk.ru> <20100921090316.GA36655@admin.sibptus.tomsk.ru> Message-ID: On Tue, Sep 21, 2010 at 5:48 AM, Michael Powell wrote: > Victor Sudakov wrote: > > [snip] [...] > > The prefork mpm without threads and mod_php is a safe bet for a server that > will not be hitting the wall, traffic volume-wise. > Yeah well php sucks in any case, for many reasons that are OT to this thread. Perl / mod_perl on the other hand can work quite well with mod_worker (threads) sharing many thing including all the non-mutable data, this is because Perl in general is thread safe. Using mod_worker with mod_perl can mean the difference between serving a few hundred simultaneous request to a few thousand, on the same exact hardware. Not all Perl modules are thread safe however, and in any case most thread implementations in Unix, including FreeBSD, are a potentially leaky by nature, but you can use the MaxRequestsPerChild directive (and others) to fine-tune the growing of your processes/threads. > -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 traveling08 at cox.net Tue Sep 21 14:16:29 2010 From: traveling08 at cox.net (Robert) Date: Tue Sep 21 14:16:32 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100921085858.111b004f@scorpio> References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921073722.49d49e98@scorpio> <4C98A210.4050106@stillbilde.net> <20100921085858.111b004f@scorpio> Message-ID: <20100921071621.0aab59e7@asus64> On Tue, 21 Sep 2010 08:58:58 -0400 Jerry wrote: > On Tue, 21 Sep 2010 14:16:16 +0200 > Svein Skogen (Listmail account) > articulated: > > > On 21.09.2010 13:37, Jerry wrote: > > > The bottom line is that installing and running a printer on a > > > Window's machine is usually far easier than on a *nix variation. > > > Even sharing a printer on a network in a Windows environment is > > > simpler. > > > > Actually ... no. Unless you are talking about the "keep HP happy by > > purchasing ink every week" usb-printers. > > > > Personally, for bulk printing, and even more so for intermittent > > printing (the kind where ink dries up and gets tossed away when you > > use the printer once every blue moon), most users would save a _LOT_ > > of money by looking at a laser printer instead. Take a good look at > > Xerox'es "Phaser" line (used to be tektronix phaser). They're no > > longer pawn-your-firstborn expensive, they're reliable, and they > > basically speak every standard protocol on the market (including > > both Postscript and PCL). > > 1) I was not referring specifically to HP > > 2) Personally, I have never had a printer connected via USB > > 3) I was referring to connecting a printer via a wireless connection, > a very common occurrence and one I employ in my home. It is also > becoming more common in business environments since it makes > relocating a printer far simpler. > > The cheapest multi-function laser recommended by you is the Phaser > 6128MFP, an obviously loss-loser. The next version is $1500. I can buy > a lot of ink for that. I agree that a laser printer is fine for a > business environment; however, it would be total over-kill, and a > gross waste of money, to install one in my home. > A couple of years ago I got very tired of buying ink cartridges. I search and found the Samsung scx-4725fn for a very good price. Laser, network, all-in-one. It is not color but that was not a requirement for me. Just hook it up to the network and create a simple /etc/printcap and add the ip to /etc/hosts and away you go. A quick search shows it can still be purchased for under $300 US. http://computers.pricegrabber.com/printers/Samsung-SCX-4725FN-All-One/m34785285.html No CUPS needed. Robert From espada.jorge at gmail.com Tue Sep 21 14:33:07 2010 From: espada.jorge at gmail.com (jorge espada) Date: Tue Sep 21 14:33:10 2010 Subject: Intel video Driver Message-ID: Hi, I installed freebsd 8.1 (gnome) on a dell vostro 3300 (i5), but the screen resolution is 800x600, when the right is 1366x768, is there any driver for VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller]) Thanks Jorge E. Espada From b.smeelen at ose.nl Tue Sep 21 15:01:21 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Tue Sep 21 15:01:26 2010 Subject: Upgrading from 8.0-Release / In-Reply-To: References: Message-ID: <4C98C8BE.10606@ose.nl> On 09/21/2010 03:05 PM, Zbigniew Szalbot wrote: > Dear all, > > I hope you can advise. According to > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > once mergemaster is completed, I should issue "freebsd-update install". > > However, when I do this, I get: > > # freebsd-update install > No updates are available to install. > Run '/usr/sbin/freebsd-update fetch' first. > > However, I did fetch first. > > 12860....12870....12880....12890....12900....12910....12920....12930....12940....12950....12960....12970 > done. > Applying patches... done. > Fetching 440 files... done. > Attempting to automatically merge changes in files... done. > > So I am not sure where to go from here. Should I try to fetch again, > reboot or do something else? > > I am using FreeBSD 8.0-RELEASE-p4 (GENERIC). > > Thank you! > > Sure you don't have a freebsd-update cron running which runs a the time just between executing freebsd-update -r 8.1-RELEASE + merging config files and executing freebsd-update install? I upgraded some boxes to 8.1 and did not see this problem. -- Systeembeheerder OverNite Software Europe BV Dr. Nolenslaan 157 6136 GM Sittard THE NETHERLANDS phone: +31464200933 fax: +31464200934 web: http://www.ose.nl DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From b.smeelen at ose.nl Tue Sep 21 15:03:30 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Tue Sep 21 15:03:34 2010 Subject: Upgrading from 8.0-Release / In-Reply-To: <4C98C8BE.10606@ose.nl> References: <4C98C8BE.10606@ose.nl> Message-ID: <4C98C940.6040405@ose.nl> On 09/21/2010 05:01 PM, Bas Smeelen wrote: > On 09/21/2010 03:05 PM, Zbigniew Szalbot wrote: > >> Dear all, >> >> I hope you can advise. According to >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html >> >> once mergemaster is completed, I should issue "freebsd-update install". >> >> However, when I do this, I get: >> >> # freebsd-update install >> No updates are available to install. >> Run '/usr/sbin/freebsd-update fetch' first. >> >> However, I did fetch first. >> >> 12860....12870....12880....12890....12900....12910....12920....12930....12940....12950....12960....12970 >> done. >> Applying patches... done. >> Fetching 440 files... done. >> Attempting to automatically merge changes in files... done. >> >> So I am not sure where to go from here. Should I try to fetch again, >> reboot or do something else? >> >> I am using FreeBSD 8.0-RELEASE-p4 (GENERIC). >> >> Thank you! >> >> >> > Sure you don't have a freebsd-update cron running which runs a the time > just between executing freebsd-update -r 8.1-RELEASE + merging config > files and executing freebsd-update install? > I upgraded some boxes to 8.1 and did not see this problem. > > Sorry, meant between 'freebsd-update -r 8.1-RELEASE upgrade' and 'freebsd-update install' DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From freebsd at edvax.de Tue Sep 21 15:43:24 2010 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 21 15:43:28 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> Message-ID: <20100921174321.ee8d55ef.freebsd@edvax.de> On Tue, 21 Sep 2010 02:42:22 +0200, "C. P. Ghost" wrote: > On Mon, Sep 20, 2010 at 7:16 PM, Robert Bonomi wrote: > Is that really so? How about writing some emulation shim like ndis(4) for > winprinters? Please correct me if I'm wrong, as I'm not a Windows systems > programmer, but this is what I'm thinking about. One big problem is that "Windows" doesn't equal "Windows". I had customers who intendedly bought some printer, then needed to switch to another "Windows", and then found their printer useless as there was no specific driver available anymore. Creating compatibility layers for printer drivers that do not care about compatibility at all is like shooting a moving target. As I am not a "Windows" person, I could only imagine that this would be much more difficult than printer manufacturers (who sit "at the source") agreeing to simply use an existing and documented standard. > So, in both cases, we have stable API/ABI interfaces on both sides > of the windriver binary blob: 1/, 2/ at the upper half, and 2/ at the bottom > half. I really doubt about a "stable interface", or situations as described above wouldn't have happened. > So, if we wanted to use those windriver blobs just like in the ndis(4) > case, all we need is an emulation shim for both interfaces. Maybe 1/ is > already covered by Wine (?) so we could borrow some code from there; > and 2/ is basically a matter of mapping the subset of NT calls needed > to read from and write to Windows ports to Unix calls to read and write > to our Unix devices. Keep in mind there are stupid things in the world as patents, intelellectual property, licensing fees and copyrighted secret codes. At the moment there was a program (or any other kind of facility) that makes Winprinters accessible by *ANY* OS (not only FreeBSD, but maybe all BSDs and Linusi and Solaris and who knows what else), MICROS~1 would start violently screaming as someone is eating from their cake. Keep in mind that Winprinters are an important target platform for home users who PAY for "Windows" and PAY for a "compatible" printer. They pay once every two years or so. MICROS~1 and the printer manufacturers can't stand it if one uses their products too long, as long-term use does imply NO FURTHER SALES. And now imagine that a user can fully use all features of a formerly-Winprinter all-in-one ink pee copier scanner fax machine - where would be his need to buy a "Windows" to do that as he can now use FreeBSD for free? Of course, this consideration is very far away from any technical understanding - as typical for lawpersons who make money from bullshit. :-) > But the basic idea remains: the interfaces on both sides of the > windriver binary blobs is pretty stable and (I think) not a secret at all. In that case, I would ask myself: Why hasn't it been done already? If your assumption was right, it would already work. As it currently does not work, I would check your assumption. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Tue Sep 21 15:54:26 2010 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 21 15:54:33 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100921085858.111b004f@scorpio> References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921073722.49d49e98@scorpio> <4C98A210.4050106@stillbilde.net> <20100921085858.111b004f@scorpio> Message-ID: <20100921175424.1fcf9a58.freebsd@edvax.de> On Tue, 21 Sep 2010 08:58:58 -0400, Jerry wrote: > The cheapest multi-function laser recommended by you is the Phaser > 6128MFP, an obviously loss-loser. The next version is $1500. I can buy > a lot of ink for that. I agree that a laser printer is fine for a > business environment; however, it would be total over-kill, and a gross > waste of money, to install one in my home. This depends on what you're printing at home. If you mostly use it for B/W text and graphics, buying a used (!) office-class laser printer is cheaper than buying some ink-pee home consumer device. Keep in mind that you can *not use* the laser printer for some time without problems, but if you *not use* an ink-pee printer for some time, it will dry out the ink and maybe damage the printing heads (if separate), or even let the ink flow through the printer. I have seen that already - very unpleasant. Instead, office-class laser printers are more efficient in use of good refurbished toner cartridges. I'm using a HP Laserjet 4 for example as a "copying center" (low-end computer, parallel scanner, parallel printer). The last time I bought a toner cartridge was in 2004, and right now, it's starting to fade. I'm using this system VERY often. The printer itself is more than 15 years in my hands now, and I HEAVILY used it. You simply can't break good printers. But if you require photo-printing, maybe on specific papers, or you need a device for making colored copies, using a typical home consumer device is often the better solution. When I need digital photos printed out, I take the data to the drugstore as they can do much better (and water-resistant!) than ink-pee. A TODAY's office-class laser printer surely looks like overkill for a home setting, I agree here. But keep in mind used ones are also good - IF they are good. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Tue Sep 21 16:00:13 2010 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 21 16:00:18 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100921073722.49d49e98@scorpio> References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921073722.49d49e98@scorpio> Message-ID: <20100921180011.9159676d.freebsd@edvax.de> On Tue, 21 Sep 2010 07:37:22 -0400, Jerry wrote: > The bottom line is that installing and running a printer on a Window's > machine is usually far easier than on a *nix variation. Even sharing a > printer on a network in a Windows environment is simpler. But much more expensive, and especially if we're talking networked settings, more complicated to manage (think about offices for example), which makes it more expensive again (support). Additionally, using ink-pee printers in office settings usually is considered a no-go, as it is very unprofessional, inefficient, and did I mention it? Expensive. :-) > On a separate note, I have friends who claim that the Ubuntu printer > installation routine is similar to the Window's one and works quite well > for most mainstream printers. I read something a few months ago that > Ubuntu was working on using Window's printer drivers directly in Ubuntu. > I cannot confirm that; however, it would certainly be a worthwhile > avenue to explore. That sounds interesting. Users coming from a "Windows" background could then easily put in the printer CD (if they didn't throw it away already) and install drivers. Of course, that's not how UNIX does things - here, all the things you need to interact with hardware are provided by the OS ideally, or by packages you can install if needed - with less forced inter- action. But that's reality, not a happy UNIX dreamland where you would just plug in the printer and let the kernel and userland deamons make it available for printing and scanning immediately. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Tue Sep 21 16:03:41 2010 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 21 16:03:44 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100921071621.0aab59e7@asus64> References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921073722.49d49e98@scorpio> <4C98A210.4050106@stillbilde.net> <20100921085858.111b004f@scorpio> <20100921071621.0aab59e7@asus64> Message-ID: <20100921180338.5685f159.freebsd@edvax.de> On Tue, 21 Sep 2010 07:16:21 -0700, Robert wrote: > A couple of years ago I got very tired of buying ink cartridges. I > search and found the Samsung scx-4725fn for a very good price. Laser, > network, all-in-one. It is not color but that was not a requirement for > me. > > Just hook it up to the network and create a simple /etc/printcap and > add the ip to /etc/hosts and away you go. So THAT's what I call handling it easily. As the printer (!!!) does take care of the most things, it's easy to install it as everything you need is to make it known to your network and write a line into /etc/printcap. The HP Laserjet 4000 duplex I have at home (yes, it's true) also has a built-in printer server, so programs like lpq and lprm can query the printer queue INSIDE THE PRINTER. That's a very nice feature for office settings as there is no need to buy a PC and a "Windows" to make a printer server. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From indexer at internode.on.net Tue Sep 21 16:28:58 2010 From: indexer at internode.on.net (Indexer) Date: Tue Sep 21 16:29:01 2010 Subject: sysinstall with Fixit option and RootOnZFS/GPTZFSBoot caused kernel panic on Vmware machine! In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21/09/2010, at 7:29 PM, Phan Quoc Hien wrote: > Hi everyone! > > I followed tut at http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/ to install > FreeBSD Root on ZFS using GPT on my VMWARE virtual machine. > When I go to step "Install FreeBSD to zroot" ....kernel-panic appeared! It sounds like you are either low on ram, or are using i386. Look at http://wiki.freebsd.org/ZFSTuningGuide and follow the steps here in the loader prompt on the live system, and also add the same options to your loader.conf when you install the system. > My virtual machine detail: > RAM: 512MB HDD: 10GB vmware workstation: 7.1.0 build-261024 with FreeBSD > 8.1-REL! > See more detail about panic on image attached file. > Please let me know how to solve this problem. > Best regards, > Mr.Hien > > Hope this helps you. I think buwping the amount of ram in your VM wouldnt hurt either, ZFS really needs 1GB minimum, 2GB or more is preferred iirc. > > > -- > Mr.Hien > E-mail: phanquochien@gmail.com > Website: www.mrhien.info > _______________________________________________ > 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" William Brown pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQIcBAEBAgAGBQJMmN1FAAoJEHF16AnLoz6JYiMP/3xU6a3pd90kEsWIOgaWfQZ5 ff0tCYdMoMTmIZ9zgB7u7/YA7kIEp4o7zM8MbYPRt8OcC+9oWQBjbCvVeKXLEOil 6faRrYR3CxBSa1CIUxTsfPS3OR3rOB8GlTMJObW/UrOPonVgpyD6RMW/J3wMbme9 pN0V2xOSwOv9rgdFWwHgAOT4eBpzmFeOAbLERFMcv3sUm2l1k56IUpgEDQNoHVPY wp8Cxsl8QClP5bTpl2iSXvt0krCvo16HA64G4I1Bm6FSAY/aP45L5zouABHyHyIT RCZjTzCaaWHHXvwErAdQfx6oBFuyAxzwgb1ZRdYMDoFHs1swJd3D0pWIYcjQ9ILz 3AR1YFY5t1SE+kP03Fssoz/HNpq2lO3IgjJsg/T8bsMEbb2/6zJlCKF5wAsMZHdY 1kj+75IsZ+phbzaPrpdL8kjfTWBP1De3WWH7sN85wGAw2c1mQCFLg9bsC2Ahxe1V S/kRWwKDoJPvBaEEdo5LM7CLfoneXOR3taa3mqLvgkWAwyTG0iEtwwxhxMMFSmpp InMWYplq/zu4au27+ujW+f6Mj3GhpSzaMNAfGkGdpsn4D4muBWgrLt04nSxuvjX6 K3ZoGAMlnH9rOLwZLvu2uaxKGZnyf/TYndgPQtpNm3iq7liXoSYnNl3B4NeNjI7j l5wz40a62K6b2J/G/cIa =6/hT -----END PGP SIGNATURE----- From freax.geek at gmail.com Tue Sep 21 16:22:33 2010 From: freax.geek at gmail.com (Ben GUILLER) Date: Tue Sep 21 16:29:45 2010 Subject: man.cgi Message-ID: Hello, I am making an online man, and I would like to know where could I find the man.cgi script, in order to use it. Could you help me to find it ? Regards From freebsd-questions-local at be-well.ilk.org Tue Sep 21 16:39:45 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue Sep 21 16:39:49 2010 Subject: man.cgi In-Reply-To: (Ben GUILLER's message of "Tue, 21 Sep 2010 17:54:15 +0200") References: Message-ID: <44r5gnuk35.fsf@be-well.ilk.org> Ben GUILLER writes: > I am making an online man, and I would like to know where could I find the > man.cgi script, in order to use it. > Could you help me to find it ? > Try: http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi From lists at stringsutils.com Tue Sep 21 16:57:13 2010 From: lists at stringsutils.com (Francisco Reyes) Date: Tue Sep 21 16:57:17 2010 Subject: portsnap2.freebsd.org corrupt files Message-ID: portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap2.freebsd.org... done. Fetching snapshot metadata... done. Updating from Mon Sep 20 21:17:39 EDT 2010 to Tue Sep 21 10:05:03 EDT 2010. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... gunzip: (stdin): unexpected end of file metadata is corrupt. If I change the server to portsnap1.freebsd.org it goes through without errors. From zszalbot at gmail.com Tue Sep 21 16:59:49 2010 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Tue Sep 21 16:59:52 2010 Subject: Upgrading from 8.0-Release / In-Reply-To: <4C98C88A.80503@ose.nl> References: <4C98C88A.80503@ose.nl> Message-ID: Hello, > Sure you don't have a freebsd-update cron running which runs a the time > just between executing freebsd-update -r 8.1-RELEASE + merging config > files and executing freebsd-update install? > I upgraded some boxes to 8.1 and did not see this problem. No. Nothing automated. That's why I am surprised and not sure what to do next. Do you think I should try to invoke the upgrade (-r 8.1-RELEASE upgrade) command again? -- Zbigniew Szalbot From vrwmiller at gmail.com Tue Sep 21 17:05:26 2010 From: vrwmiller at gmail.com (vrwmiller@gmail.com) Date: Tue Sep 21 17:05:29 2010 Subject: Media Packages Vs. Ports Message-ID: <90e6ba4883cb50e1500490c7b441@google.com> Hi all, I am performing PXE boots and automated installs of FreeBSD 8.1-RELEASE with a custom sysinstall.cfg file which identifies packages that are to be installed in addition to the distributions. We have need to install compat6x-amd64 and I'd like to have this done during install. Unfortunately, it does not appear that this package exists in the FreeBSD media from which the install occurs. However, it is available through the ports collection. What is the relationship between the packages directory on the media and the ports collection? Is there a process that identifies what ports are made available in the packages directory of the media? Is it possible to take a port, make a package of it and put it in the packages directory of my own media? --Rick From cpghost at cordula.ws Tue Sep 21 17:36:03 2010 From: cpghost at cordula.ws (C. P. Ghost) Date: Tue Sep 21 17:36:07 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100921174321.ee8d55ef.freebsd@edvax.de> References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921174321.ee8d55ef.freebsd@edvax.de> Message-ID: On Tue, Sep 21, 2010 at 5:43 PM, Polytropon wrote: > On Tue, 21 Sep 2010 02:42:22 +0200, "C. P. Ghost" wrote: >> On Mon, Sep 20, 2010 at 7:16 PM, Robert Bonomi wrote: >> Is that really so? How about writing some emulation shim like ndis(4) for >> winprinters? Please correct me if I'm wrong, as I'm not a Windows systems >> programmer, but this is what I'm thinking about. > > One big problem is that "Windows" doesn't equal "Windows". I had > customers who intendedly bought some printer, then needed to switch > to another "Windows", and then found their printer useless as there > was no specific driver available anymore. Creating compatibility > layers for printer drivers that do not care about compatibility at > all is like shooting a moving target. As I am not a "Windows" person, > I could only imagine that this would be much more difficult than > printer manufacturers (who sit "at the source") agreeing to simply > use an existing and documented standard. So I assume that the binary blobs of those winprinters are different for different versions of Windows. So there would be two (or three?) set of interfaces to emulate instead of just one. >> So, in both cases, we have stable API/ABI interfaces on both sides >> of the windriver binary blob: 1/, 2/ at the upper half, and 2/ at the bottom >> half. > > I really doubt about a "stable interface", or situations as described > above wouldn't have happened. The stable interface is likely tied to one specific Windows release: say, one for XP and one for Windows 7. Since most winprinters are supposed to (still) run on XP, they come with an XP windriver blob, and that's all what matters w.r.t. interface stability. >> So, if we wanted to use those windriver blobs just like in the ndis(4) >> case, all we need is an emulation shim for both interfaces. Maybe 1/ is >> already covered by Wine (?) so we could borrow some code from there; >> and 2/ is basically a matter of mapping the subset of NT calls needed >> to read from and write to Windows ports to Unix calls to read and write >> to our Unix devices. > > Keep in mind there are stupid things in the world as patents, > intelellectual property, licensing fees and copyrighted secret > codes. Yes, that's indeed the real problem. A legal, not a technical one. > At the moment there was a program (or any other kind of > facility) that makes Winprinters accessible by *ANY* OS (not > only FreeBSD, but maybe all BSDs and Linusi and Solaris and > who knows what else), MICROS~1 would start violently screaming > as someone is eating from their cake. Keep in mind that Winprinters > are an important target platform for home users who PAY for > "Windows" and PAY for a "compatible" printer. They pay once > every two years or so. MICROS~1 and the printer manufacturers > can't stand it if one uses their products too long, as long-term > use does imply NO FURTHER SALES. And now imagine that a user > can fully use all features of a formerly-Winprinter all-in-one > ink pee copier scanner fax machine - where would be his need to > buy a "Windows" to do that as he can now use FreeBSD for free? As far as I understand this, Microsoft doesn't manufacture those winprinters, so why would they screem if those printers were able to run on other platform too? You can even see it the other way: for every winprinter manufactured (or, more precisely, for every windriver sold), Microsoft may get a fixed share due to patent royalties from the manufacturer. So, suppose a manufacturer sells more of his winprinters to BSD/Linux/Solaris/... folks because we had this shim, it would translate to more patent royalties to Microsoft too. So it is in Microsoft's interest not only NOT to kick and scream, but actually to encourage those winprinters by publishing the needed interfaces. It can only increase sales, and they will get more kickbacks from those additional sales. > Of course, this consideration is very far away from any technical > understanding - as typical for lawpersons who make money from > bullshit. :-) That's for sure. ;-) >> But the basic idea remains: the interfaces on both sides of the >> windriver binary blobs is pretty stable and (I think) not a secret at all. > > In that case, I would ask myself: Why hasn't it been done already? > If your assumption was right, it would already work. As it currently > does not work, I would check your assumption. :-) I don't know why it hasn't been done up to now. After all, this is nothing but an exercise in mapping one set of interfaces onto another set of interfaces. We've done this kind of interface matching with with the Linuxulator, NDIS is another good example, and the Wine guys are doing a great job too. I fail to see a compelling TECHNICAL reason why Windows drivers in general (and windrivers in particular) couldn't be docked to Unix systems. Of course, legal reasons are a different matter. > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From freax.geek at gmail.com Tue Sep 21 16:40:34 2010 From: freax.geek at gmail.com (Ben GUILLER) Date: Tue Sep 21 17:44:49 2010 Subject: man.cgi In-Reply-To: <44r5gnuk35.fsf@be-well.ilk.org> References: <44r5gnuk35.fsf@be-well.ilk.org> Message-ID: Thank you very much, that was what I was looking for. 2010/9/21 Lowell Gilbert > Ben GUILLER writes: > > > I am making an online man, and I would like to know where could I find > the > > man.cgi script, in order to use it. > > Could you help me to find it ? > > > > Try: > > http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi > From freebsd at edvax.de Tue Sep 21 17:47:32 2010 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 21 17:47:35 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921174321.ee8d55ef.freebsd@edvax.de> Message-ID: <20100921194727.a681186d.freebsd@edvax.de> On Tue, 21 Sep 2010 19:36:00 +0200, "C. P. Ghost" wrote: > > At the moment there was a program (or any other kind of > > facility) that makes Winprinters accessible by *ANY* OS (not > > only FreeBSD, but maybe all BSDs and Linusi and Solaris and > > who knows what else), MICROS~1 would start violently screaming > > as someone is eating from their cake. Keep in mind that Winprinters > > are an important target platform for home users who PAY for > > "Windows" and PAY for a "compatible" printer. They pay once > > every two years or so. MICROS~1 and the printer manufacturers > > can't stand it if one uses their products too long, as long-term > > use does imply NO FURTHER SALES. And now imagine that a user > > can fully use all features of a formerly-Winprinter all-in-one > > ink pee copier scanner fax machine - where would be his need to > > buy a "Windows" to do that as he can now use FreeBSD for free? > > As far as I understand this, Microsoft doesn't manufacture those > winprinters, so why would they screem if those printers were able > to run on other platform too? Very simple: Whenever you are using FreeBSD (or any other operating system that is not "Windows"), you are NOT using "Windows". MICROS~1's monopoly is based upon three pillars: Mind share, usage share, and in conclusion, market share. That again is what matters to printer manufacturers, as they are told the "secret keys" about how to make their printer work on "Windows". > You can even see it the other way: for every winprinter manufactured > (or, more precisely, for every windriver sold), Microsoft may get a > fixed share due to patent royalties from the manufacturer. So, suppose > a manufacturer sells more of his winprinters to BSD/Linux/Solaris/... > folks because we had this shim, it would translate to more patent > royalties to Microsoft too. That's not logical as the package, the shiny box on the shelf that the customer wants, already contains a CD (or today, a DVD) with drivers for "Windows", as this is the PC, and there's nothing else. Users of non-"Windows" operating systems are a niche market that does not persist in the scope of manufacturers. They are happy selling more and more cheap units (than fewer more expensive units). For them and for MICROS~1 it's a win-win situation, as the customer always pays. > So it is in Microsoft's interest not only NOT > to kick and scream, but actually to encourage those winprinters > by publishing the needed interfaces. It can only increase sales, and > they will get more kickbacks from those additional sales. Insignificant amounts, does not pay. The MICROS~1 concept of software ecosystems does not tolerate anything "different". Keep in mind the three pillars mentioned before - they would be in danger. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From merlyn at stonehenge.com Tue Sep 21 17:50:23 2010 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Tue Sep 21 17:50:25 2010 Subject: man.cgi In-Reply-To: <44r5gnuk35.fsf@be-well.ilk.org> (Lowell Gilbert's message of "Tue, 21 Sep 2010 12:39:42 -0400") References: <44r5gnuk35.fsf@be-well.ilk.org> Message-ID: <867hifasv6.fsf@red.stonehenge.com> >>>>> "Lowell" == Lowell Gilbert writes: Lowell> http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi Wow. *Ancient* Perl code. I should contribute a rewrite to modern Perl. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From sterling at camdensoftware.com Tue Sep 21 18:21:46 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Tue Sep 21 18:21:49 2010 Subject: Intel video Driver In-Reply-To: References: Message-ID: <20100921182140.GF39824@libertas.local.camdensoftware.com> Quoth jorge espada on Tuesday, 21 September 2010: > Hi, I installed freebsd 8.1 (gnome) on a dell vostro 3300 (i5), but the > screen resolution is 800x600, when the right is 1366x768, is there any > driver for VGA compatible controller: Intel Corporation Core Processor > Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller]) > Thanks > > Jorge E. Espada > _______________________________________________ > 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 you post the output of pciconf -lv I think you may be waiting for the same update to xf86-video-intel that I am. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100921/c5eca301/attachment.pgp From freebsd.user at seibercom.net Tue Sep 21 18:43:44 2010 From: freebsd.user at seibercom.net (Jerry) Date: Tue Sep 21 18:43:47 2010 Subject: The nightmarish problem of installing a printer Message-ID: <20100921144329.62d6b50b@scorpio> On Tue, 21 Sep 2010 19:47:27 +0200 Polytropon articulated: > On Tue, 21 Sep 2010 19:36:00 +0200, "C. P. Ghost" > wrote: > > > At the moment there was a program (or any other kind of > > > facility) that makes Winprinters accessible by *ANY* OS (not > > > only FreeBSD, but maybe all BSDs and Linusi and Solaris and > > > who knows what else), MICROS~1 would start violently screaming > > > as someone is eating from their cake. Keep in mind that > > > Winprinters are an important target platform for home users who > > > PAY for "Windows" and PAY for a "compatible" printer. They pay > > > once every two years or so. MICROS~1 and the printer manufacturers > > > can't stand it if one uses their products too long, as long-term > > > use does imply NO FURTHER SALES. And now imagine that a user > > > can fully use all features of a formerly-Winprinter all-in-one > > > ink pee copier scanner fax machine - where would be his need to > > > buy a "Windows" to do that as he can now use FreeBSD for free? > > > > As far as I understand this, Microsoft doesn't manufacture those > > winprinters, so why would they screem if those printers were able > > to run on other platform too? > > Very simple: Whenever you are using FreeBSD (or any other operating > system that is not "Windows"), you are NOT using "Windows". > > MICROS~1's monopoly is based upon three pillars: Mind share, usage > share, and in conclusion, market share. That again is what matters > to printer manufacturers, as they are told the "secret keys" about > how to make their printer work on "Windows". There is no "secret key" mindset involved. Peruse the MSDN and and you will find tons of documentation on designing and writing drivers for virtually anything you can imagine that is currently available on the Window's platform. It is to Microsoft's advantage to have as many products as possible operational on their platform. They even have specialized forums to answer technical questions regard driver development. > > You can even see it the other way: for every winprinter manufactured > > (or, more precisely, for every windriver sold), Microsoft may get a > > fixed share due to patent royalties from the manufacturer. So, > > suppose a manufacturer sells more of his winprinters to > > BSD/Linux/Solaris/... folks because we had this shim, it would > > translate to more patent royalties to Microsoft too. I have not been able to locate any documentation that that would substantiate your claim that Microsoft receives any reimbursement/compensation from device manufacturers. Would you please post the source of your claim. > That's not logical as the package, the shiny box on the shelf that > the customer wants, already contains a CD (or today, a DVD) with > drivers for "Windows", as this is the PC, and there's nothing else. > Users of non-"Windows" operating systems are a niche market that > does not persist in the scope of manufacturers. They are happy > selling more and more cheap units (than fewer more expensive units). > For them and for MICROS~1 it's a win-win situation, as the customer > always pays. Printer manufacturers, or manufacturers of other devices for that matter, sell what the public wants. The public in general wants inexpensive printers. I can guarantee you that if there were no market for it, it would not be offered. I know several users with $50 printers that are used only a few time a month or less. Purchasing a more expensive unit would not be cost effective. Everyone does not need a $2000+ laser printer. Manufacturers are smart enough to fill that niche. > > So it is in Microsoft's interest not only NOT > > to kick and scream, but actually to encourage those winprinters > > by publishing the needed interfaces. It can only increase sales, and > > they will get more kickbacks from those additional sales. > > Insignificant amounts, does not pay. The MICROS~1 concept of software > ecosystems does not tolerate anything "different". Keep in mind the > three pillars mentioned before - they would be in danger. Keep in mind that you have failed to produce one shred of documentation to back up your claim of "kickbacks". -- Jerry ? FreeBSD.user@seibercom.net 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/20100921/23969534/signature.pgp From cpghost at cordula.ws Tue Sep 21 19:11:21 2010 From: cpghost at cordula.ws (C. P. Ghost) Date: Tue Sep 21 19:11:24 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100921144329.62d6b50b@scorpio> References: <20100921144329.62d6b50b@scorpio> Message-ID: On Tue, Sep 21, 2010 at 8:43 PM, Jerry wrote: > On Tue, 21 Sep 2010 19:47:27 +0200 > Polytropon articulated: > >> On Tue, 21 Sep 2010 19:36:00 +0200, "C. P. Ghost" >> wrote: >> > > At the moment there was a program (or any other kind of >> > > facility) that makes Winprinters accessible by *ANY* OS (not >> > > only FreeBSD, but maybe all BSDs and Linusi and Solaris and >> > > who knows what else), MICROS~1 would start violently screaming >> > > as someone is eating from their cake. Keep in mind that >> > > Winprinters are an important target platform for home users who >> > > PAY for "Windows" and PAY for a "compatible" printer. They pay >> > > once every two years or so. MICROS~1 and the printer manufacturers >> > > can't stand it if one uses their products too long, as long-term >> > > use does imply NO FURTHER SALES. And now imagine that a user >> > > can fully use all features of a formerly-Winprinter all-in-one >> > > ink pee copier scanner fax machine - where would be his need to >> > > buy a "Windows" to do that as he can now use FreeBSD for free? >> > >> > As far as I understand this, Microsoft doesn't manufacture those >> > winprinters, so why would they screem if those printers were able >> > to run on other platform too? >> >> Very simple: Whenever you are using FreeBSD (or any other operating >> system that is not "Windows"), you are NOT using "Windows". >> >> MICROS~1's monopoly is based upon three pillars: Mind share, usage >> share, and in conclusion, market share. That again is what matters >> to printer manufacturers, as they are told the "secret keys" about >> how to make their printer work on "Windows". > > There is no "secret key" mindset involved. Peruse the MSDN and and you > will find tons of documentation on designing and writing drivers for > virtually anything you can imagine that is currently available on the > Window's platform. It is to Microsoft's advantage to have as many > products as possible operational on their platform. They even have > specialized forums to answer technical questions regard driver > development. That's exactly my point. Their interfaces are NOT closed or secret, and we could (technically) implement against those interfaces. >> > You can even see it the other way: for every winprinter manufactured >> > (or, more precisely, for every windriver sold), Microsoft may get a >> > fixed share due to patent royalties from the manufacturer. So, >> > suppose a manufacturer sells more of his winprinters to >> > BSD/Linux/Solaris/... folks because we had this shim, it would >> > translate to more patent royalties to Microsoft too. > > I have not been able to locate any documentation that that would > substantiate your claim that Microsoft receives any > reimbursement/compensation from device manufacturers. Would you please > post the source of your claim. I wrote "Microsoft *may* get a fixed share ...", not "Microsoft gets a fixed share..." That's an assumption, but probably a safe one, due to the way software patents work. Maybe they get paid, or maybe not: it's their decision. Details may (or may not) be included in the Windows DDK EULAs and associated documents. >> That's not logical as the package, the shiny box on the shelf that >> the customer wants, already contains a CD (or today, a DVD) with >> drivers for "Windows", as this is the PC, and there's nothing else. >> Users of non-"Windows" operating systems are a niche market that >> does not persist in the scope of manufacturers. They are happy >> selling more and more cheap units (than fewer more expensive units). >> For them and for MICROS~1 it's a win-win situation, as the customer >> always pays. > > Printer manufacturers, or manufacturers of other devices for that > matter, sell what the public wants. The public in general wants > inexpensive printers. I can guarantee you that if there were no market > for it, it would not be offered. I know several users with $50 printers > that are used only a few time a month or less. Purchasing a more > expensive unit would not be cost effective. Everyone does not need a > $2000+ laser printer. Manufacturers are smart enough to fill that niche. The whole point of winprinters, winmodems etc... is to cut costs for manufacturers. They save (little) money in silicon, and compensate by providing a software Ersatz. There's no Microsoft conspiracy there. It's just unfortunate that we have not yet emulated the environment those software drivers expect, that's all. At least for i386 (and maybe amd64), that should be possible. On ARM, SPARC and other platforms, emulation would be a LOT more difficult, as we would need to hook in a i386 CPU interpreter as well... ;-) >> > So it is in Microsoft's interest not only NOT >> > to kick and scream, but actually to encourage those winprinters >> > by publishing the needed interfaces. It can only increase sales, and >> > they will get more kickbacks from those additional sales. >> >> Insignificant amounts, does not pay. The MICROS~1 concept of software >> ecosystems does not tolerate anything "different". Keep in mind the >> three pillars mentioned before - they would be in danger. > > Keep in mind that you have failed to produce one shred of > documentation to back up your claim of "kickbacks". Correct. But see above. > Jerry ? > FreeBSD.user@seibercom.net Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From dick at nagual.nl Tue Sep 21 19:28:40 2010 From: dick at nagual.nl (Dick Hoogendijk) Date: Tue Sep 21 19:28:43 2010 Subject: printcap Message-ID: <4C990766.7080305@nagual.nl> Can somebody point me to some information about what to write into /etc/printcap on a FreeBSD machine for a Laserjet that is connected though CUPS on an OpenSolaris server? Linux/Windows computers automatically "see" this printer because it is "broadcasted", but my FreeBSD computers do not and I would like to be able to print from those machines too. Hope to get some help. Dick From edflecko at gmail.com Tue Sep 21 19:41:53 2010 From: edflecko at gmail.com (Ed Flecko) Date: Tue Sep 21 19:41:56 2010 Subject: FreeBSD 8.1 & Squid suggestions? Message-ID: Hi folks, I have a small group of people in my office (less than 20), and I want to set up a FBSD/Squid server, and I'm hoping someone might have some suggestions for the install. It's a clean install of FBSD 8.1, and the sole purpose of the server is a Squid server. The server has a 500Gb SATA hard drive, and 8Gb of RAM. I've installed Squid before (on an OpenBSD server), so I'm a comfortable with Squid. I'll install from a package (to make my life easy), but I'm not sure if there are any FBSD specific changes I should make? Are there any kernel customizations you might recommend I need? Are there any suggestions you might make to improve performance? Suggestions? Thank you, Ed From amvandemore at gmail.com Tue Sep 21 19:55:20 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Sep 21 19:55:24 2010 Subject: Media Packages Vs. Ports In-Reply-To: <90e6ba4883cb50e1500490c7b441@google.com> References: <90e6ba4883cb50e1500490c7b441@google.com> Message-ID: On Tue, Sep 21, 2010 at 11:41 AM, wrote: > Hi all, > > I am performing PXE boots and automated installs of FreeBSD 8.1-RELEASE > with a custom sysinstall.cfg file which identifies packages that are to be > installed in addition to the distributions. We have need to install > compat6x-amd64 and I'd like to have this done during install. Unfortunately, > it does not appear that this package exists in the FreeBSD media from which > the install occurs. However, it is available through the ports collection. > You'll probably want to do something like this: http://bsdbased.com/2010/03/23/freebsd-binary-package-repository-howto FWIW, that's not the end all, be all to setting up your own package repository just a reasonably simple method. > > What is the relationship between the packages directory on the media and > the ports collection? http://www.freebsd.org/doc/handbook/packages-using.html Packages associated with a RELEASE also ultimately come from the ports tree. However, those RELEASE packages come from a ports tree that was put into slush, then frozen. This means those packages had more testing and tweaking. Is it possible to take a port, make a package of it and put it in the > packages directory of my own media? > Sure it's easy. When build a port you can issue a make package command, or you can use pkg_create to create packages from installed ported. A common approach to this is build all your updates in a jail, make packages of them, then delete package from the host and install the newly built ones from the jail. Very small, if any downtime. You can use the jail to create pkg's for a custom repository too. http://www.mail-archive.com/freebsd-questions@freebsd.org/msg228757.html -- Adam Vande More From edflecko at gmail.com Tue Sep 21 19:56:14 2010 From: edflecko at gmail.com (Ed Flecko) Date: Tue Sep 21 19:56:17 2010 Subject: Software to SEND log files only? Message-ID: According to the FreeBSD website (http://www.freebsd.org/doc/handbook/outgoing-only.html), the easiest way to send mail only is to install the mail/ssmtp port. Does anyone have an example of a script or other method (maybe a cron script?) that would e-mail my log files to me daily? Thank you, Ed From edflecko at gmail.com Tue Sep 21 20:12:40 2010 From: edflecko at gmail.com (Ed Flecko) Date: Tue Sep 21 20:12:45 2010 Subject: printcap In-Reply-To: <4C990766.7080305@nagual.nl> References: <4C990766.7080305@nagual.nl> Message-ID: Dick, I'm not sure if this will help you, but here's what I did on my network to print directly to an HP LaserJet on my LAN. Pick a name (and a few convenient aliases) for the printer, and put them in the /etc/printcap file. hp|officehp:\ :sh:\ :rm=192.168.1.50:\ :sd=/var/spool/lpd/officehp:\ :mx#0:\ :lf=/var/log/officehp:\ :if=/usr/local/libexec/if-simple: hp and officehp -> what I have named my printer (two names) sh -> disables a banner from printing rm -> I.P. address of the remote printer sd -> my spool directory mx -> max file size (o=unlimited) lf -> error file if -> input filter # mkdir /var/spool/lpd/officehp # touch /var/log/officehp # chown daemon:daemon /var/spool/lpd/officehp # chmod 770 /var/spool/lpd/officehp # touch /usr/local/libexec/if-simple # vi /usr/local/libexec/if-simple #!/bin/sh # # if-simple - Simple text input filter for lpd # Installed in /usr/local/libexec/if-simple # # Simply copies stdin to stdout. Ignores all filter arguments. /bin/cat && exit 0 exit 2 Now make the file executable: # chmod 555 /usr/local/libexec/if-simple Note: A copy of the if-simple script can be found in the /usr/share/examples/printing directory. Let's try and print! lpd is run from /etc/rc, controlled by the lpd_enable variable. This variable defaults to NO. If you have not done so already, add the line: lpd_enable="YES" to /etc/rc.conf, and then either restart your machine, or just run lpd # lpd lptest 20 20 | lpr -Pofficehp Ed From amvandemore at gmail.com Tue Sep 21 20:16:36 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Sep 21 20:16:40 2010 Subject: Software to SEND log files only? In-Reply-To: References: Message-ID: On Tue, Sep 21, 2010 at 2:56 PM, Ed Flecko wrote: > According to the FreeBSD website > (http://www.freebsd.org/doc/handbook/outgoing-only.html), the easiest > way to send mail only is to install the mail/ssmtp port. > > Does anyone have an example of a script or other method (maybe a cron > script?) that would e-mail my log files to me daily? > That's pretty silly article if you ask me, sendmail is setup to that by default. just add something like this to cron: uuencode /path/to/logfile logfile | mail -s "logfile" youremail@example.com -- Adam Vande More From lconrad at Go2France.com Tue Sep 21 20:43:57 2010 From: lconrad at Go2France.com (Len Conrad) Date: Tue Sep 21 20:44:00 2010 Subject: Software to SEND log files only? Message-ID: <201009212217.AA256967036@mail.Go2France.com> ---------- Original Message ---------------------------------- From: Ed Flecko Date: Tue, 21 Sep 2010 12:56:13 -0700 >According to the FreeBSD website >(http://www.freebsd.org/doc/handbook/outgoing-only.html), the easiest >way to send mail only is to install the mail/ssmtp port. > >Does anyone have an example of a script or other method (maybe a cron >script?) that would e-mail my log files to me daily? log files can be (too) huge as smtp DATA. I zip mine and use the mpack port to send the .zip file as MIME attachment. Len From edflecko at gmail.com Tue Sep 21 21:53:56 2010 From: edflecko at gmail.com (Ed Flecko) Date: Tue Sep 21 21:54:01 2010 Subject: FreeBSD 8.1 & Squid suggestions? In-Reply-To: <1285102199.39295.3.camel@btw.pki2.com> References: <1285102199.39295.3.camel@btw.pki2.com> Message-ID: Thanks Dennis! These are config options you've changed within the squid.conf file??? Can you give me some specifics as to what you changed and why you changed it? Thank you, Ed From btillman99 at yahoo.com Tue Sep 21 23:00:10 2010 From: btillman99 at yahoo.com (Bill Tillman) Date: Tue Sep 21 23:00:14 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100921201248.3BBFA1065778@hub.freebsd.org> Message-ID: <212781.37980.qm@web36504.mail.mud.yahoo.com> I once used an inkjet printer and almost went broke keeping it fed with ink. I found a refurbished Brother HL-2040 Laser printer at Tiger Direct for $89. It's been running now for almost 3 years and I'm only on my second toner cartridge. To be honest, we're all on a big paperless effort and I rarely print anything these days. With PDF files and new software like Bluebeam Revu I just don't have the need to print much. ? But since I occassionally do print and the kids need it from time to time for school I have my laser setup on a FreeBSD server which serves all segments in my LAN, including the separate wireless LAN for laptops. CUPS is installed on my server as a dependency for other apps but I don't use it to print. ? I used to run it with a parallel cable but when I updated my server?I had to switch to?the USB port on the printer. And I just use simple LPR printing from the windows clients. Now I won't say it was that easy but once it was up and running it's hands free. The FreeBSD server uses ghostscript and a simple filter file which envokes gs. The /etc/printcap file is very simple too.?I set the windows clients up to use a?postscript printer driver to send the files to the server which it then processes and prints. All is well and I never have any trouble with it. One day soon I will have to purchase another toner cartridge but those are available at several sources. ? Don't be intimidated by printing under FreeBSD. It's really quite simple unless you're trying to use one of those WinPrinters which will only run with M$. ? From gull at gull.us Tue Sep 21 23:30:03 2010 From: gull at gull.us (David Brodbeck) Date: Tue Sep 21 23:30:08 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100921144329.62d6b50b@scorpio> References: <20100921144329.62d6b50b@scorpio> Message-ID: I think conspiracy theories miss the point. The reason more printers work on Windows than on FreeBSD is if you don't support Windows, you can't sell printers to 92% of computer users. This is an extremely powerful incentive to spend money on writing Windows drivers. The financial incentive is not really there to spend time writing drivers for FreeBSD. There just aren't enough FreeBSD users who will buy your printer to pay for it. It's simple market economics, unfortunately. From bonomi at mail.r-bonomi.com Wed Sep 22 00:19:43 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Sep 22 00:19:47 2010 Subject: The nightmarish problem of installing a printer Message-ID: <201009220017.o8M0HiZS024365@mail.r-bonomi.com> > From cpghost@cordula.ws Mon Sep 20 19:40:36 2010 > Date: Tue, 21 Sep 2010 02:42:22 +0200 > Subject: Re: The nightmarish problem of installing a printer > From: "C. P. Ghost" > To: Robert Bonomi > Cc: freebsd-questions@freebsd.org > > On Mon, Sep 20, 2010 at 7:16 PM, Robert Bonomi w= > rote: > > "Adapting" =A0MS-Windows print drivers is not 'practical' either. =A0A wi= > ndows > > print driver is embedd in the O/S KERNEL, =A0with _system_ calls_ (not > > mere 'library' routines) that implement the 'device-dependant' rendering > > of layout/formating directions. =A0One then takes the 'opaque object' so > > produced and sends it (via _another_ set of system calls) to the 'output' > > function of that same driver. > > Is that really so? How about writing some emulation shim like ndis(4) for > winprinters? Please correct me if I'm wrong, as I'm not a Windows systems > programmer, but this is what I'm thinking about. > > As far as I understand Windows printing, there are two aspects to resolve, > given a vendor supplied windriver binary blob: > > 1/ the windriver gets some (opaque) data from the GDI+ -- maybe > a bitmap, with some meta data. > > 2/ the windriver interprets this data however it sees fit, and then talks t= > o > the NT kernel (maybe via DLL calls) to send electrical impulses to the > printer. If only it _were_ sometine even approaching that simple! Unfortunately, it *isn't*. *IF* UNIX applications produced their output in the form of gdi calls, the approach you descibe _would_ be viable. But they don't. And therein lies all the complications. UNIX applications are almost entirely self-contained with regard to printing, A postscript producting app can make use of a printer-specific 'hints' file that provides 'standardized' means of accessing printer features for which 'implementation details' are left up to the manufacurer -- e.g. paper source tray 'numbering'; do trays start rom zero or one? are they numbered consecutively? and which is which? (just for starter :) Windows passes -individual- objects to the printer driver, which may return a 'rendered' vesion _to_ Windows, which windoes ten merges with otheer rendered objects to produce next phase of the page which eventually goes through the driver a final time, and that bitstring is sent to the hardware. If one has an application that "doesn't work that way", and autonomously produces an output data stream of 'some' form, there is a *MAJOR"* hurdle in 'reverse engineering' that data stream back to 'objects' that can be fed to the Windows prinding model. as the manufacturer's printer driver expects. If that isn't bad enough, there is no guarantee the the exact steps and sequences of operations that wee used to _produce_that data-strem, even _HAVE_ a direct equivalent inthe Windows printing model. (Heck this problem shows up _witin_ windows with different supported printers, thats _why_ the applicationi has to adjust _its_ output logic to adapt to the way the paritcular printer does things.o When you're 'reverse engineering' from a set of concrete details to a set of abstractions, *what*do*you*do* when you have a sequence of 'details' that doesn't match _any_ of the possible abstractions in the target environment? Begin to get the idea? Devloping the kind of 'shimp' you envision would be a significantly larger, harder, and more time-consuming project than the development of Ghostscript. and by the time the reqired team of engineers got through the years of work involved, the chances are -very- good that nobody would be making 'that kind' of printer driver any more. '95 drivers are not usablewith XP, XP drivers are not compatible With Vista, Vista <-> Windows 7, I'm not sure about.` From bonomi at mail.r-bonomi.com Wed Sep 22 00:26:16 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Sep 22 00:26:20 2010 Subject: The nightmarish problem of installing a printer Message-ID: <201009220024.o8M0OBhW024398@mail.r-bonomi.com> > From cpghost@cordula.ws Tue Sep 21 12:34:21 2010 > Date: Tue, 21 Sep 2010 19:36:00 +0200 > Subject: Re: The nightmarish problem of installing a printer > From: "C. P. Ghost" > To: Polytropon > Cc: Robert Bonomi , freebsd-questions@freebsd.org > > On Tue, Sep 21, 2010 at 5:43 PM, Polytropon wrote: > > On Tue, 21 Sep 2010 02:42:22 +0200, "C. P. Ghost" wrote: > > > > Keep in mind there are stupid things in the world as patents, > > intelellectual property, licensing fees and copyrighted secret > > codes. > > Yes, that's indeed the real problem. A legal, not a technical one. > > > At the moment there was a program (or any other kind of > > facility) that makes Winprinters accessible by *ANY* OS (not > > only FreeBSD, but maybe all BSDs and Linusi and Solaris and > > who knows what else), MICROS~1 would start violently screaming > > as someone is eating from their cake. Keep in mind that Winprinters > > are an important target platform for home users who PAY for > > "Windows" and PAY for a "compatible" printer. They pay once > > every two years or so. MICROS~1 and the printer manufacturers > > can't stand it if one uses their products too long, as long-term > > use does imply NO FURTHER SALES. And now imagine that a user > > can fully use all features of a formerly-Winprinter all-in-one > > ink pee copier scanner fax machine - where would be his need to > > buy a "Windows" to do that as he can now use FreeBSD for free? > > As far as I understand this, Microsoft doesn't manufacture those > winprinters, so why would they screem if those printers were able > to run on other platform too? A) *THEY* developed the interface specifications. They license printer manufacurers to build to it. They _would_ obejct if somebody used their technology to compete against them. B) As it is, to _use_ one of those printers, you *HAVE*TO*BY* a MS O/S. if one could use those printers -without- a MS O/S, that is a 'provable' loss in MS O/S sales -- one sales loss for -each- non-MS system that has such a printer attached. > > You can even see it the other way: for every winprinter manufactured > (or, more precisely, for every windriver sold), Microsoft may get a > fixed share due to patent royalties from the manufacturer. So, suppose > a manufacturer sells more of his winprinters to BSD/Linux/Solaris/... > folks because we had this shim, it would translate to more patent > royalties to Microsoft too. So it is in Microsoft's interest not only NOT > to kick and scream, but actually to encourage those winprinters > by publishing the needed interfaces. It can only increase sales, and > they will get more kickbacks from those additional sales. > > > Of course, this consideration is very far away from any technical > > understanding - as typical for lawpersons who make money from > > bullshit. :-) > > That's for sure. ;-) > > >> But the basic idea remains: the interfaces on both sides of the > >> windriver binary blobs is pretty stable and (I think) not a secret at all. > > > > In that case, I would ask myself: Why hasn't it been done already? > > If your assumption was right, it would already work. As it currently > > does not work, I would check your assumption. :-) > > I don't know why it hasn't been done up to now. After all, this is nothing > but an exercise in mapping one set of interfaces onto another set of > interfaces. We've done this kind of interface matching with with the > Linuxulator, NDIS is another good example, and the Wine guys are > doing a great job too. I fail to see a compelling TECHNICAL reason > why Windows drivers in general (and windrivers in particular) couldn't > be docked to Unix systems. Of course, legal reasons are a different > matter. > > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > Regards, > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > From wblock at wonkity.com Wed Sep 22 01:06:01 2010 From: wblock at wonkity.com (Warren Block) Date: Wed Sep 22 01:06:04 2010 Subject: man.cgi In-Reply-To: <867hifasv6.fsf@red.stonehenge.com> References: <44r5gnuk35.fsf@be-well.ilk.org> <867hifasv6.fsf@red.stonehenge.com> Message-ID: On Tue, 21 Sep 2010, Randal L. Schwartz wrote: >>>>>> "Lowell" == Lowell Gilbert writes: > > Lowell> http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi > > Wow. *Ancient* Perl code. I should contribute a rewrite to modern Perl. Careful--it's like eating potato chips. From bonomi at mail.r-bonomi.com Wed Sep 22 01:23:30 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Sep 22 01:23:34 2010 Subject: Software to SEND log files only? Message-ID: <201009220121.o8M1LWYH024727@mail.r-bonomi.com> > Date: Tue, 21 Sep 2010 12:56:13 -0700 > From: Ed Flecko > To: freebsd-questions@freebsd.org > Subject: Software to SEND log files only? > > According to the FreeBSD website > (http://www.freebsd.org/doc/handbook/outgoing-only.html), the easiest > way to send mail only is to install the mail/ssmtp port. > > Does anyone have an example of a script or other method (maybe a cron > script?) that would e-mail my log files to me daily? > 'mailing a file' is as simple as "mail -s {subject} {addressee} References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921174321.ee8d55ef.freebsd@edvax.de> Message-ID: On Tue, 21 Sep 2010, C. P. Ghost wrote: > On Tue, Sep 21, 2010 at 5:43 PM, Polytropon wrote: >> >> In that case, I would ask myself: Why hasn't it been done already? >> If your assumption was right, it would already work. As it currently >> does not work, I would check your assumption. :-) > > I don't know why it hasn't been done up to now. After all, this is nothing > but an exercise in mapping one set of interfaces onto another set of > interfaces. We've done this kind of interface matching with with the > Linuxulator, NDIS is another good example, and the Wine guys are > doing a great job too. I fail to see a compelling TECHNICAL reason > why Windows drivers in general (and windrivers in particular) couldn't > be docked to Unix systems. Of course, legal reasons are a different > matter. Technically possible. The brute-force method would be to run a VM with Windows and the real driver, then just capture input and output. Sure it's tricky, but those are just details. But look at this another way: It's a difficult and demanding programming job, with lots of details that have to be just right, may or may not be easy to find without reverse engineering, and an ongoing support headache that will never end. Kind of like Gutenprint; I wonder if they have a perspective on it. What all this effort achieves is support for the most cost-reduced, bottom-of-the-line printers from every manufacturer. It's probably more effective to put some emphasis in the Handbook on the problems with "host-based" printers (the polite euphemism for Winprinter). The issue is confused by printers that aren't host-based, but use proprietary PDLs. If someone comes up with a working GDI printer emulation layer, that would make a great port. From wblock at wonkity.com Wed Sep 22 01:57:53 2010 From: wblock at wonkity.com (Warren Block) Date: Wed Sep 22 01:57:57 2010 Subject: printcap In-Reply-To: <4C990766.7080305@nagual.nl> References: <4C990766.7080305@nagual.nl> Message-ID: On Tue, 21 Sep 2010, Dick Hoogendijk wrote: > Can somebody point me to some information about what to write into > /etc/printcap on a FreeBSD machine for a Laserjet that is connected though > CUPS on an OpenSolaris server? It's not clear how that printer is connected. If it's on the network itself, you should be able to send jobs directly to it. If the printer is connected by USB or something else to the server, CUPS might still accept jobs from lpr. (Untested, but it's a print server, after all.) Network printing from printcap (among other things) is shown here: http://www.wonkity.com/~wblock/docs/html/lpdprinting.html Well, and in the Handbook, too. From fengdreamer at 126.com Wed Sep 22 02:11:22 2010 From: fengdreamer at 126.com (fengdreamer@126.com) Date: Wed Sep 22 02:11:27 2010 Subject: =?utf-8?b?5Zue5aSN77ya?= freebsd-questions Digest, Vol 329, Issue 2 Message-ID: <3BXxsfllH2Vg.dQN4YV04@smtp.126.com> ??? ??? freebsd-questions Digest, Vol 329, Issue 2 ???? freebsd-questions-request@freebsd.org ??? 2010/09/21 14:22 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: The nightmarish problem of installing a printer (perryh@pluto.rain.com) 2. Re: apache22 and threads (Michael Powell) 3. dnsmasq, mfsBSD, status refused (Samuel Mart?n Moro) 4. Re: TCP Logs Why "Connection attempt to closed port" (Daniel Bye) 5. Re: why is the PHP stuff line "off" by default in ports/lang/php5? (doug@safeport.com) 6. Re: Problem running custom startup script at proper time (Robert Bonomi) 7. Re: why is the PHP stuff line "off" by default in ports/lang/php5? (Michael Powell) 8. Re: The nightmarish problem of installing a printer (Robert Bonomi) 9. Re: Problems with upgrade - lost partition (Lokadamus) 10. RSS to email? (Chris Maness) 11. Re: RSS to email? (Glen Barber) 12. Re: RSS to email? (Chip Camden) 13. Re: RSS to email? (Glen Barber) 14. Re: why is the PHP stuff line "off" by default in ports/lang/php5? (Rob Farmer) 15. Re: RSS to email? (Michelle Konzack) 16. Re: why is the PHP stuff line "off" by default in ports/lang/php5? (Matthew Seaman) 17. Re: extra open ports in rkhunter (Carl Johnson) 18. Re: make buildkernel pre-build too long (Alexander Best) 19. Re: Problem running custom startup script at proper time (Aaron) 20. Re: The nightmarish problem of installing a printer (C. P. Ghost) 21. Zip file making issues (Ryan Coleman) 22. Re: Zip file making issues (Matt Emmerton) 23. Re: Zip file making issues (Ryan Coleman) 24. wireless networking (William Kindler) 25. Re: Zip file making issues (Michael Ross) 26. Re: Zip file making issues (Ryan Coleman) 27. Re: Zip file making issues (Matthew Seaman) 28. Re: Zip file making issues (Ryan Coleman) 29. Re: make buildkernel pre-build too long (David DEMELIER) ---------------------------------------------------------------------- Message: 1 Date: Mon, 20 Sep 2010 05:20:52 -0700 From: perryh@pluto.rain.com Subject: Re: The nightmarish problem of installing a printer To: FreeBSD@insightbb.com Cc: freebsd-questions@freebsd.org Message-ID: <4c9751a4.POuJNkjk++rGHEd0%perryh@pluto.rain.com> Content-Type: text/plain; charset=us-ascii Steven Friedrich wrote: > > "Common Unix Printing System" certainly sounds as if the intent > > was to be the "ONE thing that is used for printing". Whether > > they did a good job of it is another question entirely :( > > I think that you don't fully apreciate the task at hand. When > Unix was first invented, there were no laser printers, ink jets, > USB, etc. > > That no one can create a one-size fits all solution OWES to the > fact it's simply not always possible to unify disparate designs. > They weren't designed to be interoperable. Technology keeps > marchng forward. We need to discard all of it eventually. Back in the CP/M and early MS-DOS days, similar doubts were raised regarding display systems. Fortunately, those doubts did not stop some developers from doing what others thought impossible. The results included X11, which has been rather durable for a considerable time. ------------------------------ Message: 2 Date: Mon, 20 Sep 2010 08:19:37 -0400 From: Michael Powell Subject: Re: apache22 and threads To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="ISO-8859-1" Victor Sudakov wrote: > Colleagues, > > When building apache22 from ports, would you recommend to enable or to > disable threads support? > > Even more confusing is the fact that for ports/www/apache22 the default > is: "Enable threads support in APR is off" (WITHOUT_THREADS=true) > > while for ports/devel/apr1 the default is: > "Enable Threads in apr is on" (WITH_THREADS=true). > > Thank you in advance for any input. > > PS ports/devel/apr1 will also be used for the subversion client. > I wouldn't mind someone with more apache22-fu to elaborate, correcting the following if necessary. My thoughts are this matters depending upon which mpm you choose to build into apache. The default is prefork, and it handles incoming requests by spawning child processes. The main shortcoming associated with this approach is resources such as database connections are not shareable between the child processes, e.g. each must have its own. So each incoming request has to fork a child, then build up, consume, and tear down the database connection. The lifetime will exist during the keepalive period and just be sitting there in memory idle most of the time following the task completion. A threaded mpm such as worker or event, is designed to spawn threads within a process to service incoming requests. One is a hybrid, in that it also forks additional processes as well when a preset thread count is reached. When all threads are contained within the same process each thread is able to share and consume resources in a pool amongst other threads. So an idle database connection which has finished serving a previous request can be immediately reused by a new thread without a build up tear down cycle. So my idea of the usage of WITH_THREADS is for the default prefork mpm it would be "NO", while for the event mpm it would be "YES". An additional consideration might be what kind of backend is used. For example, since not all of PHP is known to be thread safe it is not recommended for use with a threaded server and mod_php. The way to get around this situation is to separate PHP from Apache with something like mod_fcgid which runs PHP as a FastCGI. This way you can safely run a threaded Apache with non-thread safe PHP. As far as which is the better approach I still am not really sure. Each has its set of pros and cons. -Mike ------------------------------ Message: 3 Date: Mon, 20 Sep 2010 14:56:35 +0200 From: Samuel Mart?n Moro Subject: dnsmasq, mfsBSD, status refused To: dnsmasq-discuss@lists.thekelleys.org.uk, freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi I'm trying to replace my gate with a qnap ts-509. I installed mfsBSD, based on FreeBSD-8.1-RELEASE amd64. I just had to build some pre-configured packages, add ipfw, ipfw_nat and libalias to boot modules. Everything's working just fine, except for the DNS (dnsmasq-2.55,1.tbz, rebuilt with config files and ipfw startup script) DHCP works perfectly. But DNS does not... Even on the (soon-to-be) gateway, so I'm assuming ipfw is not related to the problem (in doubt, I still send it) root@phi /real/tmp : ipfw list 00001 check-state 00002 allow ip from any to any via lo0 00003 allow tcp from any to any established 00500 allow ip from any to any via bge1 00666 allow tcp from me to any out via bge0 setup uid root keep-state 65535 deny ip from any to any (since bge0 is not plugged, it's quite empty...) root@phi /real/tmp : ./dig @localhost alpha.faust-network ; <<>> DiG 9.6.2-P2 <<>> alpha.faust-network ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 13068 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;alpha.faust-network. IN A ;; Query time: 13 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Mon Sep 20 13:41:15 2010 ;; MSG SIZE rcvd: 37 basically, my configuration is the following: cache-size=1024 local-ttl=15 log-dhcp interface=bge1 bind-interfaces no-negcache dhcp-range=10.254.254.1,10.254.254.254,255.0.0.0,1h dhcp-boot=pxelinux.0,omega,10.42.42.45 # PXE TFTP server (omega) dhcp-option=3,10.242.42.254 # gateway dhcp-option=19,1 # option ip-forwarding off dhcp-option=23,42 # TTL de 42 dhcp-option=44,10.242.42.254 # Wins Server dhcp-option=45,10.242.42.254 # NetBios DDS dhcp-option=46,8 # NetBios Node Type dhcp-option=option:ntp-server,213.186.41.134,88.191.79.242,193.55.167.2,80.65.235.4,194.57.191.1,91.121.45.45 dhcp-script=/usr/local/bin/dhcp_action domain=faust-network expand-hosts bogus-nxdomain=64.94.110.11 #get SSL certificate from another CAServer localmx selfmx conf-file=/usr/local/etc/blocklist.conf # filter adds, shits, facebook, ... my resolv.conf: nameserver 10.242.42.254 #localhost, priv addr nameserver 8.8.4.4 domain faust-network I already have a dnsmasq working perfectly on my current gate (ArchLinux-x86_64). I copied the configuration, making a few changes (192.168.0.0/24 -> 10.0.0.0/8). So, I don't understant what I'm doing wrong.... Any idea? Cheers, --- Samuel Mart?n Moro {EPITECH.} tek5 CamTrace S.A.S ------------------------------ Message: 4 Date: Mon, 20 Sep 2010 15:21:40 +0100 From: Daniel Bye Subject: Re: TCP Logs Why "Connection attempt to closed port" To: freebsd-questions@freebsd.org Message-ID: <20100920142140.GA12913@catflap.slightlystrange.org> Content-Type: text/plain; charset="us-ascii" On Mon, Sep 20, 2010 at 11:58:38AM +0100, David Southwell wrote: > > Large quantities of these errors constantly appear in log/dmesg.today. > > Can anyone explain what is going on and whether any action is needed. If so > how to go about tracing the cause. - - - ????"????">"????"???????????????????? - - - From korvus at comcast.net Wed Sep 22 03:14:31 2010 From: korvus at comcast.net (Steve Polyack) Date: Wed Sep 22 03:14:40 2010 Subject: compat4x broken in FreeBSD 8.1-RELEASE? Message-ID: <4C99718A.7020405@comcast.net> Is anyone else having issues using compat4x / running FreeBSD 4 binaries on 8.1-RELEASE? I recently upgraded a system of mine from 8.0-RELEASE to 8.1-RELEASE, which seems to have broken compatibility with compat4x. The requisite package is installed (I even reinstalled it, but it appears to be a binary package). The kernel options are all still there in my kernel config, which is only a slightly modified GENERIC. $ uname -a FreeBSD xxxxxx 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Tue Sep 21 01:18:45 EDT 2010 root@xxxxx:/usr/obj/usr/src/sys/PFSYNC-MFIB amd64 $ grep -ir compat /usr/src/sys/amd64/conf/PFSYNC-MFIB options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty) options COMPAT_IA32 # 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 An example FreeBSD 4 port which no longer works is audio/ventrilo-server: $ sudo /usr/local/etc/rc.d/ventrilo-server start Starting ventrilo. /usr/local/ventrilo-server/ventrilo_srv: 1: Syntax error: "(" unexpected $ file /usr/local/ventrilo-server/ventrilo_srv /usr/local/ventrilo-server/ventrilo_srv: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 4.5, stripped $ ldd /usr/local/ventrilo-server/ventrilo_srv ldd: /usr/bin/ldd32: Exec format error Interestingly enough, the compat4 libraries themselves don't seem to be recognized: $ ldd /usr/local/lib32/compat/libfetch.so.2 ldd: /usr/bin/ldd32: Exec format error Compat5x libraries do not appear to be affected: $ ldd /usr/local/lib/compat/libfetch.so.3 /usr/local/lib/compat/libfetch.so.3: libssl.so.3 => /usr/local/lib/compat/libssl.so.3 (0x800c00000) libcrypto.so.3 => /usr/local/lib/compat/libcrypto.so.3 (0x800d3a000) Has anyone else ran into this issue? I realize trying to use things built for FreeBSD 4 may be like beating a dead horse at this point, I'm just surprised that the compatibility was broken during a minor release upgrade. Thanks, Steve Polyack From editor at d3photography.com Wed Sep 22 04:34:24 2010 From: editor at d3photography.com (Ryan Coleman) Date: Wed Sep 22 04:34:28 2010 Subject: Mailing list software recommendations Message-ID: <2C27511F-D641-4CE4-97A3-EF8927FC0893@d3photography.com> I'm thinking about installing either ezmlm or mailman. I'm not against others; thoughts? -- Ryan From m.seaman at infracaninophile.co.uk Wed Sep 22 05:03:54 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Sep 22 05:03:57 2010 Subject: man.cgi In-Reply-To: <867hifasv6.fsf@red.stonehenge.com> References: <44r5gnuk35.fsf@be-well.ilk.org> <867hifasv6.fsf@red.stonehenge.com> Message-ID: <4C998E2E.8030103@infracaninophile.co.uk> On 21/09/2010 18:50:21, Randal L. Schwartz wrote: >>>>>> "Lowell" == Lowell Gilbert writes: > > Lowell> http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi > > Wow. *Ancient* Perl code. I should contribute a rewrite to modern Perl. cvsweb.cgi or man.cgi? Or both? 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/20100922/79f92a14/signature.pgp From f.bonnet at esiee.fr Wed Sep 22 05:17:38 2010 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Wed Sep 22 05:17:44 2010 Subject: FreeBSD 8.1 & Squid suggestions? In-Reply-To: References: Message-ID: <4C999167.4060408@esiee.fr> Hello No problem ! I use Squid on a proliant HP 360 with 2 Gb RAM and 100 Gb of disk cache. It serves our LAN clients ( approx 800 PCs ) without trouble with a standard kernel. Hope this help. Le 21/09/2010 21:41, Ed Flecko a ?crit : > Hi folks, > I have a small group of people in my office (less than 20), and I want > to set up a FBSD/Squid server, and I'm hoping someone might have some > suggestions for the install. > > It's a clean install of FBSD 8.1, and the sole purpose of the server > is a Squid server. The server has a 500Gb SATA hard drive, and 8Gb of > RAM. I've installed Squid before (on an OpenBSD server), so I'm a > comfortable with Squid. > > I'll install from a package (to make my life easy), but I'm not sure > if there are any FBSD specific changes I should make? Are there any > kernel customizations you might recommend I need? Are there any > suggestions you might make to improve performance? > > Suggestions? > > Thank you, > Ed > _______________________________________________ > 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 gibblertron at gmail.com Wed Sep 22 05:32:05 2010 From: gibblertron at gmail.com (patrick) Date: Wed Sep 22 05:32:09 2010 Subject: FreeBSD 8.1 & Squid suggestions? In-Reply-To: References: Message-ID: Hi Ed, For my office, I add IPFIREWALL_FORWARD into the kernel so that I can transparently route all HTTP traffic without any client configuration. My ipfw rule is: ipfw add 550 fwd 127.0.0.1,3128 tcp from ${int_net} to any 80 via ${int_if} Patrick On Tue, Sep 21, 2010 at 12:41 PM, Ed Flecko wrote: > Hi folks, > I have a small group of people in my office (less than 20), and I want > to set up a FBSD/Squid server, and I'm hoping someone might have some > suggestions for the install. > > It's a clean install of FBSD 8.1, and the sole purpose of the server > is a Squid server. The server has a 500Gb SATA hard drive, and 8Gb of > RAM. I've installed Squid before (on an OpenBSD server), so I'm a > comfortable with Squid. > > I'll install from a package (to make my life easy), but I'm not sure > if there are any FBSD specific changes I should make? Are there any > kernel customizations you might recommend I need? Are there any > suggestions you might make to improve performance? > > Suggestions? > > Thank you, > Ed > _______________________________________________ > 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 Wed Sep 22 05:33:26 2010 From: bruce at cran.org.uk (Bruce Cran) Date: Wed Sep 22 05:34:03 2010 Subject: Software to SEND log files only? In-Reply-To: References: Message-ID: <20100922063320.00007843@unknown> On Tue, 21 Sep 2010 15:16:35 -0500 Adam Vande More wrote: > That's pretty silly article if you ask me, sendmail is setup to that > by default. > > just add something like this to cron: > > uuencode /path/to/logfile logfile | mail -s "logfile" > youremail@example.com Most mail servers will block sendmail's connections from a dynamic IP: the advantage to ssmtp is that it forwards mail to the ISP's server. -- Bruce Cran From amvandemore at gmail.com Wed Sep 22 05:47:30 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Sep 22 05:47:34 2010 Subject: Software to SEND log files only? In-Reply-To: <20100922063320.00007843@unknown> References: <20100922063320.00007843@unknown> Message-ID: On Wed, Sep 22, 2010 at 12:33 AM, Bruce Cran wrote: > Most mail servers will block sendmail's connections from a dynamic IP: > the advantage to ssmtp is that it forwards mail to the ISP's server. > A small few, not most will do this IME. The larger issue is/was that some providers blocked port 25 from dynamic IP's. Regardless, it's easier to config sendmail as a smarthost with authorization, than it is a add yet another port IMO. -- Adam Vande More From b.smeelen at ose.nl Wed Sep 22 05:48:25 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Wed Sep 22 05:48:29 2010 Subject: Upgrading from 8.0-Release / In-Reply-To: References: <4C98C88A.80503@ose.nl> Message-ID: <4C9998A5.50907@ose.nl> On 09/21/2010 06:59 PM, Zbigniew Szalbot wrote: > Hello, > > >> Sure you don't have a freebsd-update cron running which runs a the time >> just between executing freebsd-update -r 8.1-RELEASE + merging config >> files and executing freebsd-update install? >> I upgraded some boxes to 8.1 and did not see this problem. >> > No. Nothing automated. That's why I am surprised and not sure what to > do next. Do you think I should try to invoke the upgrade (-r > 8.1-RELEASE upgrade) command again? > > Yes, start the upgrade from the beginning again. If this does not work and you don't intend to rollback from a previous update you may take a look at /var/db/freebsd-update and clean it out. DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From zbigniew.szalbot at sgmlifewords.com Wed Sep 22 06:30:25 2010 From: zbigniew.szalbot at sgmlifewords.com (Zbigniew Szalbot) Date: Wed Sep 22 06:30:28 2010 Subject: Upgrading from 8.0-Release / In-Reply-To: <4C9998A5.50907@ose.nl> References: <4C98C88A.80503@ose.nl> <4C9998A5.50907@ose.nl> Message-ID: Dear all, > Yes, start the upgrade from the beginning again. > If this does not work and you don't intend to rollback from a previous > update you may take a look at /var/db/freebsd-update and clean it out. OK. I know now. At some point the system asks if changes look reasonable. I pressed y for most cases but with sshd_config I pressed n, because I was not sure whether the changes will not delete some of the changes I implemented within the file. As soon as I did this, the process stopped. Does this look reasonable (y/n)? n # freebsd-update install No updates are available to install. Run '/usr/sbin/freebsd-update fetch' first. The suggested changes were mostly such as: -#VersionAddendum FreeBSD-20090522 +#VersionAddendum FreeBSD-20100308 So it seems I should press y each time? Many thanks! Zbigniew Szalbot From b.smeelen at ose.nl Wed Sep 22 06:47:36 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Wed Sep 22 06:47:40 2010 Subject: Upgrading from 8.0-Release / In-Reply-To: References: <4C98C88A.80503@ose.nl> <4C9998A5.50907@ose.nl> Message-ID: <4C99A684.3030503@ose.nl> On 09/22/2010 08:10 AM, Zbigniew Szalbot wrote: > Dear all, > > >> Yes, start the upgrade from the beginning again. >> If this does not work and you don't intend to rollback from a previous >> update you may take a look at /var/db/freebsd-update and clean it out. >> > OK. I know now. At some point the system asks if changes look > reasonable. I pressed y for most cases but with sshd_config I pressed > n, because I was not sure whether the changes will not delete some of > the changes I implemented within the file. As soon as I did this, the > process stopped. > > Does this look reasonable (y/n)? n > # freebsd-update install > No updates are available to install. > Run '/usr/sbin/freebsd-update fetch' first. > > The suggested changes were mostly such as: > > -#VersionAddendum FreeBSD-20090522 > +#VersionAddendum FreeBSD-20100308 > > So it seems I should press y each time? > > Many thanks! > > Zbigniew Szalbot > OK. Well this is a downside of freebsd-update (with major upgrades mostly), you have to go through these changes. With mergemaster, when doing source upgrades, this can be avoided by having a mergemaster.rc file, but freebsd-update uses another merge program for the config files. The changes that you see: - means this line will be deleted from the config file + means this line will be added to the config file These are the only changes that will be made to the files. You can confirm these changes If you are not sure, make a copy of your sshd_config and go ahead. Before you reboot compare your copy with the 'new' sshd_config and you will see that your modification will still be there. Good luck. DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From b.smeelen at ose.nl Wed Sep 22 07:02:39 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Wed Sep 22 07:02:47 2010 Subject: Software to SEND log files only? In-Reply-To: <201009212217.AA256967036@mail.Go2France.com> References: <201009212217.AA256967036@mail.Go2France.com> Message-ID: <4C99AA0D.2010009@ose.nl> On 09/21/2010 10:17 PM, Len Conrad wrote: > ---------- Original Message ---------------------------------- > From: Ed Flecko > Date: Tue, 21 Sep 2010 12:56:13 -0700 > > >> According to the FreeBSD website >> (http://www.freebsd.org/doc/handbook/outgoing-only.html), the easiest >> way to send mail only is to install the mail/ssmtp port. >> >> Does anyone have an example of a script or other method (maybe a cron >> script?) that would e-mail my log files to me daily? >> > log files can be (too) huge as smtp DATA. > > I zip mine and use the mpack port to send the .zip file as MIME attachment. > > Len You could install the logrotate port /usr/ports/sysutils/logrotate and switch the logfiles you want to this instead of newsyslog For webserver error logs I use something like this scripts which runs from cron #!/bin/sh cd /home/www LOGFILES=`ls */logfiles/errorlog.txt` for i in $LOGFILES do if [ -s $i ] then tail -r -n 100 $i |mail -s $i fi done DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From timbo at psst.com.au Wed Sep 22 07:39:54 2010 From: timbo at psst.com.au (Tim Kerr) Date: Wed Sep 22 07:39:59 2010 Subject: CYRUS IMAP cyradm core dump problem Message-ID: <000f01cb5a27$4823a0f0$d86ae2d0$@com.au> Hi guys, I have successfully used Cyrus IMAP in the past on versions 5.x, 6.x and 7.x but am having a problem with a fresh installed ver 8.0 server when running the cyradm command I upgraded to ver 8.1, performed a portupgrade and still get the same result as follows root# cyradm 192.168.134.171 Segmentation fault: 11 (core dumped) root# does anyone have any ideas as to what I should be looking at to fix this ? regards, Tim Kerr From perryh at pluto.rain.com Wed Sep 22 08:31:10 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Wed Sep 22 08:31:17 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <20100921071621.0aab59e7@asus64> References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921073722.49d49e98@scorpio> <4C98A210.4050106@stillbilde.net> <20100921085858.111b004f@scorpio> <20100921071621.0aab59e7@asus64> Message-ID: <4c99bde2.5UNvzyPE5OFOH2jF%perryh@pluto.rain.com> > > > Personally, for bulk printing, and even more so for > > > intermittent printing (the kind where ink dries up and gets > > > tossed away when you use the printer once every blue moon), > > > most users would save a _LOT_ of money by looking at a laser > > > printer instead. +1 > > > Take a good look at Xerox'es "Phaser" line (used to be > > > tektronix phaser). They're no longer pawn-your-firstborn > > > expensive, they're reliable, and they basically speak every > > > standard protocol on the market (including both Postscript > > > and PCL). ... > > The cheapest multi-function laser recommended by you is the > > Phaser 6128MFP, an obviously loss-loser. The next version is > > $1500 ... The Phaser 6130 (which uses C, M, Y, and K toner cartridges rather than the wax sticks that Tektronix introduced) was $400 about 4 years ago. > > it would be total over-kill, and a gross waste of money, > > to install one in my home. I believe Gordon Bell, the founder of DEC, once said almost exactly that about home computers :) > A couple of years ago I got very tired of buying ink cartridges. > I search and found the Samsung scx-4725fn for a very good price. > Laser, network, all-in-one. It is not color but that was not a > requirement for me. > > Just hook it up to the network and create a simple /etc/printcap > and add the ip to /etc/hosts and away you go. > > A quick search shows it can still be purchased for under $300 US. Ditto for the Samsung ML-2571N, except that it is just a printer and it was about $60 a few years ago IIRC. (I am partial to the N model, which is directly network connected. Essentially the same printer, but without the network port, goes for maybe $10 less. IMO it's well worth $10 to just plug it in and have it work.) From sdb at ssr.com Wed Sep 22 08:40:16 2010 From: sdb at ssr.com (Scott Ballantyne) Date: Wed Sep 22 08:40:23 2010 Subject: Widescreen Monitor and X Help please Message-ID: <20100922081117.1785.qmail@ssr.com> Hello, I'm upgrading from FreeBSD 5.3 to 8.1 --- much wonderful work has been done clearly, I'm very impressed and hat's off to the developers. Unfortunately I've hit a snag with X. I have an LG "Flatron" W2253, a 5750 graphics card and I have not been able to get them to work with X at all. Following the handbook's instructions: Xorg -config xorg.conf.new with and without the -retro option just give me a black screen from which there is no escape. I have to log into the machine from somewhere else on the network to reboot it. Killing the Xorg process doesn't help. Following the instructions on widescreen monitors, I have extracted a modeline from the log files: Section "Monitor" #DisplaySize 490 320 # mm Identifier "Monitor0" VendorName "LG (GSM)" ModelName "W2253" # HorizSync 30.0 - 83.0 # VertRefresh 56.0 - 75.0 ModeLine "1920x1080" 138.5 1920 1968 2000 2080 1080 1083 1088 1111 # Option "DPMS" EndSection And I have modified the screen as follows: Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1920x1080" EndSubSection EndSection None of this has helped. If anyone can assist me, I would be very grateful. Thanks a lot, Scott -- sdb@ssr.com From guru at unixarea.de Wed Sep 22 08:49:54 2010 From: guru at unixarea.de (Matthias Apitz) Date: Wed Sep 22 08:49:58 2010 Subject: Widescreen Monitor and X Help please In-Reply-To: <20100922081117.1785.qmail@ssr.com> References: <20100922081117.1785.qmail@ssr.com> Message-ID: <20100922084950.GA3622@current.Sisis.de> El d?a Wednesday, September 22, 2010 a las 08:11:17AM -0000, Scott Ballantyne escribi?: > Hello, > > I'm upgrading from FreeBSD 5.3 to 8.1 --- much wonderful work has been > done clearly, I'm very impressed and hat's off to the developers. > > Unfortunately I've hit a snag with X. I have an LG "Flatron" W2253, a > 5750 graphics card and I have not been able to get them to work with X > at all. > > Following the handbook's instructions: > > Xorg -config xorg.conf.new > > with and without the -retro option just give me a black screen from > which there is no escape. I have to log into the machine from > somewhere else on the network to reboot it. Killing the Xorg process > doesn't help. add: Option "AllowEmptyInput" "false" to the Section "ServerLayout"; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From reko.turja at liukuma.net Wed Sep 22 09:38:37 2010 From: reko.turja at liukuma.net (Reko Turja) Date: Wed Sep 22 09:38:40 2010 Subject: CYRUS IMAP cyradm core dump problem In-Reply-To: <000f01cb5a27$4823a0f0$d86ae2d0$@com.au> References: <000f01cb5a27$4823a0f0$d86ae2d0$@com.au> Message-ID: > I upgraded to ver 8.1, performed a portupgrade and still get the > same result > as follows > > root# cyradm 192.168.134.171 The main question is - do you need kerberos/gssapi authentication on your server or not? If not, the easy fix is removing libgssapiv2 libs from /usr/local/lib/sasl2 For some reason, the gssapi implementation on FreeBSD 8+ is partial or broken and one way for more information and possible fix for gsspai see http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/147454 -Reko From perryh at pluto.rain.com Wed Sep 22 10:21:15 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Wed Sep 22 10:21:17 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: <201009201716.o8KHGpxf013791@mail.r-bonomi.com> <20100921174321.ee8d55ef.freebsd@edvax.de> Message-ID: <4c99d7d1.1MkS1aVYHJZm5wkE%perryh@pluto.rain.com> Warren Block wrote: > If someone comes up with a working GDI printer emulation layer, > that would make a great port. They already did, and it's already in ports. It's (part of) wine. Unfortunately it uses CUPS. From popov at rakurs.com Wed Sep 22 08:37:58 2010 From: popov at rakurs.com (popov) Date: Wed Sep 22 11:20:36 2010 Subject: mkdonkey 3.0.4 BROKEN Message-ID: <487FCFA099AB49398A558CB071504799@rakurs.com> Hello! Delete mldonkey from ports: #rm /usr/ports/net-p2p/mldonkey #portsnap fetch extract Install mldonkey: # portmaster net-p2p/mldonkey get the following message: ===>>> Currently installed version: mldonkey-3.0.4_1 ===>>> Port directory: /usr/ports/net-p2p/mldonkey ===>>> This port is marked BROKEN ===>>> does not build ===>>> If you are sure you can build it, remove the BROKEN line in the Makefile and try again. It is strange and I do not understand what's wrong regards, Vladimir From freebsd.user at seibercom.net Wed Sep 22 11:41:09 2010 From: freebsd.user at seibercom.net (Jerry) Date: Wed Sep 22 11:41:13 2010 Subject: Mailing list software recommendations In-Reply-To: <2C27511F-D641-4CE4-97A3-EF8927FC0893@d3photography.com> References: <2C27511F-D641-4CE4-97A3-EF8927FC0893@d3photography.com> Message-ID: <20100922074105.6fe741a7@scorpio> On Tue, 21 Sep 2010 23:34:15 -0500 Ryan Coleman articulated: > I'm thinking about installing either ezmlm or mailman. > > I'm not against others; thoughts? DADA Mail, is an excellent program. It is not in the ports system although it is on my list of things to do eventually. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Zymurgy's Law of Volunteer Labor: People are always available for work in the past tense. From milu at dat.pl Wed Sep 22 11:47:31 2010 From: milu at dat.pl (Maciej Milewski) Date: Wed Sep 22 11:47:38 2010 Subject: mkdonkey 3.0.4 BROKEN In-Reply-To: <487FCFA099AB49398A558CB071504799@rakurs.com> References: <487FCFA099AB49398A558CB071504799@rakurs.com> Message-ID: <201009221347.25387.milu@dat.pl> Wednesday 22 September 2010 09:59:35 popov napisa?(a): > Hello! > > Delete mldonkey from ports: > > #rm /usr/ports/net-p2p/mldonkey > #portsnap fetch extract > > Install mldonkey: > > # portmaster net-p2p/mldonkey > > get the following message: > > ===>>> Currently installed version: mldonkey-3.0.4_1 > ===>>> Port directory: /usr/ports/net-p2p/mldonkey > ===>>> This port is marked BROKEN > ===>>> does not build > > ===>>> If you are sure you can build it, remove the > BROKEN line in the Makefile and try again. > > > It is strange and I do not understand what's wrong > regards, > Vladimir Looking at http://www.freshports.org/net-p2p/mldonkey/ you can have earlier version than from 21.09 so it's marked as BROKEN, the version after 21.09 should be OK. AFAIK portsnap doesn't give you the latest ports tree just a (maybe daily) snapshot. So I think it's the problem. You have three ways: a) wait some time (maybe a day) and try again with portsnap b) use csup to sync your ports tree c) manualy download needed files for port from cvsweb (http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-p2p/mldonkey/) Regards, Maciej Milewski From roberthuff at rcn.com Wed Sep 22 11:52:35 2010 From: roberthuff at rcn.com (Robert Huff) Date: Wed Sep 22 11:52:42 2010 Subject: mkdonkey 3.0.4 BROKEN In-Reply-To: <487FCFA099AB49398A558CB071504799@rakurs.com> References: <487FCFA099AB49398A558CB071504799@rakurs.com> Message-ID: <19609.60892.839562.459778@jerusalem.litteratus.org> popov writes: > Delete mldonkey from ports: > > #rm /usr/ports/net-p2p/mldonkey > #portsnap fetch extract > > Install mldonkey: > > # portmaster net-p2p/mldonkey > > get the following message: > > ===>>> Currently installed version: mldonkey-3.0.4_1 > ===>>> Port directory: /usr/ports/net-p2p/mldonkey > ===>>> This port is marked BROKEN > ===>>> does not build > > ===>>> If you are sure you can build it, remove the > BROKEN line in the Makefile and try again. > > > It is strange and I do not understand what's wrong The first step is to contact the maintainer, who is listed in the Makefile. (When you do, please "CC" me because I;m in the sane situation.) Respectfully, Robert Huff From jhs at berklix.com Wed Sep 22 12:04:42 2010 From: jhs at berklix.com (Julian H. Stacey) Date: Wed Sep 22 12:04:46 2010 Subject: Mailing list software recommendations In-Reply-To: Your message "Wed, 22 Sep 2010 07:41:05 EDT." <20100922074105.6fe741a7@scorpio> Message-ID: <201009221205.o8MC4uaL008238@fire.js.berklix.net> > > I'm thinking about installing either ezmlm or mailman. > > > > I'm not against others; thoughts? To quote my: http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/mail/mailman/files/ "An agressive 5 minute killer python loop in /var/cron/tanbs/mailman has been killing my hosts for 5 years" I dont know if they fixed it. What worried me was what else might be sloppy & dangerous, & I didnt have time/ enthusiasm to do a code read through. One day, if when & after mailman has a code read through to confirm it has no more killer loops, I'd like to find time for a 2nd stab to convert all my lists on majordomo@berklix.org to mailman. Cheers, Julian -- Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Munich 18th Sept Free Software, Lectures & Installs http://berklix.org/sdf/ From merlyn at stonehenge.com Wed Sep 22 12:38:08 2010 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Wed Sep 22 12:38:10 2010 Subject: man.cgi In-Reply-To: <4C998E2E.8030103@infracaninophile.co.uk> (Matthew Seaman's message of "Wed, 22 Sep 2010 06:03:42 +0100") References: <44r5gnuk35.fsf@be-well.ilk.org> <867hifasv6.fsf@red.stonehenge.com> <4C998E2E.8030103@infracaninophile.co.uk> Message-ID: <867hie6jio.fsf@red.stonehenge.com> >>>>> "Matthew" == Matthew Seaman writes: Matthew> On 21/09/2010 18:50:21, Randal L. Schwartz wrote: >>>>>>> "Lowell" == Lowell Gilbert writes: >> Lowell> http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi >> >> Wow. *Ancient* Perl code. I should contribute a rewrite to modern Perl. Matthew> cvsweb.cgi or man.cgi? Or both? I bet, both. But I have no interest in helping CVS, other than to die the death it deserved many years ago. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From bonomi at mail.r-bonomi.com Wed Sep 22 13:00:18 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Sep 22 13:00:22 2010 Subject: Software to SEND log files only? Message-ID: <201009221258.o8MCwIV3029808@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Wed Sep 22 00:32:52 2010 > Date: Wed, 22 Sep 2010 06:33:20 +0100 > From: Bruce Cran > To: Adam Vande More > Cc: Ed Flecko , freebsd-questions@freebsd.org > Subject: Re: Software to SEND log files only? > > On Tue, 21 Sep 2010 15:16:35 -0500 > Adam Vande More wrote: > > > That's pretty silly article if you ask me, sendmail is setup to that > > by default. > > > > just add something like this to cron: > > > > uuencode /path/to/logfile logfile | mail -s "logfile" > > youremail@example.com > > Most mail servers will block sendmail's connections from a dynamic IP: > the advantage to ssmtp is that it forwards mail to the ISP's server. *ONE* line in the sendmail config file ("smarthost"), and sendmail does the same thing. From wblock at wonkity.com Wed Sep 22 13:08:25 2010 From: wblock at wonkity.com (Warren Block) Date: Wed Sep 22 13:08:33 2010 Subject: Widescreen Monitor and X Help please In-Reply-To: <20100922084950.GA3622@current.Sisis.de> References: <20100922081117.1785.qmail@ssr.com> <20100922084950.GA3622@current.Sisis.de> Message-ID: On Wed, 22 Sep 2010, Matthias Apitz wrote: > El d?a Wednesday, September 22, 2010 a las 08:11:17AM -0000, Scott Ballantyne escribi?: > >> Hello, >> >> I'm upgrading from FreeBSD 5.3 to 8.1 --- much wonderful work has been >> done clearly, I'm very impressed and hat's off to the developers. >> >> Unfortunately I've hit a snag with X. I have an LG "Flatron" W2253, a >> 5750 graphics card and I have not been able to get them to work with X >> at all. >> >> Following the handbook's instructions: >> >> Xorg -config xorg.conf.new >> >> with and without the -retro option just give me a black screen from >> which there is no escape. I have to log into the machine from >> somewhere else on the network to reboot it. Killing the Xorg process >> doesn't help. > > add: > > Option "AllowEmptyInput" "false" > > to the Section "ServerLayout"; Please, no. http://www.wonkity.com/~wblock/docs/html/aei.html From wblock at wonkity.com Wed Sep 22 13:14:13 2010 From: wblock at wonkity.com (Warren Block) Date: Wed Sep 22 13:14:16 2010 Subject: Widescreen Monitor and X Help please In-Reply-To: <20100922081117.1785.qmail@ssr.com> References: <20100922081117.1785.qmail@ssr.com> Message-ID: On Wed, 22 Sep 2010, Scott Ballantyne wrote: > I'm upgrading from FreeBSD 5.3 to 8.1 --- much wonderful work has been > done clearly, I'm very impressed and hat's off to the developers. > > Unfortunately I've hit a snag with X. I have an LG "Flatron" W2253, a > 5750 graphics card and I have not been able to get them to work with X > at all. > > Following the handbook's instructions: > > Xorg -config xorg.conf.new > > with and without the -retro option just give me a black screen from > which there is no escape. Does the black screen show a mouse pointer? No escape including ctrl-alt-f1? > I have to log into the machine from somewhere else on the network to > reboot it. Killing the Xorg process doesn't help. Try running X without an xorg.conf. From guru at unixarea.de Wed Sep 22 13:20:39 2010 From: guru at unixarea.de (Matthias Apitz) Date: Wed Sep 22 13:20:42 2010 Subject: Widescreen Monitor and X Help please In-Reply-To: References: <20100922081117.1785.qmail@ssr.com> <20100922084950.GA3622@current.Sisis.de> Message-ID: <20100922132031.GA5692@current.Sisis.de> El d?a Wednesday, September 22, 2010 a las 07:08:24AM -0600, Warren Block escribi?: > > add: > > > > Option "AllowEmptyInput" "false" > > > > to the Section "ServerLayout"; > > Please, no. > > http://www.wonkity.com/~wblock/docs/html/aei.html Nice. But with HALD I could not manage sound to work in KDE :-( matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From freebsd at edvax.de Wed Sep 22 13:24:48 2010 From: freebsd at edvax.de (Polytropon) Date: Wed Sep 22 13:24:55 2010 Subject: Software to SEND log files only? In-Reply-To: <20100922063320.00007843@unknown> References: <20100922063320.00007843@unknown> Message-ID: <20100922152445.f72f7925.freebsd@edvax.de> On Wed, 22 Sep 2010 06:33:20 +0100, Bruce Cran wrote: > Most mail servers will block sendmail's connections from a dynamic IP: > the advantage to ssmtp is that it forwards mail to the ISP's server. That's sadly true (mostly because of the amounts of spam produced by ordinary PCs on dynamic IPs). But sendmail has a fine solution for that, erm, problem: define(`SMART_HOST', `mx.foo.bar') It's often useful to have the ISP's MX handle that problem, as it usually has a static IP and is "widely accepted". :-) This workaround makes it possible again to use basic techniques of communications that were common in "the good days", as it should be. This way plain sendmail can be used. Maybe masquerading envelope is also needed, but I'm not entirely sure. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bdsfbsd at att.net Wed Sep 22 13:56:15 2010 From: bdsfbsd at att.net (bdsfbsd@att.net) Date: Wed Sep 22 13:56:17 2010 Subject: Widescreen Monitor and X Help please In-Reply-To: <20100922081117.1785.qmail@ssr.com> References: <20100922081117.1785.qmail@ssr.com> Message-ID: On Wed, 22 Sep 2010 04:11:17 -0400, Scott Ballantyne wrote: [snip] > Unfortunately I've hit a snag with X. I have an LG "Flatron" W2253, a > 5750 graphics card and I have not been able to get them to work with X > at all. > > Following the handbook's instructions: > > Xorg -config xorg.conf.new > > with and without the -retro option just give me a black screen from > which there is no escape. I have to log into the machine from > somewhere else on the network to reboot it. Killing the Xorg process > doesn't help. > So if you return to the tty that you started X from (maybe by Alt-F1) and hit Ctrl-C, that doesn't kill your X session? Reboot seems a bit drastic. > Following the instructions on widescreen monitors, I have extracted a > modeline from the log files: > [snip] > > None of this has helped. If anyone can assist me, I would be very > grateful. > > Thanks a lot, > Scott I struggled with widescreen config for a while until I realized the Tao solution was best - have you tried starting X without any /etc/X11/xorg.conf at all? Brian From laszlo_danielisz at yahoo.com Wed Sep 22 15:06:14 2010 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Wed Sep 22 15:59:01 2010 Subject: migrate system disk Message-ID: <447149.36059.qm@web30808.mail.mud.yahoo.com> Hello, I have an old HDD which should be replaced soon, actually that HDD stands as my system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 from the old disk to the new one? thank you! Laszlo From freebsd at edvax.de Wed Sep 22 16:06:50 2010 From: freebsd at edvax.de (Polytropon) Date: Wed Sep 22 16:06:55 2010 Subject: migrate system disk In-Reply-To: <447149.36059.qm@web30808.mail.mud.yahoo.com> References: <447149.36059.qm@web30808.mail.mud.yahoo.com> Message-ID: <20100922180646.2abcb760.freebsd@edvax.de> On Wed, 22 Sep 2010 08:06:13 -0700 (PDT), D?nielisz L?szl? wrote: > Hello, > > I have an old HDD which should be replaced soon, actually that HDD stands as my > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 from > the old disk to the new one? Are you running ZFS or UFS on that disk? If UFS, go with the classical way: use dump + restore. There's a very good example in the handbook. http://www.freebsd.org/doc/handbook/backup-basics.html Also look here: http://forums.freebsd.org/showthread.php?t=11680 Use a FreeBSD live system CD or DVD to prepare the target disk (install boot code, make slices and partitions); you can also use sysinstall to do that. Then go with dump + restore. You'll find more hints when searching the mailing list archive. If you're on ZFS, use ZFS's tools to export and re-import the pool, quite simple. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From edflecko at gmail.com Wed Sep 22 16:43:05 2010 From: edflecko at gmail.com (Ed Flecko) Date: Wed Sep 22 16:43:09 2010 Subject: Will FBSD Squid "port" create squid user and group? Message-ID: Hi folks, I guess this is a two-faceted question: 1.) If I install Squid from a "port", will in create the recommended squid user and group for me, or will I need to pre-create a squid user and group prior to Squid running? I like the idea of modifying SQUID_CONFIGURE_ARGS in the squid port Makefile to customize the software before I compile and install it, but if it doesn't create the user and group for you...what advantage do you gain to install from a port -vs- downloading the tarball and building from source? :-) 2.) "As a general rule", when you install software that needs a special user/group, will those users/groups be created when you install from ports, or only from packages? Thank you, Ed From espada.jorge at gmail.com Wed Sep 22 17:16:52 2010 From: espada.jorge at gmail.com (jorge espada) Date: Wed Sep 22 17:16:56 2010 Subject: Intel video Driver In-Reply-To: <20100921182140.GF39824@libertas.local.camdensoftware.com> References: <20100921182140.GF39824@libertas.local.camdensoftware.com> Message-ID: I need my laptop to work..so I removed freebsd 8.1 and installed gentoo so I can't post the output of pciconf -lv, but I want freebsd...so if anyone knows how to sort this problem please share... Jorge E. Espada Phone: +54 9 341 5692435 On Tue, Sep 21, 2010 at 3:21 PM, Chip Camden wrote: > Quoth jorge espada on Tuesday, 21 September 2010: > > Hi, I installed freebsd 8.1 (gnome) on a dell vostro 3300 (i5), but the > > screen resolution is 800x600, when the right is 1366x768, is there any > > driver for VGA compatible controller: Intel Corporation Core Processor > > Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller]) > > Thanks > > > > Jorge E. Espada > > _______________________________________________ > > 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 you post the output of > > pciconf -lv > > I think you may be waiting for the same update to xf86-video-intel that I > am. > > -- > Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F > http://camdensoftware.com | http://chipstips.com | > http://chipsquips.com > From laszlo_danielisz at yahoo.com Wed Sep 22 17:21:01 2010 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Wed Sep 22 17:21:05 2010 Subject: migrate system disk In-Reply-To: <20100922180646.2abcb760.freebsd@edvax.de> References: <447149.36059.qm@web30808.mail.mud.yahoo.com> <20100922180646.2abcb760.freebsd@edvax.de> Message-ID: <417571.12469.qm@web30808.mail.mud.yahoo.com> I'm using UFS. Thank you! ________________________________ From: Polytropon To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Wed, September 22, 2010 6:06:46 PM Subject: Re: migrate system disk On Wed, 22 Sep 2010 08:06:13 -0700 (PDT), D?nielisz L?szl? wrote: > Hello, > > I have an old HDD which should be replaced soon, actually that HDD stands as my > > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 from > the old disk to the new one? Are you running ZFS or UFS on that disk? If UFS, go with the classical way: use dump + restore. There's a very good example in the handbook. http://www.freebsd.org/doc/handbook/backup-basics.html Also look here: http://forums.freebsd.org/showthread.php?t=11680 Use a FreeBSD live system CD or DVD to prepare the target disk (install boot code, make slices and partitions); you can also use sysinstall to do that. Then go with dump + restore. You'll find more hints when searching the mailing list archive. If you're on ZFS, use ZFS's tools to export and re-import the pool, quite simple. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Wed Sep 22 17:21:31 2010 From: freebsd at edvax.de (Polytropon) Date: Wed Sep 22 17:21:35 2010 Subject: Will FBSD Squid "port" create squid user and group? In-Reply-To: References: Message-ID: <20100922192126.93663dd2.freebsd@edvax.de> On Wed, 22 Sep 2010 09:43:04 -0700, Ed Flecko wrote: > I like the idea of modifying > SQUID_CONFIGURE_ARGS in the squid port Makefile to customize the > software before I compile and install it, [...] Instead of modifying the Makefile itself, consider writing your changes into a Makefile.local which will be used to override settings in Makefile. At least, it worked that way in the past... > [...] what advantage do you gain to install from a > port -vs- downloading the tarball and building from source? Using packages always gives you the DEFAULT settings the corresponding port was built with. If you need to change those settings, use the port, Luke. :-) > 2.) "As a general rule", when you install software that needs a > special user/group, will those users/groups be created when you > install from ports, or only from packages? As far as I remember, those "post-installation tasks" will be done in both cases. So port AND package will create them. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From gull at gull.us Wed Sep 22 17:27:08 2010 From: gull at gull.us (David Brodbeck) Date: Wed Sep 22 17:27:11 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <201009220024.o8M0OBhW024398@mail.r-bonomi.com> References: <201009220024.o8M0OBhW024398@mail.r-bonomi.com> Message-ID: On Tue, Sep 21, 2010 at 5:24 PM, Robert Bonomi wrote: > A) *THEY* developed the interface specifications. They license printer > manufacurers to build to it. ? They _would_ obejct if somebody used > their technology to compete against them. > > B) As it is, to _use_ one of those printers, you *HAVE*TO*BY* a MS O/S. > ? if one could use those printers -without- a MS O/S, that is a > ? 'provable' loss in MS O/S sales -- one sales loss for -each- non-MS > ? system that has such a printer attached. If this were true, and there really were a big conspiracy on Microsoft's part to make manufacturers only support Windows, then you wouldn't see cheap printers that support both Windows and MacOS X. In reality, such printers are pretty easy to find. Never attribute to malice that which can be explained by simple economics. ;) From dick at nagual.nl Wed Sep 22 17:31:13 2010 From: dick at nagual.nl (Dick Hoogendijk) Date: Wed Sep 22 17:31:16 2010 Subject: migrate system disk In-Reply-To: <447149.36059.qm@web30808.mail.mud.yahoo.com> References: <447149.36059.qm@web30808.mail.mud.yahoo.com> Message-ID: <4C9A3D60.8090204@nagual.nl> On 22-9-2010 17:06, D?nielisz L?szl? wrote: > I have an old HDD which should be replaced soon, actually that HDD stands as my > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 from > the old disk to the new one? Attach the new disk to your system and do a dump / restore action (man dump/restore for options). The FreeBSD manual has very good examples. From leslie at eskk.nu Wed Sep 22 17:34:42 2010 From: leslie at eskk.nu (Leslie Jensen) Date: Wed Sep 22 17:34:45 2010 Subject: migrate system disk In-Reply-To: <417571.12469.qm@web30808.mail.mud.yahoo.com> References: <447149.36059.qm@web30808.mail.mud.yahoo.com> <20100922180646.2abcb760.freebsd@edvax.de> <417571.12469.qm@web30808.mail.mud.yahoo.com> Message-ID: <4C9A3E32.7030008@eskk.nu> On 2010-09-22 19:20, D?nielisz L?szl? wrote: > I'm using UFS. > Thank you! > > > > I've just done that myself and by chance I found out that ghost4linux can copy a disk with UFS file systems. So if you don't have to worry about other partition sizes, you could try it. You will find on the Parted magic disk http://partedmagic.com/ /Leslie From cyberleo at cyberleo.net Wed Sep 22 17:39:54 2010 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Wed Sep 22 17:40:27 2010 Subject: compat4x broken in FreeBSD 8.1-RELEASE? In-Reply-To: <4C99718A.7020405@comcast.net> References: <4C99718A.7020405@comcast.net> Message-ID: <4C9A3F68.3070309@cyberleo.net> On 09/21/2010 10:01 PM, Steve Polyack wrote: > ... > options COMPAT_IA32 # Compatible with i386 binaries > ... > $ file /usr/local/ventrilo-server/ventrilo_srv > /usr/local/ventrilo-server/ventrilo_srv: ELF 32-bit LSB executable, > Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), > for FreeBSD 4.5, stripped > $ ldd /usr/local/ventrilo-server/ventrilo_srv > ldd: /usr/bin/ldd32: Exec format error I ran into this exact error message when I upgraded one amd64 machine from 8.0 to 8.1, and didn't read UPDATING close enough. Apparently COMPAT_IA32 was renamed to COMPAT_FREEBSD32 (20100406), and the new kernel I built lacked support for 32-bit binaries. UPDATING now says (20100417) that COMPAT_IA32 is an alias for COMPAT_FREEBSD32, but it could be something to double check in your case. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From freebsd.user at seibercom.net Wed Sep 22 17:57:08 2010 From: freebsd.user at seibercom.net (Jerry) Date: Wed Sep 22 17:57:12 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: <201009220024.o8M0OBhW024398@mail.r-bonomi.com> Message-ID: <20100922135703.7cbd5f26@scorpio> On Wed, 22 Sep 2010 10:27:05 -0700 David Brodbeck articulated: > On Tue, Sep 21, 2010 at 5:24 PM, Robert Bonomi > wrote: > > A) *THEY* developed the interface specifications. They license > > printer manufacurers to build to it. ? They _would_ obejct if > > somebody used their technology to compete against them. > > > > B) As it is, to _use_ one of those printers, you *HAVE*TO*BY* a MS > > O/S. if one could use those printers -without- a MS O/S, that is a > > ? 'provable' loss in MS O/S sales -- one sales loss for -each- > > non-MS system that has such a printer attached. > > If this were true, and there really were a big conspiracy on > Microsoft's part to make manufacturers only support Windows, then you > wouldn't see cheap printers that support both Windows and MacOS X. In > reality, such printers are pretty easy to find. I just heard a rumor that FreeBSD is secretly in collusion with Microsoft and the printer manufacturer's consortium to advance the usage of printers on the Win32/64 platform. By refusing to create an environment in which printers can use tested and certified drivers on a non-windows operating system, they are secretly contributing to Microsoft's continued domination in the PC market. Slash-Dot will unequivocally be denying the accuracy of this story; however, we all are aware that they are secretly being paid by the EC in an attempt to diminish Microsoft's market share. Unfortunately, I cannot substantiate these claims; however, as has been demonstrated numerous times on this forum, documentation of subversive acts is not a requirement. In fact, it might well be called counter-productive. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Be careful of reading health books, you might die of a misprint. Mark Twain From vrwmiller at gmail.com Wed Sep 22 17:58:45 2010 From: vrwmiller at gmail.com (vrwmiller@gmail.com) Date: Wed Sep 22 17:58:49 2010 Subject: Media Packages Vs. Ports In-Reply-To: Message-ID: <90e6ba4fc2067170350490dce5ce@google.com> Thanks, Adam. This is most helpful. I appreciate it. On Sep 21, 2010 3:55pm, Adam Vande More wrote: > On Tue, Sep 21, 2010 at 11:41 AM, vrwmiller@gmail.com> wrote: > Hi all, > I am performing PXE boots and automated installs of FreeBSD 8.1-RELEASE > with a custom sysinstall.cfg file which identifies packages that are to > be installed in addition to the distributions. We have need to install > compat6x-amd64 and I'd like to have this done during install. > Unfortunately, it does not appear that this package exists in the FreeBSD > media from which the install occurs. However, it is available through the > ports collection. > You'll probably want to do something like this: > http://bsdbased.com/2010/03/23/freebsd-binary-package-repository-howto > FWIW, that's not the end all, be all to setting up your own package > repository just a reasonably simple method. > What is the relationship between the packages directory on the media and > the ports collection? > http://www.freebsd.org/doc/handbook/packages-using.html > Packages associated with a RELEASE also ultimately come from the ports > tree. However, those RELEASE packages come from a ports tree that was put > into slush, then frozen. This means those packages had more testing and > tweaking. > Is it possible to take a port, make a package of it and put it in the > packages directory of my own media? > Sure it's easy. When build a port you can issue a make package command, > or you can use pkg_create to create packages from installed ported. A > common approach to this is build all your updates in a jail, make > packages of them, then delete package from the host and install the newly > built ones from the jail. Very small, if any downtime. You can use the > jail to create pkg's for a custom repository too. > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg228757.html > -- > Adam Vande More From gull at gull.us Wed Sep 22 18:40:52 2010 From: gull at gull.us (David Brodbeck) Date: Wed Sep 22 18:40:56 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: Message-ID: On Wed, Sep 22, 2010 at 11:36 AM, Peter A. Giessel wrote: > The question you are missing is *HOW* does MacOS X print to all these > "cheap printers"? > > Lets take a couple of screen captures from Mac OS X.6 (Apple's latest > released > OS) with all current updates installed: > http://giessel.org/pictures/OSX_printers1.png > http://giessel.org/pictures/OSX_printers2.png > > Hmm, CUPS, and Gutenprint.... ?Are these methods available for FreeBSD? In some cases, yes. In other cases, where the manufacturer is supplying an OS X driver that doesn't come with CUPS/Gutenprint, the additional driver bits may not be FreeBSD-compatible. I may be the only person here who actually likes CUPS. Yes, it's complicated from a software standpoint, but configuring it is much less opaque. Printers really are complicated, so having a GUI to help set them up is nice. I remember having to manually write and debug filter scripts and edit /etc/printcap by hand, and I'm quite glad those days are over. From kline at thought.org Wed Sep 22 19:03:17 2010 From: kline at thought.org (kline) Date: Wed Sep 22 19:03:27 2010 Subject: printcap In-Reply-To: References: <4C990766.7080305@nagual.nl> Message-ID: <1285182195.2803.15.camel@newtao> On Tue, 2010-09-21 at 19:57 -0600, Warren Block wrote: > On Tue, 21 Sep 2010, Dick Hoogendijk wrote: > > > Can somebody point me to some information about what to write into > > /etc/printcap on a FreeBSD machine for a Laserjet that is connected though > > CUPS on an OpenSolaris server? > > It's not clear how that printer is connected. If it's on the network > itself, you should be able to send jobs directly to it. If the printer > is connected by USB or something else to the server, CUPS might still > accept jobs from lpr. (Untested, but it's a print server, after all.) > > Network printing from printcap (among other things) is shown here: > http://www.wonkity.com/~wblock/docs/html/lpdprinting.html > > Well, and in the Handbook, too. By Jove, this actually works... but from ethic, so far. "ethic == ns1"; i wonder if this will work on my "newtao" which is ubuntu. FWIW, I AM having more trouble transitioning after some N years since 2.0.5... . lp|b5250| Brother HL-5250-DN | PSgs;r=1200x1200;q=high;c=full;p=letter;m=auto:\ :lp=:\ :sh:\ :mx#0:\ :rm=netlaser:\ :rp=raw:\ :sd=/var/spool/lpd/lp:\ :lf=/var/log/lpd-errs: If _anybody_ onlist uses FreeBSD as their server and some version of Linux elsewhere **and** have a network-type printer, please clue me in. ((Exactly this reason--_printers_--has kept me from trying anything but *BSD.)) > _______________________________________________ > 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://thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org http://journey.thought.org From dick at nagual.nl Wed Sep 22 19:04:26 2010 From: dick at nagual.nl (Dick Hoogendijk) Date: Wed Sep 22 19:04:29 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: References: Message-ID: <4C9A5339.80200@nagual.nl> On 22-9-2010 20:40, David Brodbeck wrote: > OI may be the only person here who actually likes CUPS. Yes, it's > complicated from a software standpoint, but configuring it is much > less opaque. You're certainly not the only one liking CUPS. I long hesitated to use it, but once I'd decided to do so, I wouldn't go back to lpr. No way. It's very easy to set up and does a great job. CUPS is OK but most FreeBSD people don't seem to think so. I don't get it. From edflecko at gmail.com Wed Sep 22 19:24:52 2010 From: edflecko at gmail.com (Ed Flecko) Date: Wed Sep 22 19:24:56 2010 Subject: [squid-users] One slow Website Through Proxy In-Reply-To: References: Message-ID: What about running a packet sniffer, like Wireshark, and looking at the trace file? Start a trace file before trying to access the web site, then took at the "Delta time" (time between packets) and see where the delay is? Ed From kevin.wilcox at gmail.com Wed Sep 22 19:28:31 2010 From: kevin.wilcox at gmail.com (Kevin Wilcox) Date: Wed Sep 22 19:28:37 2010 Subject: Intel video Driver In-Reply-To: References: <20100921182140.GF39824@libertas.local.camdensoftware.com> Message-ID: On 22 September 2010 13:16, jorge espada wrote: > I need my laptop to work..so I removed freebsd 8.1 and installed gentoo so I > can't post the output of pciconf -lv, but I want freebsd...so if anyone > knows how to sort this problem please share... To resolve a combination dual-head, Nvidia, Virtualbox and 8GB ram issue I had, I had to move to Gentoo and run FBSD in a VM for those times I wanted to use FBSD for something. It isn't the cleanest solution but it works for me, both under Gentoo in the office, VMWare Fusion on the Macbook and Windows 7 at home. kmw From m.seaman at infracaninophile.co.uk Wed Sep 22 19:35:24 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Sep 22 19:35:27 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <4C9A5339.80200@nagual.nl> References: <4C9A5339.80200@nagual.nl> Message-ID: <4C9A5A70.2020201@infracaninophile.co.uk> On 22/09/2010 20:04:25, Dick Hoogendijk wrote: > On 22-9-2010 20:40, David Brodbeck wrote: >> OI may be the only person here who actually likes CUPS. Yes, it's >> complicated from a software standpoint, but configuring it is much >> less opaque. > > You're certainly not the only one liking CUPS. I long hesitated to use > it, but once I'd decided to do so, I wouldn't go back to lpr. No way. > It's very easy to set up and does a great job. CUPS is OK but most > FreeBSD people don't seem to think so. I don't get it. CUPS is really nice *when it works*. If you're lucky and have managed to buy the right sort of printer hardware, and the Gods are smiling upon you, then CUPS will serve you well. On the other hand, when CUPS is bad, it is truly awful. Excessively hard to debug; impossible to fix without Guru-level powers. One of those "No user serviceable parts inside" sort of things. CUPS works brilliantly when I plug my printer's USB cable directly into my Mac. But I've never yet managed to print to exactly the same printer via CUPS when it is plugged into my FreeBSD server. 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/20100922/d52e387c/signature.pgp From pgiessel at mac.com Wed Sep 22 19:36:30 2010 From: pgiessel at mac.com (Peter A. Giessel) Date: Wed Sep 22 19:36:34 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: Message-ID: On 2010/09/22 at 9:27, gull@gull.us (David Brodbeck) wrote: >If this were true, and there really were a big conspiracy on >Microsoft's part to make manufacturers only support Windows, then you >wouldn't see cheap printers that support both Windows and MacOS X. In >reality, such printers are pretty easy to find. > >Never attribute to malice that which can be explained by simple economics. ;) The question you are missing is *HOW* does MacOS X print to all these "cheap printers"? Lets take a couple of screen captures from Mac OS X.6 (Apple's latest released OS) with all current updates installed: http://giessel.org/pictures/OSX_printers1.png http://giessel.org/pictures/OSX_printers2.png Hmm, CUPS, and Gutenprint.... Are these methods available for FreeBSD? Mainly what Apple did was pre-install and pre-configure in a user-friendly way CUPS and Gutenprint. From wblock at wonkity.com Wed Sep 22 20:01:13 2010 From: wblock at wonkity.com (Warren Block) Date: Wed Sep 22 20:01:18 2010 Subject: Widescreen Monitor and X Help please In-Reply-To: <20100922132031.GA5692@current.Sisis.de> References: <20100922081117.1785.qmail@ssr.com> <20100922084950.GA3622@current.Sisis.de> <20100922132031.GA5692@current.Sisis.de> Message-ID: On Wed, 22 Sep 2010, Matthias Apitz wrote: > El d?a Wednesday, September 22, 2010 a las 07:08:24AM -0600, Warren Block escribi?: > >>> add: >>> >>> Option "AllowEmptyInput" "false" >>> >>> to the Section "ServerLayout"; >> >> Please, no. >> >> http://www.wonkity.com/~wblock/docs/html/aei.html > > Nice. But with HALD I could not manage sound to work in KDE :-( But you don't need hal, you can build xorg-server without it or use Option "AutoAddDevices" "Off" instead of AEI Off. (No idea on what might cause hal/KDE sound interaction.) From dteske at vicor.com Wed Sep 22 20:10:41 2010 From: dteske at vicor.com (Devin Teske) Date: Wed Sep 22 20:10:47 2010 Subject: compat4x broken in FreeBSD 8.1-RELEASE? In-Reply-To: <1285185367.9943.90.camel@localhost.localdomain> References: <4C99718A.7020405@comcast.net> <1285185367.9943.90.camel@localhost.localdomain> Message-ID: <1285186235.9943.95.camel@localhost.localdomain> On Wed, 2010-09-22 at 12:56 -0700, Devin Teske wrote: > You're missing "COMPAT_43" ... that seems serious and likely to be the > cause of your "Exec format" error (below). Heh, you don't get anymore *legacy* than that option. That option went missing years ago (should remove that from our kernel configs). It's actually exactly what CyberLeo Kitsans said... On Wed, 2010-09-22 at 12:39 -0500, CyberLeo Kitsana wrote: > I ran into this exact error message when I upgraded one amd64 machine > from 8.0 to 8.1, and didn't read UPDATING close enough. Apparently > COMPAT_IA32 was renamed to COMPAT_FREEBSD32 (20100406), and the new > kernel I built lacked support for 32-bit binaries. UPDATING now says > (20100417) that COMPAT_IA32 is an alias for COMPAT_FREEBSD32, but it > could be something to double check in your case. > During the upgrade process, I think your kernel config lost something COMPAT_FREEBSD32 which used to be COMPAT_IA32 (as CyberLeo quickly picked up on). -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> FUN STUFF <- -----BEGIN GEEK CODE BLOCK----- Version 3.1 GAT/CS d(+) s: a- C++(++++) UB++++$ P++(++++) L++(++++) !E--- W++ N? o? K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R>++ tv(+) b+(++) DI+(++) D(+) G+>++ e>+ h r>++ y+ ------END GEEK CODE BLOCK------ http://www.geekcode.com/ -> END TRANSMISSION <- From wblock at wonkity.com Wed Sep 22 20:11:22 2010 From: wblock at wonkity.com (Warren Block) Date: Wed Sep 22 20:11:25 2010 Subject: migrate system disk In-Reply-To: <447149.36059.qm@web30808.mail.mud.yahoo.com> References: <447149.36059.qm@web30808.mail.mud.yahoo.com> Message-ID: On Wed, 22 Sep 2010, D?nielisz L?szl? wrote: > I have an old HDD which should be replaced soon, actually that HDD stands as my > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 from > the old disk to the new one? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK From dteske at vicor.com Wed Sep 22 20:22:02 2010 From: dteske at vicor.com (Devin Teske) Date: Wed Sep 22 20:22:06 2010 Subject: compat4x broken in FreeBSD 8.1-RELEASE? In-Reply-To: <4C99718A.7020405@comcast.net> References: <4C99718A.7020405@comcast.net> Message-ID: <1285185367.9943.90.camel@localhost.localdomain> On Tue, 2010-09-21 at 23:01 -0400, Steve Polyack wrote: > Is anyone else having issues using compat4x / running FreeBSD 4 > binaries on 8.1-RELEASE? At our shop, we're currently running 150+ 4.11-compiled i386 binaries on FreeBSD-8.1 amd64. No problems found yet, but there were gotchas (keep reading). > The requisite package is installed I assume you're talking about the "compat4x" package (specifically compat4x-i386-5.3_9). You might interested to know that if you're trying to fully support 4.x binaries on 8.1, you should also install the following package: compat5x-amd64-5.4.0.8_11 We've noticed here in our shop that not all 4.x shared-libraries are available in the compat4x package. To get all the shared-libraries that we were linking against in 4.x, we also had to install the compat5x package. Specifically, we found these 4.x shared-libraries were missing from compat4x (at minimum; I'm sure there is more but the below list encompases the ones that we ourselves needed): /usr/local/lib32/compat/libcam.so.2 /usr/local/lib32/compat/libsbuf.so.2 /usr/local/lib32/compat/libz.so.2 > $ grep -ir compat /usr/src/sys/amd64/conf/PFSYNC-MFIB > options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty) > options COMPAT_IA32 # 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 Here's our list: [dteske@oos0a /]$ config -x `sysctl -n kern.bootfile` | grep -i compat | grep -v '^#' options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty) 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 device pty # BSD-style compatibility pseudo ttys device ubsa # Belkin F5U103 and compatible serial adapters options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] Hmmm.... You're missing "COMPAT_43" ... that seems serious and likely to be the cause of your "Exec format" error (below). NOTE: I presume that the kernel config that you used does NOT include "GENERIC" as all the COMPAT_* options that are in our kernel (shown above) were actually there because we included the GENERIC config and then used `nodevice'/`nooptions' to disable things we didn't like in GENERIC and `device'/`options' to enable things that were missing from GENERIC. I think that's a much safer route to go if you're not an experienced kernel configurator. > Interestingly enough, the compat4 libraries themselves don't seem to be > recognized: > $ ldd /usr/local/lib32/compat/libfetch.so.2 > ldd: /usr/bin/ldd32: Exec format error Here it is on our system: [dteske@oos0a /]$ uname -a FreeBSD oos0a.vbsd.vicor.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Fri Aug 6 14:52:42 UTC 2010 dteske@oos0a.vbsd.vicor.com:/usr/src/sys/amd64/compile/FIS-amd64 amd64 [dteske@oos0a /]$ ldd /usr/local/lib32/compat/libfetch.so.2 /usr/local/lib32/compat/libfetch.so.2: Again, I think it's because your lack of "COMPAT_43" in your kernel. > > Compat5x libraries do not appear to be affected: > $ ldd /usr/local/lib/compat/libfetch.so.3 > /usr/local/lib/compat/libfetch.so.3: > libssl.so.3 => /usr/local/lib/compat/libssl.so.3 (0x800c00000) > libcrypto.so.3 => /usr/local/lib/compat/libcrypto.so.3 > (0x800d3a000) Same on our system. > Has anyone else ran into this issue? I realize trying to use things > built for FreeBSD 4 may be like beating a dead horse at this point, I'm > just surprised that the compatibility was broken during a minor release > upgrade. During the upgrade process, I think your kernel config lost something (COMPAT_43). > Thanks, > > Steve Polyack > _______________________________________________ > 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, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> FUN STUFF <- -----BEGIN GEEK CODE BLOCK----- Version 3.1 GAT/CS d(+) s: a- C++(++++) UB++++$ P++(++++) L++(++++) !E--- W++ N? o? K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R>++ tv(+) b+(++) DI+(++) D(+) G+>++ e>+ h r>++ y+ ------END GEEK CODE BLOCK------ http://www.geekcode.com/ -> END TRANSMISSION <- From gautham at lisphacker.org Wed Sep 22 20:33:05 2010 From: gautham at lisphacker.org (Gautham Ganapathy) Date: Wed Sep 22 20:33:10 2010 Subject: FreeBSD, GPGPU and OpenCL/CUDA In-Reply-To: References: <20100820165427.000072f8@unknown> Message-ID: On Fri, Aug 20, 2010 at 6:10 PM, b. f. wrote: > > Okay. ?Maybe we'll see a convergence of the two in the medium/long > term. ?Right now, interested parties need to look at the available > hardware, and then talk to the vendors about whether they would be > willing to support a port of their software to FreeBSD, and > _specifically_, what is needed. ?For example, we faced a similar > situation with the newer Nvidia GPUs not so long ago. ?Some key > developers like John Baldwin got involved, and determined what changes > needed to be made in the FreeBSD base system in order to support the > newer hardware and graphics drivers. ?It would have been nice to get > an open-source driver, but since Nvidia wasn't willing to do that, > FreeBSD ?chose to meet them half-way. ?Probably a similar effort will > be needed for CUDA. ?Someone should look at the requirements, and have > a _detailed_, _sustained_ discussion with Nvidia and the FreeBSD > Foundation. ?If, for example, KMS is needed, then the Foundation may > be willing to invest in that, because it will probably also be needed > for new graphics drivers and Xorg, anyway. ?Robert Noland was working > on it, but he was doing it largely by himself in his spare time, and > then he got a new job and had to slow down considerably, if not stop > altogether. > ... Hi I remember seeing a post sometime back (either here or on nvnews) about someone getting a prebuilt linux-based CUDA application to work freebsd's linuxulator. Does this mean that the driver is ready, and just the toolchain has to be ported? Regards Gautham Ganapathy From dkelly at hiwaay.net Wed Sep 22 20:39:31 2010 From: dkelly at hiwaay.net (David Kelly) Date: Wed Sep 22 20:39:34 2010 Subject: migrate system disk In-Reply-To: <447149.36059.qm@web30808.mail.mud.yahoo.com> References: <447149.36059.qm@web30808.mail.mud.yahoo.com> Message-ID: <20100922203857.GA92655@Grumpy.DynDNS.org> On Wed, Sep 22, 2010 at 08:06:13AM -0700, D?nielisz L?szl? wrote: > Hello, > > I have an old HDD which should be replaced soon, actually that HDD > stands as my system disk, what is your suggesion, how should I migrate > the FreeBSD 8.1 from the old disk to the new one? If you must copy exactly what you currently have then I'd use a variation on the handbook method which has already been suggested at http://www.freebsd.org/doc/handbook/backup-basics.html Rather than example 18-1 or 18-2 I'd pipe dump directly into restore. Do this once for every filesystem. Something like: ( cd /; /sbin/dump -0uanf - / ) | ( cd /newmount; /sbin/restore -rf - ) Where /newmount is the temporary new mount point for your new drive. Left preparation of new disk as an exercise for the reader. However there is a good argument to be made for making a totally new installation of FreeBSD. Then go through the original disk picking up the necessary files to customize for your use. As you find these files put their names in a file named something like files.list that in the future one could "tar -T files.list" (thats an incomplete example) to do a minimal quick backup or restore of only the files which are unique to your machine. This is an opportunity to find these files, and to practice using tar -T to lift them from one drive and write them to another. I wouldn't try to move the ports collection with the above technique. However it would be a good idea to save a list of installed ports that one could use to reinstall. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From sdb at ssr.com Wed Sep 22 21:13:55 2010 From: sdb at ssr.com (Scott Ballantyne) Date: Wed Sep 22 21:13:59 2010 Subject: Widescreen Monitor and X Help please In-Reply-To: (bdsfbsd@att.net) References: <20100922081117.1785.qmail@ssr.com> Message-ID: <20100922211136.1156.qmail@ssr.com> Hello Brian, > So if you return to the tty that you started X from (maybe by Alt-F1) and > hit Ctrl-C, that doesn't kill your X session? Reboot seems a bit drastic. That's correct. It kills the X session, but the terminal remains dark, and switches to 'lower power' mode. Using ctrl-alt-f1 or alt-f1 doesn't change the screen setting. > I struggled with widescreen config for a while until I realized the Tao > solution was best - have you tried starting X without any > /etc/X11/xorg.conf at all? Tao solution? I'm not sure what that is, but I have tried just typing 'startx' and also tried starting using xdm. Unfortunately everything has the same result, which is a blank screen in power savermode :( Thanks for your help. Scott From sdb at ssr.com Wed Sep 22 21:18:52 2010 From: sdb at ssr.com (Scott Ballantyne) Date: Wed Sep 22 21:18:56 2010 Subject: Widescreen Monitor and X Help please In-Reply-To: (message from Warren Block on Wed, 22 Sep 2010 07:14:11 -0600 (MDT)) References: <20100922081117.1785.qmail@ssr.com> Message-ID: <20100922211633.1269.qmail@ssr.com> Hi Warren, > Does the black screen show a mouse pointer? No escape including > ctrl-alt-f1? No mouse pointer, nothing. The X process will be shutdown with a ctrl-c or ctrl-alt-delete, but the screen remains blank, in "power saver" mode. Nothing I do makes any difference on the monitor. > > Try running X without an xorg.conf. > I've done that, and it works just the same. I saw your other message about HALD and read your interesting link, aei.html. I disabled the HALD and DBUS, and rebooted, tried again, but with the same results. Thanks so much, Scott From gibblertron at gmail.com Wed Sep 22 21:32:16 2010 From: gibblertron at gmail.com (patrick) Date: Wed Sep 22 21:32:20 2010 Subject: CYRUS IMAP cyradm core dump problem In-Reply-To: <000f01cb5a27$4823a0f0$d86ae2d0$@com.au> References: <000f01cb5a27$4823a0f0$d86ae2d0$@com.au> Message-ID: This happens for me if the password is entered incorrectly. I see it happens right away for you, but what if you type: cyradm -u username 192.168.134.171 ? Patrick On Wed, Sep 22, 2010 at 12:25 AM, Tim Kerr wrote: > Hi guys, > > > > I have successfully used Cyrus IMAP in the past on versions 5.x, 6.x and 7.x > > > > but am having a problem with a fresh installed ver 8.0 server ?when running > the cyradm command > > > > I upgraded to ver 8.1, performed a portupgrade and still get the same result > as follows > > > > root# cyradm 192.168.134.171 > > Segmentation fault: 11 (core dumped) > > root# > > > > > > does anyone have any ideas as to what I should be looking at to fix this ? > > > > regards, > > Tim Kerr > > _______________________________________________ > 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 timbo at psst.com.au Wed Sep 22 23:23:37 2010 From: timbo at psst.com.au (Tim Kerr) Date: Wed Sep 22 23:23:41 2010 Subject: CYRUS IMAP cyradm core dump problem In-Reply-To: References: <000f01cb5a27$4823a0f0$d86ae2d0$@com.au> Message-ID: <211f17580cb0ee7e5fac2831faf33e90.squirrel@hal.psst.com.au> thanks everyone for all your help I applied the patch as suggested by Reko, but it seemed to make no difference removing libgssapiv2 libs however, solved my cyradm problem will this cause issues into the future for any other ports I may need ti install ? regards, Tim >> I upgraded to ver 8.1, performed a portupgrade and still get the >> same result >> as follows >> >> root# cyradm 192.168.134.171 > > The main question is - do you need kerberos/gssapi authentication on > your server or not? > > If not, the easy fix is removing libgssapiv2 libs from > /usr/local/lib/sasl2 > > For some reason, the gssapi implementation on FreeBSD 8+ is partial or > broken and one way for more information and possible fix for gsspai > see http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/147454 > > -Reko > > _______________________________________________ > 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 Wed Sep 22 23:33:25 2010 From: wblock at wonkity.com (Warren Block) Date: Wed Sep 22 23:33:29 2010 Subject: Widescreen Monitor and X Help please In-Reply-To: <20100922211633.1269.qmail@ssr.com> References: <20100922081117.1785.qmail@ssr.com> <20100922211633.1269.qmail@ssr.com> Message-ID: On Wed, 22 Sep 2010, Scott Ballantyne wrote: >> Does the black screen show a mouse pointer? No escape including >> ctrl-alt-f1? > > No mouse pointer, nothing. The X process will be shutdown with a > ctrl-c or ctrl-alt-delete, but the screen remains blank, in "power > saver" mode. > > Nothing I do makes any difference on the monitor. It really sounds like a driver problem. radeon doesn't explicitly support the 5000-series cards, but I thought it would work. Check /var/log/Xorg.0.log. You can try the radeonhd driver, or even the vesa driver. > I've done that, and it works just the same. I saw your other message > about HALD and read your interesting link, aei.html. I disabled the > HALD and DBUS, and rebooted, tried again, but with the same results. Right. It's probably not an input problem. From nehe at telus.net Thu Sep 23 00:11:19 2010 From: nehe at telus.net (Jeff Molofee) Date: Thu Sep 23 00:11:22 2010 Subject: Samba3 In-Reply-To: <20100921062150.3C1F410656A9@hub.freebsd.org> References: <20100921062150.3C1F410656A9@hub.freebsd.org> Message-ID: <4C9A9032.2010400@telus.net> Need to get any variation of Samba 3 installed on a dedicated server. Using FreeBSD 6.X, get an error about buffer size being unknown and random errors on every version from 3.0 to 3.4. Anyone able to help me out? Error is [smbd/statvfs.o] Error 1 Some people are saying it's a Samba issue, others are saying it's BSD 6.x, and some even say it's autoconf 2.67 From training at qdc.com.my Thu Sep 23 01:10:35 2010 From: training at qdc.com.my (Quality Dynamics Consultancy Sdn Bhd) Date: Thu Sep 23 01:10:39 2010 Subject: Accounting Skills For Account Clerks & Assistant Training Message-ID: <77bac89350ae79745fb4f0a60017aca5@qdc.com.my> Disclaimer: If this mail has been sent to you by mistake or if you prefer not to receive any future emails on Training Program from us, please reply this e-mail with "REMOVE" in the subject line. We apologize for any inconveniences caused. Thank you for your time. Please forward this e-mail to your relatives, colleagues, friends or any of your contacts, if you feel that the program will benefit them. Thank you for your time. QUALITY DYNAMICS CONSULTANCY SDN BHD (Co. No. 620717-P) (PSMB Reg. No: 0938) (MoF Reg. No: 357-02064214) ACCOUNTING SKILLS FOR ACCOUNT CLERKS AND ASSISTANTS OCTOBER 19 ? 20, 2010, Holiday Inn Glenmarie, Shah Alam OBJECTIVES This course would enable accounting staff to understand and appreciate the steps performed in the accounting process and their contribution to management decision making. In today?s computerized accounting world, accounting staff perform very specific duties as part of the accounting process. They may be involved in one specific area like handling accounts payable, accounts receivable, payroll, cash book, etc. As a result, they are often very focused in their respective areas of work that they may not be aware or knowledgeable of the other important areas in accounting. With the advancement of computerized accounting packages, the accounting process is somewhat isolated and as a result these staff do not see the physical transaction actually taking place. This may lead to a lack of understanding of the accounting process. Knowledge in these other areas of accounting will enable the staff to contribute more effectively to the organization. The accounting staff should also be aware of the types of decision made by management like performance evaluation, budgeting and managing working capital. An understanding of these management decisions would enable them to appreciate how their functions and information they provide fits into the overall objectives of the organization. PROGRAM CONTENT INTRODUCTION ? What is Accounting? ? Accounting Process ? Role in today?s business ? The Accounting Equation ? Transaction Analysis THE RECORDING PROCESS DOUBLE ENTRY SYSTEM OF RECORDING ? Assets ? Liabilities ? Capital ? Revenue ? Expenses ? Extracting the Trial Balance ? Exercise PREPARING BASIC FINANCIAL STATEMENTS ? The Trading Account ? The Profit & Loss Account ? The Balance Sheet BOOKS OF ORIGINAL ENTRY JOURNALS ? Cash Book ? Sales & Purchases Journal ? Returns Journal ? The General Journal POSTING TO LEDGER ? The Creditors Ledger ? The Debtors Ledger ? The General Ledger ? Exercise ADJUSTMENTS AT FINANCIAL YEAR END ? Cash Versus Accrual Accounting ? Matching Principle ? Accrued Expenses ? Prepayments ? Unearned Revenue ? Bad Debts & Provision for Doubtful Debts ? Impact on Financial Statements ? Exercise ACCOUNTING FOR FIXED ASSETS ? Historical Cost Concept ? Depreciation ? Calculation & Recording ? Gain or Loss on Sale ? Impact on Financial Statements ? Exercise PREPARATION OF FINANCIAL STATEMENTS WITH ADJUSTMENTS ? The Trading Account ? The Profit & Loss Account ? The Balance Sheet ? Exercise FINANCIAL STATEMENT ANALYSIS USING RATIOS ? Profitability Ratios ? Efficiency Ratios ? Liquidity Ratios ? Gearing Ratios ? Investment Ratios ? Exercise BUDGETING ? Sales Budget ? Production Budget ? Raw Materials Purchases Budget ? Overhead Budget ? Labour Budget ? Cash Budget ? Exercise WORKING CAPITAL MANAGEMENT ? Importance of Working Capital ? The Operating cycle ? The Cash conversion cycle ? Accounts Receivable & Payable ? Evaluating short-term finance EXERCISES ON WORKING CAPITAL WHO MUST ATTEND ? Accounts Assistants, Accounts Clerks, Costing Clerks, New Accounting personnel INVESTMENT (Fee) Enjoy EARLY BIRD Rate by (07/10/10) at RM 860.00 per participant for a minimum of 2 participants from the same company RM 910.00 per participant Group Discount :RM 960.00 per participant for a minimum of 2 participants from the same company. Standard : RM 1,010.00 per participant (Fee inclusive of Buffet Lunch, Refreshment, Training Bag, Handouts, Writing Pad, Pen & Certificate of Completion) REGISTRATION & PAYMENT ? All registration MUST be accompanied with PAYMENT. ? Completed registration form with CHEQUES should be made in favor of ?Quality Dynamics Consultancy Sdn Bhd? and send to: QUALITY DYNAMICS CONSULTANCY SDN BHD No. 343, Block A, Kelana Centre Point, No.3, Jalan SS7/19, Kelana Jaya, 47301 Petaling Jaya Tel : 03-78054587 / 03-78044196 Fax: 03-78054514 E-mail: training@qdc.com.my Website: www.qdc.com.my PSMB : 100% REIMBURSEMENT WE ALSO PROVIDE: IN-HOUSE TRAINING AND CONSULTANCY WORK FACILITATOR ? MR. THYE FOOT LEONG Mr. Thye Foot Leong, 53, is a member of the Malaysia Institute of Accountant. He qualified as a professional member of the Association of Chartered Certified Accountants (UK) in 1979. After graduation, he worked in a professional audit firm for three years. He has been engaged as a Senior Group Financial Controller and Deputy Chief Finance Officer in a Public Listed Company with KLSE for the last twenty years. His scopes of responsibilities include Budgeting, Management Accounting, and Financial Management and Reporting, Corporate Finance, Corporate Planning, Strategic Management Business Processes and Control. He is also very well versed in the local business environment as the result of his broad background and exposure in Finance Management and Treasury. He is also a member of the Havard Business School Alumni Club of Malaysia, and Malaysia Institute of Management. As a Certified Financial Planner, he is also a member of the Financial Planning Association of Malaysia and had been a past committee member of its PJ Chapter. He is also a Fellow Member of the Certified Public Accountants of Australia. Mr. Thye is a past member and serves in several Committees / Directorships of Rotary Club of Metro Kuala Lumpur. He was the past president of ITC Toastmasters Club, Past Area Governor, Past Assistant Division Governor (Marketing), Past Assistant Division Governor (Education & Training), and Past Division Governor of the Pan-Southeast Asia Toastmasters District 51. Mr Thye has trained personnel from various disciplines and industries including Reliance Pacific Group of Companies, Kumpulan Jetson Group of Companies, Allianz Life Insurance, ABB Malaysia, Marco Corporation, Satang Jaya Group of Companies, Peremba Construction,Malaysia Milk,IGC-Industrial Galvanizers Corporation,Motibina ,Gas Malaysia,Morgan Carbon, Malayan Banking Berhad, ABN Amro Bank, F&NCC Beverages, Draeger Safety Asia ,Ban Seng Lee Industries, Sinclair Knight Merz,CIMB ,JVC Video Malaysia ,Printelligence ,Multimedia Development Corporation, Siemens Malaysia, Unza Overseas Ltd, Schneder Electric Industries, Nikko Hotel, Coronade Hotel, Great Eastern Life Assurance Bhd, Mitsui OSK Lines, Delima Oil Products, Triways Travel Network, Century Total Logistics, Revertex ( Malaysia ) ,Perennial Lube-Tech, Golden Hope Research Centre, Malaysia Airports Bhd, BIMB Securities Sdn Bhd, UKM Kesihatran, Sapura Industrial Bhd, Neville-Clarke(M) , SOSMA Sdn, Bank Industri & Teknologi Malaysia, Boustead Group of Companies, Mofaz Group of Companies, Sinwah Industries Berhad, Guiness Anchor Berhad, Hong Leong Industries Group of Companies, etc. REGISTRATION FORM ACCOUNTING SKILLS FOR ACCOUNTS CLERKS & ASSISTANTS DATE: OCTOBER 19 - 20, 2010 Please register the following participant(s) : Company: No. Name Designation Address: 1 2 3 E-mail: 4 Cheque No. & Bank: 5 Amount (RM): 6 Tel: Fax: 7 Contact Person: Registration & payment Please call 03-78054587 / 03-78044196 for more information or any enquiries. Our phone line operation hours are from 8:30am to 6:00pm from Monday to Friday. Completed registration form with CHEQUES should be made in favor of "Quality Dynamics Consultancy Sdn Bhd" THIS PROGRAM IS CLAIMABLE UNDER SBL SCHEME Quality Dynamics Consultancy Sdn Bhd reserves the right to cancel or reschedule the above course and shall inform participants of the changes TRAINING SCHEDULE : SEPT ? NOV 2010 SEPTEMBER 20 ? 21 Malaysian Customs Procedure 22 ? 23 7 New QC Tools 22 ? 23 Kepimpinan & Perhubungan Sesama Manusia 23 5S Practices for Management 27 ? 28 Filing & Records Management* 27 ? 28 Leadership, Motivation & Supervisory Development Skills 29 ? 30 Problem Solving & Decision Making 29 ? 30 Internal Quality Auditors Training 29 ? 30 Lean Manufacturing 30 Kecemerlangan Kerja Dispatch, Pembantu Pejabat & Pemandu OCTOBER 04 Conversion of ISO 9001:2000 to ISO 9001:2008 Document 07 Customer Service & Telephone Techniques 04 - 05 Time Management & Setting Priorities 05 - 06 Pencegahan & Pengurangan Pembaziran untuk Penyelia & Eksekutif 07 - 08 ICC for Facilitators 11 Pre-determined Motion Time Study (Based on MTM-2 Application) 12 - 13 Pengurusan Fail & Rekod 13 - 14 Managing a Human Resource Department 13 - 14 Communication & Interpersonal Skills 14 - 15 7 QC Tools 19 ? 20 Accounting Skills for Account Clerks & Assistants *19 ? 20 Internal Quality Auditors Training (Penang) *19 ? 20 Failure Mode & Effects Analysis (Penang) 20 - 21 Kepimpinan & Penyeliaan Cemerlang 21 ? 22 Amalan 5S 25 ? 26 Understanding Goods & Service Tax (GST) in Malaysia 26 ? 27 ISO 9001:2008 (Interpretation, Documentation, Implementation) 26 ? 27 Management Skills for Executive 26 ? 27 Pengurusan Stor & Inventori yang Berkesan 27 ? 28 Know the Legal Rights, Protections, Obligations & Limitations of Employers 27 ? 28 Meningkatkan Prestasi Kerja Melalui Sikap Kerja Positif 27 ? 28 Effective Supervisory Skills NOVEMBER 02 ISO 9001:2008 QMS Management Awareness Training 03 - 04 Statistical Process Control (SPC) for Executives & Supervisors 03 - 04 Leadership, Motivation & Supervisory Development Skills 08 5S Practices Management Awareness Training 09 - 10 Filing & Records Management 09 - 10 Systematic Approach to Problem Solving & Decision Making 09 - 10 Visual Control for 5S Practices 11 - 12 Total Quality Management (TQM) for Achieving Organisational Excellence 11 - 12 Professional Excellence for Secretaries, Personal Assistants & Administrators 15 - 16 Judging ICC Presentation 22 - 23 7 Alat QC Baru 23 - 24 Asas Perakaunan untuk Eksekutif Muda & Perkeranian Perakaunan 24 - 25 Internal Quality Auditor Training 24 - 25 Dismissal Procedures & Domestic Enquiry 24 - 25 Kemahiran Komunikasi Berkesan 24 - 25 Etika Pengendalian Telefon & Perkhidmatan Kaunter yang Berkesan 25 - 26 Malaysian Customs Procedure 29 - 30 Kaizen Practices (for Improving Process Efficiency) 29 - 30 Kerja Dalam Pasukan untuk Kecemerlangan Organisasi 29 - 30 Lean Manufacturing Anti-SPAM Policy Disclaimer: Mail cannot be considered spam as long as we include contact information and a remove link for removal from this mailing list. If this e-mail is unsolicited, please accept our apologies. Further transmissions to you by the sender may be stopped at NO COST to you. From myself at rdtan.net Thu Sep 23 02:07:18 2010 From: myself at rdtan.net (Edward) Date: Thu Sep 23 02:07:22 2010 Subject: migrate system disk In-Reply-To: <447149.36059.qm@web30808.mail.mud.yahoo.com> References: <447149.36059.qm@web30808.mail.mud.yahoo.com> Message-ID: <4C9AAF66.9050308@rdtan.net> > I have an old HDD which should be replaced soon, actually that HDD stands as my > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 from > the old disk to the new one? I've used to do this a lot for server hardware migration, moving from 1 server to another new server. This blog post recorded what I tried & did : http://scratching.psybermonkey.net/2010/01/freebsd-backup-and-restore-freebsd.html Check it out, Edward. From bonomi at mail.r-bonomi.com Thu Sep 23 02:49:53 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Thu Sep 23 02:49:58 2010 Subject: The nightmarish problem of installing a printer Message-ID: <201009230247.o8N2ltqs003957@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Wed Sep 22 12:25:37 2010 > Date: Wed, 22 Sep 2010 10:27:05 -0700 > From: David Brodbeck > To: freebsd-questions@freebsd.org > Subject: Re: The nightmarish problem of installing a printer > > On Tue, Sep 21, 2010 at 5:24 PM, Robert Bonomi w= > rote: > > A) *THEY* developed the interface specifications. They license printer > > manufacurers to build to it. =A0 They _would_ obejct if somebody used > > their technology to compete against them. > > > > B) As it is, to _use_ one of those printers, you *HAVE*TO*BY* a MS O/S. > > =A0 if one could use those printers -without- a MS O/S, that is a > > =A0 'provable' loss in MS O/S sales -- one sales loss for -each- non-MS > > =A0 system that has such a printer attached. > > If this were true, and there really were a big conspiracy on > Microsoft's part to make manufacturers only support Windows, then you > wouldn't see cheap printers that support both Windows and MacOS X. In > reality, such printers are pretty easy to find. NICE STRAWMAN. But that was -not- the point of the discussion that I was addressing. The QUESTION ASKED was 'why would Microsoft object if somebody else implemented -their- printer-driver technology. And the answer to -that- question -is- found in 'simple economics' -- if somebody did so, it would represent a 'potential loss' in MS operating system sales. The potential threat of MS taking issue (and possible legal action) against someone who develops a usable 'windows clone' printing subsystem, is not 'in iteself' a 'deal breaker' that preents it from happening. It is mrerely "more nails" in the lid of the coffin. Eliminate the other barriers and you still have that one to worry about. eliminate -only- it, and the coffin lid is -still- nailed down. MS knows better than to try to dictate what markets printer manufacturers can build for. if a manufacturer wants to develop for a _competing_ market using _competing_ technology, "no problem". If a manufacturer wanted to develop for a competing (with oter microsoft produts -- i.e. were every sale of the 'competing' product is a potential 'lost sale' of a MS product) market, *using*MICROSOFT's*tecnology, the "big problem". NOTE WELL I did -not- claim there is any 'conspiracy' on MS's part to force printer manuracturers into only supporting window. There isn't. Printer manufacturers _chose_ to roll out devices that work only when coupled with host-based software that they provie for Windows, and Windows *ONLY*. They have, probably rightly, concluded that the -cost- of providing drivers for other environments (or even the cost of making the specifications avaialable) is more than the profits that that (relatively speaking) small number of additional sales would bring in. They build for their 'primary market', and if cost-minimization for -that- market means that the device is 'unusable' in a niche market that would bring in minimal revenues, they =don't=care=. Regardless of how 'inconvenient' it is for the users _in_ that niche 'market. There's also another thing going on with regard to the low-end inkjet printers. What does it tell you when you can buy a _new_ printer, _with_ a set of ink cartridge for roughly 50% more than the cost of a set of replacement cartriges? Hint, it's the same strategy that King Gilette used to sell safety razors. The 'total cost of ownership' of an inkjet printer is _obscene_ when figured on a per-page basis, with highly intermittant use. Used 'reglarly but lightly' the cost of ownership is merely riciculously high. But the customers _don't_ tink about te purchases that way. If the purchase price is rock bottom, "who cares" about the 'operating cost' applies. unless they're using it regularly enough that they see ink as an expence at least monthly. "Guess why" printer manufactures now put 'smart chips' _in_ the cartridge so that when the page count has been reached, it _stops_working even if there are 'consumables' still in the package. Aw, shucks, you can't _re-fill_ that cartridge with cheap ink. "Guess who" is crying all theway to the banke over -that- little problem. Summary: the obstacles to developing a 'shim'/'wrapper' around a Windows printer driver to allow te use of cheap 'Winprinters' in a Unix environment. 1) the 'appication side' interface it would is incompatbile with *every* existing Unix application that produces print output. 2) providing a lowlevel /'translator' to map between the output calls that existant print-producing packages usa and the windows environment 'expects' is an enitre _additional_ undertaking that would have to be done. 3) (2) _cannot_ be done 'perfectly' there are concepts on the Unix side for which there are -no- windows equivalents. And vice-versa. 4) WINDOWS applications are the only things that directly produce output 'compatible' with this new printing system. (a) absent the translator discueesed in (2), the a unix app has to be re-wrritten to take advantage of the 'new' printer. (b) a 'windows' app already knows how to talk to this kind of printer but tht's no -help since te _rest_ of the app still needs a windows interface. 5) you'r tryin to catch a moving target -- witout a *LOT* of co-ordinated, directed and team-oriented expertise, the target will change faster than the solution beiing built. it doesn't do -anybody- any good to prouce a technical tour-de-force, if by the time it's completed nobody is selling printers compatible with that 'obselete' tecnology. 6) hang a "Winprinter" off a unix box _wih_ a shim wrapper, and yo've got a 'solution looking for a problem, because _nothing_ on the applications side can talk to it, see 2),3) and 4) above. 7) you -do- run a risk of legal action from Microsoft. unless you pay to license the interface technology. There are software patents and 'trade secrets' (divulged only non-disclosure agreements) involved. Colllectively, the above reasons constitute an overwelming rational for -not- tackling such a project -- those with the required skill-sets are well aware how large -each- of those mountains is, and have chosen -not- to expend the effort. If there is someone out there who believes it _can_ be done, with a rational expenditure of time and effort, They are strongly encouraged to GO DO IT. Those who merely want to "bitch and moan" about ow 'other people' aren't 'moving fast enough' on their pet issue of the day might want to think about what *they* could do to 'make it happen'. For starters, it is a simple fact that any sizable project gets done _far_faster_ with 'funding' than it does *without* it. Want it done 'sooner'? Start a fund-raising project among like-minded users. Six figures (left of the decimal point, _not_ counting leading zeroes:) would be a good starting point. Manage *that* and you'll be the "E.F. Hutton" (c.f. the 80', 90's add campaign) of the unix world. otherwise..... Those who "don't know what they don't know" about the subject, because tey do _NOT_ have the skills to tackle it themselves, are cordially requested to STFU, and go _learn_ what they need to know to tackle it. From jbiquez at intranet.com.mx Thu Sep 23 03:43:55 2010 From: jbiquez at intranet.com.mx (Jorge Biquez) Date: Thu Sep 23 03:43:59 2010 Subject: GUI Suggested? Message-ID: <3368057398-783131724@intranet.com.mx> Hello all. In all these years I have been working with FreeBSd under terminal/shell mode. Since all my needs to solve have been solved that way I have never tried any graphical interface. I was wondering if you can tell suggest me based on yoru experience on what path to follow? KDE? any other? I would like to test what you suggest is the best for you and if possible that it is not TOO complicated to setup. The idea is to use it as my desktop plattfor (documents, browser, email, etc) Thanks in advance Jorge Biquez From wblock at wonkity.com Thu Sep 23 03:57:48 2010 From: wblock at wonkity.com (Warren Block) Date: Thu Sep 23 03:57:52 2010 Subject: GUI Suggested? In-Reply-To: <3368057398-783131724@intranet.com.mx> References: <3368057398-783131724@intranet.com.mx> Message-ID: On Wed, 22 Sep 2010, Jorge Biquez wrote: > I was wondering if you can tell suggest me based on yoru experience on what > path to follow? KDE? any other? The Handbook covers setting up the three major desktop environments in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html. You don't have to choose one of those, there are lots of varied window managers, and advocates for each. There's an overview here on fd.o: http://www.freedesktop.org/wiki/Desktops. Many of those are in ports. > I would like to test what you suggest is the best for you and if possible > that it is not TOO complicated to setup. The idea is to use it as my desktop > plattfor (documents, browser, email, etc) Personally, I currently use xfce as "lighter" than the other members of the big three, while still offering the features I want. But it really is very subjective. For various purposes, I've used GNOME, KDE, icewm, fluxbox, blackbox, and others. Ports make these all pretty easy to install. From amvandemore at gmail.com Thu Sep 23 04:53:42 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Thu Sep 23 04:53:47 2010 Subject: GUI Suggested? In-Reply-To: <3368057398-783131724@intranet.com.mx> References: <3368057398-783131724@intranet.com.mx> Message-ID: On Wed, Sep 22, 2010 at 10:29 PM, Jorge Biquez wrote: > Hello all. > > In all these years I have been working with FreeBSd under terminal/shell > mode. Since all my needs to solve have been solved that way I have never > tried any graphical interface. > > I was wondering if you can tell suggest me based on yoru experience on what > path to follow? KDE? any other? > > I would like to test what you suggest is the best for you and if possible > that it is not TOO complicated to setup. The idea is to use it as my desktop > plattfor (documents, browser, email, etc) > As stated before, it's really a personal matter. I like kde4 a lot, especially konsole and konqueror. konsole seems to have a great blend of features(monitor for activity, etc.) and integration with other KDE apps as a snap-in. Basically things like this http://www.youtube.com/watch?v=TCL_6YNgc8w make it a breeze to keep separate groups for each item your working on. Konqueror runs firefox plugins, and supports the fish protocol which I occasionally find useful. It's also lighter and faster than KDE3. It's pretty stable too, but not completely so. Once in awhile a KDE4 will get hung like krdc and I'll have to restart rather than track down the issue. I guess I reboot my desktop on average once a month due to things like that so it's acceptable for me. You can use the handbook method of installing KDE4(which is much, much faster) or my method of installing: http://www.mail-archive.com/freebsd-ports@freebsd.org/msg25856.html Looking at my old post again, I notice I didn't include kde4 in the build. That would be this: portmaster --no-confirm -d /usr/ports/x11/kde4 #you make wish to add --no-confirm to the other portmaster commands as it's behaviour has changed. So it's not too hard to get it on your system. -- Adam Vande More From raghu at mri.ernet.in Thu Sep 23 06:09:13 2010 From: raghu at mri.ernet.in (N. Raghavendra) Date: Thu Sep 23 06:09:16 2010 Subject: DHCP problem after upgrade Message-ID: <86hbhhnh8b.fsf@riemann.mri.ernet.in> I upgraded my system from 7.2-STABLE to 8.1-STABLE, and have done `mergemaster'. Earlier the system used to get its IP address by DHCP at boot time without any problem. After the upgrade, it is not doing so. I have ifconfig_em0="DHCP" in /etc/rc.conf. After booting, manually doing `/sbin/dhclient em0' works. The dmesg is enclosed below. Any help is appreciated. Thanks and regards, Raghavendra. ---------------------------------------------------------------------- Copyright (c) 1992-2010 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 8.1-STABLE #0: Thu Sep 23 09:18:44 IST 2010 root@griffin.campus.hri:/usr/obj/usr/src/sys/GRIFFIN i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (2394.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fb Family = 6 Model = f Stepping = 11 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 TSC: P-state invariant real memory = 3221225472 (3072 MB) avail memory = 3140222976 (2994 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bfd90000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 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 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xcf00-0xcf7f mem 0xfa000000-0xfaffffff,0xd0000000-0xdfffffff,0xf8000000-0xf9ffffff irq 16 at device 0.0 on pci1 em0: port 0xff00-0xff1f mem 0xfdfc0000-0xfdfdffff,0xfdfff000-0xfdffffff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:1d:09:99:b5:ee uhci0: port 0xfe00-0xfe1f irq 16 at device 26.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x2f00 usbus0: on uhci0 uhci1: port 0xfd00-0xfd1f irq 21 at device 26.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x2f00 usbus1: on uhci1 uhci2: port 0xfc00-0xfc1f irq 19 at device 26.2 on pci0 uhci2: [ITHREAD] uhci2: LegSup = 0x2f00 usbus2: on uhci2 ehci0: mem 0xfdffe000-0xfdffe3ff irq 18 at device 26.7 on pci0 ehci0: [ITHREAD] usbus3: EHCI version 1.0 usbus3: on ehci0 hdac0: mem 0xfdff4000-0xfdff7fff irq 22 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] uhci3: port 0xfb00-0xfb1f irq 23 at device 29.0 on pci0 uhci3: [ITHREAD] usbus4: on uhci3 uhci4: port 0xfa00-0xfa1f irq 19 at device 29.1 on pci0 uhci4: [ITHREAD] usbus5: on uhci4 uhci5: port 0xf900-0xf91f irq 18 at device 29.2 on pci0 uhci5: [ITHREAD] usbus6: on uhci5 ehci1: mem 0xfdffd000-0xfdffd3ff irq 23 at device 29.7 on pci0 ehci1: [ITHREAD] usbus7: EHCI version 1.0 usbus7: on ehci1 pcib2: at device 30.0 on pci0 pci2: on pcib2 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf800-0xf807,0xf700-0xf703,0xf600-0xf607,0xf500-0xf503,0xf400-0xf40f,0xf300-0xf30f irq 19 at device 31.2 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci1: port 0xf100-0xf107,0xf000-0xf003,0xef00-0xef07,0xee00-0xee03,0xed00-0xed0f,0xec00-0xec0f irq 19 at device 31.5 on pci0 atapci1: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] acpi_tz0: on acpi0 atrtc0: port 0x70-0x73 on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata0: [ITHREAD] ata1 at port 0x170-0x177,0x376 irq 15 on isa0 ata1: [ITHREAD] atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: parallel port not found. est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 927092706000927 device_attach: est0 attach returned 6 p4tcc0: on cpu0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 927092706000927 device_attach: est1 attach returned 6 p4tcc1: on cpu1 est2: on cpu2 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 927092706000927 device_attach: est2 attach returned 6 p4tcc2: on cpu2 est3: on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 927092706000927 device_attach: est3 attach returned 6 p4tcc3: on cpu3 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered ad4: 305245MB at ata2-master UDMA100 SATA 3Gb/s GEOM: ad4: partition 3 does not start on a track boundary. GEOM: ad4: partition 3 does not end on a track boundary. GEOM: ad4: partition 2 does not start on a track boundary. GEOM: ad4: partition 2 does not end on a track boundary. GEOM: ad4s3: geometry does not match label (255h,63s != 16h,63s). uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered ugen3.2: at usbus3 umass0: on usbus3 umass0: SCSI over Bulk-Only; quirks = 0x0000 ugen7.2: at usbus7 umass1: on usbus7 umass1: SCSI over Bulk-Only; quirks = 0x0000 umass0:1:0:-1: Attached to scbus1 umass1:2:1:-1: Attached to scbus2 acd0: DVDR at ata3-master UDMA100 SATA 1.5Gb/s hdac0: HDA Codec #2: Realtek ALC888 pcm0: at cad 2 nid 1 on hdac0 pcm1: at cad 2 nid 1 on hdac0 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 (probe2:ata3:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe2:ata3:0:0:0): CAM status: SCSI Status Error (probe2:ata3:0:0:0): SCSI status: Check Condition (probe2:ata3:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed) (probe1:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe1:umass-sim1:1:0:0): CAM status: SCSI Status Error (probe1:umass-sim1:1:0:0): SCSI status: Check Condition (probe1:umass-sim1:1:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim1:1:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 (probe0:umass-sim1:1:0:1): CAM status: SCSI Status Error (probe0:umass-sim1:1:0:1): SCSI status: Check Condition (probe0:umass-sim1:1:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim1:1:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 (probe0:umass-sim1:1:0:2): CAM status: SCSI Status Error (probe0:umass-sim1:1:0:2): SCSI status: Check Condition (probe0:umass-sim1:1:0:2): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim1:1:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0 (probe0:umass-sim1:1:0:3): CAM status: SCSI Status Error (probe0:umass-sim1:1:0:3): SCSI status: Check Condition (probe0:umass-sim1:1:0:3): SCSI sense: NOT READY asc:3a,0 (Medium not present) da0 at umass-sim0 bus 0 scbus1 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 476940MB (976773167 512 byte sectors: 255H 63S/T 60801C) cd0 at ata3 bus 0 scbus3 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 100.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed da1 at umass-sim1 bus 1 scbus2 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! da2 at umass-sim1 bus 1 scbus2 target 0 lun 1 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim1 bus 1 scbus2 target 0 lun 2 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present da4 at umass-sim1 bus 1 scbus2 target 0 lun 3 da4: Removable Direct Access SCSI-0 device da4: 40.000MB/s transfers da4: Attempt to query device size failed: NOT READY, Medium not present ugen2.2: at usbus2 uhub8: on usbus2 Trying to mount root from ufs:/dev/ad4s3a uhub8: 3 ports with 2 removable, bus powered ugen2.3: at usbus2 ukbd0: on usbus2 kbd2 at ukbd0 uhid0: on usbus2 ugen2.4: at usbus2 ums0: on usbus2 ums0: 3 buttons and [XYZ] coordinates ID=0 em0: link state changed to UP From guru at unixarea.de Thu Sep 23 06:19:19 2010 From: guru at unixarea.de (Matthias Apitz) Date: Thu Sep 23 06:19:23 2010 Subject: migrate system disk In-Reply-To: <4C9AAF66.9050308@rdtan.net> References: <447149.36059.qm@web30808.mail.mud.yahoo.com> <4C9AAF66.9050308@rdtan.net> Message-ID: <20100923061916.GA1945@current.Sisis.de> El d?a Thursday, September 23, 2010 a las 09:37:42AM +0800, Edward escribi?: > > > I have an old HDD which should be replaced soon, actually that HDD stands as my > > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 from > > the old disk to the new one? > > I've used to do this a lot for server hardware migration, moving from 1 > server to another new server. This blog post recorded what I tried & did : > http://scratching.psybermonkey.net/2010/01/freebsd-backup-and-restore-freebsd.html I did an similar aproach, moving a complete system by dump/restore to another (virtual) hardware to get a 1:1 clone of my laptop. The steps are documented in detail here: http://www.unixarea.de/OS/moveFreeBSDintoVM.txt HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From laszlo_danielisz at yahoo.com Thu Sep 23 07:06:57 2010 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Thu Sep 23 07:07:01 2010 Subject: migrate system disk <- thank you In-Reply-To: <20100923061916.GA1945@current.Sisis.de> References: <447149.36059.qm@web30808.mail.mud.yahoo.com> <4C9AAF66.9050308@rdtan.net> <20100923061916.GA1945@current.Sisis.de> Message-ID: <138608.24698.qm@web30801.mail.mud.yahoo.com> Thank you everybody for your help! ________________________________ From: Matthias Apitz To: Edward Cc: D?nielisz L?szl? ; freebsd-questions@freebsd.org Sent: Thu, September 23, 2010 8:19:16 AM Subject: Re: migrate system disk El d?a Thursday, September 23, 2010 a las 09:37:42AM +0800, Edward escribi?: > > > I have an old HDD which should be replaced soon, actually that HDD stands as >my > > > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 >from > > > the old disk to the new one? > > I've used to do this a lot for server hardware migration, moving from 1 > server to another new server. This blog post recorded what I tried & did : >http://scratching.psybermonkey.net/2010/01/freebsd-backup-and-restore-freebsd.html >l I did an similar aproach, moving a complete system by dump/restore to another (virtual) hardware to get a 1:1 clone of my laptop. The steps are documented in detail here: http://www.unixarea.de/OS/moveFreeBSDintoVM.txt HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! _______________________________________________ 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 raghu at mri.ernet.in Thu Sep 23 07:17:55 2010 From: raghu at mri.ernet.in (N. Raghavendra) Date: Thu Sep 23 07:17:58 2010 Subject: DHCP problem after upgrade [solved] In-Reply-To: <86hbhhnh8b.fsf@riemann.mri.ernet.in> (N. Raghavendra's message of "Thu, 23 Sep 2010 11:17:48 +0530") References: <86hbhhnh8b.fsf@riemann.mri.ernet.in> Message-ID: <86hbhh2aya.fsf@riemann.mri.ernet.in> At 2010-09-23T11:17:48+05:30, N. Raghavendra wrote: > I upgraded my system from 7.2-STABLE to 8.1-STABLE, and have done > `mergemaster'. Earlier the system used to get its IP address by > DHCP at boot time without any problem. After the upgrade, it is not > doing so. I have ifconfig_em0="DHCP" in /etc/rc.conf. After searching the Web and rc.conf(5), I came across the "SYNCDHCP" value for the ifconfig_ variable. So, either setting ifconfig_em0="SYNCDHCP", or leaving ifconfig_em0="DHCP" as it is and setting synchronous_dhclient="YES" in rc.conf works, and the system gets an IP address from the DHCP server at boot time. Regards, Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. From ml at netfence.it Thu Sep 23 08:00:24 2010 From: ml at netfence.it (Andrea Venturoli) Date: Thu Sep 23 08:00:40 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> Message-ID: <4C9B03DB.6000806@netfence.it> On 09/23/10 06:53, Adam Vande More wrote: > As stated before, it's really a personal matter. I like kde4 a lot, > ... > It's also > lighter and faster than KDE3. It's pretty stable too, but not completely > so. Strange. After years of KDE3 I tried KDE4 and switched back in half a day. I found it crawling slowly, with continuous crashes, rendering bugs and missing features... Of course, YMMV. bye av. From guru at unixarea.de Thu Sep 23 08:09:18 2010 From: guru at unixarea.de (Matthias Apitz) Date: Thu Sep 23 08:09:21 2010 Subject: GUI Suggested? In-Reply-To: <4C9B03DB.6000806@netfence.it> References: <3368057398-783131724@intranet.com.mx> <4C9B03DB.6000806@netfence.it> Message-ID: <20100923080917.GA3186@current.Sisis.de> El d?a Thursday, September 23, 2010 a las 09:38:03AM +0200, Andrea Venturoli escribi?: > On 09/23/10 06:53, Adam Vande More wrote: > > > As stated before, it's really a personal matter. I like kde4 a lot, > > ... > > It's also > > lighter and faster than KDE3. It's pretty stable too, but not completely > > so. > > Strange. > After years of KDE3 I tried KDE4 and switched back in half a day. > I found it crawling slowly, with continuous crashes, rendering bugs and > missing features... I'm using KDE 3.5.10 which very solid and stable. In May 2009 I tried KDE4, in a test machine and found it unstable and not so intiutive as KDE3. So I droped the idea to move to KDE4. Just my 0.02 pesos cubanos matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From frank at shute.org.uk Thu Sep 23 08:36:13 2010 From: frank at shute.org.uk (Frank Shute) Date: Thu Sep 23 08:36:17 2010 Subject: GUI Suggested? In-Reply-To: <3368057398-783131724@intranet.com.mx> References: <3368057398-783131724@intranet.com.mx> Message-ID: <20100923083603.GA12869@orange.esperance-linux.co.uk> On Wed, Sep 22, 2010 at 10:29:38PM -0500, Jorge Biquez wrote: > > Hello all. > > In all these years I have been working with FreeBSd under > terminal/shell mode. Since all my needs to solve have been solved > that way I have never tried any graphical interface. > > I was wondering if you can tell suggest me based on yoru experience > on what path to follow? KDE? any other? > > I would like to test what you suggest is the best for you and if > possible that it is not TOO complicated to setup. The idea is to use > it as my desktop plattfor (documents, browser, email, etc) > > Thanks in advance > > Jorge Biquez > I remember years ago that I first started using Linux in just the console and did so for about 6 months before I set up X. It was such a pleasure to get away from a GUI and to a CLI :) When I did set up X, I used fvwm as my WM for many years, then Blackbox and now Fluxbox. I like the *boxes and fvwm as they have simple text based configuration files and are easy to customise to one's own needs. I still just have a couple of xterms running under fluxbox and tend to launch a lot of programs from them. You might find a simple setup, as I've described above, comfortable for your needs rather than a full-blown desktop environment such as Gnome or KDE. My belief is that people who are comfortable with Gnome/KDE are people who are familiar with working in a GUI such as Windows? and haven't come from the commandline. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From guru at unixarea.de Thu Sep 23 08:46:48 2010 From: guru at unixarea.de (Matthias Apitz) Date: Thu Sep 23 08:46:51 2010 Subject: GUI Suggested? In-Reply-To: <20100923083603.GA12869@orange.esperance-linux.co.uk> References: <3368057398-783131724@intranet.com.mx> <20100923083603.GA12869@orange.esperance-linux.co.uk> Message-ID: <20100923084646.GA3644@current.Sisis.de> El d?a Thursday, September 23, 2010 a las 09:36:03AM +0100, Frank Shute escribi?: > My belief is that people who are comfortable with Gnome/KDE are people > who are familiar with working in a GUI such as Windows? and haven't > come from the commandline. Totally wrong for me. I come from a UNIX like System which was driven in batch jos in /370 main frame by 80 column puch cards and later UNIX7 in just ASCII cmd terminals. See: http://groups.google.com/group/comp.unix.wizards/msg/98fc9de7c77bff59 Ofc, today I do most of my work in XTerm, like using now mutt (as you do) and vim to write this mail. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ?Solidaridad con los piratas sionistas de Israel? ?No en mi nombre! From jmc-freebsd2 at milibyte.co.uk Thu Sep 23 09:33:14 2010 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Thu Sep 23 09:33:18 2010 Subject: GUI Suggested? In-Reply-To: <4C9B03DB.6000806@netfence.it> References: <3368057398-783131724@intranet.com.mx> <4C9B03DB.6000806@netfence.it> Message-ID: <201009231004.21559.jmc-freebsd2@milibyte.co.uk> On Thursday 23 September 2010, Andrea Venturoli wrote: > After years of KDE3 I tried KDE4 and switched back in half a day. > I found it crawling slowly, with continuous crashes, rendering bugs > and missing features... > > Of course, YMMV. That's very similar to my experience too but I'm getting the feeling that I might have to move over to KDE4 before much longer due to reduced KDE3 support with some of the apps: 1) There's a problem with gnupg > 2.0.9 and Kgpg with KDE 3.5 which prevents kgpg parsing the keyring . Apparently the code is totally different from what is in KDE4 and is scattered over several places so fixing this for KDE3 will (understandably) not be done. I've stuck with gnupg-2.0.9_3 which is still working OK but the recent removal of libassuan-1 causes a problem if I ever need to rebuild gnupg-2.0.9_3 2) kaffeine-1.0_1 now depends on some KDE4 libraries, I suspect other apps will follow in due course with the result that I'll start to see more bloat and potential conflicts. When I first tried KDE4 it was much slower than KDE3, have things improved sufficiently since then for me to think about upgrading? -- Mike Clarke From freebsdmail at gmx.de Thu Sep 23 10:15:56 2010 From: freebsdmail at gmx.de (Philipp Lengemann) Date: Thu Sep 23 10:15:59 2010 Subject: migrate system disk In-Reply-To: <447149.36059.qm@web30808.mail.mud.yahoo.com> References: <447149.36059.qm@web30808.mail.mud.yahoo.com> Message-ID: <20100923114915.6de48bbc@kerberos.hades> Am Wed, 22 Sep 2010 08:06:13 -0700 (PDT) schrieb D?nielisz L?szl? : > Hello, > > I have an old HDD which should be replaced soon, actually that HDD > stands as my system disk, what is your suggesion, how should I > migrate the FreeBSD 8.1 from the old disk to the new one? > > thank you! > Laszlo Have a look at recoverdisk(1). This should satisfy most your needs. Regards. From dick at nagual.nl Thu Sep 23 10:58:00 2010 From: dick at nagual.nl (Dick Hoogendijk) Date: Thu Sep 23 10:58:03 2010 Subject: The nightmarish problem of installing a printer In-Reply-To: <4C9A5A70.2020201@infracaninophile.co.uk> References: <4C9A5339.80200@nagual.nl> <4C9A5A70.2020201@infracaninophile.co.uk> Message-ID: <4C9B2F2C.8050202@nagual.nl> On 22-9-2010 21:35, Matthew Seaman wrote: > On 22/09/2010 20:04:25, Dick Hoogendijk wrote: >> You're certainly not the only one liking CUPS. I long hesitated to use >> it, but once I'd decided to do so, I wouldn't go back to lpr. No way. >> It's very easy to set up and does a great job. CUPS is OK but most >> FreeBSD people don't seem to think so. I don't get it. > CUPS is really nice *when it works*. If you're lucky and have managed > to buy the right sort of printer hardware, and the Gods are smiling upon > you, then CUPS will serve you well. The list of supported hardware is very very long, so this part shouldn't be so hard. > On the other hand, when CUPS is bad, it is truly awful. Excessively > hard to debug; impossible to fix without Guru-level powers. One of > those "No user serviceable parts inside" sort of things. This might be true. I guess this is a valid reason not to use it if you want to be able to debug things yourself _AND_ if you are a code guru. > CUPS works brilliantly when I plug my printer's USB cable directly into > my Mac. But I've never yet managed to print to exactly the same printer > via CUPS when it is plugged into my FreeBSD server. Hmm, strange. CUPS works very well when I use a linux server, but it also works very well on my main server, now running OpenSolaris-b134. I would not want to be offensive, but could it be something inside the FreeBSD code that makes it harder to function w/ CUPS? It really is a pity, because it really is very easy to set printers up _AND_ share them over you LAN at the same time. From mexas at bristol.ac.uk Thu Sep 23 11:19:07 2010 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Sep 23 11:19:11 2010 Subject: rebuilding world - is "chflags -R noschg *" necessary? Message-ID: <20100923110216.GA1861@mech-cluster241.men.bris.ac.uk> The fbsd manual states in section 24.7 Rebuilding "world": http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html in subsection 24.7.6 Remove /usr/obj *quote* Some files below /usr/obj may have the immutable flag set (see chflags(1) for more information) which must be removed first. # cd /usr/obj # chflags -R noschg * *end quote* I've never seen a file under /usr/obj/ with immutable flag set. Why would there be object files with immutable flag set? Is this step really necessary? many thanks anton -- 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 judmarc at fastmail.fm Thu Sep 23 11:33:52 2010 From: judmarc at fastmail.fm (Jud) Date: Thu Sep 23 11:34:27 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> Message-ID: <1285241631.23503.1396491155@webmail.messagingengine.com> On Wed, 22 Sep 2010 21:57 -0600, "Warren Block" wrote: > On Wed, 22 Sep 2010, Jorge Biquez wrote: > > > I was wondering if you can tell suggest me based on yoru experience on what > > path to follow? KDE? any other? > > The Handbook covers setting up the three major desktop environments in > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html. > > You don't have to choose one of those, there are lots of varied window > managers, and advocates for each. There's an overview here on fd.o: > http://www.freedesktop.org/wiki/Desktops. Many of those are in ports. > > > I would like to test what you suggest is the best for you and if possible > > that it is not TOO complicated to setup. The idea is to use it as my desktop > > plattfor (documents, browser, email, etc) > > Personally, I currently use xfce as "lighter" than the other members of > the big three, while still offering the features I want. But it really > is very subjective. For various purposes, I've used GNOME, KDE, icewm, > fluxbox, blackbox, and others. Ports make these all pretty easy to > install. +1 for xfce as not requiring quite so much stuff to be installed as GNOME and KDE, but still having what I need. I also like the xfce Terminal. (Have used GNOME, seems fine to me; haven't tried KDE.) If you want to go really lightweight, fluxbox and blackbox, which I've used and liked, have already been mentioned. I haven't had any problem running GNOME on not-the-latest hardware (Athlon XP CPU, Nvidia 7600 AGP GPU), so if yours is equivalent or newer, I don't know that performance will be a concern for any of the desktops. At that point it's just what feels most natural - what makes your most frequently-used apps and utilities quickly available to you, what interface seems easiest to work with, etc. Jud -- "I'd take the awe of understanding over the awe of ignorance any day." - Douglas Adams From reko.turja at liukuma.net Thu Sep 23 12:05:55 2010 From: reko.turja at liukuma.net (Reko Turja) Date: Thu Sep 23 12:06:38 2010 Subject: CYRUS IMAP cyradm core dump problem In-Reply-To: <211f17580cb0ee7e5fac2831faf33e90.squirrel@hal.psst.com.au> References: <000f01cb5a27$4823a0f0$d86ae2d0$@com.au> <211f17580cb0ee7e5fac2831faf33e90.squirrel@hal.psst.com.au> Message-ID: > I applied the patch as suggested by Reko, but it seemed to make no > difference After the patch recompiling and linking at least SASL is needed after buildworld and inatallation of new world. > removing libgssapiv2 libs however, solved my cyradm problem > > will this cause issues into the future for any other ports I may > need ti > install ? Unless you need kerberos authentication at some point, removing the libs is non-issue. -Reko From freebsd at edvax.de Thu Sep 23 14:02:39 2010 From: freebsd at edvax.de (Polytropon) Date: Thu Sep 23 14:02:45 2010 Subject: GUI Suggested? In-Reply-To: <3368057398-783131724@intranet.com.mx> References: <3368057398-783131724@intranet.com.mx> Message-ID: <20100923160236.dbd09e57.freebsd@edvax.de> On Wed, 22 Sep 2010 22:29:38 -0500, Jorge Biquez wrote: > I was wondering if you can tell suggest me based on yoru experience > on what path to follow? KDE? any other? For many years now, I am happily using WindowMaker as my main desktop. It can be configured easily and does STAY OUT OF YOUR WAY, means it SUPPORTS you with the actions you intendedly want to take, so you can do whatever you want instead of messing with the window manager. It's also very lightweight. I've also tried tiling window managers, but their magic sadly didn't open up to me. Another lightweight, allthough "obsolete" (but still powerful) GUI is XFCE. When I write XFCE, I mean XFCE version 3. If I would mean Xfce 4, I would write Xfce. :-) A highly customizable and "still" quite professional environment is fvwm2. You can add as much stuff as you like, but you can also switch off all annoying things. > I would like to test what you suggest is the best for you and if > possible that it is not TOO complicated to setup. The idea is to use > it as my desktop plattfor (documents, browser, email, etc) I still have a 300 MHz P2 with XFCE 3 that does *ALL* you just mentioned, and it does it fine. Keep in mind that your choice of window manager (or even full desktop environment) may depend on which applications you're using. For example, if you find KDE's applications best, you will probably want to use them with KDE, allthough you could also use them with Gnome, or even with WindowMaker (as I sometimes do for the two KDE programs I occassionally have to use). On the other hand, if the Gnome set of applications fits your needs better, go with Gnome. Internationalisation and language support can also be a thing to consider. In the past, I was often disappointed with KDE's sloppy and missing translations; as a German, I tried the german variant, but found that it is not very well supported - that was in KDE 3, maybe KDE 4 is better. Gnome in fact *had* a much better german language support. Finally, I switched all back to english (except OpenOffice) because the NATIVE language of the system and the applications is better than anything else. Finally, choosing a GUI may really be a "trial & error" path. And if your need change, your choice may change, too. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Thu Sep 23 14:10:12 2010 From: freebsd at edvax.de (Polytropon) Date: Thu Sep 23 14:10:15 2010 Subject: rebuilding world - is "chflags -R noschg *" necessary? In-Reply-To: <20100923110216.GA1861@mech-cluster241.men.bris.ac.uk> References: <20100923110216.GA1861@mech-cluster241.men.bris.ac.uk> Message-ID: <20100923161009.026d950c.freebsd@edvax.de> On Thu, 23 Sep 2010 12:02:17 +0100, Anton Shterenlikht wrote: > I've never seen a file under /usr/obj/ with immutable flag set. I think it was a directory called empty/ that couldn't be removed unless the flag was unset. This makes this step neccessary when you rm -rf /usr/obj the object subtree. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at qeng-ho.org Thu Sep 23 14:42:40 2010 From: freebsd at qeng-ho.org (Arthur Chance) Date: Thu Sep 23 14:42:43 2010 Subject: rebuilding world - is "chflags -R noschg *" necessary? In-Reply-To: <20100923161009.026d950c.freebsd@edvax.de> References: <20100923110216.GA1861@mech-cluster241.men.bris.ac.uk> <20100923161009.026d950c.freebsd@edvax.de> Message-ID: <4C9B675D.7070500@qeng-ho.org> On 09/23/10 15:10, Polytropon wrote: > On Thu, 23 Sep 2010 12:02:17 +0100, Anton Shterenlikht wrote: >> I've never seen a file under /usr/obj/ with immutable flag set. > > I think it was a directory called empty/ that couldn't be removed > unless the flag was unset. This makes this step neccessary when > you rm -rf /usr/obj the object subtree. I think you're thinking of /var/empty, not something under /usr/obj. On my machine find fails to find anything immutable under /usr/obj. From l.messner at physik.tu-berlin.de Thu Sep 23 14:54:38 2010 From: l.messner at physik.tu-berlin.de (Leon =?iso-8859-15?Q?Me=DFner?=) Date: Thu Sep 23 14:54:40 2010 Subject: Does this look reasonable (y/n)? Message-ID: <20100923145434.GN15702@emmi.physik-pool.tu-berlin.de> Hello, i have quite a common question i think but my google skills didn't bring up anything decent. If you use binary freebsd-update to upgrade between major releases it starts comparing config files at some point. After the manual merges it start's "automerge" and asks you: Does this look reasonable (y/n)? for every file. If you answer n freebsd-update bails out (after working for like ages getting patches/files etc.) So wouldn't it be nice to give the user a chance to resolve the merge or at least ask if the user really wants to quit the upgrade. Am i missing something here? regards, leon From sterling at camdensoftware.com Thu Sep 23 15:20:29 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Thu Sep 23 15:20:35 2010 Subject: GUI Suggested? In-Reply-To: <3368057398-783131724@intranet.com.mx> References: <3368057398-783131724@intranet.com.mx> Message-ID: <20100923152023.GA14903@libertas.local.camdensoftware.com> Quoth Jorge Biquez on Wednesday, 22 September 2010: > Hello all. > > In all these years I have been working with FreeBSd under > terminal/shell mode. Since all my needs to solve have been solved > that way I have never tried any graphical interface. > > I was wondering if you can tell suggest me based on yoru experience > on what path to follow? KDE? any other? > > I would like to test what you suggest is the best for you and if > possible that it is not TOO complicated to setup. The idea is to use > it as my desktop plattfor (documents, browser, email, etc) > > Thanks in advance > > Jorge Biquez > > _______________________________________________ > 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 trying a few different WMs, I settled on xmonad. It's minimalist -- meaning it stays out of your way. It's also highly configurable, in Haskell. It's lightweight and fast. It's a developer's WM. I haven't been at all attracted to the various desktop managers: KDE, GNOME, etc. What do you get for all that weight? -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100923/a02e316c/attachment.pgp From repcsike at gmail.com Thu Sep 23 15:44:15 2010 From: repcsike at gmail.com (=?ISO-8859-1?B?QmFs4XpzIE3hdOlmZnk=?=) Date: Thu Sep 23 15:44:18 2010 Subject: rebuilding world - is "chflags -R noschg *" necessary? In-Reply-To: <4C9B675D.7070500@qeng-ho.org> References: <20100923110216.GA1861@mech-cluster241.men.bris.ac.uk> <20100923161009.026d950c.freebsd@edvax.de> <4C9B675D.7070500@qeng-ho.org> Message-ID: Hello! Anton is right, really the handbook says that it MAY contain, so it's not necessary that after every build there will be some files with the immutable flag. OFF: Long long time ago one night when I was playing with jails (to be exact I was building and making work my first jail by hand) I got to know this little thing known as immutable, after building a jail, and after #&@$ing it up (sry :)) I could not delete it. It was a funny discovery I remember I was new to FBSD and unix in general:). ON: I think maybe in older releases the build process may have used the immutable flag at build??, but the test machine I tried, started out as maybe 5.2, and I never had this issue once. Now I'm at 8.1-REL. After you make installworld you get some files immutable, check this: # cd /usr/src/ # make installworld DESTDIR=/usr/home/testworld/ # cd /usr/home/testworld # find . -xdev -flags +schg -exec ls -la {} \; -r-sr-xr-x 1 root wheel 18584 Sep 23 16:54 ./bin/rcp -r--r--r-- 1 root wheel 1150968 Sep 23 16:53 ./lib/libc.so.7 -r--r--r-- 1 root wheel 32104 Sep 23 16:53 ./lib/libcrypt.so.5 -r--r--r-- 1 root wheel 76412 Sep 23 16:54 ./lib/libthr.so.3 -r-xr-xr-x 1 root wheel 220596 Sep 23 16:54 ./libexec/ld-elf.so.1 -r-xr-xr-x 1 root wheel 663616 Sep 23 16:55 ./sbin/init -r-sr-xr-x 6 root wheel 18588 Sep 23 16:56 ./usr/bin/chpass -r-sr-xr-x 6 root wheel 18588 Sep 23 16:56 ./usr/bin/chfn -r-sr-xr-x 6 root wheel 18588 Sep 23 16:56 ./usr/bin/chsh -r-sr-xr-x 6 root wheel 18588 Sep 23 16:56 ./usr/bin/ypchpass -r-sr-xr-x 6 root wheel 18588 Sep 23 16:56 ./usr/bin/ypchfn -r-sr-xr-x 6 root wheel 18588 Sep 23 16:56 ./usr/bin/ypchsh -r-sr-xr-x 1 root wheel 21836 Sep 23 16:56 ./usr/bin/login -r-sr-xr-x 1 root wheel 4792 Sep 23 16:56 ./usr/bin/opieinfo -r-sr-xr-x 1 root wheel 11868 Sep 23 16:56 ./usr/bin/opiepasswd -r-sr-xr-x 2 root wheel 6160 Sep 23 16:56 ./usr/bin/passwd -r-sr-xr-x 2 root wheel 6160 Sep 23 16:56 ./usr/bin/yppasswd -r-sr-xr-x 1 root wheel 11244 Sep 23 16:56 ./usr/bin/rlogin -r-sr-xr-x 1 root wheel 8896 Sep 23 16:56 ./usr/bin/rsh -r-sr-xr-x 1 root wheel 14500 Sep 23 16:56 ./usr/bin/su -r-sr-xr-x 1 root wheel 27044 Sep 23 16:56 ./usr/bin/crontab -r--r--r-- 1 root wheel 16604 Sep 23 16:54 ./usr/lib/librt.so.1 total 4 dr-xr-xr-x 2 root wheel 512 Sep 23 16:53 . drwxr-xr-x 22 root wheel 512 Sep 23 16:53 .. # rm -rf testworld/ rm: testworld/bin/rcp: Operation not permitted rm: testworld/bin: Directory not empty rm: testworld/lib/libc.so.7: Operation not permitted rm: testworld/lib/libcrypt.so.5: Operation not permitted rm: testworld/lib/libthr.so.3: Operation not permitted rm: testworld/lib: Directory not empty rm: testworld/libexec/ld-elf.so.1: Operation not permitted rm: testworld/libexec: Directory not empty rm: testworld/sbin/init: Operation not permitted and so on... Anton if you wanna be sure just do it, or test it with the version you are using, but I don't think you will find any immutable files in /usr/obj /usr/obj]# find . -flags +schg -exec ls -la {} \; /usr/obj]# Sorry if this was a bit long, but I hope it helpded! Regards, Balazs. On 23 September 2010 16:42, Arthur Chance wrote: > On 09/23/10 15:10, Polytropon wrote: > >> On Thu, 23 Sep 2010 12:02:17 +0100, Anton Shterenlikht< >> mexas@bristol.ac.uk> wrote: >> >>> I've never seen a file under /usr/obj/ with immutable flag set. >>> >> >> I think it was a directory called empty/ that couldn't be removed >> unless the flag was unset. This makes this step neccessary when >> you rm -rf /usr/obj the object subtree. >> > > I think you're thinking of /var/empty, not something under /usr/obj. On my > machine find fails to find anything immutable under /usr/obj. > > _______________________________________________ > 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 mexas at bristol.ac.uk Thu Sep 23 15:56:52 2010 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Sep 23 15:56:56 2010 Subject: rebuilding world - is "chflags -R noschg *" necessary? In-Reply-To: References: <20100923110216.GA1861@mech-cluster241.men.bris.ac.uk> <20100923161009.026d950c.freebsd@edvax.de> <4C9B675D.7070500@qeng-ho.org> Message-ID: <20100923155649.GA52798@mech-cluster241.men.bris.ac.uk> On Thu, Sep 23, 2010 at 05:17:40PM +0200, Bal?zs M?t?ffy wrote: > > I think maybe in older releases the build process may have used the > immutable flag at build??, but the test machine I tried, started out as > maybe 5.2, and I never had this issue once. *skip* > Anton if you wanna be sure just do it, or test it with the version you are > using, but I don't think you will find any immutable files in /usr/obj I'm thinking about updating the handbook on this issue. So I was hoping to hear a definite answer that there will not be any files under /usr/obj/ with immutable flags. I can't see a need for immutable flag for obj files, but I have been wrong before.. thanks anton -- 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 perrin at apotheon.com Thu Sep 23 16:11:49 2010 From: perrin at apotheon.com (Chad Perrin) Date: Thu Sep 23 16:11:53 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> Message-ID: <20100923160745.GA18043@guilt.hydra> On Wed, Sep 22, 2010 at 09:57:46PM -0600, Warren Block wrote: > > You don't have to choose one of those, there are lots of varied window > managers, and advocates for each. There's an overview here on fd.o: > http://www.freedesktop.org/wiki/Desktops. Many of those are in ports. That's a much shorter list than I would have expected to find. This offers an incomplete (but longer) list of window managers, all of which are copyfree licensed: http://copyfree.org/software/#WM What I have been using for a few years is actually first in alphabetical order there -- AHWM. It is quite minimal and fast, with great keyboard shortcut support (a necessity, given that it's intended to be primarily keyboard driven). A much more comprehensive list of window managers is the Comprehensive List of Window Managers for Unix: http://www.gilesorr.com/wm/table.html KDE, GNOME, and XFCE are more than window managers -- they are "desktop environments". Some people like that kind of bloat . . . err, I mean "that kind of feature-richness". Other examples include GNUstep (which uses WindowMaker as its default window manager) and Enlightenment. If I *had* to choose a complete DE, rather than just a window manager, I'd probably go with Enlightenment. Since I don't have to, though, I stick with something *truly* lightweight like AHWM. Your mileage may vary, of course. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100923/be9479b5/attachment.pgp From amvandemore at gmail.com Thu Sep 23 16:22:23 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Thu Sep 23 16:22:27 2010 Subject: GUI Suggested? In-Reply-To: <201009231004.21559.jmc-freebsd2@milibyte.co.uk> References: <3368057398-783131724@intranet.com.mx> <4C9B03DB.6000806@netfence.it> <201009231004.21559.jmc-freebsd2@milibyte.co.uk> Message-ID: On Thu, Sep 23, 2010 at 4:04 AM, Mike Clarke wrote: > When I first tried KDE4 it was much slower than KDE3, have things > improved sufficiently since then for me to think about upgrading? > If you tried on KDE 4.1, 4.2, then yes things have improved a lot. 4.3 was pretty big update in terms of stability, and 4.4 has been far more solid than not. All the base KDE apps seem to work appropriately, at least the ones I use. However in my use while KDE4 was unstable early, it was always faster than 3 at least when an app wasn't hung ;). Also for me, I went back and forth between 3 and 4 several times before finally sticking with 4. The UI does take some getting used too. Perhaps another part of the stability question is I don't turn on any of the fancy eye-candy effects. I don't use KDE because of the way it looks, I use it because it allows me to work in a efficient manner. -- Adam Vande More From cwhiteh at onetel.com Thu Sep 23 16:52:59 2010 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Thu Sep 23 16:53:03 2010 Subject: which perl? Message-ID: <4C9B8360.6090100@onetel.com> Hi, Todays ports tree has lang/perl5.10 and lang/perl5.12. A new 8.1-RELEASE jail in tinderbox using this ports tree is using perl5.10 by default. Should I leave this as is or should I be using 5.12? This is for a home desktop. eco# uname -a FreeBSD eco.config 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 thanks Chris From jmc-freebsd2 at milibyte.co.uk Thu Sep 23 17:21:09 2010 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Thu Sep 23 17:21:13 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> <201009231004.21559.jmc-freebsd2@milibyte.co.uk> Message-ID: <201009231751.51099.jmc-freebsd2@milibyte.co.uk> On Thursday 23 September 2010, Adam Vande More wrote: > If you tried on KDE 4.1, 4.2, then yes things have improved a lot. > ?4.3 was pretty big update in terms of stability, and 4.4 has been > far more solid than not. ?All the base KDE apps seem to work > appropriately, at least the ones I use. ?However in my use while KDE4 > was unstable early, it was always faster than 3 at least when an app > wasn't hung ;). ?Also for me, I went back and forth between 3 and 4 > several times before finally sticking with 4. ?The UI does take some > getting used too. I think the version I tried was 4.3.1 so it looks like it might be worth giving 4.4 a try on my spare partition. My other problem with upgrading KDE is that I'd like to run both versions for a while until I'm happy, dual booting into one of 2 different FreeBSD systems but using the same /home partition. KMail seems to use different directories for storing mail for versions 3 and 4 so how do I go about being able to access all my mail from both systems? -- Mike Clarke From ait at p2ee.org Thu Sep 23 17:46:23 2010 From: ait at p2ee.org (Alejandro Imass) Date: Thu Sep 23 17:46:27 2010 Subject: which perl? In-Reply-To: <4C9B8360.6090100@onetel.com> References: <4C9B8360.6090100@onetel.com> Message-ID: On Thu, Sep 23, 2010 at 12:42 PM, Chris Whitehouse wrote: > Hi, > > Todays ports tree has lang/perl5.10 and lang/perl5.12. A new 8.1-RELEASE > jail in tinderbox using this ports tree is using perl5.10 by default. Should > I leave this as is or should I be using 5.12? > IMHO 5.10 is new enough! But the great thing about the Perl community is that it usually respects previous versions not like some other crazy, irresponsible "communities" such as PHP who can break your code from 5.2 to 5.3. > This is for a home desktop. > > eco# uname -a > FreeBSD eco.config 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 > UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC ?i386 > > > thanks > > Chris > _______________________________________________ > 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 nealhogan at gmail.com Thu Sep 23 17:48:45 2010 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Sep 23 17:48:49 2010 Subject: GUI Suggested? In-Reply-To: <20100923152023.GA14903@libertas.local.camdensoftware.com> References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> Message-ID: On Thu, Sep 23, 2010 at 10:20 AM, Chip Camden wrote: > Quoth Jorge Biquez on Wednesday, 22 September 2010: >> Hello all. >> >> In all these years I have been working with FreeBSd under >> terminal/shell mode. Since all my needs to solve have been solved >> that way I have never tried any graphical interface. >> >> I was wondering if you can tell suggest me based on yoru experience >> on what path to follow? KDE? any other? >> >> I would like to test what you suggest is the best for you and if >> possible that it is not TOO complicated to setup. The idea is to use >> it as my desktop plattfor (documents, browser, email, etc) >> >> Thanks in advance >> >> Jorge Biquez >> >> _______________________________________________ >> 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 trying a few different WMs, I settled on xmonad. ?It's minimalist > -- meaning it stays out of your way. ?It's also highly configurable, in > Haskell. ?It's lightweight and fast. ?It's a developer's WM. > If you like xmonad, check out scrotwm. It's inspired by xmonad, lightweight, written in C by oBSD dev, actively maintained, and vim-like (among other things ;-). From ulrich at pukruppa.de Thu Sep 23 17:49:38 2010 From: ulrich at pukruppa.de (Peter Ulrich Kruppa) Date: Thu Sep 23 17:49:42 2010 Subject: which perl? In-Reply-To: <4C9B8360.6090100@onetel.com> References: <4C9B8360.6090100@onetel.com> Message-ID: On Thu, 23 Sep 2010, Chris Whitehouse wrote: > Hi, > > Todays ports tree has lang/perl5.10 and lang/perl5.12. A new 8.1-RELEASE jail > in tinderbox using this ports tree is using perl5.10 by default. Should I > leave this as is or should I be using 5.12? > > This is for a home desktop. > > eco# uname -a > FreeBSD eco.config 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 > UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > Of course you never know, but on my Desktop I have got 390 ports depending on perl5.12 and everything seems to work. Greetings Uli. > > thanks > > Chris > _______________________________________________ > 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" > | Peter Ulrich Kruppa | Wuppertal | Germany From freebsd-announce at chthonic.com Thu Sep 23 18:01:56 2010 From: freebsd-announce at chthonic.com (J. Altman) Date: Thu Sep 23 18:02:00 2010 Subject: Python 2 and Python 3 Message-ID: <20100923172930.GA12324@SDF.LONESTAR.ORG> Greetings... uname -a: FreeBSD whisperer.chthonixia.net 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Mon Sep 20 13:09:28 EDT 2010 root@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER amd64 I am interested in installing Python 3 to follow examples in a beginner's programming book. I found this: ======================== http://forums.freebsd.org/showthread.php?t=17423 September 1st, 2010, 12:49 I have python 2.5, 2.6 and 3.1 installed. Python 2.6 is the default now I believe so you should not need to do anything special. To be safe you can edit make.conf to contain the following Code: PYTHON_VERSION=2.6 PYTHON_DEFAULT_VERSION=2.6 ==================================== As I understand it, the entry into make.conf should keep me from breaking python-related things in the base or ports; yet allow me to call the version I want at the command line or via IDLE. Then, when Python is upgraded, I should change the make.conf entry to 2.7, or whatever it becomes. Is there any other recommendation(s) this list might offer? I don't have any major goals beyond those of a self-taught beginner, if that makes sense. Please feel free to Cc: me, as I am not subscribed to the list. Thanks for your time, and best regards, Joe From sterling at camdensoftware.com Thu Sep 23 18:04:03 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Thu Sep 23 18:04:08 2010 Subject: which perl? In-Reply-To: References: <4C9B8360.6090100@onetel.com> Message-ID: <20100923180358.GB14903@libertas.local.camdensoftware.com> Quoth Peter Ulrich Kruppa on Thursday, 23 September 2010: > On Thu, 23 Sep 2010, Chris Whitehouse wrote: > > >Hi, > > > >Todays ports tree has lang/perl5.10 and lang/perl5.12. A new 8.1-RELEASE > >jail in tinderbox using this ports tree is using perl5.10 by default. > >Should I leave this as is or should I be using 5.12? > > > >This is for a home desktop. > > > >eco# uname -a > >FreeBSD eco.config 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 > >UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > > Of course you never know, but on my Desktop I have got 390 ports > depending on perl5.12 and everything seems to work. > > Greetings > > Uli. > Ditto here. 220 dependent ports, no troubles. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100923/f0f9a1df/attachment.pgp From leif.walsh at gmail.com Thu Sep 23 18:23:30 2010 From: leif.walsh at gmail.com (Leif Walsh) Date: Thu Sep 23 18:23:35 2010 Subject: Linux filesystems accessible from FreeBSD 8-stable? Message-ID: I can't seem to get a definitive answer on this from the internet, there's a lot of conflicting information. I have some data drives formatted with ext4, which I'd like to access from freebsd, preferably without totally reformatting because I don't have much temp space for copying. Read-only would be fine, read-write would be much preferred. Is this possible? Am I missing the big "ext4 drivers in freebsd/fuse/something" sign? Does anyone happen to know if it's possible to migrate an ext4 drive back to ext3, which it seems I can access from bsd if I let it pretend the journal doesn't exist? -- Cheers, Leif From sterling at camdensoftware.com Thu Sep 23 18:28:45 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Thu Sep 23 18:28:49 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> Message-ID: <20100923182839.GC14903@libertas.local.camdensoftware.com> Quoth Neal Hogan on Thursday, 23 September 2010: > On Thu, Sep 23, 2010 at 10:20 AM, Chip Camden > wrote: > > Quoth Jorge Biquez on Wednesday, 22 September 2010: > >> Hello all. > >> > >> In all these years I have been working with FreeBSd under > >> terminal/shell mode. Since all my needs to solve have been solved > >> that way I have never tried any graphical interface. > >> > >> I was wondering if you can tell suggest me based on yoru experience > >> on what path to follow? KDE? any other? > >> > >> I would like to test what you suggest is the best for you and if > >> possible that it is not TOO complicated to setup. The idea is to use > >> it as my desktop plattfor (documents, browser, email, etc) > >> > >> Thanks in advance > >> > >> Jorge Biquez > >> > >> _______________________________________________ > >> 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 trying a few different WMs, I settled on xmonad. ?It's minimalist > > -- meaning it stays out of your way. ?It's also highly configurable, in > > Haskell. ?It's lightweight and fast. ?It's a developer's WM. > > > > If you like xmonad, check out scrotwm. It's inspired by xmonad, > lightweight, written in C by oBSD dev, actively maintained, and > vim-like (among other things ;-). > _______________________________________________ > 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" scrotwm does look interesting -- I read through the man page, but couldn't find a way to specify that certain windows should be moved by default to specific workspaces. Can that be done? -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100923/28b006a7/attachment.pgp From nealhogan at gmail.com Thu Sep 23 18:38:41 2010 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Sep 23 18:38:47 2010 Subject: GUI Suggested? In-Reply-To: <20100923182839.GC14903@libertas.local.camdensoftware.com> References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100923182839.GC14903@libertas.local.camdensoftware.com> Message-ID: On Thu, Sep 23, 2010 at 1:28 PM, Chip Camden wrote: > Quoth Neal Hogan on Thursday, 23 September 2010: >> On Thu, Sep 23, 2010 at 10:20 AM, Chip Camden >> wrote: >> > Quoth Jorge Biquez on Wednesday, 22 September 2010: >> >> Hello all. >> >> >> >> In all these years I have been working with FreeBSd under >> >> terminal/shell mode. Since all my needs to solve have been solved >> >> that way I have never tried any graphical interface. >> >> >> >> I was wondering if you can tell suggest me based on yoru experience >> >> on what path to follow? KDE? any other? >> >> >> >> I would like to test what you suggest is the best for you and if >> >> possible that it is not TOO complicated to setup. The idea is to use >> >> it as my desktop plattfor (documents, browser, email, etc) >> >> >> >> Thanks in advance >> >> >> >> Jorge Biquez >> >> >> >> _______________________________________________ >> >> 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 trying a few different WMs, I settled on xmonad. ?It's minimalist >> > -- meaning it stays out of your way. ?It's also highly configurable, in >> > Haskell. ?It's lightweight and fast. ?It's a developer's WM. >> > >> >> If you like xmonad, check out scrotwm. It's inspired by xmonad, >> lightweight, written in C by oBSD dev, actively maintained, and >> vim-like (among other things ;-). >> _______________________________________________ >> 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" > > scrotwm does look interesting -- I read through the man page, but > couldn't find a way to specify that certain windows should be moved by > default to specific workspaces. ?Can that be done? > I'm not too sure what you're asking "certain window should be moved by default to specific workspaces." Since you read the man page I'm guessing you're not talking about changing which xterm is in focus. Focus moves by defualt to each new tem that you open (alt-shift-return). Maybe www.scrotwm.org will help. From sterling at camdensoftware.com Thu Sep 23 19:04:37 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Thu Sep 23 19:04:41 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100923182839.GC14903@libertas.local.camdensoftware.com> Message-ID: <20100923190431.GD14903@libertas.local.camdensoftware.com> Quoth Neal Hogan on Thursday, 23 September 2010: > On Thu, Sep 23, 2010 at 1:28 PM, Chip Camden > wrote: > > Quoth Neal Hogan on Thursday, 23 September 2010: > >> On Thu, Sep 23, 2010 at 10:20 AM, Chip Camden > >> wrote: > >> > Quoth Jorge Biquez on Wednesday, 22 September 2010: > >> >> Hello all. > >> >> > >> >> In all these years I have been working with FreeBSd under > >> >> terminal/shell mode. Since all my needs to solve have been solved > >> >> that way I have never tried any graphical interface. > >> >> > >> >> I was wondering if you can tell suggest me based on yoru experience > >> >> on what path to follow? KDE? any other? > >> >> > >> >> I would like to test what you suggest is the best for you and if > >> >> possible that it is not TOO complicated to setup. The idea is to use > >> >> it as my desktop plattfor (documents, browser, email, etc) > >> >> > >> >> Thanks in advance > >> >> > >> >> Jorge Biquez > >> >> > >> >> _______________________________________________ > >> >> 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 trying a few different WMs, I settled on xmonad. ?It's minimalist > >> > -- meaning it stays out of your way. ?It's also highly configurable, in > >> > Haskell. ?It's lightweight and fast. ?It's a developer's WM. > >> > > >> > >> If you like xmonad, check out scrotwm. It's inspired by xmonad, > >> lightweight, written in C by oBSD dev, actively maintained, and > >> vim-like (among other things ;-). > >> _______________________________________________ > >> 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" > > > > scrotwm does look interesting -- I read through the man page, but > > couldn't find a way to specify that certain windows should be moved by > > default to specific workspaces. ?Can that be done? > > > > I'm not too sure what you're asking "certain window should be moved by > default to specific workspaces." Since you read the man page I'm > guessing you're not talking about changing which xterm is in focus. > Focus moves by defualt to each new tem that you open > (alt-shift-return). > > Maybe www.scrotwm.org will help. > _______________________________________________ Nope. The wiki doesn't present anything either. What I mean is for example when I launch Firefox, I want it to go to workspace 3. When I launch gimp, I want it on workspace 7. I can easily specify that in xmonad, using either the window class or window title. I don't want to have to move all these windows where I want them every time I log in. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100923/d3f39ace/attachment.pgp From lconrad at Go2France.com Thu Sep 23 19:09:14 2010 From: lconrad at Go2France.com (Len Conrad) Date: Thu Sep 23 19:09:20 2010 Subject: amr intermittant failures Message-ID: <201009232109.AA205456040@mail.Go2France.com> uname -a FreeBSD mx6 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 dmesg.boot: amr0: mem 0xf80f0000-0xf80fffff,0xfe9e0000-0xfe9fffff irq 46 at device 14.0 on pci2 amr0: Using 64-bit DMA amr0: [ITHREAD] amr0: delete logical drives supported by controller amr0: Firmware 522A, BIOS H430, 256MB RAM errors: Sep 21 18:01:32 mx6 kernel: amr0: Too many retries on command 0xfffffffe80229fc8. Controller is likely dead Sep 21 21:51:32 mx6 kernel: amr0: Too many retries on command 0xfffffffe80229970. Controller is likely dead Sep 22 00:36:31 mx6 kernel: amr0: Too many retries on command 0xfffffffe802201e0. Controller is likely dead Sep 22 03:01:36 mx6 kernel: amr0: Too many retries on command 0xfffffffe80229b40. Controller is likely dead Sep 22 03:02:25 mx6 kernel: amr0: Too many retries on command 0xfffffffe80228af0. Controller is likely dead Sep 22 03:05:54 mx6 kernel: amr0: Too many retries on command 0xfffffffe80228838. Controller is likely dead Sep 22 09:36:29 mx6 kernel: amr0: Too many retries on command 0xfffffffe80226d60. Controller is likely dead Sep 22 09:41:29 mx6 kernel: amr0: Too many retries on command 0xfffffffe8022a7f0. Controller is likely dead Sep 22 10:11:29 mx6 kernel: amr0: Too many retries on command 0xfffffffe80229ee0. Controller is likely dead Sep 22 10:56:29 mx6 kernel: amr0: Too many retries on command 0xfffffffe80229b40. Controller is likely dead Sep 22 11:16:29 mx6 kernel: amr0: Too many retries on command 0xfffffffe80224668. Controller is likely dead Sep 22 11:31:29 mx6 kernel: amr0: Too many retries on command 0xfffffffe80224f78. Controller is likely dead Sep 22 16:46:28 mx6 kernel: amr0: Too many retries on command 0xfffffffe80226c78. Controller is likely dead Sep 22 16:51:28 mx6 kernel: amr0: Too many retries on command 0xfffffffe80229230. Controller is likely dead Sep 22 22:01:27 mx6 kernel: amr0: Too many retries on command 0xfffffffe80227758. Controller is likely dead Sep 23 03:02:38 mx6 kernel: amr0: Too many retries on command 0xfffffffe80225400. Controller is likely dead Sep 23 03:03:42 mx6 kernel: amr0: Too many retries on command 0xfffffffe802260b0. Controller is likely dead Sep 23 03:06:05 mx6 kernel: amr0: Too many retries on command 0xfffffffe80225970. Controller is likely dead Sep 23 03:11:26 mx6 kernel: amr0: Too many retries on command 0xfffffffe802280f8. Controller is likely dead Sep 23 03:16:26 mx6 kernel: amr0: Too many retries on command 0xfffffffe80226aa8. Controller is likely dead Sep 23 04:41:26 mx6 kernel: amr0: Too many retries on command 0xfffffffe802294e8. Controller is likely dead Sep 23 09:21:25 mx6 kernel: amr0: Too many retries on command 0xfffffffe80225318. Controller is likely dead Sep 23 09:41:25 mx6 kernel: amr0: Too many retries on command 0xfffffffe80228a08. Controller is likely dea Sep 23 12:01:25 mx6 kernel: amr0: Too many retries on command 0xfffffffe802296b8. Controller is likely dead Sep 23 12:06:25 mx6 kernel: amr0: Too many retries on command 0xfffffffe802241e0. Controller is likely dead Sep 23 12:36:24 mx6 kernel: amr0: Too many retries on command 0xfffffffe802281e0. Contro Sep 23 14:06:24 mx6 kernel: amr0: Too many retries on command 0xfffffffe80228bd8. Controller is likely dead Sep 23 14:21:24 mx6 kernel: amr0: Too many retries on command 0xfffffffe80225230. Controller is likely dead these are apparently non fatal. VERY busy relay-only postfix MX boxes, two of them have the same errors. Disk is getting hit hard with postfix logging and msg queueing. Len From nealhogan at gmail.com Thu Sep 23 19:14:02 2010 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Sep 23 19:14:05 2010 Subject: GUI Suggested? In-Reply-To: <20100923190431.GD14903@libertas.local.camdensoftware.com> References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100923182839.GC14903@libertas.local.camdensoftware.com> <20100923190431.GD14903@libertas.local.camdensoftware.com> Message-ID: >On Thu, Sep 23, 2010 at 2:04 PM, Chip Camden wrote: >> Quoth Neal Hogan on Thursday, 23 September 2010: >> >> I'm not too sure what you're asking "certain window should be moved by >> default to specific workspaces." Since you read the man page I'm >> guessing you're not talking about changing which xterm is in focus. >> Focus moves by defualt to each new tem that you open >> (alt-shift-return). >> >> Maybe www.scrotwm.org will help. >> _______________________________________________ > > Nope. ?The wiki doesn't present anything either. > > What I mean is for example when I launch Firefox, I want it to go to > workspace 3. ?When I launch gimp, I want it on workspace 7. ?I can easily > specify that in xmonad, using either the window class or window title. ?I > don't want to have to move all these windows where I want them every time > I log in. > Ah . . . I see. I'm not aware af that being a feature in scrotwm. The only thing I can suggest is to join the forum and ask. Like I said, scrotwm actively maintained and the devs will (likely) respond quickly. As far as what they say, suggestions are welcome, but they have to be persuaded. Best of luck. -Neal From herbert.raimund at gmx.net Thu Sep 23 20:22:06 2010 From: herbert.raimund at gmx.net (herbert langhans) Date: Thu Sep 23 20:22:10 2010 Subject: GUI Suggested? In-Reply-To: <20100923120014.3F63710656DA@hub.freebsd.org> References: <20100923120014.3F63710656DA@hub.freebsd.org> Message-ID: <20100923195641.GB491@lynx> If you prefer terminal applications you may get happy with blackbox. Its one of the smallest, but fully functional GUIs. And it is still kosher according to Unix standards. Its my favorite, I even prefer it to fluxbox, what is a little fancier. Cheers herb langhans -- sprachtraining langhans herbert langhans, warschau herbert.raimundgmx.net http://www.langhans.com.pl +0048 603 341 441 | jabber:herbs | icq:414500866 | yahoo_im:herbert.raimund From rfarmer at predatorlabs.net Thu Sep 23 22:32:10 2010 From: rfarmer at predatorlabs.net (Rob Farmer) Date: Thu Sep 23 22:32:14 2010 Subject: rebuilding world - is "chflags -R noschg *" necessary? In-Reply-To: <20100923110216.GA1861@mech-cluster241.men.bris.ac.uk> References: <20100923110216.GA1861@mech-cluster241.men.bris.ac.uk> Message-ID: On Thu, Sep 23, 2010 at 04:02, Anton Shterenlikht wrote: > The fbsd manual states in section 24.7 Rebuilding "world": > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > > in subsection 24.7.6 Remove /usr/obj > > *quote* > Some files below /usr/obj may have the immutable flag set (see chflags(1) for more information) which must be removed first. > > # cd /usr/obj > # chflags -R noschg * > *end quote* > > I've never seen a file under /usr/obj/ with immutable flag set. > > Why would there be object files with immutable flag set? > Is this step really necessary? It will happen on amd64 if you build the lib32 bits (i386 compatibility libraries). -- Rob Farmer > > many thanks > anton > > -- > 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 illoai at gmail.com Thu Sep 23 23:51:29 2010 From: illoai at gmail.com (illoai@gmail.com) Date: Thu Sep 23 23:51:33 2010 Subject: GUI Suggested? In-Reply-To: <3368057398-783131724@intranet.com.mx> References: <3368057398-783131724@intranet.com.mx> Message-ID: On 22 September 2010 23:29, Jorge Biquez wrote: > Hello all. > > In all these years I have been working with FreeBSd under terminal/shell > mode. Since all my needs to solve have been solved that way I have never > tried any graphical interface. > > I was wondering if you can tell suggest me based on yoru experience on what > path to follow? KDE? any other? > > I would like to test what you suggest is the best for you and if possible > that it is not TOO complicated to setup. The idea is to use it as my desktop > plattfor (documents, browser, email, etc) > x11/xorg x11-wm/evilwm www/opera x11/rxvt echo "evilwm -term rxvt -bw 2 &" > ~/.xinitrc && echo "rxvt" >> ~/.xinitrc google docs seems to work okay for _most_ of the junk that gets shoved down the tubes. There is no port for it, but theoretically you can compile siag office from sources. -- -- From perrin at apotheon.com Fri Sep 24 00:35:22 2010 From: perrin at apotheon.com (Chad Perrin) Date: Fri Sep 24 00:35:26 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> Message-ID: <20100924003120.GA19235@guilt.hydra> On Thu, Sep 23, 2010 at 12:24:58PM -0500, Neal Hogan wrote: > > If you like xmonad, check out scrotwm. It's inspired by xmonad, > lightweight, written in C by oBSD dev, actively maintained, and > vim-like (among other things ;-). Why is "written in C" considered such a great benefit by the Scrotwm developer(s)? Earlier today, I read this on the site: "On the other hand xmonad has great defaults, key bindings and xinerama support but is crippled by not being written in C." What's up with that? How does Haskell "cripple" xmonad? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100924/c6903f1e/attachment.pgp From sterling at camdensoftware.com Fri Sep 24 00:57:19 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Fri Sep 24 00:57:49 2010 Subject: GUI Suggested? In-Reply-To: <20100924003120.GA19235@guilt.hydra> References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100924003120.GA19235@guilt.hydra> Message-ID: <20100924005713.GF2780@libertas.local.camdensoftware.com> Quoth Chad Perrin on Thursday, 23 September 2010: > On Thu, Sep 23, 2010 at 12:24:58PM -0500, Neal Hogan wrote: > > > > If you like xmonad, check out scrotwm. It's inspired by xmonad, > > lightweight, written in C by oBSD dev, actively maintained, and > > vim-like (among other things ;-). > > Why is "written in C" considered such a great benefit by the Scrotwm > developer(s)? Earlier today, I read this on the site: > > "On the other hand xmonad has great defaults, key bindings and > xinerama support but is crippled by not being written in C." > > What's up with that? How does Haskell "cripple" xmonad? > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] I wondered the same thing myself. Haskell is compiled, and the result is very efficient. I also wondered why the mentions about being actively maintained -- it seems to me that xmonad gets updated pretty regularly. But I'm willing to give it a look. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100924/53aaad49/attachment.pgp From glen.j.barber at gmail.com Fri Sep 24 01:01:32 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri Sep 24 01:01:35 2010 Subject: GUI Suggested? In-Reply-To: <20100924003120.GA19235@guilt.hydra> References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100924003120.GA19235@guilt.hydra> Message-ID: <4C9BF868.9000805@gmail.com> On 9/23/10 8:31 PM, Chad Perrin wrote: > On Thu, Sep 23, 2010 at 12:24:58PM -0500, Neal Hogan wrote: >> >> If you like xmonad, check out scrotwm. It's inspired by xmonad, >> lightweight, written in C by oBSD dev, actively maintained, and >> vim-like (among other things ;-). > > Why is "written in C" considered such a great benefit by the Scrotwm > developer(s)? Earlier today, I read this on the site: > > "On the other hand xmonad has great defaults, key bindings and > xinerama support but is crippled by not being written in C." > > What's up with that? How does Haskell "cripple" xmonad? > My interpretation is that if you will be compiling software for a UNIX-like system, you will probably have some variant of a C compiler already available. Read as "just build it and go" versus "just build its dependencies, then build it and go." Cheers, -- Glen Barber From nealhogan at gmail.com Fri Sep 24 02:07:29 2010 From: nealhogan at gmail.com (Neal Hogan) Date: Fri Sep 24 02:07:33 2010 Subject: GUI Suggested? In-Reply-To: <4C9BF868.9000805@gmail.com> References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100924003120.GA19235@guilt.hydra> <4C9BF868.9000805@gmail.com> Message-ID: On Thu, Sep 23, 2010 at 8:01 PM, Glen Barber wrote: > On 9/23/10 8:31 PM, Chad Perrin wrote: >> On Thu, Sep 23, 2010 at 12:24:58PM -0500, Neal Hogan wrote: >>> >>> If you like xmonad, check out scrotwm. It's inspired by xmonad, >>> lightweight, written in C by oBSD dev, actively maintained, and >>> vim-like (among other things ;-). >> >> Why is "written in C" considered such a great benefit by the Scrotwm >> developer(s)? ?Earlier today, I read this on the site: >> >> ? ? "On the other hand xmonad has great defaults, key bindings and >> ? ? xinerama support but is crippled by not being written in C." >> hahahahahahaha! >> What's up with that? ?How does Haskell "cripple" xmonad? >> In the end, you need not take yourself so seriously. The thread was generic enough to allow for some rhetorical flourish. I suggested something . . . pointed out that is written in C (as did the homepage) . . . AND you concluded some sort of insult; not my problem. Do you need a rim-shot for every joke? From nealhogan at gmail.com Fri Sep 24 02:20:35 2010 From: nealhogan at gmail.com (Neal Hogan) Date: Fri Sep 24 02:20:41 2010 Subject: GUI Suggested? In-Reply-To: <20100924005713.GF2780@libertas.local.camdensoftware.com> References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100924003120.GA19235@guilt.hydra> <20100924005713.GF2780@libertas.local.camdensoftware.com> Message-ID: On Thu, Sep 23, 2010 at 7:57 PM, Chip Camden wrote: > Quoth Chad Perrin on Thursday, 23 September 2010: >> On Thu, Sep 23, 2010 at 12:24:58PM -0500, Neal Hogan wrote: >> > >> > If you like xmonad, check out scrotwm. It's inspired by xmonad, >> > lightweight, written in C by oBSD dev, actively maintained, and >> > vim-like (among other things ;-). >> >> Why is "written in C" considered such a great benefit by the Scrotwm >> developer(s)? ?Earlier today, I read this on the site: >> >> ? ? "On the other hand xmonad has great defaults, key bindings and >> ? ? xinerama support but is crippled by not being written in C." >> >> What's up with that? ?How does Haskell "cripple" xmonad? >> >> -- >> Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > > > I wondered the same thing myself. ?Haskell is compiled, and the result is > very efficient. > > I also wondered why the mentions about being actively maintained -- it seems > to me that xmonad gets updated pretty regularly. > I only mention scrotwm's active development, not to compare it's development to xmonad's, but to point out that your issues will be taken seriously . . . in a timely manner. . . not that they won't be take seriously in the xmonad setting. Please, use xmonad if it meets your requirements. I apologise for suggesting "something." Chad P., take a pill ;-) From perrin at apotheon.com Fri Sep 24 02:53:00 2010 From: perrin at apotheon.com (Chad Perrin) Date: Fri Sep 24 02:53:02 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100924003120.GA19235@guilt.hydra> <4C9BF868.9000805@gmail.com> Message-ID: <20100924024856.GB19697@guilt.hydra> On Thu, Sep 23, 2010 at 09:07:28PM -0500, Neal Hogan wrote: > On Thu, Sep 23, 2010 at 8:01 PM, Glen Barber wrote: > > On 9/23/10 8:31 PM, Chad Perrin wrote: > >> On Thu, Sep 23, 2010 at 12:24:58PM -0500, Neal Hogan wrote: > >>> > >>> If you like xmonad, check out scrotwm. It's inspired by xmonad, > >>> lightweight, written in C by oBSD dev, actively maintained, and > >>> vim-like (among other things ;-). > >> > >> Why is "written in C" considered such a great benefit by the Scrotwm > >> developer(s)? ?Earlier today, I read this on the site: > >> > >> ? ? "On the other hand xmonad has great defaults, key bindings and > >> ? ? xinerama support but is crippled by not being written in C." > >> > > hahahahahahaha! > > >> What's up with that? ?How does Haskell "cripple" xmonad? > >> > > In the end, you need not take yourself so seriously. The thread was > generic enough to allow for some rhetorical flourish. I suggested > something . . . pointed out that is written in C (as did the homepage) > . . . AND you concluded some sort of insult; not my problem. > > Do you need a rim-shot for every joke? 1. Who said I took insult? You assume too much. 2. That was not a very clever joke, anyway. Where's the punchline? 3. That doesn't answer my question about the Scrotwm page. Even *I* am not so socially stunted as to think a comment like that on the Scrotwm site would not raise some eyebrows. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100924/620a05d7/attachment.pgp From nealhogan at gmail.com Fri Sep 24 03:06:16 2010 From: nealhogan at gmail.com (Neal Hogan) Date: Fri Sep 24 03:06:19 2010 Subject: GUI Suggested? In-Reply-To: <20100924024856.GB19697@guilt.hydra> References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100924003120.GA19235@guilt.hydra> <4C9BF868.9000805@gmail.com> <20100924024856.GB19697@guilt.hydra> Message-ID: On Thu, Sep 23, 2010 at 9:48 PM, Chad Perrin wrote: > On Thu, Sep 23, 2010 at 09:07:28PM -0500, Neal Hogan wrote: >> On Thu, Sep 23, 2010 at 8:01 PM, Glen Barber wrote: >> > On 9/23/10 8:31 PM, Chad Perrin wrote: >> >> On Thu, Sep 23, 2010 at 12:24:58PM -0500, Neal Hogan wrote: >> >>> >> >>> If you like xmonad, check out scrotwm. It's inspired by xmonad, >> >>> lightweight, written in C by oBSD dev, actively maintained, and >> >>> vim-like (among other things ;-). >> >> >> >> Why is "written in C" considered such a great benefit by the Scrotwm >> >> developer(s)? ?Earlier today, I read this on the site: >> >> >> >> ? ? "On the other hand xmonad has great defaults, key bindings and >> >> ? ? xinerama support but is crippled by not being written in C." >> >> >> >> hahahahahahaha! >> >> >> What's up with that? ?How does Haskell "cripple" xmonad? >> >> >> >> In the end, you need not take yourself so seriously. ?The thread was >> generic enough to allow for some rhetorical flourish. I suggested >> something . . . pointed out that is written in C (as did the homepage) >> . . . ?AND you concluded some sort of insult; not my problem. >> >> Do you need a rim-shot for every joke? > > 1. Who said I took insult? ?You assume too much. > > 2. That was not a very clever joke, anyway. ?Where's the punchline? > > 3. That doesn't answer my question about the Scrotwm page. > > Even *I* am not so socially stunted as to think a comment like that on > the Scrotwm site would not raise some eyebrows. > Some? sure. In the end, scrotwm is a simple wm that allows the "gui-apprehensive-type" folk a nice CLI in X. That's all I was suggesting. "Shave and a haircut" . . . Chad? From ml at netfence.it Fri Sep 24 08:08:28 2010 From: ml at netfence.it (Andrea Venturoli) Date: Fri Sep 24 08:08:33 2010 Subject: GUI Suggested? In-Reply-To: <201009231004.21559.jmc-freebsd2@milibyte.co.uk> References: <3368057398-783131724@intranet.com.mx> <4C9B03DB.6000806@netfence.it> <201009231004.21559.jmc-freebsd2@milibyte.co.uk> Message-ID: <4C9C5C77.4020608@netfence.it> On 09/23/10 11:04, Mike Clarke wrote: > That's very similar to my experience too but I'm getting the feeling > that I might have to move over to KDE4 before much longer due to > reduced KDE3 support with some of the apps: Same here. I delayed trying KDE4 since my old box was too old; as soon as I got a new one, I tried it. I too fear I'll have to move on sooner or later, the last bug being Kuickshow not working with EXA acceleration (which is the only one supported by my new GPU's driver). However, after trying KDE4, I think I'll start looking into Gnome or XFCE or whatever, before taking a decision. I really hope KDE4 will improve in the meanwhile, so maybe I can check it out again. BTW, one thing I absolutely won't live with is the lack of keyboard shortcuts: in KDE3 I run plain Konsole with "Windows-K" and with "Windows-R" I start a root console. This doesn't seem to be possible on KDE4, and no, a plasmoid on the desktop with a session menu is NOT the same thing. bye av. From ml at netfence.it Fri Sep 24 08:15:56 2010 From: ml at netfence.it (Andrea Venturoli) Date: Fri Sep 24 08:16:01 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> <4C9B03DB.6000806@netfence.it> <201009231004.21559.jmc-freebsd2@milibyte.co.uk> Message-ID: <4C9C5E38.4030205@netfence.it> On 09/23/10 18:22, Adam Vande More wrote: > If you tried on KDE 4.1, 4.2, then yes things have improved a lot. 4.3 was > pretty big update in terms of stability, and 4.4 has been far more solid > than not. I tried 4.5.1 on 8.1/i386 with every port updated, on a 4-core AMD CPU with a Radeon HD 4200: _ base components continuosly crash; _ there were severe rendering problems (i.e. black areas sometimes instead of icons, windows not updating when moved, ecc...); _ I possibly had driver problems, with some accelerations not working (could not enable it in the system settings); _ and everything was not just slow, but *SLOW*; _ it messed so much with my hardware, that I could not switch back to KDE3 without a reboot (simply restarting the X server was not enough). I do not hold by breath for burning windows, rotating desktops or other fancy effects, but the system was plainly unusable. So, I appreciate the nice work, but I'll wait for some new version. If some developer needs some info or wants me to do some test, I still have everything installed, so I'll gladly help. bye av. From ml at netfence.it Fri Sep 24 08:16:49 2010 From: ml at netfence.it (Andrea Venturoli) Date: Fri Sep 24 08:16:54 2010 Subject: GUI Suggested? In-Reply-To: <20100923084646.GA3644@current.Sisis.de> References: <3368057398-783131724@intranet.com.mx> <20100923083603.GA12869@orange.esperance-linux.co.uk> <20100923084646.GA3644@current.Sisis.de> Message-ID: <4C9C5E6D.8090106@netfence.it> On 09/23/10 10:46, Matthias Apitz wrote: > El d?a Thursday, September 23, 2010 a las 09:36:03AM +0100, Frank Shute escribi?: > >> My belief is that people who are comfortable with Gnome/KDE are people >> who are familiar with working in a GUI such as Windows? and haven't >> come from the commandline. So, I am an exception. bye av. From wodfer at gmail.com Fri Sep 24 11:52:38 2010 From: wodfer at gmail.com (Andy Wodfer) Date: Fri Sep 24 11:52:42 2010 Subject: Trouble enabling GD in php/apache Message-ID: I'm running FreeBSD 8.0 RELEASE. I can't get GD enabled. I have installed latestes php5 from ports aswell as php5-extensions and enabled GD on the option screen: cd /usr/ports/lang/php5 make deinstall make clean make rmconfig make install clean cd /usr/ports/lang/php5-extensions make deinstall make clean make rmconfig make install clean I'm running the latest Apache 2.2.x version and GD 2.0.35. I'm currently doing a portupgrade -a to see if that helps, but I think not. What's the correct way of getting GD to work on Ie. a webshop (opencart)? Thanks for all help! Cheers, Andy From wodfer at gmail.com Fri Sep 24 11:55:12 2010 From: wodfer at gmail.com (Andy Wodfer) Date: Fri Sep 24 11:55:16 2010 Subject: Problem adding 1TB SATA disk to system In-Reply-To: <20100919161304.4851.qmail@dusk.parklogic.com> References: <20100919161304.4851.qmail@dusk.parklogic.com> Message-ID: On Sun, Sep 19, 2010 at 6:13 PM, freebsd-questions < freebsd-questions@freebsd.org> wrote: > Dear Sir/Madam, > > Your email was unable reach the intended person that you were sending it > to. > For more information on our business please click on the following link: > Click here for our website > We look forward to your continued business in the future. > > Regards, > Webmaster > From wodfer at gmail.com Fri Sep 24 11:55:27 2010 From: wodfer at gmail.com (Andy Wodfer) Date: Fri Sep 24 11:55:30 2010 Subject: Problem adding 1TB SATA disk to system In-Reply-To: References: Message-ID: On Thu, Sep 16, 2010 at 6:17 PM, Michael Powell wrote: > Andy Wodfer wrote: > > > I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight). > > However, I'm having big problems adding a new harddrive to the system. I > > want a separate 1TB SATA installed to recover backup files on, but when I > > add it I only get error messages: > > > > dmesg: > > > > ad2: 953869MB at ata1-master SATA300 > > GEOM: ad2: corrupt or invalid GPT detected. > > GEOM: ad2: GPT rejected -- may not be recoverable. > > GEOM: ufsid/4c80e66f50f43e15: corrupt or invalid GPT detected. > > GEOM: ufsid/4c80e66f50f43e15: GPT rejected -- may not be recoverable. > > > > I've tried label and fdisk, but I can't get it to work. > > > [snip] > > I do not believe you can utilize fdisk and label for this. Since it appears > there may be a possibility of a garbage MBR present this will wipe it: > > Boot a LiveFS CD, then at a root prompt do: > > sysctl kern.geom.debugflags=16 and: > > dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 > > where x equals your drive number. This will zero out any old MBR. > > You will need to set this up with gpart instead of fdisk. More details in > man gpart and possibly glabel. The devil is in the details, but this may be > enough to get you pointed down the road. > I couldn't get it to work. My solution was to remove the 1TB drive and install 2x500GB drives in a small RAID instead. Made life so much easier. :-) Cheers, Andy From lists at reiteration.net Fri Sep 24 12:43:03 2010 From: lists at reiteration.net (John) Date: Fri Sep 24 12:43:14 2010 Subject: Trouble enabling GD in php/apache In-Reply-To: References: Message-ID: <4C9C9CC1.6090404@reiteration.net> On 24/09/2010 12:52, Andy Wodfer wrote: > I'm running FreeBSD 8.0 RELEASE. > > I can't get GD enabled. I have installed latestes php5 from ports aswell as > php5-extensions and enabled GD on the option screen: > > cd /usr/ports/lang/php5 > make deinstall > make clean > make rmconfig > make install clean > > cd /usr/ports/lang/php5-extensions > make deinstall > make clean > make rmconfig > make install clean > > I'm running the latest Apache 2.2.x version and GD 2.0.35. > > I'm currently doing a portupgrade -a to see if that helps, but I think not. > > What's the correct way of getting GD to work on Ie. a webshop (opencart)? It seems that php5-extensions isn't installing properly. I had to install a new server and was surprised the extensions never loaded. However I knew from other installations that for example the gd extension should be in extensions.ini - I looked in there and it was absent. So what I had to do is to search for it. Before I did that, I had to run locate.updatedb as root. This showed gd.so to be in /usr/local/ports/graphics/php5-gd/work/php-5.3.3/ext/gd/modules/gd.so I copied that into /usr/local/lib/php/20090626/ and edited /usr/local/etc/php/extensions.ini with a line of extension=gd.so I had to do this with everything selected in php5-extensions, and then restart the webserver. FreeBSD 8.1-RELEASE #1: Wed Sep 8 10:21:27 BST 2010 and last csup for ports was on the 23rd from cvsup.uk.freebsd.org -- John From wodfer at gmail.com Fri Sep 24 13:02:41 2010 From: wodfer at gmail.com (Andy Wodfer) Date: Fri Sep 24 13:02:46 2010 Subject: Trouble enabling GD in php/apache In-Reply-To: <4C9C9CC1.6090404@reiteration.net> References: <4C9C9CC1.6090404@reiteration.net> Message-ID: > > [snip] > I had to install a new server and was surprised the extensions never > loaded. However I knew from other installations that for example the gd > extension should be in extensions.ini - I looked in there and it was > absent. So what I had to do is to search for it. Before I did that, I > had to run locate.updatedb as root. This showed gd.so to be in > /usr/local/ports/graphics/php5-gd/work/php-5.3.3/ext/gd/modules/gd.so > > I copied that into /usr/local/lib/php/20090626/ and edited > /usr/local/etc/php/extensions.ini with a line of extension=gd.so > > I had to do this with everything selected in php5-extensions, and then > restart the webserver. > Hi John, thanks for your input. In my case both extension.ini (gd.so line) and gd.so in the /usr/local/lib/php/20090626 are present. Any other ideas? cheers, Andy From leif.walsh at gmail.com Fri Sep 24 13:54:59 2010 From: leif.walsh at gmail.com (Leif Walsh) Date: Fri Sep 24 13:55:03 2010 Subject: lagg trouble In-Reply-To: References: Message-ID: I have the following in /boot/loader.conf: if_iwn_load="YES" iwn5000fw_load="YES" wlan_wep_load="YES" wlan_ccmp_load="YES" wlan_tkip_load="YES" and the following in /etc/rc.conf: ifconfig_em0="up" ifconfig_iwn0="ether 00:1f:16:0c:46:82" wlans_iwn0="wlan0" ifconfig_wlan0="WPA" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport em0 laggport wlan0 DHCP" On boot, lagg0 gets created and correctly includes em0 and wlan0 as laggports. Dhcp starts on lagg0, but if I ping a hostname, I get a timeout, and if I ping an ip address, I get send failed, something like no room in buffer (not on that comp now). If I do a netif restart, it brings back eth0 and lagg0, but lagg0 doesn't include wlan0, which seems to get started later (and not by netif? The output says it stops lo, em, iwn, lagg, tun, ipfw, and wlan, but only starts lo, em, iwn, and lagg, and directly after, ifconfig shows everything up, just lagg0 not using wlan0). If I do a dhclient wlan0 (assuming wpa_supplicant finds something it likes), I get a working network connection, but not if I manually patch it through lagg0 through lagg0. Is there a way to ensure that wlan gets up before lagg? Why would I get that buffer error through lagg? Also, if I have to switch wireless routers and use wpa_cli, can I get dhclient to notice and automatically request a new ip? -- Cheers, Leif From comp.john at googlemail.com Fri Sep 24 13:58:06 2010 From: comp.john at googlemail.com (John) Date: Fri Sep 24 13:58:10 2010 Subject: Trouble enabling GD in php/apache In-Reply-To: References: <4C9C9CC1.6090404@reiteration.net> Message-ID: <20100924133115.GA41697@potato> On Fri, Sep 24, 2010 at 03:02:40PM +0200, Andy Wodfer wrote: > > > > [snip] > > I had to install a new server and was surprised the extensions never > > loaded. However I knew from other installations that for example the gd > > extension should be in extensions.ini - I looked in there and it was > > absent. So what I had to do is to search for it. Before I did that, I > > had to run locate.updatedb as root. This showed gd.so to be in > > /usr/local/ports/graphics/php5-gd/work/php-5.3.3/ext/gd/modules/gd.so > > > > I copied that into /usr/local/lib/php/20090626/ and edited > > /usr/local/etc/php/extensions.ini with a line of extension=gd.so > > > > I had to do this with everything selected in php5-extensions, and then > > restart the webserver. > > > > Hi John, > thanks for your input. In my case both extension.ini (gd.so line) and gd.so > in the /usr/local/lib/php/20090626 are present. > > Any other ideas? how bizarre. Does phpinfo() show gd? Sorry for the simple question, but it is inportant ;) -- John - comp dot john at googlemail dot com OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop GPG: 0xF08A33C5 From tmseck-lists at netcologne.de Fri Sep 24 14:47:29 2010 From: tmseck-lists at netcologne.de (Thomas-Martin Seck) Date: Fri Sep 24 14:47:34 2010 Subject: Will FBSD Squid "port" create squid user and group? In-Reply-To: Message-ID: <20100924142802.46112.qmail@wcfields.tmseck.homedns.org> * Ed Flecko [gmane.os.freebsd.questions]: > Hi folks, > I guess this is a two-faceted question: > > 1.) If I install Squid from a "port", will in create the recommended > squid user and group for me, or will I need to pre-create a squid user > and group prior to Squid running? Yes. The code that manages this is in www/squid/files/pkg-install.in. The uid/gid of the user/group that the port/pacage will add is hardwired to 100 whereas the name of the actual user/group can be overridden when you build the port from source. Use SQUID_UID=foo SQUID_GID=bar in your make(1) environment if you intend to do this. If you install the pre-built package via pkg_add, user and group "squid" with uid 100 will be added unless a user/group with this name already exists. > I like the idea of modifying > SQUID_CONFIGURE_ARGS in the squid port Makefile to customize the > software before I compile and install it, but if it doesn't create the > user and group for you...what advantage do you gain to install from a > port -vs- downloading the tarball and building from source? The port tries to ensure that Squid complies with the FreeBSD file system hierarchy standards and it installs more helpers than what you would normally get when you install Squid from the distribution tarball. Just have a Look at the definition of the CONFIGURE_ARGS make macro in the port's Makefile to see which options the port enables by default. As a bonus you get a dialog(1) based configuration dialog for the fancier options. A port is basically a wrapper that tries to automate everything you would otherwise need to do manually when you install directly from source. > 2.) "As a general rule", when you install software that needs a > special user/group, will those users/groups be created when you > install from ports, or only from packages? Pre-build package and installation from port should behave the same in this respect. Everything else is a bug. Best regards, -- Thomas-Martin Seck current maintainer of www/squid{,30,31} From vmiller at hostileadmin.com Fri Sep 24 14:54:38 2010 From: vmiller at hostileadmin.com (Rick Miller) Date: Fri Sep 24 14:54:43 2010 Subject: Media Packages Vs. Ports In-Reply-To: References: <90e6ba4883cb50e1500490c7b441@google.com> Message-ID: On Tue, Sep 21, 2010 at 3:55 PM, Adam Vande More wrote: > On Tue, Sep 21, 2010 at 11:41 AM, wrote: >> >> ?Is it possible to take a port, make a package of it and put it in the >> packages directory of my own media? > > Sure it's easy.? When build a port you can issue a make package command, or > you can use pkg_create to create packages from installed ported.? A common > approach to this is build all your updates in a jail, make packages of them, > then delete package from the host and install the newly built ones from the > jail.? Very small, if any downtime.? You can use the jail to create pkg's > for a custom repository too. I've created the package and copied it to the networked media. How do I edit the INDEX file so that it knows how to get the file? -- Take care Rick Miller From tg at gmplib.org Fri Sep 24 16:03:09 2010 From: tg at gmplib.org (Torbjorn Granlund) Date: Fri Sep 24 16:03:12 2010 Subject: Mount order for ZFS, jails, and nullfs Message-ID: <867hibxh6t.fsf@shell.gmplib.org> In jails, I'd like a local ZFS /, a read-only nullfs-mounted /usr, and a local /usr/local. (I'd also have read-only nullfs-mounted /bin, /lib, /libexec, but let's forget about that for now.) This way, I can upgrade the master /usr once, in one place, and have all jails inherit it. And my dear jail inmates can install anything in /usr/local (such as their favourite packages/ports). I.e., things should look like this: /myjail/ zfs /myjail/usr nullfs ro /myjail/usr/local zfs There is no problem to make this happen by issuing a handful of commands manually after boot, but I cannot seem to get it to work automatically, with existing boot mechanism. The problem is that the mount of /usr will be attempted before ZFS has mounted /myjail, the jail's root. ZFS maintains its own mount table. It is possible to disable the automated mounting in ZFS by specifying the pseudo mountpoint "legacy", and then--according to the FreeBSD manual--mount it with mount(8). Unfortunately, FreeBSD's mount seems unable to perform mounts of ZFS volumes. How can I achieve the result I want after a reboot? (The reply "use ezjail!" is not the right one. :-) It does not do what I want to do. I dislike its symlink forest, and that it creates just one ZFS filesystem for the entire jail.) -- Torbj?rn From vrwmiller at gmail.com Fri Sep 24 16:03:22 2010 From: vrwmiller at gmail.com (vrwmiller@gmail.com) Date: Fri Sep 24 16:03:25 2010 Subject: Media Packages Vs. Ports In-Reply-To: Message-ID: <90e6ba53ac44838cef0491038428@google.com> On Sep 24, 2010 10:54am, Rick Miller wrote: > On Tue, Sep 21, 2010 at 3:55 PM, Adam Vande More amvandemore@gmail.com> > wrote: > > On Tue, Sep 21, 2010 at 11:41 AM, vrwmiller@gmail.com> wrote: > >> > >> Is it possible to take a port, make a package of it and put it in the > >> packages directory of my own media? > > > > Sure it's easy. When build a port you can issue a make package command, > or > > you can use pkg_create to create packages from installed ported. A > common > > approach to this is build all your updates in a jail, make packages of > them, > > then delete package from the host and install the newly built ones from > the > > jail. Very small, if any downtime. You can use the jail to create pkg's > > for a custom repository too. > I've created the package and copied it to the networked media. How do > I edit the INDEX file so that it knows how to get the file? I did figure out one way to get this to work. I copied the entry for the port from the ports index file into the packages index file and it worked. Whether or not it's an appropriate way, I am unsure. From sterling at camdensoftware.com Fri Sep 24 16:11:48 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Fri Sep 24 16:11:56 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100923182839.GC14903@libertas.local.camdensoftware.com> <20100923190431.GD14903@libertas.local.camdensoftware.com> Message-ID: <20100924161142.GA10790@libertas.local.camdensoftware.com> Quoth Neal Hogan on Thursday, 23 September 2010: > >On Thu, Sep 23, 2010 at 2:04 PM, Chip Camden wrote: > >> Quoth Neal Hogan on Thursday, 23 September 2010: > >> > >> I'm not too sure what you're asking "certain window should be moved by > >> default to specific workspaces." Since you read the man page I'm > >> guessing you're not talking about changing which xterm is in focus. > >> Focus moves by defualt to each new tem that you open > >> (alt-shift-return). > >> > >> Maybe www.scrotwm.org will help. > >> _______________________________________________ > > > > Nope. ?The wiki doesn't present anything either. > > > > What I mean is for example when I launch Firefox, I want it to go to > > workspace 3. ?When I launch gimp, I want it on workspace 7. ?I can easily > > specify that in xmonad, using either the window class or window title. ?I > > don't want to have to move all these windows where I want them every time > > I log in. > > > > Ah . . . I see. I'm not aware af that being a feature in scrotwm. The > only thing I can suggest is to join the forum and ask. Like I said, > scrotwm actively maintained and the devs will (likely) respond > quickly. As far as what they say, suggestions are welcome, but they > have to be persuaded. > > Best of luck. > > -Neal Discussion on the scrotwm forum confirms that this capability does not exist in scrotwm. They logged a feature request on my behalf. That's reason enough for me to stick with xmonad, unless a compelling counter-argument in favor of scrotwm emerges. So far, I haven't seen one. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100924/c075a8d1/attachment.pgp From sterling at camdensoftware.com Fri Sep 24 16:18:45 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Fri Sep 24 16:18:50 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> <20100923152023.GA14903@libertas.local.camdensoftware.com> <20100924003120.GA19235@guilt.hydra> <4C9BF868.9000805@gmail.com> <20100924024856.GB19697@guilt.hydra> Message-ID: <20100924161839.GB10790@libertas.local.camdensoftware.com> Quoth Neal Hogan on Thursday, 23 September 2010: > On Thu, Sep 23, 2010 at 9:48 PM, Chad Perrin wrote: > > On Thu, Sep 23, 2010 at 09:07:28PM -0500, Neal Hogan wrote: > >> On Thu, Sep 23, 2010 at 8:01 PM, Glen Barber wrote: > >> > On 9/23/10 8:31 PM, Chad Perrin wrote: > >> >> On Thu, Sep 23, 2010 at 12:24:58PM -0500, Neal Hogan wrote: > >> >>> > >> >>> If you like xmonad, check out scrotwm. It's inspired by xmonad, > >> >>> lightweight, written in C by oBSD dev, actively maintained, and > >> >>> vim-like (among other things ;-). > >> >> > >> >> Why is "written in C" considered such a great benefit by the Scrotwm > >> >> developer(s)? ?Earlier today, I read this on the site: > >> >> > >> >> ? ? "On the other hand xmonad has great defaults, key bindings and > >> >> ? ? xinerama support but is crippled by not being written in C." > >> >> > >> > >> hahahahahahaha! > >> > >> >> What's up with that? ?How does Haskell "cripple" xmonad? > >> >> > >> > >> In the end, you need not take yourself so seriously. ?The thread was > >> generic enough to allow for some rhetorical flourish. I suggested > >> something . . . pointed out that is written in C (as did the homepage) > >> . . . ?AND you concluded some sort of insult; not my problem. > >> > >> Do you need a rim-shot for every joke? > > > > 1. Who said I took insult? ?You assume too much. > > > > 2. That was not a very clever joke, anyway. ?Where's the punchline? > > > > 3. That doesn't answer my question about the Scrotwm page. > > > > Even *I* am not so socially stunted as to think a comment like that on > > the Scrotwm site would not raise some eyebrows. > > > > Some? sure. > > In the end, scrotwm is a simple wm that allows the > "gui-apprehensive-type" folk a nice CLI in X. That's all I was > suggesting. > > "Shave and a haircut" . . . Chad? I don't think anyone was attacking you or your suggestion, Neal. I like what I see in scrotwm: copyfree license, lean approach, keyboard-centricity, minimalism. All good. It just doesn't have anything to pull me away from xmonad yet. Hope they keep up the good work. Regards, Chip -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100924/dc19a954/attachment.pgp From cpghost at cordula.ws Fri Sep 24 16:39:31 2010 From: cpghost at cordula.ws (C. P. Ghost) Date: Fri Sep 24 16:39:34 2010 Subject: GUI Suggested? In-Reply-To: <3368057398-783131724@intranet.com.mx> References: <3368057398-783131724@intranet.com.mx> Message-ID: On Thu, Sep 23, 2010 at 5:29 AM, Jorge Biquez wrote: > I was wondering if you can tell suggest me based on yoru experience on what > path to follow? KDE? any other? Using fluxbox here for ages (used olvwm, ctwm, and fvwm[2] before. It's low overhead, very low cpu/disk/memory footprint, very fast and reasonabley easy to configure and customize. IMHO, KDE & Gnome are too heavyweight, but that's really a matter of taste (and adequate hardware). > Jorge Biquez Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From demelier.david at gmail.com Fri Sep 24 17:04:08 2010 From: demelier.david at gmail.com (David DEMELIER) Date: Fri Sep 24 17:04:12 2010 Subject: Little question about device driver name Message-ID: Hi folks, I just wonder why if_bridge(4) is prefixed by if_ for device name. Every other device name like lagg(4), gif(4) are not prefixed with this same one. Is there any reason that bridge is prefixed with it ? (I don't know if there is other device like that, but what I saw in conf/NOTES seems not) Cheers, -- Demelier David From pldrouin at gmail.com Fri Sep 24 17:11:12 2010 From: pldrouin at gmail.com (Pierre-Luc Drouin) Date: Fri Sep 24 17:11:16 2010 Subject: GUI Suggested? In-Reply-To: References: <3368057398-783131724@intranet.com.mx> Message-ID: I love Fluxbox too for its lightweightness and configurability. If you find it too minimalistic, I think that XFCE can be a good compromise also since it runs quite fast compared to KDE and Gnome while having most of their functionalities. XFCE is also compatible with Compiz... On Fri, Sep 24, 2010 at 12:39 PM, C. P. Ghost wrote: > On Thu, Sep 23, 2010 at 5:29 AM, Jorge Biquez > wrote: > > I was wondering if you can tell suggest me based on yoru experience on > what > > path to follow? KDE? any other? > > Using fluxbox here for ages (used olvwm, ctwm, and fvwm[2] before. It's low > overhead, very low cpu/disk/memory footprint, very fast and reasonabley > easy > to configure and customize. > > IMHO, KDE & Gnome are too heavyweight, but that's really a matter of taste > (and adequate hardware). > > > Jorge Biquez > > Regards, > -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 wodfer at gmail.com Fri Sep 24 17:44:29 2010 From: wodfer at gmail.com (Andy Wodfer) Date: Fri Sep 24 17:44:35 2010 Subject: Trouble enabling GD in php/apache In-Reply-To: <20100924133115.GA41697@potato> References: <4C9C9CC1.6090404@reiteration.net> <20100924133115.GA41697@potato> Message-ID: > > [snip] > how bizarre. Does phpinfo() show gd? Sorry for the simple question, but > it is inportant ; No it doesn't. Here's the long output of phpinfo() PHP Version 5.3.3 System FreeBSD webserver.domain.no 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Build Date Sep 24 2010 13:07:36 Configure Command './configure' '--with-layout=GNU' '--localstatedir=/var' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix=' '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--disable-ipv6' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd8.0' Server API Apache 2.0 Handler Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/etc Loaded Configuration File /usr/local/etc/php.ini Scan this dir for additional .ini files /usr/local/etc/php Additional .ini files parsed /usr/local/etc/php/extensions.ini PHP API 20090626 PHP Extension 20090626 Zend Extension 220090626 Zend Extension Build API220090626,NTS PHP Extension Build API20090626,NTS Debug Build no Thread Safety disabled Zend Memory Manager enabled Zend Multibyte Support disabled IPv6 Support disabled Registered PHP Streams php, file, glob, data, http, ftp, compress.bzip2, https, ftps, compress.zlib, zip Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, convert.iconv.*, bzip2.*, zlib.* Suhosin logo This server is protected with the Suhosin Patch 0.9.10 Copyright (c) 2006-2007 Hardened-PHP Project Copyright (c) 2007-2009 SektionEins GmbH Zend logo This program makes use of the Zend Scripting Language Engine: Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies PHP Credits Configuration apache2handler Apache Version Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 PHP/5.3.3 with Suhosin-Patch Apache API Version 20051115 Server Administrator andy@domain.no Hostname:Port test.domain.no:0 User/Group www(80)/80 Max Requests Per Child: 400 - Keep Alive: on - Max Per Connection: 100 Timeouts Connection: 300 - Keep-Alive: 5 Virtual Server Yes Server Root /usr/local/ Loaded Modules core prefork http_core mod_so mod_authn_file mod_authn_dbm mod_authn_anon mod_authn_default mod_authn_alias mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_dbm mod_authz_owner mod_authz_default mod_auth_basic mod_auth_digest mod_file_cache mod_cache mod_disk_cache mod_dumpio mod_include mod_filter mod_charset_lite mod_deflate mod_log_config mod_logio mod_env mod_mime_magic mod_cern_meta mod_expires mod_headers mod_usertrack mod_unique_id mod_setenvif mod_version mod_ssl mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_cgi mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imagemap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_php5 Directive Local Value Master Value engine 1 1 last_modified 0 0 xbithack 0 0 Apache Environment Variable Value UNIQUE_ID TJzg3VDoT3IAAAZ4AnEAAAAC HTTP_HOST test.domain.no HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729) HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5 HTTP_ACCEPT_ENCODING gzip,deflate HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_KEEP_ALIVE 115 HTTP_CONNECTION keep-alive HTTP_COOKIE __utma=81389333.1474625124.1284883457.1284883457.1284883457.1; __utmz=81389333.1284883457.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) PATH /sbin:/bin:/usr/sbin:/usr/bin SERVER_SIGNATURE no value SERVER_SOFTWARE Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 PHP/5.3.3 with Suhosin-Patch SERVER_NAME test.domain.no SERVER_ADDR IP.IP.IP.IP SERVER_PORT 80 REMOTE_ADDR 91.149.50.4 DOCUMENT_ROOT /usr/local/www/virtual/domain.no/test SERVER_ADMIN andreas@domain.no SCRIPT_FILENAME /usr/local/www/virtual/domain.no/test/test.php REMOTE_PORT 1057 GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET QUERY_STRING no value REQUEST_URI /test.php SCRIPT_NAME /test.php HTTP Headers Information HTTP Request Headers HTTP Request GET /test.php HTTP/1.1 Host test.domain.no User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729) Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 115 Connection keep-alive Cookie __utma=81389333.1474625124.1284883457.1284883457.1284883457.1; __utmz=81389333.1284883457.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) HTTP Response Headers X-Powered-By PHP/5.3.3 Keep-Alive timeout=5, max=100 Connection Keep-Alive Transfer-Encoding chunked Content-Type text/html bz2 BZip2 Support Enabled Stream Wrapper support compress.bz2:// Stream Filter support bzip2.decompress, bzip2.compress BZip2 Version 1.0.5, 10-Dec-2007 Core PHP Version 5.3.3 Directive Local Value Master Value allow_call_time_pass_reference Off Off allow_url_fopen On On allow_url_include Off Off always_populate_raw_post_data Off Off arg_separator.input & & arg_separator.output & & asp_tags Off Off auto_append_file no value no value auto_globals_jit On On auto_prepend_file no value no value browscap no value no value default_charset no value no value default_mimetype text/html text/html define_syslog_variables Off Off disable_classes no value no value disable_functions no value no value display_errors Off Off display_startup_errors Off Off doc_root no value no value docref_ext no value no value docref_root no value no value enable_dl Off Off error_append_string no value no value error_log no value no value error_prepend_string no value no value error_reporting 22527 22527 exit_on_timeout Off Off expose_php On On extension_dir /usr/local/lib/php/20090626 /usr/local/lib/php/20090626 file_uploads On On highlight.bg #FFFFFF #FFFFFF highlight.comment #FF8000 #FF8000 highlight.default #0000BB #0000BB highlight.html #000000 #000000 highlight.keyword #007700 #007700 highlight.string #DD0000 #DD0000 html_errors Off Off ignore_repeated_errors Off Off ignore_repeated_source Off Off ignore_user_abort Off Off implicit_flush Off Off include_path .:/usr/local/share/pear .:/usr/local/share/pear log_errors On On log_errors_max_len 1024 1024 magic_quotes_gpc Off Off magic_quotes_runtime Off Off magic_quotes_sybase Off Off mail.add_x_header On On mail.force_extra_parameters no value no value mail.log no value no value max_execution_time 30 30 max_file_uploads 20 20 max_input_nesting_level 64 64 max_input_time 60 60 memory_limit 128M 128M open_basedir no value no value output_buffering 4096 4096 output_handler no value no value post_max_size 8M 8M precision 14 14 realpath_cache_size 16K 16K realpath_cache_ttl 120 120 register_argc_argv Off Off register_globals Off Off register_long_arrays Off Off report_memleaks On On report_zend_debug On On request_order GP GP safe_mode Off Off safe_mode_exec_dir no value no value safe_mode_gid Off Off safe_mode_include_dir no value no value sendmail_from no value no value sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i serialize_precision 100 100 short_open_tag On On SMTP localhost localhost smtp_port 25 25 sql.safe_mode Off Off track_errors Off Off unserialize_callback_func no value no value upload_max_filesize 2M 2M upload_tmp_dir no value no value user_dir no value no value user_ini.cache_ttl 300 300 user_ini.filename .user.ini .user.ini variables_order GPCS GPCS xmlrpc_error_number 0 0 xmlrpc_errors Off Off y2k_compliance On On zend.enable_gc On On ctype ctype functions enabled curl cURL support enabled cURL Information 7.21.1 Age 3 Features AsynchDNS No Debug No GSS-Negotiate No IDN No IPv6 No Largefile Yes NTLM Yes SPNEGO No SSL Yes SSPI No krb4 No libz Yes CharConv No Protocols dict, file, ftp, ftps, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp Host i386-portbld-freebsd8.0 SSL Version OpenSSL/0.9.8k ZLib Version 1.2.3 date date/time support enabled "Olson" Timezone Database Version 2010.9 Timezone Database internal Default timezone Europe/Oslo Directive Local Value Master Value date.default_latitude 31.7667 31.7667 date.default_longitude 35.2333 35.2333 date.sunrise_zenith 90.583333 90.583333 date.sunset_zenith 90.583333 90.583333 date.timezone Europe/Oslo Europe/Oslo dom DOM/XML enabled DOM/XML API Version 20031129 libxml Version 2.7.5 HTML Support enabled XPath Support enabled XPointer Support enabled Schema Support enabled RelaxNG Support enabled ereg Regex Library Bundled library enabled exif EXIF Support enabled EXIF Version 1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $ Supported EXIF Version 0220 Supported filetypes JPEG,TIFF Directive Local Value Master Value exif.decode_jis_intel JIS JIS exif.decode_jis_motorola JIS JIS exif.decode_unicode_intel UCS-2LE UCS-2LE exif.decode_unicode_motorola UCS-2BE UCS-2BE exif.encode_jis no value no value exif.encode_unicode ISO-8859-15 ISO-8859-15 fileinfo fileinfo support enabled version 1.0.5-dev filter Input Validation and Filtering enabled Revision $Revision: 294106 $ Directive Local Value Master Value filter.default unsafe_raw unsafe_raw filter.default_flags no value no value ftp FTP support enabled gettext GetText Support enabled hash hash support enabled Hashing Engines md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 iconv iconv support enabled iconv implementation libiconv iconv library version 1.13 Directive Local Value Master Value iconv.input_encoding ISO-8859-1 ISO-8859-1 iconv.internal_encoding ISO-8859-1 ISO-8859-1 iconv.output_encoding ISO-8859-1 ISO-8859-1 json json support enabled json version 1.2.1 libxml libXML support active libXML Compiled Version 2.7.5 libXML Loaded Version 20705 libXML streams enabled mbstring Multibyte Support enabled Multibyte string engine libmbfl HTTP input encoding translation disabled mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Multibyte (japanese) regex support enabled Multibyte regex (oniguruma) version 4.7.1 Directive Local Value Master Value mbstring.detect_order no value no value mbstring.encoding_translation Off Off mbstring.func_overload 0 0 mbstring.http_input pass pass mbstring.http_output pass pass mbstring.http_output_conv_mimetypes ^(text/|application/xhtml\+xml) ^(text/|application/xhtml\+xml) mbstring.internal_encoding no value no value mbstring.language neutral neutral mbstring.strict_detection Off Off mbstring.substitute_character no value no value mcrypt mcrypt support enabled Version 2.5.8 Api No 20021217 Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes cbc cfb ctr ecb ncfb nofb ofb stream Directive Local Value Master Value mcrypt.algorithms_dir no value no value mcrypt.modes_dir no value no value mhash MHASH support Enabled MHASH API Version Emulated Support mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 5.1.50 MYSQL_MODULE_TYPE no value MYSQL_SOCKET /tmp/mysql.sock MYSQL_INCLUDE no value MYSQL_LIBS no value Directive Local Value Master Value mysql.allow_local_infile On On mysql.allow_persistent On On mysql.connect_timeout 60 60 mysql.default_host no value no value mysql.default_password no value no value mysql.default_port no value no value mysql.default_socket /tmp/mysql.sock /tmp/mysql.sock mysql.default_user no value no value mysql.max_links Unlimited Unlimited mysql.max_persistent Unlimited Unlimited mysql.trace_mode Off Off mysqli MysqlI Support enabled Client API library version 5.1.50 Active Persistent Links 0 Inactive Persistent Links 0 Active Links 0 Client API header version 5.1.45 MYSQLI_SOCKET /tmp/mysql.sock Directive Local Value Master Value mysqli.allow_local_infile On On mysqli.allow_persistent On On mysqli.default_host no value no value mysqli.default_port 3306 3306 mysqli.default_pw no value no value mysqli.default_socket no value no value mysqli.default_user no value no value mysqli.max_links Unlimited Unlimited mysqli.max_persistent Unlimited Unlimited mysqli.reconnect Off Off mysqlnd mysqlnd enabled Version mysqlnd 5.0.7-dev - 091210 - $Revision: 300533 $ Compression supported SSL supported Command buffer size 4096 Read buffer size 32768 Read timeout 31536000 Collecting statistics Yes Collecting memory statistics No Client statistics bytes_sent 0 bytes_received 0 packets_sent 0 packets_received 0 protocol_overhead_in 0 protocol_overhead_out 0 bytes_received_ok_packet 0 bytes_received_eof_packet 0 bytes_received_rset_header_packet 0 bytes_received_rset_field_meta_packet 0 bytes_received_rset_row_packet 0 bytes_received_prepare_response_packet 0 bytes_received_change_user_packet 0 packets_sent_command 0 packets_received_ok 0 packets_received_eof 0 packets_received_rset_header 0 packets_received_rset_field_meta 0 packets_received_rset_row 0 packets_received_prepare_response 0 packets_received_change_user 0 result_set_queries 0 non_result_set_queries 0 no_index_used 0 bad_index_used 0 slow_queries 0 buffered_sets 0 unbuffered_sets 0 ps_buffered_sets 0 ps_unbuffered_sets 0 flushed_normal_sets 0 flushed_ps_sets 0 ps_prepared_never_executed 0 ps_prepared_once_executed 0 rows_fetched_from_server_normal 0 rows_fetched_from_server_ps 0 rows_buffered_from_client_normal 0 rows_buffered_from_client_ps 0 rows_fetched_from_client_normal_buffered 0 rows_fetched_from_client_normal_unbuffered 0 rows_fetched_from_client_ps_buffered 0 rows_fetched_from_client_ps_unbuffered 0 rows_fetched_from_client_ps_cursor 0 rows_affected_normal 0 rows_affected_ps 0 rows_skipped_normal 0 rows_skipped_ps 0 copy_on_write_saved 0 copy_on_write_performed 0 command_buffer_too_small 0 connect_success 0 connect_failure 0 connection_reused 0 reconnect 0 pconnect_success 0 active_connections 0 active_persistent_connections 0 explicit_close 0 implicit_close 0 disconnect_close 0 in_middle_of_command_close 0 explicit_free_result 0 implicit_free_result 0 explicit_stmt_close 0 implicit_stmt_close 0 mem_emalloc_count 0 mem_emalloc_amount 0 mem_ecalloc_count 0 mem_ecalloc_amount 0 mem_erealloc_count 0 mem_erealloc_amount 0 mem_efree_count 0 mem_efree_amount 0 mem_malloc_count 0 mem_malloc_amount 0 mem_calloc_count 0 mem_calloc_amount 0 mem_realloc_count 0 mem_realloc_amount 0 mem_free_count 0 mem_free_amount 0 mem_estrndup_count 0 mem_strndup_count 0 mem_estndup_count 0 mem_strdup_count 0 proto_text_fetched_null 0 proto_text_fetched_bit 0 proto_text_fetched_tinyint 0 proto_text_fetched_short 0 proto_text_fetched_int24 0 proto_text_fetched_int 0 proto_text_fetched_bigint 0 proto_text_fetched_decimal 0 proto_text_fetched_float 0 proto_text_fetched_double 0 proto_text_fetched_date 0 proto_text_fetched_year 0 proto_text_fetched_time 0 proto_text_fetched_datetime 0 proto_text_fetched_timestamp 0 proto_text_fetched_string 0 proto_text_fetched_blob 0 proto_text_fetched_enum 0 proto_text_fetched_set 0 proto_text_fetched_geometry 0 proto_text_fetched_other 0 proto_binary_fetched_null 0 proto_binary_fetched_bit 0 proto_binary_fetched_tinyint 0 proto_binary_fetched_short 0 proto_binary_fetched_int24 0 proto_binary_fetched_int 0 proto_binary_fetched_bigint 0 proto_binary_fetched_decimal 0 proto_binary_fetched_float 0 proto_binary_fetched_double 0 proto_binary_fetched_date 0 proto_binary_fetched_year 0 proto_binary_fetched_time 0 proto_binary_fetched_datetime 0 proto_binary_fetched_timestamp 0 proto_binary_fetched_string 0 proto_binary_fetched_blob 0 proto_binary_fetched_enum 0 proto_binary_fetched_set 0 proto_binary_fetched_geometry 0 proto_binary_fetched_other 0 init_command_executed_count 0 init_command_failed_count 0 com_quit 0 com_init_db 0 com_query 0 com_field_list 0 com_create_db 0 com_drop_db 0 com_refresh 0 com_shutdown 0 com_statistics 0 com_process_info 0 com_connect 0 com_process_kill 0 com_debug 0 com_ping 0 com_time 0 com_delayed_insert 0 com_change_user 0 com_binlog_dump 0 com_table_dump 0 com_connect_out 0 com_register_slave 0 com_stmt_prepare 0 com_stmt_execute 0 com_stmt_send_long_data 0 com_stmt_close 0 com_stmt_reset 0 com_stmt_set_option 0 com_stmt_fetch 0 com_deamon 0 openssl OpenSSL support enabled OpenSSL Library Version OpenSSL 0.9.8k 25 Mar 2009 OpenSSL Header Version OpenSSL 0.9.8k 25 Mar 2009 pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 7.9 2009-04-11 Directive Local Value Master Value pcre.backtrack_limit 100000 100000 pcre.recursion_limit 100000 100000 pdf PDF Support enabled PDFlib GmbH Version 7.0.4p4 PECL Version 2.1.6 Revision $Revision: 1.9 $ PDO PDO support enabled PDO drivers sqlite pdo_sqlite PDO Driver for SQLite 3.x enabled SQLite Library 3.7.2 posix Revision $Revision: 293036 $ Reflection Reflection enabled Version $Revision: 300393 $ session Session Support enabled Registered save handlers files user Registered serializer handlers php php_binary Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 Off Off session.bug_compat_warn Off Off session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_httponly Off Off session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_divisor 1000 1000 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.hash_bits_per_character 5 5 session.hash_function 0 0 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path no value no value session.serialize_handler php php session.use_cookies On On session.use_only_cookies On On session.use_trans_sid 0 0 SimpleXML Simplexml support enabled Revision $Revision: 293036 $ Schema support enabled SPL SPL support enabled Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException SQLite SQLite support enabled PECL Module version 2.0-dev $Id: sqlite.c 293036 2010-01-03 09:23:27Z sebastian $ SQLite Library 2.8.17 SQLite Encoding UTF-8 Directive Local Value Master Value sqlite.assoc_case 0 0 standard Dynamic Library Support enabled Path to sendmail /usr/sbin/sendmail -t -i Directive Local Value Master Value assert.active 1 1 assert.bail 0 0 assert.callback no value no value assert.quiet_eval 0 0 assert.warning 1 1 auto_detect_line_endings 0 0 default_socket_timeout 60 60 safe_mode_allowed_env_vars PHP_ PHP_ safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry user_agent no value no value tokenizer Tokenizer Support enabled xml XML Support active XML Namespace Support active libxml2 Version 2.7.5 xmlreader XMLReader enabled xmlwriter XMLWriter enabled zip Zip enabled Extension Version $Id: php_zip.c 294817 2010-02-09 17:51:39Z pajoye $ Zip version 1.9.1 Libzip version 0.9.0 zlib ZLib Support enabled Stream Wrapper support compress.zlib:// Stream Filter support zlib.inflate, zlib.deflate Compiled Version 1.2.3 Linked Version 1.2.3 Directive Local Value Master Value zlib.output_compression Off Off zlib.output_compression_level -1 -1 zlib.output_handler no value no value Additional Modules Module Name Environment Variable Value LD_LIBRARY_PATH /usr/local/lib: HOME / PATH /sbin:/bin:/usr/sbin:/usr/bin RC_PID 20 PWD / PHP Variables Variable Value _COOKIE["__utma"] 81389333.1474625124.1284883457.1284883457.1284883457.1 _COOKIE["__utmz"] 81389333.1284883457.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) _SERVER["UNIQUE_ID"] TJzg3VDoT3IAAAZ4AnEAAAAC _SERVER["HTTP_HOST"] test.domain.no _SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729) _SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 _SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5 _SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate _SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7 _SERVER["HTTP_KEEP_ALIVE"] 115 _SERVER["HTTP_CONNECTION"] keep-alive _SERVER["HTTP_COOKIE"] __utma=81389333.1474625124.1284883457.1284883457.1284883457.1; __utmz=81389333.1284883457.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) _SERVER["PATH"] /sbin:/bin:/usr/sbin:/usr/bin _SERVER["SERVER_SIGNATURE"] no value _SERVER["SERVER_SOFTWARE"] Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 PHP/5.3.3 with Suhosin-Patch _SERVER["SERVER_NAME"] test.domain.no _SERVER["SERVER_ADDR"] IP.IP.IP.IP _SERVER["SERVER_PORT"] 80 _SERVER["REMOTE_ADDR"] 91.149.50.4 _SERVER["DOCUMENT_ROOT"] /usr/local/www/virtual/domain.no/test _SERVER["SERVER_ADMIN"] andreas@domain.no _SERVER["SCRIPT_FILENAME"] /usr/local/www/virtual/domain.no/test/test.php _SERVER["REMOTE_PORT"] 1057 _SERVER["GATEWAY_INTERFACE"] CGI/1.1 _SERVER["SERVER_PROTOCOL"] HTTP/1.1 _SERVER["REQUEST_METHOD"] GET _SERVER["QUERY_STRING"] no value _SERVER["REQUEST_URI"] /test.php _SERVER["SCRIPT_NAME"] /test.php _SERVER["PHP_SELF"] /test.php _SERVER["REQUEST_TIME"] 1285349597 PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net. /Andy From rjhjr0 at gmail.com Fri Sep 24 17:49:47 2010 From: rjhjr0 at gmail.com (Bob Hall) Date: Fri Sep 24 17:49:50 2010 Subject: Little question about device driver name In-Reply-To: References: Message-ID: <20100924174943.GA4468@stainmore> On Fri, Sep 24, 2010 at 07:04:06PM +0200, David DEMELIER wrote: > Hi folks, > > I just wonder why if_bridge(4) is prefixed by if_ for device name. > Every other device name like lagg(4), gif(4) are not prefixed with > this same one. if_bridge was based on bridge. I assume that when the updated if_bridge was introduced, the earlier bridge was still available, so the author needed some way to distinguish his new module from the earlier module. Type "man bridge" and check the Authors section. From kraduk at gmail.com Fri Sep 24 18:04:28 2010 From: kraduk at gmail.com (krad) Date: Fri Sep 24 18:04:32 2010 Subject: Linux filesystems accessible from FreeBSD 8-stable? In-Reply-To: References: Message-ID: On 23 September 2010 18:59, Leif Walsh wrote: > I can't seem to get a definitive answer on this from the internet, > there's a lot of conflicting information. > > I have some data drives formatted with ext4, which I'd like to access > from freebsd, preferably without totally reformatting because I don't > have much temp space for copying. Read-only would be fine, read-write > would be much preferred. > > Is this possible? Am I missing the big "ext4 drivers in > freebsd/fuse/something" sign? Does anyone happen to know if it's > possible to migrate an ext4 drive back to ext3, which it seems I can > access from bsd if I let it pretend the journal doesn't exist? > > -- > Cheers, > Leif > _______________________________________________ > 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" > Im not 100% sure (probably about 60% actually) but cant you mount ext4 as ext2? From what i vaguly remember there will be some limitations but its worth having a look From tg at gmplib.org Fri Sep 24 18:12:04 2010 From: tg at gmplib.org (Torbjorn Granlund) Date: Fri Sep 24 18:12:08 2010 Subject: Mount order for ZFS, jails, and nullfs In-Reply-To: (krad's message of "Fri\, 24 Sep 2010 18\:56\:02 +0100") References: <867hibxh6t.fsf@shell.gmplib.org> Message-ID: <8639szxb7x.fsf@shell.gmplib.org> krad writes: use zfs mount/umount How? The "zfs mount" command does not work anyting like the mount(8) command but for ZFS volumes. The "zfs mount" mounts a volume using its mountpoint property. But if that's set to "legacy", then zfs mount will hardly work, since it cannot take a mount point parameter. The real problem is how to make all types of mounts to be made in a top-to-bottom order. Even if 'zfs mount' would work like I think you assume it works, that would not help, as far as I can tell. -- Torbj?rn From kraduk at gmail.com Fri Sep 24 18:15:43 2010 From: kraduk at gmail.com (krad) Date: Fri Sep 24 18:16:02 2010 Subject: Mount order for ZFS, jails, and nullfs In-Reply-To: <867hibxh6t.fsf@shell.gmplib.org> References: <867hibxh6t.fsf@shell.gmplib.org> Message-ID: On 24 September 2010 17:03, Torbjorn Granlund wrote: > In jails, I'd like a local ZFS /, a read-only nullfs-mounted /usr, and a > local /usr/local. (I'd also have read-only nullfs-mounted /bin, /lib, > /libexec, but let's forget about that for now.) > > This way, I can upgrade the master /usr once, in one place, and have all > jails inherit it. And my dear jail inmates can install anything in > /usr/local (such as their favourite packages/ports). > > I.e., things should look like this: > > /myjail/ zfs > /myjail/usr nullfs ro > /myjail/usr/local zfs > > There is no problem to make this happen by issuing a handful of commands > manually after boot, but I cannot seem to get it to work automatically, > with existing boot mechanism. The problem is that the mount of /usr > will be attempted before ZFS has mounted /myjail, the jail's root. > > ZFS maintains its own mount table. It is possible to disable the > automated mounting in ZFS by specifying the pseudo mountpoint "legacy", > and then--according to the FreeBSD manual--mount it with mount(8). > Unfortunately, FreeBSD's mount seems unable to perform mounts of ZFS > volumes. > > How can I achieve the result I want after a reboot? > > > (The reply "use ezjail!" is not the right one. :-) It does not do what > I want to do. I dislike its symlink forest, and that it creates just > one ZFS filesystem for the entire jail.) > > -- > Torbj?rn > _______________________________________________ > 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" > use zfs mount/imount From kraduk at gmail.com Fri Sep 24 18:23:24 2010 From: kraduk at gmail.com (krad) Date: Fri Sep 24 18:23:31 2010 Subject: Mount order for ZFS, jails, and nullfs In-Reply-To: References: <867hibxh6t.fsf@shell.gmplib.org> Message-ID: On 24 September 2010 18:52, krad wrote: > > > On 24 September 2010 17:03, Torbjorn Granlund wrote: > >> In jails, I'd like a local ZFS /, a read-only nullfs-mounted /usr, and a >> local /usr/local. (I'd also have read-only nullfs-mounted /bin, /lib, >> /libexec, but let's forget about that for now.) >> >> This way, I can upgrade the master /usr once, in one place, and have all >> jails inherit it. And my dear jail inmates can install anything in >> /usr/local (such as their favourite packages/ports). >> >> I.e., things should look like this: >> >> /myjail/ zfs >> /myjail/usr nullfs ro >> /myjail/usr/local zfs >> >> There is no problem to make this happen by issuing a handful of commands >> manually after boot, but I cannot seem to get it to work automatically, >> with existing boot mechanism. The problem is that the mount of /usr >> will be attempted before ZFS has mounted /myjail, the jail's root. >> >> ZFS maintains its own mount table. It is possible to disable the >> automated mounting in ZFS by specifying the pseudo mountpoint "legacy", >> and then--according to the FreeBSD manual--mount it with mount(8). >> Unfortunately, FreeBSD's mount seems unable to perform mounts of ZFS >> volumes. >> >> How can I achieve the result I want after a reboot? >> >> >> (The reply "use ezjail!" is not the right one. :-) It does not do what >> I want to do. I dislike its symlink forest, and that it creates just >> one ZFS filesystem for the entire jail.) >> >> -- >> Torbj?rn >> _______________________________________________ >> 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" >> > > > use zfs mount/imount > whops s/i/u/ From nightrecon at hotmail.com Fri Sep 24 18:47:01 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Fri Sep 24 18:47:05 2010 Subject: Trouble enabling GD in php/apache References: Message-ID: Andy Wodfer wrote: > I'm running FreeBSD 8.0 RELEASE. > > I can't get GD enabled. I have installed latestes php5 from ports aswell > as php5-extensions and enabled GD on the option screen: > > cd /usr/ports/lang/php5 > make deinstall > make clean > make rmconfig > make install clean > > cd /usr/ports/lang/php5-extensions > make deinstall > make clean > make rmconfig > make install clean > > I'm running the latest Apache 2.2.x version and GD 2.0.35. > > I'm currently doing a portupgrade -a to see if that helps, but I think > not. > > What's the correct way of getting GD to work on Ie. a webshop (opencart)? > I'm having the exact same problem. Have done the above manual rebuild/reinstall for php52-gd and gd. Have done portupgrade -fr php52-gd so far, but got called away before I tried the -fr on gd so it would rebuild the jpeg/png libraries. Was going to try that next. The .so is present in the correct location, the line is present in php.ini and phpinfo, pgp -m, and php -i all show the module loaded. I run PHP here as FastCGI and everything but gd works as expected. httpd-error.log is only showing me this: [Thu Sep 23 18:22:06 2010] [error] [client 192.168.10.2] Premature end of script headers: antibot_image.php, referer: https://flintriver.test.zip/help.php?section=contactus&mode=update [Thu Sep 23 18:22:08 2010] [error] mod_fcgid: process /usr/local/bin/php- cgi(1317) exit(communication error), get unexpected signal 6 Had this problem once before a long time ago and the rebuild/reinstall dance took care of it at that time and I forgot about it. This time seems different somehow and running out of ideas fast. -Mike From leif.walsh at gmail.com Fri Sep 24 19:22:13 2010 From: leif.walsh at gmail.com (Leif Walsh) Date: Fri Sep 24 19:22:17 2010 Subject: Linux filesystems accessible from FreeBSD 8-stable? In-Reply-To: References: Message-ID: On Fri, Sep 24, 2010 at 2:04 PM, krad wrote: > Im not 100% sure? (probably about 60% actually) but cant you mount ext4 as > ext2? From what i vaguly remember there will be some limitations but its > worth having a look # mount -t ext2fs /dev/ad4p1 /mnt mount: /dev/ad4p1 : Invalid argument Unless there's something I'm missing, nope. ext3 works because the only difference between it and ext2 is the journal, I believe the on-disk format of ext4 is different (though maybe I'm wrong and the bsd drivers for ext2 just are too conservative?). -- Cheers, Leif From cwhiteh at onetel.com Fri Sep 24 19:36:43 2010 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Fri Sep 24 19:36:48 2010 Subject: which perl? In-Reply-To: References: <4C9B8360.6090100@onetel.com> Message-ID: <4C9CFDC9.5030707@onetel.com> Alejandro Imass wrote: > On Thu, Sep 23, 2010 at 12:42 PM, Chris Whitehouse wrote: >> Hi, >> >> Todays ports tree has lang/perl5.10 and lang/perl5.12. A new 8.1-RELEASE >> jail in tinderbox using this ports tree is using perl5.10 by default. Should >> I leave this as is or should I be using 5.12? >> > > IMHO 5.10 is new enough! But the great thing about the Perl community > is that it usually respects previous versions not like some other > crazy, irresponsible "communities" such as PHP who can break your code > from 5.2 to 5.3. Doesn't sound like there are strong reasons for going for 5.12 so I'll stick with the default. thanks Chris From frank at shute.org.uk Fri Sep 24 19:48:04 2010 From: frank at shute.org.uk (Frank Shute) Date: Fri Sep 24 19:48:07 2010 Subject: Linux filesystems accessible from FreeBSD 8-stable? In-Reply-To: References: Message-ID: <20100924194800.GA18130@orange.esperance-linux.co.uk> On Thu, Sep 23, 2010 at 01:59:40PM -0400, Leif Walsh wrote: > > I can't seem to get a definitive answer on this from the internet, > there's a lot of conflicting information. > > I have some data drives formatted with ext4, which I'd like to access > from freebsd, preferably without totally reformatting because I don't > have much temp space for copying. Read-only would be fine, read-write > would be much preferred. > > Is this possible? Am I missing the big "ext4 drivers in > freebsd/fuse/something" sign? Does anyone happen to know if it's > possible to migrate an ext4 drive back to ext3, which it seems I can > access from bsd if I let it pretend the journal doesn't exist? > Wikipedia seems to think you're right in thinking you can migrate (or mount only?) an ext4 as ext3: http://en.wikipedia.org/wiki/Ext4 AFAIK and I stand to be corrected, in FreeBSD you mount ext3 as ext2. Whether you can mount ext4 as ext2; I don't know and I can't test. But it looks like you can't: http://forums.freebsd.org/archive/index.php/t-3377.html and this Status report suggests support is being written: http://www.freebsd.org/news/status/report-2009-04-2009-09.html You might wan't to drop the guy who was hoping to do it (Aditya Sarawgi) an email. ext3 can be read and written to on FreeBSD but the journal becomes out of date which is corrected when you boot up Linux and mount the filesystems as ext3. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From dfunk6 at cox.net Fri Sep 24 20:05:52 2010 From: dfunk6 at cox.net (Derek Funk) Date: Fri Sep 24 20:05:56 2010 Subject: Filesystems Message-ID: <4C9D0499.3050908@cox.net> There was a post some time ago someone was complaining that FreeBSD still uses and archaic filesystem and not a new FS like ext4. Some replied, seeming like a code contributor, with a very sounded reply. What is that reply? Derek From drizzt321 at gmail.com Fri Sep 24 20:13:56 2010 From: drizzt321 at gmail.com (Aaron) Date: Fri Sep 24 20:14:01 2010 Subject: Linux filesystems accessible from FreeBSD 8-stable? In-Reply-To: References: Message-ID: On Fri, Sep 24, 2010 at 12:21, Leif Walsh wrote: > On Fri, Sep 24, 2010 at 2:04 PM, krad wrote: >> Im not 100% sure? (probably about 60% actually) but cant you mount ext4 as >> ext2? From what i vaguly remember there will be some limitations but its >> worth having a look > > ?# mount -t ext2fs /dev/ad4p1 /mnt > mount: /dev/ad4p1 : Invalid argument > > Unless there's something I'm missing, nope. ?ext3 works because the > only difference between it and ext2 is the journal, I believe the > on-disk format of ext4 is different (though maybe I'm wrong and the > bsd drivers for ext2 just are too conservative?). > > -- > Cheers, > Leif > _______________________________________________ > 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" > Doesn't look like you can mount an ext4 as ext2/3 if you have extents enabled, which is probably enabled by default if you create a new filesystem. >From https://ext4.wiki.kernel.org/index.php/Frequently_Asked_Questions#Can_I_mount_existing_Ext3_as_Ext4.3F_And_vice_versa.3F_Similarly_from_Ext2_to_Ext4_and_its_reverse.3F "Once you have enabled extents or created a journal on a former ext2 filesystem, it is an ext4 filesystem and cannot be reverted to ext2." >From http://en.wikipedia.org/wiki/Ext4#Features Under "Backward compatibility" header "However, if the ext4 partition uses extents (a major new feature of ext4), then the ability to mount the file system as ext3 is lost. --Aaron From ertr1013 at student.uu.se Fri Sep 24 20:20:23 2010 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Fri Sep 24 20:20:27 2010 Subject: Linux filesystems accessible from FreeBSD 8-stable? In-Reply-To: <20100924194800.GA18130@orange.esperance-linux.co.uk> References: <20100924194800.GA18130@orange.esperance-linux.co.uk> Message-ID: <20100924201944.GA8385@owl.midgard.homeip.net> On Fri, Sep 24, 2010 at 08:48:00PM +0100, Frank Shute wrote: > On Thu, Sep 23, 2010 at 01:59:40PM -0400, Leif Walsh wrote: > > > > I can't seem to get a definitive answer on this from the internet, > > there's a lot of conflicting information. > > > > I have some data drives formatted with ext4, which I'd like to access > > from freebsd, preferably without totally reformatting because I don't > > have much temp space for copying. Read-only would be fine, read-write > > would be much preferred. > > > > Is this possible? Am I missing the big "ext4 drivers in > > freebsd/fuse/something" sign? Does anyone happen to know if it's > > possible to migrate an ext4 drive back to ext3, which it seems I can > > access from bsd if I let it pretend the journal doesn't exist? > > > > Wikipedia seems to think you're right in thinking you can migrate (or > mount only?) an ext4 as ext3: > > http://en.wikipedia.org/wiki/Ext4 Well, not quite. That article says: The ext3 file system is partially forward compatible with ext4, that is, an ext4 filesystem can be mounted as an ext3 partition (using "ext3" as the filesystem type when mounting). However, if the ext4 partition uses extents (a major new feature of ext4), then the ability to mount the file system as ext3 is lost. So, if an ext4 filesystem can be mounted as ext3 (and presumably as ext2 since ext3 filesystems can be mounted as ext2) seems to depend on how the ext4 filesystem was created/used. -- Erik Trulsson ertr1013@student.uu.se From freebsd-questions-local at be-well.ilk.org Fri Sep 24 20:47:18 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri Sep 24 20:47:22 2010 Subject: Media Packages Vs. Ports In-Reply-To: (Rick Miller's message of "Fri, 24 Sep 2010 10:54:36 -0400") References: <90e6ba4883cb50e1500490c7b441@google.com> Message-ID: <44k4ma50od.fsf@be-well.ilk.org> Rick Miller writes: > On Tue, Sep 21, 2010 at 3:55 PM, Adam Vande More wrote: >> On Tue, Sep 21, 2010 at 11:41 AM, wrote: >>> >>> ?Is it possible to take a port, make a package of it and put it in the >>> packages directory of my own media? >> >> Sure it's easy.? When build a port you can issue a make package command, or >> you can use pkg_create to create packages from installed ported.? A common >> approach to this is build all your updates in a jail, make packages of them, >> then delete package from the host and install the newly built ones from the >> jail.? Very small, if any downtime.? You can use the jail to create pkg's >> for a custom repository too. > > I've created the package and copied it to the networked media. How do > I edit the INDEX file so that it knows how to get the file? I'm not sure what you're saying here, but I think what you want is just to set the PACKAGEROOT variable. If you want to create your own install disks, the release(7) manual will point you in the right direction. If you're doing a network install, you need to lay out the package directories the same way as the install media. From PMahan at adaranet.com Fri Sep 24 21:02:31 2010 From: PMahan at adaranet.com (Patrick Mahan) Date: Fri Sep 24 21:02:34 2010 Subject: Attempting to use the kernel debugger over the serial port not working (well) Message-ID: <32AB5C9615CC494997D9ABB1DB12783C024C95063B@SJ-EXCH-1.adaranet.com> All, Cannot seem to find anything on the net to collaborate my experience with remote KGDB over a serial port. Here is my setup - ----------------+--------------------------+-------------------------+------------------- | | | bce0 eth1 bce0 | | | +-----------+--------------+ +-------+--------+ +-----------+-----------+ | HP Proliant GL360 G5 | | Cyclades ACS32 | | HP Proliant GL360 G5 | +-------------------+------+ +----+-----------+ +-----------------------+ | | ttyu0(uart0) port 28 | | +---------------+ The Cyclades is a 32 port terminal server that has serial port 28 connected to the DB9 locate on the back of the HP server. I am running KGDB inside of an emacs session on the Sony Vaio. The HP's are running in 64-bit (amd64) FreeBSD 8.0. The uart0 on the target is configured as (from dmesg.boot): uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x90 on acpi0 uart0: [FILTER] uart0: console (9600,n,8,1) The Cyclades port is configured the same. My kernel is built with the following options: options KDB options DDB options GDB The kernel is built with -O2 -g In /boot/loader.conf I have the following lines: console="comconsole vidconsole" comconsole_speed=9600 hint.uart.0.flags="0x90" I invoke the kernel debugger on the target using: 'sysctl debug.kdb.enter=1' Which gets me to the DB> prompt where I enter the following: DB>gdb Step to enter the gdb debugger DB>s I am invoking KGDB inside of emacs on the build server in the 'obj' tree where the kernel build is located. kgdb -fullname kernel.debug Once I have the gdb prompt, I enter the following target command: target remote 10.10.29.111:7028 Where 10.10.29.111 is the address of the Cyclades and port 7028 connects me to serial port 28 on the Cyclades. This brings up the kernel with the break point. I then set my break point(s) and enter 'c' to continue. Sometimes the break points fire, sometimes they don't. However, in some indeterminant time (seconds) I start seeing the following on the Video console (not the serial one). Fatal double fault rip = 0xffffffff8055bdc4 rsp = 0xffffff8078405000 rbp = 0xffffff8078405000 cpuid = 1; apic id = 01 panic: double fault cpuid = 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a kdb_backtrace() at kdb_backtrace+0x32 mi_switch() at mi_switch+0x70 sched_bind() at sched_bind+0x60 boot() at boot+0x45 panic() at panic+0x1f2 dblfault_handler() at dblfault_handler+0xab Xdblfault() at Xdblfault+0xac --- trap 0x17, rip = 0xffffffff8055bdc4, rsp = 0xffffff8000017ff0, rbp = 0xffffff8078405000 --- _thread_lock_flags() at _thread_lock_flags+0x4 critical_exit() at critical_exit+0x5d spinlock_exit() at spinlock_exit+0x17 mi_switch() at mi_switch+0x6b Then it repeats over and over again, the box becomes unresponsive and I am unable to proceed. My googling turned up this issue only in relation to lock order reversals, but I am not seeing that issue here and I don't have the kernel compiled with 'options WITNESS'. Any pointers would be appreciated. Thanks, Patrick From m.seaman at infracaninophile.co.uk Fri Sep 24 21:13:35 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Sep 24 21:13:39 2010 Subject: Filesystems In-Reply-To: <4C9D0499.3050908@cox.net> References: <4C9D0499.3050908@cox.net> Message-ID: <4C9D146C.10009@infracaninophile.co.uk> On 24/09/2010 21:05:45, Derek Funk wrote: > There was a post some time ago someone was complaining that FreeBSD > still uses and archaic filesystem and not a new FS like ext4. Some > replied, seeming like a code contributor, with a very sounded reply. > What is that reply? ZFS or words to that effect. Linux has nothing comparable. Cheers, Matthew Not that UFS2 comes off badly when compared to ext{3,4}. There's something pretty dodgy about a filesystem that insists on being fsck'd every 180 days or 30 remounts. -- 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/20100924/fe4239f3/signature.pgp From lumiwa at gmail.com Fri Sep 24 21:20:55 2010 From: lumiwa at gmail.com (ajtiM) Date: Fri Sep 24 21:21:01 2010 Subject: automake Message-ID: <201009241620.43212.lumiwa@gmail.com> Today I tried on my FreeBSD 8.0 portmaster -ad ===>>> Gathering distinfo list for installed ports ===>>> Starting check of installed ports for available updates ===>>> The devel/automake15 port has been deleted: Outdated, ports migrated to automake19 ===>>> Aborting update Thanks in advance. Mitja -------- http://starikarp.redbubble.com From repcsike at gmail.com Fri Sep 24 21:26:20 2010 From: repcsike at gmail.com (=?ISO-8859-1?B?QmFs4XpzIE3hdOlmZnk=?=) Date: Fri Sep 24 21:26:23 2010 Subject: automake In-Reply-To: <201009241620.43212.lumiwa@gmail.com> References: <201009241620.43212.lumiwa@gmail.com> Message-ID: Hi, Try this: portmaster -od /usr/ports/devel/automake19/ automake-1.4.6_5 or your automake version, look it up with "pkg_info | grep automake" Hope this helps! If needed try to update everything that was depending on automake! BR, Balazs. On 24 September 2010 23:20, ajtiM wrote: > Today I tried on my FreeBSD 8.0 > > portmaster -ad > ===>>> Gathering distinfo list for installed ports > > ===>>> Starting check of installed ports for available updates > > ===>>> The devel/automake15 port has been deleted: Outdated, ports migrated > to > automake19 > ===>>> Aborting update > > Thanks in advance. > > Mitja > -------- > http://starikarp.redbubble.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 eoakes at comcast.net Fri Sep 24 22:52:15 2010 From: eoakes at comcast.net (tom oakes) Date: Fri Sep 24 22:52:48 2010 Subject: Writing to MBR Message-ID: <4C9D19E3.4040004@comcast.net> Hello, I have done a clean install of freebsd 8.1 on /dev/ad4s1a with the following: # Intel Core 2 Duo Dual-Core E6300 2.8GHz 1066MHz 2MB Cache Processor # ASRock G31M-S R2.0 Core 2 Quad/ Intel G31/ FSB 1600(OC)/ DDR2/ A&V&L/ MATX Motherboard # 4GB (2X2GB) DDR2-1066 PC2 8500 Dual Channel # Hitachi / WD 1TB 7200 RPM 32MB CACHE SATA 3.0Gb/s # kern.geom.debugflags=15160 Gb Disk on IDE Slave I added X11, KDE3, emacs, and BASH from ports or packages. /dev/ad4 has 4 slices of about 240GB. Freebsd is installed on the entire first slice. File system is ufs2 on /dev/ad4s1 and /dev/ad4s2. the other 2 slices do not have a filesystem installed. I did a tar of the / to an external usbdisk. I decided to install GRUB. (I really didn't need it, the bsd boot loader is working. But like the way it looks and it is easy to modify) I installed grub from the port and copied the required files to /boot/grub. I created a menu.lst in /boot/grub. I created a bootable grub cd which boots the operating system. I then tried to copy stage1 to the MBR with: fdisk -B -b /boot/grub/stage1 ad4 2 prompts: one to write to MBR, which I answered 'y', and the other to modify the partition table that I answered 'n'. I tried this from the hard disk boot, my grub bootable cd, and the freebsd livecd. None wrote to the MBR. The freebsd bootloader was still loaded. I found a post that said to do a sysctl kern.geom.debugflag=16 I tried again. Still didn't work. I found a post that said for version 8.0 or 8.1 it needed to be 17. I tried that and it still didn't work. I found a post that said to do a gpart -bootcode -B /boot/grub/stage1 ad4 and got a message "ad4 has bootcode" I did this both before and after doing the sysctl with 16 and 17. It seems to me that writing the stage1 file to the MBR should be straight forward, so I must be missing something simple. I don't have a critical problem, I can still boot from the freebsd bootloader or from my grub cd. After chasing my tail for a couple of days trying to get grub working, I hate to just give up. Thanks in advance for any help you can give me Tom From the.real.david.allen at gmail.com Fri Sep 24 23:04:47 2010 From: the.real.david.allen at gmail.com (David Allen) Date: Fri Sep 24 23:04:51 2010 Subject: Multiple Machines Message-ID: Multiple Machines This is sort of a "best practices" kind of question so all comments are welcome. I'm wondering what folks are doing when setting up multiple (more than 1, but less than 10) machines. Consider, for example, some ordinary files such as the following: /root/.cshrc /root/.bashrc # toor account /root/.bash_profile # toor account /home/username/.bashrc /home/username/.bash_profile /etc/make.conf /etc/src.conf /etc/fstab # nfs mount entries /etc/resolv.conf /etc/ntp.conf Some files are identical, some require different permissions, and some (like fstab) consist of customizations that need to be added. Short of enabling root ssh logins or writing makefiles, what would be the best approach to handing the above? Thanks. From dteske at vicor.com Sat Sep 25 00:11:17 2010 From: dteske at vicor.com (Devin Teske) Date: Sat Sep 25 00:11:21 2010 Subject: Media Packages Vs. Ports In-Reply-To: References: <90e6ba4883cb50e1500490c7b441@google.com> Message-ID: <1285373457.15590.3.camel@localhost.localdomain> On Fri, 2010-09-24 at 10:54 -0400, Rick Miller wrote: > I've created the package and copied it to the networked media. How do > I edit the INDEX file so that it knows how to get the file? HINT: If you created the package from the ports tree, you can say "make describe" in the package's top-level port directory (e.g. /usr/ports/pkg_origin/some_pkg). This will produce a line that can be added to the INDEX file without much modification, if any. In addition, here's a guide that I wrote long ago: HOWTO: Interpret the obfuscated `INDEX' file located on FreeBSD CD-ROMs. AUTHOR: Devin Teske DATE: January 1st, 2006 LAST MODIFIED: February 24th, 2006 09:45:54 PURPOSE: This file documents the file format of `/packages/INDEX' file located on FreeBSD installation CD-ROMs and conveys what it is used for (and its importance). 1. Foreword 2. The INDEX File 3. The FreeBSD INDEX File Format 3a. FreeBSD-5.2 and FreeBSD-4.10 or Lower 3b. FreeBSD-5.3 and FreeBSD-4.11 or Higher 3c. FreeBSD-6.0 or Higher 4. Field Definitions 5. Field Population 6. References =============================================================================== 1. FOREWORD This document describes the format of the `/packages/INDEX' file located on the FreeBSD installation CD-ROM. Depending on which FreeBSD release version you are working with, the format may vary. Documented below you will find 3 versions commonly used. Common between each version, is that each line (delimited by the new- line character) corresponds to a singl e package (found in `packages/All'). It is possible to have additional fields beyond the last field (for custom purposes) as they will be ignored by sysinstall. =============================================================================== 2. THE INDEX FILE The INDEX file (located on the FreeBSD installation CD-ROMs) is a file that is read by sysinstall (see sysinstall(8)) for the installation of ancillary packages (located in `/packages'). When sysinstall displays an interactive menu for the selection of these packages, it uses the INDEX file (located at `/packages/INDEX') to display information such as the package name, the package description, and what categories to place it in. If sysinstall is scripted, then the interactive menu may or may not be invoked (if not, then the categories/description fields may be omitted). When sysinstall is in the process of installing the packages, it first makes sure that all the run-dependencies (listed in the INDEX file for that package) are installed. If a package that is listed in the `run-deps' field is not installed, sysinstall installs it before installing the requested package. After installing any dependent packages (recursively), sysinstall then unpacks the requested package and reads its packing-list (the `+CONTENTS' file within the package tarball). All package dependencies listed inside the package's packing-list MUST be installed before-hand or else sysinstall will generate an error. Therefore, all package dependencies that appear in the packing list MUST be present in the `run-deps' field of the INDEX file. There reverse is not true, however. A dependency may appear in the INDEX file and not in the package's packing-list. =============================================================================== 3. THE FREEBSD INDEX FILE FORMAT 3a. FREEBSD-5.2 AND FREEBSD-4.10 OR LOWER package|port-origin|install-prefix|comment|port-desc-file|maintainer| \ categories|build-deps|run-deps|www-site 3b. FREEBSD-5.3 AND FREEBSD-4.11 OR HIGHER package|port-origin|install-prefix|comment|port-desc-file|maintainer| \ categories|build-deps|run-deps|www-site|unknown|unknown|unknown I have never seen the 11th, 12th, or 13th field populated. So their purpose remains unknown. 3c. FREEBSD-6.0 OR HIGHER package|port-origin|install-prefix|comment|port-desc-file|maintainer| \ categories|build-deps|run-deps|www-site|unknown|unknown|unknown|disc =============================================================================== 4. FIELD DEFINITIONS package This is the name of the package. This should be the name of the file as it appears in `/packages/All' without the `.tgz' suffix. This value is used for finding the package tarball and is also displayed in the left- hand column of the interactive package selection menu of sysinstall. port-origin The package origin (as a qualified pathname). Basically, this is the origin of the package with a `/usr/ports/' prefix. Even if you do not install the Ports Collection (which installs Makefiles and other infor- mation), this should be populated respectively. install-prefix The base directory where the package will install it's files to. For example, if the package installs files into `/usr/local/bin' and `/usr/local/sbin' then the install-prefix would be `/usr/local'. This is an informational value (the package's packing-list takes precedence). comment This is the one-line comment for the package. This should be the same as the contents of the `+COMMENT' file located within the package tarball. This value is displayed in the right-hand column of the interactive package selection menu of sysinstall. desc-file When you install the Ports Collection the `/usr/ports' directory is populated with Makefiles and other information. This value should be the path to the description file for the package. This is only used when you install the FreeBSD Ports Collection. maintainer The e-mail address of the package maintainer. categories Within the `/packages' directory of the CD-ROM, you will find (besides the INDEX file) several directories. The actual package should always reside in the `All' directory (as this is where sysinstall looks for it) However, finding the package you want/need can become quite cumbersome if you have to sift through every package in one directory. To ease the process of finding a specific package, you can populate this field with several categories (sub-directories) that the package can be found in. When sysinstall's interactive package selection menu is invoked (either by a script or simply interactively) it allows a user to browse several categories to find a specific package. This field dictates to sysinstall which categories (delimited by a space) the package is available in. When you specify a category (sub-directory), the simplest (and most efficient) thing to do is, create a symbolic link in the category directory ( in `/packages' ) pointing to the actual package ( in `/packages/All'). build-deps These are the dependencies (names of packages delimited by a space) that this package requires to be built. This is used if you install the FreeBSD Ports Collection. run-deps These are the dependencies (names of packages delimited by a space) that this package requires to run. Any package listed here will be installed by sysinstall before the package is even attempted to be installed. See section 2 paragraph 3 for more information. www-site Either the website URL of where the package can be obtained, the package maintainer, or the website URL of the item that the package installs. unknown If a field has been marked `unknown' in section 3, it is because I have never seen it populated and thus never used. These fields can be left empty without any recourse. disc The disc that the package can be found on (in a multi-disc distribution of the FreeBSD installation). This is a new feature of FreeBSD-6.0 Other distributions (such as FreeBSD-4.8 and FreeBSD-4.11 do not list packages in the INDEX file unless it appears on the same CD-ROM). =============================================================================== 5. FIELD POPULATION Below you will find various ways that you can use to populate the formats listed in section 3 given nothing more than a package tarball. NOTE: these commands must be run on a FreeBSD distribution (as Linux and other UNIX distributions do not have the `pkg_info' command). package - file_name without `.tgz' suffix port-path - echo /usr/ports/`pkg_info -qo file` install-prefix - pkg_info -qp file | head -n1 | sed -e 's/^@cwd //' comment - pkg_info -qI file desc-file - echo /usr/ports/`pkg_info -qo file`/pkg-descr maintainer - echo ports@FreeBSD.org categories - find . -type l -name FILE | \ sed -e 's/^\.\/\(.*\)\/[^\/]*$/\1/' | tr '\n' ' ' build-deps - pkg_info -qr file | sed -e 's/^@pkgdep //' | tr '\n' ' ' run-deps - pkg_info -qr file | sed -e 's/^@pkgdep //' | tr '\n' ' ' www-site - pkg_info -qd file | grep '^WWW: ' | sed -e 's/^WWW: //' disc - the disc that the package resides on =============================================================================== 6. REFERENCES The information in this document is the result of many hours of reverse- engineering and testing. Little or no sources on this topic have been found online. Even when the subject matter was found online, the amount of information on the topic was anemic. -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> FUN STUFF <- -----BEGIN GEEK CODE BLOCK----- Version 3.1 GAT/CS d(+) s: a- C++(++++) UB++++$ P++(++++) L++(++++) !E--- W++ N? o? K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R>++ tv(+) b+(++) DI+(++) D(+) G+>++ e>+ h r>++ y+ ------END GEEK CODE BLOCK------ http://www.geekcode.com/ -> END TRANSMISSION <- From perrin at apotheon.com Sat Sep 25 01:48:16 2010 From: perrin at apotheon.com (Chad Perrin) Date: Sat Sep 25 01:48:18 2010 Subject: Erlang and Java Message-ID: <20100925014410.GA23892@guilt.hydra> Does anyone know of a reason that installing lang/erlang would fail if a java/diablo-jdk port failed to install? Correct me if I'm wrong, but the Erlang VM really should *not* depend on Java. Right? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100925/2a31649e/attachment.pgp From vogelke+unix at pobox.com Sat Sep 25 02:11:26 2010 From: vogelke+unix at pobox.com (Karl Vogel) Date: Sat Sep 25 02:11:29 2010 Subject: Multiple Machines In-Reply-To: (message from David Allen on Fri, 24 Sep 2010 15:04:45 -0800) References: Message-ID: <20100925015049.38206BF5F@kev.msw.wpafb.af.mil> >> On Fri, 24 Sep 2010 15:04:45 -0800, >> David Allen said: D> I'm wondering what folks are doing when setting up multiple (more than D> 1, but less than 10) machines. Consider, for example, some ordinary D> files such as the following: D> /root/.cshrc /home/username/.bashrc The first thing I'd recommend for root and home dotfiles is placing them under revision control. I'm (slowly) moving to GIT, but for now RCS does the trick just fine: me% echo $RCSINIT -zLT me% ident .vimrc .zshrc .vimrc: $Revision: 1.40 $ $Date: 2010-08-16 15:02:52-04 $ $Source: /home/vogelke/RCS/.vimrc,v $ $Host: example.org $ $UUID: a4f4bf9d-514d-37c7-a0e1-04b41434e869 $ .zshrc: $Revision: 1.21 $ $Date: 2010-09-24 20:13:04-04 $ $Source: /home/vogelke/RCS/.zshrc,v $ $Host: example.org $ $UUID: da56ec7f-14be-39b5-8583-d31b5afb80eb $ I use the RCSINIT environment variable to prepend "-zLT" to the argument list for rcs commands so I get dates in localtime with the timezone appended. A short script called "mkrcs" creates the RCS strings shown above; I like including the FQDN of the host on which the file was created, along with a random UUID. After I get a set of dotfiles I'm happy with, I usually make separate tarballs for regular users and root. D> /etc/fstab /etc/resolv.conf /etc files go under revision control with an extra step; just after installation, back up /etc. root# cd /etc root# mkdir /etc.orig root# find . -depth -print | pax -rwd -pe /etc.orig I also get a signature of all installed files: root# cd / root# find . -type f -print | grep -v '^./proc/' | sort | xargs md5 -r This goes in /root/orig.md5 after stripping out /tmp, /var/tmp, /var/log, /var/run, etc. D> Some files are identical, some require different permissions, and some D> (like fstab) consist of customizations that need to be added. Short of D> enabling root ssh logins or writing makefiles, what would be the best D> approach to handing the above? Any system I maintain gets a directory called "/doc/sitelog/hostname". Tarballs, patches, etc. all go under that directory. If I upgrade a system or install a similar one, the tarballs and patches handle most of the gruntwork. I use a script like the one below to figure out what files I've added to (or removed from) /etc and make patches for the modified files. Patches go in their own /tmp/work$$ directory and look like this: root# cat /tmp/work81394/etc-shells *** /etc.orig/shells Sun May 7 00:00:23 2006 --- /etc/shells Wed Sep 9 21:06:04 2009 *************** *** 6,9 **** --- 6,13 ---- /bin/sh /bin/csh + /bin/ksh /bin/tcsh + /bin/bash + /usr/local/bin/ksh + /usr/local/bin/zsh -- Karl Vogel I don't speak for the USAF or my company Hopefully digesting of this tasty post would not cause too much of farting. --Yaroslav Halchenko, after reading a good debian-users message --------------------------------------------------------------------------- #!/bin/sh # $flist echo "results in $work" >$2 for x in `cat $flist` do cur="/etc/$x" orig="/etc.orig/$x" if test -f "$cur" -a -f "$orig"; then patch=`echo $cur | sed -e 's!^/!!' -e 's!/!-!g'` cmp -s $orig $cur || diff -c $orig $cur > $work/$patch elif test -f "$cur"; then echo ADD: $cur elif test -f "$orig"; then echo DEL: $cur fi done rm $flist exit 0 From z_axis at 163.com Sat Sep 25 05:05:07 2010 From: z_axis at 163.com (zaxis) Date: Sat Sep 25 05:05:11 2010 Subject: Erlang and Java In-Reply-To: <20100925014410.GA23892@guilt.hydra> References: <20100925014410.GA23892@guilt.hydra> Message-ID: <29804352.post@talk.nabble.com> Erlang doesnot depend on java. I have installed erlang sucessfully just by `make install clean` without java. Chad Perrin wrote: > > Does anyone know of a reason that installing lang/erlang would fail if a > java/diablo-jdk port failed to install? Correct me if I'm wrong, but the > Erlang VM really should *not* depend on Java. Right? > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > > > ----- e^(??i) + 1 = 0 -- View this message in context: http://old.nabble.com/Erlang-and-Java-tp29803843p29804352.html Sent from the freebsd-questions mailing list archive at Nabble.com. From cyberleo at cyberleo.net Sat Sep 25 06:47:31 2010 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Sat Sep 25 06:47:34 2010 Subject: Mount order for ZFS, jails, and nullfs In-Reply-To: <867hibxh6t.fsf@shell.gmplib.org> References: <867hibxh6t.fsf@shell.gmplib.org> Message-ID: <4C9D9B00.1030103@cyberleo.net> On 09/24/2010 11:03 AM, Torbjorn Granlund wrote: > ... > Unfortunately, FreeBSD's mount seems unable to perform mounts of ZFS > volumes. Sure, it can: ----8<---- (f84104b2)[root@akisha ~]# zfs create akisha/mnttmp (f84104b2)[root@akisha ~]# touch /zfs/akisha/mnttmp/test (f84104b2)[root@akisha ~]# ls -l /zfs/akisha/mnttmp total 1 -rw-r--r-- 1 root wheel - 0 Sep 25 01:39 test (f84104b2)[root@akisha ~]# zfs set mountpoint=legacy akisha/mnttmp (f84104b2)[root@akisha ~]# ls -l /zfs/akisha/mnttmp ls: /zfs/akisha/mnttmp: No such file or directory (f84104b2)[root@akisha ~]# mount -t zfs akisha/mnttmp /mnt/tmp (f84104b2)[root@akisha ~]# ls -l /mnt/tmp total 1 -rw-r--r-- 1 root wheel - 0 Sep 25 01:39 test (f84104b2)[root@akisha ~]# umount /mnt/tmp (f84104b2)[root@akisha ~]# ls -l /mnt/tmp total 0 (f84104b2)[root@akisha ~]# ----8<---- On 8.1-RELEASE. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From peter at boosten.org Sat Sep 25 07:33:04 2010 From: peter at boosten.org (Peter Boosten) Date: Sat Sep 25 07:33:07 2010 Subject: Filesystems In-Reply-To: <4C9D146C.10009@infracaninophile.co.uk> References: <4C9D0499.3050908@cox.net> <4C9D146C.10009@infracaninophile.co.uk> Message-ID: <4C9DA5AA.4020606@boosten.org> On 24-9-2010 23:13, Matthew Seaman wrote: > On 24/09/2010 21:05:45, Derek Funk wrote: >> There was a post some time ago someone was complaining that FreeBSD >> still uses and archaic filesystem and not a new FS like ext4. Some >> replied, seeming like a code contributor, with a very sounded reply. >> What is that reply? > > ZFS > > or words to that effect. Linux has nothing comparable. > http://www.osnews.com/story/23416/Native_ZFS_Port_for_Linux :-) Peter -- http://www.boosten.org From m.seaman at infracaninophile.co.uk Sat Sep 25 07:38:38 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Sep 25 07:38:41 2010 Subject: Media Packages Vs. Ports In-Reply-To: <1285373457.15590.3.camel@localhost.localdomain> References: <90e6ba4883cb50e1500490c7b441@google.com> <1285373457.15590.3.camel@localhost.localdomain> Message-ID: <4C9DA6F0.3000007@infracaninophile.co.uk> On 25/09/2010 01:10:57, Devin Teske wrote: > HINT: If you created the package from the ports tree, you can say "make > describe" in the package's top-level port directory > (e.g. /usr/ports/pkg_origin/some_pkg). This will produce a line that can > be added to the INDEX file without much modification, if any. Not quite. The make describe output differs from the INDEX entry lines in two important ways: * make describe only includes the immediate dependencies of the port. The INDEX contains the sum, recursively, of the ports dependencies, the dependences of the dependencies, etc. etc. There are some subtleties to do with RUN_DEPENDS or LIB_DEPENDS, compared to BUILD_DEPENDS. * The dependency entries produced in the make describe output are directories in the ports tree, whereas the the INDEX uses the corresponding package names. eg. /usr/ports/www/apache22 vs (at the moment) apache-2.2.16_1 > When sysinstall is in the process of installing the packages, it first > makes sure that all the run-dependencies (listed in the INDEX file for that > package) are installed. If a package that is listed in the `run-deps' field > is not installed, sysinstall installs it before installing the requested > package. After installing any dependent packages (recursively), sysinstall > then unpacks the requested package and reads its packing-list (the > `+CONTENTS' file within the package tarball). All package dependencies > listed inside the package's packing-list MUST be installed before-hand or > else sysinstall will generate an error. Therefore, all package dependencies > that appear in the packing list MUST be present in the `run-deps' field of > the INDEX file. There reverse is not true, however. A dependency may appear > in the INDEX file and not in the package's packing-list. It's pkg_add(1) that does the dependency chasing in general -- and it doesn't need access to an INDEX file: pkg dependencies are recorded in the pkg file itself, and pkg_add knows how to fetch the dependencies from the same place the original pkg file came from. See pkg_add(1), particulary the description of the '-r' option and the ENVIRONMENT section. > =============================================================================== > > 3. THE FREEBSD INDEX FILE FORMAT > > 3a. FREEBSD-5.2 AND FREEBSD-4.10 OR LOWER > > package|port-origin|install-prefix|comment|port-desc-file|maintainer| \ > categories|build-deps|run-deps|www-site > > 3b. FREEBSD-5.3 AND FREEBSD-4.11 OR HIGHER > > package|port-origin|install-prefix|comment|port-desc-file|maintainer| \ > categories|build-deps|run-deps|www-site|unknown|unknown|unknown > > I have never seen the 11th, 12th, or 13th field populated. So their > purpose remains unknown. > > 3c. FREEBSD-6.0 OR HIGHER > > package|port-origin|install-prefix|comment|port-desc-file|maintainer| \ > categories|build-deps|run-deps|www-site|unknown|unknown|unknown|disc The unknown fields here are essentially the contents of the following make variables from the port: EXTRACT_DEPENDS PATCH_DEPENDS FETCH_DEPENDS Like the run and build depends, these are expanded to include the sum of all their dependencies. These fields are frequently empty, but they certainly aren't unused: % cut -d '|' -f 11 < INDEX-8 | grep '.' | wc -l 7129 % cut -d '|' -f 12 < INDEX-8 | grep '.' | wc -l 6173 % cut -d '|' -f 13 < INDEX-8 | grep '.' | wc -l 3 (that's out of about 22000 INDEX entries currently) > 6. REFERENCES > > The information in this document is the result of many hours of reverse- > engineering and testing. Little or no sources on this topic have been found > online. Even when the subject matter was found online, the amount of > information on the topic was anemic. I found the best resource was reading the code of the make-index script, here: http://www.freebsd.org/cgi/cvsweb.cgi/ports/Tools/make_index You can also look at my ports-mgmt/p5-FreeBSD-Portindex programs which have quite a lot of explanatory commenting. 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/20100925/cd610d1e/signature.pgp From m.seaman at infracaninophile.co.uk Sat Sep 25 07:45:28 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Sep 25 07:45:31 2010 Subject: Filesystems In-Reply-To: <4C9DA5AA.4020606@boosten.org> References: <4C9D0499.3050908@cox.net> <4C9D146C.10009@infracaninophile.co.uk> <4C9DA5AA.4020606@boosten.org> Message-ID: <4C9DA891.7030706@infracaninophile.co.uk> On 25/09/2010 08:32:58, Peter Boosten wrote: > On 24-9-2010 23:13, Matthew Seaman wrote: >> On 24/09/2010 21:05:45, Derek Funk wrote: >>> There was a post some time ago someone was complaining that FreeBSD >>> still uses and archaic filesystem and not a new FS like ext4. Some >>> replied, seeming like a code contributor, with a very sounded reply. >>> What is that reply? >> >> ZFS >> >> or words to that effect. Linux has nothing comparable. >> > > http://www.osnews.com/story/23416/Native_ZFS_Port_for_Linux > > :-) Yes. Quoting that very page: "There's still some major work to be done, so this is not production-ready code. The ZFS Posix Layer has not been implemented yet, therefore mounting file systems is not yet possible; direct database access, however, is. Supposedly, KQ Infotech is working on this, but it has been rather quiet around those parts for a while now." What use is a filesystem you can't mount? It might be a work in progress, but it isn't anywhere near done yet. The fact that there is so much enthusiasm for porting the FS despite the license incompatability just underlines the basic contention, that Linux has nothing comparable. 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/20100925/9463d30c/signature.pgp From mike.w.meyer at gmail.com Sat Sep 25 08:30:47 2010 From: mike.w.meyer at gmail.com (Mike Meyer) Date: Sat Sep 25 08:30:51 2010 Subject: Problems mounting nfs from freebsd to Mac. Message-ID: <20100925040118.7a020607@bhuda.mired.org> I've got an nfs server that's refusing to mount one client - via one route - and it's driving me crazy. The server is running 8.1-RELEASE, exporting a collection of zfs file systems. All the file systems are exported with the exact same flags. The clients are either FreeBSD or OSX boxes. Most of them work fine. One OSX box - updated to the latest snow leopard while trying to fix this - gets "permission denied" when it tries to mount the interesting fie systems. But only when using it's wired connection. If it connects via wifi to the same router (a cisco WRT610N running dd-wrt) everything works fine. As far as I know, there are only three reasons for an NFS server to refuse a mount request: 1) The exports file is borked somehow, 2) The server insists that the client use a privileged port, or 3) The IP address the request is coming from is disallowed. #1 isn't it - the file systems mount fine on other boxes. And they mount fine on the problem box via Wifi. #2 shouldn't be it - I'm running the server with -n turned on, and the mount works via wifi. #3 seems logical, but I only have one network enabled, and it's a *.0/25. The working addresses include .96, and .106, while the failing address is .105. So I'm not sure what's going on here. Running mountd with a -d flag generates no output at all when the request is denied. This makes me think I'm not looking in the right place. Relevant entries from rc.conf (nothing really fancy): nfs_server_enable="yes" nfs_server_flags="-u -t -n 4 -h $MY_IP" mountd_enable="yes" mountd_flags="-r -n -h $MY_IP" rpcbind_enable="YES" rpcbind_flags="-h $MY_IP" rpc_lockd_enable="YES" rpc_lockd_flags="-h $MY_IP" rpc_statd_enable="YES" rpc_statd_flags="-h $MY_IP" So, questions: if mountd isn't the issue (though it's issuing the denied messages), what is? Is there some reason I've overlooked for the permissions to be denied? Anything I can do to get more information out of mountd (or whatever is causing the problem)? Any other things I might try? Thanks, http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org -- Mike Meyer http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org From dfunk6 at cox.net Sat Sep 25 11:48:46 2010 From: dfunk6 at cox.net (Derek Funk) Date: Sat Sep 25 11:48:50 2010 Subject: Filesystems In-Reply-To: <4C9DA891.7030706@infracaninophile.co.uk> References: <4C9D0499.3050908@cox.net> <4C9D146C.10009@infracaninophile.co.uk> <4C9DA5AA.4020606@boosten.org> <4C9DA891.7030706@infracaninophile.co.uk> Message-ID: <4C9DE19E.7000802@cox.net> On 9/25/2010 2:45 AM, Matthew Seaman wrote: > On 25/09/2010 08:32:58, Peter Boosten wrote: > >> On 24-9-2010 23:13, Matthew Seaman wrote: >> >>> On 24/09/2010 21:05:45, Derek Funk wrote: >>> >>>> There was a post some time ago someone was complaining that FreeBSD >>>> still uses and archaic filesystem and not a new FS like ext4. Some >>>> replied, seeming like a code contributor, with a very sounded reply. >>>> What is that reply? >>>> >>> ZFS >>> >>> or words to that effect. Linux has nothing comparable. >>> >>> >> http://www.osnews.com/story/23416/Native_ZFS_Port_for_Linux >> >> :-) >> > Yes. Quoting that very page: > > "There's still some major work to be done, so this is not > production-ready code. The ZFS Posix Layer has not been implemented yet, > therefore mounting file systems is not yet possible; direct database > access, however, is. Supposedly, KQ Infotech is working on this, but it > has been rather quiet around those parts for a while now." > > What use is a filesystem you can't mount? It might be a work in > progress, but it isn't anywhere near done yet. The fact that there is > so much enthusiasm for porting the FS despite the license > incompatability just underlines the basic contention, that Linux has > nothing comparable. > > Cheers, > > Matthew > > Thank you both for the replies. I think I remember the response from a time ago as he stated something like: FreeBSD primary focus is server mostly Web and Router builds and a newer pooling journalize FS does not fit with FreeBSD's core of being the most stable and reliable while maintaining security. Derek From jon.otterholm at ide.resurscentrum.se Sat Sep 25 12:08:47 2010 From: jon.otterholm at ide.resurscentrum.se (Jon Otterholm) Date: Sat Sep 25 12:08:51 2010 Subject: Change CPU Message-ID: Hi. I am going to upgrade my CPU on a system that I compiled both world and kernel on. The current CPU is Core i5-670 and I'm changing to Xeon X3470. Will I be able to boot my system or has GCC specific flags for i5 that won't work with X3470? Can I prepare the system in any way to make it boot using the new CPU? //JO From carmel_ny at hotmail.com Sat Sep 25 12:21:28 2010 From: carmel_ny at hotmail.com (Carmel) Date: Sat Sep 25 12:21:32 2010 Subject: Unable to access CDROM device to play music Message-ID: I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had the 7.3 /32 bit version installed. I completely erased the HD prior to installed the newer version so as to eliminate any accumulated garbage that might be hanging around. Previously, I was able to play CD Audio files without any problem. The "cdcontrol" program worked fine and I was able to play music files while using KDE using its audio player. I now find that I can no-longer achieve that goal. When I place an audio CD into the PC, this error message is displayed: (It will probably wrap) Unable to mount Audio Disc DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) This is from the system log: (Sorry, but it will probably line wrap) Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 40 0 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status Error Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: Check Condition Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back I am at a loss here. I don't believe I made any radical changes from the configuration I was using in my older FreeBSD installation. I might add that MPlayer cannot see the drive either; although, it use to work fine. This problem exists whether KDE is running or not. The "cdcontrol" player will open and close the door on the device; however, no sound is emitted. Normal 'notification' sounds are emitted so I know the speakers, etc. are working correctly. The KDE start-up notifications works just fine. -- Carmel ? carmel_ny@hotmail.com From onemda at gmail.com Sat Sep 25 13:14:46 2010 From: onemda at gmail.com (Paul B Mahol) Date: Sat Sep 25 13:14:49 2010 Subject: Unable to access CDROM device to play music In-Reply-To: References: Message-ID: On 9/25/10, Carmel wrote: > I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) > if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had > the 7.3 /32 bit version installed. I completely erased the HD prior to > installed the newer version so as to eliminate any accumulated garbage > that might be hanging around. Previously, I was able to play CD Audio > files without any problem. The "cdcontrol" program worked fine and I > was able to play music files while using KDE using its audio player. > > I now find that I can no-longer achieve that goal. When I place an audio > CD into the PC, this error message is displayed: (It will probably wrap) > > Unable to mount Audio Disc > DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a > reply (timeout by message bus) > > > This is from the system log: (Sorry, but it will probably line wrap) > > Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST > asc=0x64 ascq=0x00 > Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 > 0 0 40 0 > Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status > Error > Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: Check > Condition > Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI sense: ILLEGAL REQUEST > asc:64,0 (Illegal mode for this track) > Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back > > I am at a loss here. I don't believe I made any radical changes from > the configuration I was using in my older FreeBSD installation. > > I might add that MPlayer cannot see the drive either; although, it use > to work fine. This problem exists whether KDE is running or not. The > "cdcontrol" player will open and close the door on the device; however, > no sound is emitted. Normal 'notification' sounds are emitted so I know > the speakers, etc. are working correctly. The KDE start-up > notifications works just fine. what is mixer output? what sound driver are you using? From carmel_ny at hotmail.com Sat Sep 25 13:59:47 2010 From: carmel_ny at hotmail.com (Carmel) Date: Sat Sep 25 13:59:50 2010 Subject: Unable to access CDROM device to play music Message-ID: On Sat, 25 Sep 2010 12:51:16 +0000 Paul B Mahol articulated: > what is mixer output? > what sound driver are you using? From the kernel file: ## SOUND device sound # Install sound driver support device snd_hda # nVidia MCP51 sound driver Via mixer: $ mixer Mixer vol is currently set to 90:90 Mixer pcm is currently set to 42:45 Mixer speaker is currently set to 100:100 Mixer line is currently set to 100:100 Mixer mic is currently set to 0:0 Mixer cd is currently set to 100:100 Mixer mix is currently set to 0:0 Mixer rec is currently set to 75:75 Mixer igain is currently set to 0:0 Recording source: mic Via pciconf -lv hdac0@pci0:3:0:1: class=0x040300 card=0x00000000 chip=0x0be210de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = multimedia subclass = HDA I attached the "dmesg" output. I don't know if that works on this list or not. I can always supply if separately. What bugs me is that this use to work before I upgraded my system. -- Carmel ? carmel_ny@hotmail.com -------------- next part -------------- Copyright (c) 1992-2010 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 8.1-STABLE #0: Wed Sep 22 21:21:36 EDT 2010 gerard@cyborg.creedmoor.net:/usr/obj/usr/src/sys/CYBORG amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2009.16-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x40fb2 Family = f Model = 4b Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x1f real memory = 4294967296 (4096 MB) avail memory = 4084535296 (3895 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bfef0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) pci0: at device 0.6 (no driver attached) pci0: at device 0.7 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci2: on pcib2 pcib3: at device 4.0 on pci0 pci3: on pcib3 vgapci0: port 0xbc00-0xbc7f mem 0xfb000000-0xfbffffff,0xd0000000-0xdfffffff,0xee000000-0xefffffff irq 16 at device 0.0 on pci3 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io nvidia0: [ITHREAD] hdac0: mem 0xfcffc000-0xfcffffff irq 16 at device 0.1 on pci3 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] pci0: at device 9.0 (no driver attached) isab0: at device 10.0 on pci0 isa0: on isab0 pci0: at device 10.1 (no driver attached) pci0: at device 10.2 (no driver attached) ohci0: mem 0xfe02f000-0xfe02ffff irq 21 at device 11.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ehci0: mem 0xfe02e000-0xfe02e0ff irq 22 at device 11.1 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: on ehci0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at device 13.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f mem 0xfe02d000-0xfe02dfff irq 23 at device 14.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] atapci2: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xcc00-0xcc0f mem 0xfe02c000-0xfe02cfff irq 20 at device 15.0 on pci0 atapci2: [ITHREAD] ata4: on atapci2 ata4: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] pcib4: at device 16.0 on pci0 pci4: on pcib4 pci4: at device 7.0 (no driver attached) fwohci0: port 0x9800-0x987f mem 0xfdcff000-0xfdcff7ff irq 19 at device 9.0 on pci4 fwohci0: [ITHREAD] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:0a:e6:ff:65:1e:1b fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x2554000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:0a:65:1e:1b fwe0: Ethernet address: 02:00:0a:65:1e:1b fwip0: on firewire0 fwip0: Firewire address: 00:00:0a:e6:ff:65:1e:1b @ 0xfffe00000000, S400, maxrec 2048 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode hdac1: mem 0xfe024000-0xfe027fff irq 21 at device 16.1 on pci0 hdac1: HDA Driver Revision: 20100226_0142 hdac1: [ITHREAD] nfe0: port 0xc800-0xc807 mem 0xfe02b000-0xfe02bfff irq 22 at device 20.0 on pci0 miibus0: on nfe0 ukphy0: PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto nfe0: Ethernet address: 00:19:21:5d:34:de nfe0: [FILTER] amdtemp0: on hostb3 acpi_tz0: on acpi0 atrtc0: port 0x70-0x73 irq 8 on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc0: [ITHREAD] ppbus0: on ppc0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xd0000-0xd3fff,0xd4000-0xd57ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] powernow0: on cpu0 powernow1: on cpu1 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to accept, logging disabled usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 ad0: 238475MB at ata0-master UDMA100 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ad1: 238475MB at ata0-slave UDMA133 acd0: DVDR at ata1-master UDMA33 hdac0: HDA Codec #0: NVidia (Unknown) hdac0: HDA Codec #1: NVidia (Unknown) hdac0: HDA Codec #2: NVidia (Unknown) hdac0: HDA Codec #3: NVidia (Unknown) pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 1 nid 1 on hdac0 pcm2: at cad 2 nid 1 on hdac0 pcm3: at cad 3 nid 1 on hdac0 hdac1: HDA Codec #1: Realtek ALC883 pcm4: at cad 1 nid 1 on hdac1 pcm5: at cad 1 nid 1 on hdac1 pcm6: at cad 1 nid 1 on hdac1 SMP: AP CPU #1 Launched! Root mount waiting for: usbus1 usbus0 uhub0: 8 ports with 8 removable, self powered Root mount waiting for: usbus1 Root mount waiting for: usbus1 Root mount waiting for: usbus1 uhub1: 8 ports with 8 removable, self powered acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 Root mount waiting for: usbus1 Trying to mount root from ufs:/dev/ad0s1a (probe0:ata1:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:ata1:0:0:0): CAM status: SCSI Status Error (probe0:ata1:0:0:0): SCSI status: Check Condition (probe0:ata1:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present ugen0.2: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 ums0: on usbus0 ums0: 5 buttons and [XYZT] coordinates ID=17 ums0: 0 buttons and [ZT] coordinates ID=0 ugen0.3: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:2:0:-1: Attached to scbus2 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY csi:0,aa,55,40 asc:3a,0 (Medium not present) da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:1): SCSI status: Check Condition (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY csi:0,aa,55,40 asc:3a,0 (Medium not present) da1 at umass-sim0 bus 0 scbus2 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 (probe0:umass-sim0:0:0:2): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:2): SCSI status: Check Condition (probe0:umass-sim0:0:0:2): SCSI sense: NOT READY csi:0,aa,55,40 asc:3a,0 (Medium not present) da2 at umass-sim0 bus 0 scbus2 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 1.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0 (probe0:umass-sim0:0:0:3): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:3): SCSI status: Check Condition (probe0:umass-sim0:0:0:3): SCSI sense: NOT READY csi:0,aa,55,40 asc:3a,0 (Medium not present) da3 at umass-sim0 bus 0 scbus2 target 0 lun 3 da3: Removable Direct Access SCSI-0 device da3: 1.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present From freebsd-questions-local at be-well.ilk.org Sat Sep 25 14:28:23 2010 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sat Sep 25 14:28:27 2010 Subject: Unable to access CDROM device to play music In-Reply-To: (Carmel's message of "Sat, 25 Sep 2010 08:09:23 -0400") References: Message-ID: <44sk0xaoea.fsf@lowell-desk.lan> Carmel writes: > I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) > if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had > the 7.3 /32 bit version installed. I completely erased the HD prior to > installed the newer version so as to eliminate any accumulated garbage > that might be hanging around. Previously, I was able to play CD Audio > files without any problem. The "cdcontrol" program worked fine and I > was able to play music files while using KDE using its audio player. If X isn't running, what does cdcontrol do? From jlalarcon at drivehq.com Sat Sep 25 14:54:31 2010 From: jlalarcon at drivehq.com (jlalarcon@drivehq.com) Date: Sat Sep 25 14:54:36 2010 Subject: Gnash version Message-ID: <20100925144202.GA94018@Endeavour.lordofunix.org> Hi, folks. I want to ask you wich version of gnash port is more modern, gnash-0.8.7_4 or, maybe, gnash-devel-20100218_5... Is "safe" install the devel version?. It have more features than the "stable" release?. Thanks you very much, in advance. Regards. Jose. -- http://lordofunix.eu5.org/ Not Registered GNU/Hurd User. Registered BSD User 51101. Registered Linux User #213309. Memories..... You are talking about memories. Rick Deckard. Blade Runner. -------------------- Online Storage & Sharing, Online Backup, FTP / Email Server Hosting and More. Drive Headquarters. Top quality services designed for business. Sign up free at: http://www.drivehq.com/?refID=178949&refEmails=&refCode=. From onemda at gmail.com Sat Sep 25 15:44:09 2010 From: onemda at gmail.com (Paul B Mahol) Date: Sat Sep 25 15:44:13 2010 Subject: Change CPU In-Reply-To: References: Message-ID: On 9/25/10, Jon Otterholm wrote: > Hi. > > > > I am going to upgrade my CPU on a system that I compiled both world and > kernel on. The current CPU is Core i5-670 and I'm changing to Xeon > X3470. Will I be able to boot my system or has GCC specific flags for i5 > that won't work with X3470? > > > > Can I prepare the system in any way to make it boot using the new CPU? If you never used any flags like CPUTYPE or similar you are pretty safe. But some ports/programs override such stuff, for example disabling runtime CPU detection..... From rrborg-list at thelebowski.com Sat Sep 25 15:49:08 2010 From: rrborg-list at thelebowski.com (Rocky Borg) Date: Sat Sep 25 15:49:11 2010 Subject: jailaudit Message-ID: <4C9E157C.7030403@thelebowski.com> I've been trying to get jailaudit setup to mail reports daily and I haven't had much luck. It generates reports and I can read them in /usr/local/etc/jailaudit/reports. However when I try # jailaudit mail root@example.com ALL No email is sent (nothing shows up in the maillog). The only time I've gotten it to send anything is doing # jailaudit generate "ALL" | mail root@thelebowski.com However the email just says "Downloading a current audit database: New database installed. Database created: Sat Sep 25 08:05:00 PDT 2010" Which doesn't seem right since the reports should show no vulnerable ports (and for what jail). I've checked the jailaudit website and the usage page seems incorrect. Any help would be greatly appreciated as I would like to not have to install portaudit in each jail. Or if anyone has a better way to handle portaudit with multiple jails I'm open to suggestions. From sterling at camdensoftware.com Sat Sep 25 16:50:09 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Sat Sep 25 16:50:13 2010 Subject: Erlang and Java In-Reply-To: <20100925014410.GA23892@guilt.hydra> References: <20100925014410.GA23892@guilt.hydra> Message-ID: <20100925165001.GA6822@libertas.local.camdensoftware.com> Quoth Chad Perrin on Friday, 24 September 2010: > Does anyone know of a reason that installing lang/erlang would fail if a > java/diablo-jdk port failed to install? Correct me if I'm wrong, but the > Erlang VM really should *not* depend on Java. Right? > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Looking at the Makefile, it appears that WITHOUT_JAVA needs to be defined to avoid a dependency. Looks likle that option is part of the config. make rmconfig make install clean then make sure the first option is unchecked. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100925/24932af8/attachment.pgp From carmel_ny at hotmail.com Sat Sep 25 17:19:22 2010 From: carmel_ny at hotmail.com (Carmel) Date: Sat Sep 25 17:19:26 2010 Subject: Unable to access CDROM device to play music In-Reply-To: <44sk0xaoea.fsf@lowell-desk.lan> References: <44sk0xaoea.fsf@lowell-desk.lan> Message-ID: On Sat, 25 Sep 2010 10:28:13 -0400 Lowell Gilbert articulated: > If X isn't running, what does cdcontrol do? Nothing. It will open or close the tray, but that is about it. -- Carmel ? carmel_ny@hotmail.com From peter at boosten.org Sat Sep 25 17:32:45 2010 From: peter at boosten.org (Peter Boosten) Date: Sat Sep 25 17:32:50 2010 Subject: Filesystems In-Reply-To: <4C9DA891.7030706@infracaninophile.co.uk> References: <4C9D0499.3050908@cox.net> <4C9D146C.10009@infracaninophile.co.uk> <4C9DA5AA.4020606@boosten.org> <4C9DA891.7030706@infracaninophile.co.uk> Message-ID: <6FC7D45F-9B73-4821-B977-AC982BE2D78E@boosten.org> On 25 sep 2010, at 09:45, Matthew Seaman wrote: > On 25/09/2010 08:32:58, Peter Boosten wrote: >> On 24-9-2010 23:13, Matthew Seaman wrote: >>> On 24/09/2010 21:05:45, Derek Funk wrote: >>>> There was a post some time ago someone was complaining that FreeBSD >>>> still uses and archaic filesystem and not a new FS like ext4. Some >>>> replied, seeming like a code contributor, with a very sounded reply. >>>> What is that reply? >>> >>> ZFS >>> >>> or words to that effect. Linux has nothing comparable. >>> >> >> http://www.osnews.com/story/23416/Native_ZFS_Port_for_Linux >> >> :-) > > Yes. Quoting that very page: > I know... my reply was just to treat the issue lightly. That's what the smiley was for. Thanks for your reply. -- Peter Boosten http://www.boosten.org From bonomi at mail.r-bonomi.com Sat Sep 25 18:18:48 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Sat Sep 25 18:18:54 2010 Subject: Mount order for ZFS, jails, and nullfs Message-ID: <201009251816.o8PIGnnG027025@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Fri Sep 24 11:02:59 2010 > To: freebsd-questions@freebsd.org > From: Torbjorn Granlund > Date: Fri, 24 Sep 2010 18:03:06 +0200 > Subject: Mount order for ZFS, jails, and nullfs > > In jails, I'd like a local ZFS /, a read-only nullfs-mounted /usr, and a > local /usr/local. (I'd also have read-only nullfs-mounted /bin, /lib, > /libexec, but let's forget about that for now.) > > This way, I can upgrade the master /usr once, in one place, and have all > jails inherit it. And my dear jail inmates can install anything in > /usr/local (such as their favourite packages/ports). > > I.e., things should look like this: > > /myjail/ zfs > /myjail/usr nullfs ro > /myjail/usr/local zfs > > There is no problem to make this happen by issuing a handful of commands > manually after boot, but I cannot seem to get it to work automatically, > with existing boot mechanism. The problem is that the mount of /usr > will be attempted before ZFS has mounted /myjail, the jail's root. > > ZFS maintains its own mount table. It is possible to disable the > automated mounting in ZFS by specifying the pseudo mountpoint "legacy", > and then--according to the FreeBSD manual--mount it with mount(8). > Unfortunately, FreeBSD's mount seems unable to perform mounts of ZFS > volumes. > > How can I achieve the result I want after a reboot? if the traditional way doesn't work for you, the solution is "don't use the traditional way'. References: <20100925014410.GA23892@guilt.hydra> <20100925165001.GA6822@libertas.local.camdensoftware.com> Message-ID: <20100925190239.GB27161@guilt.hydra> On Sat, Sep 25, 2010 at 09:50:02AM -0700, Chip Camden wrote: > Quoth Chad Perrin on Friday, 24 September 2010: > > Does anyone know of a reason that installing lang/erlang would fail if a > > java/diablo-jdk port failed to install? Correct me if I'm wrong, but the > > Erlang VM really should *not* depend on Java. Right? > > Looking at the Makefile, it appears that WITHOUT_JAVA needs to be > defined to avoid a dependency. > > Looks likle that option is part of the config. > > make rmconfig > make install clean > > then make sure the first option is unchecked. Hmm. This did not come up in any configuration screens when I used portinstall to try installing it, as far as I recall. Annoying. Thanks. It seems to be working now. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- 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/20100925/508b9da6/attachment.pgp From lists at reiteration.net Sat Sep 25 20:10:37 2010 From: lists at reiteration.net (John) Date: Sat Sep 25 20:10:42 2010 Subject: GUI Suggested? In-Reply-To: <3368057398-783131724@intranet.com.mx> References: <3368057398-783131724@intranet.com.mx> Message-ID: <4C9C9664.4090700@reiteration.net> On 23/09/2010 04:29, Jorge Biquez wrote: > Hello all. > > In all these years I have been working with FreeBSd under terminal/shell > mode. Since all my needs to solve have been solved that way I have never > tried any graphical interface. > > I was wondering if you can tell suggest me based on yoru experience on > what path to follow? KDE? any other? > > I would like to test what you suggest is the best for you and if > possible that it is not TOO complicated to setup. The idea is to use it > as my desktop plattfor (documents, browser, email, etc) > > Thanks in advance > > Jorge Biquez Locally, on the desktop I use windowmaker. It's fast, simple and very customisable. Loads of little wm apps to help you along. Thousands of themes, easily themeable. When I need a graphical environment remotely, I tunnel a vnc connection through ssh and the desktop there is blackbox. Simple colours, no eye candy. Reasonably responsive even through an ISDN connection. -- John From bonomi at mail.r-bonomi.com Sat Sep 25 20:15:16 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Sat Sep 25 20:15:20 2010 Subject: Problems mounting nfs from freebsd to Mac. Message-ID: <201009251958.o8PJwLd0027577@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Sat Sep 25 03:29:33 2010 > Date: Sat, 25 Sep 2010 04:01:18 -0400 > From: Mike Meyer > To: questions@freebsd.org > Cc: > Subject: Problems mounting nfs from freebsd to Mac. > > I've got an nfs server that's refusing to mount one client - via one > route - and it's driving me crazy. First question, are you _SURE_ that it's a server-side problem? I under- stand that things are failing in one situation and not others, but there are about -five- possible causations, only one of which is a server-side NFS configuration. > The server is running 8.1-RELEASE, exporting a collection of zfs file > systems. All the file systems are exported with the exact same > flags. The clients are either FreeBSD or OSX boxes. Most of them work > fine. > > One OSX box - updated to the latest snow leopard while trying to fix > this - gets "permission denied" when it tries to mount the interesting > fie systems. But only when using it's wired connection. If it connects > via wifi to the same router (a cisco WRT610N running dd-wrt) > everything works fine. That elimintes NFS on the client, and -most- of the NFS config on the server. > As far as I know, there are only three reasons for an NFS server to > refuse a mount request: 1) The exports file is borked somehow, 2) The > server insists that the client use a privileged port, or 3) The IP > address the request is coming from is disallowed. There _are_ others, depending on how access controls are specified in the exports file. > > #1 isn't it - the file systems mount fine on other boxes. And they > mount fine on the problem box via Wifi. > > #2 shouldn't be it - I'm running the server with -n turned on, and the > mount works via wifi. > > #3 seems logical, but I only have one network enabled, and it's a > *.0/25. The working addresses include .96, and .106, while the failing > address is .105. So I'm not sure what's going on here. > > Running mountd with a -d flag generates no output at all when the > request is denied. This makes me think I'm not looking in the right > place. First thing, what does 'showmount -a', run on the misbehaving client show? And are there differences, depending on being on the wired vs wireless link? Check how the client resolves the server hostname on both the wireless and wired links. make sure the _server_ name (in the form used in the nfs mount) is resolving in the same way -- to the same address -- when the client is on thee wireless and wired links. (an 'unqualified' hostname, and a lack of a default domain in the wired setup _could_ cause what you are seeing. Check to make sure you've got network connectivity both ways on both the wired and wireless links. Does traceroute work in both directions on both links? does it show the _same_names_? You've say you've got a WRT610N in the middle of things. Is it actually playing _router_ on all ports, or switch/hub on the lan side with routing on the external interface. If it's actually -routing- on all ports, check _both_ the client and server routing tables to make sure they're pointing in the right plac, when the client is connected on both paths. Also double-check the router itself for any access-control and/or filtering rules. If nothing has shown up so far, an obvious next step is to look at the data 'on the wire' between the machines. e.g., tcpdump/etherfind/netshark etc. From freebsd at edvax.de Sat Sep 25 20:31:42 2010 From: freebsd at edvax.de (Polytropon) Date: Sat Sep 25 20:31:46 2010 Subject: Unable to access CDROM device to play music In-Reply-To: References: Message-ID: <20100925223139.e6c94aa4.freebsd@edvax.de> On Sat, 25 Sep 2010 08:09:23 -0400, Carmel wrote: > I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) > if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had > the 7.3 /32 bit version installed. I completely erased the HD prior to > installed the newer version so as to eliminate any accumulated garbage > that might be hanging around. Previously, I was able to play CD Audio > files without any problem. The "cdcontrol" program worked fine and I > was able to play music files while using KDE using its audio player. > > I now find that I can no-longer achieve that goal. When I place an audio > CD into the PC, this error message is displayed: (It will probably wrap) > > Unable to mount Audio Disc > DBus error org.freedesktop.DBus.Error.NoReply: > Message did not receive a reply (timeout by message bus) You cannot mount audio CDs. The important lines from your system log are: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 SCSI status: Check Condition SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) This seems to indicate that the CD cannot be read. Can it be read with a different drive? Maybe the drive is faulty. Or the media is. Can you check the media in a "hardware CD player"? > I am at a loss here. I don't believe I made any radical changes from > the configuration I was using in my older FreeBSD installation. First of all, HAL seems to be interfering. To check, make sure HAL is not running, then do "cdcontrol play 1". Have the "mixer" program push all volumes up. > I might add that MPlayer cannot see the drive either; although, it use > to work fine. In how far does mplayer "see a drive"? > This problem exists whether KDE is running or not. The > "cdcontrol" player will open and close the door on the device; however, > no sound is emitted. Does the drive have a phones connector at the front? Does it maybe play from there? Playing audio CDs is a feature of drives that does not neccessarily need CPU / system attention (except for starting the playback by a drive command). Are you accessing the drive by ATAPI or ATAPICAM? > Normal 'notification' sounds are emitted so I know > the speakers, etc. are working correctly. The KDE start-up > notifications works just fine. So no problem on this side. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From glimp at live.com Sat Sep 25 21:26:16 2010 From: glimp at live.com (dan) Date: Sat Sep 25 21:26:20 2010 Subject: Unable to access CDROM device to play music In-Reply-To: <20100925223139.e6c94aa4.freebsd@edvax.de> References: <20100925223139.e6c94aa4.freebsd@edvax.de> Message-ID: On 25.09.2010 22:31, Polytropon wrote: > On Sat, 25 Sep 2010 08:09:23 -0400, Carmel wrote: >> I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) >> if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had >> the 7.3 /32 bit version installed. I completely erased the HD prior to >> installed the newer version so as to eliminate any accumulated garbage >> that might be hanging around. Previously, I was able to play CD Audio >> files without any problem. The "cdcontrol" program worked fine and I >> was able to play music files while using KDE using its audio player. >> >> I now find that I can no-longer achieve that goal. When I place an audio >> CD into the PC, this error message is displayed: (It will probably wrap) >> >> Unable to mount Audio Disc >> DBus error org.freedesktop.DBus.Error.NoReply: >> Message did not receive a reply (timeout by message bus) > > You cannot mount audio CDs. > > The important lines from your system log are: > > acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 > SCSI status: Check Condition > SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) > > This seems to indicate that the CD cannot be read. Can it be read > with a different drive? Maybe the drive is faulty. Or the media > is. Can you check the media in a "hardware CD player"? > > > >> I am at a loss here. I don't believe I made any radical changes from >> the configuration I was using in my older FreeBSD installation. > > First of all, HAL seems to be interfering. To check, make sure HAL > is not running, then do "cdcontrol play 1". Have the "mixer" program > push all volumes up. > > > >> I might add that MPlayer cannot see the drive either; although, it use >> to work fine. > > In how far does mplayer "see a drive"? > > > >> This problem exists whether KDE is running or not. The >> "cdcontrol" player will open and close the door on the device; however, >> no sound is emitted. > > Does the drive have a phones connector at the front? Does it maybe > play from there? Playing audio CDs is a feature of drives that does > not neccessarily need CPU / system attention (except for starting > the playback by a drive command). > > Are you accessing the drive by ATAPI or ATAPICAM? > > > >> Normal 'notification' sounds are emitted so I know >> the speakers, etc. are working correctly. The KDE start-up >> notifications works just fine. > > So no problem on this side. > > > If you are accessing ATAPI device using the SCSI subsystem make sure the user has all the required permissions to read/write xpt* pass* cd*. Run "camcontrol devlist" as a normal user and see if it shows you any drive (http://www.freebsd.org/doc/en/books/handbook/creating-cds.html Section 18.6.9). If this matters somehow I get many of the following messages (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 2 99 77 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST csi:28,a,1,20 asc:64,0 (Illegal mode for this track) (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 20 0 0 4 0 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (...) when an audio cd is pre-loaded at bootup into my external dvd rewriter. But the drive is functional (or at least seems to be... :-D). d From carmel_ny at hotmail.com Sat Sep 25 21:32:32 2010 From: carmel_ny at hotmail.com (Carmel) Date: Sat Sep 25 21:32:36 2010 Subject: Unable to access CDROM device to play music Message-ID: On Sat, 25 Sep 2010 22:31:39 +0200 Polytropon articulated: > On Sat, 25 Sep 2010 08:09:23 -0400, Carmel > wrote: > > I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE > > 4.5.1) if that matters.Before updating my system to FreeBSD 8.1 / > > amd64, I had the 7.3 /32 bit version installed. I completely erased > > the HD prior to installed the newer version so as to eliminate any > > accumulated garbage that might be hanging around. Previously, I was > > able to play CD Audio files without any problem. The "cdcontrol" > > program worked fine and I was able to play music files while using > > KDE using its audio player. > > > > I now find that I can no-longer achieve that goal. When I place an > > audio CD into the PC, this error message is displayed: (It will > > probably wrap) > > > > Unable to mount Audio Disc > > DBus error org.freedesktop.DBus.Error.NoReply: > > Message did not receive a reply (timeout by message bus) > > You cannot mount audio CDs. > > The important lines from your system log are: > > acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 > SCSI status: Check Condition > SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) > > This seems to indicate that the CD cannot be read. Can it be read > with a different drive? Maybe the drive is faulty. Or the media > is. Can you check the media in a "hardware CD player"? I have tries several different disks, all with the same results. These CDs work fine on my Windows machines. I used information at URL: http://www.freebsd.org/doc/handbook/creating-cds.html 18.6.9 Using the ATAPI/CAM Driver This worked fine on my previous version of FreeBSD. Now, entering the command: mount -t cd9660 /dev/cd0 /mnt Gets me this error message: mount_cd9660: /dev/cd0: Input/output error > > I am at a loss here. I don't believe I made any radical changes from > > the configuration I was using in my older FreeBSD installation. > > First of all, HAL seems to be interfering. To check, make sure HAL > is not running, then do "cdcontrol play 1". Have the "mixer" program > push all volumes up. > > > I might add that MPlayer cannot see the drive either; although, it > > use to work fine. > > In how far does mplayer "see a drive"? MPlayer cannot play a file from a CD because it never finds a CD to use. It did work previously. > > This problem exists whether KDE is running or not. The > > "cdcontrol" player will open and close the door on the device; > > however, no sound is emitted. > > Does the drive have a phones connector at the front? Does it maybe > play from there? Playing audio CDs is a feature of drives that does > not neccessarily need CPU / system attention (except for starting > the playback by a drive command). > > Are you accessing the drive by ATAPI or ATAPICAM? ATAPICAM > > Normal 'notification' sounds are emitted so I know > > the speakers, etc. are working correctly. The KDE start-up > > notifications works just fine. > > So no problem on this side. From freebsd at edvax.de Sat Sep 25 22:49:19 2010 From: freebsd at edvax.de (Polytropon) Date: Sat Sep 25 22:49:23 2010 Subject: Unable to access CDROM device to play music In-Reply-To: References: Message-ID: <20100926004916.dc8523ad.freebsd@edvax.de> On Sat, 25 Sep 2010 17:32:27 -0400, Carmel wrote: > I have tries several different disks, all with the same results. These > CDs work fine on my Windows machines. > > I used information at URL: > > http://www.freebsd.org/doc/handbook/creating-cds.html > > 18.6.9 Using the ATAPI/CAM Driver > > This worked fine on my previous version of FreeBSD. I'm also using this setup for many years now. > Now, entering the > command: > > mount -t cd9660 /dev/cd0 /mnt > > Gets me this error message: > > mount_cd9660: /dev/cd0: Input/output error Does this refer to an audio CD? In that case: Won't work. Mounting a data CD (ISO-9660 filesystem) _should_ work. From the error message, I don't think you have permission problems, but make sure that - as you're using ATAPICAM - have sufficient permissions for /dev/cd*, /dev/xpt* and /dev/pass*. Have you tried mounting using the ATAPI driver? # mount -o ro -t cd9660 /dev/acd0 /mnt Does this work for data CDs? > MPlayer cannot play a file from a CD because it never finds a CD to > use. It did work previously. Okay, seems that you're accessing the audio CD by mplayer, I now understand. You can specify -dvd-device as a command line parameter for mplayer to indicate which drive to use. Oh, and many programs use $CDROM and $CDPLAYER environment variables. > > Are you accessing the drive by ATAPI or ATAPICAM? > > ATAPICAM To make sure there are no other problems, try with ATAPI, too, as shown above. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From carmel_ny at hotmail.com Sat Sep 25 23:46:12 2010 From: carmel_ny at hotmail.com (Carmel) Date: Sat Sep 25 23:46:15 2010 Subject: Unable to access CDROM device to play music Message-ID: On Sun, 26 Sep 2010 00:49:16 +0200 Polytropon articulated: > Have you tried mounting using the ATAPI driver? > > # mount -o ro -t cd9660 /dev/acd0 /mnt > > Does this work for data CDs? I get this error message: mount_cd9660: /dev/acd0: Invalid argument -- Carmel ? carmel_ny@hotmail.com From freebsd at edvax.de Sun Sep 26 00:03:31 2010 From: freebsd at edvax.de (Polytropon) Date: Sun Sep 26 00:03:34 2010 Subject: Unable to access CDROM device to play music In-Reply-To: References: Message-ID: <20100926020328.0eb6af8c.freebsd@edvax.de> On Sat, 25 Sep 2010 19:46:08 -0400, Carmel wrote: > On Sun, 26 Sep 2010 00:49:16 +0200 > Polytropon articulated: > > > Have you tried mounting using the ATAPI driver? > > > > # mount -o ro -t cd9660 /dev/acd0 /mnt > > > > Does this work for data CDs? > > I get this error message: > > mount_cd9660: /dev/acd0: Invalid argument This seems to show that there's no ISO-9660 file system on the (data) CD, or the session is not finished, or any other problem on file system level. Can you check % file - < /dev/acd0 % cdcontrol info Here's an example for the output for a data CD: % file - < /dev/acd0 /dev/stdin: ISO 9660 CD-ROM filesystem data 'FreeBSD_Install ' (bootable) % cdcontrol info Starting track = 1, ending track = 1, TOC size = 18 bytes track start duration block length type ------------------------------------------------- 1 0:02.00 57:57.56 0 260831 data 170 57:59.56 - 260831 - - And for an audio CD: % file - < /dev/acd0 /dev/stdin: ERROR: cannot read `(null)' (Invalid argument) % cdcontrol info Starting track = 1, ending track = 18, TOC size = 154 bytes track start duration block length type ------------------------------------------------- 1 0:02.00 3:31.03 0 15828 audio 2 3:33.03 2:52.67 15828 12967 audio ... 17 52:24.53 7:27.30 235703 33555 audio 18 59:52.08 2:48.67 269258 12667 audio 170 62:41.00 - 281925 - - Do you get the same results for the respective CD content types? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From slowpoke at pathcom.com Sun Sep 26 02:09:55 2010 From: slowpoke at pathcom.com (victor kovacs) Date: Sun Sep 26 07:18:20 2010 Subject: Free BSD 8.1 Message-ID: <4C9EA6FF.4050204@pathcom.com> It appears that all the distfile locations are empty. For example: KDE4 Master site: empty Distfiles: none Extract-only: empty Have the distfiles for the GUI been left out of the dvd? Same situation when 32 or 64 side of dvd is loaded. The dvd disk reader is read only. It cannot write to disk. Please advise Victor From m.seaman at infracaninophile.co.uk Sun Sep 26 09:47:53 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Sep 26 09:47:57 2010 Subject: Free BSD 8.1 In-Reply-To: <4C9EA6FF.4050204@pathcom.com> References: <4C9EA6FF.4050204@pathcom.com> Message-ID: <4C9F16BB.1030603@infracaninophile.co.uk> On 26/09/2010 02:50:55, victor kovacs wrote: > > It appears that all the distfile locations are empty. > > For example: KDE4 > > Master site: empty > > Distfiles: none > > Extract-only: empty > That's deliberate. x11/kde4 is a metaport -- that is, it installs nothing itself, but exists only to hold dependencies on other KDE4 components. Installing x11/kde4 will trigger a cascading installation of the 20-odd other ports (as modified by your choice of options) that go to create a whole KDE system. > Have the distfiles for the GUI been left out of the dvd? > > Same situation when 32 or 64 side of dvd is loaded. > > The dvd disk reader is read only. It cannot write to disk. No -- the tarball of the ports in the distribution media is a faithful copy of the state of the ports tree at the time the media were created. Distfiles aren't included in FreeBSD DVD images -- there's only about 4.5GB to play with, and most of that is taken up by FreeBSD itself, and a selection of the most important software pre-compiled in pkg format. All of the distfiles or all of the pkgs for all of the ports together are substantially larger than any single piece of distribution medium (disk, USB key, etc.) readily available at the moment. Even just selecting the most commonly installed applications easily overflows the capacity of the DVD (and consider what invidious choices that selection process involves). Be aware that installing the ports tree from the DVD images is not the ideal way to do it. If you have the connectivity on your newly installed system, it is better to use either csup(1) or portsnap(1) to grab an up-to-date copy of the ports directly from the net. 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/20100926/f6a11bea/signature.pgp From gulenler at boun.edu.tr Sun Sep 26 10:01:56 2010 From: gulenler at boun.edu.tr (Berk Gulenler) Date: Sun Sep 26 10:02:00 2010 Subject: Page Fault While in Kernel Mode (IPNAT) Message-ID: <20100926124647.540139zgngv2jjbb@horde.boun.edu.tr> Hi, I have a firewall for NAT operations only. While doing NAT, server crashes. Below you can find the required info about my problem. Thanks. Some useful info about my NAT server: FreeBSD xxx.cc.boun.edu.tr 7.3-RELEASE FreeBSD 7.3-RELEASE #2: Fri Sep 17 15:09:54 EEST 2010 xxx@xxx.cc.boun.edu.tr:/usr/obj/usr/src/sys/FW i386 bge0: mem 0xfdef0000-0xfdefffff irq 25 at device 1.0 on pci3 bge1: mem 0xfdee0000-0xfdeeffff irq 26 at device 1.1 on pci3 net.inet.ipf.ipf_natrules_sz: 127 net.inet.ipf.ipf_nattable_sz: 300000 513/897/1410 mbufs in use (current/cache/total) 512/540/1052/0 mbuf clusters in use (current/cache/total/max) 512/512 mbuf+clusters out of packet secondary zone in use (current/cache) 0/5/5/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 1152K/1324K/2476K 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/5/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines mapped in 183625863 out 126618997 added 2265807 expired 1350387 no memory 8899 bad nat 12314 inuse 13690 orphans 0 rules 49 wilds 0 hash efficiency 97.64% bucket usage 4.46% minimal length 0 maximal length 3 average length 1.024 TCP Entries per state 0 1 2 3 4 5 6 7 8 9 10 11 42 2236 51 417 3311 348 200 23 20 0 3763 729 Debug info: 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 "i386-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 = 0x4 fault code = supervisor read, page not present instruction pointer = 0x20:0x8593c94b stack pointer = 0x28:0x853488dc frame pointer = 0x28:0x85348958 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 25 (irq26: bge1) trap number = 12 panic: page fault cpuid = 0 Uptime: 2d0h6m24s Physical memory: 2035 MB Dumping 335 MB: 320 304 288 272 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/ipl.ko...Reading symbols from /boot/kernel/ipl.ko.symbols...done. done. Loaded symbols for /boot/kernel/ipl.ko #0 doadump () at pcpu.h:196 196 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); ####################################################################################################### #0 doadump () at pcpu.h:196 #1 0x80746017 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0x807462e9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0x8097483c in trap_fatal (frame=0x8534889c, eva=4) at /usr/src/sys/i386/i386/trap.c:950 #4 0x80974aa0 in trap_pfault (frame=0x8534889c, usermode=0, eva=4) at /usr/src/sys/i386/i386/trap.c:863 #5 0x80975459 in trap (frame=0x8534889c) at /usr/src/sys/i386/i386/trap.c:541 #6 0x8095915b in calltrap () at /usr/src/sys/i386/i386/exception.s:166 #7 0x8593c94b in nat_new (fin=0x853489c0, np=0x855ee800, natsave=0x0, flags=Variable "flags" is not available. ) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_nat.c:2577 #8 0x8593cf04 in fr_checknatout (fin=0x853489c0, passp=0x85348a6c) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_nat.c:3828 #9 0x85959c6c in fr_check (ip=0x873c0810, hlen=20, ifp=0x855b7400, out=1, mp=0x85348ab8) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/fil.c:2624 #10 0x859517be in fr_check_wrapper (arg=0x0, mp=0x85348ab8, ifp=0x855b7400, dir=2) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil_freebsd.c:178 #11 0x807f5708 in pfil_run_hooks (ph=0x80b026e0, mp=0x85348b44, ifp=0x855b7400, dir=2, inp=0x0) at /usr/src/sys/net/pfil.c:78 #12 0x8080ea72 in ip_output (m=0x85b2a800, opt=0x0, ro=0x85348b7c, flags=1, imo=0x0, inp=0x0) at /usr/src/sys/netinet/ip_output.c:443 #13 0x8080bb04 in ip_forward (m=0x85b2a800, srcrt=0) at /usr/src/sys/netinet/ip_input.c:1366 #14 0x8080d0b0 in ip_input (m=0x85b2a800) at /usr/src/sys/netinet/ip_input.c:609 #15 0x807f3ea5 in netisr_dispatch (num=2, m=0x85b2a800) at /usr/src/sys/net/netisr.c:185 #16 0x807e7b51 in ether_demux (ifp=0x855b7400, m=0x85b2a800) at /usr/src/sys/net/if_ethersubr.c:834 #17 0x807e7f43 in ether_input (ifp=0x855b7400, m=0x85b2a800) at /usr/src/sys/net/if_ethersubr.c:692 #18 0x80529582 in bge_rxeof (sc=0x855c4000, rx_prod=317, holdlck=1) at /usr/src/sys/dev/bge/if_bge.c:3392 #19 0x8052b602 in bge_intr (xsc=0x855c4000) at /usr/src/sys/dev/bge/if_bge.c:3653 #20 0x8072285b in ithread_loop (arg=0x855b97a0) at /usr/src/sys/kern/kern_intr.c:1181 #21 0x8071eff9 in fork_exit (callout=0x807226b0 , arg=0x855b97a0, frame=0x85348d38) at /usr/src/sys/kern/kern_fork.c:811 #22 0x809591d0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:271 ####################################################################################################### 0x8593c94b is in nat_new (/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_nat.c:2577). 2572 nat->nat_ifps[1] = np->in_ifps[1]; 2573 nat->nat_ptr = np; 2574 nat->nat_p = fin->fin_p; 2575 nat->nat_mssclamp = np->in_mssclamp; 2576 if (nat->nat_p == IPPROTO_TCP) 2577 nat->nat_seqnext[0] = ntohl(tcp->th_seq); 2578 2579 if ((np->in_apr != NULL) && ((ni->nai_flags & NAT_SLAVE) == 0)) 2580 if (appr_new(fin, nat) == -1) 2581 return -1; -- Berk Gulenler System Administrator Bogazici University Computer Center Phone: +90 212 359 47 16 Fax: +90 212 257 50 21 E-mail: gulenler@boun.edu.tr From talon at lpthe.jussieu.fr Sun Sep 26 10:49:03 2010 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Sun Sep 26 10:49:07 2010 Subject: Free BSD 8.1 Message-ID: <20100926123019.GA41450@lpthe.jussieu.fr> Matthew Seaman said > Be aware that installing the ports tree from the DVD images is not the > ideal way to do it. If you have the connectivity on your newly > installed system, it is better to use either csup(1) or portsnap(1) to > grab an up-to-date copy of the ports directly from the net. I disagree with that. You are supposing that newer is better, which is far from proven (in fact blatantly false in many cases). Another option is to install the ports tree from the DVD,and install corresponding precompiled packages from the DVD or otherwise the web, and *not* updating the ports tree. There is a lot to be said for this option, and many users will be happier doing that, at least people who want to use their machine and not spend their time upgrading, compiling and fighting bugs. -- Michel TALON From kline at magnesium.net Sun Sep 26 10:52:43 2010 From: kline at magnesium.net (Gary Kline) Date: Sun Sep 26 10:52:47 2010 Subject: mail problems.... Message-ID: <20100926102018.GA31513@thought.org> i spent entire day saturday getting my primary server up to date. unfortunately, no mail can get out..... maybe for days...... mail Can get in. anybody hv a clue so i can fix this next time i portupgrade??? gary ps: to polyt: no jttd-5 .... -- Gary Kline Seattle BSD Users' Group (seabug) | kline@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant From frank at shute.org.uk Sun Sep 26 11:19:34 2010 From: frank at shute.org.uk (Frank Shute) Date: Sun Sep 26 11:19:38 2010 Subject: Gnash version In-Reply-To: <20100925144202.GA94018@Endeavour.lordofunix.org> References: <20100925144202.GA94018@Endeavour.lordofunix.org> Message-ID: <20100926111902.GB41218@orange.esperance-linux.co.uk> On Sat, Sep 25, 2010 at 07:42:02AM -0700, jlalarcon@drivehq.com wrote: > > Hi, folks. > > I want to ask you wich version of gnash port is more modern, gnash-0.8.7_4 > or, maybe, gnash-devel-20100218_5... > > Is "safe" install the devel version?. It have more features than the > "stable" release?. > > Thanks you very much, in advance. > > Regards. > > Jose. > The devel version should be newer. It might have more features but it's likely to be less stable. It's safe to install but it might coredump but shouldn't crash your machine (although it might cause X to crash). Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From carmel_ny at hotmail.com Sun Sep 26 11:43:41 2010 From: carmel_ny at hotmail.com (Carmel) Date: Sun Sep 26 11:43:45 2010 Subject: Unable to access CDROM device to play music Message-ID: On Sun, 26 Sep 2010 02:03:28 +0200 Polytropon articulated: > On Sat, 25 Sep 2010 19:46:08 -0400, Carmel > wrote: > > On Sun, 26 Sep 2010 00:49:16 +0200 > > Polytropon articulated: > > > > > Have you tried mounting using the ATAPI driver? > > > > > > # mount -o ro -t cd9660 /dev/acd0 /mnt > > > > > > Does this work for data CDs? > > > > I get this error message: > > > > mount_cd9660: /dev/acd0: Invalid argument > > This seems to show that there's no ISO-9660 file system on > the (data) CD, or the session is not finished, or any other > problem on file system level. Can you check > > % file - < /dev/acd0 > % cdcontrol info > > Here's an example for the output for a data CD: > > % file - < /dev/acd0 > /dev/stdin: ISO 9660 CD-ROM filesystem data > 'FreeBSD_Install ' (bootable) > > % cdcontrol info > Starting track = 1, ending track = 1, TOC size = 18 bytes > track start duration block length type > ------------------------------------------------- > 1 0:02.00 57:57.56 0 260831 data > 170 57:59.56 - 260831 - - > > And for an audio CD: > > % file - < /dev/acd0 > /dev/stdin: ERROR: cannot read `(null)' (Invalid argument) > > % cdcontrol info > Starting track = 1, ending track = 18, TOC size = 154 bytes > track start duration block length type > ------------------------------------------------- > 1 0:02.00 3:31.03 0 15828 audio > 2 3:33.03 2:52.67 15828 12967 audio > ... > 17 52:24.53 7:27.30 235703 33555 audio > 18 59:52.08 2:48.67 269258 12667 audio > 170 62:41.00 - 281925 - - > > Do you get the same results for the respective CD content types? I made some file permission changes, rebooted and made sure that the changes were static, and then ran a few test. The cdcontrol program will not play a CDROM although it claims it is. I can play an audio CD from within KDE; however, it is like pulling teeth to accomplish it. Way too much trouble. MPlayer cannot access the audio CD naively. DATA CDs are another story. I cannot mount them. Using a data CD: # file - < /dev/acd0 /dev/stdin: ERROR: cannot read `(null)' (Input/output error) # file - < /dev/cd0 /dev/stdin: ERROR: cannot read `(null)' (Invalid argument) # cdcontrol info cdcontrol: getting toc header: Invalid argument cdcontrol: Invalid argument With an audio CD: # file - < /dev/acd0 /dev/stdin: ERROR: cannot read `(null)' (Invalid argument) # file - < /dev/cd0 /dev/stdin: ERROR: cannot read `(null)' (Device not configured) # cdcontrol info Starting track = 1, ending track = 3, TOC size = 34 bytes track start duration block length type ------------------------------------------------- 1 0:02.00 6:32.00 0 29400 audio 2 6:34.00 3:55.12 29400 17637 audio 3 10:29.12 3:42.23 47037 16673 audio 170 14:11.35 - 63710 - - Finally, just trying a mount command from the command line: $ sudo mount -o ro -t cd9660 /dev/acd0 /mnt mount_cd9660: /dev/acd0: Invalid argument $ sudo mount -o ro -t cd9660 /dev/cd0 /mnt mount_cd9660: /dev/cd0: Device not configured This is getting to be far more trouble and wasting way too much time than it is worth. I can just put the CDs in one of my Windows machines and then transfer the data over the network to the FreeBSD units. What is strange is that this use to work before I upgraded. By the way, Polytropon, please do not CC me. I am on the list and I really do not need two copies of every post. Others may appreciate it; however, I don't. -- Carmel ? carmel_ny@hotmail.com From faust64 at gmail.com Sun Sep 26 11:51:52 2010 From: faust64 at gmail.com (=?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?=) Date: Sun Sep 26 11:52:04 2010 Subject: pf Message-ID: Hello, I'm trying to set up pf on my soon-to-be new gateway (8.1-RELEASE amd64). I used the sample configuration file available on calomel After a few tests, it appears that the gate has fully access to the internet, but I can't open connections from clients to distant servers (web, ssh, ...). Checking pflog log file, I can't see anything about those timeouts, even if I added the log directive in every block/pass command. Everything else seems to work, I can talk with my DNS from the internet, ssh redirections to another pc also seems to works. I just can't access the Internet from a client of my network... For debugging, I commented out the options and the 'block all in/out' directives. Here's my config file http://pastebin.com/Nim2zBCx Is there someone understanding what I'm doing wrong? Thanks for your help! Regards, Samuel Mart?n Moro {EPITECH.} tek5 From freebsd.user at seibercom.net Sun Sep 26 12:01:41 2010 From: freebsd.user at seibercom.net (Jerry) Date: Sun Sep 26 12:01:46 2010 Subject: mail problems.... In-Reply-To: <20100926102018.GA31513@thought.org> References: <20100926102018.GA31513@thought.org> Message-ID: <20100926080130.16a65c09@scorpio> On Sun, 26 Sep 2010 03:20:18 -0700 Gary Kline articulated: > i spent entire day saturday getting my primary server up to date. > unfortunately, no mail can get out..... maybe for days...... > > mail Can get in. Sorry, crystal ball is out for repairs. Perhaps you could enlighten us with some pertinent log entries, MTA being employed, etc. If Postfix, provide output from the postfinger tool. This can be found at http://ftp.wl0.org/SOURCES/postfinger. If the problem is SASL related, consider including the output from the saslfinger tool. This can be found at http://postfix.state-of-mind.de/patrick.koetter/saslfinger/. If the problem is about too much mail in the queue, consider including output from the qshape tool, as described in the QSHAPE_README file. I cannot help you with other MTAs. -- Jerry ? FreeBSD.user@seibercom.net 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/20100926/e07f6543/signature.pgp From m.seaman at infracaninophile.co.uk Sun Sep 26 12:25:42 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Sep 26 12:25:46 2010 Subject: Free BSD 8.1 In-Reply-To: <20100926123019.GA41450@lpthe.jussieu.fr> References: <20100926123019.GA41450@lpthe.jussieu.fr> Message-ID: <4C9F3BBA.2060809@infracaninophile.co.uk> On 26/09/2010 13:30:19, Michel Talon wrote: > Matthew Seaman said > >> Be aware that installing the ports tree from the DVD images is not the >> ideal way to do it. If you have the connectivity on your newly >> installed system, it is better to use either csup(1) or portsnap(1) to >> grab an up-to-date copy of the ports directly from the net. > > I disagree with that. You are supposing that newer is better, which is > far from proven (in fact blatantly false in many cases). Another option > is to install the ports tree from the DVD,and install corresponding > precompiled packages from the DVD or otherwise the web, and > *not* updating the ports tree. There is a lot to be said for this > option, and many users will be happier doing that, at least people who > want to use their machine and not spend their time upgrading, compiling > and fighting bugs. > No. I made no comment on the relative advantages and disadvantages of various updating strategies. Please do not put words into my mouth. Given that the OP asked about the ports I think it fairly safe to assume that his intention was to use them. And, yes, being up-to-date with the ports tree generally *does* give you better results than not. Ports are a moving target, dependent entirely on upstream changes. Expecting that a snapshot taken months or weeks ago will work just as well as one updated in the last hour is plain daft. Even without any functional changes to the ported software, projects still move to different hosting, URLs change as archive sites are internally reorganised, ftp servers come and go, dist files get re-rolled with new checksums. Aside from those neutral changes, ported software generally does improve over time. Updates that fix problems are way more common that updates that introduce them. Despite a few high-profile occasions when things have gone horribly wrong -- not just with the ports, but with any OSS project --- this is overwhelmingly the case. The quality control in the majority of large OSS projects is very good nowadays -- probably better than their closed source equivalents. End users can quite reasonably expect not to have to spend their time "fighting bugs." Newer generally /is/ better. Besides that, the assumption you are making, that change is undesirable, is just plain wrong. People will always want new stuff. It may not be wise for them to get it, but that's another story. 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/20100926/9eae6f62/signature.pgp From nightrecon at hotmail.com Sun Sep 26 13:32:17 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Sun Sep 26 13:32:22 2010 Subject: pf References: Message-ID: Samuel Mart?n Moro wrote: > Hello, > > > I'm trying to set up pf on my soon-to-be new gateway (8.1-RELEASE amd64). > I used the sample configuration file available on > calomel > After a few tests, it appears that the gate has fully access to the > internet, but I can't open connections from clients to distant servers > (web, ssh, ...). > Checking pflog log file, I can't see anything about those timeouts, even > if I added the log directive in every block/pass command. > Everything else seems to work, I can talk with my DNS from the internet, > ssh redirections to another pc also seems to works. > I just can't access the Internet from a client of my network... > > For debugging, I commented out the options and the 'block all in/out' > directives. > > Here's my config file http://pastebin.com/Nim2zBCx > > Is there someone understanding what I'm doing wrong? > The firewall ruleset is a trifle overly complex for a quick glance; study and analysis would take some doing. However, if you can reach the internet from the firewall box and other client computers behind your NAT can't (which is what it sounds like you're describing) it may be just that you are missing gateway_enable="YES" in your /etc/rc.conf. Turning this "ON" makes your firewall box into a router. The status of this can be checked with: sysctl net.inet.ip.forwarding - a "0" means no gateway and a "1" means gateway. -Mike From arundel at freebsd.org Sun Sep 26 14:05:23 2010 From: arundel at freebsd.org (Alexander Best) Date: Sun Sep 26 14:05:26 2010 Subject: make buildkernel pre-build too long In-Reply-To: References: <20100917003838.GA67783@freebsd.org> <20100921000624.GA86577@freebsd.org> Message-ID: <20100926140523.GA40380@freebsd.org> On Tue Sep 21 10, David DEMELIER wrote: > 2010/9/21 Alexander Best : > > On Fri Sep 17 10, David DEMELIER wrote: > >> 2010/9/17 Alexander Best : > >> > On Thu Sep 16 10, David DEMELIER wrote: > >> >> Hi there, > >> >> > >> >> I can't understand why this part of make buildkernel is so long on my > >> >> amd64 machine (8.1-R) > >> >> > >> >> make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | ?MKDEP_CPP="cc -E" > >> >> CC="cc" xargs mkdep -a -f .newdep -O2 -frename-registers -pipe > >> >> -fno-strict-aliasing ?-std=c99 ?-Wall -Wredundant-decls > >> >> -Wnested-externs -Wstrict-prototypes ?-Wmissing-prototypes > >> >> -Wpointer-arith -Winline -Wcast-qual ?-Wundef -Wno-pointer-sign > >> >> -fformat-extensions -nostdinc ?-I. -I/usr/src/sys > >> >> -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > >> >> -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath > >> >> -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm > >> >> -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD > >> >> -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs > >> >> -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb > >> >> -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > >> >> -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param > >> >> large-function-growth=1000 ?-fno-omit-frame-pointer -mcmodel=kernel > >> >> -mno-red-zone ?-mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx > >> >> -mno-3dnow ?-msoft-float -fno-asynchronous-unwind-tables > >> >> -ffreestanding -fstack-protector > >> >> > >> >> This command takes around 5-6 minutes before continuing, on my i386 > >> >> machine (which is really old) it only takes about 20 seconds. The > >> >> kernel configs are almost the same for both machines. > >> > > >> > are there any differences in /etc/make.conf? > >> > > >> > cheers. > >> > alex > >> > > >> >> > >> >> Do you have any idea? > >> >> > >> >> Kind regards, > >> >> > >> >> -- > >> >> Demelier David > >> > > >> > -- > >> > a13x > >> > > >> > >> No, except the KERNCONF entry it's exactly the same : > > > > hmmm....strange. could you post the ouput of `make -VCFLAGS -VCOPTFLAGS` on > > both your machines, please? > > > > cheers. > > alex > > > >> > >> # General settings. > >> KERNCONF=Melon > >> MASTER_SORT?= .fr .uk > >> > >> # Portconf. > >> .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf) > >> _PORTCONF!=/usr/local/libexec/portconf > >> .for i in ${_PORTCONF:S/|/ /g} > >> ${i:S/%/ /g} > >> .endfor > >> .endif > >> > >> # Perl. > >> PERL_VERSION=5.10.1 > >> > >> # No need modules. > >> NO_MODULES=yes > >> > >> # Specify other directories. > >> WRKDIRPREFIX= ? /usr/obj > >> DISTDIR= ? ? ? ?/usr/distfiles > >> > >> -- > >> Demelier David > > > > -- > > a13x > > > > -O2 -pipe > > I think the problem is the amd64 architecture. When I buildkernel > using TARGET_ARCH=i386 it takes only one minute or even less, it's > only native target (amd64) which is long. i'll try to cross build a kernel for i386 (i686) and see if that shortens the build time on my pc, too. you might want to consider aksing this question again on freebsd-current@ or freebsd-amd64@. not too many developers read freebsd-questions@. cheers. alex > > Kind regards, > > -- > Demelier David -- a13x From faust64 at gmail.com Sun Sep 26 15:44:05 2010 From: faust64 at gmail.com (=?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?=) Date: Sun Sep 26 15:44:09 2010 Subject: pf In-Reply-To: References: Message-ID: On Sun, Sep 26, 2010 at 3:34 PM, Michael Powell wrote: > Samuel Mart?n Moro wrote: > > > Hello, > > > > > > I'm trying to set up pf on my soon-to-be new gateway (8.1-RELEASE amd64). > > I used the sample configuration file available on > > calomel > > After a few tests, it appears that the gate has fully access to the > > internet, but I can't open connections from clients to distant servers > > (web, ssh, ...). > > Checking pflog log file, I can't see anything about those timeouts, even > > if I added the log directive in every block/pass command. > > Everything else seems to work, I can talk with my DNS from the internet, > > ssh redirections to another pc also seems to works. > > I just can't access the Internet from a client of my network... > > > > For debugging, I commented out the options and the 'block all in/out' > > directives. > > > > Here's my config file http://pastebin.com/Nim2zBCx > > > > Is there someone understanding what I'm doing wrong? > > > The firewall ruleset is a trifle overly complex for a quick glance; study > and analysis would take some doing. However, if you can reach the internet > from the firewall box and other client computers behind your NAT can't > (which is what it sounds like you're describing) it may be just that you > are > missing gateway_enable="YES" in your /etc/rc.conf. > > Turning this "ON" makes your firewall box into a router. The status of this > can be checked with: sysctl net.inet.ip.forwarding - a "0" means no > gateway > and a "1" means gateway. > > -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" > the gateway is already enabled (and forwarding is correctly set) whatever, I had to do quick, I started again I think the missing thing on my old conf was the 'scrub' (at least) I made a more simple configuration, as following: ext_if="bge0" int_if="bge1" localnet = $int_if:network emma="10.242.42.200" alpha="10.42.42.42" delta="10.42.42.44" set skip on lo0 scrub in on $ext_if all fragment reassemble #INTERNETZ nat on $ext_if from $localnet to any -> ($ext_if) #EMMA rdr on $ext_if inet proto tcp from any to ($ext_if) port 1101 -> $emma port 22 rdr on $ext_if inet proto tcp from any to ($ext_if) port 307 -> $emma port 80 #WHAT.CD rdr on $ext_if inet proto tcp from any to ($ext_if) port 1666 -> $alpha port 1666 #REMOTE ADM rdr on $ext_if inet proto tcp from any to ($ext_if) port 1667 -> $delta port 22 rdr on $ext_if inet proto tcp from any to ($ext_if) port 1668 -> $alpha port 22 pass in log on $ext_if inet proto tcp from any to $ext_if port 22 pass in log on $ext_if inet proto tcp from any to $ext_if port 53 pass in log on $ext_if inet proto udp from any to $ext_if port 53 pass in log on $ext_if inet proto tcp from any to $ext_if port 1664 pass in log on $int_if inet proto tcp from any to any pass in log on $int_if inet proto udp from any to any block in log on $ext_if inet proto icmp from any to $ext_if it's basically working i'll stuff it when I'll have time. Samuel Mart?n Moro {EPITECH.} tek5 From ryan.coleman at cwis.biz Sun Sep 26 15:53:30 2010 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Sun Sep 26 15:53:34 2010 Subject: mail problems.... In-Reply-To: <20100926080130.16a65c09@scorpio> References: <20100926102018.GA31513@thought.org> <20100926080130.16a65c09@scorpio> Message-ID: <21C11047-4055-4389-9DF4-9D8EF7DB0270@cwis.biz> I'd lay dollars to donuts that some service you are running (SASL, AV, etc) is not running and it's hanging there. Have you looked at the logs? Or done a verbose mailing to yourself? Your MTA should have a stuck queue list and reasons why for you. -- Ryan On Sep 26, 2010, at 7:01 AM, Jerry wrote: > On Sun, 26 Sep 2010 03:20:18 -0700 > Gary Kline articulated: > >> i spent entire day saturday getting my primary server up to date. >> unfortunately, no mail can get out..... maybe for days...... >> >> mail Can get in. > > Sorry, crystal ball is out for repairs. Perhaps you could enlighten us > with some pertinent log entries, MTA being employed, etc. If Postfix, > provide output from the postfinger tool. This can be found at > http://ftp.wl0.org/SOURCES/postfinger. If the problem is SASL related, > consider including the output from the saslfinger tool. This can be > found at http://postfix.state-of-mind.de/patrick.koetter/saslfinger/. > If the problem is about too much mail in the queue, consider including > output from the qshape tool, as described in the QSHAPE_README file. I > cannot help you with other MTAs. > > -- > Jerry ? > FreeBSD.user@seibercom.net > > Disclaimer: off-list followups get on-list replies or get ignored. > Please do not ignore the Reply-To header. > __________________________________________________________________ From dick at nagual.nl Sun Sep 26 16:29:13 2010 From: dick at nagual.nl (Dick Hoogendijk) Date: Sun Sep 26 16:29:17 2010 Subject: port upgrading Message-ID: <4C9F74DD.6000009@nagual.nl> I'm in doubt. I wanted to bring my ports collection uptodate, so I ran "csup -L 2 /root/ports-supfile" and that updated my ports collection. At least, I hope so. Then I started googling and found that cvsup is not recommended. Better tot use portsnap (???) And also portupgrade was a no go. I should be using portmaster. Woh, I'm confused now. Question: what is best used to have an up2date ports collection nowadays? This system is FreeBSD8/amd64. From FreeBSD at insightbb.com Sun Sep 26 16:47:31 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Sun Sep 26 16:47:35 2010 Subject: sudo anomaly Message-ID: <201009261247.30582.FreeBSD@insightbb.com> I have a userID, admin, that I add to my systems to use when I perform system admin functions. I also use this ID when using X-windows, never starting X as root user. So I needed to check my mail for daily run outputs and so I tried to use su then mail, but I got admin's mail. So I exited su, and tried sudo mail. I got root's mailbox nd I deleted all but two emails. When I q(uit) mail, it said it saved 2 messages in mbox. But when I try to go back in it says I don't have any mail. There is no root directory in /var/mail. Did sudo lose my mbox? Can anyone verify this anomaly? -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From FreeBSD at insightbb.com Sun Sep 26 16:52:15 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Sun Sep 26 16:52:19 2010 Subject: apropos returning same item twice In-Reply-To: <1284874572.20540.1746.camel@predator-ii.buffyverse> References: <201009111442.49114.FreeBSD@insightbb.com> <201009171218.38065.FreeBSD@insightbb.com> <1284874572.20540.1746.camel@predator-ii.buffyverse> Message-ID: <201009261252.14140.FreeBSD@insightbb.com> On Sunday 19 September 2010 1:36:12 am Wayne Sierke wrote: > On Fri, 2010-09-17 at 12:18 -0400, Steven Friedrich wrote: > > On Thursday 16 September 2010 4:12:44 am Wayne Sierke wrote: > > > On Wed, 2010-09-15 at 18:27 -0400, Steven Friedrich wrote: > > > > On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote: > > > > > On Tue, 2010-09-14 at 00:37 +0000, Alexander Best wrote: > > > > > > On Sat Sep 11 10, Steven Friedrich wrote: > > > > > > > Why does apropos list mysql(1) twice? > > > > > > > > > > > > > > It doesn't return duplicates with apropos kde... > > > > > > > > > > > > maybe you have a gzip'ed and plain version in /usr ? > > > > > > > > > > > > see PR #4419. > > > > > > > > > > > > cheers. > > > > > > alex > > > > > > > > > > Are you certain that /etc/manpath.config doesn't just still > > > > > have /usr/X11R6/man configured (as well as /usr/local/man)? > > > > > Admittedly the kde issue is a mystery, assuming its manpages are > > > > > installed in /usr/local/man. This system has the following: > > > > > > > > > > OPTIONAL_MANPATH /usr/local/man > > > > > # (disabled by xorg-libraries port) OPTIONAL_MANPATH /usr/X11R6/man > > > > > > > > > > MANPATH_MAP /usr/local/bin /usr/local/man > > > > > # (disabled by xorg-libraries port) > > > > > MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man > > > > > > > > > > > > > > > Is the whatis file being updated? Check the timestamp: > > > > > > > > > > # ls -l /usr/local/man/whatis > > > > > -rw-r--r-- 1 root wheel 273178 Sep 11 04:22 > > > > > /usr/local/man/whatis > > > > > > > > > > > > > > > Wayne > > > > > > > > > > > > admin@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > 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 still have X11R6 in usr symlinked to /usr/local. This was done per > > > > entry 20070519 in /usr/ports/UPDATING. > > > > > > > > Do we still need this symlink? > > > > > > Yes, anything that references /usr/X11R6 gets directed to /usr/local. > > > > Well I temporarily removed it and this anomaly disappeared. Perhaps we > > just have to suffer until we know the symlink can be removed. I thought > > it was going to eventually be removed... > > > > > Did you check /etc/manpath.config and the timestamp > > > on /usr/local/man/whatis? > > > > grep -v '^#' manpath.config > > MANDATORY_MANPATH /usr/share/man > > MANDATORY_MANPATH /usr/share/openssl/man > > OPTIONAL_MANPATH /usr/local/man > > MANPATH_MAP /bin /usr/share/man > > MANPATH_MAP /usr/bin /usr/share/man > > MANPATH_MAP /usr/local/bin /usr/local/man > > OPTIONAL_MANPATH /usr/local/lib/perl5/5.12.2/man > > OPTIONAL_MANPATH /usr/local/lib/perl5/5.12.2/perl/man > > > > > Another check is that the output of manpath(1) doesn't > > > include /usr/X11R6/man. > > > > manpath > > /usr/share/man:/usr/local/man:/usr/local/kde4/man:/usr/share/openssl/man: > > /usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/man > > Ok. There's also: > > %man -a -w mysql > > to see the origins of the multiple man pages, although it seems that you > may have already confirmed the /usr/X11R6 path connection. > > >From what you've presented so far I'd say it's looking like a problem > man -a -w mysql /usr/local/man/man1/mysql.1.gz /usr/X11R6/man/man1/mysql.1.gz > with updating of the "whatis" db files. So to verify whether the weekly > periodic "makewhatis" is being run:- > - check the timestamp on /usr/local/man/whatis - it shouldn't be more > than a week old > - check that the "weekly run output" report lists "Rebuilding whatis > database:" and that it doesn't list any errors, e.g.: > > Rebuilding whatis database: > > -- End of weekly output -- > ll /usr/local/man/whatis -rw-r--r-- 1 root wheel 369225 Sep 25 04:21 /usr/local/man/whatis I thn manually ran sudo makewhatis /usr/local/man without error. Anomaly still occurs. I'm not fully versed (yet) on makewhatis, but I think (from reading the description for the -a switch) that it is supposed to remove duplicate entries. -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From FreeBSD at insightbb.com Sun Sep 26 16:57:27 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Sun Sep 26 16:57:30 2010 Subject: apropos returning same item twice In-Reply-To: <1284874572.20540.1746.camel@predator-ii.buffyverse> References: <201009111442.49114.FreeBSD@insightbb.com> <201009171218.38065.FreeBSD@insightbb.com> <1284874572.20540.1746.camel@predator-ii.buffyverse> Message-ID: <201009261257.18970.FreeBSD@insightbb.com> On Sunday 19 September 2010 1:36:12 am Wayne Sierke wrote: > On Fri, 2010-09-17 at 12:18 -0400, Steven Friedrich wrote: > > On Thursday 16 September 2010 4:12:44 am Wayne Sierke wrote: > > > On Wed, 2010-09-15 at 18:27 -0400, Steven Friedrich wrote: > > > > On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote: > > > > > On Tue, 2010-09-14 at 00:37 +0000, Alexander Best wrote: > > > > > > On Sat Sep 11 10, Steven Friedrich wrote: > > > > > > > Why does apropos list mysql(1) twice? > > > > > > > > > > > > > > It doesn't return duplicates with apropos kde... > > > > > > > > > > > > maybe you have a gzip'ed and plain version in /usr ? > > > > > > > > > > > > see PR #4419. > > > > > > > > > > > > cheers. > > > > > > alex > > > > > > > > > > Are you certain that /etc/manpath.config doesn't just still > > > > > have /usr/X11R6/man configured (as well as /usr/local/man)? > > > > > Admittedly the kde issue is a mystery, assuming its manpages are > > > > > installed in /usr/local/man. This system has the following: > > > > > > > > > > OPTIONAL_MANPATH /usr/local/man > > > > > # (disabled by xorg-libraries port) OPTIONAL_MANPATH /usr/X11R6/man > > > > > > > > > > MANPATH_MAP /usr/local/bin /usr/local/man > > > > > # (disabled by xorg-libraries port) > > > > > MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man > > > > > > > > > > > > > > > Is the whatis file being updated? Check the timestamp: > > > > > > > > > > # ls -l /usr/local/man/whatis > > > > > -rw-r--r-- 1 root wheel 273178 Sep 11 04:22 > > > > > /usr/local/man/whatis > > > > > > > > > > > > > > > Wayne > > > > > > > > > > > > admin@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > 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 still have X11R6 in usr symlinked to /usr/local. This was done per > > > > entry 20070519 in /usr/ports/UPDATING. > > > > > > > > Do we still need this symlink? > > > > > > Yes, anything that references /usr/X11R6 gets directed to /usr/local. > > > > Well I temporarily removed it and this anomaly disappeared. Perhaps we > > just have to suffer until we know the symlink can be removed. I thought > > it was going to eventually be removed... > > > > > Did you check /etc/manpath.config and the timestamp > > > on /usr/local/man/whatis? > > > > grep -v '^#' manpath.config > > MANDATORY_MANPATH /usr/share/man > > MANDATORY_MANPATH /usr/share/openssl/man > > OPTIONAL_MANPATH /usr/local/man > > MANPATH_MAP /bin /usr/share/man > > MANPATH_MAP /usr/bin /usr/share/man > > MANPATH_MAP /usr/local/bin /usr/local/man > > OPTIONAL_MANPATH /usr/local/lib/perl5/5.12.2/man > > OPTIONAL_MANPATH /usr/local/lib/perl5/5.12.2/perl/man > > > > > Another check is that the output of manpath(1) doesn't > > > include /usr/X11R6/man. > > > > manpath > > /usr/share/man:/usr/local/man:/usr/local/kde4/man:/usr/share/openssl/man: > > /usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/man > > Ok. There's also: > > %man -a -w mysql > > to see the origins of the multiple man pages, although it seems that you > may have already confirmed the /usr/X11R6 path connection. > > >From what you've presented so far I'd say it's looking like a problem > > with updating of the "whatis" db files. So to verify whether the weekly > periodic "makewhatis" is being run:- > - check the timestamp on /usr/local/man/whatis - it shouldn't be more > than a week old > - check that the "weekly run output" report lists "Rebuilding whatis > database:" and that it doesn't list any errors, e.g.: > > Rebuilding whatis database: > > -- End of weekly output -- I also tried, as root in a text console (not in X), makewhatis `manpath` and it complained that it already visited /usr/X11R6/man, but the duplicates still appear. -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From rg.lists at rzweb.com Sun Sep 26 16:59:34 2010 From: rg.lists at rzweb.com (Ron) Date: Sun Sep 26 16:59:38 2010 Subject: Problems upgrading p5-IO-Compress Message-ID: <271B9963-5384-4DB8-B0A8-A71B0F0326A7@rzweb.com> I went to upgrade my ports this morning and saw this: p5-Compress-Zlib-2.015 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') p5-IO-Compress-Base-2.015 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') p5-IO-Compress-Bzip2-2.015 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') p5-IO-Compress-Zlib-2.015_1 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') After reading CHANGES and UPDATING I did a portupgrade p5-* since there were no specific instructions and I get this: ===> Checking if archivers/p5-IO-Compress already installed ===> An older version of archivers/p5-IO-Compress is already installed (p5-Compress-Zlib-2.015) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of archivers/p5-IO-Compress without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/archivers/p5-IO-Compress. *** Error code 1 Stop in /usr/ports/archivers/p5-IO-Zlib. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100926-29184-lhtw7y-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-IO-Zlib-1.10 UPGRADE_PORT_VER=1.10 make ** Fix the problem and try again. ---> Skipping 'archivers/p5-Archive-Tar' (p5-Archive-Tar-1.68) because a requisite package 'p5-IO-Zlib-1.10' (archivers/p5-IO-Zlib) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! archivers/p5-IO-Zlib (p5-IO-Zlib-1.10) (unknown build error) * archivers/p5-Archive-Tar (p5-Archive-Tar-1.68) If I try and run pkg_delete p5-IO-Compress-Zlib-2.015_1 it won't let me because the package is in use. How do I upgrade? Did I miss some obvious instructions? All UPDATING says is: 20100921: AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* AUTHOR: mm@FreeBSD.org The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. Users of Perl 5.10 and higher do not need to install this module because it is already included in the standard perl distribution. I tried following the instructions above about running make deinstall and now I get: [Updating the pkgdb in /var/db/pkg ... - 238 packages found (-1 +0) (...) done] Stale dependency: p5-Archive-Tar-1.68 --> p5-IO-Zlib-1.10 -- manually run 'pkgdb -F' to fix, or specify -O to force. I've tried running pkgdb -F, but it is just asking my a lot of questions like: Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 p5-IO-Compress-Zlib-2.015_1 Unregister any of them? [no] and I have no idea what the right answer is. I am running perl 5.8.9 and Freebsd 7.1 Any help is appreciated since I am completely lost. I've been freebsd for many years on my personal server but never encountered a mess like this before. Ron From rsmith at xs4all.nl Sun Sep 26 17:05:38 2010 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Sep 26 17:05:42 2010 Subject: port upgrading In-Reply-To: <4C9F74DD.6000009@nagual.nl> References: <4C9F74DD.6000009@nagual.nl> Message-ID: <20100926170530.GA32854@slackbox.erewhon.net> On Sun, Sep 26, 2010 at 06:29:17PM +0200, Dick Hoogendijk wrote: > Question: what is best used to have an up2date ports collection nowadays? > This system is FreeBSD8/amd64. IMO if you don't mind compiling your own ports, use portsnap and portmaster. The sequence is like this; 1) Run `portsnap fetch update`, but see (a). 2) Read /usr/ports/UPDATING, and see if any additions to the top of the file apply to you. If so, take appropriate action. 3) If you have local patches to the ports tree, re-apply them if necessary. This is not really recommended but can be handy sometimes. 4) Run `portmaster -a -B -d` (a) When you run portsnap for the first time, or if you have damaged or deleted the contents of /var/db/portsnap, use 'portsnap fetch extract' instead. For me this is part of the weekly routine. Keep an eye on http://www.freshports.org/ to see if there are interesting changes for you. If you are upgrading to another major version of FreeBSD (say 7.x to 8.x), make a list of all used ports with `portmaster -l >ports.list`. Then delete all ports before updating the system. After the update, re-install the 'root' and 'leaf' ports from ports.list. Hope this helps. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [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/20100926/8d5d0e43/attachment.pgp From igalgand at freemail.hu Sun Sep 26 17:13:12 2010 From: igalgand at freemail.hu (Istvan Galgand) Date: Sun Sep 26 17:13:16 2010 Subject: rhythmbox issue Message-ID: <20100926162643.GA10795@freebsd02.snowboard.ice> Dear All, I've just realized that I can't start Rhythmbox from my Gnome desktop. I've tried to launch it from menu, from terminal, nothing happens, no error messages appear at all. When I used Rhythmbox last time, lets's say, one or two weeks ago, everything was OK. First I was thinking of deleting all the files relating to Rhythmbox application found in my home directory but in the end I considered this action as an unadvised one, so didn't touch anything. Would you provide me with an idea how to start to fix the problem, please? Thanks, Istvan --- This mail was sent by Mutt-1.4.2.3_5, FreeBSD 8.1-RELEASE-#0, GENERIC i386 From m.seaman at infracaninophile.co.uk Sun Sep 26 17:13:49 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Sep 26 17:13:53 2010 Subject: port upgrading In-Reply-To: <4C9F74DD.6000009@nagual.nl> References: <4C9F74DD.6000009@nagual.nl> Message-ID: <4C9F7F40.60407@infracaninophile.co.uk> On 26/09/2010 17:29:17, Dick Hoogendijk wrote: > I'm in doubt. I wanted to bring my ports collection uptodate, so I ran > "csup -L 2 /root/ports-supfile" and that updated my ports collection. At > least, I hope so. > > Then I started googling and found that cvsup is not recommended. Better > tot use portsnap (???) > And also portupgrade was a no go. I should be using portmaster. > > Woh, I'm confused now. > Question: what is best used to have an up2date ports collection nowadays? > This system is FreeBSD8/amd64. csup(1) works fine and there's no good reasons not to use it. portsnap(1) also works fine, and there aren't any obvious problems that mean you shouldn't use it either. There is one somewhat subtle difference, which won't affect most people. 'portsnap extract' will blow away any custom files (Makefile.local, extra patches etc.) that you've added to the ports tree. csup(1) leaves them put. Obviously, either of the two methods will revert any modifications you've made to any files already known to be part of the ports tree. Once you've updated the tree, then you've got several choices for updating your installed ports. portupgrade(1) and portmaster(1) are the leading candidates there: portupgrade probably still has the edge on features, although development seems to be stuttering a bit recently. portmaster wins on simplicity -- it's a shell script with no other dependencies -- but still packs an awful lot of good stuff into approximately 3600 lines. Doug B is actively working on it and very responsive to bug reports etc. Really either of those two will serve you well, as will various others I haven't mentioned. Try them out, see which is most to your taste. There isn't any one 'best' solution that everyone is enjoined to use. That's not the BSD way: "Tools, not policy." There are several solutions that you can use, and it's up to you to select which one you prefer. Sure, people having strong opinions on the subject have posted their thoughts on various fora, but don't be misled: those are individual opinions, and not an official position. 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/20100926/961a514b/signature.pgp From m.seaman at infracaninophile.co.uk Sun Sep 26 17:22:19 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Sep 26 17:22:23 2010 Subject: Problems upgrading p5-IO-Compress In-Reply-To: <271B9963-5384-4DB8-B0A8-A71B0F0326A7@rzweb.com> References: <271B9963-5384-4DB8-B0A8-A71B0F0326A7@rzweb.com> Message-ID: <4C9F8146.8040707@infracaninophile.co.uk> On 26/09/2010 17:44:06, Ron wrote: > I've tried running pkgdb -F, but it is just asking my a lot of > questions like: > > Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 > p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 > p5-IO-Compress-Zlib-2.015_1 Unregister any of them? [no] > > and I have no idea what the right answer is. > > I am running perl 5.8.9 and Freebsd 7.1 > > Any help is appreciated since I am completely lost. I've been > freebsd for many years on my personal server but never encountered a > mess like this before. Since you're running perl-5.8.9 you need to have p5-IO-Compress installed as a separate port. Try this: # portupgrade -o archivers/p5-IO-Compress -f p5-Compress-Zlib-2.015 # portupgrade -o archivers/p5-IO-Compress -f p5-IO-Compress-Base-2.015 # portupgrade -o archivers/p5-IO-Compress -f p5-IO-Compress-Bzip2-2.015 # portupgrade -o archivers/p5-IO-Compress -f p5-IO-Compress-Zlib-2.015_1 That should transfer all dependencies on p5-(IO-)?Compress-* onto p5-IO-Compress, which is the desired result. 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/20100926/527677f7/signature.pgp From frank at shute.org.uk Sun Sep 26 17:27:03 2010 From: frank at shute.org.uk (Frank Shute) Date: Sun Sep 26 17:27:06 2010 Subject: Problems upgrading p5-IO-Compress In-Reply-To: <271B9963-5384-4DB8-B0A8-A71B0F0326A7@rzweb.com> References: <271B9963-5384-4DB8-B0A8-A71B0F0326A7@rzweb.com> Message-ID: <20100926172659.GA42113@orange.esperance-linux.co.uk> On Sun, Sep 26, 2010 at 09:44:06AM -0700, Ron wrote: > > I went to upgrade my ports this morning and saw this: > > p5-Compress-Zlib-2.015 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') > p5-IO-Compress-Base-2.015 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') > p5-IO-Compress-Bzip2-2.015 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') > p5-IO-Compress-Zlib-2.015_1 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') > > After reading CHANGES and UPDATING I did a portupgrade p5-* since there were no specific instructions and I get this: > > ===> Checking if archivers/p5-IO-Compress already installed > ===> An older version of archivers/p5-IO-Compress is already installed (p5-Compress-Zlib-2.015) > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of archivers/p5-IO-Compress > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/archivers/p5-IO-Compress. > *** Error code 1 > > Stop in /usr/ports/archivers/p5-IO-Zlib. > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100926-29184-lhtw7y-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-IO-Zlib-1.10 UPGRADE_PORT_VER=1.10 make > ** Fix the problem and try again. > ---> Skipping 'archivers/p5-Archive-Tar' (p5-Archive-Tar-1.68) because a requisite package 'p5-IO-Zlib-1.10' (archivers/p5-IO-Zlib) failed (specify -k to force) > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! archivers/p5-IO-Zlib (p5-IO-Zlib-1.10) (unknown build error) > * archivers/p5-Archive-Tar (p5-Archive-Tar-1.68) > > If I try and run pkg_delete p5-IO-Compress-Zlib-2.015_1 it won't let me because the package is in use. > > How do I upgrade? Did I miss some obvious instructions? All UPDATING says is: > > 20100921: > AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* > AUTHOR: mm@FreeBSD.org > > The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and > p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. > Users of Perl 5.10 and higher do not need to install this module > because it is already included in the standard perl distribution. > > I tried following the instructions above about running make deinstall and now I get: > > [Updating the pkgdb in /var/db/pkg ... - 238 packages found (-1 +0) (...) done] > Stale dependency: p5-Archive-Tar-1.68 --> p5-IO-Zlib-1.10 -- manually run 'pkgdb -F' to fix, or specify -O to force. > > I've tried running pkgdb -F, but it is just asking my a lot of questions like: > > Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 p5-IO-Compress-Zlib-2.015_1 > Unregister any of them? [no] The answer is to run pgdb -F and unregister: p5-Compress-Zlib p5-IO-Compress-Base p5-IO-Compress-Bzip2 p5-IO-Compress-Zlib and you should be in the clear. > > and I have no idea what the right answer is. > > I am running perl 5.8.9 and Freebsd 7.1 > > Any help is appreciated since I am completely lost. I've been freebsd for many years on my personal server but never encountered a mess like this before. > > Ron > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From rg.lists at rzweb.com Sun Sep 26 17:31:35 2010 From: rg.lists at rzweb.com (Ron) Date: Sun Sep 26 17:31:39 2010 Subject: Problems upgrading p5-IO-Compress In-Reply-To: <20100926172659.GA42113@orange.esperance-linux.co.uk> References: <271B9963-5384-4DB8-B0A8-A71B0F0326A7@rzweb.com> <20100926172659.GA42113@orange.esperance-linux.co.uk> Message-ID: <52AF6072-A015-4FDD-81B8-00F2C8DD0727@rzweb.com> On Sep 26, 2010, at 10:26 AM, Frank Shute wrote: > On Sun, Sep 26, 2010 at 09:44:06AM -0700, Ron wrote: >> >> I went to upgrade my ports this morning and saw this: >> >> p5-Compress-Zlib-2.015 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >> p5-IO-Compress-Base-2.015 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >> p5-IO-Compress-Bzip2-2.015 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >> p5-IO-Compress-Zlib-2.015_1 < needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >> >> After reading CHANGES and UPDATING I did a portupgrade p5-* since there were no specific instructions and I get this: >> >> ===> Checking if archivers/p5-IO-Compress already installed >> ===> An older version of archivers/p5-IO-Compress is already installed (p5-Compress-Zlib-2.015) >> You may wish to ``make deinstall'' and install this port again >> by ``make reinstall'' to upgrade it properly. >> If you really wish to overwrite the old port of archivers/p5-IO-Compress >> without deleting it first, set the variable "FORCE_PKG_REGISTER" >> in your environment or the "make install" command line. >> *** Error code 1 >> >> Stop in /usr/ports/archivers/p5-IO-Compress. >> *** Error code 1 >> >> Stop in /usr/ports/archivers/p5-IO-Zlib. >> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100926-29184-lhtw7y-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-IO-Zlib-1.10 UPGRADE_PORT_VER=1.10 make >> ** Fix the problem and try again. >> ---> Skipping 'archivers/p5-Archive-Tar' (p5-Archive-Tar-1.68) because a requisite package 'p5-IO-Zlib-1.10' (archivers/p5-IO-Zlib) failed (specify -k to force) >> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >> ! archivers/p5-IO-Zlib (p5-IO-Zlib-1.10) (unknown build error) >> * archivers/p5-Archive-Tar (p5-Archive-Tar-1.68) >> >> If I try and run pkg_delete p5-IO-Compress-Zlib-2.015_1 it won't let me because the package is in use. >> >> How do I upgrade? Did I miss some obvious instructions? All UPDATING says is: >> >> 20100921: >> AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* >> AUTHOR: mm@FreeBSD.org >> >> The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and >> p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. >> Users of Perl 5.10 and higher do not need to install this module >> because it is already included in the standard perl distribution. >> >> I tried following the instructions above about running make deinstall and now I get: >> >> [Updating the pkgdb in /var/db/pkg ... - 238 packages found (-1 +0) (...) done] >> Stale dependency: p5-Archive-Tar-1.68 --> p5-IO-Zlib-1.10 -- manually run 'pkgdb -F' to fix, or specify -O to force. >> >> I've tried running pkgdb -F, but it is just asking my a lot of questions like: >> >> Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 p5-IO-Compress-Zlib-2.015_1 >> Unregister any of them? [no] > > The answer is to run pgdb -F and unregister: > > p5-Compress-Zlib > p5-IO-Compress-Base > p5-IO-Compress-Bzip2 > p5-IO-Compress-Zlib > > and you should be in the clear. > >> >> and I have no idea what the right answer is. >> >> I am running perl 5.8.9 and Freebsd 7.1 >> >> Any help is appreciated since I am completely lost. I've been freebsd for many years on my personal server but never encountered a mess like this before. >> >> Ron >> > Excellent, this seems to have fixed it! Thanks! Ron > Regards, > > -- > > Frank > > Contact info: http://www.shute.org.uk/misc/contact.html > > From dick at nagual.nl Sun Sep 26 17:50:50 2010 From: dick at nagual.nl (Dick Hoogendijk) Date: Sun Sep 26 17:50:53 2010 Subject: port upgrading In-Reply-To: <4C9F7F40.60407@infracaninophile.co.uk> References: <4C9F74DD.6000009@nagual.nl> <4C9F7F40.60407@infracaninophile.co.uk> Message-ID: <4C9F87E8.5000502@nagual.nl> On 26-9-2010 19:13, Matthew Seaman wrote: > Really either of those two will serve you well, as will various others I like portupgrade. One question about dependencies: if I want to update *one* port I have to run "portupgrade -R portname", right. But *when* do I run portupgrade -R ,name> c.q. portupgrade -rR ? From kline at magnesium.net Sun Sep 26 17:56:22 2010 From: kline at magnesium.net (Gary Kline) Date: Sun Sep 26 17:56:25 2010 Subject: hanging mail. Message-ID: <20100926175623.GA39340@thought.org> Just a FWIW, the last time that mutt exited with a 127 error a friend from Dallas figured it out in about ten minutes. Something needed rebuilding. If we were chatting then I have the logs. but i inadvertantly removed my entire mail directory on ns1 [ethic]. gary PS: sendmail on my server, dovecot, Postfix on my desktop. Umm, no window manager on ethic. It's a server. What logs can I post? val/log/maillog is a zoo last time I chexked early this morning. ... -- Gary Kline Seattle BSD Users' Group (seabug) | kline@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant From glimp at live.com Sun Sep 26 17:59:53 2010 From: glimp at live.com (dan) Date: Sun Sep 26 17:59:57 2010 Subject: Problems upgrading p5-IO-Compress In-Reply-To: <52AF6072-A015-4FDD-81B8-00F2C8DD0727@rzweb.com> References: <271B9963-5384-4DB8-B0A8-A71B0F0326A7@rzweb.com> <20100926172659.GA42113@orange.esperance-linux.co.uk> <52AF6072-A015-4FDD-81B8-00F2C8DD0727@rzweb.com> Message-ID: On 26.09.2010 19:31, Ron wrote: > > On Sep 26, 2010, at 10:26 AM, Frank Shute wrote: > >> On Sun, Sep 26, 2010 at 09:44:06AM -0700, Ron wrote: >>> >>> I went to upgrade my ports this morning and saw this: >>> >>> p5-Compress-Zlib-2.015< needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >>> p5-IO-Compress-Base-2.015< needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >>> p5-IO-Compress-Bzip2-2.015< needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >>> p5-IO-Compress-Zlib-2.015_1< needs updating (port has 2.030) (=> 'archivers/p5-IO-Compress') >>> >>> After reading CHANGES and UPDATING I did a portupgrade p5-* since there were no specific instructions and I get this: >>> >>> ===> Checking if archivers/p5-IO-Compress already installed >>> ===> An older version of archivers/p5-IO-Compress is already installed (p5-Compress-Zlib-2.015) >>> You may wish to ``make deinstall'' and install this port again >>> by ``make reinstall'' to upgrade it properly. >>> If you really wish to overwrite the old port of archivers/p5-IO-Compress >>> without deleting it first, set the variable "FORCE_PKG_REGISTER" >>> in your environment or the "make install" command line. >>> *** Error code 1 >>> >>> Stop in /usr/ports/archivers/p5-IO-Compress. >>> *** Error code 1 >>> >>> Stop in /usr/ports/archivers/p5-IO-Zlib. >>> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100926-29184-lhtw7y-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-IO-Zlib-1.10 UPGRADE_PORT_VER=1.10 make >>> ** Fix the problem and try again. >>> ---> Skipping 'archivers/p5-Archive-Tar' (p5-Archive-Tar-1.68) because a requisite package 'p5-IO-Zlib-1.10' (archivers/p5-IO-Zlib) failed (specify -k to force) >>> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >>> ! archivers/p5-IO-Zlib (p5-IO-Zlib-1.10) (unknown build error) >>> * archivers/p5-Archive-Tar (p5-Archive-Tar-1.68) >>> >>> If I try and run pkg_delete p5-IO-Compress-Zlib-2.015_1 it won't let me because the package is in use. >>> >>> How do I upgrade? Did I miss some obvious instructions? All UPDATING says is: >>> >>> 20100921: >>> AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* >>> AUTHOR: mm@FreeBSD.org >>> >>> The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and >>> p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. >>> Users of Perl 5.10 and higher do not need to install this module >>> because it is already included in the standard perl distribution. >>> >>> I tried following the instructions above about running make deinstall and now I get: >>> >>> [Updating the pkgdb in /var/db/pkg ... - 238 packages found (-1 +0) (...) done] >>> Stale dependency: p5-Archive-Tar-1.68 --> p5-IO-Zlib-1.10 -- manually run 'pkgdb -F' to fix, or specify -O to force. >>> >>> I've tried running pkgdb -F, but it is just asking my a lot of questions like: >>> >>> Duplicated origin: archivers/p5-IO-Compress - p5-Compress-Zlib-2.015 p5-IO-Compress-Base-2.015 p5-IO-Compress-Bzip2-2.015 p5-IO-Compress-Zlib-2.015_1 >>> Unregister any of them? [no] >> >> The answer is to run pgdb -F and unregister: >> >> p5-Compress-Zlib >> p5-IO-Compress-Base >> p5-IO-Compress-Bzip2 >> p5-IO-Compress-Zlib >> >> and you should be in the clear. >> >>> >>> and I have no idea what the right answer is. >>> >>> I am running perl 5.8.9 and Freebsd 7.1 >>> >>> Any help is appreciated since I am completely lost. I've been freebsd for many years on my personal server but never encountered a mess like this before. >>> >>> Ron >>> >> > > Excellent, this seems to have fixed it! Thanks! > > Ron > >> Regards, >> >> -- >> >> Frank >> >> Contact info: http://www.shute.org.uk/misc/contact.html >> >> > > _______________________________________________ > 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" > > Oh, here, I actually did not de-register anything. I first run pkgdb -F. It fixed something and I answer no to "unregister ...?". Then, after reading /usr/ports/UPDATING " 20100921: AFFECTS: users of p5-Compress-Zlib, p5-IO-Compress-* AUTHOR: mm@FreeBSD.org The p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 ports have been replaced by p5-IO-Compress. Users of Perl 5.10 and higher do not need to install this module because it is already included in the standard perl distribution. " I manually checked any dependencies of the cited ports (p5-...) and de-installed the cited ports that were actually installed here and not required by any other port. Later pkgdb did not make complaints anymore. Is this procedure probably... wrong ? :-) As of my opinion unregister means "discarding information" but the ports are still installed and probably not used anymore. BUt just my opinion... d From kline at magnesium.net Sun Sep 26 18:21:59 2010 From: kline at magnesium.net (Gary Kline) Date: Sun Sep 26 18:22:04 2010 Subject: /var/log/maillog Message-ID: <20100926182200.GA40516@thought.org> Here is a snippet of maillog. mutt still exiting with an 'Exec Error' Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org p1 11:15 [4598] anybody? -- Gary Kline Seattle BSD Users' Group (seabug) | kline@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant From freebsd at lecuire.fr Sun Sep 26 16:49:38 2010 From: freebsd at lecuire.fr (BernardL) Date: Sun Sep 26 18:25:53 2010 Subject: FreeBSD on Compaq mini CQ10 anyone? In-Reply-To: <4C8316C5.2060906@gmail.com> References: <4C8316C5.2060906@gmail.com> Message-ID: <4C9F7589.5090707@lecuire.fr> Le 05/09/2010 06:04, Gonzalo Nemmi a ?crit : > I just got one and was wondering if anyone was running FreeBSD on it > and how well does it work out of the box. > All comments are welcome. > I have one with FreeBSD 8.1. Some difficulties to install X11 (I had to use Driver "vesa" instead of "intel" in the section "Device" of xorg.config). And the internal Wifi device is not recognized by FreeBSD. Regards Bernard Lecuire > Best Regards. > Gonzalo Nemmi > _______________________________________________ > 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 ksambaiah at gmail.com Sun Sep 26 18:55:26 2010 From: ksambaiah at gmail.com (Sambaiah Kilaru) Date: Sun Sep 26 18:55:29 2010 Subject: H/w for gateway and backup (OT) Message-ID: <8806241.311285525886467.JavaMail.kilarus@waycareput-lm> Hi All, I am looking to buy some gateway which can run FreeBSD or some *nix with three ethernet ports. I can take any system and make it g/w, but looking any custom h/w (much smaller than cobalt server) I am also looking some 2-8 TB backup drive. I am looking to buy in US. I am out of touch for some time with h/w so requesting through mailing list. thanks, Sam From henry.olyer at gmail.com Sun Sep 26 19:06:52 2010 From: henry.olyer at gmail.com (Henry Olyer) Date: Sun Sep 26 19:06:56 2010 Subject: trying to put up X, am using an Nvidia card an HP Presario Message-ID: Several people in this group took a lot of time and helped me when I couldn't get FBSD 7.2 running with X on an HP Presario. Now, I'm having *somewhat* *similar* problems, doing the install for 8.1. I've attached my rc,conf, the X log file, and the list of installed packages. I've also said: hald_enable="YES" and dbus_enable="YES" in the rc.conf file. Apparently playing with the boot loader file isn't necessary, now. Oh, I downloaded (using sys-install,) the nvidia helper system but couldn't get the NVIDIA screen logo that goes up just before X comes up. Thanks, all! From wodfer at gmail.com Sun Sep 26 19:13:55 2010 From: wodfer at gmail.com (Andy Wodfer) Date: Sun Sep 26 19:13:59 2010 Subject: [SOLVED] Trouble enabling GD in php/apache In-Reply-To: References: Message-ID: On Fri, Sep 24, 2010 at 1:52 PM, Andy Wodfer wrote: > I'm running FreeBSD 8.0 RELEASE. > > I can't get GD enabled. I have installed latestes php5 from ports aswell as > php5-extensions and enabled GD on the option screen: > > cd /usr/ports/lang/php5 > make deinstall > make clean > make rmconfig > make install clean > > cd /usr/ports/lang/php5-extensions > make deinstall > make clean > make rmconfig > make install clean > > I'm running the latest Apache 2.2.x version and GD 2.0.35. > > I'm currently doing a portupgrade -a to see if that helps, but I think not. > > What's the correct way of getting GD to work on Ie. a webshop (opencart)? > > Thanks for all help! > > Cheers, > Andy > I solved my problem by manually deleting /usr/local/lib/php/20090626/gd.so and reinstalling the php5-extensions. /Andreas From kline at magnesium.net Sun Sep 26 19:28:26 2010 From: kline at magnesium.net (Gary Kline) Date: Sun Sep 26 19:28:30 2010 Subject: from /var/log/auth.log Message-ID: <20100926192827.GA41457@thought.org> guys, here is the outpput from 20 mins ago from auth.log. i saw this last night. any clues what i'm doing wrong? eg., what is "auxpropfunc"? i've done about as much as i can. spamassassin was not running, etc. i did a reboot so everything should be reinitialized correctly. Sep 26 12:00:34 ethic shutdown: reboot by kline: Sep 26 12:00:36 ethic sshd[978]: Received signal 15; terminating. Sep 26 12:00:51 ethic sm-mta[15391]: sql_select option missing Sep 26 12:00:51 ethic sm-mta[15391]: auxpropfunc error no mechanism available Sep 26 12:02:41 ethic saslauthd[833]: detach_tty : master pid is: 833 Sep 26 12:02:41 ethic saslauthd[833]: ipc_init : listening on socket: /var/run/saslauthd/mux Sep 26 12:02:53 ethic sshd[978]: Server listening on :: port 22. Sep 26 12:02:53 ethic sshd[978]: Server listening on 0.0.0.0 port 22. Sep 26 12:02:54 ethic sm-mta[982]: sql_select option missing Sep 26 12:02:54 ethic sm-mta[982]: auxpropfunc error no mechanism available Sep 26 12:14:46 ethic sshd[1142]: Accepted publickey for kline from 10.47.0.110 port 55753 ssh2 can anybody help me? gsry going for a nap. four hours doesnt cut it no mo' -- Gary Kline Seattle BSD Users' Group (seabug) | kline@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant From henry.olyer at gmail.com Sun Sep 26 19:28:55 2010 From: henry.olyer at gmail.com (Henry Olyer) Date: Sun Sep 26 19:29:01 2010 Subject: trying to put up X, am using an Nvidia card an HP Presario In-Reply-To: References: Message-ID: Kenneth CF once wrote: > 2) Install the nvidia-driver. > # cd /usr/ports/x11/x11-driver/nvidia-driver > # make install clean (I built with options FREEBSD_AGP checked, ACPI checked, LINUX unchecked). > and this didn't help. Under 7.2, this was the game changer. Everything worked with this and a couple tweaks. On Sun, Sep 26, 2010 at 3:06 PM, Henry Olyer wrote: > Several people in this group took a lot of time and helped me when I > couldn't get FBSD 7.2 running with X on an HP Presario. > > Now, I'm having *somewhat* *similar* problems, doing the install for 8.1. > > I've attached my rc,conf, the X log file, and the list of installed > packages. > > I've also said: > > hald_enable="YES" and dbus_enable="YES" in the rc.conf file. Apparently > playing with the boot loader file isn't necessary, now. > > Oh, I downloaded (using sys-install,) the nvidia helper system but couldn't > get the NVIDIA screen logo that goes up just before X comes up. > > Thanks, all! > > > From m.seaman at infracaninophile.co.uk Sun Sep 26 19:48:17 2010 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Sep 26 19:48:22 2010 Subject: port upgrading In-Reply-To: <4C9F87E8.5000502@nagual.nl> References: <4C9F74DD.6000009@nagual.nl> <4C9F7F40.60407@infracaninophile.co.uk> <4C9F87E8.5000502@nagual.nl> Message-ID: <4C9FA373.3040606@infracaninophile.co.uk> On 26/09/2010 18:50:32, Dick Hoogendijk wrote: > On 26-9-2010 19:13, Matthew Seaman wrote: >> Really either of those two will serve you well, as will various others > > I like portupgrade. > One question about dependencies: if I want to update *one* port I have > to run "portupgrade -R portname", right. > But *when* do I run portupgrade -R ,name> c.q. portupgrade -rR ? It depends on what you want to update. 'portupgrade -R name' updates name plus anything name depends on. 'portupgrade -rR name' updates name plus anything name depends on, plus anything that depends on name. In all cases, only ports that have updates available are updated, so if everything in the dependency chain is already up to date, the command (either variant) may do nothing. 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/20100926/9c3357f8/signature-0001.pgp From mike.w.meyer at gmail.com Sun Sep 26 20:01:21 2010 From: mike.w.meyer at gmail.com (Mike Meyer) Date: Sun Sep 26 20:01:25 2010 Subject: Problems mounting nfs from freebsd to Mac. In-Reply-To: <201009251958.o8PJwLd0027577@mail.r-bonomi.com> References: <201009251958.o8PJwLd0027577@mail.r-bonomi.com> Message-ID: <20100926160114.0d97a56c@bhuda.mired.org> On Sat, 25 Sep 2010 14:58:21 -0500 (CDT) Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Sat Sep 25 03:29:33 2010 > > Date: Sat, 25 Sep 2010 04:01:18 -0400 > > From: Mike Meyer > > To: questions@freebsd.org > > Cc: > > Subject: Problems mounting nfs from freebsd to Mac. > > > > I've got an nfs server that's refusing to mount one client - via one > > route - and it's driving me crazy. > > First question, are you _SURE_ that it's a server-side problem? I under- > stand that things are failing in one situation and not others, but there > are about -five- possible causations, only one of which is a server-side > NFS configuration. No, I'm not sure. The question is more "what server tools can I use figure out what's wrong" than "how do I fix the server". That the FreeBSD community is the most helpful one involved might have some bearing on which question I chose to ask here. > > As far as I know, there are only three reasons for an NFS server to > > refuse a mount request: 1) The exports file is borked somehow, 2) The > > server insists that the client use a privileged port, or 3) The IP > > address the request is coming from is disallowed. > There _are_ others, depending on how access controls are specified in > the exports file. Those are pretty much what I meant by "the exports file is borked somehow". The file systems are all zfs, all exported by zfs, and mostly all inherited from the parent file system. For the record, that's: /export -maproot 0 -network 192.xx.yy.0/25 > > #1 isn't it - the file systems mount fine on other boxes. And they > > mount fine on the problem box via Wifi. > > > > #2 shouldn't be it - I'm running the server with -n turned on, and the > > mount works via wifi. > > > > #3 seems logical, but I only have one network enabled, and it's a > > *.0/25. The working addresses include .96, and .106, while the failing > > address is .105. So I'm not sure what's going on here. > > > > Running mountd with a -d flag generates no output at all when the > > request is denied. This makes me think I'm not looking in the right > > place. > > First thing, what does 'showmount -a', run on the misbehaving client show? > And are there differences, depending on being on the wired vs wireless link? Just "All mounts on localhost:" and then an empty list, whether they are mounted or not. > Check how the client resolves the server hostname on both the wireless and > wired links. It's the same. That's expected - the WRT610N is providing both dns & dhcp services, and they both resolve through it. > make sure the _server_ name (in the form used in the nfs mount) is > resolving in the same way -- to the same address -- when the client is > on thee wireless and wired links. (an 'unqualified' hostname, and a > lack of a default domain in the wired setup _could_ cause what you > are seeing. Yup, both connections resolve to the same address. Yes, I use an unqualified hostname, but the dhcp server provides a default domain. > Check to make sure you've got network connectivity both ways on both the > wired and wireless links. Does traceroute work in both directions on > both links? does it show the _same_names_? Yes, and yes. > You've say you've got a WRT610N in the middle of things. Is it actually > playing _router_ on all ports, or switch/hub on the lan side with routing > on the external interface. The latter, and it's bridging the wireless network into the LAN side as well. > If it's actually -routing- on all ports, check _both_ the client and server > routing tables to make sure they're pointing in the right plac, when the > client is connected on both paths. Also double-check the router itself > for any access-control and/or filtering rules. Those all look right to me. In particular, the client routing tables are identical (module different interface names & ip addresses) when it's on the wireless and wired connection. > If nothing has shown up so far, an obvious next step is to look at the data > 'on the wire' between the machines. e.g., tcpdump/etherfind/netshark etc. I was hoping for something a little bit higher level than that, but I guess that's what's next. Thanks, http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org From jlalarcon at gawab.com Sun Sep 26 20:02:29 2010 From: jlalarcon at gawab.com (Jose Luis Alarcon Sanchez) Date: Sun Sep 26 20:02:33 2010 Subject: FreeBSD on Compaq mini CQ10 anyone? In-Reply-To: <4C9F7589.5090707@lecuire.fr> References: <4C8316C5.2060906@gmail.com> <4C9F7589.5090707@lecuire.fr> Message-ID: <20100926193543.GA3755@Endeavour.lordofunix.org> On Sun, Sep 26, 2010 at 06:32:09PM +0200, BernardL wrote: > Le 05/09/2010 06:04, Gonzalo Nemmi a ?crit : > > I just got one and was wondering if anyone was running FreeBSD on it > > and how well does it work out of the box. > > All comments are welcome. > > > I have one with FreeBSD 8.1. Some difficulties to install X11 (I had to > use Driver "vesa" instead of "intel" in the section "Device" of > xorg.config). And the internal Wifi device is not recognized by FreeBSD. > Regards > Bernard Lecuire > > Best Regards. > > Gonzalo Nemmi > > Can you tell us what is the Chip of your internal WiFi device?. Maybe knowing the Chip model and brand someone knows if can help you. :) Thanks you very much, in advance. Regards. Jose. -- http://lordofunix.eu5.org/ Not Registered GNU/Hurd User. Registered BSD User 51101. Registered Linux User #213309. Memories..... You are talking about memories. Rick Deckard. Blade Runner. From jhell at DataIX.net Sun Sep 26 20:45:12 2010 From: jhell at DataIX.net (jhell) Date: Sun Sep 26 20:45:15 2010 Subject: pf In-Reply-To: References: Message-ID: <4C9FB0D2.1010205@DataIX.net> This is more for questions@ or pf@ On 09/26/2010 11:43, Samuel Mart?n Moro wrote: > On Sun, Sep 26, 2010 at 3:34 PM, Michael Powell wrote: > >> Samuel Mart?n Moro wrote: >> >>> Hello, >>> >>> >>> I'm trying to set up pf on my soon-to-be new gateway (8.1-RELEASE amd64). >>> I used the sample configuration file available on >>> calomel >>> After a few tests, it appears that the gate has fully access to the >>> internet, but I can't open connections from clients to distant servers >>> (web, ssh, ...). >>> Checking pflog log file, I can't see anything about those timeouts, even >>> if I added the log directive in every block/pass command. >>> Everything else seems to work, I can talk with my DNS from the internet, >>> ssh redirections to another pc also seems to works. >>> I just can't access the Internet from a client of my network... >>> >>> For debugging, I commented out the options and the 'block all in/out' >>> directives. >>> >>> Here's my config file http://pastebin.com/Nim2zBCx >>> >>> Is there someone understanding what I'm doing wrong? >>> >> The firewall ruleset is a trifle overly complex for a quick glance; study >> and analysis would take some doing. However, if you can reach the internet >> from the firewall box and other client computers behind your NAT can't >> (which is what it sounds like you're describing) it may be just that you >> are >> missing gateway_enable="YES" in your /etc/rc.conf. >> >> Turning this "ON" makes your firewall box into a router. The status of this >> can be checked with: sysctl net.inet.ip.forwarding - a "0" means no >> gateway >> and a "1" means gateway. >> >> -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" >> > > the gateway is already enabled (and forwarding is correctly set) > whatever, I had to do quick, I started again > I think the missing thing on my old conf was the 'scrub' (at least) > I made a more simple configuration, as following: > > ext_if="bge0" > int_if="bge1" > localnet = $int_if:network > emma="10.242.42.200" > alpha="10.42.42.42" > delta="10.42.42.44" > set skip on lo0 > scrub in on $ext_if all fragment reassemble > #INTERNETZ > nat on $ext_if from $localnet to any -> ($ext_if) > #EMMA > rdr on $ext_if inet proto tcp from any to ($ext_if) port 1101 -> > $emma port 22 > rdr on $ext_if inet proto tcp from any to ($ext_if) port 307 -> > $emma port 80 > #WHAT.CD > rdr on $ext_if inet proto tcp from any to ($ext_if) port 1666 -> > $alpha port 1666 > #REMOTE ADM > rdr on $ext_if inet proto tcp from any to ($ext_if) port 1667 -> > $delta port 22 > rdr on $ext_if inet proto tcp from any to ($ext_if) port 1668 -> > $alpha port 22 > pass in log on $ext_if inet proto tcp from any to $ext_if port 22 > pass in log on $ext_if inet proto tcp from any to $ext_if port 53 > pass in log on $ext_if inet proto udp from any to $ext_if port 53 > pass in log on $ext_if inet proto tcp from any to $ext_if port 1664 > pass in log on $int_if inet proto tcp from any to any > pass in log on $int_if inet proto udp from any to any > block in log on $ext_if inet proto icmp from any to $ext_if > > it's basically working > i'll stuff it when I'll have time. > > Samuel Mart?n Moro > {EPITECH.} tek5 -- jhell,v From kline at magnesium.net Sun Sep 26 20:49:10 2010 From: kline at magnesium.net (Gary Kline) Date: Sun Sep 26 20:49:14 2010 Subject: /var/log/maillog In-Reply-To: <20100926203720.66674.qmail@joyce.lan> References: <20100926182200.GA40516@thought.org> <20100926203720.66674.qmail@joyce.lan> Message-ID: <20100926204911.GA42850@thought.org> On Sun, Sep 26, 2010 at 08:37:20PM -0000, John Levine wrote: > >Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=, method=PLAIN, > >rip=10.47.0.230, lip=10.47.0.230, TLS > >Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 > > OK, you logged in, checked your mail, and logged out. > > >Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, > >arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: > >109.106.10.75 listed at sbl-xbl.spamhaus.org > >p1 11:15 [4598] > > A 'bot in the Ukraine attempted to send mail, and your MTA rejected it > since it was blacklisted. > > Those entries are all perfectly normal. > > Not to belabor the obvious, but you need to tell us what you did, what > you expected to happen, what happened instead, and the log entries > showing what was going on while it happened. > > R's, > John well, i fibbed about napping, but have discovered the following: from my freebsd server, ethic, i can, as root, get mail out to my shell account here at magnesium.net. so far, that's about it. I _did_ a pkgdb -F which seemed to correct much in that database. i have send mail to the test acct at freebsd.org. i haven't seen anything. nutshell: it looks as tho i can send mail as root [from ethic]. i will now try my desktop and see what happens. -- Gary Kline Seattle BSD Users' Group (seabug) | kline@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant From wblock at wonkity.com Sun Sep 26 20:52:30 2010 From: wblock at wonkity.com (Warren Block) Date: Sun Sep 26 20:52:34 2010 Subject: port upgrading In-Reply-To: <4C9F74DD.6000009@nagual.nl> References: <4C9F74DD.6000009@nagual.nl> Message-ID: On Sun, 26 Sep 2010, Dick Hoogendijk wrote: > I'm in doubt. I wanted to bring my ports collection uptodate, so I ran "csup > -L 2 /root/ports-supfile" and that updated my ports collection. At least, I > hope so. > > Then I started googling and found that cvsup is not recommended. Better tot > use portsnap (???) > And also portupgrade was a no go. I should be using portmaster. They are judgement calls. csup is one method, portsnap another. portsnap may be faster, and probably should be the default choice any more (lower bandwidth). portupgrade still works, and many of us still use it. For me, it's just that I almost know how to run portupgrade now, and portmaster didn't seem any better when I tried it. > Woh, I'm confused now. > Question: what is best used to have an up2date ports collection nowadays? > This system is FreeBSD8/amd64. This is an overview of what works for me: http://www.wonkity.com/~wblock/docs/html/portupgrade.html From johnl at iecc.com Sun Sep 26 21:04:02 2010 From: johnl at iecc.com (John Levine) Date: Sun Sep 26 21:04:07 2010 Subject: /var/log/maillog In-Reply-To: <20100926182200.GA40516@thought.org> Message-ID: <20100926203720.66674.qmail@joyce.lan> >Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=, method=PLAIN, >rip=10.47.0.230, lip=10.47.0.230, TLS >Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 OK, you logged in, checked your mail, and logged out. >Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, >arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: >109.106.10.75 listed at sbl-xbl.spamhaus.org >p1 11:15 [4598] A 'bot in the Ukraine attempted to send mail, and your MTA rejected it since it was blacklisted. Those entries are all perfectly normal. Not to belabor the obvious, but you need to tell us what you did, what you expected to happen, what happened instead, and the log entries showing what was going on while it happened. R's, John From freebsd.user at seibercom.net Sun Sep 26 21:06:21 2010 From: freebsd.user at seibercom.net (Jerry) Date: Sun Sep 26 21:06:25 2010 Subject: FreeBSD on Compaq mini CQ10 anyone? In-Reply-To: <20100926193543.GA3755@Endeavour.lordofunix.org> References: <4C8316C5.2060906@gmail.com> <4C9F7589.5090707@lecuire.fr> <20100926193543.GA3755@Endeavour.lordofunix.org> Message-ID: <20100926170617.1aba1049@scorpio> On Sun, 26 Sep 2010 21:35:43 +0200 Jose Luis Alarcon Sanchez articulated: > On Sun, Sep 26, 2010 at 06:32:09PM +0200, BernardL wrote: > > Le 05/09/2010 06:04, Gonzalo Nemmi a ?crit : > > > I just got one and was wondering if anyone was running FreeBSD on > > > it and how well does it work out of the box. > > > All comments are welcome. > > > > > I have one with FreeBSD 8.1. Some difficulties to install X11 (I > > had to use Driver "vesa" instead of "intel" in the section "Device" > > of xorg.config). And the internal Wifi device is not recognized by > > FreeBSD. Regards > > Bernard Lecuire > > > Best Regards. > > > Gonzalo Nemmi > > > > > Can you tell us what is the Chip of your internal WiFi device?. Maybe > knowing the Chip model and brand someone knows if can help you. :) I have used that PC. I am pretty sure it has an 'N' protocol wireless network card and therefore FreeBSD will most likely not support it. Virtually all new PCs have 'N' protocol cards installed by default unless it is a very cheap model. -- Jerry ? FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From myself at rdtan.net Mon Sep 27 03:06:13 2010 From: myself at rdtan.net (Edward) Date: Mon Sep 27 03:06:17 2010 Subject: FreeBSD on Compaq mini CQ10 anyone? In-Reply-To: <4C8316C5.2060906@gmail.com> References: <4C8316C5.2060906@gmail.com> Message-ID: <4CA00A1F.5010405@rdtan.net> > I just got one and was wondering if anyone was running FreeBSD on it > and how well does it work out of the box. > All comments are welcome. Try PCBSD (http://pcbsd.org), is a Desktop BSD variant based on FreeBSD. Personally, I've used FreeBSD in a laptop in a few occasions but after trying out PCBSD, this path requires the least effort to setup a Desktop. The installation & setting up of hardware is too easy. The kernel that comes with it, does a good job in recognizing the wireless chip, sound card, NIC, display & other stuff. Even though it uses the PBI format to install software on PCBSD, one can still use port to install additional softwares on it by using the "portjail" console. Both PBI & port works together well. In short, it definitely worth a try! :) From myself at rdtan.net Mon Sep 27 03:26:42 2010 From: myself at rdtan.net (Edward) Date: Mon Sep 27 03:26:46 2010 Subject: port upgrading In-Reply-To: <4C9F74DD.6000009@nagual.nl> References: <4C9F74DD.6000009@nagual.nl> Message-ID: <4CA00EEC.2010806@rdtan.net> > Woh, I'm confused now. > Question: what is best used to have an up2date ports collection nowadays? "portsnap fetch extract update" for the first time after you've setup the FreeBSD for the very first time. As the parameters used, it fetch the ports tree, extract it to /usr/ports and update it. "portsnap fetch update" every now and then to update the ports tree. In addition, "portmanager" does a good job in managing ports in terms of install/update of ports. It doesn't required ports index to find out what is installed or needs to upgrade as it scans the ports tree for dependency, every time. This is good because I don't have to deal with the problem of ports index getting corrupted. Because of this, it does required more time to install/update ports compare to "portmaster" & "portupgrade". I've recorded some of my experience in using "portmanager" : http://scratching.psybermonkey.net/2010/01/freebsd-how-to-manage-ports-in-freebsd.html My 2 cents, Edward. From bh at izb.knu.ac.kr Mon Sep 27 04:54:23 2010 From: bh at izb.knu.ac.kr (Byung-Hee HWANG) Date: Mon Sep 27 04:54:27 2010 Subject: /var/log/maillog In-Reply-To: <20100926182200.GA40516@thought.org> (Gary Kline's message of "Sun, 26 Sep 2010 11:22:00 -0700") References: <20100926182200.GA40516@thought.org> Message-ID: <86mxr34wi3.fsf@betla.home> Gary Kline writes: > Here is a snippet of maillog. mutt still exiting with an 'Exec Error' > > > Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS > Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 > Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org > p1 11:15 [4598] > > anybody? Gary, just use smart host to google. That's powerful! Sincerely, -- ??? ???(???) | .. ?? 15??.. "Get up when it's dinnertime and then you can eat. I'm not going to cook again for you." -- Tommy's mother, "Chapter 30", page 416 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100927/87f5d357/attachment.pgp From kline at thought.org Mon Sep 27 05:16:45 2010 From: kline at thought.org (kline) Date: Mon Sep 27 05:16:50 2010 Subject: /var/log/maillog In-Reply-To: <86mxr34wi3.fsf@betla.home> References: <20100926182200.GA40516@thought.org> <86mxr34wi3.fsf@betla.home> Message-ID: <1285564594.2397.23.camel@newtao> On Mon, 2010-09-27 at 13:54 +0900, Byung-Hee HWANG wrote: > Gary Kline writes: > > > Here is a snippet of maillog. mutt still exiting with an 'Exec Error' > > > > > > Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS > > Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 > > Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org > > p1 11:15 [4598] > > > > anybody? > > Gary, just use smart host to google. That's powerful! > > Sincerely, Actually, I have started using google to search for all types of things, :-) The above is still a mystery tho. -- Gary Kline kline@thought.org http://thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org http://journey.thought.org From bh at izb.knu.ac.kr Mon Sep 27 05:34:27 2010 From: bh at izb.knu.ac.kr (Byung-Hee HWANG) Date: Mon Sep 27 05:34:30 2010 Subject: /var/log/maillog In-Reply-To: <1285564594.2397.23.camel@newtao> (kline@thought.org's message of "Sun, 26 Sep 2010 22:16:34 -0700") References: <20100926182200.GA40516@thought.org> <86mxr34wi3.fsf@betla.home> <1285564594.2397.23.camel@newtao> Message-ID: <86aan34und.fsf@betla.home> kline writes: > On Mon, 2010-09-27 at 13:54 +0900, Byung-Hee HWANG wrote: >> Gary Kline writes: >> >> > Here is a snippet of maillog. mutt still exiting with an 'Exec Error' >> > >> > >> > Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS >> > Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 >> > Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org >> > p1 11:15 [4598] >> > >> > anybody? >> >> Gary, just use smart host to google. That's powerful! >> >> Sincerely, > > Actually, I have started using google to search for all types of > things, :-) The above is still a mystery tho. In first you need to understand about 'smart host'. Have a look at: http://en.wikipedia.org/wiki/Smart_host Sincerely, -- ??? ???(???) | .. ?? 15??.. "That's OK. I just wanted to talk to you." -- Johnny Fontane, "Chapter 12", page 159 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100927/bcf1cc04/attachment.pgp From peter at boosten.org Mon Sep 27 05:35:56 2010 From: peter at boosten.org (Peter Boosten) Date: Mon Sep 27 05:36:04 2010 Subject: /var/log/maillog In-Reply-To: <1285564594.2397.23.camel@newtao> References: <20100926182200.GA40516@thought.org> <86mxr34wi3.fsf@betla.home> <1285564594.2397.23.camel@newtao> Message-ID: <4CA02D42.9040806@boosten.org> On 27-9-2010 7:16, kline wrote: > On Mon, 2010-09-27 at 13:54 +0900, Byung-Hee HWANG wrote: >> Gary Kline writes: >> >>> Here is a snippet of maillog. mutt still exiting with an 'Exec Error' >>> >>> >>> Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS >>> Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 >>> Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org >>> p1 11:15 [4598] >>> >>> anybody? >> >> Gary, just use smart host to google. That's powerful! >> >> Sincerely, > > Actually, I have started using google to search for all types of > things, :-) The above is still a mystery tho. > > There's nothing in the log snippet above that would explain, nor indicate why/that your mutt died. Peter -- http://www.boosten.org From kline at thought.org Mon Sep 27 05:59:32 2010 From: kline at thought.org (kline) Date: Mon Sep 27 05:59:36 2010 Subject: /var/log/maillog In-Reply-To: <4CA02D42.9040806@boosten.org> References: <20100926182200.GA40516@thought.org> <86mxr34wi3.fsf@betla.home> <1285564594.2397.23.camel@newtao> <4CA02D42.9040806@boosten.org> Message-ID: <1285567160.2397.44.camel@newtao> On Mon, 2010-09-27 at 07:36 +0200, Peter Boosten wrote: > On 27-9-2010 7:16, kline wrote: > > On Mon, 2010-09-27 at 13:54 +0900, Byung-Hee HWANG wrote: > >> Gary Kline writes: > >> > >>> Here is a snippet of maillog. mutt still exiting with an 'Exec Error' > >>> > >>> > >>> Sep 26 11:13:47 ethic dovecot: imap-login: Login: user=, method=PLAIN, rip=10.47.0.230, lip=10.47.0.230, TLS > >>> Sep 26 11:14:48 ethic dovecot: IMAP(kline): Connection closed bytes=824/490 > >>> Sep 26 11:15:07 ethic sm-mta[15070]: ruleset=check_relay, arg1=109.106.10.75.sumtel.ua, arg2=127.0.0.4, relay=109.106.10.75.sumtel.ua [109.106.10.75], reject=550 5.7.1 Rejected: 109.106.10.75 listed at sbl-xbl.spamhaus.org > >>> p1 11:15 [4598] > >>> > >>> anybody? > >> > >> Gary, just use smart host to google. That's powerful! > >> > >> Sincerely, > > > > Actually, I have started using google to search for all types of > > things, :-) The above is still a mystery tho. > > > > > > There's nothing in the log snippet above that would explain, nor > indicate why/that your mutt died. > > Peter > Right. But this was the second time [[i _think_]. My friend fixed it by rebuilding a couple of utilities, one was SpamAssassin. I found that SA was entirely missing [??!??]. After centuries of fmessing around downloading out-of-date and otherwise missing source code---this thanks to using my desktop KDE/Gnome utilities and copying then over to /usr/ports/distfiles and finally building SpamAssassin and updating lots of other stuff, mail worked. I didn't believe it at first. I sent a slew of test messages back <-> forth to me on magnesium.net and other places. When my mail reached freebsd.-test, i knew things worked. It's live and learn; it's try until you want to punch your first thru the wall [then don't and focus at the problem at hand.] I am trying to unite FreeBSD and Ubuntu. It's time to give away my old Dell and then to see if I can lose the pfSense firewall. I figure on several months' worth of head-banging... . gary -- Gary Kline kline@thought.org http://thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org http://journey.thought.org From freebsd at edvax.de Mon Sep 27 06:21:35 2010 From: freebsd at edvax.de (Polytropon) Date: Mon Sep 27 06:21:39 2010 Subject: /var/log/maillog In-Reply-To: <86mxr34wi3.fsf@betla.home> References: <20100926182200.GA40516@thought.org> <86mxr34wi3.fsf@betla.home> Message-ID: <20100927082124.380340a4.freebsd@edvax.de> On Mon, 27 Sep 2010 13:54:12 +0900, Byung-Hee HWANG wrote: > Gary, just use smart host to google. That's powerful! Yes, trust all your personal data, your freedom and your thoughts to Big Brother, erm, big google. Oops, I didn't say anything, and Thinkpol will take care of me soon. :-) Seriously now. If you want your mails to be "signed" by an "accepted" IP, the suggestion of defining a smart host is not bad. Check if your ISP does provide a mail relay accessible from within your subnet. Then use this MX in your sendmail configuration so that every outgoing mail is just forwarded to that MX and sent from it. At least, that's how I currently keep things (I'm lazy). Simply code something like define(`SMART_HOST', `mx.foo.bar') into your sendmail mc file. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From serian.mail at yandex.kz Mon Sep 27 06:37:13 2010 From: serian.mail at yandex.kz (serian serian) Date: Mon Sep 27 06:37:17 2010 Subject: ipfw+torrent Message-ID: <608081285568357@web113.yandex.ru> Hi, before I begin write my problem, sorry for my english(if anyone speak russian it would be good). So, here is I want to install on my gw/router FreeBSD 8.1 release in the next week. And in my home net I have torrent clients, how can I do speed limiting for only torrent connections. I'll use ipfw firewall and nat. Best reagrds, Abzal From perryh at pluto.rain.com Mon Sep 27 06:49:53 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Sep 27 06:49:58 2010 Subject: Free BSD 8.1 In-Reply-To: <4C9F3BBA.2060809@infracaninophile.co.uk> References: <20100926123019.GA41450@lpthe.jussieu.fr> <4C9F3BBA.2060809@infracaninophile.co.uk> Message-ID: <4ca03df2.lQjjNnRah4BJhw4Y%perryh@pluto.rain.com> Matthew Seaman wrote: > On 26/09/2010 13:30:19, Michel Talon wrote: > > Matthew Seaman said > >> Be aware that installing the ports tree from the DVD images > >> is not the ideal way to do it ... it is better to ... grab > >> an up-to-date copy of the ports directly from the net. > > > > I disagree with that ... Another option is to install > > the ports tree from the DVD,and install corresponding > > precompiled packages ... and *not* updating the ports > > tree ... I suspect the best results can be had from an approach in between these; details below. > ... being up-to-date with the ports tree generally *does* > give you better results than not. > Ports are a moving target, dependent entirely on upstream changes. This last is an oversimplification. Not all ports even _have_ an upstream, and those that do (granted, the great majority) depend not only on upstream changes but also on the maintainer's and committers' ability to keep up with those changes. > Expecting that a snapshot taken months or weeks ago will work > just as well as one updated in the last hour is plain daft ... > ported software generally does improve over time. Updates that > fix problems are way more common that updates that introduce them > ... Couldn't this as well be said of FreeBSD itself? If it were universally accepted, there would be no need for the stable or security branches and the considerable effort that goes into maintaining them: everyone would just run -CURRENT. One _huge_ advantage of starting with a release _and its corresponding set of ports & packages_ is that everything is self-consistent. This tends not to be true of snapshots taken between releases, if only because no one has time to do that much release engineering for every update of every port. I tried to follow the OP's approach a few years ago, and got burned rather badly. By the time I had the system working well enough to start on the project I had intended to work on, the time budgeted for the setup _and_ the work had been almost entirely consumed in setup! I get the impression that M. Talon may have had similar experiences. I've recently started on a new system, and am planning to install 8.1-RELEASE, including the corresponding ports tree; then install what ports I can from packages and also fetch the corresponding distfiles; and finally build -- from release-corresponding ports -- any that aren't available as packages or where I want non-default OPTION settings. That approach should avoid most nasty surprises while getting things set up and working. _After_ everything is installed and configured properly will be plenty soon enough to consider whether any ports need to be updated -- and the already- installed-and-working package collection will provide a fallback in case of trouble trying to build any updated versions. From perryh at pluto.rain.com Mon Sep 27 06:49:54 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Sep 27 06:50:00 2010 Subject: sudo anomaly In-Reply-To: <201009261247.30582.FreeBSD@insightbb.com> References: <201009261247.30582.FreeBSD@insightbb.com> Message-ID: <4ca03e08.epDeUCUsR+KJ6P/w%perryh@pluto.rain.com> Steven Friedrich wrote: > ... tried sudo mail. I got root's mailbox nd I deleted all but two > emails. When I q(uit) mail, it said it saved 2 messages in mbox. > But when I try to go back in it says I don't have any mail. There > is no root directory in /var/mail. > > Did sudo lose my mbox? "mbox" != the (input) system mailbox. Chances are, those 2 messages are in /root/mbox From gulenler at boun.edu.tr Mon Sep 27 08:14:29 2010 From: gulenler at boun.edu.tr (Berk Gulenler) Date: Mon Sep 27 08:14:33 2010 Subject: Page Fault While in Kernel Mode (IPNAT) Message-ID: <4CA05262.3040405@boun.edu.tr> Hi, I have a firewall for NAT operations only. While doing NAT, server crashes. Below you can find the required info about my problem. Thanks. Some useful info about my NAT server: FreeBSD xxx.cc.boun.edu.tr 7.3-RELEASE FreeBSD 7.3-RELEASE #2: Fri Sep 17 15:09:54 EEST 2010 xxx@xxx.cc.boun.edu.tr:/usr/obj/usr/src/sys/FW i386 bge0: mem 0xfdef0000-0xfdefffff irq 25 at device 1.0 on pci3 bge1: mem 0xfdee0000-0xfdeeffff irq 26 at device 1.1 on pci3 net.inet.ipf.ipf_natrules_sz: 127 net.inet.ipf.ipf_nattable_sz: 300000 513/897/1410 mbufs in use (current/cache/total) 512/540/1052/0 mbuf clusters in use (current/cache/total/max) 512/512 mbuf+clusters out of packet secondary zone in use (current/cache) 0/5/5/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 1152K/1324K/2476K 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/5/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines mapped in 183625863 out 126618997 added 2265807 expired 1350387 no memory 8899 bad nat 12314 inuse 13690 orphans 0 rules 49 wilds 0 hash efficiency 97.64% bucket usage 4.46% minimal length 0 maximal length 3 average length 1.024 TCP Entries per state 0 1 2 3 4 5 6 7 8 9 10 11 42 2236 51 417 3311 348 200 23 20 0 3763 729 Debug info: 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 "i386-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 = 0x4 fault code = supervisor read, page not present instruction pointer = 0x20:0x8593c94b stack pointer = 0x28:0x853488dc frame pointer = 0x28:0x85348958 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 25 (irq26: bge1) trap number = 12 panic: page fault cpuid = 0 Uptime: 2d0h6m24s Physical memory: 2035 MB Dumping 335 MB: 320 304 288 272 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/ipl.ko...Reading symbols from /boot/kernel/ipl.ko.symbols...done. done. Loaded symbols for /boot/kernel/ipl.ko #0 doadump () at pcpu.h:196 196 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); ####################################################################################################### #0 doadump () at pcpu.h:196 #1 0x80746017 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0x807462e9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0x8097483c in trap_fatal (frame=0x8534889c, eva=4) at /usr/src/sys/i386/i386/trap.c:950 #4 0x80974aa0 in trap_pfault (frame=0x8534889c, usermode=0, eva=4) at /usr/src/sys/i386/i386/trap.c:863 #5 0x80975459 in trap (frame=0x8534889c) at /usr/src/sys/i386/i386/trap.c:541 #6 0x8095915b in calltrap () at /usr/src/sys/i386/i386/exception.s:166 #7 0x8593c94b in nat_new (fin=0x853489c0, np=0x855ee800, natsave=0x0, flags=Variable "flags" is not available. ) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_nat.c:2577 #8 0x8593cf04 in fr_checknatout (fin=0x853489c0, passp=0x85348a6c) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_nat.c:3828 #9 0x85959c6c in fr_check (ip=0x873c0810, hlen=20, ifp=0x855b7400, out=1, mp=0x85348ab8) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/fil.c:2624 #10 0x859517be in fr_check_wrapper (arg=0x0, mp=0x85348ab8, ifp=0x855b7400, dir=2) at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil_freebsd.c:178 #11 0x807f5708 in pfil_run_hooks (ph=0x80b026e0, mp=0x85348b44, ifp=0x855b7400, dir=2, inp=0x0) at /usr/src/sys/net/pfil.c:78 #12 0x8080ea72 in ip_output (m=0x85b2a800, opt=0x0, ro=0x85348b7c, flags=1, imo=0x0, inp=0x0) at /usr/src/sys/netinet/ip_output.c:443 #13 0x8080bb04 in ip_forward (m=0x85b2a800, srcrt=0) at /usr/src/sys/netinet/ip_input.c:1366 #14 0x8080d0b0 in ip_input (m=0x85b2a800) at /usr/src/sys/netinet/ip_input.c:609 #15 0x807f3ea5 in netisr_dispatch (num=2, m=0x85b2a800) at /usr/src/sys/net/netisr.c:185 #16 0x807e7b51 in ether_demux (ifp=0x855b7400, m=0x85b2a800) at /usr/src/sys/net/if_ethersubr.c:834 #17 0x807e7f43 in ether_input (ifp=0x855b7400, m=0x85b2a800) at /usr/src/sys/net/if_ethersubr.c:692 #18 0x80529582 in bge_rxeof (sc=0x855c4000, rx_prod=317, holdlck=1) at /usr/src/sys/dev/bge/if_bge.c:3392 #19 0x8052b602 in bge_intr (xsc=0x855c4000) at /usr/src/sys/dev/bge/if_bge.c:3653 #20 0x8072285b in ithread_loop (arg=0x855b97a0) at /usr/src/sys/kern/kern_intr.c:1181 #21 0x8071eff9 in fork_exit (callout=0x807226b0 , arg=0x855b97a0, frame=0x85348d38) at /usr/src/sys/kern/kern_fork.c:811 #22 0x809591d0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:271 ####################################################################################################### 0x8593c94b is in nat_new (/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_nat.c:2577). 2572 nat->nat_ifps[1] = np->in_ifps[1]; 2573 nat->nat_ptr = np; 2574 nat->nat_p = fin->fin_p; 2575 nat->nat_mssclamp = np->in_mssclamp; 2576 if (nat->nat_p == IPPROTO_TCP) 2577 nat->nat_seqnext[0] = ntohl(tcp->th_seq); 2578 2579 if ((np->in_apr != NULL) && ((ni->nai_flags & NAT_SLAVE) == 0)) 2580 if (appr_new(fin, nat) == -1) 2581 return -1; -- Berk Gulenler System Administrator Bogazici University Computer Center Phone: +90 212 359 47 16 Fax: +90 212 257 50 21 E-mail: gulenler@boun.edu.tr From nr1c0re at gmail.com Mon Sep 27 08:52:22 2010 From: nr1c0re at gmail.com (c0re) Date: Mon Sep 27 08:52:28 2010 Subject: freebsd-update 8.1 to 8.1-p1 Message-ID: Hello freebsd-questions! I've installed freebsd 8.1 and made freebsd-update fetch freebsd-update install reboot And in uname -a I still see 8.1-RELEASE, but I want to see 8.1-RELEASE-p1. In /usr/src/sys/conf/newvers.sh I see that it is 8.1-p1 REVISION="8.1" BRANCH="RELEASE-p1" Why is it so? I want to know that my system is up to date with freebsd-update, but uname -a does not show this to me. From jmc-freebsd2 at milibyte.co.uk Mon Sep 27 09:16:31 2010 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Mon Sep 27 09:16:35 2010 Subject: Free BSD 8.1 In-Reply-To: <4ca03df2.lQjjNnRah4BJhw4Y%perryh@pluto.rain.com> References: <20100926123019.GA41450@lpthe.jussieu.fr> <4C9F3BBA.2060809@infracaninophile.co.uk> <4ca03df2.lQjjNnRah4BJhw4Y%perryh@pluto.rain.com> Message-ID: <201009271016.26902.jmc-freebsd2@milibyte.co.uk> On Monday 27 September 2010, perryh@pluto.rain.com wrote: > I've recently started on a new system, and am planning to install > 8.1-RELEASE, including the corresponding ports tree; then install > what ports I can from packages and also fetch the corresponding > distfiles; and finally build -- from release-corresponding ports -- > any that aren't available as packages or where I want non-default > OPTION settings. ?That approach should avoid most nasty surprises > while getting things set up and working. ?_After_ everything is > installed and configured properly will be plenty soon enough to > consider whether any ports need to be updated -- and the already- > installed-and-working package collection will provide a fallback > in case of trouble trying to build any updated versions. The problem is if/when you need to update a port as a result of a security advisory. If your ports tree is very much out of date then it's likely that updating that one port will require a number of dependencies to be updated as well, sometimes all the ports depending on one or more of the updated dependencies need to be updated as well and the resultant bag of worms can take quite a lot of sorting out. The "little and often" approach of keeping the ports tree up to date could be less traumatic. -- Mike Clarke From jmc-freebsd2 at milibyte.co.uk Mon Sep 27 09:31:18 2010 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Mon Sep 27 09:31:20 2010 Subject: port upgrading In-Reply-To: <20100926170530.GA32854@slackbox.erewhon.net> References: <4C9F74DD.6000009@nagual.nl> <20100926170530.GA32854@slackbox.erewhon.net> Message-ID: <201009271031.14526.jmc-freebsd2@milibyte.co.uk> On Sunday 26 September 2010, Roland Smith wrote: > If you are upgrading to another major version of FreeBSD (say 7.x to > 8.x), make a list of all used ports with `portmaster -l >ports.list`. > Then delete all ports before updating the system. After the update, > re-install the 'root' and 'leaf' ports from ports.list. A more convenient approach is to run 'portmaster --list-origins' which produces a list of root and leaf ports which you can feed back into portmaster when reinstalling the ports, all the other dependencies should sort themselves out. There is a good description of this in the final example near the bottom of the portmaster man page. -- Mike Clarke From kosin_6 at hotmail.com Mon Sep 27 09:56:53 2010 From: kosin_6 at hotmail.com (kosin kaewnuna) Date: Mon Sep 27 09:56:56 2010 Subject: Questions ? Message-ID: To FreeBSD Admin. Hi, My name is Mr.Kosin Kaewnuna. I am a graduate student in Bangkok Thailand. I'm doing research on the technologies virtualization, OS-Level virtualization, Para-virtualization I have the following questions about FreeBSD. 1. FreeBSD can be edit host Kernel ? 2. FreeBSD can be installed on Xen Para-virtualization ? How to .. Thank you. For Anser. From jmc-freebsd2 at milibyte.co.uk Mon Sep 27 10:35:24 2010 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Mon Sep 27 10:35:28 2010 Subject: apropos returning same item twice In-Reply-To: <201009261252.14140.FreeBSD@insightbb.com> References: <201009111442.49114.FreeBSD@insightbb.com> <1284874572.20540.1746.camel@predator-ii.buffyverse> <201009261252.14140.FreeBSD@insightbb.com> Message-ID: <201009271135.19590.jmc-freebsd2@milibyte.co.uk> On Sunday 26 September 2010, Steven Friedrich wrote: > > > > Another check is that the output of manpath(1) doesn't > > > > include /usr/X11R6/man. > > > > > > manpath > > > /usr/share/man:/usr/local/man:/usr/local/kde4/man:/usr/share/open > > >ssl/man: > > > /usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/ > > >man > > > > Ok. There's also: > > > > %man -a -w mysql > > > > to see the origins of the multiple man pages, although it seems > > that you may have already confirmed the /usr/X11R6 path connection. > > > > >From what you've presented so far I'd say it's looking like a > > > problem > > man -a -w mysql > /usr/local/man/man1/mysql.1.gz > /usr/X11R6/man/man1/mysql.1.gz Same here - until I realised that I still had /usr/X11R6/bin in $PATH, left over from the days before /usr/X11R6 was a link to /usr/local. Removing /usr/X11R6/bin from $PATH fixed it for me. According to the man page for manpath it "tries to determine the user's manpath from a set of system defaults and the user's PATH". -- Mike Clarke From jbiquez at intranet.com.mx Mon Sep 27 11:00:50 2010 From: jbiquez at intranet.com.mx (Jorge Biquez) Date: Mon Sep 27 11:21:49 2010 Subject: OT. Duplicating Disk. Message-ID: <3368430072-783133147@intranet.com.mx> Hello all. This is kind off topic. U have and "old" laptopn, an Acer Travelmate 4670. It has a sata disk, 120Gb. It has been working fine in all these years. I have installed Freebsd with its boot manager and inside has Windows and a distro linux. I choose what OS to use depending on my needs every time I boot. I have decided to give it fresh air and I bought a disk of 500GB. Instead of installing everything again I would like to duplicate entire disk, as is, with its MBR and all partitions for all the different OS's. I bought an USB enclosure that is working fine. The machine recognice the new disk if I attach it as a USB disk (in all OS no problem on that). As a test also I decided to change disks and install somethig, no problem at all. My question is. What would be your advice on what tool to use to duplicate entire disk? (the adjust of size for the partitions of each different OS can be done later, no problem I guess). I was recommend to use DiskImageXML, booting alone and copy the disk but it does not work. Not yet. I guess the problem is that the original disk still has a 4Gb partition with all the Acer tools , the first partition, to recover teh Windows XP origibal system (type or partition EISA). Not sure on that but that program is not working. I receive an error when booting. On my desktop I used to use old Norton Ghost 2003 with my IDE disk and still work fine, but here does not work at all since the USB ports are not recognized. Do you know of a program tool that can be used that boot alone, free if possible or cheap, that let me copy entire disk, as is, that do the job? I am sorry for the kind of off topic and thanks in advance Jorge Biquez From kraduk at gmail.com Mon Sep 27 11:40:43 2010 From: kraduk at gmail.com (krad) Date: Mon Sep 27 11:40:46 2010 Subject: pf In-Reply-To: <4C9FB0D2.1010205@DataIX.net> References: <4C9FB0D2.1010205@DataIX.net> Message-ID: On 26 September 2010 21:45, jhell wrote: > This is more for questions@ or pf@ > > On 09/26/2010 11:43, Samuel Mart?n Moro wrote: > > On Sun, Sep 26, 2010 at 3:34 PM, Michael Powell >wrote: > > > >> Samuel Mart?n Moro wrote: > >> > >>> Hello, > >>> > >>> > >>> I'm trying to set up pf on my soon-to-be new gateway (8.1-RELEASE > amd64). > >>> I used the sample configuration file available on > >>> calomel > >>> After a few tests, it appears that the gate has fully access to the > >>> internet, but I can't open connections from clients to distant servers > >>> (web, ssh, ...). > >>> Checking pflog log file, I can't see anything about those timeouts, > even > >>> if I added the log directive in every block/pass command. > >>> Everything else seems to work, I can talk with my DNS from the > internet, > >>> ssh redirections to another pc also seems to works. > >>> I just can't access the Internet from a client of my network... > >>> > >>> For debugging, I commented out the options and the 'block all in/out' > >>> directives. > >>> > >>> Here's my config file http://pastebin.com/Nim2zBCx > >>> > >>> Is there someone understanding what I'm doing wrong? > >>> > >> The firewall ruleset is a trifle overly complex for a quick glance; > study > >> and analysis would take some doing. However, if you can reach the > internet > >> from the firewall box and other client computers behind your NAT can't > >> (which is what it sounds like you're describing) it may be just that you > >> are > >> missing gateway_enable="YES" in your /etc/rc.conf. > >> > >> Turning this "ON" makes your firewall box into a router. The status of > this > >> can be checked with: sysctl net.inet.ip.forwarding - a "0" means no > >> gateway > >> and a "1" means gateway. > >> > >> -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" > >> > > > > the gateway is already enabled (and forwarding is correctly set) > > whatever, I had to do quick, I started again > > I think the missing thing on my old conf was the 'scrub' (at least) > > I made a more simple configuration, as following: > > > > ext_if="bge0" > > int_if="bge1" > > localnet = $int_if:network > > emma="10.242.42.200" > > alpha="10.42.42.42" > > delta="10.42.42.44" > > set skip on lo0 > > scrub in on $ext_if all fragment reassemble > > #INTERNETZ > > nat on $ext_if from $localnet to any -> ($ext_if) > > #EMMA > > rdr on $ext_if inet proto tcp from any to ($ext_if) port 1101 -> > > $emma port 22 > > rdr on $ext_if inet proto tcp from any to ($ext_if) port 307 -> > > $emma port 80 > > #WHAT.CD > > rdr on $ext_if inet proto tcp from any to ($ext_if) port 1666 -> > > $alpha port 1666 > > #REMOTE ADM > > rdr on $ext_if inet proto tcp from any to ($ext_if) port 1667 -> > > $delta port 22 > > rdr on $ext_if inet proto tcp from any to ($ext_if) port 1668 -> > > $alpha port 22 > > pass in log on $ext_if inet proto tcp from any to $ext_if port 22 > > pass in log on $ext_if inet proto tcp from any to $ext_if port 53 > > pass in log on $ext_if inet proto udp from any to $ext_if port 53 > > pass in log on $ext_if inet proto tcp from any to $ext_if port 1664 > > pass in log on $int_if inet proto tcp from any to any > > pass in log on $int_if inet proto udp from any to any > > block in log on $ext_if inet proto icmp from any to $ext_if > > > > it's basically working > > i'll stuff it when I'll have time. > > > > Samuel Mart?n Moro > > {EPITECH.} tek5 > > > -- > > jhell,v > _______________________________________________ > 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 worth doing as restart on pf rather than a reload. Ive seen nat rules not take affect sometimes on reloads From leslie at eskk.nu Mon Sep 27 12:07:22 2010 From: leslie at eskk.nu (Leslie Jensen) Date: Mon Sep 27 12:07:28 2010 Subject: OT. Duplicating Disk. In-Reply-To: <3368430072-783133147@intranet.com.mx> References: <3368430072-783133147@intranet.com.mx> Message-ID: <4CA088F0.90303@eskk.nu> On 2010-09-28 13:00, Jorge Biquez wrote: > Hello all. > > This is kind off topic. > > U have and "old" laptopn, an Acer Travelmate 4670. It has a sata disk, > 120Gb. It has been working fine in all these years. I have installed > Freebsd with its boot manager and inside has Windows and a distro linux. > I choose what OS to use depending on my needs every time I boot. > > I have decided to give it fresh air and I bought a disk of 500GB. > Instead of installing everything again I would like to duplicate entire > disk, as is, with its MBR and all partitions for all the different OS's. > I bought an USB enclosure that is working fine. The machine recognice > the new disk if I attach it as a USB disk (in all OS no problem on > that). As a test also I decided to change disks and install somethig, no > problem at all. > > My question is. What would be your advice on what tool to use to > duplicate entire disk? (the adjust of size for the partitions of each > different OS can be done later, no problem I guess). > > I was recommend to use DiskImageXML, booting alone and copy the disk but > it does not work. Not yet. > > I guess the problem is that the original disk still has a 4Gb partition > with all the Acer tools , the first partition, to recover teh Windows XP > origibal system (type or partition EISA). Not sure on that but that > program is not working. I receive an error when booting. > On my desktop I used to use old Norton Ghost 2003 with my IDE disk and > still work fine, but here does not work at all since the USB ports are > not recognized. > > Do you know of a program tool that can be used that boot alone, free if > possible or cheap, that let me copy entire disk, as is, that do the job? > > I am sorry for the kind of off topic and thanks in advance > > Jorge Biquez > I've done what you want to do. Using the PartedMagic CD. http://partedmagic.com/ On the cd is the program Ghost4Linux. It can image disks with UFS partitions as well as long as you don't need to resize them. /Leslie From phanquochien at gmail.com Mon Sep 27 14:01:44 2010 From: phanquochien at gmail.com (Phan Quoc Hien) Date: Mon Sep 27 14:01:57 2010 Subject: freebsd-update 8.1 to 8.1-p1 In-Reply-To: References: Message-ID: Try rebuild your kernel and get 8.1-RELEASE-p1! I did it! On Mon, Sep 27, 2010 at 3:29 PM, c0re wrote: > Hello freebsd-questions! > > I've installed freebsd 8.1 and made > freebsd-update fetch > freebsd-update install > reboot > > And in uname -a I still see 8.1-RELEASE, but I want to see 8.1-RELEASE-p1. > > In /usr/src/sys/conf/newvers.sh I see that it is 8.1-p1 > > REVISION="8.1" > BRANCH="RELEASE-p1" > > Why is it so? I want to know that my system is up to date with > freebsd-update, but uname -a does not show this to 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" > -- Mr.Hien E-mail: phanquochien@gmail.com Website: www.mrhien.info From nr1c0re at gmail.com Mon Sep 27 14:30:46 2010 From: nr1c0re at gmail.com (c0re) Date: Mon Sep 27 14:30:49 2010 Subject: freebsd-update 8.1 to 8.1-p1 In-Reply-To: References: Message-ID: But freebsd-update should do it. Rebuilding kernel will prevent from further freebsd-update patches to rebuilded GENERIC. 2010/9/27 Phan Quoc Hien : > Try rebuild your kernel and get 8.1-RELEASE-p1! I did it! > > On Mon, Sep 27, 2010 at 3:29 PM, c0re wrote: >> >> Hello freebsd-questions! >> >> I've installed freebsd 8.1 and made >> freebsd-update fetch >> freebsd-update install >> reboot >> >> And in uname -a I still see 8.1-RELEASE, but I want to see 8.1-RELEASE-p1. >> >> In /usr/src/sys/conf/newvers.sh I see that it is 8.1-p1 >> >> REVISION="8.1" >> BRANCH="RELEASE-p1" >> >> Why is it so? I want to know that my system is up to date with >> freebsd-update, but uname -a does not show this to 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" > > > > -- > Mr.Hien > E-mail: phanquochien@gmail.com > Website: www.mrhien.info > From jhelfman at e-e.com Mon Sep 27 14:40:26 2010 From: jhelfman at e-e.com (Jason) Date: Mon Sep 27 14:40:59 2010 Subject: freebsd-update 8.1 to 8.1-p1 In-Reply-To: References: Message-ID: <20100927144214.GA57011@Jason-Helfmans-MacBook-Pro.local> On Mon, Sep 27, 2010 at 09:01:38PM +0700, Phan Quoc Hien thus spake: >Try rebuild your kernel and get 8.1-RELEASE-p1! I did it! > >On Mon, Sep 27, 2010 at 3:29 PM, c0re wrote: > >> Hello freebsd-questions! >> >> I've installed freebsd 8.1 and made >> freebsd-update fetch >> freebsd-update install >> reboot >> >> And in uname -a I still see 8.1-RELEASE, but I want to see 8.1-RELEASE-p1. >> >> In /usr/src/sys/conf/newvers.sh I see that it is 8.1-p1 >> >> REVISION="8.1" >> BRANCH="RELEASE-p1" >> >> Why is it so? I want to know that my system is up to date with >> freebsd-update, but uname -a does not show this to 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" >> The kernel wasn't touched during the latest set of security releases, so an update to 8.1-p1 will show your kernel at 8.1. If you perform another freebsd-update, it should show no updates for 8.1-p1. Based on what you are saying, uname is reporting correctly. Other than 'sys/conf/newvers.sh,' if the update touches sys, it should redistribute the kernel and the patch number in the announcement. After it is properly applied, 'uname' should match. I don't recall the reasoning behind newvers.sh in the update software, but others may have an idea. -jgh From nr1c0re at gmail.com Mon Sep 27 14:49:32 2010 From: nr1c0re at gmail.com (c0re) Date: Mon Sep 27 14:49:35 2010 Subject: freebsd-update 8.1 to 8.1-p1 In-Reply-To: <20100927144214.GA57011@Jason-Helfmans-MacBook-Pro.local> References: <20100927144214.GA57011@Jason-Helfmans-MacBook-Pro.local> Message-ID: Is not "p1" compiled in kernel during make buildkernel operation? If yes, /boot/kernel of 8.1 and /boot/kernel 8.1-p1 must be different. So binary diff of /boot/kernel also must be installed during freebsd-update. It's my opinion. Why not? I think it's not reasonable to have updated system without actually be possible to know that it's really updated. And I think that if you are looking for real patch level of your OS, you will look at uname -a, not in newvers.sh file. Correct me if i'm wrong. 2010/9/27 Jason : > On Mon, Sep 27, 2010 at 09:01:38PM +0700, Phan Quoc Hien thus spake: >> >> Try rebuild your kernel and get 8.1-RELEASE-p1! I did it! >> >> On Mon, Sep 27, 2010 at 3:29 PM, c0re wrote: >> >>> Hello freebsd-questions! >>> >>> I've installed freebsd 8.1 and made >>> freebsd-update fetch >>> freebsd-update install >>> reboot >>> >>> And in uname -a I still see 8.1-RELEASE, but I want to see >>> 8.1-RELEASE-p1. >>> >>> In /usr/src/sys/conf/newvers.sh I see that it is 8.1-p1 >>> >>> REVISION="8.1" >>> BRANCH="RELEASE-p1" >>> >>> Why is it so? I want to know that my system is up to date with >>> freebsd-update, but uname -a does not show this to 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" >>> > > The kernel wasn't touched during the latest set of security releases, so an > update to 8.1-p1 will show your kernel at 8.1. If you perform another > freebsd-update, it should show no updates for 8.1-p1. > > Based on what you are saying, uname is reporting correctly. > > Other than 'sys/conf/newvers.sh,' if the update touches sys, it should > redistribute the kernel and the patch number in the announcement. After it > is properly applied, 'uname' should match. > > I don't recall the reasoning behind newvers.sh in the update software, but > others may have an idea. > > -jgh > From sterling at camdensoftware.com Mon Sep 27 15:04:50 2010 From: sterling at camdensoftware.com (Chip Camden) Date: Mon Sep 27 15:04:54 2010 Subject: Free BSD 8.1 In-Reply-To: <201009271016.26902.jmc-freebsd2@milibyte.co.uk> References: <20100926123019.GA41450@lpthe.jussieu.fr> <4C9F3BBA.2060809@infracaninophile.co.uk> <4ca03df2.lQjjNnRah4BJhw4Y%perryh@pluto.rain.com> <201009271016.26902.jmc-freebsd2@milibyte.co.uk> Message-ID: <20100927150444.GA94536@libertas.local.camdensoftware.com> Quoth Mike Clarke on Monday, 27 September 2010: > On Monday 27 September 2010, perryh@pluto.rain.com wrote: > > > I've recently started on a new system, and am planning to install > > 8.1-RELEASE, including the corresponding ports tree; then install > > what ports I can from packages and also fetch the corresponding > > distfiles; and finally build -- from release-corresponding ports -- > > any that aren't available as packages or where I want non-default > > OPTION settings. ?That approach should avoid most nasty surprises > > while getting things set up and working. ?_After_ everything is > > installed and configured properly will be plenty soon enough to > > consider whether any ports need to be updated -- and the already- > > installed-and-working package collection will provide a fallback > > in case of trouble trying to build any updated versions. > > The problem is if/when you need to update a port as a result of a > security advisory. If your ports tree is very much out of date then > it's likely that updating that one port will require a number of > dependencies to be updated as well, sometimes all the ports depending > on one or more of the updated dependencies need to be updated as well > and the resultant bag of worms can take quite a lot of sorting out. > The "little and often" approach of keeping the ports tree up to date > could be less traumatic. > > -- > Mike Clarke That's the maxim under which I operate. Furthermore, if something does break, it's a lot easier to narrow down what broke it if you updated one or two ports instead of twenty or thirty. I use the same principle in following STABLE -- frequently update/build so if anything goes wrong, the number of culpable commits is small. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100927/08780cec/attachment.pgp From wblock at wonkity.com Mon Sep 27 15:25:50 2010 From: wblock at wonkity.com (Warren Block) Date: Mon Sep 27 15:25:54 2010 Subject: OT. Duplicating Disk. In-Reply-To: <3368430072-783133147@intranet.com.mx> References: <3368430072-783133147@intranet.com.mx> Message-ID: On Tue, 28 Sep 2010, Jorge Biquez wrote: > U have and "old" laptopn, an Acer Travelmate 4670. It has a sata disk, 120Gb. > It has been working fine in all these years. I have installed Freebsd with > its boot manager and inside has Windows and a distro linux. I choose what OS > to use depending on my needs every time I boot. > ... > > My question is. What would be your advice on what tool to use to duplicate > entire disk? (the adjust of size for the partitions of each different OS can > be done later, no problem I guess). Resizing partitions can be difficult. FreeBSD's ufs has growfs(8), but otherwise resizing is usually done by dumping, resizing, and restoring. Since you have Linux familiarity, I'd suggest http://www.clonezilla.org. It will make a backup of an entire disk, including binary copies of filesystems it doesn't understand, to 2G compressed files. It can also copy device to device. Later versions even recognize and understand UFS filesystems. FreeBSD can also duplicate a disk byte-for-byte with dd(1). Be warned: it will take a while, copying blank space as well as used. Important: make a backup of the original drive somewhere else first (see above). When using dd for this, it's critical that the source and destination devices are correct. To copy ad0 to da0 (make sure the source and destination devices are correct): # dd if=/dev/ad0 of=/dev/da0 bs=1m The same thing can be done with Linux (Clonezilla provides a shell), although the bs parameter has to be 1M (case sensitive). From jhelfman at experts-exchange.com Mon Sep 27 15:28:32 2010 From: jhelfman at experts-exchange.com (jhelfman@experts-exchange.com) Date: Mon Sep 27 15:29:08 2010 Subject: freebsd-update 8.1 to 8.1-p1 In-Reply-To: References: <20100927144214.GA57011@Jason-Helfmans-MacBook-Pro.local> Message-ID: > Is not "p1" compiled in kernel during make buildkernel operation? I'm sure it is, but freebsd-update is a binary distribution system, and doesn't build anything on the client. > If yes, /boot/kernel of 8.1 and /boot/kernel 8.1-p1 must be different. > So binary diff of /boot/kernel also must be installed during > freebsd-update. It's my opinion. Why not? > > I think it's not reasonable to have updated system without actually be > possible to know that it's really updated. And I think that if you are > looking for real patch level of your OS, you will look at uname -a, > not in newvers.sh file. > > Correct me if i'm wrong. I believe part of this issue is that if the kernel isn't distributed with a patch, then it needs to be represented somehow. I've heard of some thoughts focusing on reflecting the patch as a sysctl value. > > 2010/9/27 Jason : >> On Mon, Sep 27, 2010 at 09:01:38PM +0700, Phan Quoc Hien thus spake: >>> >>> Try rebuild your kernel and get 8.1-RELEASE-p1! I did it! >>> >>> On Mon, Sep 27, 2010 at 3:29 PM, c0re wrote: >>> >>>> Hello freebsd-questions! >>>> >>>> I've installed freebsd 8.1 and made >>>> freebsd-update fetch >>>> freebsd-update install >>>> reboot >>>> >>>> And in uname -a I still see 8.1-RELEASE, but I want to see >>>> 8.1-RELEASE-p1. >>>> >>>> In /usr/src/sys/conf/newvers.sh I see that it is 8.1-p1 >>>> >>>> REVISION="8.1" >>>> BRANCH="RELEASE-p1" >>>> >>>> Why is it so? I want to know that my system is up to date with >>>> freebsd-update, but uname -a does not show this to 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" >>>> >> >> The kernel wasn't touched during the latest set of security releases, so >> an >> update to 8.1-p1 will show your kernel at 8.1. If you perform another >> freebsd-update, it should show no updates for 8.1-p1. >> >> Based on what you are saying, uname is reporting correctly. >> >> Other than 'sys/conf/newvers.sh,' if the update touches sys, it should >> redistribute the kernel and the patch number in the announcement. After >> it >> is properly applied, 'uname' should match. >> >> I don't recall the reasoning behind newvers.sh in the update software, >> but >> others may have an idea. >> >> -jgh >> > > From ait at p2ee.org Mon Sep 27 16:37:48 2010 From: ait at p2ee.org (Alejandro Imass) Date: Mon Sep 27 16:37:54 2010 Subject: Questions ? In-Reply-To: References: Message-ID: 2010/9/27 kosin kaewnuna : > > To FreeBSD Admin. > > > > ? ? ? ? Hi, My name is Mr.Kosin Kaewnuna. I am a graduate student in Bangkok Thailand. > > I'm doing research on the technologies virtualization, OS-Level virtualization, Para-virtualization > > I have the following questions about FreeBSD. > > > > 1. FreeBSD can be edit host Kernel ? > > > > 2. FreeBSD can be installed on Xen Para-virtualization ? How to .. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization.html > > > > Thank you. For Anser. > > _______________________________________________ > 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 igalgand at freemail.hu Mon Sep 27 16:49:25 2010 From: igalgand at freemail.hu (Istvan Galgand) Date: Mon Sep 27 16:49:30 2010 Subject: rhythmbox issue In-Reply-To: <20100926162643.GA10795@freebsd02.snowboard.ice> References: <20100926162643.GA10795@freebsd02.snowboard.ice> Message-ID: <20100927164922.GA89706@freebsd02.snowboard.ice> On Sun, Sep 26, 2010 at 06:26:43PM +0200, Istvan Galgand wrote: > Dear All, > > I've just realized that I can't start Rhythmbox from my Gnome desktop. I've tried to launch it from menu, from terminal, nothing > happens, no error messages appear at all. When I used Rhythmbox last time, lets's say, one or two weeks ago, everything was OK. Today's FreeBSD update solved the issue. Rhythmbox is operating again and doing a very nice job. Thanks, Istvan -- This mail was sent by Mutt-1.4.2.3_5, FreeBSD 8.1-RELEASE-#0, GENERIC i386 From phanquochien at gmail.com Mon Sep 27 17:00:13 2010 From: phanquochien at gmail.com (Phan Quoc Hien) Date: Mon Sep 27 17:00:19 2010 Subject: Prevent symbolic links in pure-ftp! Message-ID: hi! How to prevent symbolic links in pure-ftp for security issuse? User can access outsite chroot by create symlink: ln -s / abc => and user > can change dir to / > Anyone can solve this problem? Thanks. -- Mr.Hien E-mail: phanquochien@gmail.com Website: www.mrhien.info From FreeBSD at insightbb.com Mon Sep 27 17:00:17 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Mon Sep 27 17:00:47 2010 Subject: sudo anomaly In-Reply-To: <201009270321.o8R3Lo47008651@mail.r-bonomi.com> References: <201009270321.o8R3Lo47008651@mail.r-bonomi.com> Message-ID: <201009271300.16095.FreeBSD@insightbb.com> On Sunday 26 September 2010 11:21:50 pm you wrote: > > From FreeBSD@insightbb.com Sun Sep 26 18:14:09 2010 > > From: Steven Friedrich > > To: Robert Bonomi > > Subject: Re: sudo anomaly > > Date: Sun, 26 Sep 2010 19:16:00 -0400 > > > > On Sunday 26 September 2010 2:38:06 pm you wrote: > > > > From owner-freebsd-questions@freebsd.org Sun Sep 26 11:46:43 2010 > > > > From: Steven Friedrich > > > > To: freebsd-questions@freebsd.org > > > > Date: Sun, 26 Sep 2010 12:47:29 -0400 > > > > Subject: sudo anomaly > > > > > > > > I have a userID, admin, that I add to my systems to use when I > > > > perform system admin functions. I also use this ID when using > > > > X-windows, never starting X as root user. > > > > > > > > So I needed to check my mail for daily run outputs and so I tried to > > > > use su then mail, but I got admin's mail. So I exited su, and tried > > > > sudo mail. I got root's mailbox nd I deleted all but two emails. > > > > When I q(uit) mail, it said it saved 2 messages in mbox. But when I > > > > try to go back in it says I don't have any mail. There is no root > > > > directory in /var/mail. > > > > > > All that is correct. > > > > > > > Did sudo lose my mbox? > > > > > > Nope. _you_ did. > > > > > > > > > > > > The good news is that you merely misplaced it -- it _is_ were it's > > > always been, you're just looking in the wrong place for it.` > > > > > > 'mbox' != 'incoming mailbox' > > > > > > > Can anyone verify this anomaly? > > > > > > no anomaly. simple *USER* error. > > > > > > > > > > > > Look in root's _HOME_DIRECTORY_. You'll find a file called 'mbox' > > > =there=. > > > > > > That's where 'already read' mail is saved. > > > > > > When logged in as root, use 'mail -f mbox' to see your old mail. > > > > > > BTW, if you 'su root' and _then_ set evnrionment variable 'USER' to > > > 'root', mail(1) _will_ fetch root's mail. > > > > Thanks. I used mail under unix eons ago, and I don't remember ever having > > to use a switch to get saved mail, but perhaps I've simply forgotten. I > > use KMail and Thunderbird (under Winblows), but I needed to check daily > > output scripts... > > did you use 'su root' or 'su - root'? the '-' makes a humongous > difference. Thanks, I had forgotten about that... -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From FreeBSD at insightbb.com Mon Sep 27 17:05:18 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Mon Sep 27 17:05:26 2010 Subject: apropos returning same item twice In-Reply-To: <201009271135.19590.jmc-freebsd2@milibyte.co.uk> References: <201009111442.49114.FreeBSD@insightbb.com> <201009261252.14140.FreeBSD@insightbb.com> <201009271135.19590.jmc-freebsd2@milibyte.co.uk> Message-ID: <201009271305.13740.FreeBSD@insightbb.com> On Monday 27 September 2010 6:35:19 am Mike Clarke wrote: > On Sunday 26 September 2010, Steven Friedrich wrote: > > > > > Another check is that the output of manpath(1) doesn't > > > > > include /usr/X11R6/man. > > > > > > > > manpath > > > > /usr/share/man:/usr/local/man:/usr/local/kde4/man:/usr/share/open > > > > > > > >ssl/man: > > > > /usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/ > > > > > > > >man > > > > > > Ok. There's also: > > > %man -a -w mysql > > > > > > to see the origins of the multiple man pages, although it seems > > > that you may have already confirmed the /usr/X11R6 path connection. > > > > > > >From what you've presented so far I'd say it's looking like a > > > > > > > > problem > > > > man -a -w mysql > > /usr/local/man/man1/mysql.1.gz > > /usr/X11R6/man/man1/mysql.1.gz > > Same here - until I realised that I still had /usr/X11R6/bin in $PATH, > left over from the days before /usr/X11R6 was a link to /usr/local. > Removing /usr/X11R6/bin from $PATH fixed it for me. According to the > man page for manpath it "tries to determine the user's manpath from a > set of system defaults and the user's PATH". Thanks, dude. That was my problem. -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From rsmith at xs4all.nl Mon Sep 27 18:55:45 2010 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Sep 27 18:55:49 2010 Subject: Multiple Machines In-Reply-To: References: Message-ID: <20100927185543.GA79932@slackbox.erewhon.net> On Fri, Sep 24, 2010 at 03:04:45PM -0800, David Allen wrote: > Multiple Machines > > This is sort of a "best practices" kind of question so all comments are > welcome. I'm wondering what folks are doing when setting up multiple > (more than 1, but less than 10) machines. > > Consider, for example, some ordinary files such as the following: > > /root/.cshrc > /root/.bashrc # toor account > /root/.bash_profile # toor account > /home/username/.bashrc > /home/username/.bash_profile > /etc/make.conf > /etc/src.conf > /etc/fstab # nfs mount entries > /etc/resolv.conf > /etc/ntp.conf > > Some files are identical, some require different permissions, and some > (like fstab) consist of customizations that need to be added. > > Short of enabling root ssh logins or writing makefiles, what would be the > best approach to handing the above? Every configuration file that I want to change, I copy first to ~/setup//, each of which is a git repository. (Of course you can use any revision control system you like.) For managing files, I use "list" files combined with a couple of perl-scripts, called check.pl and install.pl. The list file details where each file is to be copied to and what permissions it should have. The check scripts checks for differences between the files in the repository and the installed files. The install.pl does the obvious. :-) You can find this elaborated on one of my webpages: http://www.xs4all.nl/~rsmith/unix/configfiles.html I tend to use rsync to copy these setup directories from my workstation to other machines (which also backs them up!). Then I log in by ssh to run the check and install scripts. It should be possible to extend the check and install scripts to work over ssh directly. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [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/20100927/f3aade26/attachment.pgp From jrisom at gmail.com Mon Sep 27 19:07:49 2010 From: jrisom at gmail.com (Joshua Isom) Date: Mon Sep 27 19:07:53 2010 Subject: Prevent symbolic links in pure-ftp! In-Reply-To: References: Message-ID: <4CA0EB84.3040802@gmail.com> On 9/27/2010 12:00 PM, Phan Quoc Hien wrote: > hi! > > How to prevent symbolic links in pure-ftp for security issuse? > > User can access outsite chroot by create symlink: ln -s / abc => and user >> can change dir to / >> > > Anyone can solve this problem? > Thanks. > man 8 jail Jails limit file system access, device access, and kernel access. From dick at nagual.nl Mon Sep 27 19:10:37 2010 From: dick at nagual.nl (Dick Hoogendijk) Date: Mon Sep 27 19:10:42 2010 Subject: Prevent symbolic links in pure-ftp! In-Reply-To: <4CA0EB84.3040802@gmail.com> References: <4CA0EB84.3040802@gmail.com> Message-ID: <4CA0EC31.5090108@nagual.nl> On 27-9-2010 21:07, Joshua Isom wrote: > On 9/27/2010 12:00 PM, Phan Quoc Hien wrote: >> hi! >> >> How to prevent symbolic links in pure-ftp for security issuse? >> >> User can access outsite chroot by create symlink: ln -s / abc => and >> user >>> can change dir to / >>> >> >> Anyone can solve this problem? Have you read the manual for pure-ftpd? Symbolic link following can be turned off completely if you so wish, but I do not want to do your homework. Sorry. From nightrecon at hotmail.com Mon Sep 27 19:16:58 2010 From: nightrecon at hotmail.com (Michael Powell) Date: Mon Sep 27 19:17:02 2010 Subject: [SOLVED] Trouble enabling GD in php/apache References: Message-ID: Andy Wodfer wrote: > On Fri, Sep 24, 2010 at 1:52 PM, Andy Wodfer wrote: > >> I'm running FreeBSD 8.0 RELEASE. >> >> I can't get GD enabled. I have installed latestes php5 from ports aswell >> as php5-extensions and enabled GD on the option screen: [snip] > > I solved my problem by manually deleting /usr/local/lib/php/20090626/gd.so > and reinstalling the php5-extensions. For me it was reordering the loading order in php.ini. Initially I had tried placing it at the bottom, as well as moving xcache.so to the end. When I moved pdf.so to _after_ gd it magically began working: extension=gd.so extension=pdf.so extension=xcache.so -Mike From freebsd at lecuire.fr Mon Sep 27 21:31:25 2010 From: freebsd at lecuire.fr (BernardL) Date: Mon Sep 27 21:41:55 2010 Subject: FreeBSD on Compaq mini CQ10 anyone? In-Reply-To: <4CA00A1F.5010405@rdtan.net> References: <4C8316C5.2060906@gmail.com> <4CA00A1F.5010405@rdtan.net> Message-ID: <4CA10D2D.7030605@lecuire.fr> Le 27/09/2010 05:06, Edward a ?crit : >> I just got one and was wondering if anyone was running FreeBSD on it >> and how well does it work out of the box. >> All comments are welcome. > Try PCBSD (http://pcbsd.org), is a Desktop BSD variant based on FreeBSD. > Personally, I've used FreeBSD in a laptop in a few occasions but after > trying out PCBSD, this path requires the least effort to setup a > Desktop. The installation& setting up of hardware is too easy. The > kernel that comes with it, does a good job in recognizing the wireless > chip, sound card, NIC, display& other stuff. Even though it uses the > PBI format to install software on PCBSD, one can still use port to > install additional softwares on it by using the "portjail" console. Both > PBI& port works together well. > > In short, it definitely worth a try! :) I have tried to install PC-BSD without success. In the process, the screen turned black and i had to turn the CQ10 off. I don't know whether there is an issue with PC-BSD or if I did something wrong. Bernard Lecuire From myself at rdtan.net Tue Sep 28 00:49:42 2010 From: myself at rdtan.net (Edward) Date: Tue Sep 28 00:49:45 2010 Subject: FreeBSD on Compaq mini CQ10 anyone? In-Reply-To: <4CA10D2D.7030605@lecuire.fr> References: <4C8316C5.2060906@gmail.com> <4CA00A1F.5010405@rdtan.net> <4CA10D2D.7030605@lecuire.fr> Message-ID: <4CA13BA0.3040902@rdtan.net> On 28/09/10 5:31, BernardL wrote: > I have tried to install PC-BSD without success. In the process, the > screen turned black and i had to turn the CQ10 off. I don't know > whether there is an issue with PC-BSD or if I did something wrong. There's an option for "display wizard" to change display settings but I've never had a chance to use it because the machines I use (2 laptop with intel chipset & 1 desktop with nvidia chipset) have no problem detecting the display settings. :) From vermaden at interia.pl Tue Sep 28 05:22:52 2010 From: vermaden at interia.pl (vermaden) Date: Tue Sep 28 05:22:56 2010 Subject: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Message-ID: <20100928050746.5342D3D1A47@fwb.poczta.interia.pl> Hi all, how about 'porting' the Open{Solaris,Indiana} feature called _Time Slider_ in Nautilus to the FreeBSD's Nautilus? I know that there aren't any patches attached to my mail, but it may be not that much work to have another great feature in FreeBSD. Regards, vermaden ---- ---------------------------------------------------------------------- Gra dla duzych chlopcow. http://linkint.pl/f2717 From freebsd at edvax.de Tue Sep 28 06:01:52 2010 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 28 06:01:55 2010 Subject: freebsd-current@freebsd.org, freebsd-stable@freebsd.org In-Reply-To: <20100928050746.5342D3D1A47@fwb.poczta.interia.pl> References: <20100928050746.5342D3D1A47@fwb.poczta.interia.pl> Message-ID: <20100928080148.fccd2e10.freebsd@edvax.de> On 28 Sep 2010 07:07:46 +0200, vermaden wrote: > Hi all, > > how about 'porting' the Open{Solaris,Indiana} > feature called _Time Slider_ in Nautilus to > the FreeBSD's Nautilus? I think you should address this request to the Gnome project, as Nautilus is a part of Gnome, not of FreeBSD (the operating system) per se. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From perryh at pluto.rain.com Tue Sep 28 07:10:55 2010 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Tue Sep 28 07:10:59 2010 Subject: Free BSD 8.1 In-Reply-To: <201009271016.26902.jmc-freebsd2@milibyte.co.uk> References: <20100926123019.GA41450@lpthe.jussieu.fr> <4C9F3BBA.2060809@infracaninophile.co.uk> <4ca03df2.lQjjNnRah4BJhw4Y%perryh@pluto.rain.com> <201009271016.26902.jmc-freebsd2@milibyte.co.uk> Message-ID: <4ca19305.qVDnt7/ifQhIrQ0c%perryh@pluto.rain.com> Mike Clarke wrote: > On Monday 27 September 2010, perryh@pluto.rain.com wrote: > > I've recently started on a new system, and am planning to > > install 8.1-RELEASE, including the corresponding ports tree; > > then install what ports I can from packages and also fetch the > > corresponding distfiles; and finally build -- from release- > > corresponding ports -- any that aren't available as packages or > > where I want non-default OPTION settings. That approach should > > avoid most nasty surprises while getting things set up and > > working. _After_ everything is installed and configured > > properly will be plenty soon enough to consider whether any > > ports need to be updated -- and the already-installed-and- > > working package collection will provide a fallback in case > > of trouble trying to build any updated versions. > > The problem is if/when you need to update a port as a result of > a security advisory. If your ports tree is very much out of date > then it's likely that updating that one port will require a number > of dependencies to be updated as well, sometimes all the ports > depending on one or more of the updated dependencies need to be > updated as well and the resultant bag of worms can take quite a > lot of sorting out. The "little and often" approach of keeping > the ports tree up to date could be less traumatic. and, in this context, your point is? I'm advocating starting from a stable and self-consistent baseline, consisting of a release _and_ its corresponding port/package collection, and then considering whether any updates are needed. Isn't that orthogonal to the question of whether or not to follow ports updates, once the baseline has been established? From ryan.coleman at cwis.biz Tue Sep 28 07:24:28 2010 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Tue Sep 28 07:24:32 2010 Subject: Free BSD 8.1 In-Reply-To: <4ca19305.qVDnt7/ifQhIrQ0c%perryh@pluto.rain.com> References: <20100926123019.GA41450@lpthe.jussieu.fr> <4C9F3BBA.2060809@infracaninophile.co.uk> <4ca03df2.lQjjNnRah4BJhw4Y%perryh@pluto.rain.com> <201009271016.26902.jmc-freebsd2@milibyte.co.uk> <4ca19305.qVDnt7/ifQhIrQ0c%perryh@pluto.rain.com> Message-ID: <5711C7AE-92FD-4ECA-B0DC-2CF91A10B809@cwis.biz> On Sep 28, 2010, at 2:02 AM, perryh@pluto.rain.com wrote: > Mike Clarke wrote: >> On Monday 27 September 2010, perryh@pluto.rain.com wrote: >>> I've recently started on a new system, and am planning to >>> install 8.1-RELEASE, including the corresponding ports tree; >>> then install what ports I can from packages and also fetch the >>> corresponding distfiles; and finally build -- from release- >>> corresponding ports -- any that aren't available as packages or >>> where I want non-default OPTION settings. That approach should >>> avoid most nasty surprises while getting things set up and >>> working. _After_ everything is installed and configured >>> properly will be plenty soon enough to consider whether any >>> ports need to be updated -- and the already-installed-and- >>> working package collection will provide a fallback in case >>> of trouble trying to build any updated versions. >> >> The problem is if/when you need to update a port as a result of >> a security advisory. If your ports tree is very much out of date >> then it's likely that updating that one port will require a number >> of dependencies to be updated as well, sometimes all the ports >> depending on one or more of the updated dependencies need to be >> updated as well and the resultant bag of worms can take quite a >> lot of sorting out. The "little and often" approach of keeping >> the ports tree up to date could be less traumatic. > > and, in this context, your point is? > > I'm advocating starting from a stable and self-consistent baseline, > consisting of a release _and_ its corresponding port/package > collection, and then considering whether any updates are needed. > Isn't that orthogonal to the question of whether or not to follow > ports updates, once the baseline has been established? As I understand it: The OS itself is stable, but the ports are constantly in flux and may be issues. Please correct me if I am wrong. From freebsd at edvax.de Tue Sep 28 07:38:07 2010 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 28 07:38:11 2010 Subject: Free BSD 8.1 In-Reply-To: <5711C7AE-92FD-4ECA-B0DC-2CF91A10B809@cwis.biz> References: <20100926123019.GA41450@lpthe.jussieu.fr> <4C9F3BBA.2060809@infracaninophile.co.uk> <4ca03df2.lQjjNnRah4BJhw4Y%perryh@pluto.rain.com> <201009271016.26902.jmc-freebsd2@milibyte.co.uk> <4ca19305.qVDnt7/ifQhIrQ0c%perryh@pluto.rain.com> <5711C7AE-92FD-4ECA-B0DC-2CF91A10B809@cwis.biz> Message-ID: <20100928093804.f61d6d58.freebsd@edvax.de> On Tue, 28 Sep 2010 02:24:26 -0500, Ryan Coleman wrote: > As I understand it: The OS itself is stable, but the ports are > constantly in flux and may be issues. Not exactly. It depends on which update road you follow. Say, you use freebsd-update (the binary update), or use c(v)sup to track -RELEASE (including the security patches), your OS is stable. Certain points in time can be addressed by a specific patch level, e. g. -RELEASE-p1 for the first one, -RELEASE-p2 for the second one, and so on. If you track -STABLE by using c(v)sup (doesn't work with the binary freebsd-update!), your OS is also stable. There is no further "versioning" as with the patch levels; the date decides. As you can't binary upgrade here, compiling yourself is needed. But if you track -CURRENT (means -HEAD), it *might* be that the OS won't even compile, or runs unstable. This is due to the fact that *this* branch does sometimes include experimental changes or features that are tested, and maybe removed later on. It's obvious that you need to retrieve the sources and compile your- self in this case, too. Ports, on the other hand, are not related to the OS version. If you use -RELEASE for example, you can, if it fits your needs, stay with the default ports tree that has been "issued" the same time the release came out. This is the state you'll find on the installation media. You can also use the precompiled packages. If you decide to upgrade your ports tree because you need newer versions or specific features, it *may* be possible that a certain point in time of -RELEASE is not sufficient, and this might force you to change your road to follow -STABLE. This can either be the case by installing from an updated ports tree or from Latest/ packages (instead of RELEASE one's). Summary: -RELEASE and -STABLE are stable, -CURRENT or -HEAD do not neccessarily have to be. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From plcmaechler at vtxmail.ch Tue Sep 28 08:20:13 2010 From: plcmaechler at vtxmail.ch (Maechler Philippe) Date: Tue Sep 28 08:20:16 2010 Subject: FreeBSD 8.x and RAID Controllers from Areca and HP Message-ID: <4CA1A109.60906@vtxmail.ch> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all, I hope someone can help me installing FreeBSD 8.x with a RAID Controller from HP or Areca. We have a HP Proliant DL320 G6 Server with a built in HP Smart Array Controller. Since we haven't any luck in using the raid controllers from hp we bought an Areca ARC1210 Raid Card. When we boot up from the cd the installer hangs with: run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config and then the machine freezes. This happens on FreeBSD 7.3 - 8.1 (AMD64 and i386). On FreeBSD 7.2 i386 there is no problem with the areca controller. Google told me to disable the firewire and usb ports in the bios, we did that without any improvments. Some additional information from the machine: HP Proliant DL320 G6; XEON E5505 1.87Ghz and 4GB RAM HP Smart Array B110i V1.38 Areca ARC1210 Driver Verson 1.20.00.16 2009-10-10 Areca ARC1210 Firmware Verson 1.48 2009-12-31 (we tried V1.46 before) Kind regards Philippe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyhoQAACgkQ22zB6cg51rORuACfS824v+t7tSZX28pd7FvIR4Op ptwAn2Gsvnm7ONLW9ABI944jXueGYkxD =IjvV -----END PGP SIGNATURE----- From office at pc-service.ch Tue Sep 28 08:26:07 2010 From: office at pc-service.ch (Martin Schweizer) Date: Tue Sep 28 08:26:11 2010 Subject: Problem with SASL authentication against Kerberos5 (Windows Active Directory) Message-ID: <20100928080744.GA80050@saturn.pcs.ms> Hello My system: FreeBSD 8.1-RELEASE FreeBSD 8.1-RELEASE #2: Tue Aug 31 17:07:54 CEST 2010 :/usr/obj/usr/src/sys/GENERIC i386 Relevant part of the installed software: # pkg_info|grep cyrus cyrus-imapd-2.3.16_2 The cyrus mail server, supporting POP3 and IMAP4 protocols cyrus-sasl-2.1.23 RFC 2222 SASL (Simple Authentication and Security Layer) cyrus-sasl-saslauthd-2.1.23 SASL authentication server for cyrus-sasl2 Kerberos5 settings: They are all ok, because I can these cross check by using kinit (and such tools), ldapsearch and of course the security event protocol of the domain controllers. So I can say all this is ok. /etc/rc.conf: [snip] saslauthd_enable="YES" saslauthd_flags="-a kerberos5" I use three of the above servers and with two of them I have no such problems. Here what is going wrong: After I update all my ports I can no longer authenticate against Kerberos5. The test with testsaslauthd -u usernamex -p passwordx ends always in 0: NO "authentication failed". In /var/log/auth.log I can see Sep 24 08:07:28 saslauthd[83827]: do_auth : auth failure: [user=martin] [service=imap] [realm=] [mech=kerberos5] [reason=krb5_verify_user_opt failed]. What's intressting if I use saslauthd_flags="-a pam" then all is working as expected. And again before the update all worked without any problems. Any ideas? Regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22 From stark at mapper.nl Tue Sep 28 08:27:51 2010 From: stark at mapper.nl (Mark Stapper) Date: Tue Sep 28 08:27:56 2010 Subject: MEncoder - nice allways 20, renice doesn't work Message-ID: <4CA1A33B.9050600@mapper.nl> Hi all, I've been playing around with incoding/recoding with mencoder. On one of my boxes mencoder keeps having niceness 20. I don't want mencoder to play nice so I try to renice the process, but it resets to 20 within seconds! Here's the info: [stark@yoshi ~]$ mencoder -show-profile x264ac3 MEncoder SVN-r31746-snapshot-4.2.1 (C) 2000-2010 MPlayer Team Profile x264ac3: x264 with ac3 audio ovc=x264=1 x264encopts=crf=20:threads=auto oac=lavc=1 lavcopts=acodec=ac3:abitrate=640:threads=6 FreeBSD mario 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #5: Mon Jun 21 19:34:39 CEST 2010 xxxxxxxx@mario:/usr/obj/usr/src/sys/mario amd64 Any thoughts? Cheers, Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100928/65618a5a/signature.pgp From ivoras at freebsd.org Tue Sep 28 10:35:10 2010 From: ivoras at freebsd.org (Ivan Voras) Date: Tue Sep 28 10:35:14 2010 Subject: FreeBSD 8.x and RAID Controllers from Areca and HP In-Reply-To: <4CA1A109.60906@vtxmail.ch> References: <4CA1A109.60906@vtxmail.ch> Message-ID: On 09/28/10 10:02, Maechler Philippe wrote: > Hello all, > > I hope someone can help me installing FreeBSD 8.x with a RAID Controller > from HP or Areca. > and then the machine freezes. This happens on FreeBSD 7.3 - 8.1 (AMD64 > and i386). > On FreeBSD 7.2 i386 there is no problem with the areca controller. > > Google told me to disable the firewire and usb ports in the bios, we did > that without any improvments. Try asking on hardware@ freebsd.org or stable@ freebsd.org if you don't get any replies here. From mexas at bristol.ac.uk Tue Sep 28 11:14:58 2010 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Sep 28 11:15:01 2010 Subject: ld(1) cannot find entry symbol _start; Message-ID: <20100928111455.GA58901@mech-cluster241.men.bris.ac.uk> I'm trying to learn the very basics of the compile - assemble - link process on FreeBSD. Please don't shoot me. I've this c code: % cat tmp.c int main() { int a; int b; int c; a = 2; b = 3; c=a*b; } which I compile into assembly language: % gcc -v Using built-in specs. Target: ia64-undermydesk-freebsd Configured with: FreeBSD/ia64 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] % gcc -S tmp.c I then assemble the object file: % gcc -o tmp.o -c tmp.s % file tmp.o tmp.o: ELF 64-bit LSB relocatable, IA-64, version 1 (FreeBSD), not stripped Then I try to link the object file into an executable: % ld tmp.o ld: warning: cannot find entry symbol _start; defaulting to 20000000000000f0 Finally, when I try to run the executable, I get segfault: % ./a.out Segmentation fault (core dumped) Looking at the asm listing, there is indeed no _start symbol: .file "tmp.c" .pred.safe_across_calls p1-p5,p16-p63 .text .align 16 .global main# .proc main# main: .prologue 2, 2 .vframe r2 mov r2 = r12 .body ;; adds r15 = 8, r2 addl r14 = 2, r0 ;; st4 [r15] = r14 adds r15 = 4, r2 addl r14 = 3, r0 ;; st4 [r15] = r14 adds r14 = 8, r2 adds r15 = 4, r2 ;; ld4 r16 = [r14] ld4 r14 = [r15] ;; setf.sig f6 = r16 setf.sig f7 = r14 ;; xmpy.l f6 = f6, f7 ;; getf.sig r14 = f6 ;; st4 [r2] = r14 .restore sp mov r12 = r2 br.ret.sptk.many b0 ;; .endp main# .ident "GCC: (GNU) 4.2.1 20070719 [FreeBSD]" What am I missing? I'm happy to be referred to FM. many thanks anton -- 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 onemda at gmail.com Tue Sep 28 11:25:56 2010 From: onemda at gmail.com (Paul B Mahol) Date: Tue Sep 28 11:25:59 2010 Subject: ld(1) cannot find entry symbol _start; In-Reply-To: <20100928111455.GA58901@mech-cluster241.men.bris.ac.uk> References: <20100928111455.GA58901@mech-cluster241.men.bris.ac.uk> Message-ID: On 9/28/10, Anton Shterenlikht wrote: > I'm trying to learn the very basics of the > compile - assemble - link process on FreeBSD. > Please don't shoot me. > > I've this c code: > > % cat tmp.c > int main() { > int a; > int b; > int c; > > a = 2; > b = 3; > > c=a*b; > } > > which I compile into assembly language: > > % gcc -v > Using built-in specs. > Target: ia64-undermydesk-freebsd > Configured with: FreeBSD/ia64 system compiler > Thread model: posix > gcc version 4.2.1 20070719 [FreeBSD] > > % gcc -S tmp.c > > I then assemble the object file: > > % gcc -o tmp.o -c tmp.s > % file tmp.o > tmp.o: ELF 64-bit LSB relocatable, IA-64, version 1 (FreeBSD), not stripped > > Then I try to link the object file into > an executable: > > % ld tmp.o You are missing something in above command. > ld: warning: cannot find entry symbol _start; defaulting to 20000000000000f0 > > Finally, when I try to run the executable, > I get segfault: > > % ./a.out > Segmentation fault (core dumped) > > > Looking at the asm listing, there is indeed no > _start symbol: > > > .file "tmp.c" > .pred.safe_across_calls p1-p5,p16-p63 > .text > .align 16 > .global main# > .proc main# > main: > .prologue 2, 2 > .vframe r2 > mov r2 = r12 > .body > ;; > adds r15 = 8, r2 > addl r14 = 2, r0 > ;; > st4 [r15] = r14 > adds r15 = 4, r2 > addl r14 = 3, r0 > ;; > st4 [r15] = r14 > adds r14 = 8, r2 > adds r15 = 4, r2 > ;; > ld4 r16 = [r14] > ld4 r14 = [r15] > ;; > setf.sig f6 = r16 > setf.sig f7 = r14 > ;; > xmpy.l f6 = f6, f7 > ;; > getf.sig r14 = f6 > ;; > st4 [r2] = r14 > .restore sp > mov r12 = r2 > br.ret.sptk.many b0 > ;; > .endp main# > .ident "GCC: (GNU) 4.2.1 20070719 [FreeBSD]" > > > What am I missing? > > I'm happy to be referred to FM. > > many thanks > anton > > -- > 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 talon at lpthe.jussieu.fr Tue Sep 28 11:38:12 2010 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Tue Sep 28 11:38:16 2010 Subject: Free BSD 8.1 Message-ID: <20100928133934.GA14595@lpthe.jussieu.fr> Polytropon said: > If you decide to upgrade your ports tree because you need newer > versions or specific features, it *may* be possible that a certain > point in time of -RELEASE is not sufficient, and this might force > you to change your road to follow -STABLE. This can either be the > case by installing from an updated ports tree or from Latest/ > packages (instead of RELEASE one's). An other option is to download a specific port from (*) http://www.freebsd.org/cgi/cvsweb.cgi/ports/ and compiling it independently of the ports tree. In many cases it works perfectly OK and avoids to upgrade the ports tree itself and the destabilization which ensues. Of course you can also upgrade frequently the ports tree and run frequently portupgrade or portmaster, if you like tinkering with your machine. (*) in any given port you will find "Download this directory in tarball" -- Michel TALON From talon at lpthe.jussieu.fr Tue Sep 28 11:52:52 2010 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Tue Sep 28 11:52:55 2010 Subject: ld(1) cannot find entry symbol _start; Message-ID: <20100928135414.GA17159@lpthe.jussieu.fr> Paul B Mahol said: On 9/28/10, Anton Shterenlikht wrote: > > I'm trying to learn the very basics of the > > compile - assemble - link process on FreeBSD. > > Please don't shoot me. > .... > > Then I try to link the object file into > > an executable: > > > > % ld tmp.o > > You are missing something in above command. > More precisely, if you run gcc -v on a C file you get someting like: /usr/bin/ld --eh-frame-hdr -V -dynamic-linker /libexec/ld-elf.so.1 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib -L/usr/lib /var/tmp//cco5EINk.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o where the object file produced by compilation and assembling is /var/tmp//cco5EINk.o That is adds several other object files to your own in order to get an executable. In particular the start symbol, at which execution begins is in /usr/lib/crt1.o as you can see from niobe% nm /usr/lib/crt1.o w _DYNAMIC 00000000 D __progname U _fini U _init U _init_tls 00000000 T _start 00000020 t _start1 00000000 r abitag U atexit 00000004 C environ U exit U main which shows that _start is defined here, (but not e.g. _init). On the other hand the function main() which is defined in your program is referred to but undefined here. -- Michel TALON From cwhiteh at onetel.com Tue Sep 28 13:53:30 2010 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Tue Sep 28 13:53:37 2010 Subject: Free BSD 8.1 In-Reply-To: <4ca19305.qVDnt7/ifQhIrQ0c%perryh@pluto.rain.com> References: <20100926123019.GA41450@lpthe.jussieu.fr> <4C9F3BBA.2060809@infracaninophile.co.uk> <4ca03df2.lQjjNnRah4BJhw4Y%perryh@pluto.rain.com> <201009271016.26902.jmc-freebsd2@milibyte.co.uk> <4ca19305.qVDnt7/ifQhIrQ0c%perryh@pluto.rain.com> Message-ID: <4CA1F352.1090504@onetel.com> perryh@pluto.rain.com wrote: > > I'm advocating starting from a stable and self-consistent baseline, > consisting of a release _and_ its corresponding port/package > collection, and then considering whether any updates are needed. You might be interested to follow Manolis' custom DVD which is based on exactly that principle: http://freebsd-custom.wikidot.com Chris > Isn't that orthogonal to the question of whether or not to follow > ports updates, once the baseline has been established? > _______________________________________________ > 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 Tue Sep 28 14:02:34 2010 From: wblock at wonkity.com (Warren Block) Date: Tue Sep 28 14:02:40 2010 Subject: Free BSD 8.1 In-Reply-To: <5711C7AE-92FD-4ECA-B0DC-2CF91A10B809@cwis.biz> References: <20100926123019.GA41450@lpthe.jussieu.fr> <4C9F3BBA.2060809@infracaninophile.co.uk> <4ca03df2.lQjjNnRah4BJhw4Y%perryh@pluto.rain.com> <201009271016.26902.jmc-freebsd2@milibyte.co.uk> <4ca19305.qVDnt7/ifQhIrQ0c%perryh@pluto.rain.com> <5711C7AE-92FD-4ECA-B0DC-2CF91A10B809@cwis.biz> Message-ID: On Tue, 28 Sep 2010, Ryan Coleman wrote: > > As I understand it: The OS itself is stable, but the ports are constantly in flux and may be issues. During a FreeBSD release, the ports tree is "frozen" and port updates are delayed. So a FreeBSD release really does come with with a somewhat stale and stable set of ports... which is immediately followed by a flurry of port updates as the ports tree is unfrozen. Often these updates include major applications like xorg, with time-consuming upgrade procedures. The snapshot of ports on a -release grows increasingly stale. After a while, it's easier to update the ports tree before installing anything. From smithi at nimnet.asn.au Tue Sep 28 14:43:09 2010 From: smithi at nimnet.asn.au (Ian Smith) Date: Tue Sep 28 14:43:13 2010 Subject: Free BSD 8.1 In-Reply-To: <20100928120025.2A6EC10656DC@hub.freebsd.org> References: <20100928120025.2A6EC10656DC@hub.freebsd.org> Message-ID: <20100928225602.C62022@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 330, Issue 2, Message: 22 On Tue, 28 Sep 2010 00:02:29 -0700 perryh@pluto.rain.com wrote: > Mike Clarke wrote: > > On Monday 27 September 2010, perryh@pluto.rain.com wrote: > > > I've recently started on a new system, and am planning to > > > install 8.1-RELEASE, including the corresponding ports tree; > > > then install what ports I can from packages and also fetch the > > > corresponding distfiles; and finally build -- from release- > > > corresponding ports -- any that aren't available as packages or > > > where I want non-default OPTION settings. That approach should > > > avoid most nasty surprises while getting things set up and > > > working. _After_ everything is installed and configured > > > properly will be plenty soon enough to consider whether any > > > ports need to be updated -- and the already-installed-and- > > > working package collection will provide a fallback in case > > > of trouble trying to build any updated versions. > > > > The problem is if/when you need to update a port as a result of > > a security advisory. If your ports tree is very much out of date > > then it's likely that updating that one port will require a number > > of dependencies to be updated as well, sometimes all the ports > > depending on one or more of the updated dependencies need to be > > updated as well and the resultant bag of worms can take quite a > > lot of sorting out. The "little and often" approach of keeping > > the ports tree up to date could be less traumatic. > > and, in this context, your point is? > > I'm advocating starting from a stable and self-consistent baseline, > consisting of a release _and_ its corresponding port/package > collection, and then considering whether any updates are needed. > Isn't that orthogonal to the question of whether or not to follow > ports updates, once the baseline has been established? Makes sense to me. There's been a ports freeze and extra attention to consistency of dependencies leading up to a -RELEASE, so there's a much better chance of all your ports working together from the outset, then you can update them at leisure while still getting on with some work! That there's also a self-consistent complete set of packages at that point seems lost on some folks having good enough bandwidth and fast enough systems to never need bothering with packages. I agree with Mike about the worms :) I have an 8.0-RELEASE system with many ports installed and quite a few configured to taste with a recently upgraded 8-STABLE world, working through a huge portversion update list, started by fetching over 900MB of packages so far including X and KDE by portupgrade -aFPP. It's going to take a while, and I'll be surprised if I don't skin a few knuckles on circular dependencies along the way. cheers, Ian From akashb503 at yahoo.co.in Tue Sep 28 14:23:34 2010 From: akashb503 at yahoo.co.in (akash kumar) Date: Tue Sep 28 16:00:39 2010 Subject: preemption enable/disable routines Message-ID: <568792.52464.qm@web95108.mail.in2.yahoo.com> Hi, Can some one tell me the routines in freebsd to enable and disable preemption. In linux we have preempt_enable and preempt_disable which does the functionality. In case freebsd, doesnot have such routines can i used mtx_lock_spin() to do the same? Thanks, Akash. From kline at thought.org Tue Sep 28 16:28:46 2010 From: kline at thought.org (Gary Kline) Date: Tue Sep 28 16:28:50 2010 Subject: what is from with this picture? Message-ID: <20100928162839.GA32198@thought.org> I have been trying to install ubuntu as a desktop while maintaining freebsd as my server. A few days ago mail was working. But, checking my /var/logs/ on my ubuntu I see: Sep 28 09:10:46 newtao postfix/smtp[8064]: 73A14E81F39: to=, relay=mx01.schlund.de[212.227.15.169]:25, delay=80279, delays=80275/0.02/3/0.64, dsn=4.0.0, status=deferred (host mx01.schlund.de[212.227.15.169] said: 421 invalid sender domain 'newtao.thought.org' (misconfigured dns?) (in reply to RCPT TO command)) Sep 28 09:13:51 newtao postfix/pickup[7946]: DD383E81092: uid=1001 from= Sep 28 09:13:51 newtao postfix/cleanup[8173]: DD383E81092: message-id=<20100928161349.GA8164@thought.org> Sep 28 09:13:51 newtao postfix/qmgr[2090]: DD383E81092: from=, size=874, nrcpt=1 (queue active) By default, postfix was installed on my ubuntu desktop. I am not familiar with it. I would =like= it to be sending mail to my server without the $HOST name instead of $HOST.$DOMAIN name. I know there are a bunch of us who use this kind of setup: FreeBSD for server things and some version of linux as a desktop. Really, this looks like a postfix blunder. How do I tell postfix to rewrite th e outgoing address without the hostname? tia, gary PS: FWIW: I still have the oldtao alive and well. It's just old and overdue for replacement. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org From ryan.coleman at cwis.biz Tue Sep 28 16:36:17 2010 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Tue Sep 28 16:36:20 2010 Subject: what is from with this picture? In-Reply-To: <20100928162839.GA32198@thought.org> References: <20100928162839.GA32198@thought.org> Message-ID: <7B0DAD9C-ED75-4188-9407-F86F44C94F47@cwis.biz> I just did a check for thought.org and even it doesn't exist. Is your DNS host down? Did your domain expire? (Just checked the WHOIS and no, it's up through 2015) This may or may not be anything but neither your primary nor secondary Name Servers respond to pings: > Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping ns1.silvertree.org > PING ns1.silvertree.org (173.11.101.153): 56 data bytes > Request timeout for icmp_seq 0 > Request timeout for icmp_seq 1 > Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping ns1.thought.org > PING ns1.thought.org (209.180.213.210): 56 data bytes > Request timeout for icmp_seq 0 > Request timeout for icmp_seq 1 > Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping thought.org > ping: cannot resolve thought.org: Unknown host > Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping www.thought.org > PING ethic.thought.org (209.180.213.210): 56 data bytes > Request timeout for icmp_seq 0 > Request timeout for icmp_seq 1 > Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping ethic.thought.org > PING ethic.thought.org (209.180.213.210): 56 data bytes > Request timeout for icmp_seq 0 > Request timeout for icmp_seq 1 > Request timeout for icmp_seq 2 You can't have a sending domain as thought.org if the @ record for thought.org doesn't exist, IIRC. Look to your DNS for the solution, IMNSHO. -- Ryan On Sep 28, 2010, at 11:28 AM, Gary Kline wrote: > > I have been trying to install ubuntu as a desktop while maintaining > freebsd as my server. A few days ago mail was working. But, checking > my /var/logs/ on my ubuntu I see: > > > Sep 28 09:10:46 newtao postfix/smtp[8064]: 73A14E81F39: > to=, relay=mx01.schlund.de[212.227.15.169]:25, > delay=80279, delays=80275/0.02/3/0.64, dsn=4.0.0, status=deferred (host > mx01.schlund.de[212.227.15.169] said: 421 invalid sender domain > 'newtao.thought.org' (misconfigured dns?) (in reply to RCPT TO command)) > Sep 28 09:13:51 newtao postfix/pickup[7946]: DD383E81092: uid=1001 from= > Sep 28 09:13:51 newtao postfix/cleanup[8173]: DD383E81092: > message-id=<20100928161349.GA8164@thought.org> > Sep 28 09:13:51 newtao postfix/qmgr[2090]: DD383E81092: > from=, size=874, nrcpt=1 (queue active) > > > By default, postfix was installed on my ubuntu desktop. I am not > familiar with it. I would =like= it to be sending mail to my server > without the $HOST name instead of $HOST.$DOMAIN name. I know there are > a bunch of us who use this kind of setup: FreeBSD for server things and > some version of linux as a desktop. > > Really, this looks like a postfix blunder. How do I tell postfix to > rewrite th e outgoing address without the hostname? > > tia, > > gary > > PS: FWIW: I still have the oldtao alive and well. It's just old and > overdue for replacement. > > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > The 7.83a release of Jottings: http://jottings.thought.org/index.php > http://journey.thought.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 ryan.coleman at cwis.biz Tue Sep 28 16:44:45 2010 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Tue Sep 28 16:44:50 2010 Subject: what is from [sic (wrong)] with this picture? -- Answer: It's Ubuntu, not FreeBSD In-Reply-To: <7B0DAD9C-ED75-4188-9407-F86F44C94F47@cwis.biz> References: <20100928162839.GA32198@thought.org> <7B0DAD9C-ED75-4188-9407-F86F44C94F47@cwis.biz> Message-ID: <19639A29-A22D-474B-8CD6-E62D2A4CCB15@cwis.biz> And, lastly, I will add this quote: > I have been trying to install ubuntu as a desktop while maintaining > freebsd as my server. A few days ago mail was working. But, checking > my /var/logs/ on my ubuntu I see: You are asking a FreeBSD list about Ubuntu? ... You'll find some help, not a lot and mostly people ignoring your messages. On Sep 28, 2010, at 11:36 AM, Ryan Coleman wrote: > I just did a check for thought.org and even it doesn't exist. > > Is your DNS host down? Did your domain expire? (Just checked the WHOIS and no, it's up through 2015) > > This may or may not be anything but neither your primary nor secondary Name Servers respond to pings: >> Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping ns1.silvertree.org >> PING ns1.silvertree.org (173.11.101.153): 56 data bytes >> Request timeout for icmp_seq 0 >> Request timeout for icmp_seq 1 > >> Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping ns1.thought.org >> PING ns1.thought.org (209.180.213.210): 56 data bytes >> Request timeout for icmp_seq 0 >> Request timeout for icmp_seq 1 > >> Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping thought.org >> ping: cannot resolve thought.org: Unknown host > >> Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping www.thought.org >> PING ethic.thought.org (209.180.213.210): 56 data bytes >> Request timeout for icmp_seq 0 >> Request timeout for icmp_seq 1 > >> Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping ethic.thought.org >> PING ethic.thought.org (209.180.213.210): 56 data bytes >> Request timeout for icmp_seq 0 >> Request timeout for icmp_seq 1 >> Request timeout for icmp_seq 2 > > You can't have a sending domain as thought.org if the @ record for thought.org doesn't exist, IIRC. > > Look to your DNS for the solution, IMNSHO. > > -- > Ryan > > On Sep 28, 2010, at 11:28 AM, Gary Kline wrote: > >> >> I have been trying to install ubuntu as a desktop while maintaining >> freebsd as my server. A few days ago mail was working. But, checking >> my /var/logs/ on my ubuntu I see: >> >> >> Sep 28 09:10:46 newtao postfix/smtp[8064]: 73A14E81F39: >> to=, relay=mx01.schlund.de[212.227.15.169]:25, >> delay=80279, delays=80275/0.02/3/0.64, dsn=4.0.0, status=deferred (host >> mx01.schlund.de[212.227.15.169] said: 421 invalid sender domain >> 'newtao.thought.org' (misconfigured dns?) (in reply to RCPT TO command)) >> Sep 28 09:13:51 newtao postfix/pickup[7946]: DD383E81092: uid=1001 from= >> Sep 28 09:13:51 newtao postfix/cleanup[8173]: DD383E81092: >> message-id=<20100928161349.GA8164@thought.org> >> Sep 28 09:13:51 newtao postfix/qmgr[2090]: DD383E81092: >> from=, size=874, nrcpt=1 (queue active) >> >> >> By default, postfix was installed on my ubuntu desktop. I am not >> familiar with it. I would =like= it to be sending mail to my server >> without the $HOST name instead of $HOST.$DOMAIN name. I know there are >> a bunch of us who use this kind of setup: FreeBSD for server things and >> some version of linux as a desktop. >> >> Really, this looks like a postfix blunder. How do I tell postfix to >> rewrite th e outgoing address without the hostname? >> >> tia, >> >> gary >> >> PS: FWIW: I still have the oldtao alive and well. It's just old and >> overdue for replacement. >> >> >> -- >> Gary Kline kline@thought.org http://www.thought.org Public Service Unix >> The 7.83a release of Jottings: http://jottings.thought.org/index.php >> http://journey.thought.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" > > _______________________________________________ > 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 ait at p2ee.org Tue Sep 28 17:06:29 2010 From: ait at p2ee.org (Alejandro Imass) Date: Tue Sep 28 17:06:33 2010 Subject: preemption enable/disable routines In-Reply-To: <568792.52464.qm@web95108.mail.in2.yahoo.com> References: <568792.52464.qm@web95108.mail.in2.yahoo.com> Message-ID: On Tue, Sep 28, 2010 at 10:10 AM, akash kumar wrote: > Hi, > > Can some one tell me the routines in freebsd to enable and disable preemption. > In linux we have preempt_enable and preempt_disable which does the > functionality. > > In case freebsd, doesnot have such routines can i used mtx_lock_spin() to do the > same? Very similar and for the mostly the same purpose. Install the man/doc and then; man mutex Best, Alejandro Imass > > Thanks, > Akash. > > > > _______________________________________________ > 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 jmc-freebsd2 at milibyte.co.uk Tue Sep 28 17:50:28 2010 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Tue Sep 28 17:50:32 2010 Subject: Free BSD 8.1 In-Reply-To: <4ca19305.qVDnt7/ifQhIrQ0c%perryh@pluto.rain.com> References: <20100926123019.GA41450@lpthe.jussieu.fr> <201009271016.26902.jmc-freebsd2@milibyte.co.uk> <4ca19305.qVDnt7/ifQhIrQ0c%perryh@pluto.rain.com> Message-ID: <201009281850.23976.jmc-freebsd2@milibyte.co.uk> On Tuesday 28 September 2010, perryh@pluto.rain.com wrote: > Mike Clarke wrote: [snip] > > The problem is if/when you need to update a port as a result of > > a security advisory. If your ports tree is very much out of date > > then it's likely that updating that one port will require a number > > of dependencies to be updated as well, sometimes all the ports > > depending on one or more of the updated dependencies need to be > > updated as well and the resultant bag of worms can take quite a > > lot of sorting out. The "little and often" approach of keeping > > the ports tree up to date could be less traumatic. > > and, in this context, your point is? > > I'm advocating starting from a stable and self-consistent baseline, > consisting of a release _and_ its corresponding port/package > collection, and then considering whether any updates are needed. > Isn't that orthogonal to the question of whether or not to follow > ports updates, once the baseline has been established? > _______________________________________________ Well I'd normally happy to stay with the original release state without having to have the "latest & greatest" version of each application but I prefer to update any ports which have been flagged by portaudit as having security vulnerabilities and this is when the problem could arise. Updating a single port in isolation without updating the ports tree can lead to problems with dependencies so you invariably need to update your ports tree and update the dependencies for the port in question. If, for example, you were to build a web server by installing 8.1-RELEASE and the matching package for apache you would have apache-2.2.15_9 which suffers from a remote DoS bug and should be upgraded to 2.2.16 . As Warren Block has pointed out elsewhere in this thread there's usually a flurry of port updates when the ports tree is unfrozen just after a release so if you now update the ports tree and upgrade your ports there could be a large number of ports to upgrade, most of them can be upgraded quite painlessly with portmaster or portupgrade but you'd need to check /usr/ports/UPDATING to see if any of them needed special attention, fixing a single special case is usually quite straightforward but things sometimes get more complex when there's several. If on the other hand you installed the base system, updated your ports tree and then built what you needed from ports (or the latest packages) you'd get the latest versions without having to sort out any conflicts. If you wait a long time before a new vulnerability pushes you into doing your next upgrade then you'll still probably have quite a lot to sort out but updating small numbers of ports more frequently usually involves less work than an occasional mega upgrade. Well, that's just my 2 cents worth and it does depend on how many ports you have. A minimal server setup with few ports will probably not need very frequent port upgrades but something like a desktop could easily have 700 or more ports and it can be quite messy to upgrade your ports if it's been a long time since the last upgrade. -- Mike Clarke From williamlang1 at hotmail.com Tue Sep 28 18:05:13 2010 From: williamlang1 at hotmail.com (William Lang) Date: Tue Sep 28 18:12:46 2010 Subject: Booting up FreeBSD 8.0 Message-ID: I have just installed FreeBSD 8.0 and after I login it stops at $ like its waiting for me to put some type of information in or something. So what do I put after the dollar sign??? From FreeBSD at insightbb.com Tue Sep 28 18:25:12 2010 From: FreeBSD at insightbb.com (Steven Friedrich) Date: Tue Sep 28 18:25:17 2010 Subject: Booting up FreeBSD 8.0 In-Reply-To: References: Message-ID: <201009281425.14417.FreeBSD@insightbb.com> On Tuesday 28 September 2010 1:52:56 pm William Lang wrote: > I have just installed FreeBSD 8.0 and after I login it stops at $ like its > waiting for me to put some type of information in or something. So what do > I put after the dollar sign??? > > _______________________________________________ > 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 haven't indicated what your level of expertise is with unix in general, what other software you have installed, or what your goals are. Have you added additional user IDs to the system or just root? If you're logged in as root, I wouldn't rn X from that account, though it may be sfe these days, I don't kow. I'd create another userID, perhaps admin, and assign it to group wheel. This group wil allow you to su root when you need the authority. If you're logged in as a non-root user, such as admin (which doesn't exist unless yo add it), then try startx. -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version: FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s): kde4-4.5.1 X windows: xorg-7.5 X.Org X Server 1.7.5 From cswiger at mac.com Tue Sep 28 18:27:03 2010 From: cswiger at mac.com (Chuck Swiger) Date: Tue Sep 28 18:27:07 2010 Subject: Booting up FreeBSD 8.0 In-Reply-To: References: Message-ID: On Sep 28, 2010, at 10:52 AM, William Lang wrote: > I have just installed FreeBSD 8.0 and after I login it stops at $ like its > waiting for me to put some type of information in or something. So what do I > put after the dollar sign??? You're at a Unix shell prompt. I suspect the resources here will be helpful: http://www.freebsd.org/projects/newbies.html http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/article.html Regards, -- -Chuck From jmc-freebsd2 at milibyte.co.uk Tue Sep 28 20:11:23 2010 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Tue Sep 28 20:11:27 2010 Subject: Free BSD 8.1 In-Reply-To: <20100928225602.C62022@sola.nimnet.asn.au> References: <20100928120025.2A6EC10656DC@hub.freebsd.org> <20100928225602.C62022@sola.nimnet.asn.au> Message-ID: <201009282042.04131.jmc-freebsd2@milibyte.co.uk> On Tuesday 28 September 2010, Ian Smith wrote: > I agree with Mike about the worms :) ?I have an 8.0-RELEASE system > with many ports installed and quite a few configured to taste with a > recently upgraded 8-STABLE world, working through a huge portversion > update list, started by fetching over 900MB of packages so far > including X and KDE by portupgrade -aFPP. ?It's going to take a > while, and I'll be surprised if I don't skin a few knuckles on > circular dependencies along the way. I used to use packages in preference to ports but, being on a PAYG broadband account rather than unlimited, I'm more concerned about bandwidth than compile time. I found that upgrading ports often involved just a few packages which had actually been changed while the rest just had their version number bumped as a result of dependencies but still needed the entire package to be downloaded. Switching to building the ports instead means that I usually only need to download a relatively small number of distfiles with the remaining ports being recompiled from my existing collection of distfiles using the new makefiles in the updated ports tree. -- Mike Clarke From fusionfoto at yahoo.com Tue Sep 28 23:52:16 2010 From: fusionfoto at yahoo.com (DJ) Date: Tue Sep 28 23:52:21 2010 Subject: smartctl/ada/FreeBSD 8.1 more than 10 devices? Message-ID: <476891.22114.qm@web50007.mail.re2.yahoo.com> I'm seeing something odd and don't know if its a function of the new ada/ahci driver support in smartmontools 5.38 and later. I'm running 5.39.1 on an array using SiL3124 controllers with port multipliers. # smartctl -i /dev/ada9 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.1-RELEASE amd64] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family:???? Seagate Barracuda 7200.11 family Device Model:???? ST31500341AS Serial Number:??? 9VS40ZGX Firmware Version: CC1H User Capacity:??? 1,500,301,910,016 bytes Device is:??????? In smartctl database [for details use: -P show] ATA Version is:?? 8 ATA Standard is:? ATA-8-ACS revision 4 Local Time is:??? Tue Sep 28 19:22:19 2010 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled # smartctl -i /dev/ada10 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.1-RELEASE amd64] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family:???? Seagate Barracuda 7200.11 family Device Model:???? ST31500341AS Serial Number:??? 9VS2JN79 Firmware Version: CC1H User Capacity:??? 1,500,301,910,016 bytes Device is:??????? In smartctl database [for details use: -P show] ATA Version is:?? 8 ATA Standard is:? ATA-8-ACS revision 4 Local Time is:??? Tue Sep 28 19:22:34 2010 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled # smartctl -i /dev/ada11 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.1-RELEASE amd64] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net /dev/ada11: Unable to detect device type Smartctl: please specify device type with the -d option. Use smartctl -h to get a usage summary --- .... since all the drives, cables and controllers are identical, I'm trying to figure out if there is something *else* I should be looking into for why smart would have an issue, but the rest of the OS has no issues with these drives.? (zfs is storing data, reports them all as online, etc). I looked into the smartctl code, and there definitely is a carve out for FreeBSD 8.1 or later, but I don't know enough about the new internals to know if the is any kind of concern parsing more than 10 drives, etc. Thanks in advance! DJ From korvus at comcast.net Wed Sep 29 00:14:45 2010 From: korvus at comcast.net (Steve Polyack) Date: Wed Sep 29 00:14:49 2010 Subject: smartctl/ada/FreeBSD 8.1 more than 10 devices? In-Reply-To: <476891.22114.qm@web50007.mail.re2.yahoo.com> References: <476891.22114.qm@web50007.mail.re2.yahoo.com> Message-ID: <4CA28503.4080903@comcast.net> On 9/28/2010 7:25 PM, DJ wrote: > I'm seeing something odd and don't know if its a function of the new ada/ahci driver support in smartmontools 5.38 and later. > > I'm running 5.39.1 on an array using SiL3124 controllers with port multipliers. ... > # smartctl -i /dev/ada11 > smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.1-RELEASE amd64] (local build) > Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net > > /dev/ada11: Unable to detect device type > Smartctl: please specify device type with the -d option. > > Use smartctl -h to get a usage summary > > > --- > > .... since all the drives, cables and controllers are identical, I'm trying to figure out if there is something *else* I should be looking into for why smart would have an issue, but the rest of the OS has no issues with these drives. (zfs is storing data, reports them all as online, etc). I looked into the smartctl code, and there definitely is a carve out for FreeBSD 8.1 or later, but I don't know enough about the new internals to know if the is any kind of concern parsing more than 10 drives, etc. DJ, I have a similar setup with a fair amount of drives on a few Sil3124 controllers and port multipliers. I can't speak for why smartctl cannot automatically detect the device type, but if you specify '-d atacam', then it will work just fine: $ sudo smartctl -i /dev/ada11 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE amd64] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net /dev/ada11: Unable to detect device type Smartctl: please specify device type with the -d option. Use smartctl -h to get a usage summary $ sudo smartctl -d atacam -i /dev/ada11 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE amd64] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.11 family Device Model: ST31500341AS ... Also, out of curiosity, are you using the ahci(4) driver or the siis(4) driver? Steve Polyack From fusionfoto at yahoo.com Wed Sep 29 00:30:25 2010 From: fusionfoto at yahoo.com (DJ) Date: Wed Sep 29 00:30:28 2010 Subject: smartctl/ada/FreeBSD 8.1 more than 10 devices? In-Reply-To: <4CA28503.4080903@comcast.net> Message-ID: <301384.79702.qm@web50008.mail.re2.yahoo.com> > .... since all the drives, cables and controllers are identical, I'm trying to figure out if there is something *else* I should be looking into for why smart would have an issue, but the rest of the OS has no issues with these drives.? (zfs is storing data, reports them all as online, etc). I looked into the smartctl code, and there definitely is a carve out for FreeBSD 8.1 or later, but I don't know enough about the new internals to know if the is any kind of concern parsing more than 10 drives, etc. Use smartctl -h to get a usage summary $ sudo smartctl -d atacam -i /dev/ada11 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE amd64] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family:? ???Seagate Barracuda 7200.11 family Device Model:? ???ST31500341AS ... Also, out of curiosity, are you using the ahci(4) driver or the siis(4) driver? Thank you - fantastic! I tried the -d atacam before I sent the email, but I obviously specified it incorrectly because I wrote the message anyway. This solves the issue, not sure why it can't detect it. To answer your follow up question, I started using just siis, but added ahci to allow ahci functions. As far as I can tell, AHCI functions add on top of the SIIS ones. The boot compact flash (not on the SIIS card) converted to ada from ad once ahci was loaded. DJ From vyaaghrah-nix at yahoo.com Wed Sep 29 02:40:15 2010 From: vyaaghrah-nix at yahoo.com (vyaaghrah-nix@yahoo.com) Date: Wed Sep 29 02:40:21 2010 Subject: Cache Memory in top command Message-ID: <800348.43799.qm@web113901.mail.gq1.yahoo.com> Hi Everybody How is Cache memory in the following output calculated, on Free BSD system. last pid: 39307; load averages: 0.00, 0.00, 0.00 up 60+18:16:49 10:00:17 25 processes: 1 running, 24 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 12M Active, 171M Inact, 68M Wired, 36K Cache, 111M Buf, 750M Free Swap: 4000M Total, 4000M Free Regards Abhijeet.C From amvandemore at gmail.com Wed Sep 29 02:50:45 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Sep 29 02:50:49 2010 Subject: Cache Memory in top command In-Reply-To: <800348.43799.qm@web113901.mail.gq1.yahoo.com> References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> Message-ID: On Tue, Sep 28, 2010 at 9:40 PM, wrote: > Hi Everybody > > How is Cache memory in the following output calculated, on Free BSD system. > man 1 top -- Adam Vande More From amvandemore at gmail.com Wed Sep 29 02:59:51 2010 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Sep 29 02:59:54 2010 Subject: Linux filesystems accessible from FreeBSD 8-stable? In-Reply-To: References: Message-ID: On Thu, Sep 23, 2010 at 12:59 PM, Leif Walsh wrote: > I can't seem to get a definitive answer on this from the internet, > there's a lot of conflicting information. > > I have some data drives formatted with ext4, which I'd like to access > from freebsd, preferably without totally reformatting because I don't > have much temp space for copying. Read-only would be fine, read-write > would be much preferred. > > Is this possible? Not sure about the base system, but you could use this I think. I haven't actually used it on an ext4 FS, though it claims it's capable. sysutils/e2fsprogs -- Adam Vande More From slowpoke at pathcom.com Wed Sep 29 01:20:13 2010 From: slowpoke at pathcom.com (victor kovacs) Date: Wed Sep 29 03:15:05 2010 Subject: Free BSD 8.1 Message-ID: <4CA29471.4000106@pathcom.com> Mouse works in text mode in root and personal directories. Does not work in KDE graphics after startx is typed in personal directory. Graphics comes up normally. Using a ps2 mouse. Any suggestions? Regards, victor From freebsd at edvax.de Wed Sep 29 03:53:55 2010 From: freebsd at edvax.de (Polytropon) Date: Wed Sep 29 03:53:58 2010 Subject: Free BSD 8.1 In-Reply-To: <4CA29471.4000106@pathcom.com> References: <4CA29471.4000106@pathcom.com> Message-ID: <20100929055352.2c70020d.freebsd@edvax.de> On Tue, 28 Sep 2010 21:20:49 -0400, victor kovacs wrote: > > > Mouse works in text mode in root and personal directories. > > Does not work in KDE graphics after startx is typed in personal directory. > > Graphics comes up normally. > > Using a ps2 mouse. > > Any suggestions? Check the mail archives related to using X with or without HAL and DBUS (depends on the setting you are using). When your mouse works in text mode, moused has correctly picked it up, so the problem seems to be on X's side. Check X configuration file /etc/X11/xorg.conf if you have any. Check your HAL and DBUS stuff. a) Want to use HAL and DBUS? Enable them in /etc/rc.conf b) Do not want to use HAL and DBUS? Modify xorg.conf's AutoAddDevice setting. You'll find more information about this in the mailing list archives and the FreeBSD handbook. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From caleb.stein at me.com Wed Sep 29 04:46:04 2010 From: caleb.stein at me.com (Caleb Stein) Date: Wed Sep 29 04:46:08 2010 Subject: Tuxpaint won't run Message-ID: Whenever I run TuxPaint, it crashes, stating that it was compiled with png.h from libpng-1.4.3, but is running with png.c from libpng-1.2.40. When I run pkg_info|grep png, it says that png is at version 1.4.3. What is the problem? From freebsd at edvax.de Wed Sep 29 04:50:13 2010 From: freebsd at edvax.de (Polytropon) Date: Wed Sep 29 04:50:29 2010 Subject: Tuxpaint won't run In-Reply-To: References: Message-ID: <20100929065010.52bcddc2.freebsd@edvax.de> On Tue, 28 Sep 2010 20:45:09 -0700, Caleb Stein wrote: > Whenever I run TuxPaint, it crashes, stating that it was compiled with > png.h from libpng-1.4.3, but is running with png.c from libpng-1.2.40. > When I run pkg_info|grep png, it says that png is at version 1.4.3. What > is the problem? Looks like TuxPaint is expecting 1.2.40, but 1.4.3 is present on your system. Recompile TuxPaint as it seems that something didn't go right with the compiling. Can you post the complete error message? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From drizzt321 at gmail.com Wed Sep 29 05:56:23 2010 From: drizzt321 at gmail.com (Aaron) Date: Wed Sep 29 05:56:27 2010 Subject: Disappearing available space with ZFS...what am I missing? Message-ID: I've created a ZFS pool with zpool create tank raidz ada0 ada1 ada2 ada3, and then I add some additional mountpoints (I think they're called) using zfs create tank/storage, etc. In zpool list, I see the pool with 3.62T available. With df -h, I see 2.4T available for tank, and tank/storage. When I first created tank, it had the 3.62T available as I expected. What am I missing? I do have compression set to gzip-9 on tank which gets inherited like I want, don't know if that would affect anything. --Aaron From b.smeelen at ose.nl Wed Sep 29 06:13:57 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Wed Sep 29 06:14:01 2010 Subject: what is from [sic (wrong)] with this picture? -- Answer: It's Ubuntu, not FreeBSD In-Reply-To: <19639A29-A22D-474B-8CD6-E62D2A4CCB15@cwis.biz> References: <20100928162839.GA32198@thought.org> <7B0DAD9C-ED75-4188-9407-F86F44C94F47@cwis.biz> <19639A29-A22D-474B-8CD6-E62D2A4CCB15@cwis.biz> Message-ID: <4CA2D921.2080402@ose.nl> >> You can't have a sending domain as thought.org if the @ record for thought.org doesn't exist, IIRC. >> >> Look to your DNS for the solution, IMNSHO. No MX for thought.org It did have a SOA a minute ago, but this is gone also >>> >>> By default, postfix was installed on my ubuntu desktop. I am not >>> familiar with it. I would =like= it to be sending mail to my server >>> without the $HOST name instead of $HOST.$DOMAIN name. I know there are >>> a bunch of us who use this kind of setup: FreeBSD for server things and >>> some version of linux as a desktop. >>> >>> Really, this looks like a postfix blunder. How do I tell postfix to >>> rewrite th e outgoing address without the hostname? >>> This is a postfix question. Modify main.cf and set myorigin I guess? http://www.postfix.org/documentation.html DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From vyaaghrah-nix at yahoo.com Wed Sep 29 06:50:04 2010 From: vyaaghrah-nix at yahoo.com (vyaaghrah-nix@yahoo.com) Date: Wed Sep 29 06:50:08 2010 Subject: Cache Memory in top command In-Reply-To: References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> Message-ID: <246095.42115.qm@web113905.mail.gq1.yahoo.com> Hi Adam It gets me to this following explanation Cache: number of pages used for VM-level disk caching I am not sure what is VM-Level disk caching? Further it does not answer how this value is calculated for a system. Regards Abhijeet.C ________________________________ From: Adam Vande More To: vyaaghrah-nix@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Wed, September 29, 2010 8:20:43 AM Subject: Re: Cache Memory in top command On Tue, Sep 28, 2010 at 9:40 PM, wrote: Hi Everybody > >How is Cache memory in the following output calculated, on Free BSD system. > man 1 top -- Adam Vande More From b.smeelen at ose.nl Wed Sep 29 06:57:11 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Wed Sep 29 06:57:20 2010 Subject: Cache Memory in top command In-Reply-To: <246095.42115.qm@web113905.mail.gq1.yahoo.com> References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> <246095.42115.qm@web113905.mail.gq1.yahoo.com> Message-ID: <4CA2E345.7070006@ose.nl> On 09/29/2010 08:50 AM, vyaaghrah-nix@yahoo.com wrote: > Hi Adam > > It gets me to this following explanation > > Cache: number of pages used for VM-level disk caching > > I am not sure what is VM-Level disk caching? > Further it does not answer how this value is calculated for a system. > > >> How is Cache memory in the following output calculated, on Free BSD system. >> >> > man 1 top > > *Cache:* number of clean pages caching data that are available for immediate reallocation http://www.freebsd.org/cgi/man.cgi?query=top&sektion=1 DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From freebsd-questions at pp.dyndns.biz Wed Sep 29 09:12:09 2010 From: freebsd-questions at pp.dyndns.biz (=?ISO-8859-1?Q?Morgan_Wesstr=F6m?=) Date: Wed Sep 29 09:12:12 2010 Subject: Disappearing available space with ZFS...what am I missing? In-Reply-To: References: Message-ID: <4CA302E5.9050004@pp.dyndns.biz> On 2010-09-29 07:56, Aaron wrote: > I've created a ZFS pool with zpool create tank raidz ada0 ada1 ada2 > ada3, and then I add some additional mountpoints (I think they're > called) using zfs create tank/storage, etc. In zpool list, I see the > pool with 3.62T available. With df -h, I see 2.4T available for tank, > and tank/storage. When I first created tank, it had the 3.62T > available as I expected. What am I missing? I do have compression set > to gzip-9 on tank which gets inherited like I want, don't know if that > would affect anything. > > --Aaron There's nothing wrong here that I can see, you just have to make a distinction between the zfs pool and the filesystems within the pool and I agree it can be confusing at first. The numbers suggest you are using 4 x 1TB (base 10 TB) drives? That equals 3.7TiB (base 2 TB) which is the unit zpool/zfs uses. This is the total amount of space available to the pool and includes all space on all drives in the pool. Nothing strange so far. Now, since you've told zpool to create filesystems within the pool using raidz, the filesystems will have 25% less space available since this space is used for parity data. So a filesystem using the whole pool will report having 3.7 * 0.75 = 2.7TiB available which is in agreement with your numbers. A raidz filesystem will always lose 1 disk worth of space and will never report that space as available to you since it will always be occupied with parity data. The pool on the other hand doesn't make a distinction, in this case anyway, between user data and parity data so zpool will always report what's actually unallocated on all your physical drives in the pool. For every GiB you allocate in the filesystem you will allocate 1.33GiB in the pool since that includes parity data. "zfs list" and "df -h" are your best friends to find out how much space is available for your files. Don't bother about "zpool list". Regards Morgan From cyberleo at cyberleo.net Wed Sep 29 09:15:14 2010 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Wed Sep 29 09:15:18 2010 Subject: Disappearing available space with ZFS...what am I missing? In-Reply-To: References: Message-ID: <4CA303A0.10102@cyberleo.net> On 09/29/2010 12:56 AM, Aaron wrote: > I've created a ZFS pool with zpool create tank raidz ada0 ada1 ada2 > ada3, and then I add some additional mountpoints (I think they're > called) using zfs create tank/storage, etc. In zpool list, I see the > pool with 3.62T available. With df -h, I see 2.4T available for tank, > and tank/storage. When I first created tank, it had the 3.62T > available as I expected. What am I missing? I do have compression set > to gzip-9 on tank which gets inherited like I want, don't know if that > would affect anything. zpool list shows raw space, and zfs list (and, to a certain extent, df) shows effective capacity. You've configured a raidz, which chews up extra space to store the redundant parity information; thus, for a 4-disk raidz, 1GB of stored data will use up about 1.33GB of raw space. Since effective capacity in ZFS is so variable, due to things like ditto blocks, raidz, compression, and (soon to be added) dedup, the numbers provided by df no longer make much sense. This blog posting can provide further elaboration as to why df doesn't work for advanced file storage: http://www.c0t0d0s0.org/archives/6168-df-considered-problematic.html -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From lhmwzy at gmail.com Wed Sep 29 10:06:51 2010 From: lhmwzy at gmail.com (lhmwzy) Date: Wed Sep 29 10:06:54 2010 Subject: sed problem In-Reply-To: References: Message-ID: #%sed -e '/GROUP/{/Test/! d}' test sed: 1: "/GROUP/{/Test/! d} ": extra characters at the end of d command also have error. the system: #uname -a FreeBSD bxzxfreebsd.slof.com 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #1: Fri Dec 4 17:58:13 CST 2009 lhm@bxzxfreebsd.slof.com:/usr/obj/usr/src/sys/lhmwzy amd64 2010/9/29 lhmwzy : > I have a txt file named test: > > USER Added by ftpadmin > GENERAL 0,0 120 204800 0 > LOGINS 1 0 -1 -1 > TIMEFRAME 0 0 > FLAGS 3 > TAGLINE lanshu4385 > DIR / > ADDED 1284812614 ftpadmin > EXPIRES 0 > CREDITS 15000 > RATIO 0 > ALLUP 0 0 0 > ALLDN 0 0 0 > WKUP 0 0 0 > WKDN 0 0 0 > DAYUP 0 0 0 > DAYDN 0 0 0 > MONTHUP 0 0 0 > MONTHDN 0 0 0 > NUKE 0 0 0 > TIME 0 1284812614 0 0 > GROUP Teest 0 > GROUP eest 0 > GROUP dTeest 0 > GROUP tTeest 0 > GROUP Test 0 > IP *@* > > when I use the follow command: > > #sed -e '/GROUP/{/Test/}! d' test > then output error: > > sed: 1: "/GROUP/{/Test/}! d > ": command } expects up to 0 address(es), found 1 > > But this command under linux is OK,how can I do? > From lhmwzy at gmail.com Wed Sep 29 10:07:27 2010 From: lhmwzy at gmail.com (lhmwzy) Date: Wed Sep 29 10:07:31 2010 Subject: sed problem Message-ID: I have a txt file named test: USER Added by ftpadmin GENERAL 0,0 120 204800 0 LOGINS 1 0 -1 -1 TIMEFRAME 0 0 FLAGS 3 TAGLINE lanshu4385 DIR / ADDED 1284812614 ftpadmin EXPIRES 0 CREDITS 15000 RATIO 0 ALLUP 0 0 0 ALLDN 0 0 0 WKUP 0 0 0 WKDN 0 0 0 DAYUP 0 0 0 DAYDN 0 0 0 MONTHUP 0 0 0 MONTHDN 0 0 0 NUKE 0 0 0 TIME 0 1284812614 0 0 GROUP Teest 0 GROUP eest 0 GROUP dTeest 0 GROUP tTeest 0 GROUP Test 0 IP *@* when I use the follow command: #sed -e '/GROUP/{/Test/}! d' test then output error: sed: 1: "/GROUP/{/Test/}! d ": command } expects up to 0 address(es), found 1 But this command under linux is OK,how can I do? From kraduk at gmail.com Wed Sep 29 10:14:27 2010 From: kraduk at gmail.com (krad) Date: Wed Sep 29 10:14:31 2010 Subject: Disappearing available space with ZFS...what am I missing? In-Reply-To: <4CA302E5.9050004@pp.dyndns.biz> References: <4CA302E5.9050004@pp.dyndns.biz> Message-ID: On 29 September 2010 10:12, Morgan Wesstr?m wrote: > On 2010-09-29 07:56, Aaron wrote: > >> I've created a ZFS pool with zpool create tank raidz ada0 ada1 ada2 >> ada3, and then I add some additional mountpoints (I think they're >> called) using zfs create tank/storage, etc. In zpool list, I see the >> pool with 3.62T available. With df -h, I see 2.4T available for tank, >> and tank/storage. When I first created tank, it had the 3.62T >> available as I expected. What am I missing? I do have compression set >> to gzip-9 on tank which gets inherited like I want, don't know if that >> would affect anything. >> >> --Aaron >> > > There's nothing wrong here that I can see, you just have to make a > distinction between the zfs pool and the filesystems within the pool and I > agree it can be confusing at first. > > The numbers suggest you are using 4 x 1TB (base 10 TB) drives? That equals > 3.7TiB (base 2 TB) which is the unit zpool/zfs uses. This is the total > amount of space available to the pool and includes all space on all drives > in the pool. Nothing strange so far. > > Now, since you've told zpool to create filesystems within the pool using > raidz, the filesystems will have 25% less space available since this space > is used for parity data. So a filesystem using the whole pool will report > having 3.7 * 0.75 = 2.7TiB available which is in agreement with your > numbers. A raidz filesystem will always lose 1 disk worth of space and will > never report that space as available to you since it will always be occupied > with parity data. > > The pool on the other hand doesn't make a distinction, in this case anyway, > between user data and parity data so zpool will always report what's > actually unallocated on all your physical drives in the pool. For every GiB > you allocate in the filesystem you will allocate 1.33GiB in the pool since > that includes parity data. "zfs list" and "df -h" are your best friends to > find out how much space is available for your files. Don't bother about > "zpool list". > > Regards > Morgan > > _______________________________________________ > 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 gets even more hairy when you start adding in reservsions, quotas, and compression. Slap dedup on top of that and you get magically growing fs according to df 8) From matrix at itlegion.ru Wed Sep 29 10:23:09 2010 From: matrix at itlegion.ru (Artem Kuchin) Date: Wed Sep 29 10:23:13 2010 Subject: Kernel Trap 9 and freeze Message-ID: <4CA30D14.7000605@itlegion.ru> Hello! Just upgraded the world and kernel to the latest 8.1-stable via cvs yesterday. Now, at 6 in the morning got kernel trap 9 (screenshot is attached). The worst part is that it did not reboot. It just froze after "stopping other cpus". This is amd64 architecture. Kernel config is attached too. The question is how i can make the reboot in such case more reliable? Any kernel options which would more reliable send the server into reboot? Maybe some other comments on what happened and possible why? Artem -------------- next part -------------- cpu HAMMER ident FINIZDAT 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 NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFSLOCKD # Network Lock Manager options NFS_ROOT # NFS usable as /, requires NFSCLIENT 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_43TTY # BSD 4.3 TTY compat (sgtty) options COMPAT_FREEBSD32 # Compatible with i386 binaries 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 P1003_1B_SEMAPHORES # POSIX-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 FLOWTABLE # per-cpu routing cache #options KDTRACE_FRAME # Ensure frames are compiled in #options KDTRACE_HOOKS # Kernel DTrace hooks options INCLUDE_CONFIG_FILE # Include this file in kernel # 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 and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # 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 amd # AMD 53C974 (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 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 # SCSI peripherals device scbus # SCSI bus (required for 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 SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # 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 # 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 device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc 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 # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to sio, uart and/or ppc drivers): #device puc # PCI Ethernet NICs. 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 dc # DEC/Intel 21143 and various workalikes device et # Agere ET1310 10/100/Gigabit Ethernet device fxp # Intel EtherExpress PRO/100B (82557, 82558) 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 pci/cardbus NIC's 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 ral # Ralink Technology RT2500 wireless NICs. device wi # WaveLAN/Intersil/Symbol 802.11 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 usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices 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 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 uath # Atheros AR5523 wireless NICs device ural # Ralink Technology RT2500USB wireless NICs device zyd # ZyDAS zb1211/zb1211b wireless NICs # FireWire support device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) device fwip # IP over FireWire (RFC 2734,3146) device dcons # Dumb console driver device dcons_crom # Configuration ROM for dcons options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10000 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT options DUMMYNET From mexas at bristol.ac.uk Wed Sep 29 10:51:11 2010 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed Sep 29 10:51:15 2010 Subject: ld(1) cannot find entry symbol _start; In-Reply-To: <20100928135414.GA17159@lpthe.jussieu.fr> References: <20100928135414.GA17159@lpthe.jussieu.fr> Message-ID: On Tue, 28 Sep 2010, Michel Talon wrote: > Paul B Mahol said: > On 9/28/10, Anton Shterenlikht wrote: >>> I'm trying to learn the very basics of the >>> compile - assemble - link process on FreeBSD. >>> Please don't shoot me. >> .... >>> Then I try to link the object file into >>> an executable: >>> >>> % ld tmp.o >> >> You are missing something in above command. >> > > More precisely, if you run gcc -v on a C file you get someting like: > /usr/bin/ld --eh-frame-hdr -V -dynamic-linker /libexec/ld-elf.so.1 > /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib > -L/usr/lib /var/tmp//cco5EINk.o -lgcc --as-needed -lgcc_s --no-as-needed > -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o > /usr/lib/crtn.o > > > where the object file produced by compilation and assembling is > /var/tmp//cco5EINk.o > > That is adds several other object files to your own in order to get > an executable. > > In particular the start symbol, at which execution begins is in > /usr/lib/crt1.o > > as you can see from > niobe% nm /usr/lib/crt1.o > w _DYNAMIC > 00000000 D __progname > U _fini > U _init > U _init_tls > 00000000 T _start > 00000020 t _start1 > 00000000 r abitag > U atexit > 00000004 C environ > U exit > U main > which shows that _start is defined here, (but not e.g. _init). On the > other hand the function main() which is defined in your program is > referred to but undefined here. thank you. Where can I read more on what each file is for: % ls -al /usr/lib/crt* -r--r--r-- 1 root wheel 2552 Sep 15 13:52 /usr/lib/crt1.o -r--r--r-- 1 root wheel 4656 Sep 15 13:53 /usr/lib/crtbegin.o -r--r--r-- 1 root wheel 4936 Sep 15 13:53 /usr/lib/crtbeginS.o -r--r--r-- 1 root wheel 4656 Sep 15 13:53 /usr/lib/crtbeginT.o -r--r--r-- 1 root wheel 3648 Sep 15 13:53 /usr/lib/crtend.o -r--r--r-- 1 root wheel 3648 Sep 15 13:53 /usr/lib/crtendS.o -r--r--r-- 1 root wheel 1928 Sep 15 13:52 /usr/lib/crti.o -r--r--r-- 1 root wheel 1087 Sep 15 13:52 /usr/lib/crtn.o The sources for these files are in asm, so would be good to read a more accessible introduction. Also, it seems only crt1, crti and crtn are provided by FreeBSD itself (/usr/src/lib/csu/ia64), crtbegin and crtend are under /usr/src/contrib/gcc/config/ia64/, and sources for *S.o and *T.o I can't find at all. So which of these are specific to GCC on FreeBSD, and which aren't? For example if I use g95 compiler instead of gfortran45, will the linker still need all above object files? many thanks anton From wojtek at tensor.gdynia.pl Wed Sep 29 11:20:05 2010 From: wojtek at tensor.gdynia.pl (Wojciech Puchar) Date: Wed Sep 29 11:20:41 2010 Subject: Booting up FreeBSD 8.0 In-Reply-To: References: Message-ID: > I have just installed FreeBSD 8.0 and after I login it stops at $ like its > waiting for me to put some type of information in or something. So what do I > put after the dollar sign??? it means you have to sent some dollars to FreeBSD fundation. From guru at unixarea.de Wed Sep 29 11:30:17 2010 From: guru at unixarea.de (Matthias Apitz) Date: Wed Sep 29 11:30:21 2010 Subject: Booting up FreeBSD 8.0 In-Reply-To: References: Message-ID: <20100929113013.GA3665@current.Sisis.de> El d?a Wednesday, September 29, 2010 a las 01:07:26PM +0200, Wojciech Puchar escribi?: > > I have just installed FreeBSD 8.0 and after I login it stops at $ like its > > waiting for me to put some type of information in or something. So what do I > > put after the dollar sign??? > > it means you have to sent some dollars to FreeBSD fundation. The OP could key in exactly this chars: PS1=RTFM and then press a few times Return to see the efect. He/She could also read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html to see where to go now from here. HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From bruce at cran.org.uk Wed Sep 29 11:43:05 2010 From: bruce at cran.org.uk (Bruce Cran) Date: Wed Sep 29 11:43:11 2010 Subject: Cache Memory in top command In-Reply-To: <4CA2E345.7070006@ose.nl> References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> <246095.42115.qm@web113905.mail.gq1.yahoo.com> <4CA2E345.7070006@ose.nl> Message-ID: <20100929124230.00004796@unknown> On Wed, 29 Sep 2010 08:57:09 +0200 Bas Smeelen wrote: > *Cache:* number of clean pages caching data that are available for > immediate reallocation > http://www.freebsd.org/cgi/man.cgi?query=top&sektion=1 > I believe the "Cache" value is almost totally unrelated to the amount of memory used for caching: FreeBSD has a unified buffer cache so any memory is available for use as cache. Unlike Linux, you can't look at the line in 'top' to see how much memory is being used for buffers and cache. You can find more information about the VM architecture at http://www.freebsd.org/doc/en/books/arch-handbook/vm.html . -- Bruce Cran From carmel_ny at hotmail.com Wed Sep 29 12:16:51 2010 From: carmel_ny at hotmail.com (Carmel) Date: Wed Sep 29 12:16:55 2010 Subject: IPFW firewall and TCP ports Message-ID: While perusing my Apache httpd-error.log, I noticed a large number of attempts to access my phpmyadmin directory, as well as a few less know others. Most of these probes originated from China. Since I have no legitimate business dealing with that region, I decided to create a table in my IPFW firewall to block them. This is an example: ## IPFW Firewall Rules # Set rules command prefix cmd="ipfw -q add" # public interface name of NIC facing the public Internet pif="nfe0" # Lets start by listing known bad IP addresses and blocking them. We # will put them into a table for easier handling. ipfw -q table 1 add 60.0.0.0/8 ipfw -q table 1 add 61.0.0.0/8 $cmd set 1 deny log all from table\(1\) to any in via $pif The above is the first entry in my "rules" file. I know that IPFW is working since I have blocked other ports for other services and it has worked correctly. The problem is that these IPs are not being blocked. I continue to see them listed in the httpd-error.log. I have rebooted my machine and therefore am quite certain that these rules are being loaded. The problem is that I probably do not understand how to properly block an IP or range of IPs from accessing my web server correctly. I would really appreciate any assistance. -- Carmel ? carmel_ny@hotmail.com From b.smeelen at ose.nl Wed Sep 29 12:41:19 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Wed Sep 29 12:41:22 2010 Subject: Cache Memory in top command In-Reply-To: <20100929124230.00004796@unknown> References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> <246095.42115.qm@web113905.mail.gq1.yahoo.com> <4CA2E345.7070006@ose.nl> <20100929124230.00004796@unknown> Message-ID: <4CA333EC.40704@ose.nl> On 09/29/2010 01:42 PM, Bruce Cran wrote: > On Wed, 29 Sep 2010 08:57:09 +0200 > Bas Smeelen wrote: > > >> *Cache:* number of clean pages caching data that are available for >> immediate reallocation >> http://www.freebsd.org/cgi/man.cgi?query=top&sektion=1 >> >> > I believe the "Cache" value is almost totally unrelated to the > amount of memory used for caching: FreeBSD has a unified buffer cache > so any memory is available for use as cache. Unlike Linux, you can't > look at the line in 'top' to see how much memory is being used for > buffers and cache. > > You can find more information about the VM architecture at > http://www.freebsd.org/doc/en/books/arch-handbook/vm.html . > > The way I understand it: The amount of cached file data pages is included in the Wired value The amount of free cache pages that can immediatly can be re-used for caching is the Cache value The Buf value is the numbder of pages used for BIO-level disk caching I think that the value of Inactive also includes some kind of application data cache So as you also state, unlike linux there is no way of determining the amount of memory used for *all caching* with top For more info of basic design decisions I think this is a good resource also: http://docs.freebsd.org/44doc/ DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From b.smeelen at ose.nl Wed Sep 29 12:51:26 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Wed Sep 29 12:51:29 2010 Subject: IPFW firewall and TCP ports In-Reply-To: References: Message-ID: <4CA3364C.7000700@ose.nl> On 09/29/2010 02:16 PM, Carmel wrote: > While perusing my Apache httpd-error.log, I noticed a large number of > attempts to access my phpmyadmin directory, as well as a few less know > others. Most of these probes originated from China. Since I have no > legitimate business dealing with that region, I decided to create a > table in my IPFW firewall to block them. This is an example: > > > ## IPFW Firewall Rules > > # Set rules command prefix > cmd="ipfw -q add" > > # public interface name of NIC facing the public Internet > pif="nfe0" > > # Lets start by listing known bad IP addresses and blocking them. We > # will put them into a table for easier handling. > > ipfw -q table 1 add 60.0.0.0/8 > ipfw -q table 1 add 61.0.0.0/8 > > $cmd set 1 deny log all from table\(1\) to any in via $pif > > The above is the first entry in my "rules" file. I know that IPFW is > working since I have blocked other ports for other services and it has > worked correctly. > > The problem is that these IPs are not being blocked. I continue to see > them listed in the httpd-error.log. I have rebooted my machine and > therefore am quite certain that these rules are being loaded. > > The problem is that I probably do not understand how to properly block > an IP or range of IPs from accessing my web server correctly. I would > really appreciate any assistance. > > There is an archived thread on the freebsd forums http://forums.freebsd.org/archive/index.php/t-10181.html And a long list of ranges on http://www.parkansky.com/china.htm with uses apaches features to block these address ranges I see this also on our webservers, but it doesn't bother those servers or me Maybe try blocken those ranges first with a rule for each to get the right subnets and put them in a table afterwards? DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From albinv4616 at gmail.com Wed Sep 29 12:52:39 2010 From: albinv4616 at gmail.com (Albin Vega) Date: Wed Sep 29 12:52:43 2010 Subject: Recycling of volumes in Bacula Message-ID: Hello I have now set up my first couple of backup jobs, both local and over internet and it seems to bee working fine!! Quite happy about this since its my first time using Bacula! However I have a couple of questions about version control an recycling of volumes. First a little info. I have 5 jobs running, each with its ovn fd/sd and pool so they can run at the same time. I use incremental backup. Here is the config of the pool and client for one of the jobs. } # File Pool definition Pool { Name = buzzy-pool Pool Type = Backup # Accept Any Volume = yes # write on any volume in the pool LabelFormat = "buzzy-" Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 1 year # 1 year Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 10 # Limit number of Volumes in Pool } Question: When a volume gets recycled, are all the files on that volume just deleted, or is it just files that has been deleted on the server being backed up that is deleted? client { Name = buzzy-fd Address = buzzy.client.net FDPort = 9102 Catalog = MyCatalog Password = "Password" # password for FileDaemon 2 File Retention = 6 months # 6 months Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files What I would really like is this: 1. When a deleted file gets older than 6 months (a file that is deleted in the original server beeing backed up) I would like it to be deleted in the Bacula system. But I dont want files that in general is older than 6 months (and not deleted from the original server beeing backed up) to be deleted from the Bacula system. 2. When sombody changes a file, the file gets backed up again by Bacula, and every time its chaned it get backed up. Is there a way to configure that Bacula only keeps the 4 -5 last versions of this file, and delete the older ones? I have looked in the manual but not found any good explanations on this. Google it didnt turn up anything either.. Hope someone could give me som feedback on this. Best regards Albin From claudiu.vasadi at gmail.com Wed Sep 29 13:11:32 2010 From: claudiu.vasadi at gmail.com (claudiu vasadi) Date: Wed Sep 29 13:11:40 2010 Subject: ipsec with dynamic IP Message-ID: Hello fellas, I have 2x 8.1-RELEASE machines and I need to create a vpn between them. I've been reading the handbook on this subject and following the example there, I was able to establish a link. The only problem is that both my machines have dynamic (external) IP. My way of "solving" this little issue would be to create a script that would check each machine for a new external IP and if it finds it, replace it wherever it is needed (gif interface, racoon conf. file) My question to you is if there is another, cleaner, way of achieving this and if any of you faced the same situation, how did you come to solve it ? Also, is there a way to make the gif interface persistent over reboots ? I couldn;t find any so again, a script comes to mind. -- Best regards, Claudiu Vasadi From ws at au.dyndns.ws Wed Sep 29 13:13:43 2010 From: ws at au.dyndns.ws (Wayne Sierke) Date: Wed Sep 29 13:13:46 2010 Subject: sed problem In-Reply-To: References: Message-ID: <1285766018.90337.1198.camel@predator-ii.buffyverse> On Wed, 2010-09-29 at 17:43 +0800, lhmwzy wrote: > #%sed -e '/GROUP/{/Test/! d}' test > sed: 1: "/GROUP/{/Test/! d} > ": extra characters at the end of d command > also have error. > the system: > #uname -a > FreeBSD bxzxfreebsd.slof.com 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #1: > Fri Dec 4 17:58:13 CST 2009 > lhm@bxzxfreebsd.slof.com:/usr/obj/usr/src/sys/lhmwzy amd64 > > 2010/9/29 lhmwzy : > > I have a txt file named test: > > > > USER Added by ftpadmin > > GENERAL 0,0 120 204800 0 > > LOGINS 1 0 -1 -1 > > TIMEFRAME 0 0 > > FLAGS 3 > > TAGLINE lanshu4385 > > DIR / > > ADDED 1284812614 ftpadmin > > EXPIRES 0 > > CREDITS 15000 > > RATIO 0 > > ALLUP 0 0 0 > > ALLDN 0 0 0 > > WKUP 0 0 0 > > WKDN 0 0 0 > > DAYUP 0 0 0 > > DAYDN 0 0 0 > > MONTHUP 0 0 0 > > MONTHDN 0 0 0 > > NUKE 0 0 0 > > TIME 0 1284812614 0 0 > > GROUP Teest 0 > > GROUP eest 0 > > GROUP dTeest 0 > > GROUP tTeest 0 > > GROUP Test 0 > > IP *@* > > > > when I use the follow command: > > > > #sed -e '/GROUP/{/Test/}! d' test > > then output error: > > > > sed: 1: "/GROUP/{/Test/}! d > > ": command } expects up to 0 address(es), found 1 > > > > But this command under linux is OK,how can I do? > > Try: sed -e '/GROUP/{/Test/!d;}' or: sed -e '/GROUP/{' -e '/Test/!d' -e '}' Wayne From drescherjm at gmail.com Wed Sep 29 13:39:52 2010 From: drescherjm at gmail.com (John Drescher) Date: Wed Sep 29 13:39:56 2010 Subject: [Bacula-users] Recycling of volumes in Bacula In-Reply-To: References: Message-ID: 2010/9/29 Albin Vega : > Hello > > I have now set up my first couple of backup jobs, both local and over > internet and it seems to bee working fine!! Quite happy about this since its > my first time using Bacula! However?I have a?couple of?questions?about > version control an recycling of volumes. > First a little info. I have 5 jobs running, each with its ovn fd/sd and pool > so they can run at the same time. I use incremental backup. Here is the > config of the pool and client for one of the jobs. > > } > # File Pool definition > Pool { > ? Name = buzzy-pool > ? Pool Type = Backup > #? Accept Any Volume = yes???????????????? # write on any volume in the pool > ? LabelFormat = "buzzy-" > ? Recycle = yes?????????????????????????????????? # Bacula can automatically > recycle Volumes > ? AutoPrune = yes???????????????????????????????# Prune expired volumes > ? Volume Retention = 1 year???????????????? # 1 year > ? Maximum Volume Bytes = 50G????????? # Limit Volume size to something > reasonable > ? Maximum Volumes = 10?????????????????? ?# Limit number of Volumes in Pool > } > > Question: When a volume gets recycled, are all the files on that volume just > deleted, When a volume gets recycled the volume gets overwritten in the next backup that uses it. I think now you can have it automatically truncate if you want. >or is it just files that has been deleted on the server being > backed up that is deleted? No definitely not that. > client { > ? Name = buzzy-fd > ? Address = buzzy.client.net > ? FDPort = 9102 > ? Catalog = MyCatalog > ? Password = "Password"?????????????? # password for FileDaemon 2 > ? File Retention =?6 months?????????? #?6 months > ? Job Retention = 6 months??????????? # six months > ? AutoPrune = yes?????????????????????? ?# Prune expired Jobs/Files > > > What I would really like is this: > 1. When a deleted file gets older than 6 months (a file that is deleted in > the original server beeing backed up) I would like it to?be deleted?in the > Bacula system. But I dont want files that in general is older than 6 months > (and not deleted from the original server beeing backed up) to be deleted > from the Bacula system. Bacula does not have that feature. Also remember that recycling is an entire volume at once not parts of the volume get deleted over time. Bacula volumes are append only then delete the entire volume to recycle. The reason for this is bacula supports tape and other formats not just disk and all formats work the same way. > 2. When sombody changes a file, the file gets backed up again by Bacula, and > every time its chaned it get backed up. Is there a way to configure that > Bacula only keeps the 4 -5 last versions of this file, and delete the older > ones? > Bacula does not work this way. And because of my answers above I am not sure you could force it do do what you want. John From milu at dat.pl Wed Sep 29 13:58:49 2010 From: milu at dat.pl (Maciej Milewski) Date: Wed Sep 29 13:58:52 2010 Subject: ipsec with dynamic IP In-Reply-To: References: Message-ID: <201009291558.49362.milu@dat.pl> On Wednesday 29 September 2010 15:11:30, claudiu vasadi wrote: > Hello fellas, > > I have 2x 8.1-RELEASE machines and I need to create a vpn between them. > I've been reading the handbook on this subject and following the example > there, I was able to establish a link. > > The only problem is that both my machines have dynamic (external) IP. > > My way of "solving" this little issue would be to create a script that > would check each machine for a new external IP and if it finds it, replace > it wherever it is needed (gif interface, racoon conf. file) > > My question to you is if there is another, cleaner, way of achieving this > and if any of you faced the same situation, how did you come to solve it ? If you are not bound to IPSEC I think you could use OpenVPN and some kind of dyndns service. I haven't set up this between two servers although I'm successfuly using it in client-server mode and it works fine. > Also, is there a way to make the gif interface persistent over reboots ? I > couldn;t find any so again, a script comes to mind. Maybe cloned_interfaces or gif_interfaces in rc.conf would help? Regards, Maciej Milewski From bsemene at cyanide-studio.com Wed Sep 29 14:02:58 2010 From: bsemene at cyanide-studio.com (Bastien Semene) Date: Wed Sep 29 14:03:01 2010 Subject: [Freebsd-update]cannot open files/.gz: No such file or directory Message-ID: <4CA34105.7050008@cyanide-studio.com> Hi, I'm trying to upgrade a system from 8.0-RELEASE to 8.1-RELEASE, but I have the following (non critical) errors : /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory This line appears hundred of times. After that, freebsd-update claims that many files are non existent in the new version and ask to delete them : /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory Attempting to automatically merge changes in files... done. The following file will be removed, as it no longer exists in FreeBSD 8.1-RELEASE: /boot/device.hints Does this look reasonable (y/n)? n I have updated other systems without any difficulty (from the same 8.0 patch level to 8.1). I tried to delete /var/db/freebsd-update folder, but it changes nothing. Same error. I found older posts with people searching in the code which function did the error, but because everything was fine with the same context on other systems I think freebsd-update is mislead (it seems to miss the name of the file) at some point. Does anyone have some hints or direction to follow ? Thanks, -- Bastien Semene Administrateur R?seau& Syst?me Cyanide Studio - FRANCE From demelier.david at gmail.com Wed Sep 29 14:14:40 2010 From: demelier.david at gmail.com (David Demelier) Date: Wed Sep 29 14:15:13 2010 Subject: Location of sensors Message-ID: <4CA34965.3010509@gmail.com> Hello, I just wonder how to know the location of the sensors, I got a lot of them on my HP Probook laptop : hw.acpi.thermal.tz0.temperature: 87.0C hw.acpi.thermal.tz1.temperature: 47.0C hw.acpi.thermal.tz2.temperature: 72.0C hw.acpi.thermal.tz3.temperature: 59.0C hw.acpi.thermal.tz4.temperature: 26.4C hw.acpi.thermal.tz5.temperature: 55.0C acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 acpi_tz3: on acpi0 acpi_tz4: on acpi0 acpi_tz5: on acpi0 For example I know that there is two sensors on the CPU unit, and one one on the Wireless chipset but which one? If you have any ideas, Kind regards, From lhmwzy at gmail.com Wed Sep 29 14:15:13 2010 From: lhmwzy at gmail.com (lhmwzy) Date: Wed Sep 29 14:15:18 2010 Subject: sed problem In-Reply-To: <1285766018.90337.1198.camel@predator-ii.buffyverse> References: <1285766018.90337.1198.camel@predator-ii.buffyverse> Message-ID: Both are working. Thk very much. 2010/9/29 Wayne Sierke : > On Wed, 2010-09-29 at 17:43 +0800, lhmwzy wrote: >> #%sed -e '/GROUP/{/Test/! d}' test >> sed: 1: "/GROUP/{/Test/! d} >> ": extra characters at the end of d command >> also have error. >> the system: >> #uname -a >> FreeBSD bxzxfreebsd.slof.com 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #1: >> Fri Dec ?4 17:58:13 CST 2009 >> lhm@bxzxfreebsd.slof.com:/usr/obj/usr/src/sys/lhmwzy ?amd64 >> >> 2010/9/29 lhmwzy : >> > I have a txt file named test: >> > >> > USER Added by ftpadmin >> > GENERAL 0,0 120 204800 0 >> > LOGINS 1 0 -1 -1 >> > TIMEFRAME 0 0 >> > FLAGS 3 >> > TAGLINE lanshu4385 >> > DIR / >> > ADDED 1284812614 ftpadmin >> > EXPIRES 0 >> > CREDITS 15000 >> > RATIO 0 >> > ALLUP 0 0 0 >> > ALLDN 0 0 0 >> > WKUP 0 0 0 >> > WKDN 0 0 0 >> > DAYUP 0 0 0 >> > DAYDN 0 0 0 >> > MONTHUP 0 0 0 >> > MONTHDN 0 0 0 >> > NUKE 0 0 0 >> > TIME 0 1284812614 0 0 >> > GROUP Teest 0 >> > GROUP eest 0 >> > GROUP dTeest 0 >> > GROUP tTeest 0 >> > GROUP Test 0 >> > IP *@* >> > >> > when I use the follow command: >> > >> > #sed -e '/GROUP/{/Test/}! d' test >> > then output error: >> > >> > sed: 1: "/GROUP/{/Test/}! d >> > ": command } expects up to 0 address(es), found 1 >> > >> > But this command under linux is OK,how can I do? >> > > > Try: > > ? ? ? ?sed -e '/GROUP/{/Test/!d;}' > > or: > > ? ? ? ?sed -e '/GROUP/{' -e '/Test/!d' -e '}' > > > Wayne > > > From lists at webtent.net Wed Sep 29 14:16:12 2010 From: lists at webtent.net (Robert Fitzpatrick) Date: Wed Sep 29 14:16:15 2010 Subject: mpt error Message-ID: <4CA3465C.30908@webtent.net> Just want to check here to see if anyone else has experienced the following errors showing up periodically in the logs on a FreeBSD 8.0 VPS on vmware ESXi... Sep 29 05:38:35 db1 kernel: mpt0: attempting to abort req 0xffffff80002a48c0:60350 function 0 Sep 29 05:38:35 db1 kernel: mpt0: completing timedout/aborted req 0xffffff80002a48c0:60350 Sep 29 05:38:35 db1 kernel: mpt0: abort of req 0xffffff80002a48c0:0 completed From what I googled, it appears this may be a disk I/O issue? I have another FreeBSD 8.1 install on an exact duplicate server, except it has a half the memory, with no errors. This ESXi server with the error has 12GB RAM and these servers do not use RAID at all. -- Robert From martin at dc.cis.okstate.edu Wed Sep 29 14:22:46 2010 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Wed Sep 29 14:22:49 2010 Subject: Not Sure Which Package has mssql_connect. Message-ID: <201009291421.o8TELqtc024880@dc.cis.okstate.edu> I just upgraded a system from FreeBSD6.3 to 8.1 and only have 2 loose ends so far. One is that I discovered some of my C code needs a little touching up to continue to work right and the other is that we have an application on our system that uses freetds and makes mysql queries and presently gives me the following error: Fatal error: Call to undefined function mssql_connect() in Line number of script is given and that line reads: $numero= mssql_connect("sql" , "natreg1" , "PASSWD" ); As soon as I find out what port or package contains mysql_connect, we should be back in business. I did install mysql50-client. It does not contain the mysql_connect routine so I deleted it. I installed the port called mysql-connector-odbc which looked like a good possibility but it also does not have the connect routine. I installed php5 to get the php interpreter so it is possible that I have the wrong php and another php has the mysql_connect routine so at this time, I am all ears. Thanks for any suggestions. Martin McCormick From glen.j.barber at gmail.com Wed Sep 29 14:31:02 2010 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Sep 29 14:31:05 2010 Subject: Not Sure Which Package has mssql_connect. In-Reply-To: <201009291421.o8TELqtc024880@dc.cis.okstate.edu> References: <201009291421.o8TELqtc024880@dc.cis.okstate.edu> Message-ID: <4CA34D9D.2020105@gmail.com> Hi Martin, On 9/29/10 10:21 AM, Martin McCormick wrote: > I just upgraded a system from FreeBSD6.3 to 8.1 and only have 2 > loose ends so far. > > One is that I discovered some of my C code needs a > little touching up to continue to work right and the other is > that we have an application on our system that uses freetds and > makes mysql queries and presently gives me the following error: > > Fatal error: Call to undefined function mssql_connect() in > > Line number of script is given and that line reads: > > $numero= mssql_connect("sql" , "natreg1" , "PASSWD" ); > Are you sure mssql_connect() isn't a typo? The rest of your email states mysql_connect(). > As soon as I find out what port or package contains > mysql_connect, we should be back in business. > > I did install mysql50-client. It does not contain the > mysql_connect routine so I deleted it. I installed the port > called mysql-connector-odbc which looked like a good possibility > but it also does not have the connect routine. > > I installed php5 to get the php interpreter so it is > possible that I have the wrong php and another php has the > mysql_connect routine so at this time, I am all ears. > Cheers, -- Glen Barber From glarkin at FreeBSD.org Wed Sep 29 14:35:51 2010 From: glarkin at FreeBSD.org (Greg Larkin) Date: Wed Sep 29 14:35:56 2010 Subject: Not Sure Which Package has mssql_connect. In-Reply-To: <201009291421.o8TELqtc024880@dc.cis.okstate.edu> References: <201009291421.o8TELqtc024880@dc.cis.okstate.edu> Message-ID: <4CA34EBB.5070704@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin McCormick wrote: > I just upgraded a system from FreeBSD6.3 to 8.1 and only have 2 > loose ends so far. > > One is that I discovered some of my C code needs a > little touching up to continue to work right and the other is > that we have an application on our system that uses freetds and > makes mysql queries and presently gives me the following error: > > Fatal error: Call to undefined function mssql_connect() in > > Line number of script is given and that line reads: > > $numero= mssql_connect("sql" , "natreg1" , "PASSWD" ); > > As soon as I find out what port or package contains > mysql_connect, we should be back in business. > > I did install mysql50-client. It does not contain the > mysql_connect routine so I deleted it. I installed the port > called mysql-connector-odbc which looked like a good possibility > but it also does not have the connect routine. > > I installed php5 to get the php interpreter so it is > possible that I have the wrong php and another php has the > mysql_connect routine so at this time, I am all ears. > > Thanks for any suggestions. > > Martin McCormick Hi Martin, You referred to C code at the top of your message, but are you actually looking for a PHP extension that contains the mssql_connection function so some PHP code runs correctly? I also have a question whether you're looking for a PHP extension that connections to a MS SQL server or one that connects to a MySQL server. I'm guessing you're trying to connect to MS SQL. If so, please install http://www.freshports.org/databases/php5-mssql/, and you should be all set. You shouldn't need to install http://www.freshports.org/databases/php5-mysql/ unless you're trying to connect to a MySQL server, too. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMo0660sRouByUApARAoexAJ0XugUPZFEGysN/9V04ixR48hUQdgCgwyca hqf9E5l6TdgR+VLanm3RZ60= =yufJ -----END PGP SIGNATURE----- From fernando.apesteguia at gmail.com Wed Sep 29 14:49:09 2010 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Wed Sep 29 14:49:13 2010 Subject: [Freebsd-update]cannot open files/.gz: No such file or directory In-Reply-To: <4CA34105.7050008@cyanide-studio.com> References: <4CA34105.7050008@cyanide-studio.com> Message-ID: On Wed, Sep 29, 2010 at 3:37 PM, Bastien Semene wrote: > ?Hi, > > I'm trying to upgrade a system from 8.0-RELEASE to 8.1-RELEASE, but I have > the following (non critical) errors : > /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory > This line appears hundred of times. > After that, freebsd-update claims that many files are non existent in the > new version and ask to delete them : > > /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory > /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory > /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory > /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory > /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory > /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory > Attempting to automatically merge changes in files... done. > > The following file will be removed, as it no longer exists in > FreeBSD 8.1-RELEASE: /boot/device.hints > Does this look reasonable (y/n)? n > > I have updated other systems without any difficulty (from the same 8.0 patch > level to 8.1). > > I tried to delete /var/db/freebsd-update folder, but it changes nothing. > Same error. > I found older posts with people searching in the code which function did the > error, but because everything was fine with the same context on other > systems I think freebsd-update is mislead (it seems to miss the name of the > file) at some point. > > Does anyone have some hints or direction to follow ? I reported this a while ago and try to get in touch with Colin Percival with no luck. I finally could afford a fresh install. > > Thanks, > > -- > Bastien Semene > Administrateur R?seau& ?Syst?me > > Cyanide Studio - FRANCE > > _______________________________________________ > 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 jhelfman at e-e.com Wed Sep 29 15:06:43 2010 From: jhelfman at e-e.com (Jason) Date: Wed Sep 29 15:06:46 2010 Subject: [Freebsd-update]cannot open files/.gz: No such file or directory In-Reply-To: References: <4CA34105.7050008@cyanide-studio.com> Message-ID: <20100929150835.GA59311@Jason-Helfmans-MacBook-Pro.local> On Wed, Sep 29, 2010 at 04:23:32PM +0200, Fernando Apestegu?a thus spake: >On Wed, Sep 29, 2010 at 3:37 PM, Bastien Semene > wrote: >> ?Hi, >> >> I'm trying to upgrade a system from 8.0-RELEASE to 8.1-RELEASE, but I have >> the following (non critical) errors : >> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory >> This line appears hundred of times. >> After that, freebsd-update claims that many files are non existent in the >> new version and ask to delete them : >> >> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory >> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory >> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory >> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory >> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory >> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory >> Attempting to automatically merge changes in files... done. >> >> The following file will be removed, as it no longer exists in >> FreeBSD 8.1-RELEASE: /boot/device.hints >> Does this look reasonable (y/n)? n >> >> I have updated other systems without any difficulty (from the same 8.0 patch >> level to 8.1). >> >> I tried to delete /var/db/freebsd-update folder, but it changes nothing. >> Same error. >> I found older posts with people searching in the code which function did the >> error, but because everything was fine with the same context on other >> systems I think freebsd-update is mislead (it seems to miss the name of the >> file) at some point. >> >> Does anyone have some hints or direction to follow ? > >I reported this a while ago and try to get in touch with Colin >Percival with no luck. I finally could afford a fresh install. > >> >> Thanks, >> >> -- >> Bastien Semene >> Administrateur R?seau& ?Syst?me >> >> Cyanide Studio - FRANCE >> What is the exact command line you are running that gets this error? From martin at dc.cis.okstate.edu Wed Sep 29 15:20:46 2010 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Wed Sep 29 15:20:55 2010 Subject: Not Sure Which Package has mssql_connect. Message-ID: <201009291520.o8TFKNRT073028@dc.cis.okstate.edu> Glen Barber writes: >Are you sure mssql_connect() isn't a typo? The rest of your email >states mysql_connect(). Wow! I've been doing too much of this this week. It's actually the other way around. The problem is with mssql_connect and my references to mysql were based on a bit of confusion. We are connecting to a remote SQL server and pulling information off of it. Sorry for the confusion and thanks. Martin From bsemene at cyanide-studio.com Wed Sep 29 15:35:00 2010 From: bsemene at cyanide-studio.com (Bastien Semene) Date: Wed Sep 29 15:35:04 2010 Subject: [Freebsd-update]cannot open files/.gz: No such file or directory In-Reply-To: <20100929150835.GA59311@Jason-Helfmans-MacBook-Pro.local> References: <4CA34105.7050008@cyanide-studio.com> <20100929150835.GA59311@Jason-Helfmans-MacBook-Pro.local> Message-ID: <4CA35CA2.9030809@cyanide-studio.com> Le 29/09/2010 17:08, Jason a ?crit : > On Wed, Sep 29, 2010 at 04:23:32PM +0200, Fernando Apestegu?a thus spake: >> On Wed, Sep 29, 2010 at 3:37 PM, Bastien Semene >> wrote: >>> Hi, >>> >>> I'm trying to upgrade a system from 8.0-RELEASE to 8.1-RELEASE, but >>> I have >>> the following (non critical) errors : >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> This line appears hundred of times. >>> After that, freebsd-update claims that many files are non existent >>> in the >>> new version and ask to delete them : >>> >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> /usr/sbin/freebsd-update: cannot open files/.gz: No such file or >>> directory >>> Attempting to automatically merge changes in files... done. >>> >>> The following file will be removed, as it no longer exists in >>> FreeBSD 8.1-RELEASE: /boot/device.hints >>> Does this look reasonable (y/n)? n >>> >>> I have updated other systems without any difficulty (from the same >>> 8.0 patch >>> level to 8.1). >>> >>> I tried to delete /var/db/freebsd-update folder, but it changes >>> nothing. >>> Same error. >>> I found older posts with people searching in the code which function >>> did the >>> error, but because everything was fine with the same context on other >>> systems I think freebsd-update is mislead (it seems to miss the name >>> of the >>> file) at some point. >>> >>> Does anyone have some hints or direction to follow ? >> >> I reported this a while ago and try to get in touch with Colin >> Percival with no luck. I finally could afford a fresh install. >> >>> >>> Thanks, >>> >>> -- >>> Bastien Semene >>> Administrateur R?seau& Syst?me >>> >>> Cyanide Studio - FRANCE >>> > > What is the exact command line you are running that gets this error? I'm exactly using : freebsd-update -r 8.1-RELEASE upgrade I'm sticking the manual, but using a custom kernel. At this stage this should change nothing. # uname -a [root@backup] FreeBSD backup.cyanide-studio.com 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #3: Mon Dec 7 14:44:37 CET 2009 root@backup.cyanide-studio.com:/usr/obj/usr/src/sys/GEOMKERNEL amd64 I installed the 8.0-RELEASE from CDs, as you can see I updated to patchlevel 1 without trouble. The only difference from other systems may be these geom drivers. Here is the complete command output, I said yes to the first question to show you how bad the question is : Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 8.0-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. WARNING: This system is running a "geomkernel" kernel, which is not a kernel configuration distributed as part of FreeBSD 8.0-RELEASE. This kernel will not be updated: you MUST update the kernel manually before running "/usr/sbin/freebsd-update install". The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin world/base world/catpages world/dict world/doc world/info world/lib32 world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: world/games Fetching metadata signature for 8.1-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 8.0-RELEASE for merging... done. Preparing to download files... done. Attempting to automatically merge changes in files... done. /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or director [...CUT...] The following file will be removed, as it no longer exists in FreeBSD 8.1-RELEASE: /boot/device.hints Does this look reasonable (y/n)? y The following file will be removed, as it no longer exists in FreeBSD 8.1-RELEASE: /etc/amd.map Does this look reasonable (y/n)? n -- Bastien Semene Administrateur R?seau& Syst?me Cyanide Studio - FRANCE From phanquochien at gmail.com Wed Sep 29 17:00:30 2010 From: phanquochien at gmail.com (Phan Quoc Hien) Date: Wed Sep 29 17:00:33 2010 Subject: Can not setting up a Jail Directory Tree Message-ID: Hi, I'm using FreeBSD 8.1, I have followed http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.htmlto create a jail. When I create jail directory tree with command: make installworld DESTDIR=$D It run look good about 1 min..and output error below: ===> gnu/usr.bin/texinfo/texindex (install) > install -s -o root -g wheel -m 555 texindex /jail/fulljail/usr/bin > install -o root -g wheel -m 444 texindex.1.gz > /jail/fulljail/usr/share/man/man1 > ===> gnu/usr.bin/texinfo/doc (install) > install-info --quiet --defsection=Miscellaneous --defentry= info.info/jail/fulljail/usr/share/info/dir > install-info --quiet --defsection=Miscellaneous --defentry= > info-stnd.info /jail/fulljail/usr/share/info/dir > install-info --quiet --defsection=Miscellaneous --defentry= > texinfo.info /jail/fulljail/usr/share/info/dir > install -o root -g wheel -m 444 info.info.gz info-stnd.info.gz > texinfo.info.gz /jail/fulljail/usr/share/info > ===> include (install) > creating osreldate.h from newvers.sh > touch: not found > *** Error code 127 > > Stop in /usr/src/include. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > Error: The command 'make installworld' failed. > Refer to the error report(s) above. > Why error? -- Best regards, Mr.Hien E-mail: phanquochien@gmail.com Website: www.mrhien.info From drizzt321 at gmail.com Wed Sep 29 17:09:04 2010 From: drizzt321 at gmail.com (Aaron) Date: Wed Sep 29 17:09:07 2010 Subject: Disappearing available space with ZFS...what am I missing? In-Reply-To: References: <4CA302E5.9050004@pp.dyndns.biz> Message-ID: On Wed, Sep 29, 2010 at 03:14, krad wrote: > > > On 29 September 2010 10:12, Morgan Wesstr?m > wrote: >> >> On 2010-09-29 07:56, Aaron wrote: >>> >>> I've created a ZFS pool with zpool create tank raidz ada0 ada1 ada2 >>> ada3, and then I add some additional mountpoints (I think they're >>> called) using zfs create tank/storage, etc. In zpool list, I see the >>> pool with 3.62T available. With df -h, I see 2.4T available for tank, >>> and tank/storage. When I first created tank, it had the 3.62T >>> available as I expected. What am I missing? I do have compression set >>> to gzip-9 on tank which gets inherited like I want, don't know if that >>> would affect anything. >>> >>> --Aaron >> >> There's nothing wrong here that I can see, you just have to make a >> distinction between the zfs pool and the filesystems within the pool and I >> agree it can be confusing at first. >> >> The numbers suggest you are using 4 x 1TB (base 10 TB) drives? That equals >> 3.7TiB (base 2 TB) which is the unit zpool/zfs uses. This is the total >> amount of space available to the pool and includes all space on all drives >> in the pool. Nothing strange so far. >> >> Now, since you've told zpool to create filesystems within the pool using >> raidz, the filesystems will have 25% less space available since this space >> is used for parity data. So a filesystem using the whole pool will report >> having 3.7 * 0.75 = 2.7TiB available which is in agreement with your >> numbers. A raidz filesystem will always lose 1 disk worth of space and will >> never report that space as available to you since it will always be occupied >> with parity data. >> >> The pool on the other hand doesn't make a distinction, in this case >> anyway, between user data and parity data so zpool will always report what's >> actually unallocated on all your physical drives in the pool. For every GiB >> you allocate in the filesystem you will allocate 1.33GiB in the pool since >> that includes parity data. "zfs list" and "df -h" are your best friends to >> find out how much space is available for your files. Don't bother about >> "zpool list". >> >> Regards >> Morgan >> _______________________________________________ >> 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 gets even more hairy when you start adding in reservsions, quotas, and > compression. Slap dedup on top of that and you get magically growing fs > according to df 8) > > Ahhh...yea. Thanks everyone! I didn't realize that zpool status would show the raw space (so 4x1TB base10 is ~3.7TB base2), and not the available space after the 4-1 RAIDZ usage consumes. So that all makes sense, as well as with reservations, quotas and compression now causing df to not really know what's going on. If I want to get the actual values of available space vs used space, I should use zfs get all and look at the properties there? --Aaron From kline at magnesium.net Wed Sep 29 17:23:45 2010 From: kline at magnesium.net (Gary Kline) Date: Wed Sep 29 17:23:49 2010 Subject: pondering my DNS config.... Message-ID: <20100929172346.GA49250@thought.org> I spent hours yesterday checking around my named/DNS files. I thing the guy who rewrote how I _had_ things set up, messup. pinging ns1.thought.org is void. It is plato.thought.org that is my pfSense server that might better be my primary nameserver. (Still testing mail; waiting for a response from freebsd-test to show up on thought.org.) -- Gary Kline Seattle BSD Users' Group (seabug) | kline@magnesium.net Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant From cswiger at mac.com Wed Sep 29 17:24:11 2010 From: cswiger at mac.com (Chuck Swiger) Date: Wed Sep 29 17:24:15 2010 Subject: Location of sensors In-Reply-To: <4CA34965.3010509@gmail.com> References: <4CA34965.3010509@gmail.com> Message-ID: Hi-- On Sep 29, 2010, at 7:12 AM, David Demelier wrote: > I just wonder how to know the location of the sensors, I got a lot of them on my HP Probook laptop : > > hw.acpi.thermal.tz0.temperature: 87.0C > hw.acpi.thermal.tz1.temperature: 47.0C > hw.acpi.thermal.tz2.temperature: 72.0C > hw.acpi.thermal.tz3.temperature: 59.0C > hw.acpi.thermal.tz4.temperature: 26.4C > hw.acpi.thermal.tz5.temperature: 55.0C On a good day, HP will have documented their ACPI zones well enough for you to tell what they are. It's also possible that contacting HP's support might dig up more info. Failing that, however, you might be able to look at the Hardware/Health Status page in the BIOS, note the relative temperatures being displayed and what they are with, and then compare the sysctl output after a boot. You might also be able to boot into Windows and try running a vendor-supplied thermal monitoring utility, and either look for debugging info, perhaps in the logs if it produces any, or again try to figure out the correspondence. Regards, -- -Chuck From ryan.coleman at cwis.biz Wed Sep 29 17:36:54 2010 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Wed Sep 29 17:36:58 2010 Subject: pondering my DNS config.... In-Reply-To: <20100929172346.GA49250@thought.org> References: <20100929172346.GA49250@thought.org> Message-ID: <48B751CC-92B6-4263-B32A-932D17B8726B@cwis.biz> Can you post the configuration file for thought.org? I'm rusty at it but someone might be able to help out. On Sep 29, 2010, at 12:23 PM, Gary Kline wrote: > > I spent hours yesterday checking around my named/DNS files. I thing the guy who rewrote how I _had_ things set up, messup. pinging ns1.thought.org is void. > It is plato.thought.org that is my pfSense server that might better be my primary nameserver. > > (Still testing mail; waiting for a response from freebsd-test to show up > on thought.org.) > > -- > Gary Kline Seattle BSD Users' Group (seabug) | kline@magnesium.net > Thought Unlimited Org's Alternate Email Site > http://www.magnesium.net/~kline > To live is not a necessity; but to live honorably...is a necessity. -Kant > > _______________________________________________ > 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 rwmaillists at googlemail.com Wed Sep 29 17:37:05 2010 From: rwmaillists at googlemail.com (RW) Date: Wed Sep 29 17:37:11 2010 Subject: Cache Memory in top command In-Reply-To: <4CA333EC.40704@ose.nl> References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> <246095.42115.qm@web113905.mail.gq1.yahoo.com> <4CA2E345.7070006@ose.nl> <20100929124230.00004796@unknown> <4CA333EC.40704@ose.nl> Message-ID: <20100929183657.13dfea89@gumby.homeunix.com> On Wed, 29 Sep 2010 14:41:16 +0200 Bas Smeelen wrote: > On 09/29/2010 01:42 PM, Bruce Cran wrote: > > On Wed, 29 Sep 2010 08:57:09 +0200 > > Bas Smeelen wrote: > > > > > >> *Cache:* number of clean pages caching data that are available for > >> immediate reallocation > >> http://www.freebsd.org/cgi/man.cgi?query=top&sektion=1 > >> > >> > > I believe the "Cache" value is almost totally unrelated to the > > amount of memory used for caching: FreeBSD has a unified buffer > > cache so any memory is available for use as cache. Unlike Linux, > > you can't look at the line in 'top' to see how much memory is being > > used for buffers and cache. > > > > You can find more information about the VM architecture at > > http://www.freebsd.org/doc/en/books/arch-handbook/vm.html . > > > > > The way I understand it: > The amount of cached file data pages is included in the Wired value > The amount of free cache pages that can immediatly can be re-used for > caching is the Cache value I don't see why it would be included in wired, and I'm pretty sure that's wrong. The cache queue is a stock of clean pages, it's sort of an intermediate state between inactive and free. Most memory allocations can be performed directly from the cache queue, which allows memory to hold useful data right up to the moment it's reallocated, and it allows FreeBSD to run with very little free (i.e. wasted) memory. Cache memory is topped-up with memory from the inactive queue in the background. Likewise inactive memory is topped-up from active memory. Since that's done on demand the values are virtually meaningless. > The Buf value is the numbder of pages used for BIO-level disk caching > I think that the value of Inactive also includes some kind of > application data cache Pretty much anything that isn't permanently wired can end-up in the Inactive queue it's a general purpose queue for ageing-out memory. > So as you also state, unlike linux there is no way of determining the > amount of memory used for *all caching* with top FreeBSD sees most memory as a cache of a disk backing-store. So when you are running a program, it's executing inside a cache of the on-disk binary and its variables are a cache of the swap backing-store. From martin at dc.cis.okstate.edu Wed Sep 29 18:38:51 2010 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Wed Sep 29 18:38:55 2010 Subject: Not Sure Which Package has mssql_connect. Message-ID: <201009291837.o8TIbfR2067340@dc.cis.okstate.edu> Greg Larkin writes: > You referred to C code at the top of your message, That was actually incidental. I was thinking about what had happened when I transplanted some home-grown C code in to 8.1 and had to clean up some of my lazy habits to make it work again. So far, nothing I haven't been able to handle. > but are you actually > looking for a PHP extension that contains the mssql_connection function > so some PHP code runs correctly? Yes. > I also have a question whether you're > looking for a PHP extension that connections to a MS SQL server or one > that connects to a MySQL server. I'm guessing you're trying to connect > to MS SQL. In spite of my rather confused question, that is exactly what I am doing. We talk to a remote mssql server and pull off new data from a database. > > If so, please install http://www.freshports.org/databases/php5-mssql/, > and you should be all set. You shouldn't need to install > http://www.freshports.org/databases/php5-mysql/ unless you're trying to > connect to a MySQL server, too. The first port is what I needed. Many thanks. From martin at dc.cis.okstate.edu Wed Sep 29 18:59:42 2010 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Wed Sep 29 18:59:46 2010 Subject: pkg_config Version Numbers Message-ID: <201009291859.o8TIxIne059686@dc.cis.okstate.edu> I built bind9.7.1 on a 64-bit FreeBSD system and then did make package-recursive in order to produce a package that can be installed on some other systems. After doing so, I get the following warning on numerous other packages when I install them. pkg_add: warning: package pkg_name' requires 'pkg-config-0.23_1', but 'pkg-config-0.25' is installed This looks like it could be harmless enough as pkg-config-0.25 is newer but I thought I would ask before creating any more possible monsters. Is this something to fix or can I forget it? Thank you. Martin McCormick From kline at thought.org Wed Sep 29 20:24:21 2010 From: kline at thought.org (Gary Kline) Date: Wed Sep 29 20:30:30 2010 Subject: what is from [sic (wrong)] with this picture? -- Answer: It's Ubuntu, not FreeBSD In-Reply-To: <4CA2D921.2080402@ose.nl> References: <20100928162839.GA32198@thought.org> <7B0DAD9C-ED75-4188-9407-F86F44C94F47@cwis.biz> <19639A29-A22D-474B-8CD6-E62D2A4CCB15@cwis.biz> <4CA2D921.2080402@ose.nl> Message-ID: <20100929202423.GB13004@thought.org> On Wed, Sep 29, 2010 at 08:13:53AM +0200, Bas Smeelen wrote: > > >> You can't have a sending domain as thought.org if the @ record for thought.org doesn't exist, IIRC. > >> > >> Look to your DNS for the solution, IMNSHO. > No MX for thought.org > It did have a SOA a minute ago, but this is gone also > >>> > >>> By default, postfix was installed on my ubuntu desktop. I am not > >>> familiar with it. I would =like= it to be sending mail to my server > >>> without the $HOST name instead of $HOST.$DOMAIN name. I know there are > >>> a bunch of us who use this kind of setup: FreeBSD for server things and > >>> some version of linux as a desktop. > >>> > >>> Really, this looks like a postfix blunder. How do I tell postfix to > >>> rewrite th e outgoing address without the hostname? > >>> > This is a postfix question. > Modify main.cf and set myorigin I guess? > http://www.postfix.org/documentation.html > Yes! changing the line in main.cf lets things get thru to my server cleanly, thanks for the tip. I still don't understand what's wrong with my DNS files. Hopefully, other folk on-list will see what's messed up. -gary > > DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, > distribution or reliance on any of it by anyone else is prohibited. If you have received it > by mistake please let us know by reply and then delete it from your system. > > _______________________________________________ > 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 The 7.90a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org From cwhiteh at onetel.com Wed Sep 29 20:28:09 2010 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Wed Sep 29 20:31:00 2010 Subject: Location of sensors In-Reply-To: <4CA34965.3010509@gmail.com> References: <4CA34965.3010509@gmail.com> Message-ID: <4CA3A14B.5030802@onetel.com> David Demelier wrote: > Hello, > > I just wonder how to know the location of the sensors, I got a lot of > them on my HP Probook laptop : > I looked at something related to this last year. http://lists.freebsd.org/pipermail/freebsd-acpi/2009-March/005555.html has a set of sysctl commands to track the various thermal zones on my HP nc6320. You could try running them while doing various things to try to affect different areas, eg running sysutils/cpuburn. I didn't try to define all the sensors because my problem was different and I solved it. Chris From bonomi at mail.r-bonomi.com Wed Sep 29 20:55:22 2010 From: bonomi at mail.r-bonomi.com (Robert Bonomi) Date: Wed Sep 29 20:55:26 2010 Subject: ld(1) cannot find entry symbol _start; Message-ID: <201009292053.o8TKrMs4003936@mail.r-bonomi.com> > From owner-freebsd-questions@freebsd.org Wed Sep 29 05:50:13 2010 > Date: Wed, 29 Sep 2010 11:51:09 +0100 (BST) > From: Anton Shterenlikht > To: Michel Talon > Cc: freebsd-questions@freebsd.org > Subject: Re: ld(1) cannot find entry symbol _start; > > > > On Tue, 28 Sep 2010, Michel Talon wrote: > > > Paul B Mahol said: > > On 9/28/10, Anton Shterenlikht wrote: > >>> I'm trying to learn the very basics of the > >>> compile - assemble - link process on FreeBSD. > >>> Please don't shoot me. > >> .... > >>> Then I try to link the object file into > >>> an executable: > >>> > >>> % ld tmp.o > >> > >> You are missing something in above command. > >> > > > > More precisely, if you run gcc -v on a C file you get someting like: > > /usr/bin/ld --eh-frame-hdr -V -dynamic-linker /libexec/ld-elf.so.1 > > /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib > > -L/usr/lib /var/tmp//cco5EINk.o -lgcc --as-needed -lgcc_s --no-as-needed > > -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o > > /usr/lib/crtn.o > > > > > > where the object file produced by compilation and assembling is > > /var/tmp//cco5EINk.o > > > > That is adds several other object files to your own in order to get > > an executable. > > > > In particular the start symbol, at which execution begins is in > > /usr/lib/crt1.o > > > > as you can see from > > niobe% nm /usr/lib/crt1.o > > w _DYNAMIC > > 00000000 D __progname > > U _fini > > U _init > > U _init_tls > > 00000000 T _start > > 00000020 t _start1 > > 00000000 r abitag > > U atexit > > 00000004 C environ > > U exit > > U main > > which shows that _start is defined here, (but not e.g. _init). On the > > other hand the function main() which is defined in your program is > > referred to but undefined here. > > thank you. Where can I read more on what each file is for: > > % ls -al /usr/lib/crt* > -r--r--r-- 1 root wheel 2552 Sep 15 13:52 /usr/lib/crt1.o > -r--r--r-- 1 root wheel 4656 Sep 15 13:53 /usr/lib/crtbegin.o > -r--r--r-- 1 root wheel 4936 Sep 15 13:53 /usr/lib/crtbeginS.o > -r--r--r-- 1 root wheel 4656 Sep 15 13:53 /usr/lib/crtbeginT.o > -r--r--r-- 1 root wheel 3648 Sep 15 13:53 /usr/lib/crtend.o > -r--r--r-- 1 root wheel 3648 Sep 15 13:53 /usr/lib/crtendS.o > -r--r--r-- 1 root wheel 1928 Sep 15 13:52 /usr/lib/crti.o > -r--r--r-- 1 root wheel 1087 Sep 15 13:52 /usr/lib/crtn.o > > The sources for these files are in asm, so would be good > to read a more accessible introduction. Those routines set up the "run-time envrionment" that any UNIX c-language evironment expects. that's that the name 'crt' prefix means '-language un-ime' this involves a bunch of 'gory mechanical details' that *DON'T* really matter how they get accomplished, jus that they _do_ get done. This includes things like setting up the 'stack', and the 'heap', initializing the tables for the dynamic-memory management routines (malloc and friends), setting up 'stdin/stdout/stderr', and getting the command-line arguments processed so that they can be passed as 'argc', and 'argv' (also the 'environment', in 'envp') to your 'main()' program. > > Also, it seems only crt1, crti and crtn are provided > by FreeBSD itself (/usr/src/lib/csu/ia64), crtbegin and > crtend are under /usr/src/contrib/gcc/config/ia64/, > and sources for *S.o and *T.o I can't find at all. > So which of these are specific to GCC on FreeBSD, and > which aren't? "who cares?" applies. it is all simmply "required housekeeping" go bring the state of the current running process (i.e, the task/ address-space/etc) to what is defined as the 'initial state' for a c-language 'main()' program. > > For example if I use g95 compiler instead of gfortran45, > will the linker still need all above object files? If you use 'the compiler' to manage the linking process -- e.g. {compilername} -o {executable} {one-or-more-'object' .o file} the right files will be automatically included in the executable. 'crt0.o' is the classical program entry point -- it may or may not rely on other routines to get 'the environment' set up -- especially depending on what 'advanced' features the program uses.. If you use light-weight-process 'threads' (-lpthread) this may call for different crt0 code. Unless you are engaged in porting the compiler and O/S to a completely new hardware architecture, or trying to generate 'stand-alone' code, e.g. for an embedded processor tht runs witout _anuting called a 'cpu', you don't have any reason to worry about this housekeeping code. Its there, it works, and it does what it's supposed to. Oh yeah, if you tamper with it, you make it incompatible with the use of _any_ existing object files. From dnelson at allantgroup.com Wed Sep 29 20:56:26 2010 From: dnelson at allantgroup.com (Dan Nelson) Date: Wed Sep 29 20:56:29 2010 Subject: pkg_config Version Numbers In-Reply-To: <201009291859.o8TIxIne059686@dc.cis.okstate.edu> References: <201009291859.o8TIxIne059686@dc.cis.okstate.edu> Message-ID: <20100929205621.GC40148@dan.emsphone.com> In the last episode (Sep 29), Martin McCormick said: > I built bind9.7.1 on a 64-bit FreeBSD system and then > did make package-recursive in order to produce a package that > can be installed on some other systems. After doing so, I get > the following warning on numerous other packages when I install > them. > > pkg_add: warning: package pkg_name' requires 'pkg-config-0.23_1', but > 'pkg-config-0.25' is installed > > This looks like it could be harmless enough as pkg-config-0.25 > is newer but I thought I would ask before creating any more > possible monsters. Is this something to fix or can I forget it? You can probably ignore it. Your build system had some out-of-date installed software, so your package has dependencies on software versions that don't exist on newer systems. Make sure that the binaries you're installing weren't linked with any out-of-date shared library versions, though. That'll cause runtime linker errors when you try and run affected commands. -- Dan Nelson dnelson@allantgroup.com From jon at radel.com Wed Sep 29 21:14:36 2010 From: jon at radel.com (Jon Radel) Date: Wed Sep 29 21:14:40 2010 Subject: what is from [sic (wrong)] with this picture? -- Answer: It's Ubuntu, not FreeBSD In-Reply-To: <20100929202423.GB13004@thought.org> References: <20100928162839.GA32198@thought.org> <7B0DAD9C-ED75-4188-9407-F86F44C94F47@cwis.biz> <19639A29-A22D-474B-8CD6-E62D2A4CCB15@cwis.biz> <4CA2D921.2080402@ose.nl> <20100929202423.GB13004@thought.org> Message-ID: <4CA3AC31.2060703@radel.com> On 9/29/10 4:24 PM, Gary Kline wrote: > Yes! changing the line in main.cf lets things get thru to my > server cleanly, thanks for the tip. I still don't understand > what's wrong with my DNS files. Hopefully, other folk on-list > will see what's messed up. Your domain registrar is having your dns delegated to 3 nameservers: thought.org. 86400 IN NS ns1.thought.org. thought.org. 86400 IN NS ns1.silvertree.org. thought.org. 86400 IN NS ns1.twisted4life.com. ;; Received 142 bytes from 2001:500:48::1#53(b2.org.afilias-nst.org) in 32 ms The last of the 3, ns1.twisted4life.com, is of the opinion that your domain doesn't exist, given that it has no authoritative data and refuses to do recursive lookups for the Internet at large. I would suspect that this would result in the coming and going visibility that others have reported. Basically, you don't exist a third of the time. You need to make sure that all the nameservers you list with your registrar are actually admitting to your existence and are getting up-to-date data. I recall having this conversation with you before. -- --Jon Radel jon@radel.com From glarkin at FreeBSD.org Thu Sep 30 01:44:57 2010 From: glarkin at FreeBSD.org (Greg Larkin) Date: Thu Sep 30 01:45:00 2010 Subject: what is from [sic (wrong)] with this picture? -- Answer: It's Ubuntu, not FreeBSD In-Reply-To: <4CA3AC31.2060703@radel.com> References: <20100928162839.GA32198@thought.org> <7B0DAD9C-ED75-4188-9407-F86F44C94F47@cwis.biz> <19639A29-A22D-474B-8CD6-E62D2A4CCB15@cwis.biz> <4CA2D921.2080402@ose.nl> <20100929202423.GB13004@thought.org> <4CA3AC31.2060703@radel.com> Message-ID: <4CA3EB8B.3050701@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jon Radel wrote: > On 9/29/10 4:24 PM, Gary Kline wrote: >> Yes! changing the line in main.cf lets things get thru to my >> server cleanly, thanks for the tip. I still don't understand >> what's wrong with my DNS files. Hopefully, other folk on-list >> will see what's messed up. > > Your domain registrar is having your dns delegated to 3 nameservers: > > thought.org. 86400 IN NS ns1.thought.org. > thought.org. 86400 IN NS ns1.silvertree.org. > thought.org. 86400 IN NS ns1.twisted4life.com. > ;; Received 142 bytes from 2001:500:48::1#53(b2.org.afilias-nst.org) in > 32 ms > > The last of the 3, ns1.twisted4life.com, is of the opinion that your > domain doesn't exist, given that it has no authoritative data and > refuses to do recursive lookups for the Internet at large. I would > suspect that this would result in the coming and going visibility that > others have reported. Basically, you don't exist a third of the time. > > You need to make sure that all the nameservers you list with your > registrar are actually admitting to your existence and are getting > up-to-date data. I recall having this conversation with you before. > The first thing I would do is check the results of the DNS scan here (http://www.dnscog.com/report/thought.org) and fix all of the listed problems. Keep iterating until the report is clean, or at least doesn't have any red flags on it. I've used this service successfully for a while now to debug DNS problems. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMo+uL0sRouByUApARAlrCAJ9wOlsjn3he03B+dOwrexWYxwm8aQCgvaLx 2Dcr9cD1dzW0PuOyOGIUFfQ= =PM9u -----END PGP SIGNATURE----- From krasi_e_d at yahoo.com Thu Sep 30 06:24:20 2010 From: krasi_e_d at yahoo.com (Krasimir Dermendjiev) Date: Thu Sep 30 06:24:54 2010 Subject: (no subject) Message-ID: <680793.54090.qm@web32905.mail.mud.yahoo.com> Hello, Everybody, I am new to FreeBSD and today I attempted to configure the gbde. I just supplemented the following line to the GENERIC kernel: options GEOM_BDE After reboot I saw that the sshd doesn't work.I cant use root or any user on the computer.I saw new line like sshd error:Bind to port 22 on 0.0.0.0 failed. I attempted all boot options like (default, ACPI disabled,Safe mode,single user mode,verbose prompt) to change the kernel configuration file. Because after the new line for GEOM_BDE my problems came. I'll be happy if some one find some time to answer with few instructions. Thank you. From danger at FreeBSD.org Thu Sep 30 06:46:43 2010 From: danger at FreeBSD.org (Daniel Gerzo) Date: Thu Sep 30 06:46:50 2010 Subject: HEADSUP: Call for FreeBSD Status Reports - 3Q/2010 Message-ID: <4CA42E5C.5090609@FreeBSD.org> Dear all, I would like to remind you that the next round of status reports covering the third quarter of 2010 is due on October 15th, 2010. This initiative is very welcome in our community. Therefore, I would like to ask you to submit your status reports soon, so that we can compile the report on time. Do not hesitate and write us a few lines - a short description about what you are working on, what are your plans and goals, so we can inform our community about your great work! Check out the reports from the past to get some inspiration of what your submission should look like. If you know about a project that should be included in the status report, please let us know as well, so we can poke the responsible people to provide us with something useful. Updates to submissions from the last report are welcome too. Note that the submissions are accepted from anyone involved with the FreeBSD community, you do not have to be a FreeBSD committer. Submissions about anything related to FreeBSD are very welcome! Please email us the filled-in XML template which can be found at http://www.freebsd.org/news/status/report-sample.xml to monthly@FreeBSD.org, or alternatively use our web based form located at http://www.freebsd.org/cgi/monthly.cgi. For more information, please visit http://www.freebsd.org/news/status/. We are looking forward to see your submissions! -- S pozdravom / Best regards Daniel Gerzo, FreeBSD committer From b.smeelen at ose.nl Thu Sep 30 07:25:00 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Thu Sep 30 07:25:04 2010 Subject: Cache Memory in top command In-Reply-To: <20100929183657.13dfea89@gumby.homeunix.com> References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> <246095.42115.qm@web113905.mail.gq1.yahoo.com> <4CA2E345.7070006@ose.nl> <20100929124230.00004796@unknown> <4CA333EC.40704@ose.nl> <20100929183657.13dfea89@gumby.homeunix.com> Message-ID: <4CA43B4A.6030508@ose.nl> On 09/29/2010 07:36 PM, RW wrote: >>> Bas Smeelen wrote: >>> >>> >>>> *Cache:* number of clean pages caching data that are available for >>>> immediate reallocation >>>> http://www.freebsd.org/cgi/man.cgi?query=top&sektion=1 >>>> >>>> >>> > I don't see why it would be included in wired, and I'm pretty sure > that's wrong. > >From the man page: *Wired:* number of pages wired down, including cached file data pages > The cache queue is a stock of clean pages, it's sort of an intermediate > state between inactive and free. Most memory allocations can be > performed directly from the cache queue, which allows memory to hold > useful data right up to the moment it's reallocated, and it allows > FreeBSD to run with very little free (i.e. wasted) memory. > > Cache memory is topped-up with memory from the inactive queue in the > background. Likewise inactive memory is topped-up from active memory. > Since that's done on demand the values are virtually meaningless. > > Thanks for your detailed explanation DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From kayasaman at gmail.com Thu Sep 30 08:15:49 2010 From: kayasaman at gmail.com (Kaya Saman) Date: Thu Sep 30 08:15:54 2010 Subject: Mother board compatibility and CF card usage as main storage device for small DNS server Message-ID: <4CA4461F.6030508@gmail.com> Hi, I'm planning on using FreeBSD 8.0 x64 RELEASE edition for a small primary/secondary DNS server setup. The system will run Bind9 and have some zone files and views for the few people I host for. I am considering using a dual Atom system board with 2GB RAM and for storage was thinking of going for 16GB compact flash card instead of a normal hard disk...... This is a bit radical for me as I have never used this kind of setup before so I'm not sure how suited it will be??? These are the system boards: http://www.commell.com.tw/product/SBC/LV-67E.HTM# or http://www.globalamericaninc.com/p2808245/2808245_-_Mini-ITX_Motherboard_with_the_choice_of_Embedded_Intel_Atom_D510,_D410_or_Fanless_N450_Processor/product_info.html I mean for a DNS server (all be it a small one) is it wise to use compact flash as storage?? Thanks and regards, Kaya From smithi at nimnet.asn.au Thu Sep 30 09:14:47 2010 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu Sep 30 09:14:51 2010 Subject: IPFW firewall and TCP ports In-Reply-To: <20100929205531.76F991065713@hub.freebsd.org> References: <20100929205531.76F991065713@hub.freebsd.org> Message-ID: <20100930165112.D62022@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 330, Issue 5, Message: 1 On Wed, 29 Sep 2010 08:16:47 -0400 Carmel wrote: > While perusing my Apache httpd-error.log, I noticed a large number of > attempts to access my phpmyadmin directory, as well as a few less know > others. Most of these probes originated from China. Since I have no > legitimate business dealing with that region, I decided to create a > table in my IPFW firewall to block them. This is an example: > > ## IPFW Firewall Rules > > # Set rules command prefix > cmd="ipfw -q add" > > # public interface name of NIC facing the public Internet > pif="nfe0" > > # Lets start by listing known bad IP addresses and blocking them. We > # will put them into a table for easier handling. > > ipfw -q table 1 add 60.0.0.0/8 > ipfw -q table 1 add 61.0.0.0/8 Firstly, 60/8 and 61/8 include a lot more of the Asia Pacific region than China, including _some_ of the blocks allocated to Australia, New Zealand, Japan and many others. The days of associating /8 blocks with countries are long gone. For some scientific (and policy) rationale of the increasingly fragmented nature of new allocations down to /22 (ie 64 IP addresses) have a look at http://www.potaroo.net/tools/ipv4/ Secondly, there are _dozens_ more IP blocks including Chinese IP space. Thirdly, the script posted below to deal specifically with the issue you mention has caught lots of addresses in many other regions including some based or hosted in the USA; the notion that denying China or Europe or for that matter North America access will solve any problem is passe. But if you do want to go down that path, and have any concern to limit 'collateral damage' from parts of the planet you've nothing particular against, at least try to find accurate and complete data. This is not so easy, and needs to be updated frequently as IP4 address space nears exhaustion sometime before early 2012 (reference the link above). For example, if you used http://www.blockacountry.com/ and selected Australia, you'd see some 60.* and 61.* blocks mentioned above, but you =won't= find 115.70/16 there, ie the address this mail comes from! This was a problem when first allocated last year, mostly by people using out of date IP blocklists that assumed we were in China .. see the problem? But ignoring geopolitics or xenophobia and concentrating on technics .. > $cmd set 1 deny log all from table\(1\) to any in via $pif > > The above is the first entry in my "rules" file. I know that IPFW is > working since I have blocked other ports for other services and it has > worked correctly. > > The problem is that these IPs are not being blocked. I continue to see > them listed in the httpd-error.log. I have rebooted my machine and > therefore am quite certain that these rules are being loaded. A simple 'ipfw show' will likely show that rule not there, possibly a preexisting 'flush' rule comes after it? Or, are your other rules all in 'set 1'? Is 'set 1' your current set? The default is set 0. If you are using multiple sets use ipfw(8)'s -S switch to show disabled rules. > The problem is that I probably do not understand how to properly block > an IP or range of IPs from accessing my web server correctly. I would > really appreciate any assistance. Modulo a probable flush or set issue, your syntax is right, and tables are indeed the way to go; the larger the list, the faster tables work. So here's my script for dealing with this specific issue; I got tired of seeing over 150 requests from each IP of what is clearly a distributed bot scanning for */scripts/setup.php and more lately *p=phpinfo(); This usually blocks the offending IP before its second request. FWIW, the latest IP logged and blocked was from a hosting company in the US :) I run eg '# /path/to/botwatch 50 &' to start with the recent log lines. '# kill /var/run/botwatch.pid' stops it and both of its bg processes. cheers, Ian #!/bin/sh # botwatch smithi 23/7/10: pesky distribot seeking */scripts/setup.php # v0.7 4/9/10 extend for p=phpinfo() so any others watchlog=/usr/var/log/httpd-access.log # combined format: eg='1.2.3.4 - - [22/Jul/2010:22:40:47 +1000] "GET /pma/scripts/setup.php' table=1 # ipfw table denying any further access sleep=10 # max delay before killing pipeline blocking on 'tail -f' name=`basename $0` log=/var/log/${name}.log pid=/var/run/${name}.pid actions='GET POST HEAD' ournets='127.0.0 192.168.7 aa.bb.cc xxx.yy.zzz' # our local IP net/s blocklist='scripts/setup.php p=phpinfo();' [ "$1" ] && lines=$1 && shift || lines=1 [ "$1" ] && echo "usage: $name [lines]" && exit 1 [ -s $pid ] && op=`cat $pid` && [ "`ps ax | grep -w $op | grep $name`" ] \ && echo "`date` $name [$$] exit: [$op] still running" >>$log && exit 2 echo $$ >$pid echo "`date` $name [$$]: begin lines=$lines" >>$log tail -f -n$lines $watchlog | \ while read ip a b datime tz get url etc; do [ "$url" -a "${actions%${get#\"}*}" != "$actions" ] || continue [ "${ournets%${ip%.*}*}" = "$ournets" ] || continue # don't block me/24 for string in $blocklist; do if [ "${url%$string}" != $url ]; then blocked=`ipfw table $table list | awk '{print $1}' | grep $ip` if [ "$blocked" ]; then # eg startup $lines > 1 echo "`date` $blocked already blocked" >>$log else ipfw table $table add $ip `date "+%s"` 2>/dev/null echo "`date` blocked $ip seeking $string" >>$log fi fi done done & # ; bgpid=$! # two-process pipeline in bg quit=0; trap "quit=1" int quit term while [ $quit -eq 0 ]; do sleep $sleep; done trap - int quit term # kill tail, first proc in pipeline; $bgpid is of last proc, no use here tailpid=`ps ax | grep "[t]ail -f" | grep "$watchlog" | awk '{print $1}'` [ "$tailpid" ] && kill -TERM $tailpid && sleep 1 \ || echo "`date` exit tailpid='$tailpid' ?" >>$log echo "`date` $name [$$]: end (terminated)" >>$log rm $pid exit 0 From smithi at nimnet.asn.au Thu Sep 30 09:40:04 2010 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu Sep 30 09:40:19 2010 Subject: IPFW firewall and TCP ports In-Reply-To: <20100930165112.D62022@sola.nimnet.asn.au> References: <20100929205531.76F991065713@hub.freebsd.org> <20100930165112.D62022@sola.nimnet.asn.au> Message-ID: <20100930193436.N62022@sola.nimnet.asn.au> On Thu, 30 Sep 2010, Ian Smith wrote: > countries are long gone. For some scientific (and policy) rationale of > the increasingly fragmented nature of new allocations down to /22 (ie 64 > IP addresses) have a look at http://www.potaroo.net/tools/ipv4/ Oops; a /22 allocation is of course 4 times a /24, ~1024 addresses. Ian From nr1c0re at gmail.com Thu Sep 30 10:31:45 2010 From: nr1c0re at gmail.com (c0re) Date: Thu Sep 30 10:31:49 2010 Subject: /usr/ports via NFS on several servers adn parralell portupgrade Message-ID: Hello all! I found one problem using portupgrade on a number of servers, that has NFS mounter /usr/ports from one server. On one server portupgrade sometimes want to rebuild /usr/ports/INDEX-7.db. While it rebuilds, another portupgrade running on second server suddenly wants to rebuild INDEX-7.db. And both portupgrades fails with this message: ............... /usr/ports/INDEX-7:17502:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17503:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17504:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17505:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17506:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17507:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17508:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle /usr/ports/INDEX-7:17509:read: 0x2a75d37c, 1024: Stale NFS file handle -- Stale NFS file handle .............. How ti use portupgrade with /usr/ports right? I set WRKDIRPREFIX=/tmp/workdir in make.conf. May be I can do something else to allow several portupgrade processes on several servers that has mounted nfs from one server? From rwmaillists at googlemail.com Thu Sep 30 11:37:44 2010 From: rwmaillists at googlemail.com (RW) Date: Thu Sep 30 11:37:48 2010 Subject: Cache Memory in top command In-Reply-To: <4CA43B4A.6030508@ose.nl> References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> <246095.42115.qm@web113905.mail.gq1.yahoo.com> <4CA2E345.7070006@ose.nl> <20100929124230.00004796@unknown> <4CA333EC.40704@ose.nl> <20100929183657.13dfea89@gumby.homeunix.com> <4CA43B4A.6030508@ose.nl> Message-ID: <20100930123735.3a2870b2@gumby.homeunix.com> On Thu, 30 Sep 2010 09:24:58 +0200 Bas Smeelen wrote: > *Wired:* number of pages wired down, including cached file data pages That refers to buffer pages (displayed as Buf), which are a subset of the cached file data pages. The pages in the cache queue are not specifically cached file data pages, they are clean pages from any source, including pages that have been written to swap. From b.smeelen at ose.nl Thu Sep 30 12:45:00 2010 From: b.smeelen at ose.nl (Bas Smeelen) Date: Thu Sep 30 12:45:03 2010 Subject: Cache Memory in top command In-Reply-To: <20100930123735.3a2870b2@gumby.homeunix.com> References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> <246095.42115.qm@web113905.mail.gq1.yahoo.com> <4CA2E345.7070006@ose.nl> <20100929124230.00004796@unknown> <4CA333EC.40704@ose.nl> <20100929183657.13dfea89@gumby.homeunix.com> <4CA43B4A.6030508@ose.nl> <20100930123735.3a2870b2@gumby.homeunix.com> Message-ID: <4CA48649.8090605@ose.nl> On 09/30/2010 01:37 PM, RW wrote: > On Thu, 30 Sep 2010 09:24:58 +0200 > Bas Smeelen wrote: > > > >> *Wired:* number of pages wired down, including cached file data pages >> > That refers to buffer pages (displayed as Buf), which are a subset of > the cached file data pages. > > The pages in the cache queue are not specifically cached file data > pages, they are clean pages from any source, including pages that have > been written to swap. Could this be a "bug" in the man page then? Because Wired en Buff are explicitly explained at the bottom of man (1) top DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. If you have received it by mistake please let us know by reply and then delete it from your system. From seklecki at noc.cfi.pgh.pa.us Thu Sep 30 14:18:17 2010 From: seklecki at noc.cfi.pgh.pa.us (Brian A. Seklecki (CFI NOC)) Date: Thu Sep 30 14:18:21 2010 Subject: Mother board compatibility and CF card usage as main storage device for small DNS server In-Reply-To: <4CA4461F.6030508@gmail.com> References: <4CA4461F.6030508@gmail.com> Message-ID: <4CA4988E.2000200@noc.cfi.pgh.pa.us> On 9/30/2010 4:11 AM, Kaya Saman wrote: > I mean for a DNS server (all be it a small one) is it wise to use > compact flash as storage?? For our GSLB DNS Slaves, we boot embedded/low power (or even VMs these days) systems with CF images off of flash, keep a shadow copy of /etc around, and program all file systems with R/W activity (/var/chroot/named/cache, where all zone files are fetched from Master NS) on MFS partitions, eliminating almost all write operations to the CF card. No swap, and RD / (/var, etc.) and MFS /usr extracted from a tarball via modified rc(8). /shadow is mounted noatime. Minimal writes to flash. The systems boot in about 30 seconds. We actually run NetBSD, but we've done similar models on FreeBSD. No CF card failures reported in five (5) years. We use Transcend Industrial series. Where it gets risky is if you just plain install a live functional FreeBSD on CF. A million inodes for /usr/src and CF is about as fast as an ESDI hard drive in an IBM XT. ~BAS From kayasaman at gmail.com Thu Sep 30 14:35:20 2010 From: kayasaman at gmail.com (Kaya Saman) Date: Thu Sep 30 14:35:27 2010 Subject: Mother board compatibility and CF card usage as main storage device for small DNS server In-Reply-To: <4CA4988E.2000200@noc.cfi.pgh.pa.us> References: <4CA4461F.6030508@gmail.com> <4CA4988E.2000200@noc.cfi.pgh.pa.us> Message-ID: <4CA49F10.90603@gmail.com> Thanks very much Brian: On 30/09/2010 17:02, Brian A. Seklecki (CFI NOC) wrote: > On 9/30/2010 4:11 AM, Kaya Saman wrote: >> I mean for a DNS server (all be it a small one) is it wise to use >> compact flash as storage?? > > > For our GSLB DNS Slaves, we boot embedded/low power (or even VMs these > days) systems with CF images off of flash, keep a shadow copy of /etc > around, and program all file systems with R/W activity > (/var/chroot/named/cache, where all zone files are fetched from Master > NS) on MFS partitions, eliminating almost all write operations to the > CF card. > > No swap, and RD / (/var, etc.) and MFS /usr extracted from a tarball > via modified rc(8). /shadow is mounted noatime. Are you saying that you custom compiled the kernel here?? I'm not that advanced with FreeBSD yet as I've only been using it for a few months even though I have other UNIX based experience. > > [...] > > Where it gets risky is if you just plain install a live functional > FreeBSD on CF. A million inodes for /usr/src and CF is about as fast > as an ESDI hard drive in an IBM XT. I was planning to go Standard Minimal Install then build Bind9 from ports and of course use SSH as login system and perhaps hack out the Serial port to give me some SPARC/POWER/Cisco style RS232c login. From what you mention it sounds like a bad idea as the system disk will have many R/W's going through it it seems as /tmp and Swap get written to all the time. I mean this would have been a cheaper alternative to buying an SSD drive or SAS 2.5" drive but now I'm a bit worried..... > > ~BAS > > Regards, Kaya From kayasaman at gmail.com Thu Sep 30 14:59:35 2010 From: kayasaman at gmail.com (Kaya Saman) Date: Thu Sep 30 14:59:38 2010 Subject: Mother board compatibility and CF card usage as main storage device for small DNS server In-Reply-To: <4CA4A4A0.1000007@beanfield.com> References: <4CA4461F.6030508@gmail.com> <4CA4988E.2000200@noc.cfi.pgh.pa.us> <4CA49F10.90603@gmail.com> <4CA4A4A0.1000007@beanfield.com> Message-ID: <4CA4A4B8.6020509@gmail.com> On 30/09/2010 17:54, Brent Bloxam wrote: > Kaya Saman wrote: >> From what you mention it sounds like a bad idea as the system disk >> will have many R/W's going through it it seems as /tmp and Swap get >> written to all the time. >> > > You can skip swap altogether and use MFS (memory filesystem) like > Brian mentioned for other high write partitions that don't need to be > persistent (/tmp, /var/log). See the following article on the > freebsd.org website about using solid state storage: > http://www.freebsd.org/doc/en/articles/solid-state/article.html > > Keep in mind though that Brian's setup was for slave nameservers that > would be caching from another master. If your nameserver is acting as > master, you'll be storing your records on flash since you need > persistent storage, but I don't imagine those files will be write > intensive. > > Also, if you make /var/log MFS, you'll want to have an external syslog > server set up ;) Thanks a lot so it should be ok then! :-) Yeah sounds like a good setup, and also a syslog server :-)))) this is exactly what I need in order to check my IOS logs coming from my Cisco boxes. I had previously imagined it to be a simple tftpboot server but sounds like it's standalone. That's cool! I mean I really like having logwatch mailing me all necessary information anyway so that coupled with a syslog server should be pretty good :-) Nice ideas need to do some Google'ing now as I don't know what MFS is yet but I will.... :-D Cheers and best regards, Kaya From brent at beanfield.com Thu Sep 30 15:10:06 2010 From: brent at beanfield.com (Brent Bloxam) Date: Thu Sep 30 15:10:09 2010 Subject: Mother board compatibility and CF card usage as main storage device for small DNS server In-Reply-To: <4CA49F10.90603@gmail.com> References: <4CA4461F.6030508@gmail.com> <4CA4988E.2000200@noc.cfi.pgh.pa.us> <4CA49F10.90603@gmail.com> Message-ID: <4CA4A4A0.1000007@beanfield.com> Kaya Saman wrote: > From what you mention it sounds like a bad idea as the system disk will > have many R/W's going through it it seems as /tmp and Swap get written > to all the time. > You can skip swap altogether and use MFS (memory filesystem) like Brian mentioned for other high write partitions that don't need to be persistent (/tmp, /var/log). See the following article on the freebsd.org website about using solid state storage: http://www.freebsd.org/doc/en/articles/solid-state/article.html Keep in mind though that Brian's setup was for slave nameservers that would be caching from another master. If your nameserver is acting as master, you'll be storing your records on flash since you need persistent storage, but I don't imagine those files will be write intensive. Also, if you make /var/log MFS, you'll want to have an external syslog server set up ;) From nathan at vidican.com Thu Sep 30 15:19:42 2010 From: nathan at vidican.com (Nathan Vidican) Date: Thu Sep 30 15:19:45 2010 Subject: Mother board compatibility and CF card usage as main storage device for small DNS server In-Reply-To: <4CA4A4B8.6020509@gmail.com> References: <4CA4461F.6030508@gmail.com> <4CA4988E.2000200@noc.cfi.pgh.pa.us> <4CA49F10.90603@gmail.com> <4CA4A4A0.1000007@beanfield.com> <4CA4A4B8.6020509@gmail.com> Message-ID: MFS == memory filesystem; aka ram-disk. The problem being that on reboot, MFS looses all its contents, therefore practices like storing the 'startup' state for a filesystem in an archive (tar file works well) and mounting/copying on startup works well. Conversely, if you need to modify that startup state you can just over-write the tarfile again. On Thu, Sep 30, 2010 at 10:54 AM, Kaya Saman wrote: > On 30/09/2010 17:54, Brent Bloxam wrote: > >> Kaya Saman wrote: >> >>> From what you mention it sounds like a bad idea as the system disk will >>> have many R/W's going through it it seems as /tmp and Swap get written to >>> all the time. >>> >>> >> You can skip swap altogether and use MFS (memory filesystem) like Brian >> mentioned for other high write partitions that don't need to be persistent >> (/tmp, /var/log). See the following article on the freebsd.org website >> about using solid state storage: >> http://www.freebsd.org/doc/en/articles/solid-state/article.html >> >> Keep in mind though that Brian's setup was for slave nameservers that >> would be caching from another master. If your nameserver is acting as >> master, you'll be storing your records on flash since you need persistent >> storage, but I don't imagine those files will be write intensive. >> >> Also, if you make /var/log MFS, you'll want to have an external syslog >> server set up ;) >> > > Thanks a lot so it should be ok then! :-) > > Yeah sounds like a good setup, and also a syslog server :-)))) this is > exactly what I need in order to check my IOS logs coming from my Cisco > boxes. I had previously imagined it to be a simple tftpboot server but > sounds like it's standalone. > > That's cool! I mean I really like having logwatch mailing me all necessary > information anyway so that coupled with a syslog server should be pretty > good :-) > > Nice ideas need to do some Google'ing now as I don't know what MFS is yet > but I will.... :-D > > Cheers and best 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" > -- Nathan Vidican nathan@vidican.com (519) 962-9987 (Canada) (313) 586-1982 (USA) From mexas at bristol.ac.uk Thu Sep 30 15:24:52 2010 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Sep 30 15:25:16 2010 Subject: pgt driver for Intersil PRISM ISL3890 cardbus wireless? Message-ID: <20100930152450.GA91136@mech-cluster241.men.bris.ac.uk> I've this wireless cardbus card: none2@pci0:3:0:0: class=0x028000 card=0x00001260 chip=0x38901260 rev=0x01 hdr=0x00 vendor = 'Intersil Americas Inc (Was: Harris Semiconductor)' device = 'PRISM GT 802.11g 54Mbps Wireless Controller (ISL3890)' class = network I can't seem to find a driver for it. This page http://www.openbsd.org/cgi-bin/man.cgi?query=pgt suggests that pgt driver supports it. It claims the driver was ported to OBSD from FBSD, os it probably existed at some point? Perhaps it was removed at some point. I can't trace it. Can anybody suggest another driver which might support this card? many thanks anton -- 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 odhiambo at gmail.com Thu Sep 30 15:51:11 2010 From: odhiambo at gmail.com (Odhiambo Washington) Date: Thu Sep 30 15:51:17 2010 Subject: Upgrading autoconf Message-ID: I am trying this out: #portupgrade -f 'autoconf*' 'automake*' and I end up with: ===> Building for autoconf-2.67 gmake all-recursive gmake[1]: Entering directory `/usr/ports/devel/autoconf267/work/autoconf-2.67' Making all in bin gmake[2]: Entering directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/bin' rm -f autom4te autom4te.tmp srcdir=''; \ test -f ./autom4te.in || srcdir=./; \ sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/usr/local/bin|g' -e 's|@pk gdatadir[@]|/usr/local/share/autoconf-2.67|g' -e 's|@prefix[@]|/usr/local|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's&$&-2.67&'`'|g' -e ' s|@autoheader-name[@]|'`echo autoheader | sed 's&$&-2.67&'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's&$&-2.67&'`'|g' -e 's|@M4[@]|/usr /local/bin/gm4|g' -e 's|@M4_DEBUGFILE[@]|--error-output|g' -e 's|@M4_GNU[@]||g' -e 's|@AWK[@]|/usr/bin/awk|g' -e 's|@RELEASE_YEAR[@]|'`sed 's/^\( [0-9][0-9][0-9][0-9]\).*/\1/;q' ../ChangeLog`'|g' -e 's|@VERSION[@]|2.67|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Gene rated from autom4te.in; do not edit by hand.|g' ${srcdir}autom4te.in>autom4te.tmp chmod +x autom4te.tmp chmod a-w autom4te.tmp mv autom4te.tmp autom4te cd ../lib && gmake autom4te.cfg gmake[3]: Entering directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/lib' rm -f autom4te.cfg autom4te.tmp sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@bindir[@]|/usr/local/bin|g' -e 's|@pkgdatadir[@]|/usr/local/share/autoconf- 2.67|g' -e 's|@prefix[@]|/usr/local|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's&$&-2.67&'`'|g' -e 's|@autoheader-name[@]|'`echo autoheade r | sed 's&$&-2.67&'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's&$&-2.67&'`'|g' -e 's|@M4[@]|/usr/local/bin/gm4|g' -e 's|@AWK[@]|/usr/b in/awk|g' -e 's|@VERSION[@]|2.67|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' ./autom4te.in >autom4te.tmp chmod a-w autom4te.tmp mv autom4te.tmp autom4te.cfg gmake[3]: Leaving directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/lib' cd ../lib/m4sugar && gmake version.m4 gmake[3]: Entering directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/lib/m4sugar' :;{ \ echo '# This file is part of -*- Autoconf -*-.' && \ echo '# Version of Autoconf.' && \ echo '# Copyright (C) 1999, 2000, 2001, 2002, 2006, 2007, 2009' && \ echo '# Free Software Foundation, Inc.' && \ echo &&\ echo 'm4_define([m4_PACKAGE_NAME], [GNU Autoconf])' && \ echo 'm4_define([m4_PACKAGE_TARNAME], [autoconf])' && \ echo 'm4_define([m4_PACKAGE_VERSION], [2.67])' && \ echo 'm4_define([m4_PACKAGE_STRING], [GNU Autoconf 2.67])' && \ echo 'm4_define([m4_PACKAGE_BUGREPORT], [bug-autoconf@gnu.org])' && \ echo 'm4_define([m4_PACKAGE_URL], [ http://www.gnu.org/software/autoconf/])' && \ echo 'm4_define([m4_PACKAGE_YEAR], ['`sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' ../../ChangeLog`'])'; \ } > version.m4-t mv version.m4-t version.m4 gmake[3]: Leaving directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/lib/m4sugar' autom4te_perllibdir='..'/lib AUTOM4TE_CFG='../lib/autom4te.cfg' ../bin/autom4te -B '..'/lib -B '..'/lib --language M4sh --cache ' ' --melt ./autoconf.as -o autoconf.in autoconf.as:1: /usr/local/bin/gm4: Warning: Excess arguments to built-in `_m4_popdef' ignored autom4te: /usr/local/bin/gm4 failed with exit status: 1 gmake[2]: *** [autoconf.in] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/bin' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/autoconf267/work/autoconf-2.67' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/autoconf267. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.11621.2 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=autoconf-2.62 UPGRADE_POR T_VER=2.62 make ** Fix the problem and try again. ---> Skipping 'devel/automake19' (automake-1.9.6_3) because a requisite package 'autoconf-2.62' (devel/autoconf267) failed (specify -k to force) ** Package 'automake' has been removed from ports tree. ---> Skipping 'devel/automake19' (automake-1.9.6) because it has already been skipped ** Listing the failed packages (*:skipped / !:failed) ! devel/autoconf267 (autoconf-2.62) (unknown build error) * devel/automake19 (automake-1.9.6_3) * devel/automake19 (automake-1.9.6) ---> Packages processed: 2 done, 1 ignored, 2 skipped and 1 failed -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From freebsd-questions at slightlystrange.org Thu Sep 30 15:59:17 2010 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Thu Sep 30 15:59:20 2010 Subject: Upgrading autoconf In-Reply-To: References: Message-ID: <20100930155915.GA26665@catflap.slightlystrange.org> On Thu, Sep 30, 2010 at 06:50:22PM +0300, Odhiambo Washington wrote: > I am trying this out: > > #portupgrade -f 'autoconf*' 'automake*' Try upgrading the failing ports by hand. portupgrade tends to suppress full error output, making it difficult to ascertain exactly what's gone wrong. Alternatively, I would be tempted to just uninstall autoconf* and automake*, since they will get pulled in as dependencies whenever you come to build another port that requires them. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- 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/20100930/31ecea3f/attachment.pgp From doug at fledge.watson.org Thu Sep 30 18:34:03 2010 From: doug at fledge.watson.org (doug) Date: Thu Sep 30 18:34:07 2010 Subject: pondering my DNS config.... In-Reply-To: <20100929172346.GA49250@thought.org> References: <20100929172346.GA49250@thought.org> Message-ID: On Wed, 29 Sep 2010, Gary Kline wrote: > > I spent hours yesterday checking around my named/DNS files. I thing the guy who rewrote how I _had_ things set up, messup. pinging ns1.thought.org is void. > It is plato.thought.org that is my pfSense server that might better be my primary nameserver. > > (Still testing mail; waiting for a response from freebsd-test to show up > on thought.org.) > > -- > Gary Kline Seattle BSD Users' Group (seabug) | kline@magnesium.net > Thought Unlimited Org's Alternate Email Site > http://www.magnesium.net/~kline > To live is not a necessity; but to live honorably...is a necessity. -Kant > The problem lies with the nameservers for thought.org. This is really not a thread that belongs on questions, if you are still having problems email me off list at doug at safeport.com and I will help you. From kline at thought.org Thu Sep 30 19:29:02 2010 From: kline at thought.org (Gary Kline) Date: Thu Sep 30 19:29:05 2010 Subject: what is from [sic (wrong)] with this picture? -- Answer: It's Ubuntu, not FreeBSD In-Reply-To: <4CA3AC31.2060703@radel.com> References: <20100928162839.GA32198@thought.org> <7B0DAD9C-ED75-4188-9407-F86F44C94F47@cwis.biz> <19639A29-A22D-474B-8CD6-E62D2A4CCB15@cwis.biz> <4CA2D921.2080402@ose.nl> <20100929202423.GB13004@thought.org> <4CA3AC31.2060703@radel.com> Message-ID: <20100930192905.GB15259@thought.org> On Wed, Sep 29, 2010 at 05:14:25PM -0400, Jon Radel wrote: > On 9/29/10 4:24 PM, Gary Kline wrote: > > Yes! changing the line in main.cf lets things get thru to my > > server cleanly, thanks for the tip. I still don't understand > > what's wrong with my DNS files. Hopefully, other folk on-list > > will see what's messed up. > > Your domain registrar is having your dns delegated to 3 nameservers: > > thought.org. 86400 IN NS ns1.thought.org. > thought.org. 86400 IN NS ns1.silvertree.org. > thought.org. 86400 IN NS ns1.twisted4life.com. > ;; Received 142 bytes from 2001:500:48::1#53(b2.org.afilias-nst.org) > in 32 ms > > The last of the 3, ns1.twisted4life.com, is of the opinion that your > domain doesn't exist, given that it has no authoritative data and > refuses to do recursive lookups for the Internet at large. I would > suspect that this would result in the coming and going visibility > that others have reported. Basically, you don't exist a third of > the time. > > You need to make sure that all the nameservers you list with your > registrar are actually admitting to your existence and are getting > up-to-date data. I recall having this conversation with you before. > > -- If we did discuss this, it had nothing to do with the 3rd nameserver. twisted4life is something i added only a day or two ago; it was among the first googled. i haven't checked anything DNS-wise in the past day because of other things I Am trying to resolve. > > --Jon Radel > jon@radel.com > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.90a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org From amsibamsi at gmail.com Thu Sep 30 19:33:41 2010 From: amsibamsi at gmail.com (Anselm Strauss) Date: Thu Sep 30 19:33:47 2010 Subject: USB disk on CS5536 unstable In-Reply-To: <4CA3B8F5.80904@gmail.com> References: <4CA3B8F5.80904@gmail.com> Message-ID: <4CA4E0C3.1050707@gmail.com> Maybe sending it to just the USB list was too specific ... On 09/30/10 00:08, Anselm Strauss wrote: > Hi > > I have an ALIX board that has an AMD Geode and the CS5536 companion chip > with integrated USB on it. When I connect a USB disk I have observed > various problems. For example when I run fsck_ufs on a 250 GB partition > the process gets stuck in biord state and fsck reports unreadable > sectors. When I do a dd over the whole disk and direct it to /dev/null > it suddenly returns with no error, but having read only a small fraction > of the disk. I tried it with two different disks and two different ALIX > boards. I'm pretty sure the disks are okay since I tried them on other > hardware. > > As far as I know there was some trouble with the chip regarding > timeouts. Under load after some time the USB just stops responding. I > have tried 8.0 and 8.1. Is there any known problem? How can I track this > down? > > Anselm From hselasky at c2i.net Thu Sep 30 19:37:39 2010 From: hselasky at c2i.net (Hans Petter Selasky) Date: Thu Sep 30 19:37:47 2010 Subject: USB disk on CS5536 unstable In-Reply-To: <4CA4E0C3.1050707@gmail.com> References: <4CA3B8F5.80904@gmail.com> <4CA4E0C3.1050707@gmail.com> Message-ID: <201009302138.51616.hselasky@c2i.net> On Thursday 30 September 2010 21:10:59 Anselm Strauss wrote: > Maybe sending it to just the USB list was too specific ... > > On 09/30/10 00:08, Anselm Strauss wrote: > > Hi > > > > I have an ALIX board that has an AMD Geode and the CS5536 companion chip > > with integrated USB on it. When I connect a USB disk I have observed > > various problems. For example when I run fsck_ufs on a 250 GB partition > > the process gets stuck in biord state and fsck reports unreadable > > sectors. When I do a dd over the whole disk and direct it to /dev/null > > it suddenly returns with no error, but having read only a small fraction > > of the disk. I tried it with two different disks and two different ALIX > > boards. I'm pretty sure the disks are okay since I tried them on other > > hardware. > > > > As far as I know there was some trouble with the chip regarding > > timeouts. Under load after some time the USB just stops responding. I > > have tried 8.0 and 8.1. Is there any known problem? How can I track this > > down? > > > > Anselm If you compile the kernel with USB_DEBUG, then there are some sysctls under hw.usb.ehci which you can tweak. Needs to be set before boot. --HPS From patfbsd at davenulle.org Thu Sep 30 22:17:20 2010 From: patfbsd at davenulle.org (Patrick Lamaiziere) Date: Thu Sep 30 22:17:23 2010 Subject: router / firewall with PF and carp. Message-ID: <20101001001926.6ef8aa93@davenulle.org> Hi, We are in the process to replace two Cisco Pix firewalls and one Cisco router with two servers running PF with carp. The network is large (it is an University) and all will depend on this two machines. We have made some tests with OpenBSD, PF and OpenBGPD and it looks to work (but we have to make a lot of more tests to validate this). I think that the support for an OpenBSD release is very small (only one year) and I'm suggesting to use FreeBSD instead (we can expect ~3/4 years of support if we follow a stable branch). I am an happy user of FreeBSD since some time - I mean that I know it is not perfect and there are some bugs! - but I dont have any experience running it as a router on a large network. So, are PF and carp expected to work fine on FreeBSD or are there some known problems? Do you think that OpenBSD suits better for this? Thanks, regards. From patfbsd at davenulle.org Thu Sep 30 22:34:16 2010 From: patfbsd at davenulle.org (Patrick Lamaiziere) Date: Thu Sep 30 22:34:21 2010 Subject: USB disk on CS5536 unstable In-Reply-To: <4CA4E0C3.1050707@gmail.com> References: <4CA3B8F5.80904@gmail.com> <4CA4E0C3.1050707@gmail.com> Message-ID: <20101001003629.64696c1d@davenulle.org> Le Thu, 30 Sep 2010 21:10:59 +0200, Anselm Strauss a ?crit : > Maybe sending it to just the USB list was too specific ... > > On 09/30/10 00:08, Anselm Strauss wrote: > > I have an ALIX board that has an AMD Geode and the CS5536 companion > > chip with integrated USB on it. When I connect a USB disk I have > > observed various problems. For example when I run fsck_ufs on a 250 > > GB partition the process gets stuck in biord state and fsck reports > > unreadable sectors. When I do a dd over the whole disk and direct > > it to /dev/null it suddenly returns with no error, but having read > > only a small fraction of the disk. I tried it with two different > > disks and two different ALIX boards. I'm pretty sure the disks are > > okay since I tried them on other hardware. > > > > As far as I know there was some trouble with the chip regarding > > timeouts. Under load after some time the USB just stops responding. > > I have tried 8.0 and 8.1. Is there any known problem? How can I > > track this down? I use a Soekris Net5501 (amd Geode and cs5536 chip) too since FreeBSD 6.X and I did not notice any problem with an usb disk (myne is a 160 go disk). It is my home "all-in-one box" doing backup and NAS (some times I make a backup on a usb drive) I follow the Soekris mailing list and I do not remembered anymone complaining about usb disk problems too. Regards. From paul at fletchermoorland.co.uk Thu Sep 30 23:53:03 2010 From: paul at fletchermoorland.co.uk (Paul Wootton) Date: Thu Sep 30 23:53:06 2010 Subject: Mother board compatibility and CF card usage as main storage device for small DNS server In-Reply-To: <4CA4A4B8.6020509@gmail.com> References: <4CA4461F.6030508@gmail.com> <4CA4988E.2000200@noc.cfi.pgh.pa.us> <4CA49F10.90603@gmail.com> <4CA4A4A0.1000007@beanfield.com> <4CA4A4B8.6020509@gmail.com> Message-ID: <4CA522DB.5050008@fletchermoorland.co.uk> On 09/30/10 14:54, Kaya Saman wrote: > On 30/09/2010 17:54, Brent Bloxam wrote: >> Kaya Saman wrote: >>> From what you mention it sounds like a bad idea as the system disk >>> will have many R/W's going through it it seems as /tmp and Swap get >>> written to all the time. >>> >> >> You can skip swap altogether and use MFS (memory filesystem) like >> Brian mentioned for other high write partitions that don't need to be >> persistent (/tmp, /var/log). See the following article on the >> freebsd.org website about using solid state storage: >> http://www.freebsd.org/doc/en/articles/solid-state/article.html >> >> Keep in mind though that Brian's setup was for slave nameservers that >> would be caching from another master. If your nameserver is acting as >> master, you'll be storing your records on flash since you need >> persistent storage, but I don't imagine those files will be write >> intensive. >> >> Also, if you make /var/log MFS, you'll want to have an external >> syslog server set up ;) > > Thanks a lot so it should be ok then! :-) > > Yeah sounds like a good setup, and also a syslog server :-)))) this is > exactly what I need in order to check my IOS logs coming from my Cisco > boxes. I had previously imagined it to be a simple tftpboot server but > sounds like it's standalone. > > That's cool! I mean I really like having logwatch mailing me all > necessary information anyway so that coupled with a syslog server > should be pretty good :-) > > Nice ideas need to do some Google'ing now as I don't know what MFS is > yet but I will.... :-D > > Cheers and best regards, > > > Kaya I have been using a Soekris Net5501-70 box since June 2008 with a CF card running FreeBSD 7. This is being used for DNS, DHCP, NNTP, network firewall and a small asterisk server I have turned off writing messages to logs, and in June this year, I started using an MD for /var/db/dhcpd (as that was getting written to a fair amount) Im still on my original CF card, and as of yet, have not seen any problems (touch wood)... Its not the fastest box in the world, but it certainly does what I want it to do. Just takes a long time compiling a world and kernel Just another option for you... Paul