From oren.almog at gmail.com Sun Jun 1 02:13:47 2008 From: oren.almog at gmail.com (Oren Almog) Date: Sun Jun 1 02:13:51 2008 Subject: gdb remote debugging Message-ID: <484205D5.8050601@gmail.com> I am trying to set up remote debugging with gdb. I basically followed the handbook and several other guides I found online: building a custom kernel and setting the correct flags on sio.0. When I enter into ddb and type gdb I always get "The gdb remote debugging backend could not be selected". Can someone please shed some light on what kind of fault is pointed in this message. Is it a connection problem to the remote gdb or an error in loading the backend in the kernel itself? I am running 7.0RELEASE. Oren From fbsd32 at freeode.co.uk Sun Jun 1 02:17:14 2008 From: fbsd32 at freeode.co.uk (John Murphy) Date: Sun Jun 1 02:17:18 2008 Subject: mono-addins-0.3.1 port fails with Error 1 Message-ID: <20080601025132.36f5e550@asus.freeode.co.uk> I'm trying to get the software for an open source software defined radio project, which is written in c#, working on FreeBSD. I've applied to join the BSD# mailing list, but have not received a response as yet. I need mono-develop (it's actually merged into the ports framework after using the mono-merge script), but it depends on mono-addins which fails to install with the output below. I was wondering if anyone here has any suggestions. I'm running 6.3-release, all installed ports are up to date, as is the ports tree itself. ===> monodevelop-1.0 depends on executable: mautil - not found ===> Verifying install for mautil in /usr/ports/devel/mono-addins ===> Building for mono-addins-0.3.1 Making all in Mono.Addins gmake[1]: Entering directory `/usr/ports/devel/mono-addins/work/mono-addins-0.3.1/Mono.Addins' Creating policy.0.2.Mono.Addins ILALINK 0.7.4 - IL Assembly Link Utility Copyright (c) 2001, 2002, 2003 Southern Storm Software, Pty Ltd. Usage: /usr/local/bin/al [options] input ... --output file or -o file Specify the output file to use. The default name is based on the name of the first input file. --format exe or -e Set the output format to executable. --format dll or -d Set the output format to dynamic link library. --format obj or -j Set the output format to object file. --library name or -l name Link against the library `name'. --library-dir name or -L name Look for libraries in the directory `name'. --no-stdlib or -n Do not link against the standard library. -fstdlib-name=name or -S name Specify the name of the standard library (default is `mscorlib'). -flibc-name=name or -C name Specify the name of the standard C library. --shared Link the output as a shared image (default). --static Link the output as a static image. -fassembly-name=name or -a name Specify the name of the assembly to embed in the output. -fassembly-version=version or -A version Specify the assembly version to embed in the output. -fmodule-name=name or -M name Specify the name of the module to embed in the output. -fassembly-key=key or -K key Specify the assembly's public key value. --entry-point name or -E name Specify the name of the entry point for the program. -fresources=file or -r file Link the specified resource file with the output. --resources-only or -R Create an output that only contains resources. -fprivate-resources or -p Mark the resources as private to the output assembly. -fminimize-parameters or -z Minimize the size of the parameter table in the output. -fwin32res=file or -W file Specify a Win32 resource file to add to the image. -fwin32icon=file or -i file Specify a Win32 icon file to add to the image. -fhash-algorithm=name or -H name Specify the algorithm to use to hash files (SHA1 or MD5) -fmetadata-version=version or -V version Specify the metadata version to embed in the assembly. -fculture=name or -u name Specify the resource culture (e.g. "en-US"). -m32bit-only or -3 The resulting output file can only be used on 32-bit systems. -mcui-subsystem or -c Link for the command-line subsystem (default). -mgui-subsystem or -G Link for the GUI subsystem. --version or -v Print the version of the program --help Print this help message. gmake[1]: *** [policy.0.2.Mono.Addins.dll] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/mono-addins/work/mono-addins-0.3.1/Mono.Addins' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/devel/mono-addins. *** Error code 1 Stop in /usr/ports/devel/monodevelop. *** Error code 1 Stop in /usr/ports/devel/monodevelop. -- Thanks, John. From cwhiteh at onetel.com Sun Jun 1 02:43:11 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sun Jun 1 02:43:16 2008 Subject: pkg_create v make package In-Reply-To: <87skw0wwz0.fsf@kobe.laptop> References: <483F1ACE.50208@onetel.com> <87skw0wwz0.fsf@kobe.laptop> Message-ID: <48420CB6.6060908@onetel.com> Giorgos Keramidas wrote: > On Thu, 29 May 2008 22:06:22 +0100, Chris Whitehouse wrote: >> Hi >> >> What's the difference between packages made by these two methods? >> >> Eg I have youtube_dl installed. From within the youtube_dl port directory >> >> # make package-recursive >> >> resulted in >> -rw-r--r-- 1 root wheel 8389 29 May 21:14 /usr/ports/packages/All/youtube_dl-2008.04.20.tbz >> >> whereas from within my home directory >> >> % pkg_create -Rb youtube_dl-2008.04.20 >> >> resulted in >> -rw-r--r-- 1 chrisw chrisw 8281 29 May 21:22 youtube_dl-2008.04.20.tbz > > Packages are just 'tarballs with extra stuff'. You can extract the > two tarballs and use `diff -r' to see where they differ :) > > Of course you can, thank you. Sometimes fear of magic stops me seeing obvious things. Chris From sdavtaker at gmail.com Sun Jun 1 02:56:56 2008 From: sdavtaker at gmail.com (Sdavtaker) Date: Sun Jun 1 02:57:02 2008 Subject: small office backup hardware advice Message-ID: <48420FF3.8000304@gmail.com> Hey, Im working in a small office (4 PC with 80GB HD each and a "server" with a 200GB HD). We were working with no backups at all until now, we was just replicating some critical data in more than 1 PC all the time, back then there was no money for any hard copy of the data outside of the network (maybe a couple DVDR time to time). Now, they gave me some money for backup stuff. What will be a solid but cheap solution to keep some usefull backups? If i do full copy i got to keep 200GB aprox of data per month, if i can backup diffs, then it will be like 100GB. There is no big hurry on the backup time, since i can have a PC out of service for a whole day, maybe 2.5 in weekends. Im a real newbie on the backup world :-( Thanks for any suggestions. Sdav From dan at langille.org Sun Jun 1 04:10:11 2008 From: dan at langille.org (Dan Langille) Date: Sun Jun 1 04:10:16 2008 Subject: The FreeBSD Diary: 2008-05-11 - 2008-05-31 Message-ID: <20080601041002.B5947509EF@nyi.unixathome.org> The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From jos at webrz.net Sun Jun 1 06:14:32 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 1 06:14:36 2008 Subject: 7-STABLE Watchdog Timeout In-Reply-To: <164F5576-6023-4873-A1FE-CBAFD2E612A4@unbc.ca> References: <164F5576-6023-4873-A1FE-CBAFD2E612A4@unbc.ca> Message-ID: <48423E42.2040003@webrz.net> Jeremy, Do you set 'Plug and Play BIOS: YES' in your bios settings? Switch 'PnP BIOS' to NO and everything might work fine. -- Jos Jeremy Karlson wrote: > Hi, > > I'm in the process of moving a Subversion server from a 5-STABLE > machine to a freshly installed 7-STABLE machine. I've moved the > network card (a Linksys EG1032v3, RTL8169S/8110S/8211B based) from the > old machine (where it worked before) to this new machine. Now, I get: > > re0: watchdog timeout From jos at webrz.net Sun Jun 1 06:20:25 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 1 06:20:29 2008 Subject: 7-STABLE Watchdog Timeout In-Reply-To: <164F5576-6023-4873-A1FE-CBAFD2E612A4@unbc.ca> References: <164F5576-6023-4873-A1FE-CBAFD2E612A4@unbc.ca> Message-ID: <48423FA4.1080801@webrz.net> Jeremy, Perhaps this link could give you the solution to your problem: http://www.linuxquestions.org/questions/bsd-17/rl0-watchdog-timeout-519599/ regards, Jos Jeremy Karlson wrote: > Hi, > > I'm in the process of moving a Subversion server from a 5-STABLE > machine to a freshly installed 7-STABLE machine. I've moved the > network card (a Linksys EG1032v3, RTL8169S/8110S/8211B based) from the > old machine (where it worked before) to this new machine. Now, I get: > > re0: watchdog timeout From subhro.kar at gmail.com Sun Jun 1 06:34:12 2008 From: subhro.kar at gmail.com (Subhro) Date: Sun Jun 1 06:34:17 2008 Subject: NFS drops with em0 driver Message-ID: Hello, I am facing a strange problem on my systems. I am running FreeBSD-6.2-RELEASE-p12. My network interface uses the em driver. I am facing a lot of issues where the NFS connections are dying randomly. Is there any known bug with the em driver? I am using the SCHED_ULE scheduler. Thanks Subhro From jos at webrz.net Sun Jun 1 07:00:14 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 1 07:00:17 2008 Subject: CPU info Message-ID: <484248F0.5000004@webrz.net> Slightly off-topic I think: can someone tell me if where I can find a program in the ports to watch various system information (Core temperature, etc) that works from the system prompt? Thanks. From hemi at puresimplicity.net Sun Jun 1 07:05:42 2008 From: hemi at puresimplicity.net (Josh Tolbert) Date: Sun Jun 1 07:05:47 2008 Subject: NFS drops with em0 driver In-Reply-To: References: Message-ID: <20080601063932.GA77216@just.puresimplicity.net> On Sun, Jun 01, 2008 at 11:36:05AM +0530, Subhro wrote: > Hello, > > I am facing a strange problem on my systems. I am running > FreeBSD-6.2-RELEASE-p12. My network interface uses the em driver. I am > facing a lot of issues where the NFS connections are dying randomly. > Is there any known bug with the em driver? I am using the SCHED_ULE > scheduler. > > Thanks > Subhro Hello Subhro, I have nothing to add besides a "me too." I ended up replacing my em0 with an fxp0 and all of my networking issues (watchdog timeouts, link dropping/reconnection, etc.) disappeared. This may have been flaky hardware. Do you have another NIC you can try with? Thanks, Josh -- Josh Tolbert hemi@puresimplicity.net || http://www.puresimplicity.net/~hemi/ Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure, or nothing. -- Helen Keller From wojtek at wojtek.tensor.gdynia.pl Sun Jun 1 07:09:58 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 1 07:10:01 2008 Subject: NFS drops with em0 driver In-Reply-To: <20080601063932.GA77216@just.puresimplicity.net> References: <20080601063932.GA77216@just.puresimplicity.net> Message-ID: <20080601090908.U21387@wojtek.tensor.gdynia.pl> >> Subhro > > Hello Subhro, > > I have nothing to add besides a "me too." I ended up replacing my em0 with an > fxp0 and all of my networking issues (watchdog timeouts, link > dropping/reconnection, etc.) disappeared. This may have been flaky hardware. > Do you have another NIC you can try with? > i use em network on FreeBSD 6.3/amd64, normal sheduler, all works fine. From tedm at toybox.placo.com Sun Jun 1 07:28:29 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Sun Jun 1 07:28:33 2008 Subject: Need to build a new mail server In-Reply-To: <87zlq73yoy.fsf@kobe.laptop> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Giorgos > Keramidas > Sent: Friday, May 30, 2008 9:06 PM > To: DAve > Cc: freebsd-questions@freebsd.org > Subject: Re: Need to build a new mail server > > > This freebsd-questions thread is approaching a low signal/noise ratio > very very fast. MTAs are a hotly debated subject, and they tend to > spark the flames of a religious war *very* fast. Can we _please_ try to > steer this discussion back on track, and actually _help_ the original > poster, No, Giorgos, we can't. The OP asked a question that cannot be answered by a few simple posts to a mailing list. Whole books have been writen that cover nothing other than how to build a mailserver. Because the question is unanswerable, (at least in this forum and format) what your going to get instead is the big dick war. I'd advise you to just ignore it as I have done - indeed, this is my first and only contribution to the thread - the only reason I even bothered looking at it at all, was because I was surprised to see the thread still alive, and as your name was on a posting I figured that something really interesting must have been under discussion. Ted From rsmith at xs4all.nl Sun Jun 1 07:38:56 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Jun 1 07:39:01 2008 Subject: CPU info In-Reply-To: <484248F0.5000004@webrz.net> References: <484248F0.5000004@webrz.net> Message-ID: <20080601073853.GA26495@slackbox.xs4all.nl> On Sun, Jun 01, 2008 at 09:00:00AM +0200, Jos Chrispijn wrote: > Slightly off-topic I think: can someone tell me if where I can find a > program in the ports to watch various system information (Core > temperature, etc) that works from the system prompt? Thanks. sysutils/mbmon 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080601/fff16b9e/attachment.pgp From tedm at toybox.placo.com Sun Jun 1 07:48:30 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Sun Jun 1 07:48:34 2008 Subject: Stumped:: web HTML. Caution, may be OT. In-Reply-To: <20080531005128.GA44344@melon.esperance-linux.co.uk> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Frank Shute > Sent: Friday, May 30, 2008 5:51 PM > To: Ted Mittelstaedt > Cc: Gary Kline; FreeBSD Mailing List > Subject: Re: Stumped:: web HTML. Caution, may be OT. > > > On Thu, May 29, 2008 at 10:07:56PM -0700, Ted Mittelstaedt wrote: > > > > > > > > > -----Original Message----- > > > From: Gary Kline [mailto:kline@thought.org] > > > Sent: Thursday, May 29, 2008 3:14 PM > > > To: Ted Mittelstaedt > > > Cc: Kevin Downey; FreeBSD Mailing List > > > Subject: Re: Stumped:: web HTML. Caution, may be OT. > > > > > > > > > > > > Chill down a bit, okay? first, (as the OP), i did not know > > > thaat there was *this** great a disparity in thee rendering > > > between classes of browsers. i used to stick pretty close > > > to the w3.org (or whatever it was). i didn't think the > > > difference extended to how the stuff was parsed. > > > > > > > Gary, the problem is that the majority of people out there use > > IE, most IE7, but still a lot of IE6, and a few deihards IE5. > > > > Then there are the older versions of Safari on the Mac - there's > > still a lot of Mac's around that are running 10.2 believe it or > > not, and those came with MS IE for the Mac which -really- munges > > some pages. And Safari for Windows - which is a bit different than > > Safari on the Mac. > > > > And then there are all the Unix browsers. > > > > There are some test programs that can help. But the validators > > can tell you your code is right and it still will display differently > > in some of the browsers. The only way to do it is to do what > > the pros do - which is have all the different systems available > > and load their pages in those browsers. > > I test my pages with IE7, Safari on XP and Firefox on FreeBSD. Fixing > problems with IE6 or anything else is too much to expect from amateur > pages (which mine are). > IE6 is the last MS browser available for W2K and even though W2K was out for only a short time, (compared to XP) unlike Win98, it is a real 32 bit version of Windows, and there's still a lot of it out there. Although, after the US economic stimulus checks are received by the general populace, I'm sure that will change somewhat. (I was very tempted when I opened the Fry's Electronics advert today and saw the Toshiba laptop, dual-core CPU, 1GB ram, 160GB disk with a DVD burner, going for $449.99) > > > > Telling people "my site is fine your browser is fucked, get a > > better one" is the mark of an amateur who is also being extremely > > presumptive. It's the old "do it my way or fuck off" > > You forget that Gary is an amateur. Hence, any complaints can be dealt > with "they validate, F off and get a better browser". (When he gets > round to making them validate :) > :-) He is an amateur - but his content isn't the sort of content that is a "must have" to where people will actually go to the trouble of loading a different browser to view it. (Hint: this is why virtually all church services are free to attend) > > > > This is what Microsoft tells people - and most FreeBSDers and > > Linux people claim they are on the moral high ground because they > > aren't forcing their stuff down people's throats - that is, > > until they create a webpage and then they have no problem forcing > > software down people's throats to see it, I guess.... > > I can't see anything wrong with telling people to use better software, > you're doing them a favour! It's obviously different if you're writing > pages for a commercial site. I'm not sure I follow that... > You should still write pages that > validate and there are various hacks you can use with CSS, the DOM and > Javscript to make your pages appear OK in older broken browsers...and > newer ones with bugs. > But why do you need to do those if your telling people to get a better browser... ;-) Ted From jos at webrz.net Sun Jun 1 07:49:11 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 1 07:49:15 2008 Subject: CPU info In-Reply-To: <20080601073853.GA26495@slackbox.xs4all.nl> References: <484248F0.5000004@webrz.net> <20080601073853.GA26495@slackbox.xs4all.nl> Message-ID: <48425474.9090504@webrz.net> Roland Smith wrote: > sysutils/mbmon > On one of my computers it crashes my system. What I found about this on the Web: This is a X/tty motherboard monitor which supports LM78/79, WINBond 83781D/83782D/83783S, ASUS 991227F, and VIA VT82C686A/B PC-health chips via 3 methods: ISA-I/O, SMBus, VIA-direct. ***CAUTION*** These programs access to the SMBus or the ISA-IO port directly under the superuser privilege, so it may cause a system crash. Please test "mbmon -d" or "xmbmon -debug" first. thanks for sharing, Jos From tedm at toybox.placo.com Sun Jun 1 07:53:31 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Sun Jun 1 07:53:36 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <258326.33866.qm@web57007.mail.re3.yahoo.com> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Unga > Sent: Friday, May 30, 2008 9:14 PM > To: Steve Lake > Cc: freebsd-questions@freebsd.org > Subject: Re: Looking for gurus willing to help write Freebsd tutorials > > > "Raiden's Realm is a community tech site dedicated to > helping people learn about Linux, BSD, and open source > software." - WHO WE ARE, www.raiden.net. > > If you are honest for your site's objective, > appreciate if could drop the penguin from the site's > logo without a delay. It clearly shows your bias. > Yep, he definitely likes birds better than red sex toys... Ted From derek at computinginnovations.com Sun Jun 1 08:05:57 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Sun Jun 1 08:06:00 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: <6.0.0.22.2.20080531183045.026169e0@mail.computinginnovations.com> At 04:12 PM 5/31/2008, Kurt Buff wrote: >All, > >I'm looking to replace my current printer - a Dell 1700n - because I >can't make it work with FreeBSD/Linux. > >To replace it, I'd like to get a duplex printer, as I really hate to >waste paper. Does anyone have good experience with one that isn't >terribly expensive (expensive to me means more than US$500) and that >works with with FreeBSD? Even better if it has Ethernet. > >I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN >and T522DN, but don't know much about them. > >Anyone care to share? > >Kurt My 2 cents is I'd looks for a printer with a built-in network interface and that has postscript and pcl emulations. In addition look at the replacement toner cost and figure out the cost of ownership across 3-5 years. I would look at lexmark, and samsung. Lexmark have higher duty cycles (pages per month) and take larger toner cartidges. The samsung's make nice work group low duty cycle printers. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From jos at webrz.net Sun Jun 1 08:07:20 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 1 08:07:24 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: <484258B6.2010000@webrz.net> Kurt Buff wrote: > I'm looking to replace my current printer - a Dell 1700n - because I > can't make it work with FreeBSD/Linux. > So tell us, what is the problem? -- Jos From jos at webrz.net Sun Jun 1 08:11:12 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 1 08:11:15 2008 Subject: small office backup hardware advice In-Reply-To: <48420FF3.8000304@gmail.com> References: <48420FF3.8000304@gmail.com> Message-ID: <4842599E.5070003@webrz.net> Sdavtaker wrote: > Now, they gave me some money for backup stuff. > What will be a solid but cheap solution to keep some usefull backups? Woukd a second FreeBSD system with Samba on it be an option for some money? regards Jos From catalin at starcomms.com Sun Jun 1 08:42:45 2008 From: catalin at starcomms.com (Catalin Miclaus) Date: Sun Jun 1 08:42:49 2008 Subject: NFS drops with em0 driver In-Reply-To: References: Message-ID: <3A0AA7018522134597ED63B3B794C92A020355EE@STA-HQ-S001.starcomms.local> -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Subhro Sent: Sunday, June 01, 2008 7:06 AM To: freebsd-questions@freebsd.org Subject: NFS drops with em0 driver Hello, I am facing a strange problem on my systems. I am running FreeBSD-6.2-RELEASE-p12. My network interface uses the em driver. I am facing a lot of issues where the NFS connections are dying randomly. Is there any known bug with the em driver? I am using the SCHED_ULE scheduler. Thanks Subhro Check this: http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. _______________________________________________ freebsd-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 m.seaman at infracaninophile.co.uk Sun Jun 1 09:10:22 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Jun 1 09:10:26 2008 Subject: freeBSD PHP issues In-Reply-To: <4841CC69.5000404@unsane.co.uk> References: <7B9E3A32-180C-4D24-991A-4EF1950D50E2@kevinkempterllc.com> <4841BB5F.5050308@infracaninophile.co.uk> <4841CC69.5000404@unsane.co.uk> Message-ID: <4842676C.70401@infracaninophile.co.uk> Vince Hoffman wrote: > Matthew Seaman wrote: >> kevin kempter wrote: >>> Hi List; >>> >>> I'm fairly new to freeBSD, but a long time Linux biggot. I installed >>> freeBSD7, then I installed PHP like this: >>> >>> # cd /usr/ports/lang/php5 >>> # make config >>> # make install >>> >>> Next I installed PostgreSQL and pgFouine >>> >>> However when I run pgfouine to generate a log report I get this error: >>> >>> $ php ./pgfouine.php -file $PGDATA/pg_log/postgresql-31.log > rept.html >>> PHP Fatal error: Call to undefined function preg_replace() in >>> /usr/local/pgsql/pgfouine/include/reporting/geshi/geshi.php on line 474 >>> >>> preg_replace() I believe is a PHP built-in, anyone know how to >>> correct this, or have thoughts on what I may be doing wrong. Maybe >>> I've missed some sort of config step? >>> >> >> You need to install the PCRE module: >> >> # cd /usr/ports/devel/php5-pcre >> # make install >> >> and similarly for all of the other PHP modules you will undoubtedly >> find yourself needing. >> > A quicker way of doing this is > cd /usr/ports/lang/php5-extensions > make config > then choose what extensions you need, and then > make install clean > Actually, even that is /far/ too much effort. Now you can just install the databases/pgfouine port, which by an intriguing coincidence was committed to the ports tree just last night. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080601/9e7ec916/signature.pgp From jerrymc at msu.edu Sun Jun 1 13:34:38 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun Jun 1 13:34:42 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: References: <258326.33866.qm@web57007.mail.re3.yahoo.com> Message-ID: <20080601133028.GA51413@gizmo.acns.msu.edu> On Sun, Jun 01, 2008 at 12:54:32AM -0700, Ted Mittelstaedt wrote: > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Unga > > Sent: Friday, May 30, 2008 9:14 PM > > To: Steve Lake > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Looking for gurus willing to help write Freebsd tutorials > > > > > > "Raiden's Realm is a community tech site dedicated to > > helping people learn about Linux, BSD, and open source > > software." - WHO WE ARE, www.raiden.net. > > > > If you are honest for your site's objective, > > appreciate if could drop the penguin from the site's > > logo without a delay. It clearly shows your bias. > > > > Yep, he definitely likes birds better than red sex toys... > Yah, but he's in therapy for it. Give him something to live for and help his desparate attempt to crawl out of the pit. ////jerry > Ted > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From roberthuff at rcn.com Sun Jun 1 13:38:50 2008 From: roberthuff at rcn.com (Robert Huff) Date: Sun Jun 1 13:38:54 2008 Subject: small office backup hardware advice In-Reply-To: <48420FF3.8000304@gmail.com> References: <48420FF3.8000304@gmail.com> Message-ID: <18498.42600.288236.193974@jerusalem.litteratus.org> Sdavtaker writes: > Im working in a small office (4 PC with 80GB HD each and a > "server" with a 200GB HD). > We were working with no backups at all until now, we was just > replicating some critical data in more than 1 PC all the time, > back then there was no money for any hard copy of the data > outside of the network (maybe a couple DVDR time to time). > Now, they gave me some money for backup stuff. Roughly how much money is "some"? $1000? $5000? $10,000? Robert Huff From pieter at degoeje.nl Sun Jun 1 14:16:10 2008 From: pieter at degoeje.nl (Pieter de Goeje) Date: Sun Jun 1 14:16:12 2008 Subject: CPU info In-Reply-To: <48425474.9090504@webrz.net> References: <484248F0.5000004@webrz.net> <20080601073853.GA26495@slackbox.xs4all.nl> <48425474.9090504@webrz.net> Message-ID: <200806011616.01044.pieter@degoeje.nl> On Sunday 01 June 2008, Jos Chrispijn wrote: > Roland Smith wrote: > > sysutils/mbmon > > On one of my computers it crashes my system. What I found about this on > the Web: > > This is a X/tty motherboard monitor which supports LM78/79, WINBond > 83781D/83782D/83783S, ASUS 991227F, and VIA VT82C686A/B PC-health > chips via 3 methods: ISA-I/O, SMBus, VIA-direct. > > ***CAUTION*** > > These programs access to the SMBus or the ISA-IO port directly under > the superuser privilege, so it may cause a system crash. Please test > "mbmon -d" or "xmbmon -debug" first. > > thanks for sharing, > Jos Perhaps sysutils/healthd works for you. Also if you have a k8 processor you can use sysutils/k8temp to monitor it's temperature. For core2 processors the coretemp kernel module should work. Good luck, Pieter de Goeje From lists at adam.gs Sun Jun 1 15:52:16 2008 From: lists at adam.gs (Adam Jacob Muller) Date: Sun Jun 1 15:52:19 2008 Subject: FreeBSD CardBus Message-ID: Hi, I have a server that has a pci->cardbus adapter in it. For some reason when I connect the card (A verizon PC5750) it isn't completely detected. The only messages are: [root@test]# dmesg|grep -e cbb -e cardbus -e pccard cbb0: at device 12.0 on pci3 cbb0: Found memory at fea00000 cbb0: Secondary bus is 0 cbb0: Setting primary bus to 3 cbb0: Secondary bus set to 4 subbus 5 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] cbb0: card inserted: event=0x00000000, state=30000820 cbb0: cbb_power: 3V cbb0: cbb_power: 0V Following that, no more messages (unless I remove the card and then reinsert it, but I never get any messages beyond this). Any ideas? Also, is there any documentation for the newcard support? Most of the docs i can find are oldcard-focused. -Adam From eculp at encontacto.net Sun Jun 1 16:21:14 2008 From: eculp at encontacto.net (eculp) Date: Sun Jun 1 16:21:19 2008 Subject: Can't mount my iPhone - Maybe it need not be mounted? Message-ID: <20080601111048.20636scjpsk378kk@intranet.encontacto.net> I've not been successful at googling a way to connect freebsd current amd64 to my iPhone. Eventually, I would like to be able to sync and upload to it from an opensource substitute for iTunes, that doesn't have a version from FreeBSD. When I connect my iPhone I see: Jun 1 09:55:00 ed kernel: uhid0: on uhub3 in messages and that is it. No new device or anything that I can find. Any programs or suggestions that you have to facilitate using the iPhone will be greatly appreciated. I've been trying to use gtkpod without success because I can't mount it, I assume. Thanks, ed From fernando.apesteguia at gmail.com Sun Jun 1 16:42:18 2008 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Sun Jun 1 16:42:22 2008 Subject: ipw2200 freebsd 7 firmware problem In-Reply-To: <20080522162822.GA955@desktop.piggybox> References: <1bd550a00805201417n3ed9f7f8p9ac8524051635985@mail.gmail.com> <4833DE5B.5070803@unsane.co.uk> <1bd550a00805211431k1d9d5674v747d49d6c661c232@mail.gmail.com> <4834A036.4020809@unsane.co.uk> <1bd550a00805220011n56344761q753dc18a2e40adaf@mail.gmail.com> <48352B35.5040709@unsane.co.uk> <20080522091426.GA39680@desktop.piggybox> <48356F6E.9080809@unsane.co.uk> <20080522162822.GA955@desktop.piggybox> Message-ID: <1bd550a00806010942t1185d7e4vee02a55648bb16fa@mail.gmail.com> On Thu, May 22, 2008 at 6:28 PM, peter harrison wrote: > Thursday, 22 May 2008 at 14:04:46 +0100, Vince Hoffman said: >> peter harrison wrote: >> > Thursday, 22 May 2008 at 9:13:41 +0100, Vince Hoffman said: >> >> Fernando Apestegu?a wrote: >> >>> On 5/22/08, Vince Hoffman wrote: >> >>>> Fernando Apestegu?a wrote: >> >>>>> On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman >> >>>> wrote: >> >> >>>>>> Have you read the manpage for iwi? >> >>>>>> >> >>>>> No, I tried with iwi-firmware and iwicontrol and none of them existed. >> >>>>> >> >>>>> >> >>>>>> no ports are needed the firmware is now in the base system, Just add the >> >>>>>> entries as specified in this snippet from man iwi >> >>>>>> >> >>>>> So... shouldn't this port be removed? >> >>>>> >> >>>>> >> >>>> I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the >> >>>> port is needed for <7.x >> >>>> >> >>>>>> Alternatively, to load the driver as a module at boot time, place the >> >>>>>> following lines in loader.conf(5): >> >>>>>> >> >>>>>> if_iwi_load="YES" >> >>>>>> wlan_load="YES" >> >>>>>> firmware_load="YES" >> >>>>>> >> >>>>>> In both cases, place the following lines in loader.conf(5) to load >> >>>> the >> >>>>>> firmware modules: >> >>>>>> >> >>>>>> iwi_bss_load="YES" >> >>>>>> iwi_ibss_load="YES" >> >>>>>> iwi_monitor_load="YES" >> >>>>>> >> >>>>>> and >> >>>>>> >> >>>>>> This driver requires firmware to be loaded before it will work. For >> >>>>>> the loaded firmware to work the license at >> >>>>>> /usr/share/doc/legal/intel_iwi/LICENSE must be >> >>>> agreed to and the >> >>>>>> follow-ing line be added to loader.conf(5): >> >>>>>> >> >>>>>> legal.intel_iwi.license_ack=1 >> >>>>>> >> >>>>>> >> >>>>> I'll try it. But AFAIK, I have to recompile the kernel cause the >> >>>>> "device iwi" line is missing. >> >>>>> >> >>>>> Am i right? >> >>>>> >> >>>>> >> >>>> I think they should all be loadable as modules if they arent in generic. >> >>>> >> >>>> To try without rebooting I believe the commands you want are: >> >>>> kenv legal.intel_iwi.license_ack=1 >> >>>> kldload if_iwi >> >>>> kldload wlan >> >>>> kldload firmware >> >>>> kldload iwi_bss >> >>>> kldload iwi_ibss >> >>>> kldload iwi_monitor >> >>>> >> >>>> However, I just had a look in my /boot/kernel for the if_iwi module and its >> >>>> not there so you may be correct. (I'm a touch supprised as the do exist on >> >>>> my i386 box) >> >>> The same on my machine. The line is not in GENERIC and that modules >> >>> don't exist. I will recompile my module as soon as I have some spare >> >>> time. >> >>> Thanks for your help. >> >>> >> >> In theory you should be able to just >> >> cd /usr/src/sys/modules/iwi >> >> make && make install >> >> cd /usr/src/sys/modules/iwifw >> >> make && make install >> >> >> >> >> >> without rebuilding the entire kernel. I'm just puzzled why they dont >> >> build by default. >> > >> > I'm running a stock 7.0-STABLE with GENERIC and a default make.conf and I get the iwi modules no problem. I just followed the instructions in the man page and was up and running in 5 minutes. >> > >> > >> Are you running AMD64? the modules are there on my i386 laptop but not >> my AMD64 server (I dont use iwi on either though.) > > I'm running i386, so that may be the difference. I don't have an AMD64 system to check I'm afraid. Hi all again, I recompiled my kernel and now, the IPW2200BG card seems to be detected. This is the output of the ifconfig re0 command: iwi0: flags=8802 metric 0 mtu 1500 ether 00:0e:35:fd:aa:0f media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid ApeWireless channel 1 (2412 Mhz 11b) authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 bintval 0 However, neither I can connect to my wireless router, nor I can scan the frequency. My wireless AP, has a hidden SSID, wep key and DHCP. Scanning of frequencies shows no results (but there are many wireless networks around). Any ideas? Thanks in advance. > > > Peter Harrison. > >> >> vince >> >> > Peter Harrison >> > >> >> >> >> Vince >> >> >> >> >> >>> Best Regards >> >>> >> >>>> regards, >> >>>> Vince >> >>>> >> >>>> >> >> _______________________________________________ >> >> freebsd-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 dkelly at hiwaay.net Sun Jun 1 18:39:50 2008 From: dkelly at hiwaay.net (David Kelly) Date: Sun Jun 1 18:39:55 2008 Subject: Duplex printer advice In-Reply-To: <6.0.0.22.2.20080531183045.026169e0@mail.computinginnovations.com> References: <6.0.0.22.2.20080531183045.026169e0@mail.computinginnovations.com> Message-ID: <33C49E26-65AE-4F2C-8238-D9DC58F70E91@hiwaay.net> On May 31, 2008, at 6:34 PM, Derek Ragona wrote: > At 04:12 PM 5/31/2008, Kurt Buff wrote: >> All, >> >> I'm looking to replace my current printer - a Dell 1700n - because I >> can't make it work with FreeBSD/Linux. >> >> To replace it, I'd like to get a duplex printer, as I really hate to >> waste paper. Does anyone have good experience with one that isn't >> terribly expensive (expensive to me means more than US$500) and that >> works with with FreeBSD? Even better if it has Ethernet. >> >> I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN >> and T522DN, but don't know much about them. >> >> Anyone care to share? >> >> Kurt > > My 2 cents is I'd looks for a printer with a built-in network > interface and that has postscript and pcl emulations. In addition > look at the replacement toner cost and figure out the cost of > ownership across 3-5 years. > > I would look at lexmark, and samsung. Lexmark have higher duty > cycles (pages per month) and take larger toner cartidges. The > samsung's make nice work group low duty cycle printers. Lexmark and Dell are infamous for expensive toner-lock-ins. We had this discussion months ago where I recommended a Brother HL-5250DN. I have about 12,000 trouble free pages on mine, just don't bother trying to print envelopes. Has ethernet, duplex, postscript emulation, PCL-6, just about everything but a paper tray large enough to hold a full ream. Multiple paper trays are an available but expensive and rare option. Readily available from Staples and other places for $250. Refurbished units occasionally appear for $100. The usual 3rd party toner places have refills for under $20 that I've found are good for about 6,000 dense pages. $187: http://bensbargains.net/deal/66407/ Staples recently (no longer) had refurbished Brother MFC-8660DN on sale for $200. Appears to be the same printer and features plus scanner with paper feed, and fax. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From karlj000 at unbc.ca Sun Jun 1 19:02:14 2008 From: karlj000 at unbc.ca (Jeremy Karlson) Date: Sun Jun 1 19:02:18 2008 Subject: 7-STABLE Watchdog Timeout In-Reply-To: <48423FA4.1080801@webrz.net> References: <164F5576-6023-4873-A1FE-CBAFD2E612A4@unbc.ca> <48423FA4.1080801@webrz.net> Message-ID: Jos, I tried setting "PNP OS" to both "YES" and "NO." Neither made any sort of difference. As for your suggestion on the web site: That seemed pretty likely to me, but disabling ACPI and APIC didn't make any difference either. Thanks for the ideas though. -- Jeremy On 31-May-08, at 23:20, Jos Chrispijn wrote: > Jeremy, > > Perhaps this link could give you the solution to your problem: > > http://www.linuxquestions.org/questions/bsd-17/rl0-watchdog-timeout-519599/ > > regards, > Jos > > Jeremy Karlson wrote: >> Hi, >> >> I'm in the process of moving a Subversion server from a 5-STABLE >> machine to a freshly installed 7-STABLE machine. I've moved the >> network card (a Linksys EG1032v3, RTL8169S/8110S/8211B based) from >> the old machine (where it worked before) to this new machine. Now, >> I get: >> >> re0: watchdog timeout > _______________________________________________ > freebsd-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 Sun Jun 1 19:18:57 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Sun Jun 1 19:19:01 2008 Subject: Duplex printer advice In-Reply-To: <33C49E26-65AE-4F2C-8238-D9DC58F70E91@hiwaay.net> References: <6.0.0.22.2.20080531183045.026169e0@mail.computinginnovations.com> <33C49E26-65AE-4F2C-8238-D9DC58F70E91@hiwaay.net> Message-ID: On Sun, Jun 1, 2008 at 11:26 AM, David Kelly wrote: > > On May 31, 2008, at 6:34 PM, Derek Ragona wrote: > >> At 04:12 PM 5/31/2008, Kurt Buff wrote: >>> >>> All, >>> >>> I'm looking to replace my current printer - a Dell 1700n - because I >>> can't make it work with FreeBSD/Linux. >>> >>> To replace it, I'd like to get a duplex printer, as I really hate to >>> waste paper. Does anyone have good experience with one that isn't >>> terribly expensive (expensive to me means more than US$500) and that >>> works with with FreeBSD? Even better if it has Ethernet. >>> >>> I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN >>> and T522DN, but don't know much about them. >>> >>> Anyone care to share? >>> >>> Kurt >> >> My 2 cents is I'd looks for a printer with a built-in network interface >> and that has postscript and pcl emulations. In addition look at the >> replacement toner cost and figure out the cost of ownership across 3-5 >> years. >> >> I would look at lexmark, and samsung. Lexmark have higher duty cycles >> (pages per month) and take larger toner cartidges. The samsung's make nice >> work group low duty cycle printers. > > Lexmark and Dell are infamous for expensive toner-lock-ins. > > We had this discussion months ago where I recommended a Brother HL-5250DN. I > have about 12,000 trouble free pages on mine, just don't bother trying to > print envelopes. > > Has ethernet, duplex, postscript emulation, PCL-6, just about everything but > a paper tray large enough to hold a full ream. Multiple paper trays are an > available but expensive and rare option. > > Readily available from Staples and other places for $250. Refurbished units > occasionally appear for $100. The usual 3rd party toner places have refills > for under $20 that I've found are good for about 6,000 dense pages. > > $187: http://bensbargains.net/deal/66407/ > > Staples recently (no longer) had refurbished Brother MFC-8660DN on sale for > $200. Appears to be the same printer and features plus scanner with paper > feed, and fax. > > -- > David Kelly N4HHE, dkelly@HiWAAY.net > ======================================================================== > Whom computers would destroy, they must first drive mad. I am staring at the buy.com page now, card in hand. Thanks - this is the kind of recommendation I needed. Kurt From kline at thought.org Sun Jun 1 19:46:34 2008 From: kline at thought.org (Gary Kline) Date: Sun Jun 1 19:46:39 2008 Subject: Duplex printer advice In-Reply-To: <33C49E26-65AE-4F2C-8238-D9DC58F70E91@hiwaay.net> References: <6.0.0.22.2.20080531183045.026169e0@mail.computinginnovations.com> <33C49E26-65AE-4F2C-8238-D9DC58F70E91@hiwaay.net> Message-ID: <1212348169.92955.7.camel@tao.thought.org> On Sun, 2008-06-01 at 13:26 -0500, David Kelly wrote: > On May 31, 2008, at 6:34 PM, Derek Ragona wrote: > > > At 04:12 PM 5/31/2008, Kurt Buff wrote: > >> All, > >> > >> I'm looking to replace my current printer - a Dell 1700n - because I > >> can't make it work with FreeBSD/Linux. > >> > >> To replace it, I'd like to get a duplex printer, as I really hate to > >> waste paper. Does anyone have good experience with one that isn't > >> terribly expensive (expensive to me means more than US$500) and that > >> works with with FreeBSD? Even better if it has Ethernet. > >> > >> I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN > >> and T522DN, but don't know much about them. > >> > >> Anyone care to share? > >> > >> Kurt > > > > My 2 cents is I'd looks for a printer with a built-in network > > interface and that has postscript and pcl emulations. In addition > > look at the replacement toner cost and figure out the cost of > > ownership across 3-5 years. > > > > I would look at lexmark, and samsung. Lexmark have higher duty > > cycles (pages per month) and take larger toner cartidges. The > > samsung's make nice work group low duty cycle printers. > > Lexmark and Dell are infamous for expensive toner-lock-ins. > > We had this discussion months ago where I recommended a Brother > HL-5250DN. I have about 12,000 trouble free pages on mine, just don't > bother trying to print envelopes. > > Has ethernet, duplex, postscript emulation, PCL-6, just about > everything but a paper tray large enough to hold a full ream. Multiple > paper trays are an available but expensive and rare option. > > Readily available from Staples and other places for $250. Refurbished > units occasionally appear for $100. The usual 3rd party toner places > have refills for under $20 that I've found are good for about 6,000 > dense pages. > > $187: http://bensbargains.net/deal/66407/ > > Staples recently (no longer) had refurbished Brother MFC-8660DN on > sale for $200. Appears to be the same printer and features plus > scanner with paper feed, and fax. > I second this suggestion since my Brother HL-5250DN just-worked once it was plugged into my hub. It was $179 at Costco a few months back, has all the features that David mentions, and builtin Postscript|clone. It just prints--nothing fancy--but then hey... . gary > -- > David Kelly N4HHE, dkelly@HiWAAY.net > ======================================================================== > Whom computers would destroy, they must first drive mad. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From rsmith at xs4all.nl Sun Jun 1 20:13:05 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Jun 1 20:13:09 2008 Subject: Can't mount my iPhone - Maybe it need not be mounted? In-Reply-To: <20080601111048.20636scjpsk378kk@intranet.encontacto.net> References: <20080601111048.20636scjpsk378kk@intranet.encontacto.net> Message-ID: <20080601201256.GA48191@slackbox.xs4all.nl> On Sun, Jun 01, 2008 at 11:10:48AM -0500, eculp wrote: > I've not been successful at googling a way to connect freebsd current > amd64 to my iPhone. Eventually, I would like to be able to sync and > upload to it from an opensource substitute for iTunes, that doesn't > have a version from FreeBSD. > > When I connect my iPhone I see: > > Jun 1 09:55:00 ed kernel: uhid0: 2.00/0.01, addr 2> on uhub3 > > in messages and that is it. No new device or anything that I can find. > > Any programs or suggestions that you have to facilitate using the > iPhone will be greatly appreciated. I've been trying to use gtkpod > without success because I can't mount it, I assume. The pags for libgpod (http://www.gtkpod.org/libgpod.html), on which gtkpod depends, says: "There's also preliminary support for the iPhone and the iPod Touch but they must be jailbroken to work." Whatever that means. :-) 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080601/ab685e3f/attachment.pgp From jerrymc at msu.edu Sun Jun 1 20:32:26 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun Jun 1 20:32:30 2008 Subject: small office backup hardware advice In-Reply-To: <18498.42600.288236.193974@jerusalem.litteratus.org> References: <48420FF3.8000304@gmail.com> <18498.42600.288236.193974@jerusalem.litteratus.org> Message-ID: <20080601202815.GA55808@gizmo.acns.msu.edu> On Sun, Jun 01, 2008 at 09:38:48AM -0400, Robert Huff wrote: > Sdavtaker writes: > Im working in a small office (4 PC with 80GB HD each and a > "server" with a 200GB HD). > We were working with no backups at all until now, we was just > replicating some critical data in more than 1 PC all the time, > back then there was no money for any hard copy of the data > outside of the network (maybe a couple DVDR time to time). > Now, they gave me some money for backup stuff. Depends on just what you need. If you just want to cover a system failure, then maybe you should get some USB connected hard drives. They are pretty cheap now. If you have 4 80 GB drives to back up, then get at least 3 drives with 350 GB space or more. Use fdisk/disklabel/newfs to create 4 (or more) 90 GB filesystems on each drive. Then set up a rotation of those drives so you use dump(8) to back up each current file system that has important data to those USB drives. So, PC A gets dumped to filesystem da0s1a, PC B to da0s1b, etc. Say there is a root, /usr and /data file systems that you want to back up, just for example, then you would plug in the USB disk and mount them something like this. On PC A, mount /da0s1a /pcabak dump 0aLf /pcabak/root.bak / dump 0aLf /pcabak/usr.bak /usr dump OaLf /pcbak/data.bak /data Then on PC B, mount /da0s1b /pcbbak dump 0aLf /pcbbak/root.bak / dump 0aLf /pcbbak/usr.bak /usr dump OaLf /pcbak/data.bak /data This will crate three appropriately named backup files for each PC on the USB disk. This is presuming the USB connects as /dev/da0 It could be something else if you have other SCSI devices. So, it might ende up as /dev/da1 or something like that. Really, you don't need all the extra partitions and filesystems. Just make one and create appropriately named directories. But the separate filesystems will enforce separation of that us useful to you. Or, since there are just exactly 4 systems and it is possible to make up to 4 slices on a drive, then make 4 slices and then partitions within each slice to match those on the current machines. Say you want, for some reason, to back up partitions a, d, e of PC A and partitions d, f, g of PC B, etc (just grabbing partitions out of the hat here to use as example here), then Make slice 1 for PC A, slice 2 for PC b, slice 3 for PC C and slice 4 for PC D on each USB disk. Then make partitions a, d, e on slice 1, d, f, g on slice 2, etc. Use newfs(8) to build file systems of each of those partitions and then use dump to create the dump files in each. That makes sense but may be more bother then really needed, since you can distinguish the dumps just by the names you give them. If you must create archive backups, then you will probably want to go to a good tape system, such as DLT or LTO tapes. But, they are so expensive relative to buying a handful of 350 - 500 GB USB hard drives that you should think carefully about your needs before deciding. Have fun, ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wa4geg at netscape.net Sun Jun 1 21:08:52 2008 From: wa4geg at netscape.net (wa4geg@netscape.net) Date: Sun Jun 1 21:08:57 2008 Subject: Sound skipping problem; Asus A8V-X w/ VIA VT8251/8237A on-board HDA (sound) Message-ID: <8CA9242D10E4D77-1E28-4523@webmail-stg-d07.sysops.aol.com> >> Help, I've googled my fingers off up to the elbow and no luck:o) >> Sound works but skips or has gaps at about 1 second intervals. >> I'm running a fresh install of FreeBSD 7.0 Release (AMD64.) >> >> /boot/loader.conf contains: >> > >snd_hda_load="YES" >> >> > >You might want to play with some hw.snd sysctls, especially; > hw.snd.latency_profile (set to zero) >hw.snd.latency (set to lower value) >hw.snd.feeder_buffersize (increase) >Roland Thanks for the suggestion Roland. Sound is still ticking/clicking after adding the following sysctl.conf entries (and rebooting of course;) hw.snd.latency_profile=0 hw.snd.latency=0 hw.snd.feeder_buffersize=16384 And additional info; after changing hw.snd.maxautovchans from 2 to 0 just to see if it had any effect on the skips and clicks: $ sysctl -a | grep snd hw.snd.latency_profile: 0 hw.snd.latency: 0 hw.snd.report_soft_formats: 1 hw.snd.compat_linux_mmap: 0 hw.snd.feeder_buffersize: 16384 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.verbose: 1 hw.snd.maxautovchans: 0 hw.snd.default_unit: 0 hw.snd.version: 2007061600/amd64 hw.snd.default_auto: 0 $ sysctl -a | grep pcm dev.pcm.0.%desc: VIA VT8251/8237A High Definition Audio Controller dev.pcm.0.%driver: pcm dev.pcm.0.%location: slot=1 function=0 handle=\_SB_.PCI0.P0P7.AZAL dev.pcm.0.%pnpinfo: vendor=0x1106 device=0x3288 subvendor=0x1043 subdevice=0x818f class=0x040300 dev.pcm.0.%parent: pci2 dev.pcm.0.play.vchans: 0 dev.pcm.0.rec.vchans: 0 dev.pcm.0.buffersize: 16384 dev.pcm.0.polling: 0 dev.pcm.0.polling_interval: 250 Regards, Byron C From jrisom at gmail.com Sun Jun 1 21:13:12 2008 From: jrisom at gmail.com (Joshua Isom) Date: Sun Jun 1 21:13:17 2008 Subject: Can't mount my iPhone - Maybe it need not be mounted? In-Reply-To: <20080601111048.20636scjpsk378kk@intranet.encontacto.net> References: <20080601111048.20636scjpsk378kk@intranet.encontacto.net> Message-ID: <53cadfa4b6ba32a924675c001e8cc1b7@gmail.com> To be able to mount your iPhone, you're going to have to essentially void the warranty and risk turning it into a pretty paperweight. It sucks, but that's the way it is. But at least you can charge your iPhone using FreeBSD. On Jun 1, 2008, at 11:10 AM, eculp wrote: > I've not been successful at googling a way to connect freebsd current > amd64 to my iPhone. Eventually, I would like to be able to sync and > upload to it from an opensource substitute for iTunes, that doesn't > have a version from FreeBSD. > > When I connect my iPhone I see: > > Jun 1 09:55:00 ed kernel: uhid0: 2.00/0.01, addr 2> on uhub3 > > in messages and that is it. No new device or anything that I can find. > > Any programs or suggestions that you have to facilitate using the > iPhone will be greatly appreciated. I've been trying to use gtkpod > without success because I can't mount it, I assume. > > Thanks, > > 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 brennanma at gmail.com Sun Jun 1 21:57:15 2008 From: brennanma at gmail.com (Matt Brennan) Date: Sun Jun 1 21:57:23 2008 Subject: Static NAT and PAT on FreeBSD 6.2 Message-ID: <1c01b5070806011433leedf20fl2826e3e3845fa7fc@mail.gmail.com> Hi All, I am running FreeBSD 6.2-release. I have been running PAT via natd and ipfw for some time now and it runs great. However, I continue to try and employ static NAT on this router, and as soon as I do so all other clients lose routing. My natd.conf is as below: unregistered_only use_sockets log_ipfw_denied redirect_address 10.100.1.2 66.92.79.20 alias_address 66.92.79.89 Whenever I run with this configuration all clients except the static'ed one lose routing out of the building. I have tried switching the order of the alias_address and redirect_address. Any help is appreciated. -Matt From tedm at toybox.placo.com Sun Jun 1 22:24:28 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Sun Jun 1 22:24:33 2008 Subject: FreeBSD CardBus In-Reply-To: Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Adam Jacob > Muller > Sent: Sunday, June 01, 2008 8:52 AM > To: freebsd-questions@freebsd.org > Subject: FreeBSD CardBus > > > Hi, > I have a server that has a pci->cardbus adapter in it. > For some reason when I connect the card (A verizon PC5750) it isn't > completely detected. The only messages are: > > > [root@test]# dmesg|grep -e cbb -e cardbus -e pccard > cbb0: at device 12.0 on pci3 > cbb0: Found memory at fea00000 > cbb0: Secondary bus is 0 > cbb0: Setting primary bus to 3 > cbb0: Secondary bus set to 4 subbus 5 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb0: [ITHREAD] > cbb0: card inserted: event=0x00000000, state=30000820 > cbb0: cbb_power: 3V > cbb0: cbb_power: 0V > > How do you know it's supported under FreeBSD? Ted From sfourman at gmail.com Sun Jun 1 22:26:09 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sun Jun 1 22:26:17 2008 Subject: Cannot open /etc/termcap Message-ID: <11167f520806011526v438bc9f1j8ccf4c174ea35761@mail.gmail.com> I have a FreeBSD 6.2 server installed in June of 2007 yesterday I did a portsnap fetch update and a portupgrade -ar now when I ssh in I get the following error csh: Cannot open /etc/termcap. csh: using dumb terminal settings. as a result I can not run vi nor can I build /usr/ports/editors/vim can anyone help? Sam Fourman Jr. From tedm at toybox.placo.com Sun Jun 1 22:43:12 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Sun Jun 1 22:43:17 2008 Subject: Duplex printer advice In-Reply-To: <1212348169.92955.7.camel@tao.thought.org> Message-ID: -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gary Kline Sent: Sunday, June 01, 2008 12:23 PM To: FreeBSD Questions Cc: Kurt Buff; Derek Ragona Subject: Re: Duplex printer advice >I second this suggestion since my Brother HL-5250DN just-worked once it >was plugged into my hub. It was $179 at Costco a few months back, has >all the features that David mentions, and builtin Postscript|clone. >It just prints--nothing fancy--but then hey... . Just one warning about these. The toner empty light blinks use the same pattern as the fuser fail. And, unlike the HP units, you usually can't "shake down" the cartridge to get an extra hundred or so pages out of it. Don't jump to conclusions that the fuser is bad when it's out of toner. Ted From kurt.buff at gmail.com Sun Jun 1 22:49:06 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Sun Jun 1 22:49:09 2008 Subject: Duplex printer advice In-Reply-To: <33C49E26-65AE-4F2C-8238-D9DC58F70E91@hiwaay.net> References: <6.0.0.22.2.20080531183045.026169e0@mail.computinginnovations.com> <33C49E26-65AE-4F2C-8238-D9DC58F70E91@hiwaay.net> Message-ID: On Sun, Jun 1, 2008 at 11:26 AM, David Kelly wrote: > > On May 31, 2008, at 6:34 PM, Derek Ragona wrote: > >> At 04:12 PM 5/31/2008, Kurt Buff wrote: >>> >>> All, >>> >>> I'm looking to replace my current printer - a Dell 1700n - because I >>> can't make it work with FreeBSD/Linux. >>> >>> To replace it, I'd like to get a duplex printer, as I really hate to >>> waste paper. Does anyone have good experience with one that isn't >>> terribly expensive (expensive to me means more than US$500) and that >>> works with with FreeBSD? Even better if it has Ethernet. >>> >>> I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN >>> and T522DN, but don't know much about them. >>> >>> Anyone care to share? >>> >>> Kurt >> >> My 2 cents is I'd looks for a printer with a built-in network interface >> and that has postscript and pcl emulations. In addition look at the >> replacement toner cost and figure out the cost of ownership across 3-5 >> years. >> >> I would look at lexmark, and samsung. Lexmark have higher duty cycles >> (pages per month) and take larger toner cartidges. The samsung's make nice >> work group low duty cycle printers. > > Lexmark and Dell are infamous for expensive toner-lock-ins. > > We had this discussion months ago where I recommended a Brother HL-5250DN. I > have about 12,000 trouble free pages on mine, just don't bother trying to > print envelopes. > > Has ethernet, duplex, postscript emulation, PCL-6, just about everything but > a paper tray large enough to hold a full ream. Multiple paper trays are an > available but expensive and rare option. > > Readily available from Staples and other places for $250. Refurbished units > occasionally appear for $100. The usual 3rd party toner places have refills > for under $20 that I've found are good for about 6,000 dense pages. > > $187: http://bensbargains.net/deal/66407/ > > Staples recently (no longer) had refurbished Brother MFC-8660DN on sale for > $200. Appears to be the same printer and features plus scanner with paper > feed, and fax. > > -- > David Kelly N4HHE, dkelly@HiWAAY.net > ======================================================================== > Whom computers would destroy, they must first drive mad. As a matter of not going mad - what driver are you using for this printer? Kurt From kurt.buff at gmail.com Sun Jun 1 22:49:36 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Sun Jun 1 22:49:40 2008 Subject: Duplex printer advice In-Reply-To: References: <1212348169.92955.7.camel@tao.thought.org> Message-ID: On Sun, Jun 1, 2008 at 3:23 PM, Ted Mittelstaedt wrote: > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gary Kline > Sent: Sunday, June 01, 2008 12:23 PM > To: FreeBSD Questions > Cc: Kurt Buff; Derek Ragona > Subject: Re: Duplex printer advice > > >>I second this suggestion since my Brother HL-5250DN just-worked once it >>was plugged into my hub. It was $179 at Costco a few months back, has >>all the features that David mentions, and builtin Postscript|clone. >>It just prints--nothing fancy--but then hey... . > > Just one warning about these. > > The toner empty light blinks use the same pattern as the > fuser fail. And, unlike the HP units, you usually can't > "shake down" the cartridge to get an extra hundred or > so pages out of it. Don't jump to conclusions that the > fuser is bad when it's out of toner. > > Ted Good to know. Thanks. Kurt From tom at shockergroup.com Sun Jun 1 23:42:18 2008 From: tom at shockergroup.com (Tom Ierna) Date: Sun Jun 1 23:42:24 2008 Subject: Can't mount my iPhone - Maybe it need not be mounted? In-Reply-To: <53cadfa4b6ba32a924675c001e8cc1b7@gmail.com> References: <20080601111048.20636scjpsk378kk@intranet.encontacto.net> <53cadfa4b6ba32a924675c001e8cc1b7@gmail.com> Message-ID: <31470F5A-473A-41F5-A0C9-ECC96F2B9183@shockergroup.com> On Jun 1, 2008, at 5:13 PM, Joshua Isom wrote: > To be able to mount your iPhone, you're going to have to essentially > void the warranty and risk turning it into a pretty paperweight. It > sucks, but that's the way it is. But at least you can charge your > iPhone using FreeBSD. If using libgpod through gtkpod only requires the iPhone be jailbroken, the above is not true. Jailbreaking your iPhone does not void the warranty, and there is very little chance of bricking it by just jailbreaking it. Bricking used to be an issue when mucking with the radio firmware, but jailbreaking doesn't touch that stuff. To jailbreak an iPhone, check out http://ziphone.org/ You will need either a Windows or Mac to do the Jailbreak though. -- Tom Ierna President Shockergroup, Inc. From chuckr at telenix.org Mon Jun 2 00:36:02 2008 From: chuckr at telenix.org (Chuck Robey) Date: Mon Jun 2 00:36:08 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: <48433E2E.3070004@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ted Mittelstaedt wrote: > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gary Kline > Sent: Sunday, June 01, 2008 12:23 PM > To: FreeBSD Questions > Cc: Kurt Buff; Derek Ragona > Subject: Re: Duplex printer advice > > >> I second this suggestion since my Brother HL-5250DN just-worked once it >> was plugged into my hub. It was $179 at Costco a few months back, has >> all the features that David mentions, and builtin Postscript|clone. >> It just prints--nothing fancy--but then hey... . > > Just one warning about these. > > The toner empty light blinks use the same pattern as the > fuser fail. And, unlike the HP units, you usually can't > "shake down" the cartridge to get an extra hundred or > so pages out of it. Don't jump to conclusions that the > fuser is bad when it's out of toner. Man, this is really going to look like I'm never satisfied, which I guess is actually true, so why am I worried about that? thanks to this thread, I found out about the Brother printers ... my own requirements list includes (color duplex printer scanner). I don't need it to be a laser, but I do need both color, multifunc, and duplex printing. I spotted the Brother the DCP-9045CDN, but at $700 list, I begin to wonder if I could find one with the same specs ESCEPTING it was the cheaper technology of inkjet. Didn't find a Brother like that, but I'm not finished looking for used 9045's, and I didn;'t get your comments about it ... please don't spend time trying to talk me out of features like color, or duplex, I like both too well. I might be talked out of it being multifunction, but it's be a fight for sure. The reasoning behind going to inkjet is because I'm currently on a tight budget. I really would like to pay no more than about half that $700. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIQz4tz62J6PPcoOkRAmFZAKCJ4AJcZx5LpsXUdeVVVWA+fD7I6wCeMNLK 3iU8Y97qg1foFf0i7ICxWn4= =I3NO -----END PGP SIGNATURE----- From dkelly at hiwaay.net Mon Jun 2 01:06:59 2008 From: dkelly at hiwaay.net (David Kelly) Date: Mon Jun 2 01:07:04 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: On Jun 1, 2008, at 5:23 PM, Ted Mittelstaedt wrote: > Just one warning about these. > > The toner empty light blinks use the same pattern as the > fuser fail. And, unlike the HP units, you usually can't > "shake down" the cartridge to get an extra hundred or > so pages out of it. Don't jump to conclusions that the > fuser is bad when it's out of toner. An irony of this printer is a new drum is $180 MSRP but refurbished 5250's or 5240's are about $100. If ever my drum needs replacement I'll buy a refurbished printer. The 5240 is the same thing but without network, duplex, or postscript. So when buying for spare parts its just as good as a 5250. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From mlobon at ig.com.br Mon Jun 2 01:17:31 2008 From: mlobon at ig.com.br (Mario Lobo) Date: Mon Jun 2 01:17:38 2008 Subject: downgrading /sys/src In-Reply-To: <7daacbbe0805311405k2614a519p58c4d731c3f5ef1d@mail.gmail.com> References: <200805311610.51979.mlobon@ig.com.br> <7daacbbe0805311405k2614a519p58c4d731c3f5ef1d@mail.gmail.com> Message-ID: <200806012218.29795.mlobon@ig.com.br> On Saturday 31 May 2008 18:05:24 Dominique Goncalves wrote: > Hi, > > On 5/31/08, Mario Lobo wrote: > > This may sound wierd but let me explain why. > > > > On last may/26, I added a Sound Blaster Live to my machine and I wanted > > to activate the midi interface of the emu10kx driver. I know there were > > some memory and timming problems but I wanted to experiment. So I did a > > csup to 7_CURRENT (which is the tag I always use) then edited emu10kx to > > coment out the #if 0 that excludes the midi code. I took the oportunity > > to coment the drivers I did not need to make the kernel smaller. > > Recompiled and loaded emu10kx from loader.conf. the Kernel crashed right > > after the acpi_hpet driver load. But by loading emu10kx later, there was > > no crash and SB board worked fine. > > > > A hunch told me to save kernel.old so I moved it to kernel.good which is: > > FreeBSD lobo 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu May 22 18:32:28 BRT > > 2008 root@lobo:/usr/src/sys/i386/compile/LOBO i386 > > > > After that I went on to make some DVD backups with k3b which ALWAYS > > worked fine and now, after this upgrade, k3b keeps crashing without > > finishing. Software and device buffers usage behaved erratically, and > > even if it doesn't crash, it stops in around 30% with a write error. I > > lost a few DVDs, since I suspected the DVD+RW may have had something to > > do with the problem. I recompiled k3b (and the other ports around it) but > > results were the same. > > > > Anyway, after several unsuccessful attempts to correct the problem by > > removing/re-adding kernel drivers, recompiles and even removing the SB > > board, I decided to move /boot/kernel to kernel.new, and copied > > kernel.good to kernel and voil? ! Everything went back to normal and > > worked fine! > > > > What I want to do is to make a copy of my current /src/sys, revert it > > back to what it was in may/22 (kernel.good) and compare it with the > > current /src/sys to see what changed that provoked this behavior. I > > suspect of ata and memory handling changes but it's just a guess. I'd > > have to have both sources to compare. > > > > So my question is: How can I get my /src/sys back to what it was in > > may/22? can this be done? > > You could use the 'date=' option in your stable-supfile: > *default release=cvs tag=RELENG_7 date=20080522000000 > > man 1 csup for more details > > Hope this helps > Thanks ! that did it !! but the date format should so: date=2008.05.22.00.00.00 I am going to dig in and see if I can find out what happened. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From dkelly at hiwaay.net Mon Jun 2 01:17:41 2008 From: dkelly at hiwaay.net (David Kelly) Date: Mon Jun 2 01:17:46 2008 Subject: Duplex printer advice In-Reply-To: References: <6.0.0.22.2.20080531183045.026169e0@mail.computinginnovations.com> <33C49E26-65AE-4F2C-8238-D9DC58F70E91@hiwaay.net> Message-ID: <8E9357B1-7AA4-491C-A0AD-B0673311883C@hiwaay.net> On Jun 1, 2008, at 5:49 PM, Kurt Buff wrote: > As a matter of not going mad - what driver are you using for this > printer? Search the list archives, Gary Kline is the latest to have worked out those specific details. I usually use apsfilter but haven't reinstalled it since the wipe and reinstall of my ports after upgrading to 7.0-stable. Most of my 12,000 pages were printed from MacOS X. At another location I have a FreeBSD 5.4 or 5.5 machine with something like 600 days of uptime which uses apsfilter, ghostscript via hpdj driver, to the PCL-5 network interface on a Kyocera printer. Ironically the Kyocera has a postscript interface but we never figured out how/who was turning it off. Know the hooks are there in the print system to enable duplex but haven't made much use of them from FreeBSD. Most all of my 12,000 pages were duplex. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From sdavtaker at gmail.com Mon Jun 2 01:59:58 2008 From: sdavtaker at gmail.com (Sdavtaker) Date: Mon Jun 2 02:00:02 2008 Subject: small office backup hardware advice In-Reply-To: <20080601202815.GA55808@gizmo.acns.msu.edu> References: <48420FF3.8000304@gmail.com> <18498.42600.288236.193974@jerusalem.litteratus.org> <20080601202815.GA55808@gizmo.acns.msu.edu> Message-ID: <48435413.9070208@gmail.com> The rotative HDs sounds like a nice approach, i will check some prices and see what i can get here. Thanks for the info, I will try the dump way, it should be enough :-) Damian Jerry McAllister wrote: > On Sun, Jun 01, 2008 at 09:38:48AM -0400, Robert Huff wrote: > > >> Sdavtaker writes: >> > > > Im working in a small office (4 PC with 80GB HD each and a > > "server" with a 200GB HD). > > We were working with no backups at all until now, we was just > > replicating some critical data in more than 1 PC all the time, > > back then there was no money for any hard copy of the data > > outside of the network (maybe a couple DVDR time to time). > > Now, they gave me some money for backup stuff. > > Depends on just what you need. If you just want to cover a system > failure, then maybe you should get some USB connected hard drives. > They are pretty cheap now. > > If you have 4 80 GB drives to back up, then get at least 3 drives > with 350 GB space or more. > > Use fdisk/disklabel/newfs to create 4 (or more) 90 GB filesystems > on each drive. > Then set up a rotation of those drives so you use dump(8) to back up > each current file system that has important data to those USB drives. > So, PC A gets dumped to filesystem da0s1a, PC B to da0s1b, etc. > > Say there is a root, /usr and /data file systems that you want to > back up, just for example, then you would plug in the USB disk > and mount them something like this. > > On PC A, > mount /da0s1a /pcabak > dump 0aLf /pcabak/root.bak / > dump 0aLf /pcabak/usr.bak /usr > dump OaLf /pcbak/data.bak /data > > Then on PC B, > mount /da0s1b /pcbbak > dump 0aLf /pcbbak/root.bak / > dump 0aLf /pcbbak/usr.bak /usr > dump OaLf /pcbak/data.bak /data > > This will crate three appropriately named backup files for each > PC on the USB disk. This is presuming the USB connects as /dev/da0 > It could be something else if you have other SCSI devices. So, it > might ende up as /dev/da1 or something like that. > > Really, you don't need all the extra partitions and filesystems. > Just make one and create appropriately named directories. But > the separate filesystems will enforce separation of that us > useful to you. > > > Or, since there are just exactly 4 systems and it is possible to > make up to 4 slices on a drive, then make 4 slices and then > partitions within each slice to match those on the current machines. > Say you want, for some reason, to back up partitions a, d, e of > PC A and partitions d, f, g of PC B, etc (just grabbing partitions > out of the hat here to use as example here), then > > Make slice 1 for PC A, slice 2 for PC b, slice 3 for PC C and slice 4 for PC D > on each USB disk. > > Then make partitions a, d, e on slice 1, d, f, g on slice 2, etc. > Use newfs(8) to build file systems of each of those partitions and > then use dump to create the dump files in each. That makes sense > but may be more bother then really needed, since you can distinguish > the dumps just by the names you give them. > > If you must create archive backups, then you will probably want to go > to a good tape system, such as DLT or LTO tapes. But, they are so > expensive relative to buying a handful of 350 - 500 GB USB hard drives > that you should think carefully about your needs before deciding. > > Have fun, > > ////jerry > > > >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> From perryh at pluto.rain.com Mon Jun 2 03:12:56 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Jun 2 03:13:00 2008 Subject: Duplex printer advice In-Reply-To: <48433E2E.3070004@telenix.org> References: <48433E2E.3070004@telenix.org> Message-ID: <48436241.p30RneQAiB4AljM0%perryh@pluto.rain.com> > my own requirements list includes (color duplex printer scanner). > I don't need it to be a laser, but I do need both color, multifunc, > and duplex printing ... I begin to wonder if I could find one with > the same specs ESCEPTING it was the cheaper technology of inkjet. > ... please don't spend time trying to talk me out of features > like color, or duplex, I like both too well ... If you want *good* color, look into Xerox. Seriously. They are not as costly as you may be expecting. My experience with inkjet is that it produces inferior results, and saves little or no money if you consider the cost of ink, esp. when you have to pitch a 3/4-full cartridge because it clogged up. BT, DT. And no, I don't work for Xerox. From swell.k at gmail.com Mon Jun 2 04:58:12 2008 From: swell.k at gmail.com (swell.k@gmail.com) Date: Mon Jun 2 04:58:16 2008 Subject: Cannot open /etc/termcap References: <11167f520806011526v438bc9f1j8ccf4c174ea35761@mail.gmail.com> Message-ID: <86iqwsh1rh.fsf@gmail.com> "Sam Fourman Jr." writes: > I have a FreeBSD 6.2 server installed in June of 2007 > > yesterday I did a portsnap fetch update > and a portupgrade -ar > now when I ssh in I get the following error > > csh: Cannot open /etc/termcap. > csh: using dumb terminal settings. Are you sure /usr/share/misc/termcap isn't empty and accesible on the target machine? lrwxr-xr-x 1 root wheel 23B May 31 2007 /etc/termcap@ -> /usr/share/misc/termcap > > as a result I can not run vi nor can I build /usr/ports/editors/vim > > can anyone help? > > Sam Fourman Jr. From freebsd at violetlan.net Mon Jun 2 07:52:40 2008 From: freebsd at violetlan.net (Reinhold) Date: Mon Jun 2 07:52:43 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> Message-ID: <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> Hi. I'm still struggling with this problem, is there anyone out there that can offer me some help please Thanks Reinhold On Thu, May 29, 2008 11:13, Reinhold wrote: > Hi > > > I'm using mpd5 for pptp connections and last night I had to change our > subnet from 192.168.1.0/24 to 10.1.10.0/24 after I've made all the changes > to all the config files I rebooted and everything is working except for > pptp. I'm using mpd5 for 2 x adsl pppoe and pptp. > > > Here is the pptp section > pptp: > set ippool add pool1 10.1.10.220 10.1.10.239 > > create bundle template B set iface enable proxy-arp set iface idle 1800 set > iface enable tcpmssfix set ipcp yes vjcomp set ipcp ranges 10.1.10.1/32 > ippool pool1 set ipcp dns 10.1.10.5 208.67.222.222 > > set bundle enable compression set bundle enable crypt-reqd set ccp yes mppc > set mppc yes e40 set mppc yes e128 set mppc yes stateless > > create link template L pptp set link action bundle B set link enable > multilink set link yes acfcomp protocomp set link no pap chap set link > enable chap set link keep-alive 10 60 set link mtu 1460 > > set pptp self external-ip set link enable incoming > > and then in my pf.conf if_pptp = "{ ng2, ng3, ng4, ng5, ng6, ng7, > ng8, ng9, ng10, ng11, ng12, ng13, ng14, ng15, ng16, ng17, ng18, mg19, > ng20, ng21 }" > > # PPTP in WAN1 > pass quick log on $ext_if1 inet proto gre all keep state pass quick log on > $ext_if1 proto {tcp, udp } from any to 217.41.34.61 port > = 1723 keep state > pass quick log on $if_pptp from any to any keep state > > I'm getting an Error 800: Unable to establish a VPN connection. > This used to work well before I changed the subnet last night. > > > Any idea why its not working anymore? > Thanks > Reinhold > > > _______________________________________________ > freebsd-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 riaank at gmail.com Mon Jun 2 08:01:42 2008 From: riaank at gmail.com (Riaan Kruger) Date: Mon Jun 2 08:01:45 2008 Subject: pmcstat log file analysis Message-ID: <85c4b1850806020034i762f4934g999aca5011b803a6@mail.gmail.com> I am looking for an explanation of the pmc native log file fields (or so called raw output) when doing a "pmctstat -R /tmp/mylogfile". A typical sample entry will look like: sample 0x1000401 874 0xc09da725 s I guess the 874 is a PID and the "s" means system as opposed to user. Could anybody point me to documentation which explains this Thanx Riaan From odhiambo at gmail.com Mon Jun 2 09:58:22 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon Jun 2 09:58:28 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> Message-ID: <991123400806020258o504c14aid424369edbce3715@mail.gmail.com> On Mon, Jun 2, 2008 at 10:45 AM, Reinhold wrote: > Hi. > > I'm still struggling with this problem, is there anyone out there that can > offer me some help please I have tested your changes on my mpd5 as well. (a) I assigned 10.1.10.1 as alias IP: ifconfig xl0 inet 10.1.10.1 alias up Mine was 192.168.33.1, but I have used exactly same range as you in the test. (b) Then I edited mpd.conf by doing s/192.168.33/10.1.10/g I did not change any firewall rules (though I use IPFilter/IPNAT on this box). IIUC, your problem is mpd authenticating, yes? I was able to authenticate without a problem. Did you also edit your /etc/rc.conf to change the IP associated with the vpn setup? Here is the mpd.conf I tested: startup: set user foo bar admin set user foo1 bar1 set console self 127.0.0.1 5005 set console open set web self 0.0.0.0 5006 set web open default: load pptp_server pptp_server: set ippool add pool1 10.1.10.50 10.1.10.99 create bundle template MYVPN set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix set ipcp yes vjcomp set ipcp ranges 10.1.10.1/32 ippool pool1 set ipcp dns 10.1.10.1 set bundle enable compression set ccp yes mppc set mppc yes e40 set mppc yes e128 set mppc yes stateless create link template MYVPN pptp set link action bundle MYVPN set link enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set link mtu 1460 set pptp self MY_PUBLIC_IP_HERE set link enable incoming Lemme know if this helps.... -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From odhiambo at gmail.com Mon Jun 2 10:01:44 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon Jun 2 10:01:48 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> Message-ID: <991123400806020301h1d43f4e6j73a335859b1c3027@mail.gmail.com> On Mon, Jun 2, 2008 at 10:45 AM, Reinhold wrote: > Hi. > > I'm still struggling with this problem, is there anyone out there that can > offer me some help please What I've done most of the times is to log all communications with mpd by adding a logging entry into /etc/syslog.conf: !mpd5 *.* /var/log/mpd5.log Then touch /var/log/mpd5.log kill -1 `cat /var/run/syslog.pid` You can then look at /var/log/mpd5 for more clues Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From sfourman at gmail.com Mon Jun 2 10:42:10 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Mon Jun 2 10:42:15 2008 Subject: Cannot open /etc/termcap In-Reply-To: <86iqwsh1rh.fsf@gmail.com> References: <11167f520806011526v438bc9f1j8ccf4c174ea35761@mail.gmail.com> <86iqwsh1rh.fsf@gmail.com> Message-ID: <11167f520806020317t223d2725y905b07b8ab3541dd@mail.gmail.com> > > > csh: Cannot open /etc/termcap. > > csh: using dumb terminal settings. > > Are you sure /usr/share/misc/termcap isn't empty and accesible > on the target machine? > lrwxr-xr-x 1 root wheel 23B May 31 2007 /etc/termcap@ -> > /usr/share/misc/termcap > I receive the following %cp /usr/share/misc/termcap /etc/termcap cp: /etc/termcap and /usr/share/misc/termcap are identical (not copied). is there a quick fix to this? Sam Fourman Jr. From mexas at bristol.ac.uk Mon Jun 2 10:53:53 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Jun 2 10:53:57 2008 Subject: what is /usr/local/bin/gsc ? Message-ID: <20080602105347.GA175@mech-aslap33.men.bris.ac.uk> Hi What is /usr/local/bin/gsc ? I run FreeBSD 6.3-STABLE #2 on compaq armada laptop. When I send a job for printing I see gsc process running: PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND [skip] 99954 daemon 1 117 0 27244K 19000K RUN 0:05 30.08% gsc % which gsc /usr/local/bin/gsc % However, I cannot find any info on gsc. The latest I've found is from 5.2-release, some gsc(4) -- a device driver for a handy scanner. I doubt this is it. Could somebody tell me what gsc is and what it does. 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 928 8233 Fax: +44 (0)117 929 4423 From jonc at chen.org.nz Mon Jun 2 10:59:34 2008 From: jonc at chen.org.nz (Jonathan Chen) Date: Mon Jun 2 10:59:37 2008 Subject: what is /usr/local/bin/gsc ? In-Reply-To: <20080602105347.GA175@mech-aslap33.men.bris.ac.uk> References: <20080602105347.GA175@mech-aslap33.men.bris.ac.uk> Message-ID: <20080602105931.GA2576@osiris.chen.org.nz> On Mon, Jun 02, 2008 at 11:53:47AM +0100, Anton Shterenlikht wrote: > Hi > > What is /usr/local/bin/gsc ? If you have portupgrade, pkg_which(1) can tell you. gsc is actually "gs", which is ghostscript. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Only the meek get pinched. The bold survive." - Ferris Bueller From jhary at unsane.co.uk Mon Jun 2 11:03:36 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Mon Jun 2 11:03:39 2008 Subject: what is /usr/local/bin/gsc ? In-Reply-To: <20080602105347.GA175@mech-aslap33.men.bris.ac.uk> References: <20080602105347.GA175@mech-aslap33.men.bris.ac.uk> Message-ID: <4843D384.8070306@unsane.co.uk> Assuming it was installed from ports, if you have portupgrade installed you could try pkg_which /usr/local/bin/gsc For me this gives [11:59:40:/usr/home/jhary] (jhary@prawn)$pkg_which /usr/local/bin/gsc ghostscript-gpl-8.62_2 Ghostscript is a postscript interpreter which would make sense since most printers talk postscript. Vince Anton Shterenlikht wrote: > Hi > > What is /usr/local/bin/gsc ? > > I run FreeBSD 6.3-STABLE #2 on compaq armada laptop. > > When I send a job for printing I see gsc process running: > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > [skip] > 99954 daemon 1 117 0 27244K 19000K RUN 0:05 30.08% gsc > > % which gsc > /usr/local/bin/gsc > % > > However, I cannot find any info on gsc. > The latest I've found is from 5.2-release, > some gsc(4) -- a device driver for a handy scanner. > I doubt this is it. > > Could somebody tell me what gsc is and what it does. > > many thanks > anton > From steve.lake at raiden.net Mon Jun 2 11:05:14 2008 From: steve.lake at raiden.net (Steve Lake) Date: Mon Jun 2 11:05:18 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <20080601133028.GA51413@gizmo.acns.msu.edu> References: <258326.33866.qm@web57007.mail.re3.yahoo.com> Message-ID: <5.2.0.9.2.20080602071557.00c43458@192.168.0.30> > > > -----Original Message----- > > > From: owner-freebsd-questions@freebsd.org > > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Unga > > > Sent: Friday, May 30, 2008 9:14 PM > > > To: Steve Lake > > > Cc: freebsd-questions@freebsd.org > > > Subject: Re: Looking for gurus willing to help write Freebsd tutorials > > > > > > > > > "Raiden's Realm is a community tech site dedicated to > > > helping people learn about Linux, BSD, and open source > > > software." - WHO WE ARE, www.raiden.net. > > > > > > If you are honest for your site's objective, > > > appreciate if could drop the penguin from the site's > > > logo without a delay. It clearly shows your bias. > > > > > > > Yep, he definitely likes birds better than red sex toys... lol. Cute. I'm actually a very strong supporter of Freebsd. I wouldn't list 3 of the major BSD distros in my "recommended distros" section if I wasn't. :) The problem is, the majority of my audience is Linux guys and newbies looking for info on Linux. I figure if I can get them in the door with Linux, I can make a BSD evangelist out of them eventually. :) I've already had quite a few BSD converts over the past couple of years doing just that. :D Steven Lake Owner/Technical Writer Raiden's Realm www.raiden.net Bringing Linux and BSD to the World From mexas at bristol.ac.uk Mon Jun 2 11:14:52 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Jun 2 11:14:57 2008 Subject: what is /usr/local/bin/gsc ? In-Reply-To: <20080602105931.GA2576@osiris.chen.org.nz> References: <20080602105347.GA175@mech-aslap33.men.bris.ac.uk> <20080602105931.GA2576@osiris.chen.org.nz> Message-ID: <20080602111439.GA1476@mech-aslap33.men.bris.ac.uk> On Mon, Jun 02, 2008 at 10:59:31PM +1200, Jonathan Chen wrote: > On Mon, Jun 02, 2008 at 11:53:47AM +0100, Anton Shterenlikht wrote: > > Hi > > > > What is /usr/local/bin/gsc ? > > If you have portupgrade, pkg_which(1) can tell you. gsc is actually > "gs", which is ghostscript. thanks I use portmaster, so pkg_info -La > tmp; vi tmp (and seach for gsc) did this for me. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From y.pankov at irbisnet.ru Mon Jun 2 11:17:34 2008 From: y.pankov at irbisnet.ru (Yuri Pankov) Date: Mon Jun 2 11:17:38 2008 Subject: what is /usr/local/bin/gsc ? In-Reply-To: <20080602105347.GA175@mech-aslap33.men.bris.ac.uk> References: <20080602105347.GA175@mech-aslap33.men.bris.ac.uk> Message-ID: <4843D394.7050607@irbisnet.ru> Anton Shterenlikht wrote: > Hi > > What is /usr/local/bin/gsc ? > > I run FreeBSD 6.3-STABLE #2 on compaq armada laptop. > > When I send a job for printing I see gsc process running: > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > [skip] > 99954 daemon 1 117 0 27244K 19000K RUN 0:05 30.08% gsc > > % which gsc > /usr/local/bin/gsc > % First, check if there's manpage with description for gsc :-) You can also check which package installed that file: pkg_info -W /usr/local/bin/gsc (and as you mentioned printing, I'd think it was installed by ghostscript package) and follow the URL in pkg-descr. > However, I cannot find any info on gsc. > The latest I've found is from 5.2-release, > some gsc(4) -- a device driver for a handy scanner. > I doubt this is it. > > Could somebody tell me what gsc is and what it does. > > many thanks > anton > HTH, Yuri From mexas at bristol.ac.uk Mon Jun 2 11:37:11 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Jun 2 11:37:18 2008 Subject: what is /usr/local/bin/gsc ? In-Reply-To: <4843D394.7050607@irbisnet.ru> References: <20080602105347.GA175@mech-aslap33.men.bris.ac.uk> <4843D394.7050607@irbisnet.ru> Message-ID: <20080602113703.GA2797@mech-aslap33.men.bris.ac.uk> On Mon, Jun 02, 2008 at 03:03:48PM +0400, Yuri Pankov wrote: > Anton Shterenlikht wrote: > >Hi > > > >What is /usr/local/bin/gsc ? > > > >I run FreeBSD 6.3-STABLE #2 on compaq armada laptop. > > > >When I send a job for printing I see gsc process running: > > > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > >[skip] > >99954 daemon 1 117 0 27244K 19000K RUN 0:05 30.08% gsc > > > >% which gsc > >/usr/local/bin/gsc > >% > > First, check if there's manpage with description for gsc :-) You can > also check which package installed that file: > pkg_info -W /usr/local/bin/gsc thanks, I missed this switch, it's very useful. anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From freebsd at violetlan.net Mon Jun 2 11:37:39 2008 From: freebsd at violetlan.net (Reinhold) Date: Mon Jun 2 11:37:43 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <991123400806020301h1d43f4e6j73a335859b1c3027@mail.gmail.com> References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> <991123400806020301h1d43f4e6j73a335859b1c3027@mail.gmail.com> Message-ID: <64261.217.41.34.61.1212406277.squirrel@www.violetlan.net> Hi Thanks for the help Its working again \o/ All I did was enabled logging like you suggested and made a change in /etc/rc.conf. I've added this mpd_flags="-b -s mpd5" Then restarted mpd5 and bang it worked. Thanks again. Reinhold On Mon, June 2, 2008 11:01, Odhiambo Washington wrote: > On Mon, Jun 2, 2008 at 10:45 AM, Reinhold wrote: > >> Hi. >> >> >> I'm still struggling with this problem, is there anyone out there that >> can offer me some help please > > What I've done most of the times is to log all communications with mpd > by adding a logging entry into /etc/syslog.conf: > > !mpd5 > *.* /var/log/mpd5.log > > > Then > touch /var/log/mpd5.log kill -1 `cat /var/run/syslog.pid` > > You can then look at /var/log/mpd5 for more clues > > > > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > > "Oh My God! They killed init! You Bastards!" > --from a /. post > _______________________________________________ > freebsd-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 dm-lists at meisternet.ch Mon Jun 2 11:52:30 2008 From: dm-lists at meisternet.ch (Dominik Meister) Date: Mon Jun 2 11:52:34 2008 Subject: ssh - connect to directory outside of /user/home - permission denied In-Reply-To: References: Message-ID: <20080602113151.GA69025@mercury.meisternet.ch> Turner Litigation Services [Fri, May 30, 2008 at 06:28:26PM -0700]: > > ssh [username]@[severname] /usr/data/pub/ gives permission denied errors. > According to the unison manual the syntax in the configuration would be: root = ssh://[user]@[host]//path/to/file If you just want to copy some files, you could also use scp: scp [user]@[host]:/path/to/file . Dominik -- Dominik Meister My public GnuPG key is available at http://www.meisternet.ch/gpg.txt -------------- 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/20080602/f0118fb2/attachment.pgp From odhiambo at gmail.com Mon Jun 2 12:25:37 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon Jun 2 12:25:39 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <64261.217.41.34.61.1212406277.squirrel@www.violetlan.net> References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> <991123400806020301h1d43f4e6j73a335859b1c3027@mail.gmail.com> <64261.217.41.34.61.1212406277.squirrel@www.violetlan.net> Message-ID: <991123400806020525u5e1ba7c3gbffbfa4342fe16c6@mail.gmail.com> I thought you already had that entry in rc.conf? That's why I didn't even look that side. Anyway it's great to hear you're fine now. On 6/2/08, Reinhold wrote: > Hi > > Thanks for the help > Its working again \o/ > > All I did was enabled logging like you suggested and made a change in > /etc/rc.conf. > I've added this > mpd_flags="-b -s mpd5" > > Then restarted mpd5 and bang it worked. > > Thanks again. > Reinhold > > > On Mon, June 2, 2008 11:01, Odhiambo Washington wrote: >> On Mon, Jun 2, 2008 at 10:45 AM, Reinhold wrote: >> >>> Hi. >>> >>> >>> I'm still struggling with this problem, is there anyone out there that >>> can offer me some help please >> >> What I've done most of the times is to log all communications with mpd >> by adding a logging entry into /etc/syslog.conf: >> >> !mpd5 >> *.* /var/log/mpd5.log >> >> >> Then >> touch /var/log/mpd5.log kill -1 `cat /var/run/syslog.pid` >> >> You can then look at /var/log/mpd5 for more clues >> >> >> >> Best regards, >> Odhiambo WASHINGTON, >> Nairobi,KE >> +254733744121/+254722743223 >> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >> >> >> "Oh My God! They killed init! You Bastards!" >> --from a /. post >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > > > -- Sent from Google Mail for mobile | mobile.google.com Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From freebsd at violetlan.net Mon Jun 2 12:48:43 2008 From: freebsd at violetlan.net (Reinhold) Date: Mon Jun 2 12:48:50 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <991123400806020525u5e1ba7c3gbffbfa4342fe16c6@mail.gmail.com> References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> <991123400806020301h1d43f4e6j73a335859b1c3027@mail.gmail.com> <64261.217.41.34.61.1212406277.squirrel@www.violetlan.net> <991123400806020525u5e1ba7c3gbffbfa4342fe16c6@mail.gmail.com> Message-ID: <58722.217.41.34.61.1212410957.squirrel@www.violetlan.net> Nope I only had mpd_enable="YES" in it before and that used to work perfectly. That's why I was stumped at what was the cause to the problem. I have another server that accepts pptp connections and I only have mpd_enable in the rc.conf file and its working like a dream. Very weird. Reinhold On Mon, June 2, 2008 13:25, Odhiambo Washington wrote: > I thought you already had that entry in rc.conf? > That's why I didn't even look that side. > Anyway it's great to hear you're fine now. > > > > > On 6/2/08, Reinhold wrote: > >> Hi >> >> >> Thanks for the help >> Its working again \o/ >> >> >> All I did was enabled logging like you suggested and made a change in >> /etc/rc.conf. >> I've added this >> mpd_flags="-b -s mpd5" >> >> Then restarted mpd5 and bang it worked. >> >> >> Thanks again. >> Reinhold >> >> >> >> On Mon, June 2, 2008 11:01, Odhiambo Washington wrote: >> >>> On Mon, Jun 2, 2008 at 10:45 AM, Reinhold >>> wrote: >>> >>> >>>> Hi. >>>> >>>> >>>> >>>> I'm still struggling with this problem, is there anyone out there >>>> that can offer me some help please >>> >>> What I've done most of the times is to log all communications with >>> mpd by adding a logging entry into /etc/syslog.conf: >>> >>> !mpd5 >>> *.* /var/log/mpd5.log >>> >>> >>> >>> Then >>> touch /var/log/mpd5.log kill -1 `cat /var/run/syslog.pid` >>> >>> You can then look at /var/log/mpd5 for more clues >>> >>> >>> >>> >>> Best regards, >>> Odhiambo WASHINGTON, >>> Nairobi,KE >>> +254733744121/+254722743223 >>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >>> >>> >>> >>> "Oh My God! They killed init! You Bastards!" >>> --from a /. post >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >>> >>> >> >> >> > > -- > Sent from Google Mail for mobile | mobile.google.com > > > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > > "Oh My God! They killed init! You Bastards!" > --from a /. post > _______________________________________________ > freebsd-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 eculp at encontacto.net Mon Jun 2 13:01:58 2008 From: eculp at encontacto.net (eculp) Date: Mon Jun 2 13:02:03 2008 Subject: Can't mount my iPhone - Maybe it need not be mounted? In-Reply-To: <31470F5A-473A-41F5-A0C9-ECC96F2B9183@shockergroup.com> References: <20080601111048.20636scjpsk378kk@intranet.encontacto.net> <53cadfa4b6ba32a924675c001e8cc1b7@gmail.com> <31470F5A-473A-41F5-A0C9-ECC96F2B9183@shockergroup.com> Message-ID: <20080602080144.14744xwdheqoje8s@intranet.encontacto.net> Quoting Tom Ierna : > On Jun 1, 2008, at 5:13 PM, Joshua Isom wrote: > >> To be able to mount your iPhone, you're going to have to >> essentially void the warranty and risk turning it into a pretty >> paperweight. It sucks, but that's the way it is. But at least >> you can charge your iPhone using FreeBSD. > > > If using libgpod through gtkpod only requires the iPhone be > jailbroken, the above is not true. Jailbreaking your iPhone does not > void the warranty, and there is very little chance of bricking it > by just jailbreaking it. Bricking used to be an issue when mucking > with the radio firmware, but jailbreaking doesn't touch that stuff. > > To jailbreak an iPhone, check out http://ziphone.org/ Hi Tom. Thanks for the link and clarification. AFAIK, my iPhone is "Jailbroken" because I'm using it on a Mexican carrier, TelCel and if I understand correctly, it would have to be to use the TelCel chip. Ziphone is a bit slow but I'm going to go through it and see if I can find the reason why I'm not able to get a mountable device created. Thanks again for your help, ed > > You will need either a Windows or Mac to do the Jailbreak though. > > -- > Tom Ierna > President > Shockergroup, Inc. > > From 7yuny1 at gmail.com Mon Jun 2 13:21:17 2008 From: 7yuny1 at gmail.com (Jyun-Yi Liou) Date: Mon Jun 2 13:21:20 2008 Subject: gnash leave a blank page when visit youtube Message-ID: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> Hi list! I've changed my browser's flash player form www/linux-flashplugin7(out-of-date, and ports mark this as RESTRICTED D: ) to graphic/gnash a few hours ago but gnash just leave me a blank page while I am visiting youtube screen shot: http://img144.imageshack.us/img144/6953/screenshot0206200820260bt8.jpg and there is my about:plugins http://img113.imageshack.us/img113/6189/screenshot0206200820280ey5.jpg libgnashplugin.so was installed at /usr/local/lib/browser_plugins correctly this is a part of my config.log (yes, I change graphic/gnash/Makefile) ./configure --with-boost-incl=/usr/local/include --with-boost-lib=/usr/local/lib --with-npapi-plugindir=/usr/local/lib/browser_plugins --with-kde-pluginprefix=/usr/local --enable-jpeg --enable-png --enable-Xft \ --enable-fontconfig --enable-plugins --enable-nsapi --disable-kparts --disable-cygnal --enable-gui=gtk --enable-renderer=agg --enable-media=ffmpeg --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local \ --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd7.0 I tried some different arguments but still not working on it. Does anything I missed? otherwise, I can play flash at youtue by this little script, scrpit is copied from http://wiki.gnashdev.org/YouTube %> cat play_youtube #! /bin/sh url="$1" vars=$`wget --quiet -O - "$url" | grep -F watch_fullscreen | cut -d \? -f 2 | cut -d \" -f1` echo "$vars" gnash -vv -F 2 -P "FlashVars=$vars" http://tw.youtube.com/player2.swf screen shot: http://img231.imageshack.us/img231/6889/screenshot0206200820465iz9.jpg so, this is not gnash's problem but firefox? please, tell me how you do it, if someone happy with gnash and firefox :-) ps. I found a bug report about blank flash page https://savannah.gnu.org/bugs/?18822 is it related? Happy hacking, jyuny1 From olli at lurza.secnetix.de Mon Jun 2 13:28:01 2008 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Jun 2 13:28:04 2008 Subject: what is /usr/local/bin/gsc ? In-Reply-To: <20080602111439.GA1476@mech-aslap33.men.bris.ac.uk> Message-ID: <200806021327.m52DRbGD069282@lurza.secnetix.de> Anton Shterenlikht wrote: > Jonathan Chen wrote: > > Anton Shterenlikht wrote: > > > What is /usr/local/bin/gsc ? > > > > If you have portupgrade, pkg_which(1) can tell you. gsc is actually > > "gs", which is ghostscript. > > thanks > I use portmaster, so pkg_info -La > tmp; vi tmp (and seach for gsc) did this > for me. You can use "pkg_info -W" to find out to which package a file belongs. It's a base-system feature; you don't have to use portupgrade, portmaster or anything else. 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 "Unix gives you just enough rope to hang yourself -- and then a couple of more feet, just to be sure." -- Eric Allman From derek.graham at att.net Mon Jun 2 13:30:31 2008 From: derek.graham at att.net (Derek Graham) Date: Mon Jun 2 13:30:37 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> Message-ID: <200806020830.04316.derek.graham@att.net> on Monday 02 June 2008Monday 02 June 2008 Jyun-Yi Liou "Jyun-Yi Liou" <7yuny1@gmail.com> wrote: > Hi list! > > I've changed my browser's flash player form > www/linux-flashplugin7(out-of-date, and ports mark this as RESTRICTED D: ) > to graphic/gnash a few hours ago > but gnash just leave me a blank page while I am visiting youtube > > screen shot: > http://img144.imageshack.us/img144/6953/screenshot0206200820260bt8.jpg > > and there is my about:plugins > http://img113.imageshack.us/img113/6189/screenshot0206200820280ey5.jpg > > libgnashplugin.so was installed at /usr/local/lib/browser_plugins correctly > > this is a part of my config.log (yes, I change graphic/gnash/Makefile) > ./configure --with-boost-incl=/usr/local/include > --with-boost-lib=/usr/local/lib > --with-npapi-plugindir=/usr/local/lib/browser_plugins > --with-kde-pluginprefix=/usr/local --enable-jpeg --enable-png --enable-Xft > \ --enable-fontconfig --enable-plugins --enable-nsapi --disable-kparts > --disable-cygnal --enable-gui=gtk --enable-renderer=agg > --enable-media=ffmpeg --x-libraries=/usr/local/lib > --x-includes=/usr/local/include --prefix=/usr/local \ > --mandir=/usr/local/man --infodir=/usr/local/info/ > --build=i386-portbld-freebsd7.0 > > I tried some different arguments but still not working on it. > Does anything I missed? > > otherwise, I can play flash at youtue by this little script, scrpit is > copied from http://wiki.gnashdev.org/YouTube > %> cat play_youtube > #! /bin/sh > url="$1" > vars=$`wget --quiet -O - "$url" | grep -F watch_fullscreen | cut -d \? -f 2 > > | cut -d \" -f1` > > echo "$vars" > gnash -vv -F 2 -P "FlashVars=$vars" http://tw.youtube.com/player2.swf > > screen shot: > http://img231.imageshack.us/img231/6889/screenshot0206200820465iz9.jpg > > so, this is not gnash's problem but firefox? > please, tell me how you do it, if someone happy with gnash and firefox :-) > > ps. I found a bug report about blank flash page > https://savannah.gnu.org/bugs/?18822 > is it related? > > Happy hacking, > jyuny1 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Fun so Flash7 is "obsolete", Gnash is half and half, and flash9 is a lost cause :p should be interesting what happens when silverlight comes out and all websites start using it :( Sincerely, Derek A. Graham From lreid at cs.okstate.edu Mon Jun 2 13:36:05 2008 From: lreid at cs.okstate.edu (Reid Linnemann) Date: Mon Jun 2 13:36:09 2008 Subject: error mounting USB disk: Invalid argument In-Reply-To: <19839aceb10de69024c9fae933836067@localhost> References: <25515aa06ecb67b43d2a517bcceed88f@localhost> <20080531072955.GA76694@slackbox.xs4all.nl> <79defaf7e7f012e2cd5c6381d84dccb9@localhost> <20080531094221.GA81037@slackbox.xs4all.nl> <19839aceb10de69024c9fae933836067@localhost> Message-ID: <4843F741.3010304@cs.okstate.edu> Written by Colin Brace on 05/31/08 05:17>> > On Sat, 31 May 2008 11:42:21 +0200, Roland Smith wrote: > >> After partitioning and labeling the disk, did you make filesystems on >> the partitions with newfs? > > Ah, no. According to Absolute FreeBSD, 2nd ed, which I have in front of me, > newfs invoked by sysinstall, which I used to create the slice and partition > it (p 241). > > Anyway, I now try running newfs in terminal, but it throws up some errrors: > > # newfs /dev/da0s1c > /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment size > 2048 > using 1059 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > newfs: wtfs: 65536 bytes at sector 160: Invalid argument > > # newfs /dev/da0s1c > /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment size > 2048 > using 1059 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, > 3387328, 3763680, 4140032,newfs: wtfs: 65536 bytes at sector 4516384: > Invalid argument You obviously did not really partition the slice with bsdlabel. The c partition is invalid for a filesystem. If you look at the label I'm sure you'll see that the FSTYPE field is 'unused', with a comment that reads ``"raw" part, don't edit``. You should add a partition with bsdlabel, perhaps partition 'a', with fstype 4.2BSD. You can then newfs this partition. From wmoran at potentialtech.com Mon Jun 2 13:39:44 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Mon Jun 2 13:39:49 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: <20080602093856.cf2600d8.wmoran@potentialtech.com> In response to "Kurt Buff" : > > I'm looking to replace my current printer - a Dell 1700n - because I > can't make it work with FreeBSD/Linux. I think you're doing it wrong. I have a 1700 series Dell printer and it works just fine with FreeBSD. Did you install CUPS and the ppd files? -- Bill Moran http://www.potentialtech.com From 7yuny1 at gmail.com Mon Jun 2 13:42:21 2008 From: 7yuny1 at gmail.com (Jyun-Yi Liou) Date: Mon Jun 2 13:42:25 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> Message-ID: <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? www/linux-flashplugin9 always freeze my firefox :-( I miss the old days with www/linux-flashplugin7 D-: btw, graphic/gnash seems pretty stable, but the integration with firefox is poor in my case. From derek.graham at att.net Mon Jun 2 13:45:40 2008 From: derek.graham at att.net (Derek Graham) Date: Mon Jun 2 13:45:46 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <81a9e3840806020641o1034f2e3q44805bfd7988e370@mail.gmail.com> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <200806020830.04316.derek.graham@att.net> <81a9e3840806020641o1034f2e3q44805bfd7988e370@mail.gmail.com> Message-ID: <200806020845.13667.derek.graham@att.net> on Monday 02 June 2008Monday 02 June 2008 Jyun-Yi Liou "Jyun-Yi Liou" <7yuny1@gmail.com> wrote: > Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? > www/linux-flashplugin9 always freeze my firefox :-( > > I miss the old days with www/linux-flashplugin7 D-: > > btw, graphic/gnash seems pretty stable, but the integration with firefox is > poor in my case. Dunno i think if you edit the Makefile and comment out the restricted, it might work, by the way good idea to CC the freebsd-questions@freebsd.org you might get more responses. Sincerely, Derek A. Graham From yuri.pankov at gmail.com Mon Jun 2 13:48:14 2008 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Mon Jun 2 13:48:22 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> Message-ID: <4843FA28.4020609@gmail.com> Jyun-Yi Liou wrote: > Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? > www/linux-flashplugin9 always freeze my firefox :-( I don't see how RESTRICTED prevents you from installing linux-flashplugin7. Quoting /usr/ports/Mk/bsd.port.mk: # RESTRICTED - Prevent the distribution of distfiles and packages to # the FTP sites or on CDROM (e.g. forbidden by license # considerations). What is actual problem (error messages from `make`, please) with linux-flashplugin7? > I miss the old days with www/linux-flashplugin7 D-: > > btw, graphic/gnash seems pretty stable, but the integration with firefox is > poor in my case. Yuri From 7yuny1 at gmail.com Mon Jun 2 14:00:36 2008 From: 7yuny1 at gmail.com (Jyun-Yi Liou) Date: Mon Jun 2 14:00:42 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> Message-ID: <81a9e3840806020700y45375f02t47ec01843e0aaa05@mail.gmail.com> 2008/6/2 Derek Graham : > Dunno i think if you edit the Makefile and comment out the restricted, it I've tried to comment out the RESTRICTED, but the output: ===> linux-flashplugin-7.0r73 has known vulnerabilities: => linux-flashplugin -- unspecified remote code execution vulnerability. Reference: < http://www.FreeBSD.org/ports/portaudit/04c6187d-2d8f-11dd-98c9-00163e000016.html > => Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/www/linux-flashplugin7. *** Error code 1 Stop in /usr/ports/www/linux-flashplugin7. anything I can do further? > might work, by the way good idea to CC the freebsd-questions@freebsd.org > you might get more responses. thanks for the notice :-) > > > Sincerely, > Derek A. Graham > > best regards, jyuny1 From 7yuny1 at gmail.com Mon Jun 2 14:07:39 2008 From: 7yuny1 at gmail.com (Jyun-Yi Liou) Date: Mon Jun 2 14:07:43 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <4843FA28.4020609@gmail.com> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> <4843FA28.4020609@gmail.com> Message-ID: <81a9e3840806020707j73e789aag3126c12472d5a1c6@mail.gmail.com> 2008/6/2 Yuri Pankov : > What is actual problem (error messages from `make`, please) with > linux-flashplugin7? the message I got: ===> linux-flashplugin-7.0r73 has known vulnerabilities: => linux-flashplugin -- unspecified remote code execution vulnerability. Reference: < http://www.FreeBSD.org/ports/portaudit/04c6187d-2d8f-11dd-98c9-00163e000016.html > => Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/www/linux-flashplugin7. *** Error code 1 Stop in /usr/ports/www/linux-flashplugin7. anything I can do further? From yuri.pankov at gmail.com Mon Jun 2 14:11:20 2008 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Mon Jun 2 14:11:27 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <81a9e3840806020707j73e789aag3126c12472d5a1c6@mail.gmail.com> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> <4843FA28.4020609@gmail.com> <81a9e3840806020707j73e789aag3126c12472d5a1c6@mail.gmail.com> Message-ID: <4843FF92.5010208@gmail.com> Jyun-Yi Liou wrote: > > > 2008/6/2 Yuri Pankov >: > > What is actual problem (error messages from `make`, please) with > linux-flashplugin7? > > the message I got: > > ===> linux-flashplugin-7.0r73 has known vulnerabilities: > => linux-flashplugin -- unspecified remote code execution vulnerability. > Reference: > > > => Please update your ports tree and try again. > *** Error code 1 > > Stop in /usr/ports/www/linux-flashplugi > n7. > *** Error code 1 > > Stop in /usr/ports/www/linux-flashplugin7. > > anything I can do further? > If you are absolutely sure you want linux-flashplugin7 installed, despite security vulnerability, you can disable portaudit check (this message comes from portaudit) with -DDISABLE_VULNERABILITIES (it's documented in ports(7) manpage). HTH, Yuri From jhary at unsane.co.uk Mon Jun 2 14:11:23 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Mon Jun 2 14:11:27 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> Message-ID: <4843FF87.4070308@unsane.co.uk> Jyun-Yi Liou wrote: > Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? > www/linux-flashplugin9 always freeze my firefox :-( > > I miss the old days with www/linux-flashplugin7 D-: > For me the RESTRICTED= Redistribution not allowed line just means what it says, ie you cant redistribute the port/package. Its still builds and (last I tried) works. I tend to use swfdec and swfdec-plugin ports which play youtube fine for me though. Vince > btw, graphic/gnash seems pretty stable, but the integration with firefox is > poor in my case. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jhary at unsane.co.uk Mon Jun 2 14:14:46 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Mon Jun 2 14:14:52 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <4843FF87.4070308@unsane.co.uk> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> <4843FF87.4070308@unsane.co.uk> Message-ID: <48440053.4080608@unsane.co.uk> Vince Hoffman wrote: > Jyun-Yi Liou wrote: >> Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? >> www/linux-flashplugin9 always freeze my firefox :-( >> >> I miss the old days with www/linux-flashplugin7 D-: >> > > For me the > RESTRICTED= Redistribution not allowed > line just means what it says, ie you cant redistribute the port/package. > Its still builds and (last I tried) works. > > I tend to use swfdec and swfdec-plugin ports which play youtube fine for > me though. > > Sorry just read your other posts, for some reason I must have uninstalled portaudit at some point on my laptop so I wasn't getting the portaudit message. Vince > Vince > >> btw, graphic/gnash seems pretty stable, but the integration with firefox is >> poor in my case. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-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 eculp at encontacto.net Mon Jun 2 14:17:10 2008 From: eculp at encontacto.net (eculp) Date: Mon Jun 2 14:17:16 2008 Subject: Can't mount my iPhone - Maybe it need not be mounted? In-Reply-To: <53cadfa4b6ba32a924675c001e8cc1b7@gmail.com> References: <20080601111048.20636scjpsk378kk@intranet.encontacto.net> <53cadfa4b6ba32a924675c001e8cc1b7@gmail.com> Message-ID: <20080602091656.14556mmscjabss4c@intranet.encontacto.net> Quoting Joshua Isom : > To be able to mount your iPhone, you're going to have to essentially > void the warranty and risk turning it into a pretty paperweight. It > sucks, but that's the way it is. But at least you can charge your > iPhone using FreeBSD. I'm already using it with a carrier that isn't yet authorized so I have to assume that it is "jailbroken" but I still can't find a way to mount it. It seems that it isn't recoginzed by FreeBSD current as being mountable. Thanks for the warning. ed > > On Jun 1, 2008, at 11:10 AM, eculp wrote: > >> I've not been successful at googling a way to connect freebsd >> current amd64 to my iPhone. Eventually, I would like to be able to >> sync and upload to it from an opensource substitute for iTunes, >> that doesn't have a version from FreeBSD. >> >> When I connect my iPhone I see: >> >> Jun 1 09:55:00 ed kernel: uhid0: > rev 2.00/0.01, addr 2> on uhub3 >> >> in messages and that is it. No new device or anything that I can find. >> >> Any programs or suggestions that you have to facilitate using the >> iPhone will be greatly appreciated. I've been trying to use gtkpod >> without success because I can't mount it, I assume. >> >> Thanks, >> >> 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 eculp at encontacto.net Mon Jun 2 14:18:42 2008 From: eculp at encontacto.net (eculp) Date: Mon Jun 2 14:18:52 2008 Subject: Can't mount my iPhone - Maybe it need not be mounted? In-Reply-To: <20080601201256.GA48191@slackbox.xs4all.nl> References: <20080601111048.20636scjpsk378kk@intranet.encontacto.net> <20080601201256.GA48191@slackbox.xs4all.nl> Message-ID: <20080602091830.14264m3td26dtkc0@intranet.encontacto.net> Quoting Roland Smith : > On Sun, Jun 01, 2008 at 11:10:48AM -0500, eculp wrote: >> I've not been successful at googling a way to connect freebsd current >> amd64 to my iPhone. Eventually, I would like to be able to sync and >> upload to it from an opensource substitute for iTunes, that doesn't >> have a version from FreeBSD. >> >> When I connect my iPhone I see: >> >> Jun 1 09:55:00 ed kernel: uhid0: > 2.00/0.01, addr 2> on uhub3 >> >> in messages and that is it. No new device or anything that I can find. >> >> Any programs or suggestions that you have to facilitate using the >> iPhone will be greatly appreciated. I've been trying to use gtkpod >> without success because I can't mount it, I assume. > > The pags for libgpod (http://www.gtkpod.org/libgpod.html), on which > gtkpod depends, says: > > "There's also preliminary support for the iPhone and the iPod Touch > but they must be jailbroken to work." > > Whatever that means. :-) Here we call it "un blocked" which I assume is synonymous with "jailbroken" but I can't seem to get FreeBSD to recognize it as mountable so gtkpod doesn't see it either. Thanks for your help, ed > > 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 odhiambo at gmail.com Mon Jun 2 14:20:14 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon Jun 2 14:20:19 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <58722.217.41.34.61.1212410957.squirrel@www.violetlan.net> References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> <991123400806020301h1d43f4e6j73a335859b1c3027@mail.gmail.com> <64261.217.41.34.61.1212406277.squirrel@www.violetlan.net> <991123400806020525u5e1ba7c3gbffbfa4342fe16c6@mail.gmail.com> <58722.217.41.34.61.1212410957.squirrel@www.violetlan.net> Message-ID: <991123400806020720p731d3ebfqe72150dbbe1473c7@mail.gmail.com> I have both mpd4 and mpd5 able to work on my box! The only thing I hate in the logs is that mpd5 appears to allocate lower connection bandwidth than mpd4. I don't know if this makes sense, but because of that, I default to using mpd4. V5 is just there for playing with, and answering others like you in case they have a problem. I'd like to know why this bandwidth issue is differren between the versions, if you can help check out. I can give you a working config if you want. On 6/2/08, Reinhold wrote: > Nope I only had > mpd_enable="YES" > in it before and that used to work perfectly. > > That's why I was stumped at what was the cause to the problem. > > I have another server that accepts pptp connections and I only have > mpd_enable in the rc.conf file and its working like a dream. > > Very weird. > > Reinhold > > On Mon, June 2, 2008 13:25, Odhiambo Washington wrote: >> I thought you already had that entry in rc.conf? >> That's why I didn't even look that side. >> Anyway it's great to hear you're fine now. >> >> >> >> >> On 6/2/08, Reinhold wrote: >> >>> Hi >>> >>> >>> Thanks for the help >>> Its working again \o/ >>> >>> >>> All I did was enabled logging like you suggested and made a change in >>> /etc/rc.conf. >>> I've added this >>> mpd_flags="-b -s mpd5" >>> >>> Then restarted mpd5 and bang it worked. >>> >>> >>> Thanks again. >>> Reinhold >>> >>> >>> >>> On Mon, June 2, 2008 11:01, Odhiambo Washington wrote: >>> >>>> On Mon, Jun 2, 2008 at 10:45 AM, Reinhold >>>> wrote: >>>> >>>> >>>>> Hi. >>>>> >>>>> >>>>> >>>>> I'm still struggling with this problem, is there anyone out there >>>>> that can offer me some help please >>>> >>>> What I've done most of the times is to log all communications with >>>> mpd by adding a logging entry into /etc/syslog.conf: >>>> >>>> !mpd5 >>>> *.* /var/log/mpd5.log >>>> >>>> >>>> >>>> Then >>>> touch /var/log/mpd5.log kill -1 `cat /var/run/syslog.pid` >>>> >>>> You can then look at /var/log/mpd5 for more clues >>>> >>>> >>>> >>>> >>>> Best regards, >>>> Odhiambo WASHINGTON, >>>> Nairobi,KE >>>> +254733744121/+254722743223 >>>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >>>> >>>> >>>> >>>> "Oh My God! They killed init! You Bastards!" >>>> --from a /. post >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe@freebsd.org" >>>> >>>> >>>> >>> >>> >>> >> >> -- >> Sent from Google Mail for mobile | mobile.google.com >> >> >> Best regards, >> Odhiambo WASHINGTON, >> Nairobi,KE >> +254733744121/+254722743223 >> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >> >> >> "Oh My God! They killed init! You Bastards!" >> --from a /. post >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > > > -- Sent from Google Mail for mobile | mobile.google.com Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From 7yuny1 at gmail.com Mon Jun 2 14:21:31 2008 From: 7yuny1 at gmail.com (Jyun-Yi Liou) Date: Mon Jun 2 14:21:35 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <4843FF92.5010208@gmail.com> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> <4843FA28.4020609@gmail.com> <81a9e3840806020707j73e789aag3126c12472d5a1c6@mail.gmail.com> <4843FF92.5010208@gmail.com> Message-ID: <81a9e3840806020721h6ed0507u71d79e97f737eae@mail.gmail.com> 2008/6/2 Yuri Pankov : > If you are absolutely sure you want linux-flashplugin7 installed, despite > security vulnerability, you can disable portaudit check (this message comes > from portaudit) with -DDISABLE_VULNERABILITIES (it's documented in ports(7) > manpage). > > HTH, > Yuri Thanks for the hint! I should man 7 ports first :-) best regards, jyuny1 From roberthuff at rcn.com Mon Jun 2 14:25:14 2008 From: roberthuff at rcn.com (Robert Huff) Date: Mon Jun 2 14:25:20 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <4843FF87.4070308@unsane.co.uk> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> <4843FF87.4070308@unsane.co.uk> Message-ID: <18500.704.941947.361128@jerusalem.litteratus.org> Vince Hoffman writes: > > Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? > > www/linux-flashplugin9 always freeze my firefox :-( > > For me the > RESTRICTED= Redistribution not allowed > line just means what it says, ie you cant redistribute the > port/package. If that's the case, then it's a poor choice if name for the variable. Robert Huff From kurt.buff at gmail.com Mon Jun 2 14:32:04 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Mon Jun 2 14:32:10 2008 Subject: Duplex printer advice In-Reply-To: <20080602093856.cf2600d8.wmoran@potentialtech.com> References: <20080602093856.cf2600d8.wmoran@potentialtech.com> Message-ID: On Mon, Jun 2, 2008 at 6:38 AM, Bill Moran wrote: > In response to "Kurt Buff" : >> >> I'm looking to replace my current printer - a Dell 1700n - because I >> can't make it work with FreeBSD/Linux. > > I think you're doing it wrong. I have a 1700 series Dell printer and it > works just fine with FreeBSD. Did you install CUPS and the ppd files? > > -- > Bill Moran > http://www.potentialtech.com Cups came installed with Suse's gnome desktop - I don't have FreeBSD installed yet - and I can't find a ppd file that makes it talk, though the installer does connect to port 9000 when testing. I could very well be doing something wrong, or at least insufficiently right, but it's not happening for me. Which ppd file are you using? Kurt From freebsd at violetlan.net Mon Jun 2 14:37:17 2008 From: freebsd at violetlan.net (Reinhold) Date: Mon Jun 2 14:37:20 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <991123400806020720p731d3ebfqe72150dbbe1473c7@mail.gmail.com> References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> <991123400806020301h1d43f4e6j73a335859b1c3027@mail.gmail.com> <64261.217.41.34.61.1212406277.squirrel@www.violetlan.net> <991123400806020525u5e1ba7c3gbffbfa4342fe16c6@mail.gmail.com> <58722.217.41.34.61.1212410957.squirrel@www.violetlan.net> <991123400806020720p731d3ebfqe72150dbbe1473c7@mail.gmail.com> Message-ID: <50487.217.41.34.61.1212417471.squirrel@www.violetlan.net> For me mpd5 have been running perfectly when it comes to bandwidth. But then again I'm using adsl here. I'm using mpd5 to connect to 2 adsl lines and then allow pptp in on one of them. So far I had almost no problems with it at all. send me the config, I have to warn you that its a bit hard to test random things on mpd because its on our firewall so I don't want to mess with it to much. I can however use your config on my other server to test it for you. On Mon, June 2, 2008 15:20, Odhiambo Washington wrote: > I have both mpd4 and mpd5 able to work on my box! The only thing I > hate in the logs is that mpd5 appears to allocate lower connection > bandwidth than mpd4. I don't know if this makes sense, but because of > that, I default to using mpd4. V5 is just there for playing with, and > answering others like you in case they have a problem. I'd like to know > why this bandwidth issue is differren between the versions, if you can > help check out. I can give you a working config if you want. > > > > > On 6/2/08, Reinhold wrote: > >> Nope I only had >> mpd_enable="YES" in it before and that used to work perfectly. >> >> That's why I was stumped at what was the cause to the problem. >> >> >> I have another server that accepts pptp connections and I only have >> mpd_enable in the rc.conf file and its working like a dream. >> >> Very weird. >> >> >> Reinhold >> >> >> On Mon, June 2, 2008 13:25, Odhiambo Washington wrote: >> >>> I thought you already had that entry in rc.conf? >>> That's why I didn't even look that side. >>> Anyway it's great to hear you're fine now. >>> >>> >>> >>> >>> >>> On 6/2/08, Reinhold wrote: >>> >>> >>>> Hi >>>> >>>> >>>> >>>> Thanks for the help >>>> Its working again \o/ >>>> >>>> >>>> >>>> All I did was enabled logging like you suggested and made a change >>>> in /etc/rc.conf. >>>> I've added this >>>> mpd_flags="-b -s mpd5" >>>> >>>> Then restarted mpd5 and bang it worked. >>>> >>>> >>>> >>>> Thanks again. >>>> Reinhold >>>> >>>> >>>> >>>> >>>> On Mon, June 2, 2008 11:01, Odhiambo Washington wrote: >>>> >>>> >>>>> On Mon, Jun 2, 2008 at 10:45 AM, Reinhold >>>>> wrote: >>>>> >>>>> >>>>> >>>>>> Hi. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> I'm still struggling with this problem, is there anyone out >>>>>> there that can offer me some help please >>>>> >>>>> What I've done most of the times is to log all communications >>>>> with mpd by adding a logging entry into /etc/syslog.conf: >>>>> >>>>> !mpd5 >>>>> *.* /var/log/mpd5.log >>>>> >>>>> >>>>> >>>>> >>>>> Then >>>>> touch /var/log/mpd5.log kill -1 `cat /var/run/syslog.pid` >>>>> >>>>> You can then look at /var/log/mpd5 for more clues >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Best regards, >>>>> Odhiambo WASHINGTON, >>>>> Nairobi,KE >>>>> +254733744121/+254722743223 >>>>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >>>>> >>>>> >>>>> >>>>> >>>>> "Oh My God! They killed init! You Bastards!" >>>>> --from a /. post >>>>> _______________________________________________ >>>>> freebsd-questions@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to >>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> -- >>> Sent from Google Mail for mobile | mobile.google.com >>> >>> >>> >>> Best regards, >>> Odhiambo WASHINGTON, >>> Nairobi,KE >>> +254733744121/+254722743223 >>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >>> >>> >>> >>> "Oh My God! They killed init! You Bastards!" >>> --from a /. post >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >>> >>> >> >> >> > > -- > Sent from Google Mail for mobile | mobile.google.com > > > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > > "Oh My God! They killed init! You Bastards!" > --from a /. post > _______________________________________________ > freebsd-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 jerrymc at msu.edu Mon Jun 2 14:46:03 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Jun 2 14:46:09 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <5.2.0.9.2.20080602071557.00c43458@192.168.0.30> References: <258326.33866.qm@web57007.mail.re3.yahoo.com> <5.2.0.9.2.20080602071557.00c43458@192.168.0.30> Message-ID: <20080602144149.GA59227@gizmo.acns.msu.edu> On Mon, Jun 02, 2008 at 07:18:14AM -0400, Steve Lake wrote: > > >> > -----Original Message----- > >> > From: owner-freebsd-questions@freebsd.org > >> > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Unga > >> > Sent: Friday, May 30, 2008 9:14 PM > >> > To: Steve Lake > >> > Cc: freebsd-questions@freebsd.org > >> > Subject: Re: Looking for gurus willing to help write Freebsd tutorials > >> > > >> > > >> > "Raiden's Realm is a community tech site dedicated to > >> > helping people learn about Linux, BSD, and open source > >> > software." - WHO WE ARE, www.raiden.net. > >> > > >> > If you are honest for your site's objective, > >> > appreciate if could drop the penguin from the site's > >> > logo without a delay. It clearly shows your bias. > >> > > >> > >> Yep, he definitely likes birds better than red sex toys... > > lol. Cute. I'm actually a very strong supporter of Freebsd. I > wouldn't list 3 of the major BSD distros in my "recommended distros" > section if I wasn't. :) The problem is, the majority of my audience is > Linux guys and newbies looking for info on Linux. I figure if I can get > them in the door with Linux, I can make a BSD evangelist out of them > eventually. :) I've already had quite a few BSD converts over the past > couple of years doing just that. :D Still, you need to add the sex toy in a nice dignified, well designed way to your banner. ////jerry > > Steven Lake > Owner/Technical Writer > Raiden's Realm > www.raiden.net > Bringing Linux and BSD to the World > > > _______________________________________________ > freebsd-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 david.robillard at gmail.com Mon Jun 2 14:58:00 2008 From: david.robillard at gmail.com (David Robillard) Date: Mon Jun 2 14:58:03 2008 Subject: Reverse proxy recommendation Message-ID: <226ae0c60806020757w1e3c23f6v2b1a7792d196376d@mail.gmail.com> On Sat, 2008-05-31 at 10:26 -0400, Thomas Mullins wrote: > Hello, > > We have three internal web servers that we make accessible to the > internet. Right now we simply use pf and port redirection. Works > great. > > But, we would like to tighten up security. I know you can do this with > squid, apache and a few others. Could someone please make a > recommendation on what solutions they have used or seen in the past? > > Thanks > Shane You may want to check the www/varnish port. From the ports description: This is the Varnish high-performance HTTP accelerator. Documentation and additional information about Varnish is available on . Technical questions about Varnish and this release should be addressed to . Questions about commercial support and services related to Varnish should be addressed to . WWW: http://www.varnish-cache.org/ And from wikipedia: http://en.wikipedia.org/wiki/Varnish_cache I've never used it myself, but looks interesting since it's been created by Poul-Henning Kamp which is a major FreeBSD developer. HTH, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 From odhiambo at gmail.com Mon Jun 2 15:52:20 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon Jun 2 15:52:25 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <50487.217.41.34.61.1212417471.squirrel@www.violetlan.net> References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> <991123400806020301h1d43f4e6j73a335859b1c3027@mail.gmail.com> <64261.217.41.34.61.1212406277.squirrel@www.violetlan.net> <991123400806020525u5e1ba7c3gbffbfa4342fe16c6@mail.gmail.com> <58722.217.41.34.61.1212410957.squirrel@www.violetlan.net> <991123400806020720p731d3ebfqe72150dbbe1473c7@mail.gmail.com> <50487.217.41.34.61.1212417471.squirrel@www.violetlan.net> Message-ID: <991123400806020852o58a4a334k184e5998779c1c09@mail.gmail.com> On Mon, Jun 2, 2008 at 5:37 PM, Reinhold wrote: > For me mpd5 have been running perfectly when it comes to bandwidth. But > then again I'm using adsl here. > > I'm using mpd5 to connect to 2 adsl lines and then allow pptp in on one of > them. So far I had almost no problems with it at all. > > send me the config, I have to warn you that its a bit hard to test random > things on mpd because its on our firewall so I don't want to mess with it > to much. > > I can however use your config on my other server to test it for you. I wouldn't want to bother you anyway. However, I have a question: Since you've not been logging the pptp conversation, how do you know the bandwidth bit? Perhaps it's me who has not gotten the concept: A user logs in and part of what you see in the log is: Jun 2 17:34:15 spamfilter mpd4: Reply message: S=27627E63A5E602FEB6B8E6716A7A352622139C6F Jun 2 17:34:15 spamfilter mpd4: [pptp1] CHAP: sending SUCCESS len:42 Jun 2 17:34:15 spamfilter mpd4: [pptp1] LCP: authorization successful Jun 2 17:34:15 spamfilter mpd4: [pptp1] Bundle up: 1 link, total bandwidth 64000 bps Jun 2 17:34:15 spamfilter mpd4: [pptp1] IPCP: Open event Jun 2 17:34:15 spamfilter mpd4: [pptp1] IPCP: state change Initial --> Starting Jun 2 17:34:15 spamfilter mpd4: [pptp1] IPCP: LayerStart Jun 2 17:34:15 spamfilter mpd4: [pptp1] CCP: Open event Jun 2 17:34:15 spamfilter mpd4: [pptp1] CCP: state change Initial --> Starting Jun 2 17:34:15 spamfilter mpd4: [pptp1] CCP: LayerStart Jun 2 17:34:15 spamfilter mpd4: [pptp1] IPCP: Up event Jun 2 17:34:15 spamfilter mpd4: [pptp1] IPCP: state change Starting --> Req-Sent Jun 2 17:34:15 spamfilter mpd4: [pptp1] IPCP: SendConfigReq #7 Jun 2 17:34:15 spamfilter mpd4: IPADDR 192.168.33.1 The user stays on and does whatever they wanted to do, and when they are disconnecting, you see this: Jun 2 17:52:50 spamfilter mpd4: [pptp1] LCP: rec'd Terminate Request #10 (Opened) Jun 2 17:52:50 spamfilter mpd4: [pptp1] LCP: state change Opened --> Stopping Jun 2 17:52:50 spamfilter mpd4: [pptp1] AUTH: Accounting data for user bthakrar: 1117 seconds, 578183 octets in, 9632530 octets out Jun 2 17:52:50 spamfilter mpd4: [pptp1] Bundle up: 0 links, total bandwidth 9600 bps Jun 2 17:52:50 spamfilter mpd4: [pptp1] IPCP: Close event Jun 2 17:52:50 spamfilter mpd4: [pptp1] IPCP: state change Opened --> Closing Jun 2 17:52:50 spamfilter mpd4: [pptp1] IPCP: SendTerminateReq #9 Jun 2 17:52:50 spamfilter mpd4: [pptp1] error writing len 8 frame to bypass: Network is down Jun 2 17:52:50 spamfilter mpd4: [pptp1] IPCP: LayerDown Jun 2 17:52:50 spamfilter mpd4: [pptp1] IFACE: Down event So, upon connection, there was a bandwidth of 64000bps, but upon closing that session, the b/w is 9600bps. That is what I meant, and the way I see now, it has nothing to do with mpd5 or mpd4.... Perhaps all this is OT now and it is fodder for another list:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From jhary at unsane.co.uk Mon Jun 2 16:12:54 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Mon Jun 2 16:13:01 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <18500.704.941947.361128@jerusalem.litteratus.org> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <81a9e3840806020642k4017db9chb8c0ba3821466582@mail.gmail.com> <4843FF87.4070308@unsane.co.uk> <18500.704.941947.361128@jerusalem.litteratus.org> Message-ID: <48441C03.3000209@unsane.co.uk> Robert Huff wrote: > Vince Hoffman writes: > >> > Is there any way to avoid RESTRICTED and install www/linux-flashplugin7 ? >> > www/linux-flashplugin9 always freeze my firefox :-( >> >> For me the >> RESTRICTED= Redistribution not allowed >> line just means what it says, ie you cant redistribute the >> port/package. > > If that's the case, then it's a poor choice if name for the > variable. > It seems clear enough to me but I can see why it could cause confusion. For an explanation of what the variables mean its usually best to look though the porters handbook. Taking this as an example: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-restrictions.html > > Robert Huff From alexus at gmail.com Mon Jun 2 16:13:22 2008 From: alexus at gmail.com (alexus) Date: Mon Jun 2 16:13:28 2008 Subject: VPN (IPSEC) In-Reply-To: <6ae50c2d0805311649p14863af3y43af39fb4aa2cc8a@mail.gmail.com> References: <6ae50c2d0805311649p14863af3y43af39fb4aa2cc8a@mail.gmail.com> Message-ID: <6ae50c2d0806020913v2c7665b8nc3673e30cb8627cc@mail.gmail.com> anyone? On Sat, May 31, 2008 at 7:49 PM, alexus wrote: > Hello, > > I'm trying to establish a VPN tunnel over internet, I read a > http://www.freebsd.org/doc/en/books/handbook/ipsec.html on how to set > it up, I'm some what strangeling if my setup will work at all. > > i have box #1 that have 1 primary IP, which is private IP but in front > of my box, I have a device that translate a public IP address into > private IP, so "technicaly" its a public IP not a private, yet system > sees it as private, yet my box #2 has interface with real public ip > and another interface with private ip, i created GIF0 interface, yet i > can't ping private range on other box. > > > box#1 > > fxp0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:0f:fe:aa:f4:61 > inet 192.168.1.251 netmask 0xffffff00 broadcast 192.168.1.255 > inet 172.16.172.16 netmask 0xffffffff broadcast 172.16.172.16 > media: Ethernet autoselect (100baseTX ) > status: active > plip0: flags=108810 metric 0 mtu 1500 > lo0: flags=8049 metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > gif0: flags=8051 metric 0 mtu 1280 > tunnel inet 38.96.123.42 --> 74.2.252.194 > inet 192.168.1.251 --> 192.168.2.252 netmask 0xffffffff > alexus@jot ~ 503$ netstat -rn | grep gif0 > 192.168.2.252 192.168.1.251 UH 0 15 gif0 > alexus@jot ~ 504$ > > box#2 > > su-3.2# ifconfig > dc0: flags=8943 metric > 0 mtu 1500 > options=8 > ether 00:1a:70:10:e3:89 > inet 74.2.252.194 netmask 0xfffffff8 broadcast 74.2.252.199 > media: Ethernet autoselect (100baseTX) > status: active > fxp0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:13:20:09:53:31 > inet 192.168.2.252 netmask 0xffffff00 broadcast 192.168.2.255 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > gif0: flags=8051 metric 0 mtu 1280 > tunnel inet 74.2.252.194 --> 38.96.132.42 > inet 192.168.2.252 --> 192.168.1.251 netmask 0xffffffff > su-3.2# netstat -rn | grep gif0 > 192.168.1.251 192.168.2.252 UH 0 602 gif0 > su-3.2# > > > any suggestions are welcome, thanks! > -- > http://alexus.org/ > -- http://alexus.org/ From freebsd at violetlan.net Mon Jun 2 16:16:04 2008 From: freebsd at violetlan.net (Reinhold) Date: Mon Jun 2 16:16:12 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <991123400806020852o58a4a334k184e5998779c1c09@mail.gmail.com> References: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> <60238.217.41.34.61.1212392735.squirrel@www.violetlan.net> <991123400806020301h1d43f4e6j73a335859b1c3027@mail.gmail.com> <64261.217.41.34.61.1212406277.squirrel@www.violetlan.net> <991123400806020525u5e1ba7c3gbffbfa4342fe16c6@mail.gmail.com> <58722.217.41.34.61.1212410957.squirrel@www.violetlan.net> <991123400806020720p731d3ebfqe72150dbbe1473c7@mail.gmail.com> <50487.217.41.34.61.1212417471.squirrel@www.violetlan.net> <991123400806020852o58a4a334k184e5998779c1c09@mail.gmail.com> Message-ID: <64609.217.41.34.61.1212423398.squirrel@www.violetlan.net> > > So, upon connection, there was a bandwidth of 64000bps, but upon > closing that session, the b/w is 9600bps. > I see the same things since I started logging the connection. At the start I see this mpd5: [B-3] Bundle: Status update: up 1 link, total bandwidth 64000 bps and at the end its mpd5: [B-3] Bundle: Status update: up 0 links, total bandwidth 9600 bps This is a bit OT because my original problem got fixed thanks to you, I still have no idea what fixed it though, hehehe From rvm at CBORD.com Mon Jun 2 16:31:31 2008 From: rvm at CBORD.com (Bob McConnell) Date: Mon Jun 2 16:31:38 2008 Subject: VPN (IPSEC) In-Reply-To: <6ae50c2d0806020913v2c7665b8nc3673e30cb8627cc@mail.gmail.com> References: <6ae50c2d0805311649p14863af3y43af39fb4aa2cc8a@mail.gmail.com> <6ae50c2d0806020913v2c7665b8nc3673e30cb8627cc@mail.gmail.com> Message-ID: On Behalf Of alexus > >anyone? > > >On Sat, May 31, 2008 at 7:49 PM, alexus wrote: >> Hello, >> >> I'm trying to establish a VPN tunnel over internet, I read a >> http://www.freebsd.org/doc/en/books/handbook/ipsec.html on how to set >> it up, I'm some what strangeling if my setup will work at all. >> IIRC, IPSEC cannot work through a NAT connection. NAT changes header fields that IPSEC uses for packet authentication. So the receiver cannot validate the content of the modified header. Bob McConnell From casey at phantombsd.org Mon Jun 2 16:42:04 2008 From: casey at phantombsd.org (Casey Scott) Date: Mon Jun 2 16:42:09 2008 Subject: 7.0 upgrade compile error In-Reply-To: <32222408.01212247895507.JavaMail.root@tomcat.phantombsd.org> Message-ID: <9011383.31212424918663.JavaMail.root@tomcat.phantombsd.org> With the new output below, does anyone have any thought on why the build fails? Casey ----- "Casey Scott" wrote: > Kris, > > > Please show us more context. > > These seems to be all the relevant output: > > ****************************************************************************************** > cd /usr/src/etc; make buildincludes; make installincludes > > -------------------------------------------------------------- > >>> stage 4.2: building libraries > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 > MACHINE=i386 CPUTYPE=pentium4 > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh > /usr/src/tools/install.sh" > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp -DNO_FSCHG > -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DWITHOUT_NLS > -DWITHOUT_PROFILE libraries > cd /usr/src; make -f Makefile.inc1 _prereq_libs; make -f > Makefile.inc1 _startup_libs; make -f Makefile.inc1 _prebuild_libs; > make -f Makefile.inc1 _generic_libs; > ===> gnu/lib/libgcc (obj,depend,all,install) > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h > TARGET_CPU_DEFAULT="" HEADERS="options.h i386/i386.h i386/unix.h > i386/att.h dbxelf.h elfos.h freebsd-native.h freebsd-spec.h freebsd.h > i386/freebsd.h defaults.h" DEFINES="" /bin/sh > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h > echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >> tm.h > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h > TARGET_CPU_DEFAULT="" HEADERS="auto-host.h ansidecl.h" > DEFINES="USED_FOR_TARGET" /bin/sh > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h > awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt > > optionlist > awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk > -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk < > optionlist > options.h > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h > ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h > unwind.h > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h > ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h > gthr-default.h > cc -c -O2 -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2 > -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. > -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools > -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 > -DElfW=__ElfN -o unwind-dw2.o > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c > In file included from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32: > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error: > stddef.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error: > float.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error: > stdarg.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error: > stdio.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error: > errno.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error: > string.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error: > stdlib.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error: > unistd.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error: > limits.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error: > time.h: No such file or directory > In file included from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:40: > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function > 'size_of_encoded_value': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:90: warning: > incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function > 'base_of_encoded_value': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:122: warning: > incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function > 'read_encoded_value_with_base': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:259: warning: > incompatible implicit declaration of built-in function 'abort' > In file included from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, > from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: > ./gthr-default.h:43:21: error: pthread.h: No such file or directory > In file included from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, > from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: > ./gthr-default.h: At top level: > ./gthr-default.h:92: error: 'pthread_once' undeclared here (not in a > function) > ./gthr-default.h:93: error: 'pthread_getspecific' undeclared here (not > in a function) > ./gthr-default.h:94: error: 'pthread_setspecific' undeclared here (not > in a function) > ./gthr-default.h:95: error: 'pthread_create' undeclared here (not in a > function) > ./gthr-default.h:96: error: 'pthread_cancel' undeclared here (not in a > function) > ./gthr-default.h:97: error: 'pthread_mutex_lock' undeclared here (not > in a function) > ./gthr-default.h:98: error: 'pthread_mutex_trylock' undeclared here > (not in a function) > ./gthr-default.h:99: error: 'pthread_mutex_unlock' undeclared here > (not in a function) > ./gthr-default.h:100: error: 'pthread_mutex_init' undeclared here (not > in a function) > ./gthr-default.h:103: error: 'pthread_key_create' undeclared here (not > in a function) > ./gthr-default.h:104: error: 'pthread_key_delete' undeclared here (not > in a function) > ./gthr-default.h:105: error: 'pthread_mutexattr_init' undeclared here > (not in a function) > ./gthr-default.h:106: error: 'pthread_mutexattr_settype' undeclared > here (not in a function) > ./gthr-default.h:107: error: 'pthread_mutexattr_destroy' undeclared > here (not in a function) > ./gthr-default.h: In function '__gthread_active_p': > ./gthr-default.h:173: error: 'PTHREAD_MUTEX_INITIALIZER' undeclared > (first use in this function) > ./gthr-default.h:173: error: (Each undeclared identifier is reported > only once > ./gthr-default.h:173: error: for each function it appears in.) > ./gthr-default.h:174: error: 'PTHREAD_ONCE_INIT' undeclared (first use > in this function) > ./gthr-default.h:188: error: called object > '__gthrw_pthread_mutex_lock' is not a function > ./gthr-default.h:189: error: called object '__gthrw_pthread_once' is > not a function > ./gthr-default.h:190: error: called object > '__gthrw_pthread_mutex_unlock' is not a function > ./gthr-default.h: In function '__gthread_once': > ./gthr-default.h:578: error: called object '__gthrw_pthread_once' is > not a function > ./gthr-default.h: In function '__gthread_key_create': > ./gthr-default.h:586: error: called object > '__gthrw_pthread_key_create' is not a function > ./gthr-default.h: In function '__gthread_key_delete': > ./gthr-default.h:592: error: called object > '__gthrw_pthread_key_delete' is not a function > ./gthr-default.h: In function '__gthread_getspecific': > ./gthr-default.h:598: error: called object > '__gthrw_pthread_getspecific' is not a function > ./gthr-default.h: In function '__gthread_setspecific': > ./gthr-default.h:604: error: called object > '__gthrw_pthread_setspecific' is not a function > ./gthr-default.h: In function '__gthread_mutex_lock': > ./gthr-default.h:611: error: called object > '__gthrw_pthread_mutex_lock' is not a function > ./gthr-default.h: In function '__gthread_mutex_trylock': > ./gthr-default.h:620: error: called object > '__gthrw_pthread_mutex_trylock' is not a function > ./gthr-default.h: In function '__gthread_mutex_unlock': > ./gthr-default.h:629: error: called object > '__gthrw_pthread_mutex_unlock' is not a function > ./gthr-default.h: In function > '__gthread_recursive_mutex_init_function': > ./gthr-default.h:643: error: called object > '__gthrw_pthread_mutexattr_init' is not a function > ./gthr-default.h:645: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared > (first use in this function) > ./gthr-default.h:645: error: called object > '__gthrw_pthread_mutexattr_settype' is not a function > ./gthr-default.h:647: error: called object > '__gthrw_pthread_mutex_init' is not a function > ./gthr-default.h:649: error: called object > '__gthrw_pthread_mutexattr_destroy' is not a function > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > '_Unwind_GetGR': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:168: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > '_Unwind_SetGR': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > '_Unwind_SetGRValue': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:257: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > 'extract_cie_info': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:350: > warning: incompatible implicit declaration of built-in function > 'strlen' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > 'execute_stack_op': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:611: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:829: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:836: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > 'execute_cfa_program': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1082: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > 'uw_frame_state_for': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1099: > warning: incompatible implicit declaration of built-in function > 'memset' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > '__frame_state_for': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1184: > warning: incompatible implicit declaration of built-in function > 'memset' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > '_Unwind_SetSpColumn': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1234: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > 'uw_update_context_1': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1290: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > 'uw_init_context_1': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1408: > warning: incompatible implicit declaration of built-in function > 'memset' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1413: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1417: error: > 'PTHREAD_ONCE_INIT' undeclared (first use in this function) > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function > 'uw_install_context_1': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1472: > warning: incompatible implicit declaration of built-in function > 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1480: > warning: incompatible implicit declaration of built-in function > 'memcpy' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1486: > warning: incompatible implicit declaration of built-in function > 'memcpy' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1490: > warning: incompatible implicit declaration of built-in function > 'memcpy' > In file included from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1518: > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function > '_Unwind_RaiseException_Phase2': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:75: warning: > incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function > '_Unwind_Resume': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:238: warning: > incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function > '_Unwind_Resume_or_Rethrow': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:263: warning: > incompatible implicit declaration of built-in function 'abort' > *** Error code 1 > > Stop in /usr/src/gnu/lib/libgcc. > *** 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. > ****************************************************************************************** > > > Casey > _______________________________________________ > freebsd-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 Mon Jun 2 16:42:21 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Mon Jun 2 16:42:28 2008 Subject: VPN (IPSEC) In-Reply-To: <6ae50c2d0806020913v2c7665b8nc3673e30cb8627cc@mail.gmail.com> References: <6ae50c2d0805311649p14863af3y43af39fb4aa2cc8a@mail.gmail.com> <6ae50c2d0806020913v2c7665b8nc3673e30cb8627cc@mail.gmail.com> Message-ID: On Mon, Jun 2, 2008 at 9:13 AM, alexus wrote: > anyone? > > > On Sat, May 31, 2008 at 7:49 PM, alexus wrote: >> Hello, >> >> I'm trying to establish a VPN tunnel over internet, I read a >> http://www.freebsd.org/doc/en/books/handbook/ipsec.html on how to set >> it up, I'm some what strangeling if my setup will work at all. >> >> i have box #1 that have 1 primary IP, which is private IP but in front >> of my box, I have a device that translate a public IP address into >> private IP, so "technicaly" its a public IP not a private, yet system >> sees it as private, yet my box #2 has interface with real public ip >> and another interface with private ip, i created GIF0 interface, yet i >> can't ping private range on other box. >> >> >> box#1 >> >> fxp0: flags=8843 metric 0 mtu 1500 >> options=8 >> ether 00:0f:fe:aa:f4:61 >> inet 192.168.1.251 netmask 0xffffff00 broadcast 192.168.1.255 >> inet 172.16.172.16 netmask 0xffffffff broadcast 172.16.172.16 >> media: Ethernet autoselect (100baseTX ) >> status: active >> plip0: flags=108810 metric 0 mtu 1500 >> lo0: flags=8049 metric 0 mtu 16384 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 >> inet6 ::1 prefixlen 128 >> inet 127.0.0.1 netmask 0xff000000 >> gif0: flags=8051 metric 0 mtu 1280 >> tunnel inet 38.96.123.42 --> 74.2.252.194 >> inet 192.168.1.251 --> 192.168.2.252 netmask 0xffffffff >> alexus@jot ~ 503$ netstat -rn | grep gif0 >> 192.168.2.252 192.168.1.251 UH 0 15 gif0 >> alexus@jot ~ 504$ >> >> box#2 >> >> su-3.2# ifconfig >> dc0: flags=8943 metric >> 0 mtu 1500 >> options=8 >> ether 00:1a:70:10:e3:89 >> inet 74.2.252.194 netmask 0xfffffff8 broadcast 74.2.252.199 >> media: Ethernet autoselect (100baseTX) >> status: active >> fxp0: flags=8843 metric 0 mtu 1500 >> options=8 >> ether 00:13:20:09:53:31 >> inet 192.168.2.252 netmask 0xffffff00 broadcast 192.168.2.255 >> media: Ethernet autoselect (100baseTX ) >> status: active >> lo0: flags=8049 metric 0 mtu 16384 >> inet 127.0.0.1 netmask 0xff000000 >> gif0: flags=8051 metric 0 mtu 1280 >> tunnel inet 74.2.252.194 --> 38.96.132.42 >> inet 192.168.2.252 --> 192.168.1.251 netmask 0xffffffff >> su-3.2# netstat -rn | grep gif0 >> 192.168.1.251 192.168.2.252 UH 0 602 gif0 >> su-3.2# >> >> >> any suggestions are welcome, thanks! >> -- >> http://alexus.org/ google for "ipsec nat traversal freebsd" From oskar-freebsd at eyb.de Mon Jun 2 16:42:56 2008 From: oskar-freebsd at eyb.de (Oskar Eyb) Date: Mon Jun 2 16:43:02 2008 Subject: 7.0-R freezes with: swap_pager: indefinite wait buffer: bufobj Message-ID: <48441E85.1050803@eyb.de> Hello, on a 7.0-RELEASE maschine I have now again a big problem with freezing. swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388449, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388452, size: 20480 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 387805, size: 16384 # swapctl -l Device: 1024-blocks Used: /dev/mirror/gm0s1b 1048576 485332 /dev/md0 1048576 485316 What to do against this, is there a patch available? Best Regards, Oskar From kurt.buff at gmail.com Mon Jun 2 16:43:21 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Mon Jun 2 16:43:24 2008 Subject: VPN (IPSEC) In-Reply-To: <6ae50c2d0806020913v2c7665b8nc3673e30cb8627cc@mail.gmail.com> References: <6ae50c2d0805311649p14863af3y43af39fb4aa2cc8a@mail.gmail.com> <6ae50c2d0806020913v2c7665b8nc3673e30cb8627cc@mail.gmail.com> Message-ID: On Mon, Jun 2, 2008 at 9:13 AM, alexus wrote: > anyone? > > > On Sat, May 31, 2008 at 7:49 PM, alexus wrote: >> Hello, >> >> I'm trying to establish a VPN tunnel over internet, I read a >> http://www.freebsd.org/doc/en/books/handbook/ipsec.html on how to set >> it up, I'm some what strangeling if my setup will work at all. >> >> i have box #1 that have 1 primary IP, which is private IP but in front >> of my box, I have a device that translate a public IP address into >> private IP, so "technicaly" its a public IP not a private, yet system >> sees it as private, yet my box #2 has interface with real public ip >> and another interface with private ip, i created GIF0 interface, yet i >> can't ping private range on other box. >> >> >> box#1 >> >> fxp0: flags=8843 metric 0 mtu 1500 >> options=8 >> ether 00:0f:fe:aa:f4:61 >> inet 192.168.1.251 netmask 0xffffff00 broadcast 192.168.1.255 >> inet 172.16.172.16 netmask 0xffffffff broadcast 172.16.172.16 >> media: Ethernet autoselect (100baseTX ) >> status: active >> plip0: flags=108810 metric 0 mtu 1500 >> lo0: flags=8049 metric 0 mtu 16384 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 >> inet6 ::1 prefixlen 128 >> inet 127.0.0.1 netmask 0xff000000 >> gif0: flags=8051 metric 0 mtu 1280 >> tunnel inet 38.96.123.42 --> 74.2.252.194 >> inet 192.168.1.251 --> 192.168.2.252 netmask 0xffffffff >> alexus@jot ~ 503$ netstat -rn | grep gif0 >> 192.168.2.252 192.168.1.251 UH 0 15 gif0 >> alexus@jot ~ 504$ >> >> box#2 >> >> su-3.2# ifconfig >> dc0: flags=8943 metric >> 0 mtu 1500 >> options=8 >> ether 00:1a:70:10:e3:89 >> inet 74.2.252.194 netmask 0xfffffff8 broadcast 74.2.252.199 >> media: Ethernet autoselect (100baseTX) >> status: active >> fxp0: flags=8843 metric 0 mtu 1500 >> options=8 >> ether 00:13:20:09:53:31 >> inet 192.168.2.252 netmask 0xffffff00 broadcast 192.168.2.255 >> media: Ethernet autoselect (100baseTX ) >> status: active >> lo0: flags=8049 metric 0 mtu 16384 >> inet 127.0.0.1 netmask 0xff000000 >> gif0: flags=8051 metric 0 mtu 1280 >> tunnel inet 74.2.252.194 --> 38.96.132.42 >> inet 192.168.2.252 --> 192.168.1.251 netmask 0xffffffff >> su-3.2# netstat -rn | grep gif0 >> 192.168.1.251 192.168.2.252 UH 0 602 gif0 >> su-3.2# >> >> >> any suggestions are welcome, thanks! >> -- >> http://alexus.org/ google for "ipsec nat traversal freebsd" From kalin at el.net Mon Jun 2 17:09:29 2008 From: kalin at el.net (kalin m) Date: Mon Jun 2 17:09:34 2008 Subject: mfi freebsd7 Message-ID: <4844293F.7020507@el.net> hi all... a hosting facility build a new dedicated server for me and looking at the dmesg i see: mfi0: port 0xec00-0xecff mem 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 2.00 for df i get: Filesystem Size Used Avail Capacity Mounted on /dev/mfid0s1a 496M 197M 259M 43% / devfs 1.0K 1.0K 0B 100% /dev /dev/mfid0s1e 496M 12K 456M 0% /tmp /dev/mfid0s1f 661G 636M 608G 0% /usr /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var i asked for raid1. i cant find too much information about the mfi driver. just that it works with freebsd 7. i'll keep looking but - has anybody successfully deployed production servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server? is there any loss in performance using that hardware in RAID1? any performance loss in RAID1 at all? thanks... From jopesko at gmail.com Mon Jun 2 17:18:25 2008 From: jopesko at gmail.com (Jo Pesko) Date: Mon Jun 2 17:18:30 2008 Subject: OpenFire installation Message-ID: <484424CB.4040204@gmail.com> Hi. I receive "Error code 64" while trying to install OpenFire(after executing make install) from ports collection. Here is some output: /bin/mkdir -p /usr/local/share/doc/openfire (cd /usr/ports/net-im/openfire/work/openfire_src && install -o root -g wheel -m 444 LICENSE.html README.html changelog.html /usr/local/share/doc/openfire) (cd /usr/ports/net-im/openfire/work/openfire_src/documentation/docs && /usr/bin/find . \! -path ./javadoc\* | /usr/bin/cpio -pdmu -R root:wheel /usr/local/share/doc/openfire > /dev/null 2>&1 ) /bin/ln -sf /var/log/openfire /usr/local/share/java/openfire/logs /bin/ln -sf /var/db/openfire /usr/local/share/java/openfire/embedded-db /bin/ln -sf /usr/local/share/java/openfire/conf /bin/ln -sf /usr/local/share/java/openfire/resources/security /bin/mkdir -p /usr/local/share/examples/openfire install -o root -g wheel -m 444 /usr/ports/net-im/openfire/work/openfire_src/target/openfire/conf/openfire.xml /usr/local/share/examples/openfire/openfire.xml install -m 600 /usr/ports/net-im/openfire/work/openfire_src/target/openfire/resources/security/truststore /usr/local/share/examples/openfire/truststore install -m 600 /usr/ports/net-im/openfire/work/openfire_src/target/openfire/resources/security/keystore /usr/local/share/examples/openfire/keystore usage: mkdir [-pv] [-m mode] directory_name ... *** Error code 64 Stop in /usr/ports/net-im/openfire. Any help will be appreciated. From jrisom at gmail.com Mon Jun 2 18:13:21 2008 From: jrisom at gmail.com (Joshua Isom) Date: Mon Jun 2 18:13:26 2008 Subject: Can't mount my iPhone - Maybe it need not be mounted? In-Reply-To: <20080602091656.14556mmscjabss4c@intranet.encontacto.net> References: <20080601111048.20636scjpsk378kk@intranet.encontacto.net> <53cadfa4b6ba32a924675c001e8cc1b7@gmail.com> <20080602091656.14556mmscjabss4c@intranet.encontacto.net> Message-ID: <9c5e6d8d7bfce63b7f3a3e7f57b8cb8b@gmail.com> If I recall right from what I've read about it, it's mounted as a sshfs or something like that, network based and not usb based. You just need to install openssh and some other programs. On Jun 2, 2008, at 9:16 AM, eculp wrote: > Quoting Joshua Isom : > >> To be able to mount your iPhone, you're going to have to essentially >> void the warranty and risk turning it into a pretty paperweight. It >> sucks, but that's the way it is. But at least you can charge your >> iPhone using FreeBSD. > > I'm already using it with a carrier that isn't yet authorized so I > have to assume that it is "jailbroken" but I still can't find a way to > mount it. It seems that it isn't recoginzed by FreeBSD current as > being mountable. > > Thanks for the warning. > > ed > >> >> On Jun 1, 2008, at 11:10 AM, eculp wrote: >> >>> I've not been successful at googling a way to connect freebsd >>> current amd64 to my iPhone. Eventually, I would like to be able to >>> sync and upload to it from an opensource substitute for iTunes, that >>> doesn't have a version from FreeBSD. >>> >>> When I connect my iPhone I see: >>> >>> Jun 1 09:55:00 ed kernel: uhid0: >> 2.00/0.01, addr 2> on uhub3 >>> >>> in messages and that is it. No new device or anything that I can >>> find. >>> >>> Any programs or suggestions that you have to facilitate using the >>> iPhone will be greatly appreciated. I've been trying to use gtkpod >>> without success because I can't mount it, I assume. >>> >>> Thanks, >>> >>> 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 jhary at unsane.co.uk Mon Jun 2 18:15:49 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Mon Jun 2 18:15:52 2008 Subject: mfi freebsd7 In-Reply-To: <4844293F.7020507@el.net> References: <4844293F.7020507@el.net> Message-ID: <484438B1.5020202@unsane.co.uk> kalin m wrote: > hi all... > > a hosting facility build a new dedicated server for me and looking at > the dmesg i see: > > mfi0: port 0xec00-0xecff mem > 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 on pci1 > mfi0: Megaraid SAS driver Ver 2.00 > > for df i get: > Filesystem Size Used Avail Capacity Mounted on > /dev/mfid0s1a 496M 197M 259M 43% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/mfid0s1e 496M 12K 456M 0% /tmp > /dev/mfid0s1f 661G 636M 608G 0% /usr > /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var > > > i asked for raid1. i cant find too much information about the mfi > driver. just that it works with freebsd 7. > you might want to look at sysutils/megarc and possibly sysutils/linux-megamgr so you can more closely monitor/investigate your array. Vince > i'll keep looking but - has anybody successfully deployed production > servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server? > is there any loss in performance using that hardware in RAID1? > any performance loss in RAID1 at all? > > > thanks... > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From bridd at bridd.com Mon Jun 2 18:27:15 2008 From: bridd at bridd.com (bridd@bridd.com) Date: Mon Jun 2 18:27:18 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <20080602144149.GA59227@gizmo.acns.msu.edu> References: <258326.33866.qm@web57007.mail.re3.yahoo.com> <5.2.0.9.2.20080602071557.00c43458@192.168.0.30> <20080602144149.GA59227@gizmo.acns.msu.edu> Message-ID: <58883.87.194.201.18.1212422335.squirrel@www.bridd.com> > On Mon, Jun 02, 2008 at 07:18:14AM -0400, Steve Lake wrote: >> >> > If you are honest for your site's objective, >> >> > appreciate if could drop the penguin from the site's >> >> > logo without a delay. It clearly shows your bias. >> >> > >> >> >> >> Yep, he definitely likes birds better than red sex toys... >> >> lol. Cute. I'm actually a very strong supporter of Freebsd. I >> wouldn't list 3 of the major BSD distros in my "recommended distros" >> section if I wasn't. :) The problem is, the majority of my audience is >> Linux guys and newbies looking for info on Linux. I figure if I can get >> them in the door with Linux, I can make a BSD evangelist out of them >> eventually. :) I've already had quite a few BSD converts over the past >> couple of years doing just that. :D > > Still, you need to add the sex toy in a nice dignified, well designed way > to your banner. > > ////jerry I agree completely, it's what got me over to BSD ! Dave // bridd From tsmullins at wise.k12.va.us Mon Jun 2 18:32:02 2008 From: tsmullins at wise.k12.va.us (Thomas Mullins) Date: Mon Jun 2 18:32:06 2008 Subject: Reverse proxy recommendation References: <226ae0c60806020757w1e3c23f6v2b1a7792d196376d@mail.gmail.com> Message-ID: <537CB068C0C3DB4C857BB2719A89DC9102793F14@mail2.wise.k12> Most thanks, FreeBSD ports are great. Shane -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of David Robillard Sent: Monday, June 02, 2008 10:58 AM To: Thomas Mullins Cc: FreeBSD Questions Subject: Re: Reverse proxy recommendation On Sat, 2008-05-31 at 10:26 -0400, Thomas Mullins wrote: > Hello, > > We have three internal web servers that we make accessible to the > internet. Right now we simply use pf and port redirection. Works > great. > > But, we would like to tighten up security. I know you can do this > with squid, apache and a few others. Could someone please make a > recommendation on what solutions they have used or seen in the past? > > Thanks > Shane You may want to check the www/varnish port. From the ports description: This is the Varnish high-performance HTTP accelerator. Documentation and additional information about Varnish is available on . Technical questions about Varnish and this release should be addressed to . Questions about commercial support and services related to Varnish should be addressed to . WWW: http://www.varnish-cache.org/ And from wikipedia: http://en.wikipedia.org/wiki/Varnish_cache I've never used it myself, but looks interesting since it's been created by Poul-Henning Kamp which is a major FreeBSD developer. HTH, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 _______________________________________________ freebsd-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 kris at FreeBSD.org Mon Jun 2 18:42:10 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Jun 2 18:42:14 2008 Subject: 7.0 upgrade compile error In-Reply-To: <9011383.31212424918663.JavaMail.root@tomcat.phantombsd.org> References: <9011383.31212424918663.JavaMail.root@tomcat.phantombsd.org> Message-ID: <48443EFF.9090005@FreeBSD.org> Casey Scott wrote: > With the new output below, does anyone have any thought on why the > build fails? You seem to be missing critical parts of your source tree. Double check your cvsupfile (or similar). Kris > Casey > > ----- "Casey Scott" wrote: > >> Kris, >> >>> Please show us more context. >> These seems to be all the relevant output: >> >> ****************************************************************************************** >> cd /usr/src/etc; make buildincludes; make installincludes >> >> -------------------------------------------------------------- >>>>> stage 4.2: building libraries >> -------------------------------------------------------------- >> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 >> MACHINE=i386 CPUTYPE=pentium4 >> GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin >> GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font >> GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac >> _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh >> /usr/src/tools/install.sh" >> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin >> make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp -DNO_FSCHG >> -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DWITHOUT_NLS >> -DWITHOUT_PROFILE libraries >> cd /usr/src; make -f Makefile.inc1 _prereq_libs; make -f >> Makefile.inc1 _startup_libs; make -f Makefile.inc1 _prebuild_libs; >> make -f Makefile.inc1 _generic_libs; >> ===> gnu/lib/libgcc (obj,depend,all,install) >> make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile >> MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile >> GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h >> TARGET_CPU_DEFAULT="" HEADERS="options.h i386/i386.h i386/unix.h >> i386/att.h dbxelf.h elfos.h freebsd-native.h freebsd-spec.h freebsd.h >> i386/freebsd.h defaults.h" DEFINES="" /bin/sh >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h >> echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >> tm.h >> make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile >> MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile >> GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h >> TARGET_CPU_DEFAULT="" HEADERS="auto-host.h ansidecl.h" >> DEFINES="USED_FOR_TARGET" /bin/sh >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h >> make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile >> MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile >> GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h >> awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt > >> optionlist >> awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk >> -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk < >> optionlist > options.h >> make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile >> MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile >> GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h >> ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h >> unwind.h >> make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile >> MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile >> GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h >> ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h >> gthr-default.h >> cc -c -O2 -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2 >> -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT >> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include >> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config >> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. >> -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools >> -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 >> -DElfW=__ElfN -o unwind-dw2.o >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c >> In file included from >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32: >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error: >> stddef.h: No such file or directory >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error: >> float.h: No such file or directory >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error: >> stdarg.h: No such file or directory >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error: >> stdio.h: No such file or directory >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error: >> errno.h: No such file or directory >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error: >> string.h: No such file or directory >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error: >> stdlib.h: No such file or directory >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error: >> unistd.h: No such file or directory >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error: >> limits.h: No such file or directory >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error: >> time.h: No such file or directory >> In file included from >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:40: >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function >> 'size_of_encoded_value': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:90: warning: >> incompatible implicit declaration of built-in function 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function >> 'base_of_encoded_value': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:122: warning: >> incompatible implicit declaration of built-in function 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function >> 'read_encoded_value_with_base': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:259: warning: >> incompatible implicit declaration of built-in function 'abort' >> In file included from >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, >> from >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: >> ./gthr-default.h:43:21: error: pthread.h: No such file or directory >> In file included from >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, >> from >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: >> ./gthr-default.h: At top level: >> ./gthr-default.h:92: error: 'pthread_once' undeclared here (not in a >> function) >> ./gthr-default.h:93: error: 'pthread_getspecific' undeclared here (not >> in a function) >> ./gthr-default.h:94: error: 'pthread_setspecific' undeclared here (not >> in a function) >> ./gthr-default.h:95: error: 'pthread_create' undeclared here (not in a >> function) >> ./gthr-default.h:96: error: 'pthread_cancel' undeclared here (not in a >> function) >> ./gthr-default.h:97: error: 'pthread_mutex_lock' undeclared here (not >> in a function) >> ./gthr-default.h:98: error: 'pthread_mutex_trylock' undeclared here >> (not in a function) >> ./gthr-default.h:99: error: 'pthread_mutex_unlock' undeclared here >> (not in a function) >> ./gthr-default.h:100: error: 'pthread_mutex_init' undeclared here (not >> in a function) >> ./gthr-default.h:103: error: 'pthread_key_create' undeclared here (not >> in a function) >> ./gthr-default.h:104: error: 'pthread_key_delete' undeclared here (not >> in a function) >> ./gthr-default.h:105: error: 'pthread_mutexattr_init' undeclared here >> (not in a function) >> ./gthr-default.h:106: error: 'pthread_mutexattr_settype' undeclared >> here (not in a function) >> ./gthr-default.h:107: error: 'pthread_mutexattr_destroy' undeclared >> here (not in a function) >> ./gthr-default.h: In function '__gthread_active_p': >> ./gthr-default.h:173: error: 'PTHREAD_MUTEX_INITIALIZER' undeclared >> (first use in this function) >> ./gthr-default.h:173: error: (Each undeclared identifier is reported >> only once >> ./gthr-default.h:173: error: for each function it appears in.) >> ./gthr-default.h:174: error: 'PTHREAD_ONCE_INIT' undeclared (first use >> in this function) >> ./gthr-default.h:188: error: called object >> '__gthrw_pthread_mutex_lock' is not a function >> ./gthr-default.h:189: error: called object '__gthrw_pthread_once' is >> not a function >> ./gthr-default.h:190: error: called object >> '__gthrw_pthread_mutex_unlock' is not a function >> ./gthr-default.h: In function '__gthread_once': >> ./gthr-default.h:578: error: called object '__gthrw_pthread_once' is >> not a function >> ./gthr-default.h: In function '__gthread_key_create': >> ./gthr-default.h:586: error: called object >> '__gthrw_pthread_key_create' is not a function >> ./gthr-default.h: In function '__gthread_key_delete': >> ./gthr-default.h:592: error: called object >> '__gthrw_pthread_key_delete' is not a function >> ./gthr-default.h: In function '__gthread_getspecific': >> ./gthr-default.h:598: error: called object >> '__gthrw_pthread_getspecific' is not a function >> ./gthr-default.h: In function '__gthread_setspecific': >> ./gthr-default.h:604: error: called object >> '__gthrw_pthread_setspecific' is not a function >> ./gthr-default.h: In function '__gthread_mutex_lock': >> ./gthr-default.h:611: error: called object >> '__gthrw_pthread_mutex_lock' is not a function >> ./gthr-default.h: In function '__gthread_mutex_trylock': >> ./gthr-default.h:620: error: called object >> '__gthrw_pthread_mutex_trylock' is not a function >> ./gthr-default.h: In function '__gthread_mutex_unlock': >> ./gthr-default.h:629: error: called object >> '__gthrw_pthread_mutex_unlock' is not a function >> ./gthr-default.h: In function >> '__gthread_recursive_mutex_init_function': >> ./gthr-default.h:643: error: called object >> '__gthrw_pthread_mutexattr_init' is not a function >> ./gthr-default.h:645: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared >> (first use in this function) >> ./gthr-default.h:645: error: called object >> '__gthrw_pthread_mutexattr_settype' is not a function >> ./gthr-default.h:647: error: called object >> '__gthrw_pthread_mutex_init' is not a function >> ./gthr-default.h:649: error: called object >> '__gthrw_pthread_mutexattr_destroy' is not a function >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> '_Unwind_GetGR': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:168: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> '_Unwind_SetGR': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> '_Unwind_SetGRValue': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:257: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> 'extract_cie_info': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:350: >> warning: incompatible implicit declaration of built-in function >> 'strlen' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> 'execute_stack_op': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:611: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:829: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:836: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> 'execute_cfa_program': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1082: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> 'uw_frame_state_for': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1099: >> warning: incompatible implicit declaration of built-in function >> 'memset' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> '__frame_state_for': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1184: >> warning: incompatible implicit declaration of built-in function >> 'memset' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> '_Unwind_SetSpColumn': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1234: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> 'uw_update_context_1': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1290: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> 'uw_init_context_1': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1408: >> warning: incompatible implicit declaration of built-in function >> 'memset' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1413: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1417: error: >> 'PTHREAD_ONCE_INIT' undeclared (first use in this function) >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function >> 'uw_install_context_1': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1472: >> warning: incompatible implicit declaration of built-in function >> 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1480: >> warning: incompatible implicit declaration of built-in function >> 'memcpy' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1486: >> warning: incompatible implicit declaration of built-in function >> 'memcpy' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1490: >> warning: incompatible implicit declaration of built-in function >> 'memcpy' >> In file included from >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1518: >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function >> '_Unwind_RaiseException_Phase2': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:75: warning: >> incompatible implicit declaration of built-in function 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function >> '_Unwind_Resume': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:238: warning: >> incompatible implicit declaration of built-in function 'abort' >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function >> '_Unwind_Resume_or_Rethrow': >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:263: warning: >> incompatible implicit declaration of built-in function 'abort' >> *** Error code 1 >> >> Stop in /usr/src/gnu/lib/libgcc. >> *** 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. >> ****************************************************************************************** >> >> >> Casey >> _______________________________________________ >> freebsd-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 bitabyss at gmail.com Mon Jun 2 18:46:39 2008 From: bitabyss at gmail.com (Rob) Date: Mon Jun 2 18:46:44 2008 Subject: small office backup hardware advice In-Reply-To: <48420FF3.8000304@gmail.com> References: <48420FF3.8000304@gmail.com> Message-ID: <48444011.9070700@gmail.com> Sdavtaker wrote: > Im working in a small office (4 PC with 80GB HD each and a "server" with > a 200GB HD). > ... What will be a solid but cheap solution to keep some usefull backups? What operating system(s) are you running on the PCs and server? -R From kalin at el.net Mon Jun 2 18:54:21 2008 From: kalin at el.net (kalin m) Date: Mon Jun 2 18:54:25 2008 Subject: mfi freebsd7 In-Reply-To: <484438B1.5020202@unsane.co.uk> References: <4844293F.7020507@el.net> <484438B1.5020202@unsane.co.uk> Message-ID: <484441D8.8050207@el.net> megarc, right... read about it.. here: # megarc -AllAdpInfo help usage : cmd -AllAdpInfo : prints info of all cards ..... ok ..... # megarc -AllAdpInfo ********************************************************************** MEGARC MegaRAID Configuration Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA ********************************************************************** [Note: For SATA-2, 4 and 6 channel controllers, please specify Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] Type ? as command line arg for help No Adapters Found Error: No MegaRaid Found ?!?!?! does that mean that there is no raid? why then the df output? the machine is supposed to have 4 250gig SAS drives. thanks... Vince Hoffman wrote: > kalin m wrote: >> hi all... >> >> a hosting facility build a new dedicated server for me and looking at >> the dmesg i see: >> >> mfi0: port 0xec00-0xecff mem >> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 on pci1 >> mfi0: Megaraid SAS driver Ver 2.00 >> >> for df i get: >> Filesystem Size Used Avail Capacity Mounted on >> /dev/mfid0s1a 496M 197M 259M 43% / >> devfs 1.0K 1.0K 0B 100% /dev >> /dev/mfid0s1e 496M 12K 456M 0% /tmp >> /dev/mfid0s1f 661G 636M 608G 0% /usr >> /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var >> >> >> i asked for raid1. i cant find too much information about the mfi >> driver. just that it works with freebsd 7. >> > > you might want to look at sysutils/megarc and possibly > sysutils/linux-megamgr so you can more closely monitor/investigate > your array. > > Vince > >> i'll keep looking but - has anybody successfully deployed production >> servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server? >> is there any loss in performance using that hardware in RAID1? >> any performance loss in RAID1 at all? >> >> >> thanks... >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From lists-fbsd at shadypond.com Mon Jun 2 18:57:10 2008 From: lists-fbsd at shadypond.com (Pollywog) Date: Mon Jun 2 18:57:14 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <58883.87.194.201.18.1212422335.squirrel@www.bridd.com> References: <20080602144149.GA59227@gizmo.acns.msu.edu> <58883.87.194.201.18.1212422335.squirrel@www.bridd.com> Message-ID: <200806021857.02736.lists-fbsd@shadypond.com> On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: > I agree completely, it's what got me over to BSD ! > I am a little confused. I just see a sphere with "horns" on it that reminds me of the BSD daemon's head, only made to look less "demonic". Is it supposed to be something else? If it is one of those "toys" is that what FreeBSD folks really want to project as an image? From kris at FreeBSD.org Mon Jun 2 18:58:58 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Mon Jun 2 18:59:00 2008 Subject: 7.0-R freezes with: swap_pager: indefinite wait buffer: bufobj In-Reply-To: <48441E85.1050803@eyb.de> References: <48441E85.1050803@eyb.de> Message-ID: <484442F1.8040104@FreeBSD.org> Oskar Eyb wrote: > Hello, > > on a 7.0-RELEASE maschine I have now again a big problem with freezing. > > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388449, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388452, size: 20480 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 387805, size: 16384 > > > # swapctl -l > Device: 1024-blocks Used: > /dev/mirror/gm0s1b 1048576 485332 > /dev/md0 1048576 485316 > > > What to do against this, is there a patch available? Your disk is taking an enormously long time to reply to swap I/O, which is what is eventually timing out with those errors. Check that it is not failing. Kris From jerrymc at msu.edu Mon Jun 2 19:26:22 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Jun 2 19:26:26 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <200806021857.02736.lists-fbsd@shadypond.com> References: <20080602144149.GA59227@gizmo.acns.msu.edu> <58883.87.194.201.18.1212422335.squirrel@www.bridd.com> <200806021857.02736.lists-fbsd@shadypond.com> Message-ID: <20080602192208.GA60171@gizmo.acns.msu.edu> On Mon, Jun 02, 2008 at 06:57:00PM +0000, Pollywog wrote: > On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: > > > I agree completely, it's what got me over to BSD ! > > > > I am a little confused. I just see a sphere with "horns" on it that reminds > me of the BSD daemon's head, only made to look less "demonic". Is it > supposed to be something else? > > If it is one of those "toys" is that what FreeBSD folks really want to > project as an image? That is so funny! People spent years arguing about the BSDie daemon image and how it causes misunderstandings, etc and so they had a contest to choose an official logo (BSDie was no a logo, many claimed. He is just a mascott). Well, the sex toy is what FreeBSD ended up with as logo with BSDie daemon retained as the mascott. More people still identify with the BSDie daemon doll and still use it on their web pages, etc. But, the sex toy is currently the official logo - as much as anything is official with FreeBSD. So, now we can have numerous long threads complaining about how the sex toy is a bad image for FreeBSD and causes misunderstanding. If I could draw, I would have offered an alternative, but such is not my fortune. Have fun y'all. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From mav at FreeBSD.org Mon Jun 2 19:32:31 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Mon Jun 2 19:32:35 2008 Subject: mpd5 stoped working after subnet change In-Reply-To: <1212434598.00078576.1212423606@10.7.7.3> References: <1212067397.00076529.1212056411@10.7.7.3> <1212405782.00078336.1212393602@10.7.7.3> <1212412984.00078364.1212401401@10.7.7.3> <1212420183.00078428.1212406801@10.7.7.3> <1212420230.00078485.1212409802@10.7.7.3> <1212423783.00078487.1212411001@10.7.7.3> <1212427398.00078528.1212417001@10.7.7.3> <1212430983.00078536.1212417602@10.7.7.3> <1212434588.00078564.1212422402@10.7.7.3> <1212434598.00078576.1212423606@10.7.7.3> Message-ID: <48444ACA.8040308@FreeBSD.org> Reinhold wrote: >> So, upon connection, there was a bandwidth of 64000bps, but upon >> closing that session, the b/w is 9600bps. >> > I see the same things since I started logging the connection. > At the start I see this > mpd5: [B-3] Bundle: Status update: up 1 link, total bandwidth 64000 bps > and at the end its > mpd5: [B-3] Bundle: Status update: up 0 links, total bandwidth 9600 bps Those speeds mean nothing to you actually. They are used _only_ for multilink load balancing. 64000 is the default that can be changed manually by configuration, but as I have said it is meaningless whan multilink is not used. PPTP protocol has capabilities to make PAC inform PNS side about connection speed, but it is only informational and in no way interfere with real transfer speeds. > This is a bit OT because my original problem got fixed thanks to you, I > still have no idea what fixed it though, hehehe Logging (probably increased to 'log +phys2 +phys3') and tcpdump on a physical interface should help you if problem will get back again. -- Alexander Motin From gerard at seibercom.net Mon Jun 2 20:54:00 2008 From: gerard at seibercom.net (Gerard) Date: Mon Jun 2 20:54:05 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <200806020830.04316.derek.graham@att.net> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <200806020830.04316.derek.graham@att.net> Message-ID: <20080602165343.54439b87@scorpio> On Mon, 2 Jun 2008 08:30:03 -0500 Derek Graham wrote: [snip] > Fun so Flash7 is "obsolete", Gnash is half and half, and flash9 is a > lost cause :p should be interesting what happens when silverlight > comes out and all websites start using it :( Silverlight is all ready out. I don't know how wide spread its use is though. I did see something about Microsoft tweaking it so that it was compatible with Firefox. OT; however, there is a notice from CERTS regarding Microsoft and Apple's Safari: http://www.us-cert.gov/current/index.html#microsoft_releases_security_advisory1 and http://www.microsoft.com/technet/security/advisory/953818.mspx Lately Apple has been getting hit rather hard with security problems. -- Gerard gerard@seibercom.net Klatu barada nikto. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080602/00dabfe8/signature.pgp From derek.graham at att.net Mon Jun 2 20:59:08 2008 From: derek.graham at att.net (Derek Graham) Date: Mon Jun 2 20:59:13 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <20080602165343.54439b87@scorpio> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <200806020830.04316.derek.graham@att.net> <20080602165343.54439b87@scorpio> Message-ID: <200806021558.41402.derek.graham@att.net> on Monday 02 June 2008Monday 02 June 2008 Gerard Gerard wrote: > On Mon, 2 Jun 2008 08:30:03 -0500 > Derek Graham wrote: > > [snip] > > > Fun so Flash7 is "obsolete", Gnash is half and half, and flash9 is a > > lost cause :p should be interesting what happens when silverlight > > comes out and all websites start using it :( > > Silverlight is all ready out. I don't know how wide spread its use is > though. I did see something about Microsoft tweaking it so that it was > compatible with Firefox. > > OT; however, there is a notice from CERTS regarding Microsoft and > Apple's Safari: > > http://www.us-cert.gov/current/index.html#microsoft_releases_security_advis >ory1 > > and > > http://www.microsoft.com/technet/security/advisory/953818.mspx > > Lately Apple has been getting hit rather hard with security problems. I heard a rumor Microsoft was planning to create a linux version of silverlight, I also heard a rumor that silverlight could overcome flash alltogether. Yeah I have heard the same, I listen to MacBreek Weekly podcast and hear all about it on there :) Sincerely, Derek A. Graham From jhary at unsane.co.uk Mon Jun 2 21:00:25 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Mon Jun 2 21:00:28 2008 Subject: mfi freebsd7 In-Reply-To: <484441D8.8050207@el.net> References: <4844293F.7020507@el.net> <484438B1.5020202@unsane.co.uk> <484441D8.8050207@el.net> Message-ID: <48445F45.70604@unsane.co.uk> kalin m wrote: > megarc, right... read about it.. here: > > # megarc -AllAdpInfo help > usage : > cmd -AllAdpInfo > : prints info of all cards > > > ..... ok ..... > > # megarc -AllAdpInfo > > ********************************************************************** > MEGARC MegaRAID Configuration > Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA > ********************************************************************** > [Note: For SATA-2, 4 and 6 channel controllers, please specify > Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] > > Type ? as command line arg for help > > No Adapters Found > Error: No MegaRaid Found > > > ?!?!?! does that mean that there is no raid? why then the df output? > the machine is supposed to have 4 250gig SAS drives. > Its more likely that megarc doesnt support the newer controllers which is a shame. you might have more luck with sysutils/linux-megacli since that explicitly mentions LSI MegaRAID SAS, I wish they would make the util open source though. Will mean you need the linux-base port installed and linux.ko loaded. A RAID1 config shoudl suit a busy webserver well. Vicne > > thanks... > > > > > > Vince Hoffman wrote: >> kalin m wrote: >>> hi all... >>> >>> a hosting facility build a new dedicated server for me and looking at >>> the dmesg i see: >>> >>> mfi0: port 0xec00-0xecff mem >>> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 on pci1 >>> mfi0: Megaraid SAS driver Ver 2.00 >>> >>> for df i get: >>> Filesystem Size Used Avail Capacity Mounted on >>> /dev/mfid0s1a 496M 197M 259M 43% / >>> devfs 1.0K 1.0K 0B 100% /dev >>> /dev/mfid0s1e 496M 12K 456M 0% /tmp >>> /dev/mfid0s1f 661G 636M 608G 0% /usr >>> /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var >>> >>> >>> i asked for raid1. i cant find too much information about the mfi >>> driver. just that it works with freebsd 7. >>> >> >> you might want to look at sysutils/megarc and possibly >> sysutils/linux-megamgr so you can more closely monitor/investigate >> your array. >> >> Vince >> >>> i'll keep looking but - has anybody successfully deployed production >>> servers using the LSI MegaSAS 1078 in RAID1 on a very busy web server? >>> is there any loss in performance using that hardware in RAID1? >>> any performance loss in RAID1 at all? >>> >>> >>> thanks... >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-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 tedm at toybox.placo.com Mon Jun 2 21:02:14 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Mon Jun 2 21:02:19 2008 Subject: Duplex printer advice In-Reply-To: <48433E2E.3070004@telenix.org> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Chuck Robey > Sent: Sunday, June 01, 2008 5:26 PM > To: Ted Mittelstaedt > Cc: Kurt Buff; kline@thought.org; FreeBSD Questions; Derek Ragona > Subject: Re: Duplex printer advice > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ted Mittelstaedt wrote: > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gary Kline > > Sent: Sunday, June 01, 2008 12:23 PM > > To: FreeBSD Questions > > Cc: Kurt Buff; Derek Ragona > > Subject: Re: Duplex printer advice > > > > > >> I second this suggestion since my Brother HL-5250DN just-worked once it > >> was plugged into my hub. It was $179 at Costco a few months back, has > >> all the features that David mentions, and builtin Postscript|clone. > >> It just prints--nothing fancy--but then hey... . > > > > Just one warning about these. > > > > The toner empty light blinks use the same pattern as the > > fuser fail. And, unlike the HP units, you usually can't > > "shake down" the cartridge to get an extra hundred or > > so pages out of it. Don't jump to conclusions that the > > fuser is bad when it's out of toner. > > Man, this is really going to look like I'm never satisfied, which > I guess is > actually true, so why am I worried about that? thanks to this > thread, I found > out about the Brother printers ... my own requirements list > includes (color > duplex printer scanner). I don't need it to be a laser, but I do > need both > color, multifunc, and duplex printing. I spotted the Brother > the DCP-9045CDN, > but at $700 list, I begin to wonder if I could find one with the > same specs > ESCEPTING it was the cheaper technology of inkjet. No, no nooooo.... Don't join the dark side, Luke! Inkjet color printing is NEVER cheaper. Color laser is what you want. There are some really good inexpensive units out there. I recall reading the inexpensieve Samsung color laser even speaks Postscript. The only time inkjet makes sense is if your printing needs for your lifetime consist of a single ream of paper. My HP Laserjet 4+ at home is the oldest operating piece of computer equipment I have. And I fully expect it to last another decade, and once it dies, I have another one in the basement that I picked up for $50 - WITH a duplexer. Color laserjets will end up doing the same thing. The reason the printer mfgrs love inkjets is that not only is the cost per page far higher, necessitating frequent ink cartridge changes, but the ink cartridges themselves dry up and stop working, and the printers jam, strip gears, and stop working. Thus you are able to sell the person printer after printer. If you look at laserjet sales, the only movement on the printers themselves is among people who buy laserjets for very high volume printing. Thus the printer manufacturers have bent over backwards to keep the laserjets out of the retail supply chain, and it is the new entries into the US market - like brother, samsung and the like, who are willing to go into the retail chain and discount. When I visit Fry's every once in a while and overhear people discussing what printer to buy, I love to drag them over to the salesguy's little kiosk and point out the HP Laserjet 8000n behind the counter, which occupies just about all free space in the kiosk. I ask them, why would Fry's stick this giant printer behind the counter, and suck up all free space if a small "personal" printer occuping so much less space was as good of a deal? But laserjet technology is old, been around for years, and is very time tested. If the average printer consumer realized how much money they were tossing away on inkjets, they would be demanding lasers and the price of the laserjet would be dirt cheap. > > The reasoning behind going to inkjet is because I'm currently on > a tight budget. > I really would like to pay no more than about half that $700. You will pay more over the long haul, guarenteed. Run the numbers. Seriously, this is one of those purchases where it actually makes sense to finance it on a visa card or some such. Ted From z.szalbot at lc-words.com Mon Jun 2 21:04:44 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Mon Jun 2 21:04:49 2008 Subject: how to check if spf record is set Message-ID: <48446064.1040301@lc-words.com> Hello, Pardon my lack of knowledge but how can one check if SPF record is correctly set using standard UNIX tools? dig? host? $ man dig |grep spf $ man host |grep spf yield nothing. Many thanks! -- Zbigniew Szalbot www.lc-words.com From thoellri at adobe.com Mon Jun 2 21:06:11 2008 From: thoellri at adobe.com (Tobias Hoellrich) Date: Mon Jun 2 21:06:16 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <200806021558.41402.derek.graham@att.net> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com><200806020830.04316.derek.graham@att.net><20080602165343.54439b87@scorpio> <200806021558.41402.derek.graham@att.net> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Derek Graham > Sent: Monday, June 02, 2008 2:59 PM > To: Gerard > Cc: freebsd-questions@freebsd.org > Subject: Re: gnash leave a blank page when visit youtube > > I heard a rumor Microsoft was planning to create a linux version of > silverlight, I also heard a rumor that silverlight could > overcome flash > alltogether. Yeah I have heard the same, I listen to MacBreek > Weekly podcast > and hear all about it on there :) Got to add that to my book of funny rumours :) Show me one true cross-platform product from Microsoft that has been updated in sync with the Windows versions over the years. If you find that, I guess we have an answer; if you don't find one, I guess we have an answer as well ;-) Tobias From yuri.pankov at gmail.com Mon Jun 2 21:10:05 2008 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Mon Jun 2 21:10:09 2008 Subject: how to check if spf record is set In-Reply-To: <48446064.1040301@lc-words.com> References: <48446064.1040301@lc-words.com> Message-ID: <484461A5.8010402@gmail.com> Zbigniew Szalbot wrote: > Hello, > > Pardon my lack of knowledge but how can one check if SPF record is > correctly set using standard UNIX tools? > dig? host? > > $ man dig |grep spf > $ man host |grep spf > > yield nothing. Many thanks! > SPF uses TXT record, so a simple `host -t txt yourdomain.com` should do the trick. HTH, Yuri From derek.graham at att.net Mon Jun 2 21:14:47 2008 From: derek.graham at att.net (Derek Graham) Date: Mon Jun 2 21:14:51 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <200806021558.41402.derek.graham@att.net> Message-ID: <200806021614.20973.derek.graham@att.net> on Monday 02 June 2008Monday 02 June 2008 Tobias Hoellrich "Tobias Hoellrich" wrote: > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Derek Graham > > Sent: Monday, June 02, 2008 2:59 PM > > To: Gerard > > Cc: freebsd-questions@freebsd.org > > Subject: Re: gnash leave a blank page when visit youtube > > > > I heard a rumor Microsoft was planning to create a linux version of > > silverlight, I also heard a rumor that silverlight could > > overcome flash > > alltogether. Yeah I have heard the same, I listen to MacBreek > > Weekly podcast > > and hear all about it on there :) > > Got to add that to my book of funny rumours :) Show me one true > cross-platform product from Microsoft that has been updated in sync with > the Windows versions over the years. If you find that, I guess we have > an answer; if you don't find one, I guess we have an answer as well ;-) > > Tobias Don't get me started on keeping up with versions, adobe has ignored us, more sites use flash9, ports has adobe marked as restricted and I cant find a ver 9 alternative to adobe :( Microsoft is worse on supporting their own software, a product made for sale commericially *should* work smoother then one given for free, but Microsoft doesnt see things like that :p If anyone knows a good alternative to flash9 let me know! Sincerely, Derek A. Graham From perrin at apotheon.com Mon Jun 2 21:17:56 2008 From: perrin at apotheon.com (Chad Perrin) Date: Mon Jun 2 21:18:00 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <200806021857.02736.lists-fbsd@shadypond.com> References: <20080602144149.GA59227@gizmo.acns.msu.edu> <58883.87.194.201.18.1212422335.squirrel@www.bridd.com> <200806021857.02736.lists-fbsd@shadypond.com> Message-ID: <20080602211345.GA19285@kokopelli.hydra> On Mon, Jun 02, 2008 at 06:57:00PM +0000, Pollywog wrote: > On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: > > > I agree completely, it's what got me over to BSD ! > > > > I am a little confused. I just see a sphere with "horns" on it that reminds > me of the BSD daemon's head, only made to look less "demonic". Is it > supposed to be something else? > > If it is one of those "toys" is that what FreeBSD folks really want to project > as an image? It's supposed to be an abstracted, fancy impression of Beastie's head, as far as I'm aware. It has simply been observed (with some humor) that it looks like some odd kind of sex toy -- and a lot of people have since then referred to it as "the sex toy" as a result. That's all. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Albert Camus: "An intellectual is someone whose mind watches itself." -------------- 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/20080602/094eef99/attachment.pgp From eculp at encontacto.net Mon Jun 2 21:30:08 2008 From: eculp at encontacto.net (eculp) Date: Mon Jun 2 21:30:13 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <200806021614.20973.derek.graham@att.net> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <200806021558.41402.derek.graham@att.net> <200806021614.20973.derek.graham@att.net> Message-ID: <20080602162954.65546vj1hy0h784c@intranet.encontacto.net> Quoting Derek Graham : > on Monday 02 June 2008Monday 02 June 2008 Tobias Hoellrich "Tobias Hoellrich" > wrote: > >> > -----Original Message----- >> > From: owner-freebsd-questions@freebsd.org >> > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Derek Graham >> > Sent: Monday, June 02, 2008 2:59 PM >> > To: Gerard >> > Cc: freebsd-questions@freebsd.org >> > Subject: Re: gnash leave a blank page when visit youtube >> > >> > I heard a rumor Microsoft was planning to create a linux version of >> > silverlight, I also heard a rumor that silverlight could >> > overcome flash >> > alltogether. Yeah I have heard the same, I listen to MacBreek >> > Weekly podcast >> > and hear all about it on there :) >> >> Got to add that to my book of funny rumours :) Show me one true >> cross-platform product from Microsoft that has been updated in sync with >> the Windows versions over the years. If you find that, I guess we have >> an answer; if you don't find one, I guess we have an answer as well ;-) >> >> Tobias > > Don't get me started on keeping up with versions, adobe has ignored us, more > sites use flash9, ports has adobe marked as restricted and I cant find a ver > 9 alternative to adobe :( Microsoft is worse on supporting their own > software, a product made for sale commericially *should* work smoother then > one given for free, but Microsoft doesnt see thing like that :p If anyone > knows a good alternative to flash9 let me know! Better, yet. Please let us all know. That "Heads Up" should even be crossposted ;) Flash 7 sites are becoming few and far between. ed From frank at shute.org.uk Mon Jun 2 21:49:11 2008 From: frank at shute.org.uk (Frank Shute) Date: Mon Jun 2 21:49:14 2008 Subject: logo In-Reply-To: <200806021857.02736.lists-fbsd@shadypond.com> References: <20080602144149.GA59227@gizmo.acns.msu.edu> <58883.87.194.201.18.1212422335.squirrel@www.bridd.com> <200806021857.02736.lists-fbsd@shadypond.com> Message-ID: <20080602214856.GA64028@melon.esperance-linux.co.uk> On Mon, Jun 02, 2008 at 06:57:00PM +0000, Pollywog wrote: > > On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: > > > I agree completely, it's what got me over to BSD ! > > > > I am a little confused. I just see a sphere with "horns" on it that > reminds me of the BSD daemon's head, only made to look less > "demonic". Is it supposed to be something else? It's the FreeBSD equivalent of the Rorschach inkblot test. Some people see a daemon's head and other's see a sex toy. > > If it is one of those "toys" is that what FreeBSD folks really want > to project as an image? The image is only in the beholder's eye. It would likely have sent Mary Whitehouse* apoplectic if she'd seen it ;) * http://en.wikipedia.org/wiki/Mary_Whitehouse Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From alexus at gmail.com Mon Jun 2 21:57:35 2008 From: alexus at gmail.com (alexus) Date: Mon Jun 2 21:57:42 2008 Subject: VPN (IPSEC) In-Reply-To: References: <6ae50c2d0805311649p14863af3y43af39fb4aa2cc8a@mail.gmail.com> <6ae50c2d0806020913v2c7665b8nc3673e30cb8627cc@mail.gmail.com> Message-ID: <6ae50c2d0806021457r6ceb5ebfvd279c03d7eaa2b68@mail.gmail.com> i dont really use encryption (IPSEC), i just create a regular tunnel using GIF interface, and it's already not working at this part... it works fine in different enviroment, where both ends has public and private IP On Mon, Jun 2, 2008 at 12:27 PM, Bob McConnell wrote: > On Behalf Of alexus >> >>anyone? >> >> >>On Sat, May 31, 2008 at 7:49 PM, alexus wrote: >>> Hello, >>> >>> I'm trying to establish a VPN tunnel over internet, I read a >>> http://www.freebsd.org/doc/en/books/handbook/ipsec.html on how to set >>> it up, I'm some what strangeling if my setup will work at all. >>> > > IIRC, IPSEC cannot work through a NAT connection. NAT changes header > fields that IPSEC uses for packet authentication. So the receiver cannot > validate the content of the modified header. > > Bob McConnell > -- http://alexus.org/ From pschmehl_lists at tx.rr.com Mon Jun 2 22:38:58 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Mon Jun 2 22:39:03 2008 Subject: how to check if spf record is set In-Reply-To: <484461A5.8010402@gmail.com> References: <48446064.1040301@lc-words.com> <484461A5.8010402@gmail.com> Message-ID: --On Tuesday, June 03, 2008 01:09:57 +0400 Yuri Pankov wrote: > Zbigniew Szalbot wrote: >> Hello, >> >> Pardon my lack of knowledge but how can one check if SPF record is >> correctly set using standard UNIX tools? >> dig? host? >> >> $ man dig |grep spf >> $ man host |grep spf >> >> yield nothing. Many thanks! >> > > SPF uses TXT record, so a simple `host -t txt yourdomain.com` should do the > trick. > > > HTH, > Yuri > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Or "#dig -t TXT domain.tld" will do the same thing. -- Paul Schmehl As if it wasn't already obvious, my opinions are my own and not those of my employer. From kline at thought.org Mon Jun 2 22:41:16 2008 From: kline at thought.org (Gary Kline) Date: Mon Jun 2 22:41:20 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: <1212446461.42010.14.camel@tao.thought.org> On Mon, 2008-06-02 at 14:03 -0700, Ted Mittelstaedt wrote: > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Chuck Robey > > Sent: Sunday, June 01, 2008 5:26 PM > > To: Ted Mittelstaedt > > Cc: Kurt Buff; kline@thought.org; FreeBSD Questions; Derek Ragona > > Subject: Re: Duplex printer advice > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Ted Mittelstaedt wrote: > > > > > > -----Original Message----- > > > From: owner-freebsd-questions@freebsd.org > > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gary Kline > > > Sent: Sunday, June 01, 2008 12:23 PM > > > To: FreeBSD Questions > > > Cc: Kurt Buff; Derek Ragona > > > Subject: Re: Duplex printer advice > > > > > > > > >> I second this suggestion since my Brother HL-5250DN just-worked once it > > >> was plugged into my hub. It was $179 at Costco a few months back, has > > >> all the features that David mentions, and builtin Postscript|clone. > > >> It just prints--nothing fancy--but then hey... . > > > > > > Just one warning about these. > > > > > > The toner empty light blinks use the same pattern as the > > > fuser fail. And, unlike the HP units, you usually can't > > > "shake down" the cartridge to get an extra hundred or > > > so pages out of it. Don't jump to conclusions that the > > > fuser is bad when it's out of toner. > > > > Man, this is really going to look like I'm never satisfied, which > > I guess is > > actually true, so why am I worried about that? thanks to this > > thread, I found > > out about the Brother printers ... my own requirements list > > includes (color > > duplex printer scanner). I don't need it to be a laser, but I do > > need both > > color, multifunc, and duplex printing. I spotted the Brother > > the DCP-9045CDN, > > but at $700 list, I begin to wonder if I could find one with the > > same specs > > ESCEPTING it was the cheaper technology of inkjet. > > No, no nooooo.... Don't join the dark side, Luke! > > Inkjet color printing is NEVER cheaper. > > Color laser is what you want. There are some really > good inexpensive units out there. I recall reading the > inexpensieve Samsung color laser even speaks Postscript. > > The only time inkjet makes sense is if your printing > needs for your lifetime consist of a single ream of > paper. > > My HP Laserjet 4+ at home is the oldest operating piece of > computer equipment I have. And I fully expect it to last > another decade, and once it dies, I have another one in the > basement that I picked up for $50 - WITH a duplexer. > > Color laserjets will end up doing the same thing. > > The reason the printer mfgrs love inkjets is that > not only is the cost per page far higher, necessitating > frequent ink cartridge changes, but the ink cartridges > themselves dry up and stop working, and the printers > jam, strip gears, and stop working. Thus you are able > to sell the person printer after printer. > > If you look at laserjet sales, the only movement on > the printers themselves is > among people who buy laserjets for very high volume > printing. Thus the printer manufacturers have bent > over backwards to keep the laserjets out of the retail > supply chain, and it is the new entries into the US > market - like brother, samsung and the like, who are > willing to go into the retail chain and discount. > > When I visit Fry's every once in a while and overhear > people discussing what printer to buy, I love to > drag them over to the salesguy's little kiosk and point > out the HP Laserjet 8000n behind the counter, which > occupies just about all free space in the kiosk. > I ask them, why would Fry's stick this giant printer > behind the counter, and suck up all free space if > a small "personal" printer occuping so much less > space was as good of a deal? > > But laserjet technology is old, been around for years, > and is very time tested. If the average printer > consumer realized how much money they were tossing > away on inkjets, they would be demanding lasers and > the price of the laserjet would be dirt cheap. > > > > > The reasoning behind going to inkjet is because I'm currently on > > a tight budget. > > I really would like to pay no more than about half that $700. > > You will pay more over the long haul, guarenteed. Run the > numbers. Seriously, this is one of those purchases where > it actually makes sense to finance it on a visa card or > some such. Agree 100.0%, Ted. Long run, the inkjet will bleed you like a leech. My 1991 [?] DeskJet 500 was > $400, major bux. But having bought at least two cadtrides/year until last winter. Lowball it: $20 per cartridge. Well over a kilobuck. I *know* what it's like to be squeezed for cash, Chuck. It may take you weeks of surfing for the best deal, but go laser if you can. At the same time, HP's patents are about to expire in the next few years. Anybody know when, to-the-year? gary > > Ted > From gerard at seibercom.net Mon Jun 2 22:44:10 2008 From: gerard at seibercom.net (Gerard) Date: Mon Jun 2 22:44:15 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <200806020830.04316.derek.graham@att.net> <20080602165343.54439b87@scorpio> <200806021558.41402.derek.graham@att.net> Message-ID: <20080602184354.759990d5@scorpio> On Mon, 2 Jun 2008 14:06:04 -0700 "Tobias Hoellrich" wrote: [snip] > Got to add that to my book of funny rumours :) Show me one true > cross-platform product from Microsoft that has been updated in sync > with the Windows versions over the years. If you find that, I guess > we have an answer; if you don't find one, I guess we have an answer > as well ;-) The same thing can be said for virtually any software publisher. They all tend to complete and rush out the door the version written for the OS they are primarily interested in. Then, and all too often, complete a substandard version for other operating systems. Try getting an up-to-date version of claws-mail for Windows for instance. It doesn't exist. The same can be said about a lot of other software as well. It is just the nature of the beast. -- Gerard gerard@seibercom.net The 'A' is for content, the 'minus' is for not typing it. Don't ever do this to my eyes again. Professor Ronald Brady, Philosophy, Ramapo State College -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080602/5716b617/signature.pgp From gnemmi at gmail.com Mon Jun 2 22:44:52 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Mon Jun 2 22:44:59 2008 Subject: logo In-Reply-To: <20080602214856.GA64028@melon.esperance-linux.co.uk> References: <200806021857.02736.lists-fbsd@shadypond.com> <20080602214856.GA64028@melon.esperance-linux.co.uk> Message-ID: <200806021944.35302.gnemmi@gmail.com> On Monday 02 June 2008 18:48:56 Frank Shute wrote: > On Mon, Jun 02, 2008 at 06:57:00PM +0000, Pollywog wrote: > > On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: > > > I agree completely, it's what got me over to BSD ! > > > > I am a little confused. I just see a sphere with "horns" on it that > > reminds me of the BSD daemon's head, only made to look less > > "demonic". Is it supposed to be something else? > > It's the FreeBSD equivalent of the Rorschach inkblot test. Some people > see a daemon's head and other's see a sex toy. > > > If it is one of those "toys" is that what FreeBSD folks really want > > to project as an image? > > The image is only in the beholder's eye. It would likely have sent > Mary Whitehouse* apoplectic if she'd seen it ;) > > * http://en.wikipedia.org/wiki/Mary_Whitehouse > > Regards, May I ask where was it that this thread started? I'd pretty much like to get the whole picture of what is being discussed .. I did dig the list archives but couldn't find the first mail of this thread .. So .. any pointers will be greatly appreciated Thanks =) -- Blessings Gonzalo Nemmi From gilles.ganault at free.fr Mon Jun 2 22:50:59 2008 From: gilles.ganault at free.fr (Gilles) Date: Mon Jun 2 22:51:04 2008 Subject: Renaming "root" to "homer"? References: <54db43990805300820na3be361hf9cba1b8820a75ef@mail.gmail.com> <4840AC17.4090608@brianwhalen.net> Message-ID: On Fri, 30 May 2008 18:38:31 -0700, Brian wrote: >Has denyhosts been recommended yet, or an sshd port change? I did the latter, but will also look at denyhost. Thanks guys. From fbsd06 at mlists.homeunix.com Mon Jun 2 23:09:24 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Mon Jun 2 23:09:28 2008 Subject: how to check if spf record is set In-Reply-To: References: <48446064.1040301@lc-words.com> <484461A5.8010402@gmail.com> Message-ID: <20080602235322.16c8eacc@gumby.homeunix.com.> On Mon, 02 Jun 2008 16:34:47 -0500 Paul Schmehl wrote: > --On Tuesday, June 03, 2008 01:09:57 +0400 Yuri Pankov > wrote: > > SPF uses TXT record, so a simple `host -t txt yourdomain.com` > > should do the trick. > > > Or "#dig -t TXT domain.tld" will do the same thing. > or just: dig domain.tld txt From Fraser at mail.frase.id.au Mon Jun 2 23:09:32 2008 From: Fraser at mail.frase.id.au (Fraser Tweedale) Date: Mon Jun 2 23:09:37 2008 Subject: how to check if spf record is set In-Reply-To: References: <48446064.1040301@lc-words.com> <484461A5.8010402@gmail.com> Message-ID: <20080602224449.GA2157@bacardi> On Mon, Jun 02, 2008 at 04:34:47PM -0500, Paul Schmehl wrote: > --On Tuesday, June 03, 2008 01:09:57 +0400 Yuri Pankov > wrote: > > > Zbigniew Szalbot wrote: > >> Hello, > >> > >> Pardon my lack of knowledge but how can one check if SPF record is > >> correctly set using standard UNIX tools? > >> dig? host? > >> > >> $ man dig |grep spf > >> $ man host |grep spf > >> > >> yield nothing. Many thanks! > >> > > > > SPF uses TXT record, so a simple `host -t txt yourdomain.com` should do the > > trick. > > > > > > HTH, > > Yuri > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > Or "#dig -t TXT domain.tld" will do the same thing. > > -- > Paul Schmehl > As if it wasn't already obvious, > my opinions are my own and not > those of my employer. > You don't even need the -t flag. `dig TXT host` will do the trick... and let's not forget about the newer, dedicated SPF record type; to query that, use `dig SPF host`. frase -------------- 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/20080602/a75427c8/attachment.pgp From infofarmer at FreeBSD.org Mon Jun 2 23:11:25 2008 From: infofarmer at FreeBSD.org (Andrew Pantyukhin) Date: Mon Jun 2 23:11:30 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <200806021558.41402.derek.graham@att.net> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <200806020830.04316.derek.graham@att.net> <20080602165343.54439b87@scorpio> <200806021558.41402.derek.graham@att.net> Message-ID: <20080602231118.GB52896@amilo.cenkes.org> On Mon, Jun 02, 2008 at 03:58:41PM -0500, Derek Graham wrote: > I heard a rumor Microsoft was planning to create a linux > version of silverlight FWIW, the Linux version of Moonlight kinda works on FreeBSD. Not functional or stable yet, but it does work with at least a few sites I tried. http://www.go-mono.com/moonlight/ From wojtek at wojtek.tensor.gdynia.pl Mon Jun 2 22:17:10 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jun 2 23:13:36 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: <20080602232417.J36835@wojtek.tensor.gdynia.pl> > Color laser is what you want. There are some really > good inexpensive units out there. I recall reading the > inexpensieve Samsung color laser even speaks Postscript. while i don't use color printers, usually this postscript is disadventage. if there is a choice like in HP laserjets - switching to PCL and using ghostscript works MUCH faster giving same results. your computer's CPU is much faster than printer's. > The only time inkjet makes sense is if your printing > needs for your lifetime consist of a single ream of > paper. i don't think they can print as much without failure. my HP LaserJet 4 shows 122000 pages, was 88000 when i bought it for 100PLN (about 40$)+another 100 for made-in-Poland new ink cardridge (enough for about 8000-10000 pages). HP LaserJet 4 and 3 is excellent, anything newer - crap, as HP joined others in making craps so every year user has to buy new one. > My HP Laserjet 4+ at home is the oldest operating piece of > computer equipment I have. And I fully expect it to last > another decade, and once it dies, I have another one in the > basement that I picked up for $50 - WITH a duplexer. i don't think it will stop within 10 years. but do you have original HP manual? if not - i have for laserjet 4 in PDF. do not try to disassembly without it :) > Color laserjets will end up doing the same thing. > > The reason the printer mfgrs love inkjets is that > not only is the cost per page far higher, necessitating > frequent ink cartridge changes, but the ink cartridges > themselves dry up and stop working, and the printers > jam, strip gears, and stop working. Thus you are able > to sell the person printer after printer. as long as people will buy them, they will produce it. > But laserjet technology is old, been around for years, > and is very time tested. If the average printer > consumer realized how much money they were tossing > away on inkjets, they would be demanding lasers and > the price of the laserjet would be dirt cheap. this is his/her money, not yours. if he/she want to waste it - what a problem :) same with computers - most of us don't really needs new ones, while older as really cheap. From karlj000 at unbc.ca Mon Jun 2 23:21:32 2008 From: karlj000 at unbc.ca (Jeremy Karlson) Date: Mon Jun 2 23:21:36 2008 Subject: 7-STABLE Watchdog Timeout In-Reply-To: References: <164F5576-6023-4873-A1FE-CBAFD2E612A4@unbc.ca> <48423FA4.1080801@webrz.net> Message-ID: I'm still looking into my watchdog timeout with me re card. I'm starting to wonder if my problem is in any way related to the discussion back in September 2006 starting with this post: "6.2 SHOWSTOPPER - em completely unusable on 6.2" http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/028792.html It seems that under certain conditions and loads, a network interface with a shared interrupt would stop responding until the watchdog resets it. This seems to be very similar to what I see. At the time, they seemed mostly concerned about fixing the em driver; I'm using re. Unfortunately though, I can't seem to find what the resolution to this was, and if it could be related to the failure I'm seeing. Does anyone know what happened with that problem? -- Jeremy On 1-Jun-08, at 12:02, Jeremy Karlson wrote: > Jos, > > I tried setting "PNP OS" to both "YES" and "NO." Neither made any > sort of difference. > > As for your suggestion on the web site: That seemed pretty likely to > me, but disabling ACPI and APIC didn't make any difference either. > > Thanks for the ideas though. > > -- Jeremy > > On 31-May-08, at 23:20, Jos Chrispijn wrote: > >> Jeremy, >> >> Perhaps this link could give you the solution to your problem: >> >> http://www.linuxquestions.org/questions/bsd-17/rl0-watchdog-timeout-519599/ >> >> regards, >> Jos >> >> Jeremy Karlson wrote: >>> Hi, >>> >>> I'm in the process of moving a Subversion server from a 5-STABLE >>> machine to a freshly installed 7-STABLE machine. I've moved the >>> network card (a Linksys EG1032v3, RTL8169S/8110S/8211B based) from >>> the old machine (where it worked before) to this new machine. >>> Now, I get: >>> >>> re0: watchdog timeout >> _______________________________________________ >> freebsd-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 kalin at el.net Mon Jun 2 23:23:17 2008 From: kalin at el.net (kalin m) Date: Mon Jun 2 23:23:22 2008 Subject: mfi freebsd7 In-Reply-To: <48445F45.70604@unsane.co.uk> References: <4844293F.7020507@el.net> <484438B1.5020202@unsane.co.uk> <484441D8.8050207@el.net> <48445F45.70604@unsane.co.uk> Message-ID: <484480E3.1020104@el.net> thanks Vince... i didnt wanted to install the linux base because a lot of kids will be running some 'cool' boards or blogs that probably have cool linux holes too. but just for the hell of it and for he purpose to get to the controller i did. it took a while to find the Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the LSI site (anymore) either.. anyway after a lot of rpm downloads and patching and variable changing and fs mountings i get this: # /usr/local/sbin/megacli -adpCount ERROR:Could not detect controller. Controller Count: 0. pretty neat system... now what?! Vince Hoffman wrote: > kalin m wrote: >> megarc, right... read about it.. here: >> >> # megarc -AllAdpInfo help >> usage : >> cmd -AllAdpInfo >> : prints info of all cards >> >> >> ..... ok ..... >> >> # megarc -AllAdpInfo >> >> >> ********************************************************************** >> MEGARC MegaRAID Configuration >> Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA >> >> ********************************************************************** >> [Note: For SATA-2, 4 and 6 channel controllers, please specify >> Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] >> >> Type ? as command line arg for help >> >> No Adapters Found Error: No MegaRaid Found >> >> >> ?!?!?! does that mean that there is no raid? why then the df >> output? the machine is supposed to have 4 250gig SAS drives. >> > > Its more likely that megarc doesnt support the newer controllers which > is a shame. you might have more luck with sysutils/linux-megacli since > that explicitly mentions LSI MegaRAID SAS, I wish they would make the > util open source though. Will mean you need the linux-base port > installed and linux.ko loaded. > > A RAID1 config shoudl suit a busy webserver well. > > Vicne > > > >> >> thanks... >> >> >> >> >> >> Vince Hoffman wrote: >>> kalin m wrote: >>>> hi all... >>>> >>>> a hosting facility build a new dedicated server for me and looking >>>> at the dmesg i see: >>>> >>>> mfi0: port 0xec00-0xecff mem >>>> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 on >>>> pci1 >>>> mfi0: Megaraid SAS driver Ver 2.00 >>>> >>>> for df i get: >>>> Filesystem Size Used Avail Capacity Mounted on >>>> /dev/mfid0s1a 496M 197M 259M 43% / >>>> devfs 1.0K 1.0K 0B 100% /dev >>>> /dev/mfid0s1e 496M 12K 456M 0% /tmp >>>> /dev/mfid0s1f 661G 636M 608G 0% /usr >>>> /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var >>>> >>>> >>>> i asked for raid1. i cant find too much information about the mfi >>>> driver. just that it works with freebsd 7. >>>> >>> >>> you might want to look at sysutils/megarc and possibly >>> sysutils/linux-megamgr so you can more closely monitor/investigate >>> your array. >>> >>> Vince >>> >>>> i'll keep looking but - has anybody successfully deployed >>>> production servers using the LSI MegaSAS 1078 in RAID1 on a very >>>> busy web server? >>>> is there any loss in performance using that hardware in RAID1? >>>> any performance loss in RAID1 at all? >>>> >>>> >>>> thanks... >>>> >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe@freebsd.org" >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-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 pprocacci at datapipe.com Mon Jun 2 23:23:52 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Mon Jun 2 23:23:58 2008 Subject: how to check if spf record is set In-Reply-To: <20080602235322.16c8eacc@gumby.homeunix.com.> References: <48446064.1040301@lc-words.com> <484461A5.8010402@gmail.com> <20080602235322.16c8eacc@gumby.homeunix.com.> Message-ID: <484480FD.9060601@datapipe.com> RW wrote: > On Mon, 02 Jun 2008 16:34:47 -0500 > Paul Schmehl wrote: > > >> --On Tuesday, June 03, 2008 01:09:57 +0400 Yuri Pankov >> wrote: >> > > >>> SPF uses TXT record, so a simple `host -t txt yourdomain.com` >>> should do the trick. >>> >>> > > >> Or "#dig -t TXT domain.tld" will do the same thing. >> >> > > or just: > > dig domain.tld txt > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > or if you have djbdns installed: dnsq txt host nameserver Cheers, ~Paul From kalin at el.net Mon Jun 2 23:24:38 2008 From: kalin at el.net (kalin m) Date: Mon Jun 2 23:24:42 2008 Subject: mfi freebsd7 In-Reply-To: <48445F45.70604@unsane.co.uk> References: <4844293F.7020507@el.net> <484438B1.5020202@unsane.co.uk> <484441D8.8050207@el.net> <48445F45.70604@unsane.co.uk> Message-ID: <48448134.9080808@el.net> thanks Vince... i didnt wanted to install the linux base because a lot of kids will be running some 'cool' boards or blogs that probably have cool linux holes too. but just for the hell of it and for he purpose to get to the controller i did. it took a while to find the Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the LSI site (anymore) either.. anyway after a lot of rpm downloads and patching and variable changing and fs mountings i get this: # /usr/local/sbin/megacli -adpCount ERROR:Could not detect controller. Controller Count: 0. pretty neat system... now what?! Vince Hoffman wrote: > kalin m wrote: >> megarc, right... read about it.. here: >> >> # megarc -AllAdpInfo help >> usage : >> cmd -AllAdpInfo >> : prints info of all cards >> >> >> ..... ok ..... >> >> # megarc -AllAdpInfo >> >> >> ********************************************************************** >> MEGARC MegaRAID Configuration >> Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA >> >> ********************************************************************** >> [Note: For SATA-2, 4 and 6 channel controllers, please specify >> Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] >> >> Type ? as command line arg for help >> >> No Adapters Found Error: No MegaRaid Found >> >> >> ?!?!?! does that mean that there is no raid? why then the df >> output? the machine is supposed to have 4 250gig SAS drives. >> > > Its more likely that megarc doesnt support the newer controllers which > is a shame. you might have more luck with sysutils/linux-megacli since > that explicitly mentions LSI MegaRAID SAS, I wish they would make the > util open source though. Will mean you need the linux-base port > installed and linux.ko loaded. > > A RAID1 config shoudl suit a busy webserver well. > > Vicne > > > >> >> thanks... >> >> >> >> >> >> Vince Hoffman wrote: >>> kalin m wrote: >>>> hi all... >>>> >>>> a hosting facility build a new dedicated server for me and looking >>>> at the dmesg i see: >>>> >>>> mfi0: port 0xec00-0xecff mem >>>> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 on >>>> pci1 >>>> mfi0: Megaraid SAS driver Ver 2.00 >>>> >>>> for df i get: >>>> Filesystem Size Used Avail Capacity Mounted on >>>> /dev/mfid0s1a 496M 197M 259M 43% / >>>> devfs 1.0K 1.0K 0B 100% /dev >>>> /dev/mfid0s1e 496M 12K 456M 0% /tmp >>>> /dev/mfid0s1f 661G 636M 608G 0% /usr >>>> /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var >>>> >>>> >>>> i asked for raid1. i cant find too much information about the mfi >>>> driver. just that it works with freebsd 7. >>>> >>> >>> you might want to look at sysutils/megarc and possibly >>> sysutils/linux-megamgr so you can more closely monitor/investigate >>> your array. >>> >>> Vince >>> >>>> i'll keep looking but - has anybody successfully deployed >>>> production servers using the LSI MegaSAS 1078 in RAID1 on a very >>>> busy web server? >>>> is there any loss in performance using that hardware in RAID1? >>>> any performance loss in RAID1 at all? >>>> >>>> >>>> thanks... >>>> >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe@freebsd.org" >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-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 kalin at el.net Mon Jun 2 23:31:46 2008 From: kalin at el.net (kalin m) Date: Mon Jun 2 23:31:51 2008 Subject: mfi freebsd7 In-Reply-To: <48448134.9080808@el.net> References: <4844293F.7020507@el.net> <484438B1.5020202@unsane.co.uk> <484441D8.8050207@el.net> <48445F45.70604@unsane.co.uk> <48448134.9080808@el.net> Message-ID: <484482E1.5010207@el.net> sorry for the double posting.... just to update: i installed also the linux-megamgr same result: Failed to open driver node /dev/megadev0 after linking megadev0 to mfi0 it can not see the version... it gets more and more pathetic by the minute... kalin m wrote: > thanks Vince... i didnt wanted to install the linux base because a > lot of kids will be running some 'cool' boards or blogs that probably > have cool linux holes too. but just for the hell of it and for he > purpose to get to the controller i did. it took a while to find the > Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the > LSI site (anymore) either.. anyway after a lot of rpm downloads and > patching and variable changing and fs mountings i get this: > > # /usr/local/sbin/megacli -adpCount > ERROR:Could not detect controller. > > Controller Count: 0. > > > pretty neat system... > > > now what?! > > > > > Vince Hoffman wrote: >> kalin m wrote: >>> megarc, right... read about it.. here: >>> >>> # megarc -AllAdpInfo help >>> usage : >>> cmd -AllAdpInfo >>> : prints info of all cards >>> >>> >>> ..... ok ..... >>> >>> # megarc -AllAdpInfo >>> >>> >>> ********************************************************************** >>> MEGARC MegaRAID Configuration >>> Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA >>> >>> ********************************************************************** >>> [Note: For SATA-2, 4 and 6 channel controllers, please specify >>> Ch=0 Id=0..15 for specifying physical drive(Ch=channel, >>> Id=Target)] >>> >>> Type ? as command line arg for help >>> >>> No Adapters Found Error: No MegaRaid Found >>> >>> >>> ?!?!?! does that mean that there is no raid? why then the df >>> output? the machine is supposed to have 4 250gig SAS drives. >>> >> >> Its more likely that megarc doesnt support the newer controllers >> which is a shame. you might have more luck with >> sysutils/linux-megacli since that explicitly mentions LSI MegaRAID >> SAS, I wish they would make the util open source though. Will mean >> you need the linux-base port installed and linux.ko loaded. >> >> A RAID1 config shoudl suit a busy webserver well. >> >> Vicne >> >> >> >>> >>> thanks... >>> >>> >>> >>> >>> >>> Vince Hoffman wrote: >>>> kalin m wrote: >>>>> hi all... >>>>> >>>>> a hosting facility build a new dedicated server for me and looking >>>>> at the dmesg i see: >>>>> >>>>> mfi0: port 0xec00-0xecff mem >>>>> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 >>>>> on pci1 >>>>> mfi0: Megaraid SAS driver Ver 2.00 >>>>> >>>>> for df i get: >>>>> Filesystem Size Used Avail Capacity Mounted on >>>>> /dev/mfid0s1a 496M 197M 259M 43% / >>>>> devfs 1.0K 1.0K 0B 100% /dev >>>>> /dev/mfid0s1e 496M 12K 456M 0% /tmp >>>>> /dev/mfid0s1f 661G 636M 608G 0% /usr >>>>> /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var >>>>> >>>>> >>>>> i asked for raid1. i cant find too much information about the mfi >>>>> driver. just that it works with freebsd 7. >>>>> >>>> >>>> you might want to look at sysutils/megarc and possibly >>>> sysutils/linux-megamgr so you can more closely monitor/investigate >>>> your array. >>>> >>>> Vince >>>> >>>>> i'll keep looking but - has anybody successfully deployed >>>>> production servers using the LSI MegaSAS 1078 in RAID1 on a very >>>>> busy web server? >>>>> is there any loss in performance using that hardware in RAID1? >>>>> any performance loss in RAID1 at all? >>>>> >>>>> >>>>> thanks... >>>>> >>>>> _______________________________________________ >>>>> freebsd-questions@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to >>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>> >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe@freebsd.org" >>> _______________________________________________ >>> freebsd-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 lumiwa at gmail.com Mon Jun 2 23:39:14 2008 From: lumiwa at gmail.com (Mitja) Date: Mon Jun 2 23:39:18 2008 Subject: gnash leave a blank page when visit youtube In-Reply-To: <200806020830.04316.derek.graham@att.net> References: <81a9e3840806020555x10a91337n11e678c5dc6cffff@mail.gmail.com> <200806020830.04316.derek.graham@att.net> Message-ID: <200806021839.02018.lumiwa@gmail.com> On Monday 02 June 2008 08:30:03 Derek Graham wrote: > on Monday 02 June 2008Monday 02 June 2008 Jyun-Yi Liou "Jyun-Yi Liou" > > <7yuny1@gmail.com> wrote: > > Hi list! > > > > I've changed my browser's flash player form > > www/linux-flashplugin7(out-of-date, and ports mark this as RESTRICTED D: > > ) to graphic/gnash a few hours ago > > but gnash just leave me a blank page while I am visiting youtube > > > > screen shot: > > http://img144.imageshack.us/img144/6953/screenshot0206200820260bt8.jpg > > > > and there is my about:plugins > > http://img113.imageshack.us/img113/6189/screenshot0206200820280ey5.jpg I use gnash all the time and I didn't had a problem with youtube. but after yesterdays update I have a blank page too (for the same vieos as work before). -- It was Penguin lust... at its ugliest. From derek.graham at att.net Tue Jun 3 01:23:29 2008 From: derek.graham at att.net (Derek Graham) Date: Tue Jun 3 01:23:34 2008 Subject: Flickr client Message-ID: <200806022023.03116.derek.graham@att.net> I was curious is there a client that works in FreeBSD in which a flickr client that allows large bulk uploads to flickr? I am wanting to upload more then 5 at a time and tried jUploadr(alot of errors) and kflickr(wont build). Those two are only linux but any advice would be greatly appreciated. Thanks Derek From camiloreyes82 at yahoo.com Tue Jun 3 01:34:38 2008 From: camiloreyes82 at yahoo.com (Camilo Reyes) Date: Tue Jun 3 01:34:43 2008 Subject: ssh - connect to directory outside of /user/home - permission denied Message-ID: <568899.32756.qm@web63906.mail.re1.yahoo.com> You could just use: scp username@servername:/home/directory username@servername:/user/home Hope that helps, > Turner Litigation Services wrote: > > How do you allow ssh to permit connections to a folder outside of the /home > > folder of the user loggin in to ssh?? For example, i want to sync two > > folders > > (using unison) on different machines and need to ssh to the remote folder .. From frase at frase.id.au Tue Jun 3 01:35:27 2008 From: frase at frase.id.au (Fraser Tweedale) Date: Tue Jun 3 01:35:33 2008 Subject: Flickr client In-Reply-To: <200806022023.03116.derek.graham@att.net> References: <200806022023.03116.derek.graham@att.net> Message-ID: <20080603013524.GA6237@bacardi> On Mon, Jun 02, 2008 at 08:23:02PM -0500, Derek Graham wrote: > I was curious is there a client that works in FreeBSD in which a flickr client > that allows large bulk uploads to flickr? I am wanting to upload more then 5 > at a time and tried jUploadr(alot of errors) and kflickr(wont build). Those > two are only linux but any advice would be greatly appreciated. > > Thanks Derek A quick search of the ports tree shows a bunch of perl modules but nothing in the way of a standalone client. frase -------------- 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/20080603/76effc63/attachment.pgp From bseklecki at collaborativefusion.com Tue Jun 3 01:35:36 2008 From: bseklecki at collaborativefusion.com (Brian A. Seklecki) Date: Tue Jun 3 01:35:40 2008 Subject: mfi freebsd7 In-Reply-To: <484482E1.5010207@el.net> References: <4844293F.7020507@el.net> <484438B1.5020202@unsane.co.uk> <484441D8.8050207@el.net> <48445F45.70604@unsane.co.uk> <48448134.9080808@el.net> <484482E1.5010207@el.net> Message-ID: <1212456935.2876.113.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Mon, 2008-06-02 at 19:31 -0400, kalin m wrote: > sorry for the double posting.... just to update: Talk to to your local Dell flunky -- they bought into that LSI/QLogic chipset knowing full well that LSI/QLogic's business model was not F/OSS friendly. ~BAS > i installed also the linux-megamgr same result: > Failed to open driver node /dev/megadev0 > > after linking megadev0 to mfi0 it can not see the version... it gets > more and more pathetic by the minute... > > > > > > kalin m wrote: > > thanks Vince... i didnt wanted to install the linux base because a > > lot of kids will be running some 'cool' boards or blogs that probably > > have cool linux holes too. but just for the hell of it and for he > > purpose to get to the controller i did. it took a while to find the > > Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the > > LSI site (anymore) either.. anyway after a lot of rpm downloads and > > patching and variable changing and fs mountings i get this: > > > > # /usr/local/sbin/megacli -adpCount > > ERROR:Could not detect controller. > > > > Controller Count: 0. > > > > > > pretty neat system... > > > > > > now what?! > > > > > > > > > > Vince Hoffman wrote: > >> kalin m wrote: > >>> megarc, right... read about it.. here: > >>> > >>> # megarc -AllAdpInfo help > >>> usage : > >>> cmd -AllAdpInfo > >>> : prints info of all cards > >>> > >>> > >>> ..... ok ..... > >>> > >>> # megarc -AllAdpInfo > >>> > >>> > >>> ********************************************************************** > >>> MEGARC MegaRAID Configuration > >>> Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA > >>> > >>> ********************************************************************** > >>> [Note: For SATA-2, 4 and 6 channel controllers, please specify > >>> Ch=0 Id=0..15 for specifying physical drive(Ch=channel, > >>> Id=Target)] > >>> > >>> Type ? as command line arg for help > >>> > >>> No Adapters Found Error: No MegaRaid Found > >>> > >>> > >>> ?!?!?! does that mean that there is no raid? why then the df > >>> output? the machine is supposed to have 4 250gig SAS drives. > >>> > >> > >> Its more likely that megarc doesnt support the newer controllers > >> which is a shame. you might have more luck with > >> sysutils/linux-megacli since that explicitly mentions LSI MegaRAID > >> SAS, I wish they would make the util open source though. Will mean > >> you need the linux-base port installed and linux.ko loaded. > >> > >> A RAID1 config shoudl suit a busy webserver well. > >> > >> Vicne > >> > >> > >> > >>> > >>> thanks... > >>> > >>> > >>> > >>> > >>> > >>> Vince Hoffman wrote: > >>>> kalin m wrote: > >>>>> hi all... > >>>>> > >>>>> a hosting facility build a new dedicated server for me and looking > >>>>> at the dmesg i see: > >>>>> > >>>>> mfi0: port 0xec00-0xecff mem > >>>>> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 > >>>>> on pci1 > >>>>> mfi0: Megaraid SAS driver Ver 2.00 > >>>>> > >>>>> for df i get: > >>>>> Filesystem Size Used Avail Capacity Mounted on > >>>>> /dev/mfid0s1a 496M 197M 259M 43% / > >>>>> devfs 1.0K 1.0K 0B 100% /dev > >>>>> /dev/mfid0s1e 496M 12K 456M 0% /tmp > >>>>> /dev/mfid0s1f 661G 636M 608G 0% /usr > >>>>> /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var > >>>>> > >>>>> > >>>>> i asked for raid1. i cant find too much information about the mfi > >>>>> driver. just that it works with freebsd 7. > >>>>> > >>>> > >>>> you might want to look at sysutils/megarc and possibly > >>>> sysutils/linux-megamgr so you can more closely monitor/investigate > >>>> your array. > >>>> > >>>> Vince > >>>> > >>>>> i'll keep looking but - has anybody successfully deployed > >>>>> production servers using the LSI MegaSAS 1078 in RAID1 on a very > >>>>> busy web server? > >>>>> is there any loss in performance using that hardware in RAID1? > >>>>> any performance loss in RAID1 at all? > >>>>> > >>>>> > >>>>> thanks... > >>>>> > >>>>> _______________________________________________ > >>>>> freebsd-questions@freebsd.org mailing list > >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>>>> To unsubscribe, send any mail to > >>>>> "freebsd-questions-unsubscribe@freebsd.org" > >>>> > >>>> _______________________________________________ > >>>> freebsd-questions@freebsd.org mailing list > >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>>> To unsubscribe, send any mail to > >>>> "freebsd-questions-unsubscribe@freebsd.org" > >>> _______________________________________________ > >>> freebsd-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" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Brian A. Seklecki Collaborative Fusion, Inc. From jerrymc at msu.edu Tue Jun 3 01:47:24 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Jun 3 01:47:27 2008 Subject: logo In-Reply-To: <200806021944.35302.gnemmi@gmail.com> References: <200806021857.02736.lists-fbsd@shadypond.com> <20080602214856.GA64028@melon.esperance-linux.co.uk> <200806021944.35302.gnemmi@gmail.com> Message-ID: <20080603014310.GA61567@gizmo.acns.msu.edu> On Mon, Jun 02, 2008 at 07:44:35PM -0300, Gonzalo Nemmi wrote: > On Monday 02 June 2008 18:48:56 Frank Shute wrote: > > On Mon, Jun 02, 2008 at 06:57:00PM +0000, Pollywog wrote: > > > On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: > > > > I agree completely, it's what got me over to BSD ! > > > > > > I am a little confused. I just see a sphere with "horns" on it that > > > reminds me of the BSD daemon's head, only made to look less > > > "demonic". Is it supposed to be something else? > > > > It's the FreeBSD equivalent of the Rorschach inkblot test. Some people > > see a daemon's head and other's see a sex toy. > > > > > If it is one of those "toys" is that what FreeBSD folks really want > > > to project as an image? > > > > The image is only in the beholder's eye. It would likely have sent > > Mary Whitehouse* apoplectic if she'd seen it ;) > > > > * http://en.wikipedia.org/wiki/Mary_Whitehouse > > > > Regards, > > May I ask where was it that this thread started? > I'd pretty much like to get the whole picture of what is being discussed .. > I did dig the list archives but couldn't find the first mail of this thread .. > So .. any pointers will be greatly appreciated It has been going on - intermittently - in the questions list and occasionally others such as advocacy for years. I have been administering some FreeBSD systems for about 12 years and it started before then. It resurects itself about every three months. ////jerry > > Thanks =) > -- > Blessings > 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 bakul at bitblocks.com Tue Jun 3 02:21:21 2008 From: bakul at bitblocks.com (Bakul Shah) Date: Tue Jun 3 02:21:25 2008 Subject: Flickr client In-Reply-To: Your message of "Mon, 02 Jun 2008 20:23:02 CDT." <200806022023.03116.derek.graham@att.net> Message-ID: <20080603020141.5C71F5B47@mail.bitblocks.com> On Mon, 02 Jun 2008 20:23:02 CDT Derek Graham wrote: > I was curious is there a client that works in FreeBSD in which a flickr clien > t > that allows large bulk uploads to flickr? I am wanting to upload more then 5 > at a time and tried jUploadr(alot of errors) and kflickr(wont build). Those > two are only linux but any advice would be greatly appreciated. > > Thanks Derek How about http://manishrjain.googlepages.com/flickrfs Since this uses FUSE it might easily port to freebsd. From dkelly at HiWAAY.net Tue Jun 3 02:36:38 2008 From: dkelly at HiWAAY.net (David Kelly) Date: Tue Jun 3 02:36:44 2008 Subject: Duplex printer advice In-Reply-To: References: <48433E2E.3070004@telenix.org> Message-ID: On Mon, Jun 02, 2008 at 02:03:30PM -0700, Ted Mittelstaedt wrote: > > Inkjet color printing is NEVER cheaper. > > Color laser is what you want. There are some really good inexpensive > units out there. I recall reading the inexpensieve Samsung color > laser even speaks Postscript. > > The only time inkjet makes sense is if your printing needs for your > lifetime consist of a single ream of paper. Or if you want photo quality. > My HP Laserjet 4+ at home is the oldest operating piece of computer > equipment I have. And I fully expect it to last another decade, and > once it dies, I have another one in the basement that I picked up for > $50 - WITH a duplexer. We have one at work that if it was up to me I too would sell it for $50 if anyone offered. Its a networked color HP 4M something that prints 11" wide. Letter prints sideways, and 11x17 prints lengthwise. Its slower than Christmas when printing photos. Maybe 2 pages per hour. We keep it because 1) its paid for, 2) we have space for it, and 3) it prints very pretty color text for proposals. We have a networked inkjet HP all-in-one sitting next to the laser for when photos are more important. And a Kyocera all-in-one laser for B&W. > The reason the printer mfgrs love inkjets is that not only is the cost > per page far higher, necessitating frequent ink cartridge changes, but > the ink cartridges themselves dry up and stop working, and the > printers jam, strip gears, and stop working. Thus you are able to > sell the person printer after printer. All of the above applies to lasers. > If you look at laserjet sales, the only movement on the printers Laserjet is an HP trademark. > When I visit Fry's every once in a while and overhear people > discussing what printer to buy, I love to drag them over to the > salesguy's little kiosk and point out the HP Laserjet 8000n behind the > counter, which occupies just about all free space in the kiosk. An HP8000 (and 4000, 4050, 5000) are excellent industrial grade laser printers. HP makes very few industrial grade inkjets, generally not found at Frys. HP also makes cheap-as-dirt lasers such as the HP-1020. > I ask them, why would Fry's stick this giant printer behind the > counter, and suck up all free space if a small "personal" printer > occuping so much less space was as good of a deal? If anyone working the Frys showroom floor was capable of answering that question then they are grossly over qualified. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From wblock at wonkity.com Tue Jun 3 02:58:31 2008 From: wblock at wonkity.com (Warren Block) Date: Tue Jun 3 02:58:34 2008 Subject: Duplex printer advice In-Reply-To: <20080602232417.J36835@wojtek.tensor.gdynia.pl> References: <20080602232417.J36835@wojtek.tensor.gdynia.pl> Message-ID: On Mon, 2 Jun 2008, Wojciech Puchar wrote: >> Color laser is what you want. There are some really >> good inexpensive units out there. I recall reading the >> inexpensieve Samsung color laser even speaks Postscript. > > while i don't use color printers, usually this postscript is disadventage. if > there is a choice like in HP laserjets - switching to PCL and using > ghostscript works MUCH faster giving same results. This depends a lot on your print jobs. Low quality machine-generated PostScript output can be slow. PCL can also be slow. The only way to really know is to benchmark with your print jobs. There's also the potential overhead of the print processing systems. Just sending PS in the first place may be quicker than apsfilter or CUPS. Enscript is versatile for converting text. > your computer's CPU is much faster than printer's. It depends a lot on which printer and which computer are being compared. Recent printers have fast RISC CPUs and fast PS interpreters. I/O speed comes into it, too. FreeBSD seems particularly slow over parallel and USB ports; Ethernet is fine. > HP LaserJet 4 and 3 is excellent, anything newer - crap, as HP joined others > in making craps so every year user has to buy new one. I disagree. The LaserJet 4050, for example, is better than the LJ4 in every way possible. The trick is to avoid low-end HP models. The good ones are the ones built for business use (like the LJ4050, and--it its time--the LJ4). They can be found used for the same or less than new low-end versions: http://www.wonkity.com/~wblock/docs/usedlasers.pdf -Warren Block * Rapid City, South Dakota USA From sahil at tandon.net Tue Jun 3 03:34:32 2008 From: sahil at tandon.net (Sahil Tandon) Date: Tue Jun 3 03:34:36 2008 Subject: Flickr client In-Reply-To: <200806022023.03116.derek.graham@att.net> References: <200806022023.03116.derek.graham@att.net> Message-ID: <20080603033426.GC53289@shepherd> Derek Graham wrote: > I was curious is there a client that works in FreeBSD in which a flickr > client that allows large bulk uploads to flickr? I am wanting to upload > more then 5 at a time and tried jUploadr(alot of errors) and kflickr(wont > build). Those two are only linux but any advice would be greatly > appreciated. graphics/f-spot is a photo management tool for GNOME and includes an 'export to flickr' feature. www/p5-Flickr-Upload is a command-line tool that works quite well if you don't need the GUI. -- Sahil Tandon From 7yuny1 at gmail.com Tue Jun 3 04:03:47 2008 From: 7yuny1 at gmail.com (Jyun-Yi Liou) Date: Tue Jun 3 04:07:17 2008 Subject: Flickr client In-Reply-To: <200806022023.03116.derek.graham@att.net> References: <200806022023.03116.derek.graham@att.net> Message-ID: <81a9e3840806022103j3a7b0da7n1c8c69a49f5563ae@mail.gmail.com> 2008/6/3 Derek Graham : > I was curious is there a client that works in FreeBSD in which a flickr > client > that allows large bulk uploads to flickr? I am wanting to upload more then > 5 > at a time and tried jUploadr(alot of errors) and kflickr(wont build). Those > two are only linux but any advice would be greatly appreciated. > > Thanks Derek > _______________________________________________ > freebsd-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 Derek, I use pearch and give flicker as a key wok, the output I got below net/p5-Net-FS-Flickr A Perl interface for store and retrieve files on Flickr www/flickcurl C library for the Flickr API www/p5-Flickr-API Perl interface to the Flickr API www/p5-Flickr-Upload Upload images to flickr.com www/p5-Net-Flickr-API Base API class for Net::Flickr::* libraries www/p5-Net-Flickr-Backup OOP for backing up your Flickr photos locally www/p5-Net-Flickr-RDF Describe Flickr photos as RDF I think a little perl script will be helpful with www/p5-Flickr-Upload :-D HTH, jyuny1 From jopesko at gmail.com Tue Jun 3 04:41:07 2008 From: jopesko at gmail.com (Jo Pesko) Date: Tue Jun 3 04:41:12 2008 Subject: OpenFire installation In-Reply-To: <484424CB.4040204@gmail.com> References: <484424CB.4040204@gmail.com> Message-ID: <4844CB58.9020307@gmail.com> Jo Pesko wrote: > Hi. > > I receive "Error code 64" while trying to install OpenFire(after > executing make install) from ports collection. Here is some output: > > /bin/mkdir -p /usr/local/share/doc/openfire > (cd /usr/ports/net-im/openfire/work/openfire_src && install -o root > -g wheel -m 444 LICENSE.html README.html changelog.html > /usr/local/share/doc/openfire) > (cd /usr/ports/net-im/openfire/work/openfire_src/documentation/docs && > /usr/bin/find . \! -path ./javadoc\* | /usr/bin/cpio -pdmu -R > root:wheel /usr/local/share/doc/openfire > /dev/null 2>&1 ) > /bin/ln -sf /var/log/openfire /usr/local/share/java/openfire/logs > /bin/ln -sf /var/db/openfire /usr/local/share/java/openfire/embedded-db > /bin/ln -sf /usr/local/share/java/openfire/conf > /bin/ln -sf /usr/local/share/java/openfire/resources/security > /bin/mkdir -p /usr/local/share/examples/openfire > install -o root -g wheel -m 444 > /usr/ports/net-im/openfire/work/openfire_src/target/openfire/conf/openfire.xml > /usr/local/share/examples/openfire/openfire.xml > install -m 600 > /usr/ports/net-im/openfire/work/openfire_src/target/openfire/resources/security/truststore > /usr/local/share/examples/openfire/truststore > install -m 600 > /usr/ports/net-im/openfire/work/openfire_src/target/openfire/resources/security/keystore > /usr/local/share/examples/openfire/keystore > usage: mkdir [-pv] [-m mode] directory_name ... > *** Error code 64 > > Stop in /usr/ports/net-im/openfire. > > Any help will be appreciated. > Fixed after adding ETCDIR(=/usr/local/etc/openfire) variable in Makefile :) From subhro.kar at gmail.com Tue Jun 3 06:27:22 2008 From: subhro.kar at gmail.com (Subhro) Date: Tue Jun 3 06:27:27 2008 Subject: NFS drops with em0 driver In-Reply-To: <3A0AA7018522134597ED63B3B794C92A020355EE@STA-HQ-S001.starcomms.local> References: <3A0AA7018522134597ED63B3B794C92A020355EE@STA-HQ-S001.starcomms.local> Message-ID: Thanks everyone for the replies so far. I have disabled ACPI on my boxes. However the drops still persist. I would be grateful if someone can provide more ideas. Thanks Subhro On Sun, Jun 1, 2008 at 2:17 PM, Catalin Miclaus wrote: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Subhro > Sent: Sunday, June 01, 2008 7:06 AM > To: freebsd-questions@freebsd.org > Subject: NFS drops with em0 driver > > Hello, > > I am facing a strange problem on my systems. I am running > FreeBSD-6.2-RELEASE-p12. My network interface uses the em driver. I am > facing a lot of issues where the NFS connections are dying randomly. > Is there any known bug with the em driver? I am using the SCHED_ULE > scheduler. > > Thanks > Subhro > > > > Check this: > > http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues > > > > > > Best Regards > Catalin Miclaus > Network/Security ISP-Data > Starcomms Ltd. > > > > > _______________________________________________ > freebsd-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" > -- Subhro Kar Software Engineer Dynamic Digital Technologies Pvt. Ltd. EPY-3, Sector: V Salt Lake City 700091 India From wojtek at wojtek.tensor.gdynia.pl Tue Jun 3 07:19:02 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 3 07:19:05 2008 Subject: Duplex printer advice In-Reply-To: References: <48433E2E.3070004@telenix.org> Message-ID: <20080603091642.R5570@wojtek.tensor.gdynia.pl> >> The only time inkjet makes sense is if your printing needs for your >> lifetime consist of a single ream of paper. > > Or if you want photo quality. then i give my images to the fotograph shop on CD/DVD and got it on photo paper and quality. From the-ghost at inbox.ru Tue Jun 3 07:44:49 2008 From: the-ghost at inbox.ru (The Ghost) Date: Tue Jun 3 07:44:53 2008 Subject: very strange reaction of the md disks Message-ID: Hello, Maybe I just don't understand something, but anyway, it looks really odd. I have a machine with 2 Gb RAM with a clean newly-installed FREEBSD-7.0-RELEASE. I make two 300-MB mdconfig disks and populate them, and when the first one was already full and the second one is only half-full, I get a kernel panic "not enough memory". I wonder where did 1,5 Gb go?? Well, I tried to reboot and allocate them with -o reserve to prevent the kernel panic, but the second one said that enough memory can't be allocated (though top still showed 1,5 Gb left). Well, I rebooted and tried to allocate one 1-Gb disk, but it also failed. Then I gave up on this and came to my other work, but when I loaded some small kernel module, I got a kernel panic!! What, didn't the disk allocation have to kinda free up the used memory when it fails?! And then the last thing. I reboot and copy a 220-m file from a samba-mounted directory to my hard drive (UFS2 with soft-updates). I was very surprised to see that one gigabyte of my memory suddenly became used up. I wonder if the soft-updat es really don't care about how much memory they use... A friend of mine told me that such a panic is really a thing to write a bugreport on it, but I know about this behaviour for few years already and so I guess I just don't know something about the memory allocation system, and, kinda, it really works just like that. Should I read something to understand why it's just like that or really write a report on some of these things?.. The Ghost From tedm at toybox.placo.com Tue Jun 3 08:02:41 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Tue Jun 3 08:02:46 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <200806021857.02736.lists-fbsd@shadypond.com> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Pollywog > Sent: Monday, June 02, 2008 11:57 AM > To: freebsd-questions@freebsd.org > Subject: Re: Looking for gurus willing to help write Freebsd tutorials > > > On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: > > > I agree completely, it's what got me over to BSD ! > > > > I am a little confused. I just see a sphere with "horns" on it > that reminds > me of the BSD daemon's head, only made to look less "demonic". Is it > supposed to be something else? > No, that is what it's supposed to be. The sex toy issue is that you saw the sphere with horns AFTER you saw Beastie. So you had a frame of reference, and naturally assume it's Beastie's head. The problem is, think about people who have NEVER seen Beastie before seeing the sex toy logo for the first time. Since they have no frame of reference they can easily assume that it means anything at all. Such as the business end of a French tickler, which it kind of resembles. When those of us in the know call it a sex toy, we are making a little inside joke, as we are basically saying the logo design is terrible because it does not indicate to anyone looking at it what it is supposed to represent. The Linux penguin is no different - someone seeing a Penguin isn't going to know it has to do with an operating system, either. Many corporate logos also suffer from the same problem. The difference between the corporate logos and Linux and us, is that those organizations have the marketing muscle to take their rediculous logo designs and pound them into the public conciousness through endless advertising. See a blue oval? Most people think "Ford" Not because a blue oval has anything to do with cars. It's because Ford has dumped trillions of dollars in advertising over the years pounding that association into the public mind. The designer of the FreeBSD logo approached it from the usual corporate arrogance of we can create anything we want, then just pay money for the association. The only problem is that the FreeBSD project has no money to spend to create this association. As a result the logo completely fails in it's job. Arguably, there is also no public association between Beastie and the FreeBSD operating system either, so in the long run we aren't any worse off than we were. (aside from the arrogant setting aside of 20 some years of BSD Unix history) Ted From wojtek at wojtek.tensor.gdynia.pl Tue Jun 3 08:03:50 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 3 08:03:53 2008 Subject: very strange reaction of the md disks In-Reply-To: References: Message-ID: <20080603100335.T5921@wojtek.tensor.gdynia.pl> you use freebsd/i386 not /amd64 isn't it? On Tue, 3 Jun 2008, The Ghost wrote: > Hello, > > Maybe I just don't understand something, but anyway, it looks really odd. > > I have a machine with 2 Gb RAM with a clean newly-installed FREEBSD-7.0-RELEASE. I make two 300-MB mdconfig disks and populate them, and when the first one was already full and the second one is only half-full, I get a kernel panic "not enough memory". I wonder where did 1,5 Gb go?? Well, I tried to reboot and allocate them with -o reserve to prevent the kernel panic, but the second one said that enough memory can't be allocated (though top still showed 1,5 Gb left). Well, I rebooted and tried to allocate one 1-Gb disk, but it also failed. Then I gave up on this and came to my other work, but when I loaded some small kernel module, I got a kernel panic!! What, didn't the disk allocation have to kinda free up the used memory when it fails?! And then the last thing. I reboot and copy a 220-m file from a samba-mounted directory to my hard drive (UFS2 with soft-updates). I was very surprised to see that one gigabyte of my memory suddenly became used up. I wonder if the soft-up! dat > es really don't care about how much memory they use... > > A friend of mine told me that such a panic is really a thing to write a bugreport on it, but I know about this behaviour for few years already and so I guess I just don't know something about the memory allocation system, and, kinda, it really works just like that. Should I read something to understand why it's just like that or really write a report on some of these things?.. > > > > The Ghost > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From wojtek at wojtek.tensor.gdynia.pl Tue Jun 3 08:06:16 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 3 08:06:20 2008 Subject: Duplex printer advice In-Reply-To: References: <20080602232417.J36835@wojtek.tensor.gdynia.pl> Message-ID: <20080603100421.B5921@wojtek.tensor.gdynia.pl> > This depends a lot on your print jobs. Low quality machine-generated > PostScript output can be slow. PCL can also be slow. The only way to really > know is to benchmark with your print jobs. there was no case i found postscript to print faster. > There's also the potential overhead of the print processing systems. Just > sending PS in the first place may be quicker than apsfilter or CUPS. i use lpd+my script for filtering postscript to PCL > Recent printers have fast RISC CPUs and fast PS interpreters. I/O speed > comes into it, too. FreeBSD seems particularly slow over parallel and USB both not true, but just use lptcontrol for parallel port! From pieter at degoeje.nl Tue Jun 3 08:13:38 2008 From: pieter at degoeje.nl (Pieter de Goeje) Date: Tue Jun 3 08:13:41 2008 Subject: 7-STABLE Watchdog Timeout In-Reply-To: References: <164F5576-6023-4873-A1FE-CBAFD2E612A4@unbc.ca> Message-ID: <200806031012.12180.pieter@degoeje.nl> On Tuesday 03 June 2008, Jeremy Karlson wrote: > I'm still looking into my watchdog timeout with me re card. I'm > starting to wonder if my problem is in any way related to the > discussion back in September 2006 starting with this post: > > "6.2 SHOWSTOPPER - em completely unusable on 6.2" > http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/028792.htm >l > > It seems that under certain conditions and loads, a network interface > with a shared interrupt would stop responding until the watchdog > resets it. This seems to be very similar to what I see. At the time, > they seemed mostly concerned about fixing the em driver; I'm using re. > > Unfortunately though, I can't seem to find what the resolution to this > was, and if it could be related to the failure I'm seeing. Does > anyone know what happened with that problem? > > -- Jeremy If I remember correctly, there were two problems: 1) there was a race in the interrupt handler (this affected all interrupt handlers), 2) em used the now obsolete if_timer to implement it's watchdog timeout. This timer is unreliable. Both items have been fixed, so this shouldn't be related to your problem. #2 wasn't fixed in all drivers, but if you are affected you should see a warning on startup stating the use of the obsolete timer. I believe if_re was converted some time ago. Note that in theory watchdog timeouts could also mean broken hardware, bad connection to PCI bus or other intermittent hw failure. I would try reseating the card in another slot. -- Pieter de Goeje From tedm at toybox.placo.com Tue Jun 3 08:17:31 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Tue Jun 3 08:17:36 2008 Subject: Duplex printer advice In-Reply-To: <1212446461.42010.14.camel@tao.thought.org> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gary Kline > Sent: Monday, June 02, 2008 3:41 PM > To: Ted Mittelstaedt > Cc: FreeBSD Questions; Kurt Buff; Chuck Robey; Derek Ragona > Subject: RE: Duplex printer advice > > > At the same time, HP's patents are about to expire in the next few > years. Anybody > know when, to-the-year? > HP uses Canon's imaging engines for their printers, the patents are mainly on the HP-specific control stuff, which nobody really cares much about. Ted From tedm at toybox.placo.com Tue Jun 3 08:22:30 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Tue Jun 3 08:22:41 2008 Subject: Duplex printer advice In-Reply-To: Message-ID: > -----Original Message----- > From: David Kelly [mailto:dkelly@HiWAAY.net] > Sent: Monday, June 02, 2008 7:37 PM > To: Ted Mittelstaedt > Cc: FreeBSD Questions > Subject: Re: Duplex printer advice > > > We have one at work that if it was up to me I too would sell it for $50 > if anyone offered. Its a networked color HP 4M something that prints 11" > wide. Letter prints sideways, and 11x17 prints lengthwise. > > Its slower than Christmas when printing photos. Maybe 2 pages per hour. > > We keep it because 1) its paid for, 2) we have space for it, and 3) it > prints very pretty color text for proposals. > The HP4M color is a completely different technology than modern HP color laserjets. It is also different than the 4+ which is a black and white. HP made 2 printers they called the "4M" and the "4M Color". Completely different printers. DIfferent electronics, imaging engines, etc. We have a HP color 3550 laserjet in our office. The print speed is faster than the black and white laserjets which are older. The 3550 is a newer printer. Ted From tedm at toybox.placo.com Tue Jun 3 08:37:33 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Tue Jun 3 08:37:38 2008 Subject: Duplex printer advice In-Reply-To: <20080603100421.B5921@wojtek.tensor.gdynia.pl> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Wojciech Puchar > Sent: Tuesday, June 03, 2008 1:06 AM > To: Warren Block > Cc: FreeBSD Questions > Subject: RE: Duplex printer advice > > > > This depends a lot on your print jobs. Low quality machine-generated > > PostScript output can be slow. PCL can also be slow. The only > way to really > > know is to benchmark with your print jobs. > > there was no case i found postscript to print faster. > You won't on an HP printer, at least not an older one. Remember that HP had to pay a very hefty fee to Adobe for licensing PostScript for each printer. HP did everything possible to push PCL and discourage customers from selecting PS because they did not want to continue to have to pay Adobe. HP did not dare mess with the PostScript implementation itself for fear of a lawsuit - every HP printer that went out the door they definitely made sure was completely compliant with PostScript - but they did everything else to discourage it. They told all the companies that wrote tutorials to minimize PostScript and enhance PCL, they make PostScript models much more expensive, they didn't ship models with Postscript with enough ram to run the PostScript interpreter reasonably quickly, and they made no effort to speed up the PostScript implementation. Still another trick was distributing PPD files that didn't have a complete definition of all printer accessories so that when you printed PostScript from, for example, Windows, you might not have a duplexer definition and could only print duplex on PCL. Ted From maanjee at gmail.com Tue Jun 3 08:52:02 2008 From: maanjee at gmail.com (VeeJay) Date: Tue Jun 3 08:52:08 2008 Subject: FreeBSD 7.0 Kernel + Dell PE2950 III ? Message-ID: <2cd0a0da0806030152x3300a705n7ad0a965ac955776@mail.gmail.com> Hi guys I am going to install a Web Server (apache+mysql+php) at my work place. To boost performance, I am just thinking that should I configure and rebuild FreeBSD KERNEL for this hardware? And if so, what paramters I should follow? Any help would be highly appreciated. Server's hardware configuration is as follow: 2 x Quad Core Xeon E5450 3.0GHz,2x6MB,1333FSB 16GB (8x2GB Dual Rank DIMMs) 667MHz FBD 6 x 450GB SAS 15k 3.5" HD Hot Plug PERC 6/i, Integrated Controller Card x6 backplane PE2950 III C5 MSS R10 Add-in PERC 5/i / 6/i 1 S TCP/IP Offload Engine 2P Broadcom TCP/IP Offload Engine functionality (TOE) Not Enabled Thank you guys. VJ -- Thanks! BR / vj From jhary at unsane.co.uk Tue Jun 3 09:12:48 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Tue Jun 3 09:12:51 2008 Subject: mfi freebsd7 In-Reply-To: <484482E1.5010207@el.net> References: <4844293F.7020507@el.net> <484438B1.5020202@unsane.co.uk> <484441D8.8050207@el.net> <48445F45.70604@unsane.co.uk> <48448134.9080808@el.net> <484482E1.5010207@el.net> Message-ID: <48450B08.6040806@unsane.co.uk> kalin m wrote: > sorry for the double posting.... just to update: > > i installed also the linux-megamgr same result: > Failed to open driver node /dev/megadev0 > > after linking megadev0 to mfi0 it can not see the version... it gets > more and more pathetic by the minute... > odd that it wouldnt install as it did for me just now. Is your ports tree up to date? I'm guessing not since the latest version reference in ports is 1.01.40 and you found and got the 1.01.09 rpm/zip try updating your ports to the latest tree (portsnap is my method of choice but csup works fine too :) then try cd /usr/ports/sysutils/linux-megacli && make install clean Be sure to pay attention to the post-install message as it tells you about whats needed in the way of kernel modules and sysctl variables as well as what periodic config is available. We do have a server at work using the LSI Logic / Symbios Logic MegaRAID SAS 1078 which hosts 40 VPS's running quite happily in a RAID 1+0 config, each VPS running web/mail/ftp for a number between 1 and 100 websites, so they seem to perform well enough, this is a linux server though. If you've been sold a RAID1 array i'd imagine thats what you have unless you have reason to believe otherwise. It will appear as a singe block device (/dev/mfid0) to the operating system though as you have see. Vince > > > > > kalin m wrote: >> thanks Vince... i didnt wanted to install the linux base because a >> lot of kids will be running some 'cool' boards or blogs that probably >> have cool linux holes too. but just for the hell of it and for he >> purpose to get to the controller i did. it took a while to find the >> Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the >> LSI site (anymore) either.. anyway after a lot of rpm downloads and >> patching and variable changing and fs mountings i get this: >> >> # /usr/local/sbin/megacli -adpCount >> ERROR:Could not detect controller. >> >> Controller Count: 0. >> >> >> pretty neat system... >> >> >> now what?! >> >> >> >> >> Vince Hoffman wrote: >>> kalin m wrote: >>>> megarc, right... read about it.. here: >>>> >>>> # megarc -AllAdpInfo help >>>> usage : >>>> cmd -AllAdpInfo >>>> : prints info of all cards >>>> >>>> >>>> ..... ok ..... >>>> >>>> # megarc -AllAdpInfo >>>> >>>> >>>> ********************************************************************** >>>> MEGARC MegaRAID Configuration >>>> Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA >>>> >>>> ********************************************************************** >>>> [Note: For SATA-2, 4 and 6 channel controllers, please specify >>>> Ch=0 Id=0..15 for specifying physical drive(Ch=channel, >>>> Id=Target)] >>>> >>>> Type ? as command line arg for help >>>> >>>> No Adapters Found Error: No MegaRaid Found >>>> >>>> >>>> ?!?!?! does that mean that there is no raid? why then the df >>>> output? the machine is supposed to have 4 250gig SAS drives. >>>> >>> >>> Its more likely that megarc doesnt support the newer controllers >>> which is a shame. you might have more luck with >>> sysutils/linux-megacli since that explicitly mentions LSI MegaRAID >>> SAS, I wish they would make the util open source though. Will mean >>> you need the linux-base port installed and linux.ko loaded. >>> >>> A RAID1 config shoudl suit a busy webserver well. >>> >>> Vicne >>> >>> >>> >>>> >>>> thanks... >>>> >>>> >>>> >>>> >>>> >>>> Vince Hoffman wrote: >>>>> kalin m wrote: >>>>>> hi all... >>>>>> >>>>>> a hosting facility build a new dedicated server for me and looking >>>>>> at the dmesg i see: >>>>>> >>>>>> mfi0: port 0xec00-0xecff mem >>>>>> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 >>>>>> on pci1 >>>>>> mfi0: Megaraid SAS driver Ver 2.00 >>>>>> >>>>>> for df i get: >>>>>> Filesystem Size Used Avail Capacity Mounted on >>>>>> /dev/mfid0s1a 496M 197M 259M 43% / >>>>>> devfs 1.0K 1.0K 0B 100% /dev >>>>>> /dev/mfid0s1e 496M 12K 456M 0% /tmp >>>>>> /dev/mfid0s1f 661G 636M 608G 0% /usr >>>>>> /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var >>>>>> >>>>>> >>>>>> i asked for raid1. i cant find too much information about the mfi >>>>>> driver. just that it works with freebsd 7. >>>>>> >>>>> >>>>> you might want to look at sysutils/megarc and possibly >>>>> sysutils/linux-megamgr so you can more closely monitor/investigate >>>>> your array. >>>>> >>>>> Vince >>>>> >>>>>> i'll keep looking but - has anybody successfully deployed >>>>>> production servers using the LSI MegaSAS 1078 in RAID1 on a very >>>>>> busy web server? >>>>>> is there any loss in performance using that hardware in RAID1? >>>>>> any performance loss in RAID1 at all? >>>>>> >>>>>> >>>>>> thanks... >>>>>> >>>>>> _______________________________________________ >>>>>> freebsd-questions@freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>> To unsubscribe, send any mail to >>>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>>> >>>>> _______________________________________________ >>>>> freebsd-questions@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to >>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>> _______________________________________________ >>>> freebsd-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 jos at webrz.net Tue Jun 3 09:31:43 2008 From: jos at webrz.net (Jos Chrispijn) Date: Tue Jun 3 09:31:48 2008 Subject: FreeBSD 6.2 update Message-ID: <48450F7C.3070804@webrz.net> I want to upgrade 6.2 to 6.3. Can you tell me where I can obtain the 'FreeBSD Update utility as described in the FreeBSD 6.3 and FreeBSD 7.0 release announcements' ? Thanks. Jos From cyb. at gmx.net Tue Jun 3 09:39:31 2008 From: cyb. at gmx.net (Andreas Rudisch) Date: Tue Jun 3 09:39:39 2008 Subject: FreeBSD 6.2 update In-Reply-To: <48450F7C.3070804@webrz.net> References: <48450F7C.3070804@webrz.net> Message-ID: <20080603113924.7b9915a9.cyb.@gmx.net> On Tue, 03 Jun 2008 11:31:40 +0200 Jos Chrispijn wrote: > I want to upgrade 6.2 to 6.3. Can you tell me where I can obtain the > 'FreeBSD Update utility as described in the FreeBSD 6.3 and FreeBSD 7.0 > release announcements' ? Thanks. http://www.freebsd.org/releases/6.3R/announce.html Scroll down to 'FreeBSD Update'. 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080603/357ff367/attachment.pgp From crapsh at monkeybrains.net Tue Jun 3 09:49:11 2008 From: crapsh at monkeybrains.net (Rudy) Date: Tue Jun 3 09:49:15 2008 Subject: buildworld fails on FreeBSD 7 - fresh cvsup - libreadline.so complaints Message-ID: <48450CD2.1090503@monkeybrains.net> Problem: Fresh cvsup of FreeBSD-7 and make buildworld failed... Workaround: If I go directly into /usr/src/gnu/usr.bin and type 'make' things are built... (still building, so I don't know if this will hose the system :) Error: (note "gnu/usr.bin/bc" also failed with the similar errors [libreadline.so complaints]) ===> gnu/usr.bin/gdb/gdb (all) cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -DHAVE_CONFIG_H -DRL_NO_COMPAT -DMI_OUT=1 -DTUI=1 -I. -I/usr/src/gnu/usr.bin/gdb/gdb/../arch/i386 -I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd -I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd/i386 -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/config -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/include -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/include -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/bfd -c /usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/gdb.c cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -DHAVE_CONFIG_H -DRL_NO_COMPAT -DMI_OUT=1 -DTUI=1 -I. -I/usr/src/gnu/usr.bin/gdb/gdb/../arch/i386 -I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd -I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd/i386 -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/config -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/include -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/include -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/bfd -Wl,-E -o gdb gdb.o /usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a /usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd/libbfd.a /usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libopcodes/libopcodes.a /usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libiberty/libiberty.a -lm -lreadline -ltermcap -lgnuregex /usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a(tui.o)(.text+0x6a9): In function `tui_rl_switch_mode': : undefined reference to `rl_newline' /usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a(tui.o)(.text+0x8a2): In function `tui_rl_command_mode': : undefined reference to `rl_insert' /usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a(top.o)(.text+0x174): In function `gdb_rl_operate_and_get_next': : undefined reference to `rl_newline' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_rubout_or_delete' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_clear_screen' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_delete' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_insert_comment' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_rubout' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_delete_horizontal_space' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_insert_text' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_refresh_line' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_quoted_insert' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_transpose_chars' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_backward_word' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_char_search' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_arrow_keys' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_backward_byte' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `_rl_char_search_internal' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_end_of_line' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_forward_byte' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_forward_word' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `_rl_set_mark_at_pos' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_set_mark' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_replace_line' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `_rl_rubout_char' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `_rl_overwrite_char' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_do_lowercase_version' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_upcase_word' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_tab_insert' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_backward_char' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_forward_char' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_capitalize_word' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_backward_char_search' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_delete_or_show_completions' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_downcase_word' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_transpose_words' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_beg_of_line' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_exchange_point_and_mark' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `_rl_replace_text' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `_rl_fix_point' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_delete_text' /usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `_rl_insert_char' *** Error code 1 Stop in /usr/src/gnu/usr.bin/gdb/gdb. *** Error code 1 Stop in /usr/src/gnu/usr.bin/gdb. *** Error code 1 Stop in /usr/src/gnu/usr.bin. *** Error code 1 Stop in /usr/src/gnu. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. From maanjee at gmail.com Tue Jun 3 10:43:28 2008 From: maanjee at gmail.com (VeeJay) Date: Tue Jun 3 10:43:32 2008 Subject: FreeBSD MySQL Performance Tunning suggestions??? Message-ID: <2cd0a0da0806030343o68dcf30bj447d4174b93c30d2@mail.gmail.com> Hi Guys I need some performance tuning suggestions/help from you. At my job, I am going to build a Web Server with 1. FreeBSD 7.0-RELEASE amd64 2. Apache 2.2.8 3. PHP 4.4.8 (or may be PHP5, what do you suggest?) Server's hardware configuration is as follow: 2 x Quad Core Xeon E5450 3.0GHz,2x6MB,1333FSB 16GB (8x2GB Dual Rank DIMMs) 667MHz FBD 6 x 450GB SAS 15k 3.5" HD Hot Plug PERC 6/i, Integrated Controller Card x6 backplane PE2950 III C5 MSS R10 Add-in PERC 5/i / 6/i 1 S TCP/IP Offload Engine 2P Broadcom TCP/IP Offload Engine functionality (TOE) Not Enabled For FreeBSD 7.0-RELEASE amd64 Which MySQL 5.0 would be used ? 1. FreeBSD 7.x (x86_64) or 2. FreeBSD 6.x (x86) I have done some googling and made these configuration files for Apache and MySQL? Apache: httpd.conf-----------------------------------------------------start------------ # ================================================= # Basic settings # ================================================= ServerType standalone ServerRoot "/usr/local/apache" PidFile /usr/local/apache/logs/httpd.pid ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard ResourceConfig /dev/null AccessConfig /dev/null # ================================================= # Performance settings # ================================================= Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 256 MaxRequestsPerChild 0 # ================================================= # Apache modules # ================================================= ClearModuleList AddModule mod_log_config.c AddModule mod_mime.c AddModule mod_dir.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_php4.c AddModule mod_rewrite.c AddModule mod_security.c AddModule mod_setenvif.c # ================================================= # General settings # ================================================= Port 80 User apache Group apache ServerAdmin adminsrv@gmail.com UseCanonicalName Off ServerSignature Off HostnameLookups Off ServerTokens Prod DirectoryIndex index.html DocumentRoot "/home/apache/www" # ================================================= # Access control # ================================================= Options None AllowOverride None Order deny,allow Deny from all Order allow,deny Allow from all Order allow,deny Allow from all # ================================================= # MIME encoding # ================================================= TypesConfig /usr/local/apache/conf/mime.types DefaultType text/plain AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddType application/x-tar .tgz AddType application/x-httpd-php .html # ================================================= # Logs # ================================================= LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent ErrorLog /var/apache/logs/error_log CustomLog /var/apache/logs/access_log combined # ================================================= # Virtual hosts # ================================================= NameVirtualHost * DocumentRoot "/home/apache/www/vhosts/mydomain.com/public_html" ServerName "www.mydomain.com" ServerAlias "mydomain.com" ErrorLog /var/apache/logs/vhosts/mydomain.com/error_log CustomLog /var/apache/logs/vhosts/mydomain.com/access_log combined RewriteEngine on RewriteRule ^/([a-z]{2})/index.html$ /index.html?topicid=$1 ErrorDocument 400 /page_error.html ErrorDocument 401 /page_error.html ErrorDocument 403 /page_error.html ErrorDocument 404 /page_error.html ErrorDocument 500 /page_error.html # ================================================ # Logging GET/POST requests, defending against # Cross-Site-Scripting (XSS) and SQL Injection attacks # ================================================ AddHandler application/x-httpd-php .html #Turn the filtering engine On or Off SecAuditEngine On # Only log suspicious requests SecAuditEngine RelevantOnly SecAuditLog /var/apache/logs/audit_log SecFilterScanPOST On SecFilterEngine On SecFilterDefaultAction "deny,log,status:500" SecFilter "\"" #generic bogus path sigs SecFilterSelective THE_REQUEST "\.\.\./" "id:300006,rev:1,severity:2,msg:'Bogus Path denied'" SecFilterSelective POST_PAYLOAD "[[:space:]]+\.\.\.+\;" "id:300007,rev:1,severity:2,msg:'Bogus Path denied'" #XCC:Signatures for XSS SecFilter "/((\%3D)|(=))[^\n]*((\%3C)|<)[^\n]+((\%3E)|>)" #XCC:Regex for simple CSS attack SecFilter "/((\%3C)|<)((\%2F)|\/)*[a-z0-9\%]+((\%3E)|>)/ix" #XCC:Regex for ")/i" #XCC:Paranoid regex for CSS attacks SecFilter "/((\%3C)|<)[^\n]+((\%3E)|>)/i" #SQL:Regex for detection of SQL meta-characters SecFilter "/(\%27)|(\')|(\-\-)|(\%23)|(#)/ix" #SQL:Modified regex for detection of SQL meta-characters #SecFilter "/((\%3D)|(=))[^\n]*((\%27)|(\')|(\-\-)|(\%3B)|(;))/i" #SQL:Regex for typical SQL Injection attack SecFilter "/\w*((\%27)|(\'))((\%6F)|o|(\%4F))((\%72)|r|(\%52))/ix" #SQL:Regex for detecting SQL Injection with the UNION,SELECT,UPDATE,DELETE,DROP,GRANT keyword SecFilter "/((\%27)|(\'))union/ix" SecFilter "/((\%27)|(\'))select/ix" SecFilter "/((\%27)|(\'))insert/ix" SecFilter "/((\%27)|(\'))update/ix" SecFilter "/((\%27)|(\'))delete/ix" SecFilter "/((\%27)|(\'))drop/ix" SecFilter "/((\%27)|(\'))grant/ix" #PHP defenses SecFilterSelective ARG_PHPSESSID "!^[0-9a-z]*$" SecFilterSelective ARGS_NAMES "^(globals($|\[)|php:/)" SecFilterSelective COOKIE_PHPSESSID "!^[0-9a-z]*$" SecFilterSelective COOKIE_sessionid "!^[0-9a-z\.]*$" #Generic PHP payload command injection and upload vulnerabilities SecFilterSelective POST_PAYLOAD "<\?php" chain SecFilter "((fputs|fread)\(.*\,.*\)\;|fsockopen\(gethostbyname|chr\(.*\)\.chr\(.*\)\.chr\(|(fclose|fgets)\(.*\)\;|(system|exec)\(.*\)\;)" chain SecFilter "\<\?php" Apache: httpd.conf-----------------------------------------------------end-------- MySQL: my.cnf------------------------------------------------------------start-------- # The following options will be passed to all MySQL clients [client] #password = your_password port = 3306 socket = /tmp/mysql.sock #ng below 1 line default-character-set=utf8 # Here follows entries for some specific programs # The MySQL server [mysqld] port = 3306 socket = /tmp/mysql.sock skip-locking skip-networking skip-name-resolve server-id=1 #2008-02-10 max_connections=499 interactive_timeout=100 wait_timeout=100 connect_timeout=10 thread_cache_size=256 connect_timeout=10 myisam_sort_buffer_size=32M key_buffer=16M join_buffer=3M record_buffer=3M sort_buffer=5M table_cache=1024 #- # increase until threads_created doesnt grow anymore thread_cache=512 query_cache_type=1 query_cache_limit=2M query_cache_size=64M # Try number of CPU's*2 for thread_concurrency thread_concurrency=4 set-variable=local-infile=0 #ng below 5 lines init_connect='SET collation_connection = utf8_unicode_ci' init_connect='SET NAMES utf8' default-character-set=utf8 character-set-server=utf8 collation-server=utf8_unicode_ci #NG: new variables for fulltext search: ft_min_word_len=2 ft_max_word_len=15 # Replication Master Server (default) # binary logging is required for replication log-bin=mysql-bin # required unique id between 1 and 2^32 - 1 # defaults to 1 if master-host is not set # but will not function as a master if omitted server-id = 1 [mysqldump] quick max_allowed_packet = 16M [mysql] no-auto-rehash #ng below 1 line default-character-set=utf8 [isamchk] key_buffer = 256M sort_buffer_size = 256M read_buffer = 2M write_buffer = 2M [myisamchk] key_buffer = 256M sort_buffer_size = 256M read_buffer = 2M write_buffer = 2M [mysqlhotcopy] interactive-timeout MySQL: my.cnf-------------------------------------------------------------end Is there something you can tune? Regards -- Thanks! BR / vj From tedm at toybox.placo.com Tue Jun 3 08:12:30 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Tue Jun 3 11:24:53 2008 Subject: Duplex printer advice In-Reply-To: <20080602232417.J36835@wojtek.tensor.gdynia.pl> Message-ID: > -----Original Message----- > From: Wojciech Puchar [mailto:wojtek@wojtek.tensor.gdynia.pl] > Sent: Monday, June 02, 2008 2:32 PM > To: Ted Mittelstaedt > Cc: Chuck Robey; Kurt Buff; FreeBSD Questions; Derek Ragona; > kline@thought.org > Subject: RE: Duplex printer advice > > > my HP LaserJet 4 shows 122000 pages, was 88000 when i bought it > for 100PLN > (about 40$)+another 100 for made-in-Poland new ink cardridge (enough for > about 8000-10000 pages). > > HP LaserJet 4 and 3 is excellent, anything newer - crap, as HP joined > others in making craps so every year user has to buy new one. > The 5Si is also an excellent printer. The higher-end HP LJ's are not crap, and last many many years too. The problem is that around the post-4 and post-5 years HP started coming out with the personal LJ printers, which are all crap, and jacked up the price of the workgroup printers to prevent sabotaging the sales of the cheap crap. > > My HP Laserjet 4+ at home is the oldest operating piece of > > computer equipment I have. And I fully expect it to last > > another decade, and once it dies, I have another one in the > > basement that I picked up for $50 - WITH a duplexer. > > i don't think it will stop within 10 years. but do you have original > HP manual? if not - i have for laserjet 4 in PDF. > do not try to disassembly without it :) > I do, and have repaired many fuser idler gears in these printers, as that is usually what gets teeth broken off it and is responsible for most of the jams. Ebay is flooded with cheap HP LJ 4 parts. I kind of suspect that somewhere in China is a company that produces counterfeits of these and other popular HP Laserjets. Ted From crapsh at monkeybrains.net Tue Jun 3 11:25:33 2008 From: crapsh at monkeybrains.net (Rudy) Date: Tue Jun 3 11:25:43 2008 Subject: FreeBSD MySQL Performance Tunning suggestions??? In-Reply-To: <2cd0a0da0806030343o68dcf30bj447d4174b93c30d2@mail.gmail.com> References: <2cd0a0da0806030343o68dcf30bj447d4174b93c30d2@mail.gmail.com> Message-ID: <48452A83.9000406@monkeybrains.net> > MySQL: > [mysqld] > port = 3306 > socket = /tmp/mysql.sock > skip-locking > skip-networking > skip-name-resolve > server-id=1 > #2008-02-10 > max_connections=499 > interactive_timeout=100 > wait_timeout=100 > connect_timeout=10 > thread_cache_size=256 > connect_timeout=10 > myisam_sort_buffer_size=32M > key_buffer=16M > join_buffer=3M > record_buffer=3M > sort_buffer=5M > table_cache=1024 > #- > # increase until threads_created doesnt grow anymore > thread_cache=512 > query_cache_type=1 > query_cache_limit=2M > query_cache_size=64M > # Try number of CPU's*2 for thread_concurrency > thread_concurrency=4 > set-variable=local-infile=0 > #ng below 5 lines > init_connect='SET collation_connection = utf8_unicode_ci' > init_connect='SET NAMES utf8' > default-character-set=utf8 > character-set-server=utf8 > collation-server=utf8_unicode_ci > #NG: new variables for fulltext search: > ft_min_word_len=2 > ft_max_word_len=15 > > # Replication Master Server (default) > # binary logging is required for replication > log-bin=mysql-bin > # required unique id between 1 and 2^32 - 1 > # defaults to 1 if master-host is not set > # but will not function as a master if omitted > server-id = 1 I don't see innodb tunings... if you have innodb tables, you should use about 4GB of RAM for that. DOn't forget, Edit your /boot/loader.conf to allow your MySQL to grow up to about 8GB (for starters). People forget this about as often as they forget to put INDEXES on their tables. Speaking of that! Turn on your slow_query_log... set it to 5 seconds and monitor the slow_query_log file. Are you going to replicate? If not, disable log-bin (you have skip-networking, so I assume you are not setting up a master/slave). Only reason to do log-bin is to fill your disk up with files you will never yse. Up query_cache_limit=8M (depends, may not matter for your site). (That is the max limit per query to cache...). Keep an eye on your cache fill rate and up those values if you need to. Keep an eye on your table_cache... table_cache=1024 may be fine, but if you have 4000 tables, that may need to be higher. Set your key_buffer higher (depending on your site) --- several 100GB. Connections can *probably* be lower... the only reason to have a real hig number for connections is to get your machine to swap. :p Oh, check out the my-huge.cnf file that comes with MySQL... I think it is in /usr/local/share/mysql/ or somewhere.... good tips there. Good luck. Rudy From crapsh at monkeybrains.net Tue Jun 3 11:26:59 2008 From: crapsh at monkeybrains.net (Rudy) Date: Tue Jun 3 11:27:05 2008 Subject: buildworld fails on FreeBSD 7 - fresh cvsup - libreadline.so complaints In-Reply-To: <48450CD2.1090503@monkeybrains.net> References: <48450CD2.1090503@monkeybrains.net> Message-ID: <48452AD9.20909@monkeybrains.net> Rudy wrote: > Workaround: > If I go directly into /usr/src/gnu/usr.bin and type 'make' things are > built... > (still building, so I don't know if this will hose the system :) This came up about 5 more times (usr.sbin , bin, ...) so I finally gave up. Rudy From wojtek at wojtek.tensor.gdynia.pl Tue Jun 3 11:42:41 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 3 11:42:44 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: <20080603134043.H7375@wojtek.tensor.gdynia.pl> > > You won't on an HP printer, at least not an older one. Remember > that HP had to pay a very hefty fee to Adobe for licensing > PostScript for each printer. HP did everything possible to push > PCL and discourage customers from selecting PS because they > did not want to continue to have to pay Adobe. HP did not well that make sense. anyway - idon't think that implementing postscript processing (or any other language) in printers make sense at all. computers are powerfull, printer could just take a bitmap and print it (and be cheaper). unfortunately such implementations are usually winprinters ... From invitation at refriendz.com Tue Jun 3 12:23:59 2008 From: invitation at refriendz.com (hari krishna) Date: Tue Jun 3 12:24:07 2008 Subject: I am now on Refriendz! Message-ID: Hi! I would like to invite you to visit my Refriendz page and see my latest photos. In order to visit my space, you must go to: http://www.refriendz.com/?do=Login.Invite&rid=harij2007&email=freebsd-questions@freebsd.org (If this link does not work, please copy and paste it into your browser or go to www.refriendz.com and enter 'harij2007' as Invitation ID to Login to the web site.) P.S. Refriendz is Invitation-Only, so do not miss your chance to visit my page! Cheers! hari ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unsubscribe: to opt out of ALL future emails from Refriendz, visit: http://www.refriendz.com/?do=Login.RemoveEntry&email=freebsd-questions@freebsd.org Please do not reply directly to this email. This mailbox is not monitored and you will not receive a response. Refriendz Limited, PO BOX 1184, Luton, Bedfordshire, LU1 9AT, UK. From nvass at teledomenet.gr Tue Jun 3 13:39:43 2008 From: nvass at teledomenet.gr (Nikos Vassiliadis) Date: Tue Jun 3 13:39:55 2008 Subject: VPN (IPSEC) In-Reply-To: <6ae50c2d0805311649p14863af3y43af39fb4aa2cc8a@mail.gmail.com> References: <6ae50c2d0805311649p14863af3y43af39fb4aa2cc8a@mail.gmail.com> Message-ID: <200806031638.00027.nvass@teledomenet.gr> On Sunday 01 June 2008 02:49:22 alexus wrote: > Hello, > > I'm trying to establish a VPN tunnel over internet, I read a > http://www.freebsd.org/doc/en/books/handbook/ipsec.html on how to set > it up, I'm some what strangeling if my setup will work at all. > > i have box #1 that have 1 primary IP, which is private IP but in front > of my box, I have a device that translate a public IP address into > private IP, so "technicaly" its a public IP not a private, yet system > sees it as private, yet my box #2 has interface with real public ip > and another interface with private ip, i created GIF0 interface, yet i > can't ping private range on other box. > > > box#1 > > fxp0: flags=8843 metric 0 mtu > 1500 options=8 > ether 00:0f:fe:aa:f4:61 > inet 192.168.1.251 netmask 0xffffff00 broadcast 192.168.1.255 > inet 172.16.172.16 netmask 0xffffffff broadcast 172.16.172.16 > media: Ethernet autoselect (100baseTX ) > status: active > plip0: flags=108810 metric 0 > mtu 1500 lo0: flags=8049 metric 0 mtu > 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > gif0: flags=8051 metric 0 mtu 1280 > tunnel inet 38.96.123.42 --> 74.2.252.194 > inet 192.168.1.251 --> 192.168.2.252 netmask 0xffffffff You said that the router in front of box#1 is willing to NAT your rfc1918 address to a "public" one. Yet, you seem to have configured gif0 with your exterior peer address 38.96.123.42, which is not your address, but seems like the "public" one. Example configuration: box#1 ifconfig fxp0 1.1.1.1 box#2 ifconfig fxp0 2.2.2.2 ## let's set up the endpoints of tunnel box#1 ifconfig gif0 tunnel 1.1.1.1 2.2.2.2 box#2 ifconfig gif0 tunnel 2.2.2.2 1.1.1.1 ## let's set up the interior addresses box#1 ifconfig gif0 10.234.78.1 10.234.78.2 netmask 255.255.255.255 box#2 ifconfig gif0 10.234.78.2 10.234.78.1 netmask 255.255.255.255 You should be able to ping remote peer addresses at this time. box#1 ping 10.234.78.2 Set up some routes and it will be fine. Nevertheless, in case it doesn't be sure that the NAT device: 1) is willing to NAT IPIP and 2) will do 1:1 NAT HTH, Nikos From nicolas at boiteameuh.org Tue Jun 3 14:17:14 2008 From: nicolas at boiteameuh.org (Nicolas Haller) Date: Tue Jun 3 14:17:17 2008 Subject: The machine which does nothing Message-ID: <20080603140219.GB19003@boiteameuh.org> Hi all, I have a very strange problem with a machine. The box have a postfix which give e-mail to an amavisd-new and deliver ham to mailboxes. The problem is the mail queue grow but the machine doesn't work at full capacity. CPU is 90% idle, vmstat don't see proc are waiting for anything, disks are playing poker and there is a lot of RAM available. The machine have this problem under freebsd 6.3 and 7.0-RELEASE with a bi-Xeon Quad core. I have an another box which has the same configuration and it work perfectly. thanks, -- Nicolas Haller -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080603/c695b088/attachment.pgp From wmoran at potentialtech.com Tue Jun 3 14:24:13 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Jun 3 14:24:17 2008 Subject: The machine which does nothing In-Reply-To: <20080603140219.GB19003@boiteameuh.org> References: <20080603140219.GB19003@boiteameuh.org> Message-ID: <20080603102327.7629a042.wmoran@potentialtech.com> In response to Nicolas Haller : > Hi all, > > I have a very strange problem with a machine. The box have a postfix > which give e-mail to an amavisd-new and deliver ham to mailboxes. > > The problem is the mail queue grow but the machine doesn't work at full > capacity. CPU is 90% idle, vmstat don't see proc are waiting for > anything, disks are playing poker and there is a lot of RAM available. > > The machine have this problem under freebsd 6.3 and 7.0-RELEASE with a > bi-Xeon Quad core. amavisd and postfix do a lot of stuff. Could be timing out on DNS or other networking issues. Grab a tcpdump while it's running and see if any networking is taking an extraordinary amount of time. -- Bill Moran http://www.potentialtech.com From dead_line at hotmail.com Tue Jun 3 14:51:21 2008 From: dead_line at hotmail.com (Long Story) Date: Tue Jun 3 14:51:29 2008 Subject: any news? 3945 ABG driver! Message-ID: Hello Gurus, Well, any good news or working drivers for wireless 3945ABG ? for 7.0-R or 6.3-R ? Can anyone kindly provide any useful information ? THANK YOU Marwan. _________________________________________________________________ It?s easy to add contacts from Facebook and other social sites through Windows Live? Messenger. Learn how. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow From fbsd06 at mlists.homeunix.com Tue Jun 3 15:00:25 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Tue Jun 3 15:00:30 2008 Subject: very strange reaction of the md disks In-Reply-To: References: Message-ID: <20080603154351.40abb46f@gumby.homeunix.com.> On Tue, 03 Jun 2008 11:31:05 +0400 The Ghost wrote: > Hello, > > Maybe I just don't understand something, but anyway, it looks really > odd. > > I have a machine with 2 Gb RAM with a clean newly-installed > FREEBSD-7.0-RELEASE. I make two 300-MB mdconfig disks and populate > them, and when the first one was already full and the second one is > only half-full, I get a kernel panic "not enough memory". I wonder > where did 1,5 Gb go?? Try using swap-backed md devices instead. With both malloc and swap devices the data is stored in ram and paged-out to swap as needed, but it helps with some of the malloc limitations. I'm using a 2.7GB /tmp directory with 1.6GB of ram and have not had any problems. I don't actually see any swap usage unless I put a lot of data on the device, otherwise I can even do a swapoff. From jalmberg at identry.com Tue Jun 3 15:27:12 2008 From: jalmberg at identry.com (John Almberg) Date: Tue Jun 3 15:27:18 2008 Subject: logo In-Reply-To: <20080602214856.GA64028@melon.esperance-linux.co.uk> References: <20080602144149.GA59227@gizmo.acns.msu.edu> <58883.87.194.201.18.1212422335.squirrel@www.bridd.com> <200806021857.02736.lists-fbsd@shadypond.com> <20080602214856.GA64028@melon.esperance-linux.co.uk> Message-ID: <1BBCDFBE-00A8-4F0B-8245-DBBF3A5C8EEA@identry.com> On Jun 2, 2008, at 5:48 PM, Frank Shute wrote: > On Mon, Jun 02, 2008 at 06:57:00PM +0000, Pollywog wrote: >> >> On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: >> >>> I agree completely, it's what got me over to BSD ! >>> >> >> I am a little confused. I just see a sphere with "horns" on it that >> reminds me of the BSD daemon's head, only made to look less >> "demonic". Is it supposed to be something else? > > It's the FreeBSD equivalent of the Rorschach inkblot test. Some people > see a daemon's head and other's see a sex toy. > >> >> If it is one of those "toys" is that what FreeBSD folks really want >> to project as an image? > > The image is only in the beholder's eye. It would likely have sent > Mary Whitehouse* apoplectic if she'd seen it ;) > > * http://en.wikipedia.org/wiki/Mary_Whitehouse > I must lead a very sheltered life... sex toy??? I don't get it! :-) -- John From keramida at ceid.upatras.gr Tue Jun 3 15:39:20 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Jun 3 15:39:27 2008 Subject: logo In-Reply-To: <1BBCDFBE-00A8-4F0B-8245-DBBF3A5C8EEA@identry.com> (John Almberg's message of "Tue, 3 Jun 2008 11:00:22 -0400") References: <20080602144149.GA59227@gizmo.acns.msu.edu> <58883.87.194.201.18.1212422335.squirrel@www.bridd.com> <200806021857.02736.lists-fbsd@shadypond.com> <20080602214856.GA64028@melon.esperance-linux.co.uk> <1BBCDFBE-00A8-4F0B-8245-DBBF3A5C8EEA@identry.com> Message-ID: <874p8a4jfu.fsf@kobe.laptop> On Tue, 3 Jun 2008 11:00:22 -0400, John Almberg wrote: > I must lead a very sheltered life... sex toy??? I don't get it! :-) Good. You're happy then. Why spoil that? /me grins From jhary at unsane.co.uk Tue Jun 3 15:42:47 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Tue Jun 3 15:43:32 2008 Subject: any news? 3945 ABG driver! In-Reply-To: References: Message-ID: <48456670.8070304@unsane.co.uk> Long Story wrote: > Hello Gurus, > > Well, any good news or working drivers for wireless 3945ABG ? > for 7.0-R or 6.3-R ? > Can anyone kindly provide any useful information ? > man wpi ;) (sorry to rtfm you but the man page explains it better than I could) Vince > THANK YOU > Marwan. > _________________________________________________________________ > It?s easy to add contacts from Facebook and other social sites through Windows Live? Messenger. Learn how. > https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow_______________________________________________ > freebsd-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 nicolas at boiteameuh.org Tue Jun 3 15:51:47 2008 From: nicolas at boiteameuh.org (Nicolas Haller) Date: Tue Jun 3 15:51:50 2008 Subject: The machine which does nothing In-Reply-To: <20080603102327.7629a042.wmoran@potentialtech.com> References: <20080603140219.GB19003@boiteameuh.org> <20080603102327.7629a042.wmoran@potentialtech.com> Message-ID: <20080603155144.GC19003@boiteameuh.org> On Tue, Jun 03, 2008 at 10:23:27AM -0400, Bill Moran wrote: > In response to Nicolas Haller : > > Hi all, > > > > I have a very strange problem with a machine. The box have a postfix > > which give e-mail to an amavisd-new and deliver ham to mailboxes. > > > > The problem is the mail queue grow but the machine doesn't work at full > > capacity. CPU is 90% idle, vmstat don't see proc are waiting for > > anything, disks are playing poker and there is a lot of RAM available. > > > > The machine have this problem under freebsd 6.3 and 7.0-RELEASE with a > > bi-Xeon Quad core. > amavisd and postfix do a lot of stuff. Could be timing out on DNS or > other networking issues. Grab a tcpdump while it's running and see > if any networking is taking an extraordinary amount of time. Ho, it seems my box randomly send ICMP port unreachable packets to my DNS server. It's an another problem. I see my box doing the DNS request, I see my DNS server answer and, sometimes, my box send the ICMP packet. Anyone know why my box send ICMP port unreachable? -- Nicolas Haller -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080603/0ea42f62/attachment.pgp From prad at towardsfreedom.com Tue Jun 3 16:07:05 2008 From: prad at towardsfreedom.com (prad) Date: Tue Jun 3 16:07:09 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: References: <200806021857.02736.lists-fbsd@shadypond.com> Message-ID: <20080603090611.09512ba3@gom.home> On Tue, 3 Jun 2008 01:03:40 -0700 "Ted Mittelstaedt" wrote: > (aside from the arrogant setting aside > of 20 some years of BSD Unix history) > i don't really understand the reason for the changing beastie - who is easily the cutest of any os (even better than the excellent puffy of openbsd)! we link to freebsd with beastie and there are certainly several beasties on http://www.freebsd.org/art.html, but none on http://www.freebsd.org/logo.html suggesting that the logo is the logo, but beastie is not? i always thought the daemon was inextricably linked with the bsds - i think it appeared even on the older versions of netbsd and openbsd. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From tedm at toybox.placo.com Tue Jun 3 16:08:31 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Tue Jun 3 16:08:37 2008 Subject: Duplex printer advice In-Reply-To: <20080603134043.H7375@wojtek.tensor.gdynia.pl> Message-ID: > -----Original Message----- > From: Wojciech Puchar [mailto:wojtek@wojtek.tensor.gdynia.pl] > Sent: Tuesday, June 03, 2008 4:43 AM > To: Ted Mittelstaedt > Cc: Warren Block; FreeBSD Questions > Subject: RE: Duplex printer advice > > > > > > You won't on an HP printer, at least not an older one. Remember > > that HP had to pay a very hefty fee to Adobe for licensing > > PostScript for each printer. HP did everything possible to push > > PCL and discourage customers from selecting PS because they > > did not want to continue to have to pay Adobe. HP did not > > well that make sense. anyway - idon't think that implementing postscript > processing (or any other language) in printers make sense at all. > computers are powerfull, printer could just take a bitmap and print > it (and be cheaper). > PostScript predates the existence of multi-gigahertz CPU screamers... For simply printing graphics bitmaps your not using any of the Postscript features and a binary dump to the printer is just as useful. But that is not what PostScript is all about. Neither is PCL6 all about that, either. > unfortunately such implementations are usually winprinters ... > Uh, what exactly do you think that HP's Linux driver does that supports many different models of HP desktop printers? HP wrote that.... Ted > From chuckr at telenix.org Tue Jun 3 16:17:40 2008 From: chuckr at telenix.org (Chuck Robey) Date: Tue Jun 3 16:17:44 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: <48456C66.6070309@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ted Mittelstaedt wrote: > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Wojciech Puchar >> Sent: Tuesday, June 03, 2008 1:06 AM >> To: Warren Block >> Cc: FreeBSD Questions >> Subject: RE: Duplex printer advice >> >> >>> This depends a lot on your print jobs. Low quality machine-generated >>> PostScript output can be slow. PCL can also be slow. The only >> way to really >>> know is to benchmark with your print jobs. >> there was no case i found postscript to print faster. >> > > You won't on an HP printer, at least not an older one. ?? I had one of the original LaserJet-1's, which derived it's postscript emulation via a plugin cartridge. I was Very happily surprised when I finally switched to using ghostscript, because my print rate went up on every class of printing, whether it be the faster text only jobs, or the unbelieveably slow binary images. Didn't have color back then. Text was faster, but FAR faster with ghostscript. This was my personal printer, not something told to me by others. Remember > that HP had to pay a very hefty fee to Adobe for licensing > PostScript for each printer. HP did everything possible to push > PCL and discourage customers from selecting PS because they > did not want to continue to have to pay Adobe. HP did not > dare mess with the PostScript implementation itself for fear > of a lawsuit - every HP printer that went out the door they > definitely made sure was completely compliant with PostScript - > but they did everything else to discourage it. They told all > the companies that wrote tutorials to minimize PostScript and > enhance PCL, they make PostScript models much more expensive, > they didn't ship models with Postscript with enough ram to > run the PostScript interpreter reasonably quickly, and they > made no effort to speed up the PostScript implementation. Still > another trick was distributing PPD files that didn't have a > complete definition of all printer accessories so that when > you printed PostScript from, for example, Windows, you might > not have a duplexer definition and could only print duplex > on PCL. > > Ted > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRWxmz62J6PPcoOkRArlnAKCjw6AEzF3yLxUArG/2tHLJ1bK4dwCcC3Mj eNWZXUd7LxZCCdyKxPTgZe4= =JKb+ -----END PGP SIGNATURE----- From dead_line at hotmail.com Tue Jun 3 16:27:59 2008 From: dead_line at hotmail.com (Long Story) Date: Tue Jun 3 16:28:04 2008 Subject: any news? 3945 ABG driver! In-Reply-To: <48456670.8070304@unsane.co.uk> References: <48456670.8070304@unsane.co.uk> Message-ID: Hi Vince! The (rtfm) advice it might exist in 7.0R which I didnot install or upgrade to Yet, Im using PC-BSD which is 6.3-R and I think i need to do the driver manualy, any info ? or i _have_ to go for 7.0-R for this driver to work ? Thanks. Marwan.> Date: Tue, 3 Jun 2008 16:42:40 +0100> From: jhary@unsane.co.uk> To: dead_line@hotmail.com> CC: freebsd-questions@freebsd.org> Subject: Re: any news? 3945 ABG driver!> > Long Story wrote:> > Hello Gurus,> > > > Well, any good news or working drivers for wireless 3945ABG ?> > for 7.0-R or 6.3-R ?> > Can anyone kindly provide any useful information ?> > > > man wpi ;)> > (sorry to rtfm you but the man page explains it better than I could)> > Vince> > > THANK YOU> > Marwan.> > _________________________________________________________________> > It?s easy to add contacts from Facebook and other social sites through Windows Live? Messenger. Learn how.> > https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow_______________________________________________> > freebsd-questions@freebsd.org mailing list> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"> _________________________________________________________________ Instantly invite friends from Facebook and other social networks to join you on Windows Live? Messenger. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends From z.szalbot at lc-words.com Tue Jun 3 16:49:06 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Tue Jun 3 16:49:11 2008 Subject: how to check if spf record is set In-Reply-To: <20080602224449.GA2157@bacardi> References: <48446064.1040301@lc-words.com> <484461A5.8010402@gmail.com> <20080602224449.GA2157@bacardi> Message-ID: <484575F9.9020002@lc-words.com> Hello, Fraser Tweedale: > On Mon, Jun 02, 2008 at 04:34:47PM -0500, Paul Schmehl wrote: >> --On Tuesday, June 03, 2008 01:09:57 +0400 Yuri Pankov >> wrote: >> >> > Zbigniew Szalbot wrote: >> >> Hello, >> >> >> >> Pardon my lack of knowledge but how can one check if SPF record is >> >> correctly set using standard UNIX tools? >> >> dig? host? >> >> >> >> $ man dig |grep spf >> >> $ man host |grep spf >> >> >> >> yield nothing. Many thanks! >> >> >> > >> > SPF uses TXT record, so a simple `host -t txt yourdomain.com` should do the >> > trick. >> > >> > >> > HTH, >> > Yuri >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > >> >> Or "#dig -t TXT domain.tld" will do the same thing. >> >> -- >> Paul Schmehl >> As if it wasn't already obvious, >> my opinions are my own and not >> those of my employer. >> > > You don't even need the -t flag. `dig TXT host` will do the trick... and let's not forget about the newer, dedicated SPF record type; to query that, use `dig SPF host`. Big thank you to everyone who has responded! At least now I know that the domain's SPF record is not set correctly, contrary to what the admin told me. $ dig TXT slowo.pl ;; ANSWER SECTION: slowo.pl. 16802 IN TXT "Slowo Dnia" I appreciate your help! Thanks! -- Zbigniew Szalbot www.lc-words.com From tomas.dej at gmail.com Tue Jun 3 17:20:55 2008 From: tomas.dej at gmail.com (triggerme2ice) Date: Tue Jun 3 17:20:59 2008 Subject: Help Installing Sun JDK on FreeBSD Message-ID: <17628876.post@talk.nabble.com> Hi all, I was wondering if anyone would know of a brute force way of installing the (newest possible) sun JDK on FreeBSD 5.0 (or any other versions for further info) Help a freeBSD user in need :teeth: -- View this message in context: http://www.nabble.com/Help-Installing-Sun-JDK-on-FreeBSD-tp17628876p17628876.html Sent from the freebsd-questions mailing list archive at Nabble.com. From david.karapetyan at gmail.com Tue Jun 3 17:24:22 2008 From: david.karapetyan at gmail.com (David Karapetyan) Date: Tue Jun 3 17:24:26 2008 Subject: Trouble with freenx server Message-ID: <484577A5.1070005@gmail.com> Hello everyone; I am trying to set up a freenx server on my fbsd box. I have added users 'nx' and 'davidkarapetyan', and edited node.conf so that .xinitrc is identified as my nx session startup script. Here is the error I get when I try to connect from my windows client box: NX> 203 NXSSH running with pid: 1516 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files NX> 285 Setting the preferred NX options NX> 200 Connected to address: 66.254.239.155 on port: 22 NX> 202 Authenticating user: nx NX> 208 Using auth method: publickey HELLO NXSERVER - Version 1.5.0-60 OS (GPL) NX> 105 hello NXCLIENT - Version 1.5.0 NX> 134 Accepted protocol: 1.5.0 NX> 105 SET SHELL_MODE SHELL NX> 105 SET AUTH_MODE PASSWORD NX> 105 login NX> 101 User: davidkarapetyan NX> 102 Password: NX> 103 Welcome to: abode.resnet.nd.edu user: davidkarapetyan NX> 105 listsession --user="davidkarapetyan" --status="suspended,running" --geometry="1024x768x32+render" --type="unix-default" NX> 127 Sessions list of user 'davidkarapetyan' for reconnect: Display Type Session ID Options Depth Screen Status Session Name ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------ NX> 148 Server capacity: not reached for user: davidkarapetyan NX> 105 startsession --rootless="1" --virtualdesktop="0" --link="lan" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --media="0" --session="officetohome" --type="unix-default" --kbload=" --kbload=pc102/en_US" --keymap=" --keymap=en_US" --kbtype="pc102/en_US" --aux="1" --screeninfo="1024x715x32+render" NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL) NX> 700 Session id: abode.resnet.nd.edu-1000-B066639755F3B3F405A9DAE63946F1D1 NX> 705 Session display: 1000 NX> 703 Session type: unix-default NX> 701 Proxy cookie: e07a1335477d108f28225cc31a3f1ef2 NX> 702 Proxy IP: 127.0.0.1 NX> 706 Agent cookie: e07a1335477d108f28225cc31a3f1ef2 NX> 704 Session cache: unix-default NX> 707 SSL tunneling: 1 NX> 1009 Session status: starting NX> 1004 Error: Session did not start. NX> 596 Session start failed. NX> 999 Bye NX> 280 Exiting on signal: 15 Any ideas on how to fix this? -- Best, David Karapetyan http://nd.edu/~dkarapet/ University of Notre Dame Department of Mathematics 255 Hurley Hall Notre Dame, IN 46556-4618 Phone: 574-631-5706 FAX: 574-631-6579 From casey at phantombsd.org Tue Jun 3 17:38:17 2008 From: casey at phantombsd.org (Casey Scott) Date: Tue Jun 3 17:38:27 2008 Subject: 7.0 upgrade compile error In-Reply-To: <48443EFF.9090005@FreeBSD.org> Message-ID: <1767338.31212514691804.JavaMail.root@tomcat.phantombsd.org> Question inline: ----- "Kris Kennaway" wrote: > Casey Scott wrote: > > With the new output below, does anyone have any thought on why the > > build fails? > > You seem to be missing critical parts of your source tree. Double > check > your cvsupfile (or similar). I've resync'd source, same issue. This is the config from the cvsupfile: *default host=cvsup15.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all > >> > >>> Please show us more context. > >> These seems to be all the relevant output: > >> > >> > ****************************************************************************************** > >> cd /usr/src/etc; make buildincludes; make installincludes > >> > >> -------------------------------------------------------------- > >>>>> stage 4.2: building libraries > >> -------------------------------------------------------------- > >> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 > >> MACHINE=i386 CPUTYPE=pentium4 > >> GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > >> GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > >> GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > >> _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh > >> /usr/src/tools/install.sh" > >> > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > >> make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp -DNO_FSCHG > >> -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN > -DWITHOUT_NLS > >> -DWITHOUT_PROFILE libraries > >> cd /usr/src; make -f Makefile.inc1 _prereq_libs; make -f > >> Makefile.inc1 _startup_libs; make -f Makefile.inc1 _prebuild_libs; > > >> make -f Makefile.inc1 _generic_libs; > >> ===> gnu/lib/libgcc (obj,depend,all,install) > >> make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > >> MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > >> GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h > >> TARGET_CPU_DEFAULT="" HEADERS="options.h i386/i386.h i386/unix.h > >> i386/att.h dbxelf.h elfos.h freebsd-native.h freebsd-spec.h > freebsd.h > >> i386/freebsd.h defaults.h" DEFINES="" /bin/sh > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h > >> echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >> tm.h > >> make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > >> MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > >> GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h > >> TARGET_CPU_DEFAULT="" HEADERS="auto-host.h ansidecl.h" > >> DEFINES="USED_FOR_TARGET" /bin/sh > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h > >> make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > >> MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > >> GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h > >> awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt > > > >> optionlist > >> awk -f > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk > >> -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk < > >> optionlist > options.h > >> make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > >> MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > >> GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h > >> ln -sf > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h > >> unwind.h > >> make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > >> MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > >> GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h > >> ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h > >> gthr-default.h > >> cc -c -O2 -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2 > >> -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT > >> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include > >> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config > >> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. > >> -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools > >> -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions > -D__GLIBC__=3 > >> -DElfW=__ElfN -o unwind-dw2.o > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c > >> In file included from > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32: > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: > error: > >> stddef.h: No such file or directory > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: > error: > >> float.h: No such file or directory > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: > error: > >> stdarg.h: No such file or directory > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: > error: > >> stdio.h: No such file or directory > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: > error: > >> errno.h: No such file or directory > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: > error: > >> string.h: No such file or directory > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: > error: > >> stdlib.h: No such file or directory > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: > error: > >> unistd.h: No such file or directory > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: > error: > >> limits.h: No such file or directory > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: > error: > >> time.h: No such file or directory > >> In file included from > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:40: > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In > function > >> 'size_of_encoded_value': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:90: > warning: > >> incompatible implicit declaration of built-in function 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In > function > >> 'base_of_encoded_value': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:122: > warning: > >> incompatible implicit declaration of built-in function 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In > function > >> 'read_encoded_value_with_base': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:259: > warning: > >> incompatible implicit declaration of built-in function 'abort' > >> In file included from > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, > >> from > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: > >> ./gthr-default.h:43:21: error: pthread.h: No such file or > directory > >> In file included from > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, > >> from > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: > >> ./gthr-default.h: At top level: > >> ./gthr-default.h:92: error: 'pthread_once' undeclared here (not in > a > >> function) > >> ./gthr-default.h:93: error: 'pthread_getspecific' undeclared here > (not > >> in a function) > >> ./gthr-default.h:94: error: 'pthread_setspecific' undeclared here > (not > >> in a function) > >> ./gthr-default.h:95: error: 'pthread_create' undeclared here (not > in a > >> function) > >> ./gthr-default.h:96: error: 'pthread_cancel' undeclared here (not > in a > >> function) > >> ./gthr-default.h:97: error: 'pthread_mutex_lock' undeclared here > (not > >> in a function) > >> ./gthr-default.h:98: error: 'pthread_mutex_trylock' undeclared > here > >> (not in a function) > >> ./gthr-default.h:99: error: 'pthread_mutex_unlock' undeclared here > >> (not in a function) > >> ./gthr-default.h:100: error: 'pthread_mutex_init' undeclared here > (not > >> in a function) > >> ./gthr-default.h:103: error: 'pthread_key_create' undeclared here > (not > >> in a function) > >> ./gthr-default.h:104: error: 'pthread_key_delete' undeclared here > (not > >> in a function) > >> ./gthr-default.h:105: error: 'pthread_mutexattr_init' undeclared > here > >> (not in a function) > >> ./gthr-default.h:106: error: 'pthread_mutexattr_settype' > undeclared > >> here (not in a function) > >> ./gthr-default.h:107: error: 'pthread_mutexattr_destroy' > undeclared > >> here (not in a function) > >> ./gthr-default.h: In function '__gthread_active_p': > >> ./gthr-default.h:173: error: 'PTHREAD_MUTEX_INITIALIZER' > undeclared > >> (first use in this function) > >> ./gthr-default.h:173: error: (Each undeclared identifier is > reported > >> only once > >> ./gthr-default.h:173: error: for each function it appears in.) > >> ./gthr-default.h:174: error: 'PTHREAD_ONCE_INIT' undeclared (first > use > >> in this function) > >> ./gthr-default.h:188: error: called object > >> '__gthrw_pthread_mutex_lock' is not a function > >> ./gthr-default.h:189: error: called object '__gthrw_pthread_once' > is > >> not a function > >> ./gthr-default.h:190: error: called object > >> '__gthrw_pthread_mutex_unlock' is not a function > >> ./gthr-default.h: In function '__gthread_once': > >> ./gthr-default.h:578: error: called object '__gthrw_pthread_once' > is > >> not a function > >> ./gthr-default.h: In function '__gthread_key_create': > >> ./gthr-default.h:586: error: called object > >> '__gthrw_pthread_key_create' is not a function > >> ./gthr-default.h: In function '__gthread_key_delete': > >> ./gthr-default.h:592: error: called object > >> '__gthrw_pthread_key_delete' is not a function > >> ./gthr-default.h: In function '__gthread_getspecific': > >> ./gthr-default.h:598: error: called object > >> '__gthrw_pthread_getspecific' is not a function > >> ./gthr-default.h: In function '__gthread_setspecific': > >> ./gthr-default.h:604: error: called object > >> '__gthrw_pthread_setspecific' is not a function > >> ./gthr-default.h: In function '__gthread_mutex_lock': > >> ./gthr-default.h:611: error: called object > >> '__gthrw_pthread_mutex_lock' is not a function > >> ./gthr-default.h: In function '__gthread_mutex_trylock': > >> ./gthr-default.h:620: error: called object > >> '__gthrw_pthread_mutex_trylock' is not a function > >> ./gthr-default.h: In function '__gthread_mutex_unlock': > >> ./gthr-default.h:629: error: called object > >> '__gthrw_pthread_mutex_unlock' is not a function > >> ./gthr-default.h: In function > >> '__gthread_recursive_mutex_init_function': > >> ./gthr-default.h:643: error: called object > >> '__gthrw_pthread_mutexattr_init' is not a function > >> ./gthr-default.h:645: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared > >> (first use in this function) > >> ./gthr-default.h:645: error: called object > >> '__gthrw_pthread_mutexattr_settype' is not a function > >> ./gthr-default.h:647: error: called object > >> '__gthrw_pthread_mutex_init' is not a function > >> ./gthr-default.h:649: error: called object > >> '__gthrw_pthread_mutexattr_destroy' is not a function > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> '_Unwind_GetGR': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:168: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> '_Unwind_SetGR': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> '_Unwind_SetGRValue': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:257: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> 'extract_cie_info': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:350: > >> warning: incompatible implicit declaration of built-in function > >> 'strlen' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> 'execute_stack_op': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:611: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:829: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:836: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> 'execute_cfa_program': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1082: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> 'uw_frame_state_for': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1099: > >> warning: incompatible implicit declaration of built-in function > >> 'memset' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> '__frame_state_for': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1184: > >> warning: incompatible implicit declaration of built-in function > >> 'memset' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> '_Unwind_SetSpColumn': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1234: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> 'uw_update_context_1': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1290: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> 'uw_init_context_1': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1408: > >> warning: incompatible implicit declaration of built-in function > >> 'memset' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1413: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1417: > error: > >> 'PTHREAD_ONCE_INIT' undeclared (first use in this function) > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function > >> 'uw_install_context_1': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1472: > >> warning: incompatible implicit declaration of built-in function > >> 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1480: > >> warning: incompatible implicit declaration of built-in function > >> 'memcpy' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1486: > >> warning: incompatible implicit declaration of built-in function > >> 'memcpy' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1490: > >> warning: incompatible implicit declaration of built-in function > >> 'memcpy' > >> In file included from > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1518: > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In > function > >> '_Unwind_RaiseException_Phase2': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:75: > warning: > >> incompatible implicit declaration of built-in function 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In > function > >> '_Unwind_Resume': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:238: > warning: > >> incompatible implicit declaration of built-in function 'abort' > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In > function > >> '_Unwind_Resume_or_Rethrow': > >> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:263: > warning: > >> incompatible implicit declaration of built-in function 'abort' > >> *** Error code 1 > >> > >> Stop in /usr/src/gnu/lib/libgcc. > >> *** 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. > >> > ****************************************************************************************** > >> > >> > >> Casey > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "freebsd-questions-unsubscribe@freebsd.org" > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Tue Jun 3 18:28:03 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 3 18:28:10 2008 Subject: IPv6 jails for FreeBSD (6.* preferably) Message-ID: <20080603202740.W10542@wojtek.tensor.gdynia.pl> does patch exist for it? From chuckr at telenix.org Tue Jun 3 18:40:57 2008 From: chuckr at telenix.org (Chuck Robey) Date: Tue Jun 3 18:41:01 2008 Subject: git Message-ID: <48458DFC.9020004@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wonder if anyone could tell me why anything I do to run git-pull gives me a coredump? The image that gets dumped is git-fetch, if that helps, and I was just trying to update the xorg source tree. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRY37z62J6PPcoOkRAnXeAJ93lrCpYso1hj+KOEZqAT02tI3W9QCbBLbJ vBsWFdvjm/6uAXpp8etLZWY= =b4R6 -----END PGP SIGNATURE----- From chuckr at telenix.org Tue Jun 3 19:02:33 2008 From: chuckr at telenix.org (Chuck Robey) Date: Tue Jun 3 19:02:37 2008 Subject: Duplex printer advice In-Reply-To: <1212446461.42010.14.camel@tao.thought.org> References: <1212446461.42010.14.camel@tao.thought.org> Message-ID: <4845930C.7040700@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gary Kline wrote: > Agree 100.0%, Ted. Long run, the inkjet will bleed you like a leech. > My 1991 [?] DeskJet 500 was > $400, major bux. But having bought at > least > two cadtrides/year until last winter. Lowball it: $20 per cartridge. > > Well over a kilobuck. > > I *know* what it's like to be squeezed for cash, Chuck. It may take you > weeks > of surfing for the best deal, but go laser if you can. > > At the same time, HP's patents are about to expire in the next few > years. Anybody > know when, to-the-year? Well, having had both, the only problem I've seen in some of the Inkjets is that (and HP is bad at this) the ink tends to dry up and jam both the ink cart. and (in HP's case) the printheads also. Least so far, I haven't see this at all with Epson. I *have* seen that there's a thriving market in those 3rd party inks, which are dirt-cheap, but I haven't any experience in inkjets with 3rd party inks, only the lasers, where they do ok. I have been looking at the Epson RX680, where it's less than $200 for all the features (except the postscript emulation) of the Brother $700 printer (I forget the model I liked, just remembered the list price from the Brother web page). That's a 350% difference there, Gary. I'm still making up my mind, but I just don't print all that often to need a $700 unit, and I did notice that there is just about no 3rd party market at all for the Brother units (just a huge ink market) and they are conspicuously missing from ebay also. Means I'm likely to actually PAY the full 700, not even slightly true of the Epson model. Yeah, quality is a very nice thing to have ... if I had a user report on the 3rd party inks from someone I trusted (and it wasn't too evil) I would probagbly jump to the Epson, it's just too darn expensive to go quality when you print once a week. I do need the fax & scanner features, no matter how seldom I use them, though. Big help for someone who's disabled. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRZMLz62J6PPcoOkRAtMoAKCJVRhRjXMi5ubZ68vC3MnGKn764QCfeGjm fJCsYSyRUcy0rnNPoxI/6bA= =C1yI -----END PGP SIGNATURE----- From schiz0phrenic21 at gmail.com Tue Jun 3 19:31:27 2008 From: schiz0phrenic21 at gmail.com (Schiz0) Date: Tue Jun 3 19:31:32 2008 Subject: Setting up a VPN Message-ID: <8d23ec860806031204l34bee56k80ced31851516526@mail.gmail.com> Hey, I'm looking for information on how to setup a Virtual Private Network on a FreeBSD 7.0-RELEASE system. The only VPNs that I've worked with previously is Hamachi on windows and linux, so I have no experience in OpenVPN or IPSec. The purpose of this VPN is to restrict certain things to only administrators. For example, phpmyadmin and vsFTPd. I'd prefer not to have these things listen on the public interface. I read the Handbook entry on IPSec/VPNs: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html However, that entry only has examples for how to connect one network to another network via FreeBSD gateways. I don't want a setup like this; I just want the freebsd system, my windows XP system, and a few other windows XP systems to be on a VPN together. Can anyone link me to how-tos or any references on how to do this? Also, any suggestions on which software to use (OpenVPN, IPSec, etc) would be appreciated. Thanks. From wojtek at wojtek.tensor.gdynia.pl Tue Jun 3 19:34:34 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 3 19:34:42 2008 Subject: Setting up a VPN In-Reply-To: <8d23ec860806031204l34bee56k80ced31851516526@mail.gmail.com> References: <8d23ec860806031204l34bee56k80ced31851516526@mail.gmail.com> Message-ID: <20080603213342.G10864@wojtek.tensor.gdynia.pl> > Hey, > > I'm looking for information on how to setup a Virtual Private Network > on a FreeBSD 7.0-RELEASE system. The only VPNs that I've worked with if you need unix-unix VPN use /usr/ports/net/vtun if unix-windoze - then use /usr/ports/net/mpd that's all :) From wmoran at potentialtech.com Tue Jun 3 19:41:52 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Jun 3 19:41:57 2008 Subject: Setting up a VPN In-Reply-To: <8d23ec860806031204l34bee56k80ced31851516526@mail.gmail.com> References: <8d23ec860806031204l34bee56k80ced31851516526@mail.gmail.com> Message-ID: <20080603154106.55a2b233.wmoran@potentialtech.com> In response to Schiz0 : > Hey, > > I'm looking for information on how to setup a Virtual Private Network > on a FreeBSD 7.0-RELEASE system. The only VPNs that I've worked with > previously is Hamachi on windows and linux, so I have no experience in > OpenVPN or IPSec. > > The purpose of this VPN is to restrict certain things to only > administrators. For example, phpmyadmin and vsFTPd. I'd prefer not to > have these things listen on the public interface. > > I read the Handbook entry on IPSec/VPNs: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html > > However, that entry only has examples for how to connect one network > to another network via FreeBSD gateways. I don't want a setup like > this; I just want the freebsd system, my windows XP system, and a few > other windows XP systems to be on a VPN together. > > Can anyone link me to how-tos or any references on how to do this? > Also, any suggestions on which software to use (OpenVPN, IPSec, etc) > would be appreciated. Not sure I agree with the mpd recommendation. In my experience, that particular piece of Windows VPN technology is better relegated to history, much in the same way as the Holocaust and other disasters. If you're having trouble understanding IPsec, don't worry. IPsec is confusing. The biggest problem with IPsec is that it's more complicated than it needs to be. Based on your description of your requirement, I suggest pursuing an OpenVPN solution. I've done this with FreeBSD/Windows. There's a neat tool to generate .msi files for Windows machines to allow users idiot- proof installation, which I've had good success with, and the simple VPN you describe is pretty easy to set up from this HOWTO: http://openvpn.net/index.php/documentation/howto.html#pki -- Bill Moran http://www.potentialtech.com From camiloreyes82 at yahoo.com Tue Jun 3 19:47:38 2008 From: camiloreyes82 at yahoo.com (Camilo Reyes) Date: Tue Jun 3 19:47:44 2008 Subject: logo Message-ID: <766262.29236.qm@web63914.mail.re1.yahoo.com> It was started by a question posted about wanting help for a certain project. See below. ?Camilo "Bono Vince Malum" > Message: 4 > Date: Mon, 2 Jun 2008 19:44:35 -0300 > From: Gonzalo Nemmi > Subject: Re: logo > To: freebsd-questions@freebsd.org > Message-ID: <200806021944.35302.gnemmi@gmail.com> > Content-Type: text/plain;? charset="iso-8859-1" > > On Monday 02 June 2008 18:48:56 Frank Shute wrote: > > On Mon, Jun 02, 2008 at 06:57:00PM +0000, Pollywog wrote: > > > On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: > > > > I agree completely, it's what got me over to BSD ! > > > > > > I am a little confused.? I just see a sphere with "horns" on it that > > > reminds me of the BSD daemon's head, only made to look less > > > "demonic".? Is it supposed to be something else? > > > > It's the FreeBSD equivalent of the Rorschach inkblot test. Some people > > see a daemon's head and other's see a sex toy. > > > > > If it is one of those "toys" is that what FreeBSD folks really want > > > to project as an image? > > > > The image is only in the beholder's eye. It would likely have sent > > Mary Whitehouse* apoplectic if she'd seen it ;) > > > > * http://en.wikipedia.org/wiki/Mary_Whitehouse > > > > Regards, > > May I ask where was it that this thread started? > I'd pretty much like to get the whole picture of what is being discussed .. > I did dig the list archives but couldn't find the first mail of this thread .. > So .. any pointers will be greatly appreciated > > Thanks =) > -- > Blessings > Gonzalo Nemmi > > > > Message: 30 > Date: Tue, 3 Jun 2008 01:03:40 -0700 > From: "Ted Mittelstaedt" > Subject: RE: Looking for gurus willing to help write Freebsd tutorials > To: "Pollywog" , > ??? > Message-ID: > Content-Type: text/plain;??? charset="iso-8859-1" > > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Pollywog > > Sent: Monday, June 02, 2008 11:57 AM > > To: freebsd-questions@freebsd.org > > Subject: Re: Looking for gurus willing to help write Freebsd tutorials > > > > > > On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: > > > > > I agree completely, it's what got me over to BSD ! > > > > > > > I am a little confused.? I just see a sphere with "horns" on it > > that reminds > > me of the BSD daemon's head, only made to look less "demonic".? Is it > > supposed to be something else? > > > > No, that is what it's supposed to be. > > The sex toy issue is that you saw the sphere with horns AFTER you > saw Beastie.? So you had a frame of reference, and naturally assume > it's Beastie's head. > > The problem is, think about people who have NEVER seen Beastie before > seeing the sex toy logo for the first time.? Since they have no > frame of reference they can easily assume that it means anything > at all.? Such as the business end of a French tickler, which it > kind of resembles. > > When those of us in the know call it a sex toy, we are making > a little inside joke, as we are basically saying the logo design > is terrible because it does not indicate to anyone looking at > it what it is supposed to represent. > > The Linux penguin is no different - someone seeing a Penguin > isn't going to know it has to do with an operating system, either. > > Many corporate logos also suffer from the same problem. > > The difference between the corporate logos and Linux and us, is > that those organizations have the marketing muscle to take their > rediculous logo designs and pound them into the public conciousness > through endless advertising. > > See a blue oval?? Most people think "Ford"? Not because a blue > oval has anything to do with cars.? It's because Ford has dumped > trillions of dollars in advertising over the years pounding that > association into the public mind. > > The designer of the FreeBSD logo approached it from the usual corporate > arrogance of we can create anything we want, then just pay money > for the association.? The only problem is that the FreeBSD project > has no money to spend to create this association.? As a result the > logo completely fails in it's job. > > Arguably, there is also no public association between Beastie and > the FreeBSD operating system either, so in the long run we aren't > any worse off than we were.? (aside from the arrogant setting aside > of 20 some years of BSD Unix history) > > Ted > > > ------------------------------ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > End of freebsd-questions Digest, Vol 218, Issue 5 > ************************************************* From njt at ayvali.org Tue Jun 3 19:51:43 2008 From: njt at ayvali.org (N.J. Thomas) Date: Tue Jun 3 19:51:48 2008 Subject: git In-Reply-To: <48458DFC.9020004@telenix.org> References: <48458DFC.9020004@telenix.org> Message-ID: <20080603195140.GC12250@ayvali.org> * Chuck Robey [2008-06-03 14:31:24-0400]: > Wonder if anyone could tell me why anything I do to run git-pull gives > me a coredump? The image that gets dumped is git-fetch, if that > helps, and I was just trying to update the xorg source tree. Have you tried to clone other repositories and see if you can replicate this error? I built my git from ports and IIRC, it seemed to clone and pull the xorg tree fine (but that was about 3 weeks ago). Thomas -- N.J. Thomas njt@ayvali.org Etiamsi occiderit me, in ipso sperabo From wojtek at wojtek.tensor.gdynia.pl Tue Jun 3 20:15:38 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 3 20:15:41 2008 Subject: Setting up a VPN In-Reply-To: <20080603154106.55a2b233.wmoran@potentialtech.com> References: <8d23ec860806031204l34bee56k80ced31851516526@mail.gmail.com> <20080603154106.55a2b233.wmoran@potentialtech.com> Message-ID: <20080603221333.Y11091@wojtek.tensor.gdynia.pl> > particular piece of Windows VPN technology is better relegated to > history, much in the same way as the Holocaust and other disasters. as the whole windoze. but people use it - their problem. so if they use - let they have win-VPNs, and mpd gives it and works fine. i don't know how secure is windows-vpn. possibly not much, but who cares? anyone who cares about security should just don't use windows at all. those who like to "feel secure" - feels secure. that's all. From cwhiteh at onetel.com Tue Jun 3 20:44:46 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Tue Jun 3 20:44:50 2008 Subject: logo In-Reply-To: <766262.29236.qm@web63914.mail.re1.yahoo.com> References: <766262.29236.qm@web63914.mail.re1.yahoo.com> Message-ID: <4845AD3A.1080906@onetel.com> Well I think it's a space hopper http://images.google.co.uk/images?q=space%20hopper&ie=UTF-8&oe=utf-8&rls=org.mozilla:en-US:official&client=firefox-a&um=1&sa=N&tab=wi (and Mary is not my aunt) Chris Beastie fan Camilo Reyes wrote: > It was started by a question posted about wanting help for a certain project. See below. > Camilo > "Bono Vince Malum" >> Message: 4 >> Date: Mon, 2 Jun 2008 19:44:35 -0300 >> From: Gonzalo Nemmi >> Subject: Re: logo >> To: freebsd-questions@freebsd.org >> Message-ID: <200806021944.35302.gnemmi@gmail.com> >> Content-Type: text/plain; charset="iso-8859-1" >> >> On Monday 02 June 2008 18:48:56 Frank Shute wrote: >>> On Mon, Jun 02, 2008 at 06:57:00PM +0000, Pollywog wrote: >>>> On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: >>>>> I agree completely, it's what got me over to BSD ! >>>> I am a little confused. I just see a sphere with "horns" on it that >>>> reminds me of the BSD daemon's head, only made to look less >>>> "demonic". Is it supposed to be something else? >>> It's the FreeBSD equivalent of the Rorschach inkblot test. Some people >>> see a daemon's head and other's see a sex toy. >>> >>>> If it is one of those "toys" is that what FreeBSD folks really want >>>> to project as an image? >>> The image is only in the beholder's eye. It would likely have sent >>> Mary Whitehouse* apoplectic if she'd seen it ;) >>> >>> * http://en.wikipedia.org/wiki/Mary_Whitehouse >>> >>> Regards, >> May I ask where was it that this thread started? >> I'd pretty much like to get the whole picture of what is being discussed .. >> I did dig the list archives but couldn't find the first mail of this thread .. >> So .. any pointers will be greatly appreciated >> >> Thanks =) >> -- >> Blessings >> Gonzalo Nemmi >> >> >> >> Message: 30 >> Date: Tue, 3 Jun 2008 01:03:40 -0700 >> From: "Ted Mittelstaedt" >> Subject: RE: Looking for gurus willing to help write Freebsd tutorials >> To: "Pollywog" , >> >> Message-ID: >> Content-Type: text/plain; charset="iso-8859-1" >> >> >> >>> -----Original Message----- >>> From: owner-freebsd-questions@freebsd.org >>> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Pollywog >>> Sent: Monday, June 02, 2008 11:57 AM >>> To: freebsd-questions@freebsd.org >>> Subject: Re: Looking for gurus willing to help write Freebsd tutorials >>> >>> >>> On Monday 02 June 2008 15:58:55 bridd@bridd.com wrote: >>> >>>> I agree completely, it's what got me over to BSD ! >>>> >>> I am a little confused. I just see a sphere with "horns" on it >>> that reminds >>> me of the BSD daemon's head, only made to look less "demonic". Is it >>> supposed to be something else? >>> >> No, that is what it's supposed to be. >> >> The sex toy issue is that you saw the sphere with horns AFTER you >> saw Beastie. So you had a frame of reference, and naturally assume >> it's Beastie's head. >> >> The problem is, think about people who have NEVER seen Beastie before >> seeing the sex toy logo for the first time. Since they have no >> frame of reference they can easily assume that it means anything >> at all. Such as the business end of a French tickler, which it >> kind of resembles. >> >> When those of us in the know call it a sex toy, we are making >> a little inside joke, as we are basically saying the logo design >> is terrible because it does not indicate to anyone looking at >> it what it is supposed to represent. >> >> The Linux penguin is no different - someone seeing a Penguin >> isn't going to know it has to do with an operating system, either. >> >> Many corporate logos also suffer from the same problem. >> >> The difference between the corporate logos and Linux and us, is >> that those organizations have the marketing muscle to take their >> rediculous logo designs and pound them into the public conciousness >> through endless advertising. >> >> See a blue oval? Most people think "Ford" Not because a blue >> oval has anything to do with cars. It's because Ford has dumped >> trillions of dollars in advertising over the years pounding that >> association into the public mind. >> >> The designer of the FreeBSD logo approached it from the usual corporate >> arrogance of we can create anything we want, then just pay money >> for the association. The only problem is that the FreeBSD project >> has no money to spend to create this association. As a result the >> logo completely fails in it's job. >> >> Arguably, there is also no public association between Beastie and >> the FreeBSD operating system either, so in the long run we aren't >> any worse off than we were. (aside from the arrogant setting aside >> of 20 some years of BSD Unix history) >> >> Ted >> >> >> ------------------------------ >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> End of freebsd-questions Digest, Vol 218, Issue 5 >> ************************************************* > > > > > _______________________________________________ > freebsd-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 dougs at dawnsign.com Tue Jun 3 20:52:56 2008 From: dougs at dawnsign.com (Doug Sampson) Date: Tue Jun 3 20:53:00 2008 Subject: growfs Message-ID: <3838017D92B3C445BA200CE3B6A821A40A7215@cetus.dawnsign.com> I want to ensure that I am correctly applying the concept of the growfs command. I want to remove /dev/ad2s1h and expand /dev/ad2s1g to occupy all of the space left behind by the deletion of /dev/ad2s1h. root@aries:/root# bsdlabel -e /dev/ad2s1 # /dev/ad2s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 524288 0 4.2BSD 2048 16384 32776 b: 4138384 524288 swap c: 586099332 0 unused 0 0 # "raw" part, don't edit d: 524288 4662672 4.2BSD 0 0 0 e: 524288 5186960 4.2BSD 0 0 0 f: 10485760 5711248 4.2BSD 0 0 0 g: 167772160 16197008 4.2BSD 0 0 0 h: 402130164 183969168 4.2BSD 0 0 0 root@aries:/root# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad2s1a 253678 60858 172526 26% / devfs 1 1 0 100% /dev /dev/ad2s1e 253678 410 232974 0% /tmp /dev/ad2s1f 5077038 4129758 541118 88% /usr /dev/ad2s1d 253678 130346 103038 56% /var /dev/ad2s1g 81245672 67645604 7100416 91% /data /dev/ad2s1h 194736504 99902864 79254720 56% /backup According to http://www.freebsd.org/cgi/man.cgi?query=growfs&sektion=8, it looks like that if I wish to expand /dev/ad2s1g to fill out the slice, the only thing I need to do are the following: -remove /dev/ad2s1h -growfs -s 569902324 /dev/ad2s1g -edit /etc/fstab to remove all references to /dev/ad2s1h Is this correct? Am I missing any other commands? Since the only tool I am familiar with and use for disk partitioning is sysinstall, how do I remove /dev/ad2s1h without resorting to sysinstall? Fdisk? I want to be extremely sure that I am taking the correct steps to perform this operation. Yes, I have backups but this machine is in production and I want to eliminate every possibility of downtime due to issues arising from the improper understanding and use of the 'growfs' command. Thanks. ~Doug From chuckr at telenix.org Tue Jun 3 20:56:27 2008 From: chuckr at telenix.org (Chuck Robey) Date: Tue Jun 3 20:56:30 2008 Subject: git In-Reply-To: <20080603195140.GC12250@ayvali.org> References: <48458DFC.9020004@telenix.org> <20080603195140.GC12250@ayvali.org> Message-ID: <4845ADBF.209@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 N.J. Thomas wrote: > * Chuck Robey [2008-06-03 14:31:24-0400]: >> Wonder if anyone could tell me why anything I do to run git-pull gives >> me a coredump? The image that gets dumped is git-fetch, if that >> helps, and I was just trying to update the xorg source tree. > > Have you tried to clone other repositories and see if you can replicate > this error? > > I built my git from ports and IIRC, it seemed to clone and pull the xorg > tree fine (but that was about 3 weeks ago). > > Thomas > No, that's the only git repo I have now. Got a url of one that works for you? I have extra disk to give it a try. Beyond that, I just tried purposefully sticking a division by zero in a little demo C prog of mine, and that one, when I do the gdb -c corefile gives me the same thing, thousands of empty stack frames and no full ones. Why should that be? I have used gdb very recently to debug static images, they work ok (although I didn't try the corefiles on those). -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRa2/z62J6PPcoOkRAscOAJ9kkx1COQ+4UR/AU1xECliyGlE68QCfRWiB tPZC6YOG1cZ4xgkpD3+FjK0= =4hBV -----END PGP SIGNATURE----- From danger at FreeBSD.org Tue Jun 3 21:00:19 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Tue Jun 3 21:00:22 2008 Subject: IPv6 jails for FreeBSD (6.* preferably) In-Reply-To: <20080603202740.W10542@wojtek.tensor.gdynia.pl> References: <20080603202740.W10542@wojtek.tensor.gdynia.pl> Message-ID: <872888403.20080603143905@rulez.sk> Hello Wojciech, Tuesday, June 3, 2008, 8:27:56 PM, you wrote: > does patch exist for it? http://sources.zabbadoz.net/freebsd/jail.html -- Best regards, Daniel mailto:danger@FreeBSD.org From njt at ayvali.org Tue Jun 3 21:02:34 2008 From: njt at ayvali.org (N.J. Thomas) Date: Tue Jun 3 21:02:40 2008 Subject: git In-Reply-To: <4845ADBF.209@telenix.org> References: <48458DFC.9020004@telenix.org> <20080603195140.GC12250@ayvali.org> <4845ADBF.209@telenix.org> Message-ID: <20080603210233.GF12250@ayvali.org> * Chuck Robey [2008-06-03 16:46:55-0400]: > > > git-pull gives me a coredump > > > > Have you tried to clone other repositories and see if you can > > replicate this error? > > No, that's the only git repo I have now. Got a url of one that works > for you? I have extra disk to give it a try. Debian has nice list of git repositories available for cloning: http://git.debian.org/ Thomas -- N.J. Thomas njt@ayvali.org Etiamsi occiderit me, in ipso sperabo From oskar-FreeBSD at eyb.de Tue Jun 3 21:27:09 2008 From: oskar-FreeBSD at eyb.de (Oskar Eyb) Date: Tue Jun 3 21:27:13 2008 Subject: 7.0-R freezes with: swap_pager: indefinite wait buffer: bufobj In-Reply-To: <484442F1.8040104@FreeBSD.org> References: <48441E85.1050803@eyb.de> <484442F1.8040104@FreeBSD.org> Message-ID: <4845B280.6030708@eyb.de> Hi, the SMART-status looks ok! SMART overall-health self-assessment test result: PASSED Maybe other applications causes high I/O load? Howto determine this? Other suggestions? Cheers, Oskar Kris Kennaway schrieb am 02.06.2008 20:58: > Oskar Eyb wrote: >> Hello, >> >> on a 7.0-RELEASE maschine I have now again a big problem with freezing. >> >> >> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388449, size: 4096 >> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388452, size: 20480 >> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 387805, size: 16384 >> >> >> # swapctl -l >> Device: 1024-blocks Used: >> /dev/mirror/gm0s1b 1048576 485332 >> /dev/md0 1048576 485316 >> >> >> What to do against this, is there a patch available? > > Your disk is taking an enormously long time to reply to swap I/O, which > is what is eventually timing out with those errors. Check that it is > not failing. > > Kris > _______________________________________________ > freebsd-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 chuckr at telenix.org Tue Jun 3 21:49:54 2008 From: chuckr at telenix.org (Chuck Robey) Date: Tue Jun 3 21:49:58 2008 Subject: git In-Reply-To: <20080603210233.GF12250@ayvali.org> References: <48458DFC.9020004@telenix.org> <20080603195140.GC12250@ayvali.org> <4845ADBF.209@telenix.org> <20080603210233.GF12250@ayvali.org> Message-ID: <4845BA46.70205@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 N.J. Thomas wrote: > * Chuck Robey [2008-06-03 16:46:55-0400]: >>>> git-pull gives me a coredump >>> Have you tried to clone other repositories and see if you can >>> replicate this error? >> No, that's the only git repo I have now. Got a url of one that works >> for you? I have extra disk to give it a try. > > Debian has nice list of git repositories available for cloning: > > http://git.debian.org I'm very new at git, and while I know cvs pretty well, I just don't know git. I just tried to do a "git clone" on a Clisp image, worked fine, then I cd'ed into it until I saw a .git directory (I assume that's something like cvs's CVS dirs) but when I tried to do a "git pull" (no params here) it gave me a coredump. Did I do that right? I mean, it was a correct test? Does the git-clone call git-fetch? Because that's the part that's failing in the pull, so I wonder if it's getting called in the clone. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRbpGz62J6PPcoOkRAmrgAKCWomx2cbl04sL6pLIoVItr7YUEOwCgnLNS eRxvuroEpnM3rZBr0cgMfWg= =qsIX -----END PGP SIGNATURE----- From chris at vindaloo.com Tue Jun 3 22:05:44 2008 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Tue Jun 3 22:05:47 2008 Subject: md, mount_mfs and swap Message-ID: <92E18C61-A552-4B36-AF81-6790E7A340D3@vindaloo.com> I've recently started playing with NetBSD and notice that by default it mounts /tmp as an MFS backed by swap. A quick read of the md, mount_mfs man page would lead me to believe that md /tmp rw,async,-s1024m 0 0 will move my /tmp dir to a swap backed 1G space. This would make me feel much more comfortable about my continuing adherence to the practice of giving my machine twice as much swap space as they have memory. Are there any downsides to this? -- Chris Chris Hilton e: chris|at|vindaloo| dot|com ---------------------------------------------------------------------------- "The pattern juggler lifts his hand; The orchestra begin. As slowly turns the grinding wheel in the court of the crimson king." -- Ian McDonald / Peter Sinfield From wblock at wonkity.com Tue Jun 3 22:53:11 2008 From: wblock at wonkity.com (Warren Block) Date: Tue Jun 3 22:53:15 2008 Subject: Duplex printer advice In-Reply-To: <20080603100421.B5921@wojtek.tensor.gdynia.pl> References: <20080602232417.J36835@wojtek.tensor.gdynia.pl> <20080603100421.B5921@wojtek.tensor.gdynia.pl> Message-ID: On Tue, 3 Jun 2008, Wojciech Puchar wrote: >> This depends a lot on your print jobs. Low quality machine-generated >> PostScript output can be slow. PCL can also be slow. The only way to >> really know is to benchmark with your print jobs. > > there was no case i found postscript to print faster. But then you've said you're using a LaserJet 4, which came out in 1992 and has a slow PS interpreter. Some of my print jobs ran much faster in PS, because it only sent a few K of PS rather than a megabyte of bitmap in PCL. >> There's also the potential overhead of the print processing systems. Just >> sending PS in the first place may be quicker than apsfilter or CUPS. > > i use lpd+my script for filtering postscript to PCL > >> Recent printers have fast RISC CPUs and fast PS interpreters. I/O speed >> comes into it, too. FreeBSD seems particularly slow over parallel and USB > > both not true, but just use lptcontrol for parallel port! Did that, didn't help (at the time). Not an issue with Ethernet. -Warren Block * Rapid City, South Dakota USA From wojtek at wojtek.tensor.gdynia.pl Tue Jun 3 23:06:02 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jun 3 23:06:05 2008 Subject: 7.0-R freezes with: swap_pager: indefinite wait buffer: bufobj In-Reply-To: <4845B280.6030708@eyb.de> References: <48441E85.1050803@eyb.de> <484442F1.8040104@FreeBSD.org> <4845B280.6030708@eyb.de> Message-ID: <20080604010508.H11818@wojtek.tensor.gdynia.pl> > Hi, > > the SMART-status looks ok! > > SMART overall-health self-assessment test result: PASSED > > Maybe other applications causes high I/O load? no reason to fail. > Howto determine this? Other suggestions? > > > Cheers, > Oskar > > > Kris Kennaway schrieb am 02.06.2008 20:58: >> Oskar Eyb wrote: >>> Hello, >>> >>> on a 7.0-RELEASE maschine I have now again a big problem with freezing. >>> >>> >>> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388449, size: 4096 >>> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388452, size: 20480 >>> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 387805, size: 16384 >>> >>> >>> # swapctl -l >>> Device: 1024-blocks Used: >>> /dev/mirror/gm0s1b 1048576 485332 >>> /dev/md0 1048576 485316 >>> >>> >>> What to do against this, is there a patch available? >> >> Your disk is taking an enormously long time to reply to swap I/O, which is >> what is eventually timing out with those errors. Check that it is not >> failing. >> >> Kris >> _______________________________________________ >> freebsd-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 crapsh at monkeybrains.net Tue Jun 3 23:24:54 2008 From: crapsh at monkeybrains.net (Rudy) Date: Tue Jun 3 23:24:57 2008 Subject: Fatal trap 12 --- can lack of APIC on SMP cause crashes? Message-ID: <4845D31B.6080302@monkeybrains.net> My kernel panics! I reinstlled i386 and scrapped my amd64 install, however, I forgot the "APIC" line... would that cause crashes under load or high network activity? device apic # I/O apic - Rudy # uname FreeBSD example.monkeybrains.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon May 12 15:17:23 PDT 2008 root@:/usr/obj/usr/src/sys/EXAMPLE i386 # crash message: Fatal trap 12: page fault while in kernel mode instruction pointer = 0x20:0xc05330da Following this advice: http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING Nothing close to 0xc05330da... here is the closest: # nm -n /boot/kernel/kernel | grep c053 c0532c5a t turnstile_first_waiter c0532c80 T turnstile_head c0532c8f T turnstile_empty c0532ca5 t turnstile_fini c0532cb8 t turnstile_init c0532d2a T init_turnstiles c0532dc6 t turnstile_adjust_thread c0532f48 t propagate_priority c0533101 T turnstile_adjust c0533144 T turnstile_free c0533168 T turnstile_alloc c053318d t init_turnstile0 ------------------------------------------------------------------------- kernel config file: ###cpu HAMMER # wasn't working on amd64... cpu I686_CPU ident EXAMPLE # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD 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 NFS_ROOT # NFS usable as /, requires NFSCLIENT #options NTFS # NT File System #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 [KEEP THIS!] #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 SCSI_DELAY=5000 # Delay (in ms) before probing SCSI #options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI #options AUDIT # Security event auditing # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel # CPU frequency control device cpufreq # Bus support. device acpi device eisa device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives options ATA_STATIC_ID # Static device numbering # 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 # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports device uart # Generic UART driver # PCI Ethernet NICs. device em # Intel PRO/1000 adapter Gigabit Ethernet Card device miibus # MII bus support device bge # Broadcom BCM570xx Gigabit Ethernet device vlan device carp # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" # 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 options DUMMYNET options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD From fbsd06 at mlists.homeunix.com Wed Jun 4 00:24:25 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed Jun 4 00:24:28 2008 Subject: md, mount_mfs and swap In-Reply-To: <92E18C61-A552-4B36-AF81-6790E7A340D3@vindaloo.com> References: <92E18C61-A552-4B36-AF81-6790E7A340D3@vindaloo.com> Message-ID: <20080604010731.3de6d359@gumby.homeunix.com.> On Tue, 3 Jun 2008 17:43:27 -0400 Christopher Sean Hilton wrote: > I've recently started playing with NetBSD and notice that by default > it mounts /tmp as an MFS backed by swap. A quick read of the md, > mount_mfs man page would lead me to believe that > > md /tmp rw,async,-s1024m 0 0 > > will move my /tmp dir to a swap backed 1G space. This would make me > feel much more comfortable about my continuing adherence to the > practice of giving my machine twice as much swap space as they have > memory. > > Are there any downsides to this? > Not in my experience. You can do it simply by adding the following to rc.conf tmpmfs="YES" tmpsize="1024m" From chris at vindaloo.com Wed Jun 4 00:39:27 2008 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Wed Jun 4 00:39:30 2008 Subject: Duplex printer advice In-Reply-To: <20080602232417.J36835@wojtek.tensor.gdynia.pl> References: <20080602232417.J36835@wojtek.tensor.gdynia.pl> Message-ID: <007DDE62-1CAA-4B22-A9FF-5EE90C5DBAC8@vindaloo.com> On Jun 2, 2008, at 5:31 PM, Wojciech Puchar wrote: >> Color laser is what you want. There are some really >> good inexpensive units out there. I recall reading the >> inexpensieve Samsung color laser even speaks Postscript. > > while i don't use color printers, usually this postscript is > disadventage. if there is a choice like in HP laserjets - switching > to PCL and using ghostscript works MUCH faster giving same results. > > your computer's CPU is much faster than printer's. Usually your computer has more available memory than your printer. In fact usually your printer's memory bound. I have two printers an HP Business Inkjet 2250 with 80MB of RAM and an HP Laserjet 4000 with 64MB of RAM. The Business Inkjet prints Postscript at 12+ pages a minute. The 4000 does 17+ pages of postscript / minute. These speeds are pretty much as fast as the respective printers can spit out pages. Factory stock memory for the Inkjet is 16MB and it 4MB for the laser. With stock memory the inkjet does 7 pages / minute max and the Laserjet might make 12. Optimizing a CPU for Postscript isn't all that hard but for some reason the printer manufacturers ship these machines with very low RAM. BTW The RAM in these machines was scavenged out of some long dead laptop. -- Chris Chris Hilton e: chris|at|vindaloo| dot|com ---------------------------------------------------------------------------- "The pattern juggler lifts his hand; The orchestra begin. As slowly turns the grinding wheel in the court of the crimson king." -- Ian McDonald / Peter Sinfield From kitche at kitchetech.com Wed Jun 4 01:06:35 2008 From: kitche at kitchetech.com (Kitche) Date: Wed Jun 4 01:06:40 2008 Subject: Trouble with freenx server In-Reply-To: <484577A5.1070005@gmail.com> References: <484577A5.1070005@gmail.com> Message-ID: <1386.72.65.6.48.1212541105.squirrel@kitchetech.com> > Hello everyone; I am trying to set up a freenx server on my fbsd box. I > have added users 'nx' and 'davidkarapetyan', and edited node.conf so > that .xinitrc is identified as my nx session startup script. Here is the > error I get when I try to connect from my windows client box: > > NX> 203 NXSSH running with pid: 1516 > NX> 285 Enabling check on switch command > NX> 285 Enabling skip of SSH config files > NX> 285 Setting the preferred NX options > NX> 200 Connected to address: 66.254.239.155 on port: 22 > NX> 202 Authenticating user: nx > NX> 208 Using auth method: publickey > HELLO NXSERVER - Version 1.5.0-60 OS (GPL) > NX> 105 hello NXCLIENT - Version 1.5.0 > NX> 134 Accepted protocol: 1.5.0 > NX> 105 SET SHELL_MODE SHELL > NX> 105 SET AUTH_MODE PASSWORD > NX> 105 login > NX> 101 User: davidkarapetyan > NX> 102 Password: > NX> 103 Welcome to: abode.resnet.nd.edu user: davidkarapetyan > NX> 105 listsession --user="davidkarapetyan" > --status="suspended,running" --geometry="1024x768x32+render" > --type="unix-default" > NX> 127 Sessions list of user 'davidkarapetyan' for reconnect: > > Display Type Session ID Options Depth > Screen Status Session Name > ------- ---------------- -------------------------------- -------- ----- > -------------- ----------- ------------------------------ > > > NX> 148 Server capacity: not reached for user: davidkarapetyan > NX> 105 startsession --rootless="1" --virtualdesktop="0" --link="lan" > --backingstore="1" --encryption="1" --cache="16M" --images="64M" > --media="0" --session="officetohome" --type="unix-default" --kbload=" > --kbload=pc102/en_US" --keymap=" --keymap=en_US" --kbtype="pc102/en_US" > --aux="1" --screeninfo="1024x715x32+render" > > NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL) > NX> 700 Session id: > abode.resnet.nd.edu-1000-B066639755F3B3F405A9DAE63946F1D1 > NX> 705 Session display: 1000 > NX> 703 Session type: unix-default > NX> 701 Proxy cookie: e07a1335477d108f28225cc31a3f1ef2 > NX> 702 Proxy IP: 127.0.0.1 > NX> 706 Agent cookie: e07a1335477d108f28225cc31a3f1ef2 > NX> 704 Session cache: unix-default > NX> 707 SSL tunneling: 1 > NX> 1009 Session status: starting > NX> 1004 Error: Session did not start. > NX> 596 Session start failed. > NX> 999 Bye > NX> 280 Exiting on signal: 15 > > > Any ideas on how to fix this? > > -- > Best, > > David Karapetyan > http://nd.edu/~dkarapet/ > University of Notre Dame > Department of Mathematics > 255 Hurley Hall > Notre Dame, IN 46556-4618 > Phone: 574-631-5706 > FAX: 574-631-6579 > > _______________________________________________ > freebsd-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 not sure but I knew that nx was broken for a while with X From keramida at ceid.upatras.gr Wed Jun 4 01:22:36 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Jun 4 01:22:40 2008 Subject: git In-Reply-To: <48458DFC.9020004@telenix.org> (Chuck Robey's message of "Tue, 03 Jun 2008 14:31:24 -0400") References: <48458DFC.9020004@telenix.org> Message-ID: <87y75m3sfy.fsf@kobe.laptop> On Tue, 03 Jun 2008 14:31:24 -0400, Chuck Robey wrote: > Wonder if anyone could tell me why anything I do to run git-pull gives me a > coredump? The image that gets dumped is git-fetch, if that helps, and I was > just trying to update the xorg source tree. Hi Chuck, Something is obviously broken in Git 1.5.5. My installation from Ports core dumps pretty fast too: keramida@kobe:/home/keramida/git/erc$ git fetch Segmentation fault: 11 (core dumped) keramida@kobe:/home/keramida/git/erc$ I have a kernel+userland compiled with debugging symbols, and this seems to be a double-free bug in git-fetch(1): : keramida@kobe:/home/keramida$ cd git/erc : keramida@kobe:/home/keramida/git/erc$ git-fetch : Segmentation fault: 11 (core dumped) : keramida@kobe:/home/keramida/git/erc$ gdb /usr/local/bin/git-fetch git-fetch.core : 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"...No symbol table is loaded. Use the "file" command. : : Core was generated by `git-fetch'. : Program terminated with signal 11, Segmentation fault. : Reading symbols from /usr/local/lib/libcurl.so.4...done. : Loaded symbols for /usr/local/lib/libcurl.so.4 : Reading symbols from /lib/libz.so.4...done. : Loaded symbols for /lib/libz.so.4 : Reading symbols from /usr/local/lib/libiconv.so.3...done. : Loaded symbols for /usr/local/lib/libiconv.so.3 : Reading symbols from /lib/libcrypto.so.5...done. : Loaded symbols for /lib/libcrypto.so.5 : Reading symbols from /lib/libc.so.7...done. : Loaded symbols for /lib/libc.so.7 : Reading symbols from /usr/lib/libssl.so.5...done. : Loaded symbols for /usr/lib/libssl.so.5 : Reading symbols from /libexec/ld-elf.so.1...done. : Loaded symbols for /libexec/ld-elf.so.1 : #0 idalloc (ptr=0x5a5a5a5a) at /home/build/src/lib/libc/stdlib/malloc.c:3386 : 3386 arena_dalloc(chunk->arena, chunk, ptr); : (gdb) bt : #0 idalloc (ptr=0x5a5a5a5a) at /home/build/src/lib/libc/stdlib/malloc.c:3386 : #1 0x28441357 in free (ptr=0x5a5a5a5a) at /home/build/src/lib/libc/stdlib/malloc.c:4714 : #2 0x080d7a54 in transport_unlock_pack () : #3 0x080667f7 in unlock_pack () : #4 0x28495af3 in __cxa_finalize (dso=0x0) at /home/build/src/lib/libc/stdlib/atexit.c:180 : #5 0x2844549a in exit (status=0) at /home/build/src/lib/libc/stdlib/exit.c:67 : #6 0x0804b15d in handle_internal_command () : #7 0x0804b88d in main () : (gdb) quit Note the 0x5a5a5a5a pointer value in free(). That's a bug in git-fetch. A double free() that our malloc uncovers. This is a double-free() because I'm running my laptop with: keramida@kobe:/home/keramida$ ls -l /etc/malloc* lrwxr-xr-x 1 root wheel - 2 Mar 28 19:31 /etc/malloc.conf -> AJ keramida@kobe:/home/keramida$ and 'J' enables the following malloc()/free() behavior: Each byte of new memory allocated by malloc(), realloc() or reallocf() will be initialized to 0xa5. All memory returned by free(), realloc() or reallocf() will be initialized to 0x5a. This is intended for debugging and will impact performance negatively. Are you also running with option 'J' enabled in `malloc.conf'? HTH, Giorgos From keramida at ceid.upatras.gr Wed Jun 4 01:31:34 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Jun 4 01:31:39 2008 Subject: git In-Reply-To: <87y75m3sfy.fsf@kobe.laptop> (Giorgos Keramidas's message of "Wed, 04 Jun 2008 04:22:09 +0300") References: <48458DFC.9020004@telenix.org> <87y75m3sfy.fsf@kobe.laptop> Message-ID: <87bq2i3s0l.fsf@kobe.laptop> On Wed, 04 Jun 2008 04:22:09 +0300, Giorgos Keramidas wrote: > On Tue, 03 Jun 2008 14:31:24 -0400, Chuck Robey wrote: >> Wonder if anyone could tell me why anything I do to run git-pull gives me a >> coredump? The image that gets dumped is git-fetch, if that helps, and I was >> just trying to update the xorg source tree. > > Hi Chuck, > Something is obviously broken in Git 1.5.5. My installation from Ports > core dumps pretty fast too: > > keramida@kobe:/home/keramida/git/erc$ git fetch > Segmentation fault: 11 (core dumped) > keramida@kobe:/home/keramida/git/erc$ [...] > Are you also running with option 'J' enabled in `malloc.conf'? Verified. Setting malloc.conf options to 'aj', lets git-fetch run without crashing: : root@kobe:/etc# ln -fs aj malloc.conf : root@kobe:/etc# : : keramida@kobe:/home/keramida/git/erc$ git-fetch : keramida@kobe:/home/keramida/git/erc$ : root@kobe:/etc# ln -fs AJ malloc.conf : root@kobe:/etc# : : keramida@kobe:/home/keramida/git/erc$ git-fetch : Segmentation fault: 11 (core dumped) : keramida@kobe:/home/keramida/git/erc$ From roberthuff at rcn.com Wed Jun 4 02:14:46 2008 From: roberthuff at rcn.com (Robert Huff) Date: Wed Jun 4 02:14:52 2008 Subject: Duplex printer advice In-Reply-To: <007DDE62-1CAA-4B22-A9FF-5EE90C5DBAC8@vindaloo.com> References: <20080602232417.J36835@wojtek.tensor.gdynia.pl> <007DDE62-1CAA-4B22-A9FF-5EE90C5DBAC8@vindaloo.com> Message-ID: <18501.64130.399693.258195@jerusalem.litteratus.org> Christopher Sean Hilton writes: > ... but for some reason the printer manufacturers ship these > machines with very low RAM. Because the average consumer only looks at the shelf price. Most can't even explain why more memory is important, (I have a LaserJet 6MP - came with 3m, was uch perkier once I added 16.) Robert Huff From frank at shute.org.uk Wed Jun 4 03:10:24 2008 From: frank at shute.org.uk (Frank Shute) Date: Wed Jun 4 03:10:30 2008 Subject: Cannot open /etc/termcap In-Reply-To: <11167f520806020317t223d2725y905b07b8ab3541dd@mail.gmail.com> References: <11167f520806011526v438bc9f1j8ccf4c174ea35761@mail.gmail.com> <86iqwsh1rh.fsf@gmail.com> <11167f520806020317t223d2725y905b07b8ab3541dd@mail.gmail.com> Message-ID: <20080604031013.GA70615@melon.esperance-linux.co.uk> On Mon, Jun 02, 2008 at 05:17:28AM -0500, Sam Fourman Jr. wrote: > > > > > > csh: Cannot open /etc/termcap. > > > csh: using dumb terminal settings. > > > > Are you sure /usr/share/misc/termcap isn't empty and accesible > > on the target machine? > > lrwxr-xr-x 1 root wheel 23B May 31 2007 /etc/termcap@ -> > > /usr/share/misc/termcap > > > > I receive the following > %cp /usr/share/misc/termcap /etc/termcap > cp: /etc/termcap and /usr/share/misc/termcap are identical (not copied). > > > is there a quick fix to this? A quick fix would be to scp /usr/share/misc/termcap from your home machine to ~/.termcap on the remote host. Then ssh into remote host and: $ echo "TERMCAP=$HOME/.termcap" >> ~/.ssh/environment Log out and ssh in again. Might work. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From lists-fbsd at shadypond.com Wed Jun 4 03:20:44 2008 From: lists-fbsd at shadypond.com (Pollywog) Date: Wed Jun 4 03:20:49 2008 Subject: Cannot open /etc/termcap In-Reply-To: <20080604031013.GA70615@melon.esperance-linux.co.uk> References: <11167f520806011526v438bc9f1j8ccf4c174ea35761@mail.gmail.com> <11167f520806020317t223d2725y905b07b8ab3541dd@mail.gmail.com> <20080604031013.GA70615@melon.esperance-linux.co.uk> Message-ID: <200806040320.35720.lists-fbsd@shadypond.com> On Wednesday 04 June 2008 03:10:13 Frank Shute wrote: > > A quick fix would be to scp /usr/share/misc/termcap from your home > machine to ~/.termcap on the remote host. > > Then ssh into remote host and: > > $ echo "TERMCAP=$HOME/.termcap" >> ~/.ssh/environment > > Log out and ssh in again. > > Might work. In other words, do it with a test account first, so you don't lock yourself out of your regular account. I have locked myself out a few times while testing things. From sfourman at gmail.com Wed Jun 4 03:44:58 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Wed Jun 4 03:45:02 2008 Subject: Cannot open /etc/termcap In-Reply-To: <200806040320.35720.lists-fbsd@shadypond.com> References: <11167f520806011526v438bc9f1j8ccf4c174ea35761@mail.gmail.com> <11167f520806020317t223d2725y905b07b8ab3541dd@mail.gmail.com> <20080604031013.GA70615@melon.esperance-linux.co.uk> <200806040320.35720.lists-fbsd@shadypond.com> Message-ID: <11167f520806032044w4556c94aq1fa5ccfc15ea5218@mail.gmail.com> I had a friend help me with this. the trouble is my TERM was set to wsvt25 somehow. and all I had to do was set it to env TERM cons25 and vim would compile. I am not even sure what I did to make wsvt25 happen, other than that is the terminal setting I use on my OpenBSD firewall (that I have to ssh into first before I ssh into my samba server (the one that has the termcap problem) Thank you for all your help Sam Fourman Jr. From modulok at gmail.com Wed Jun 4 04:34:27 2008 From: modulok at gmail.com (Modulok) Date: Wed Jun 4 04:34:31 2008 Subject: Stumped:: web HTML. Caution, may be OT. In-Reply-To: <1212269582.13063.96.camel@localhost> References: <20080529065732.GA36261@thought.org> <4a89d1190805290039k1f2dedb1he342b4a83d7453a6@mail.gmail.com> <200805291305.22567.kline@thought.org> <20080529220536.GA39115@melon.esperance-linux.co.uk> <20080530023902.GF62524@thought.org> <20080530204950.GA43574@melon.esperance-linux.co.uk> <20080531042858.GA23329@thought.org> <867idbc9at.fsf@riemann.mri.ernet.in> <1212269582.13063.96.camel@localhost> Message-ID: <64c038660806032134m387ee47as314318d2720d7206@mail.gmail.com> > looks like what i need NOW is a debugger, :-) i have virtually > zero design skills .... except "keep it simple" To quote Albert Einstein, "Everything should be made as simple as possible, but not simpler". Much of the problem with the web today is the reliance on 'designers,' who are primarily concerned with making things look pretty, rather than ensuring the delivering of the underlying content. The latter of which far supersedes the former in its importance. To that end, the less reliance your page has on the client's environment, something that is entirely beyond your control as a developer, the higher the probability of successfully delivering the content. (Which should be your main objective: If the content cannot be delivered, what was the bloody point?) JavaScript, CSS, browser plugins,... despite modern trends, should be avoid where possible. If they must be used, ensure that they do not compromise the delivery of the content, in the event those mechanisms are un-available to the client. For example, hyperlinks implemented solely in JavaScript is a sad state of modern affairs. The web is constantly evolving and may trends come and go, I can recall the days where JavaScript was the hot new thing and everyone used it to do utterly pointless things, like having snowflakes follow the pointer. Eventually it was realized that this was pointless, annoying, and hampered the delivery of the underlying content. Its usage faded out. Following this, was the rise of websites built around the then Macromedia Flash. Flash was the new web, going to replace conventional markup. This too was largely a commercial failure, as the delivery of the content was impaired. Eventually, the long-forgotten JavaScript had a resurgence with a new name and a few new friends (AJAX). Unfortunately, it comes with all of the same old problems. Though solutions to many of these problems exist, rarely are they used consistently and correctly. Additionally, one must question if the added functionality is worth the reduction in the probability of successful delivery. Telling people to upgrade their browser, or enable certain features is a cop-out which harkens back to the days of "make your browser this wide," followed by a horizontal rule. As far as editors and such, I personally write all of my code in a text editor, regardless of the language. I have used hand-written code in a text editor to implement websites for multi-million dollar companies. Ironically enough, I'm a visual effects artist. Anyway, I think I have likely gotten off topic myself and haven't contributed much to solving your original problem. Enough rambling out of me for now. Best of luck, Gary. -Modulok- From ruel.freebsd at gmail.com Wed Jun 4 05:14:31 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Wed Jun 4 05:14:34 2008 Subject: Samba in Windows XP Error Message-ID: Hi ALL I have installed the samba package 3.0.28 in my freebsd 7.0, the installation all goes well my problem only is when i add the samba in an existing workgroup i can access it in my windows xp client however if it has its own workgroup i always have this error in windows xp pro "The network path was not found".. what would i miss?? Freebsd Rocks..... From frank at shute.org.uk Wed Jun 4 05:50:23 2008 From: frank at shute.org.uk (Frank Shute) Date: Wed Jun 4 05:50:29 2008 Subject: Cannot open /etc/termcap In-Reply-To: <11167f520806032044w4556c94aq1fa5ccfc15ea5218@mail.gmail.com> References: <11167f520806011526v438bc9f1j8ccf4c174ea35761@mail.gmail.com> <11167f520806020317t223d2725y905b07b8ab3541dd@mail.gmail.com> <20080604031013.GA70615@melon.esperance-linux.co.uk> <200806040320.35720.lists-fbsd@shadypond.com> <11167f520806032044w4556c94aq1fa5ccfc15ea5218@mail.gmail.com> Message-ID: <20080604055016.GA71002@melon.esperance-linux.co.uk> On Tue, Jun 03, 2008 at 10:44:57PM -0500, Sam Fourman Jr. wrote: > > I had a friend help me with this. the trouble is my TERM was set to > wsvt25 somehow. and all I had to do was set it to env TERM cons25 > and vim would compile. You would have expected to get an error message from csh along the lines of "$TERM not found in /etc/termcap" not "Cannot find /etc/termcap" wouldn't you? > > I am not even sure what I did to make wsvt25 happen, other than that > is the terminal setting I use on my OpenBSD firewall (that I have to > ssh into first before I ssh into my samba server (the one that has > the termcap problem) I don't know why it would take OpenBSD's $TERM. ssh should take $TERM from the target machine (according to the openssh manpage) which is cons25 by default. Is there a ~/.ssh/environment with $TERM set on your Samba server? You might want to set it there for future use to cons25. > > > Thank you for all your help Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From jhary at unsane.co.uk Wed Jun 4 08:28:32 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Wed Jun 4 08:30:41 2008 Subject: any news? 3945 ABG driver! In-Reply-To: References: <48456670.8070304@unsane.co.uk> Message-ID: <4846522D.1050806@unsane.co.uk> Long Story wrote: > Hi Vince! > > > The (rtfm) advice it might exist in 7.0R which I didnot install or upgrade to Yet, > Im using PC-BSD which is 6.3-R > and I think i need to do the driver manualy, any info ? > or i _have_ to go for 7.0-R for this driver to work ? As its not in 6.3 (sorry didnt think to check if it was before answering,) you could give it a go manually. http://www.clearchain.com/wiki/Wpi is the maintainers website for it but as its down at the moment, I'm not sure what the status of it on 6.x In 7.x its in the distro though. Vince > > Thanks. > > Marwan.> Date: Tue, 3 Jun 2008 16:42:40 +0100> From: jhary@unsane.co.uk> To: dead_line@hotmail.com> CC: freebsd-questions@freebsd.org> Subject: Re: any news? 3945 ABG driver!> > Long Story wrote:> > Hello Gurus,> > > > Well, any good news or working drivers for wireless 3945ABG ?> > for 7.0-R or 6.3-R ?> > Can anyone kindly provide any useful information ?> > > > man wpi ;)> > (sorry to rtfm you but the man page explains it better than I could)> > Vince> > > THANK YOU> > Marwan.> > _________________________________________________________________> > It?s easy to add contacts from Facebook and other social sites through Windows Live? Messenger. Learn how.> > https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow_______________________________________________> > freebsd-questions@freebsd.org mailing list> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"> > _________________________________________________________________ > Instantly invite friends from Facebook and other social networks to join you on Windows Live? Messenger. > https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends_______________________________________________ > freebsd-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 tedm at toybox.placo.com Wed Jun 4 08:44:57 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Wed Jun 4 08:48:54 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <20080603090611.09512ba3@gom.home> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of prad > Sent: Tuesday, June 03, 2008 9:06 AM > To: freebsd-questions@freebsd.org > Subject: Re: Looking for gurus willing to help write Freebsd tutorials > > > On Tue, 3 Jun 2008 01:03:40 -0700 > "Ted Mittelstaedt" wrote: > > > (aside from the arrogant setting aside > > of 20 some years of BSD Unix history) > > > i don't really understand the reason for the changing beastie - who is > easily the cutest of any os (even better than the excellent puffy of > openbsd)! > > we link to freebsd with beastie and there are certainly > several beasties on http://www.freebsd.org/art.html, but none on > http://www.freebsd.org/logo.html suggesting that the logo is the logo, > but beastie is not? > > i always thought the daemon was inextricably linked with the bsds - i > think it appeared even on the older versions of netbsd and openbsd. > The issue started several years ago when one of the core developers started agitating for a different graphic. Apparently he had been asked too many times for his taste if the FreeBSD project had something to do with devil worship. A long drawn out argument ensued but core being core got their way. Core then started claiming Beastie wasn't a logo, he was a mascot and that it why we needed a logo (despite the fact that Beastie has been used as a logo for years) As a peace offering they tried the contest idea. The submissions were so crappy they extended the contest deadline. Finally they got a submission that they decided was OK and that "won" the contest. The FreeBSD community was not allowed to see the other entrants. It was your basic star chamber decision. Ted From jhary at unsane.co.uk Wed Jun 4 08:45:37 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Wed Jun 4 08:48:55 2008 Subject: Help Installing Sun JDK on FreeBSD In-Reply-To: <17628876.post@talk.nabble.com> References: <17628876.post@talk.nabble.com> Message-ID: <4846562D.1030801@unsane.co.uk> triggerme2ice wrote: > Hi all, > > I was wondering if anyone would know of a brute force way of installing the > (newest possible) sun JDK on FreeBSD 5.0 (or any other versions for further > info) > > Help a freeBSD user in need :teeth: The latest version in ports is 1.6.0.3p4 if you need more receent than that then no idea. If thats ok then cd /usr/port/java/jdk16 make Follow the instructions Also see http://www.freebsd.org/java/ 5.x has just been announce as no longer supported by ports though, although support wont be removed, just not updated and checked as changes are made. You will need a current jdk to compile it though and need to get the source files manually. To get a jdk to compile it I'd recommend installing the package from http://www.freebsdfoundation.org/downloads/java.shtml Although you could install one of the linux-sun-jdk* ports if you prefer. you can pkg_delete the old jdk once you have the new one installed. Vince From wojtek at wojtek.tensor.gdynia.pl Wed Jun 4 09:01:19 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 4 09:09:10 2008 Subject: Duplex printer advice In-Reply-To: <007DDE62-1CAA-4B22-A9FF-5EE90C5DBAC8@vindaloo.com> References: <20080602232417.J36835@wojtek.tensor.gdynia.pl> <007DDE62-1CAA-4B22-A9FF-5EE90C5DBAC8@vindaloo.com> Message-ID: <20080604110047.E1997@wojtek.tensor.gdynia.pl> > isn't all that hard but for some reason the printer manufacturers ship these > machines with very low RAM. the reason is to force you then buy high-priced RAMs for them. From wojtek at wojtek.tensor.gdynia.pl Wed Jun 4 09:10:52 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 4 09:18:16 2008 Subject: IPv6 jails for FreeBSD (6.* preferably) In-Reply-To: <872888403.20080603143905@rulez.sk> References: <20080603202740.W10542@wojtek.tensor.gdynia.pl> <872888403.20080603143905@rulez.sk> Message-ID: <20080604110955.H12910@wojtek.tensor.gdynia.pl> well it applied almost clean to FreeBSD 6.3! almost means i have to skip 2 patches to sctp_* files, as sctp doesn't exist in FreeBSD 6.*, everything else patched we will see after compiling. On Tue, 3 Jun 2008, Daniel Gerzo wrote: > Hello Wojciech, > > Tuesday, June 3, 2008, 8:27:56 PM, you wrote: > >> does patch exist for it? > > http://sources.zabbadoz.net/freebsd/jail.html > > -- > Best regards, > Daniel mailto:danger@FreeBSD.org > > From quakenet1 at optusnet.com.au Wed Jun 4 09:31:02 2008 From: quakenet1 at optusnet.com.au (Jerahmy Pocott) Date: Wed Jun 4 09:31:10 2008 Subject: Storing a copy of queued mail? Message-ID: Hi, I have a 6.3 system running as a mail server, offering imap, pop3 and smtp. The smtp server can be used from anywhere because all users are required to authenticate with SMTP AUTH and it supports TLS. This is using sendmail 8.14.2. What I would like to do is have any mail submitted to the SMTP server to get automatically stored into an imap mailbox (I'm using mbox format currently) for that user, preferably based on the username they supplied to authenticate, but it could also be by the 'mail from:' field. Previously I have been configuring the users mail clients to do this, but they have proven completely unreliable and of course they may use different clients at different locations etc. Obviously having the server do this is still not 100% reliable, since they could still possibly use a different SMTP server, but I'm not going to worry about that currently as it's unlikely to happen often. It's sort of an unusual thing to have the MTA do, so I'v not been able to find anything about how I can get this to happen.. I thought maybe there might be a way to get the sent mail to be processed through procmail or something first.. Any thoughts on the best way to make this happen? Cheers, J. From joerg at mysql.com Wed Jun 4 09:36:39 2008 From: joerg at mysql.com (Joerg Bruehe) Date: Wed Jun 4 09:36:45 2008 Subject: FreeBSD MySQL Performance Tunning suggestions??? In-Reply-To: <2cd0a0da0806030343o68dcf30bj447d4174b93c30d2@mail.gmail.com> References: <2cd0a0da0806030343o68dcf30bj447d4174b93c30d2@mail.gmail.com> Message-ID: <4846621D.6020102@mysql.com> Hi all ! VeeJay wrote: > [[...]] > > At my job, I am going to build a Web Server with > > 1. FreeBSD 7.0-RELEASE amd64 > 2. Apache 2.2.8 > 3. PHP 4.4.8 (or may be PHP5, what do you suggest?) > > Server's hardware configuration is as follow: > > 2 x Quad Core Xeon E5450 3.0GHz,2x6MB,1333FSB > 16GB (8x2GB Dual Rank DIMMs) 667MHz FBD > 6 x 450GB SAS 15k 3.5" HD Hot Plug > PERC 6/i, Integrated Controller Card x6 backplane > PE2950 III C5 MSS R10 Add-in PERC 5/i / 6/i 1 S > TCP/IP Offload Engine 2P > Broadcom TCP/IP Offload Engine functionality (TOE) Not Enabled > > For FreeBSD 7.0-RELEASE amd64 Which MySQL 5.0 would be used ? > 1. FreeBSD 7.x (x86_64) > or > 2. FreeBSD 6.x (x86) Your machine has 16 GB of RAM. If you ever want to use really large caches in the MySQL server process, you need to use a 64 bit binary, called "x86_64" in the MySQL package file names. > > I have done some googling and made these configuration files for Apache and > MySQL? > > Apache: > httpd.conf-----------------------------------------------------start------------ > [[... file snipped ...]] > > > MySQL: > my.cnf------------------------------------------------------------start-------- > [[... file snipped ...]] > > > Is there something you can tune? You cannot tune without knowing which bottleneck you should widen, and how much resources still are available. IMNSHO, you need to start with some configuration, put load onto it (as representative as possible), then watch the system's behavior (take measurements !), and only then determine which part you want to improve. Example: Database caches are good to reduce disk I/O and so to increase performance, but you will not increase caches if your system is already paging heavily (= your RAM is too small). There is no need to change any parameter unless a) its current setting restricts your performance, and you have sufficient resources to raise the limit, or b) its current setting allocates more resources than needed here, which could be used better at some other place. You need some initial run and measurement to check that. HTH, J?rg -- Joerg Bruehe, MySQL Build Team, joerg@mysql.com Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer Vorsitzender des Aufsichtsrates: Martin Haering Muenchen: HRB161028 From tedm at toybox.placo.com Wed Jun 4 09:45:16 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Wed Jun 4 09:45:20 2008 Subject: Duplex printer advice In-Reply-To: <48456C66.6070309@telenix.org> Message-ID: > -----Original Message----- > From: Chuck Robey [mailto:chuckr@telenix.org] > Sent: Tuesday, June 03, 2008 9:08 AM > To: Ted Mittelstaedt > Cc: Wojciech Puchar; Warren Block; FreeBSD Questions > Subject: Re: Duplex printer advice > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ted Mittelstaedt wrote: > > > >> -----Original Message----- > >> From: owner-freebsd-questions@freebsd.org > >> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of > Wojciech Puchar > >> Sent: Tuesday, June 03, 2008 1:06 AM > >> To: Warren Block > >> Cc: FreeBSD Questions > >> Subject: RE: Duplex printer advice > >> > >> > >>> This depends a lot on your print jobs. Low quality machine-generated > >>> PostScript output can be slow. PCL can also be slow. The only > >> way to really > >>> know is to benchmark with your print jobs. > >> there was no case i found postscript to print faster. > >> > > > > You won't on an HP printer, at least not an older one. > > ?? I had one of the original LaserJet-1's, which derived it's postscript > emulation via a plugin cartridge. What part of: "...there was no case i found postscript to print faster...You won't on an HP printer, at least not an older one..." is not understandable? Let me repeat - on most HP printers PostScript IS SLOWER BECAUSE HP DESIGNED IT THAT WAY. It is NOT slower because of some inherent issue with PostScript itself. Did you know that Ghostscript is used as the Postscript engine in a number of printers? Ted From wojtek at wojtek.tensor.gdynia.pl Wed Jun 4 09:54:07 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jun 4 09:54:10 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: <20080604115338.Y27016@wojtek.tensor.gdynia.pl> > > Did you know that Ghostscript is used as the Postscript engine > in a number of printers? very possible as it's one of the best renderer available - for free. From gerard at seibercom.net Wed Jun 4 10:03:49 2008 From: gerard at seibercom.net (Gerard) Date: Wed Jun 4 10:03:56 2008 Subject: Duplex printer advice In-Reply-To: <20080604110047.E1997@wojtek.tensor.gdynia.pl> References: <20080602232417.J36835@wojtek.tensor.gdynia.pl> <007DDE62-1CAA-4B22-A9FF-5EE90C5DBAC8@vindaloo.com> <20080604110047.E1997@wojtek.tensor.gdynia.pl> Message-ID: <20080604060319.235a9a54@scorpio> On Wed, 4 Jun 2008 11:01:09 +0200 (CEST) Wojciech Puchar wrote: > > isn't all that hard but for some reason the printer manufacturers > > ship these machines with very low RAM. > > the reason is to force you then buy high-priced RAMs for them. The market for printers is a very competitive one. Any manufacturer has to factor in the cost of the base machine, plus addition components, so as to compute a selling price that will be competitive with his competition. A manufacturer could easily load up his product will all the RAM he wanted; however, if he could not sell the product, or at least a sufficient number of them to turn a profit, then that effort would be for naught. Personally, I have not found the secondary RAM market to be all that expensive anyway. If there is no need to spit out 24 sheets per minute, then why waste the resources on it? -- Gerard gerard@seibercom.net You know it's going to be a long day when you get up, shave and shower, start to get dressed and your shoes are still warm. Dean Webber -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080604/61f8287a/signature-0001.pgp From andrew at predoehl.net Wed Jun 4 10:57:39 2008 From: andrew at predoehl.net (andrew@predoehl.net) Date: Wed Jun 4 10:57:46 2008 Subject: Problem with makeinfo when I'm building devel/autoconf-262 Message-ID: Hello. I'm running FreeBSD 5.5 and trying to build autoconfig 2.62 from ports (due iirc to an update to the autotools port in mid-May). Everything goes fine until we reach the doc directory. Unfortunately then the texinfo source upsets makeinfo. I don't understand texinfo source and I can't figure out how to fix it. Can anyone give me some advice? TIA. Here is the (trimmed but still somewhat lengthy) output of the build: [root@foobar /usr/ports/devel/autoconf262]# make ===> Extracting for autoconf-2.62 => MD5 Checksum OK for autoconf-2.62.tar.bz2. => SHA256 Checksum OK for autoconf-2.62.tar.bz2. ===> autoconf-2.62 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for autoconf-2.62 ===> autoconf-2.62 depends on file: /usr/local/bin/perl5.8.8 - found ===> Applying FreeBSD patches for autoconf-2.62 ===> autoconf-2.62 depends on executable: gm4 - found ===> autoconf-2.62 depends on executable: help2man - found ===> autoconf-2.62 depends on executable: gmake - found ===> autoconf-2.62 depends on file: /usr/local/bin/perl5.8.8 - found ===> Configuring for autoconf-2.62 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build-aux/install-sh -c -d checking for gawk... no (******* SEVERAL LINES SNIPPED **********) config.status: creating lib/autotest/Makefile config.status: creating bin/Makefile config.status: WARNING: not linking GNUmakefile to itself config.status: executing tests/atconfig commands ===> Building for autoconf-2.62 gmake all-recursive gmake[1]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62' Making all in bin gmake[2]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/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|@bindir[@]|/usr/local/bin|g' -e 's|@datadir[@]|/usr/local/share/autoconf-2.62|g' -e 's|@prefix[@]|/usr/local|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's&$&-2.62&'`'|g' -e 's|@autoheader-name[@]|'`echo autoheader | sed 's&$&-2.62&'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's&$&-2.62&'`'|g' -e 's|@M4[@]|/usr/local/bin/gm4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@AWK[@]|nawk|g' -e 's|@RELEASE_YEAR[@]|'`sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' ../ChangeLog`'|g' -e 's|@VERSION[@]|2.62|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated 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/autoconf262/work/autoconf-2.62/lib' (************ MANY LINES SNIPPED ***********) gmake[3]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/lib' gmake[2]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/lib' Making all in doc gmake[2]: Entering directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/doc' Updating ./version.texi restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/sh /usr/ports/devel/autoconf262/work/autoconf-2.62/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \ for f in autoconf-2.62.info autoconf-2.62.info-[0-9] autoconf-2.62.info-[0-9][0-9] autoconf-2.62.i[0-9] autoconf-2.62.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/sh /usr/ports/devel/autoconf262/work/autoconf-2.62/build-aux/missing --run makeinfo --no-split -I . \ -o autoconf-2.62.info autoconf-2.62.texi; \ then \ rc=0; \ cd .; \ else \ rc=$?; \ cd . && \ $restore $backupdir/* `echo "./autoconf-2.62.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc autoconf-2.62.texi:1723: Unknown command `'. autoconf-2.62.texi:3353: Unknown command `'. autoconf-2.62.texi:3920: Unknown command `'. autoconf-2.62.texi:3935: Unknown command `'. autoconf-2.62.texi:3947: Unknown command `'. autoconf-2.62.texi:3965: Unknown command `'. autoconf-2.62.texi:3986: Unknown command `'. autoconf-2.62.texi:4001: Unknown command `'. autoconf-2.62.texi:4019: Unknown command `'. autoconf-2.62.texi:4027: Unknown command `'. autoconf-2.62.texi:4035: Unknown command `'. autoconf-2.62.texi:4078: Unknown command `'. autoconf-2.62.texi:4085: Unknown command `'. autoconf-2.62.texi:4105: Unknown command `'. autoconf-2.62.texi:4113: Unknown command `'. autoconf-2.62.texi:4130: Unknown command `'. autoconf-2.62.texi:4171: Unknown command `'. autoconf-2.62.texi:5070: Unknown command `'. autoconf-2.62.texi:5083: Unknown command `'. autoconf-2.62.texi:5713: Unknown command `'. autoconf-2.62.texi:5731: Unknown command `'. autoconf-2.62.texi:5817: Unknown command `'. autoconf-2.62.texi:5834: Unknown command `'. autoconf-2.62.texi:5989: Unknown command `'. autoconf-2.62.texi:6011: Unknown command `'. autoconf-2.62.texi:6310: Unknown command `'. autoconf-2.62.texi:6326: Unknown command `'. autoconf-2.62.texi:6417: Unknown command `'. autoconf-2.62.texi:6452: Unknown command `'. autoconf-2.62.texi:6723: Unknown command `'. autoconf-2.62.texi:7398: Unknown command `'. autoconf-2.62.texi:7652: Unknown command `'. autoconf-2.62.texi:8146: Unknown command `'. autoconf-2.62.texi:8202: Unknown command `'. autoconf-2.62.texi:8212: Unknown command `'. autoconf-2.62.texi:8232: Unknown command `'. autoconf-2.62.texi:8275: Unknown command `'. autoconf-2.62.texi:8313: Unknown command `'. autoconf-2.62.texi:8859: Unknown command `'. autoconf-2.62.texi:10556: Unknown command `'. autoconf-2.62.texi:10566: Unknown command `'. autoconf-2.62.texi:10586: Unknown command `'. autoconf-2.62.texi:10599: Unknown command `'. autoconf-2.62.texi:10719: Unknown command `'. autoconf-2.62.texi:10995: Unknown command `'. autoconf-2.62.texi:11061: Unknown command `'. autoconf-2.62.texi:11161: Unknown command `'. autoconf-2.62.texi:11401: Unknown command `'. autoconf-2.62.texi:17391: Unknown command `'. autoconf-2.62.texi:17546: Unknown command `'. autoconf-2.62.texi:17584: Unknown command `'. autoconf-2.62.texi:18418: Unknown command `'. autoconf-2.62.texi:18535: Unknown command `'. autoconf-2.62.texi:18624: Unknown command `'. autoconf-2.62.texi:19143: Unknown command `'. autoconf-2.62.texi:19185: Unknown command `'. autoconf-2.62.texi:19219: Unknown command `'. autoconf-2.62.texi:19231: Unknown command `'. autoconf-2.62.texi:19305: Unknown command `'. autoconf-2.62.texi:20258: Unknown command `'. makeinfo: Removing output file `autoconf-2.62.info' due to errors; use --force to preserve. gmake[2]: *** [autoconf-2.62.info] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/doc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/devel/autoconf262. [root@foobar /usr/ports/devel/autoconf262]# From frase at frase.id.au Wed Jun 4 11:54:53 2008 From: frase at frase.id.au (Fraser Tweedale) Date: Wed Jun 4 11:54:59 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: References: <20080603090611.09512ba3@gom.home> Message-ID: <20080604115449.GA1070@bacardi> On Wed, Jun 04, 2008 at 01:45:57AM -0700, Ted Mittelstaedt wrote: > [snip] > The issue started several years ago when one of the core > developers started agitating for a different graphic. Apparently > he had been asked too many times for his taste if the FreeBSD > project had something to do with devil worship. A long drawn > out argument ensued but core being core got their way. Core > then started claiming Beastie wasn't a logo, he was a mascot > and that it why we needed a logo (despite the fact that Beastie > has been used as a logo for years) As a > peace offering they tried the contest idea. The submissions > were so crappy they extended the contest deadline. Finally > they got a submission that they decided was OK and that "won" > the contest. The FreeBSD community was not allowed to see > the other entrants. It was your basic star chamber decision. > > Ted I always have wondered about the other entries. Surely someone has got a copy of them lying around; I (and I'm sure many others) would be quite interested to see them, if such a thing is possible. frase -------------- 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/20080604/d752c66f/attachment.pgp From dkelly at hiwaay.net Wed Jun 4 12:17:07 2008 From: dkelly at hiwaay.net (David Kelly) Date: Wed Jun 4 12:17:22 2008 Subject: Duplex printer advice In-Reply-To: References: Message-ID: <43742D27-BF20-4BDF-B73C-2AB6B28B1471@hiwaay.net> On Jun 4, 2008, at 4:46 AM, Ted Mittelstaedt wrote: > What part of: > > "...there was no case i found postscript to print faster...You won't > on an > HP printer, at least not an older one..." > > is not understandable? > > Let me repeat - on most HP printers PostScript IS SLOWER BECAUSE > HP DESIGNED IT THAT WAY. It is NOT slower because of some inherent > issue with PostScript itself. > > Did you know that Ghostscript is used as the Postscript engine > in a number of printers? Only in "postscript compatible" printers such as the Brother HL-5250DN. When Genuine Postscript is included it is ported to the printer by Adobe. Adobe does not allow it to be crippled as conspiracy-theory Ted claims. All genuine Postscript printers ship with similar CPUs, originally Motorola 68000 family, for this very reason. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From nicolas at nicoelro.net Wed Jun 4 12:20:09 2008 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Wed Jun 4 12:20:14 2008 Subject: use a specific php.ini for php cli Message-ID: <20080604142004.15d83a57@nogrod.nicoelro.net> Hello. I would like to know if it is possible to have another php.ini for php command line? I have a php.ini with many restrictions (open_basedir, disabled functions, etc...) used by apache (and mod_php). I would like to user another php.ini file for php command line (I don't want to have disabled functions or safe_mode for command line php). I use php5 in the port tree. Thanks for your informations. -- - Nicolas. From dkelly at hiwaay.net Wed Jun 4 12:21:33 2008 From: dkelly at hiwaay.net (David Kelly) Date: Wed Jun 4 12:21:40 2008 Subject: Duplex printer advice In-Reply-To: <20080604115338.Y27016@wojtek.tensor.gdynia.pl> References: <20080604115338.Y27016@wojtek.tensor.gdynia.pl> Message-ID: <9F46CCCB-BF6A-4DA3-8129-D0F46D37337E@hiwaay.net> On Jun 4, 2008, at 4:54 AM, Wojciech Puchar wrote: >> Did you know that Ghostscript is used as the Postscript engine >> in a number of printers? > > very possible as it's one of the best renderer available - for free. There was a PBS computer show interviewing historically important people. Believe it was the first episode interviewing Andy Hertzfeld. When the discussion rolled around to open source software Andy said someone he knew was making a very good living porting and supporting Ghostscript to embedded printers. Possibly one of the principals behind ghostscript. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From wmoran at potentialtech.com Wed Jun 4 12:32:46 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Wed Jun 4 12:32:50 2008 Subject: use a specific php.ini for php cli In-Reply-To: <20080604142004.15d83a57@nogrod.nicoelro.net> References: <20080604142004.15d83a57@nogrod.nicoelro.net> Message-ID: <20080604083159.cbaafd2c.wmoran@potentialtech.com> In response to Nicolas Letellier : > Hello. > > I would like to know if it is possible to have another php.ini for php > command line? I have a php.ini with many restrictions (open_basedir, > disabled functions, etc...) used by apache (and mod_php). > > I would like to user another php.ini file for php command line (I don't > want to have disabled functions or safe_mode for command line php). > > I use php5 in the port tree. >From 'man php': --php-ini path|file -c path|file Look for php.ini file in the directory path or use the specified file -- Bill Moran http://www.potentialtech.com From mexas at bristol.ac.uk Wed Jun 4 13:18:04 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed Jun 4 13:18:08 2008 Subject: no GNU fortran in FBSD 7.0 base system? Message-ID: <20080604131757.GA11105@mech-aslap33.men.bris.ac.uk> I just upgraded to FBSD 7.0 and tried to compile a test fortran program with the GCC fortran compiler: % gcc tmp.f90 gcc: tmp.f90: Fortran compiler not installed on this system % % gcc -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] % Do I understand correctly that with this FBSD release GCC 4.2.1 does not include the fortran compiler? Or has I missed some flag/setting during buildworld stage? Sure, I can install ports/lang/gcc42, but I thought the fortran compiler would be available in the base system. 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 928 8233 Fax: +44 (0)117 929 4423 From kris at FreeBSD.org Wed Jun 4 13:32:29 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Wed Jun 4 13:32:35 2008 Subject: no GNU fortran in FBSD 7.0 base system? In-Reply-To: <20080604131757.GA11105@mech-aslap33.men.bris.ac.uk> References: <20080604131757.GA11105@mech-aslap33.men.bris.ac.uk> Message-ID: <4846996C.1080501@FreeBSD.org> Anton Shterenlikht wrote: > I just upgraded to FBSD 7.0 and tried to compile a test fortran > program with the GCC fortran compiler: > > % gcc tmp.f90 > gcc: tmp.f90: Fortran compiler not installed on this system > % > > % gcc -v > Using built-in specs. > Target: i386-undermydesk-freebsd > Configured with: FreeBSD/i386 system compiler > Thread model: posix > gcc version 4.2.1 20070719 [FreeBSD] > % > > Do I understand correctly that with this FBSD release GCC 4.2.1 does > not include the fortran compiler? > > Or has I missed some flag/setting during buildworld stage? > > Sure, I can install ports/lang/gcc42, but I thought the fortran compiler > would be available in the base system. It was removed since fortran support is unused within FreeBSD and has become uncommon in the user community. Switching to the port should present no difficulties. Kris From quakenet1 at optusnet.com.au Wed Jun 4 14:37:36 2008 From: quakenet1 at optusnet.com.au (Jerahmy Pocott) Date: Wed Jun 4 14:37:43 2008 Subject: DVD Writer problems Message-ID: Hello, I'v been having problems getting this DVD drive working at all, I'm running on 6.3 p1.. On boot it is detected as: acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR at ata0-master UDMA33 Which is the first sign of trouble, it is connected by an ATA66 capable cable and I'v tried swapping over the cable to rule out a faulty cable and the message is the same. It is connected to: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 When trying to use burncd on it, the drives light flashes for a while then after a delay I get: acd0: FAILURE - READ_TRACK_INFO ILLEGAL REQUEST asc=0x24 ascq=0x00 On the console and any further attempt to use the drive results in that message being repeated without any delay, also trying to use the atapiscsi device results in a similar message: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 Any thoughts on what problem here is? It seems that the controller isn't working properly with it? Cheers, J. From maanjee at gmail.com Wed Jun 4 15:03:39 2008 From: maanjee at gmail.com (VeeJay) Date: Wed Jun 4 15:03:45 2008 Subject: New Kernel with Dell PE2950 Message-ID: <2cd0a0da0806040803g7eae3b2bvfb7fcf7bedd9afb8@mail.gmail.com> Hi guys I am going to install a Web Server (apache+mysql+php) at my work place. To boost performance, I am just thinking that should I configure and rebuild FreeBSD KERNEL for this hardware? And if so, what paramters I should follow? Any help would be highly appreciated. Server's hardware configuration is as follow: 2 x Quad Core Xeon E5450 3.0GHz,2x6MB,1333FSB 16GB (8x2GB Dual Rank DIMMs) 667MHz FBD 6 x 450GB SAS 15k 3.5" HD Hot Plug PERC 6/i, Integrated Controller Card x6 backplane PE2950 III C5 MSS R10 Add-in PERC 5/i / 6/i 1 S TCP/IP Offload Engine 2P Broadcom TCP/IP Offload Engine functionality (TOE) Not Enabled Thank you guys. VJ BR / vj From jcigar at ulb.ac.be Wed Jun 4 15:06:28 2008 From: jcigar at ulb.ac.be (Julien Cigar) Date: Wed Jun 4 15:06:32 2008 Subject: DVD Writer problems In-Reply-To: References: Message-ID: <1212599661.2609.6.camel@frodon.be-bif.ulb.ac.be> I have also this problem on almost all my machines .. the only solution I found is to disable DMA (atapi_dma), but then performances are very poor .. If you find a solution please let us know :) On Wed, 2008-06-04 at 19:13 +1000, Jerahmy Pocott wrote: > Hello, > > I'v been having problems getting this DVD drive working at all, I'm > running on 6.3 p1.. > > On boot it is detected as: > acd0: DMA limited to UDMA33, controller found non-ATA66 cable > acd0: DVDR at ata0-master UDMA33 > > Which is the first sign of trouble, it is connected by an ATA66 > capable cable and I'v tried swapping over the cable to rule out a > faulty cable and the message is the same. > > It is connected to: > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device > 31.1 on pci0 > ata0: on atapci0 > ata1: on atapci0 > > > When trying to use burncd on it, the drives light flashes for a while > then after a delay I get: > acd0: FAILURE - READ_TRACK_INFO ILLEGAL REQUEST asc=0x24 ascq=0x00 > > On the console and any further attempt to use the drive results in > that message being repeated without any delay, also trying to use the > atapiscsi device results in a similar message: > acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 > > > Any thoughts on what problem here is? It seems that the controller > isn't working properly with it? > > Cheers, > J. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Universit? Libre de Bruxelles (ULB) Campus de la Plaine CP 257 B?timent NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entr?e ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 From chuckr at telenix.org Wed Jun 4 15:47:30 2008 From: chuckr at telenix.org (Chuck Robey) Date: Wed Jun 4 15:47:34 2008 Subject: git In-Reply-To: <87bq2i3s0l.fsf@kobe.laptop> References: <48458DFC.9020004@telenix.org> <87y75m3sfy.fsf@kobe.laptop> <87bq2i3s0l.fsf@kobe.laptop> Message-ID: <4846B6DA.4070402@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Giorgos Keramidas wrote: > On Wed, 04 Jun 2008 04:22:09 +0300, Giorgos Keramidas wrote: >> On Tue, 03 Jun 2008 14:31:24 -0400, Chuck Robey wrote: >>> Wonder if anyone could tell me why anything I do to run git-pull gives me a >>> coredump? The image that gets dumped is git-fetch, if that helps, and I was >>> just trying to update the xorg source tree. >> Hi Chuck, >> Something is obviously broken in Git 1.5.5. My installation from Ports >> core dumps pretty fast too: >> >> keramida@kobe:/home/keramida/git/erc$ git fetch >> Segmentation fault: 11 (core dumped) >> keramida@kobe:/home/keramida/git/erc$ > [...] >> Are you also running with option 'J' enabled in `malloc.conf'? > > Verified. Setting malloc.conf options to 'aj', lets git-fetch run > without crashing: I moved the discussion to hackers, take a look over there for more info, I don't think it's malloc, and I think I've proved at least part of my case. > > : root@kobe:/etc# ln -fs aj malloc.conf > : root@kobe:/etc# > : > : keramida@kobe:/home/keramida/git/erc$ git-fetch > : keramida@kobe:/home/keramida/git/erc$ > > : root@kobe:/etc# ln -fs AJ malloc.conf > : root@kobe:/etc# > : > : keramida@kobe:/home/keramida/git/erc$ git-fetch > : Segmentation fault: 11 (core dumped) > : keramida@kobe:/home/keramida/git/erc$ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRrbaz62J6PPcoOkRAnD+AJsFPoO9okMslbl9PMN8g22qlYzGVwCeIIwX q0iQ6ZVYE4O60iIaKtngknI= =vKAo -----END PGP SIGNATURE----- From prad at towardsfreedom.com Wed Jun 4 15:51:15 2008 From: prad at towardsfreedom.com (prad) Date: Wed Jun 4 15:51:21 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: References: <20080603090611.09512ba3@gom.home> Message-ID: <20080604085016.0eab7aee@gom.home> On Wed, 4 Jun 2008 01:45:57 -0700 "Ted Mittelstaedt" wrote: > if the FreeBSD > project had something to do with devil worship > devil worship and os! amazing!! i had read something along these lines some years ago when we were using linux or may be openbsd, but i sort of thought it was a joke. evidently, some people don't know the difference between a daemon and the demon. no doubt they are already possessed. thanks for the background, ted. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From kevin at kevinkempterllc.com Wed Jun 4 16:18:18 2008 From: kevin at kevinkempterllc.com (kevin kempter) Date: Wed Jun 4 16:18:23 2008 Subject: freeBSD7 in a vm (vmware fusion) - Shared object "lib.so.6" not found Message-ID: Hi All; This seems to be more of a lib not found than a vm issue: I've done this: 1) installed freeBSD 7 in vmware fusion (v 1.1.3) 2) selected to install vmware tools from the menu 3) logged into the console as root 4) mounted the vmware virtual cd 5) copied the vmware tools tar.gz file to /tmp 6) expanded the vmware tools tar.gz file in /tmp 7) cd to the new vmware-toold-distrib dir and ran ./vmware-install.pl Then I get this: Before running VMware Tools for the first time you need to configure it by invoking the following command: "/usr/local/bin/vmware-config- tools.pl". Do you want this program to invoke the command for you now? [yes] /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, required by "vmware-checkvm" /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, required by "vmware-checkvm" /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, required by "vmware-checkvm" This configuration program is to be executed in a virtual machine. Execution aborted. I also tried starting KDE and in a Konsole terminal window (as root) running /usr/local/bin/vmware-config-tools.pl and I get the same results Anyone have any thoughts? Thanks in advance... From djdexter at gmail.com Wed Jun 4 16:47:10 2008 From: djdexter at gmail.com (dex) Date: Wed Jun 4 16:47:23 2008 Subject: freeBSD7 in a vm (vmware fusion) - Shared object "lib.so.6" not found In-Reply-To: References: Message-ID: On Jun 4, 2008, at 12:18 PM, kevin kempter wrote: > Hi All; > This seems to be more of a lib not found than a vm issue: > I've done this: > 1) installed freeBSD 7 in vmware fusion (v 1.1.3) > 2) selected to install vmware tools from the menu > 3) logged into the console as root > 4) mounted the vmware virtual cd > 5) copied the vmware tools tar.gz file to /tmp > 6) expanded the vmware tools tar.gz file in /tmp > 7) cd to the new vmware-toold-distrib dir and ran ./vmware-install.pl > Then I get this: > Before running VMware Tools for the first time you need to > configure it by invoking the following command: "/usr/local/bin/ > vmware-config-tools.pl". Do you want this program to invoke the > command for you now? [yes] > > /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, > required by "vmware-checkvm" > /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, > required by "vmware-checkvm" > /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, > required by "vmware-checkvm" > This configuration program is to be executed in a virtual machine. > Execution aborted. > > I also tried starting KDE and in a Konsole terminal window (as > root) running /usr/local/bin/vmware-config-tools.pl and I get the > same results Try using the port vmware-guestd. It worked good for me. From kevin at kevinkempterllc.com Wed Jun 4 16:48:20 2008 From: kevin at kevinkempterllc.com (kevin kempter) Date: Wed Jun 4 16:48:26 2008 Subject: freeBSD7 in a vm (vmware fusion) - Shared object "lib.so.6" not found In-Reply-To: References: Message-ID: <38CCCAA8-03AF-4425-869A-252D9E87CE35@kevinkempterllc.com> On Jun 4, 2008, at 10:22 AM, dex wrote: > On Jun 4, 2008, at 12:18 PM, kevin kempter wrote: >> Hi All; >> This seems to be more of a lib not found than a vm issue: >> I've done this: >> 1) installed freeBSD 7 in vmware fusion (v 1.1.3) >> 2) selected to install vmware tools from the menu >> 3) logged into the console as root >> 4) mounted the vmware virtual cd >> 5) copied the vmware tools tar.gz file to /tmp >> 6) expanded the vmware tools tar.gz file in /tmp >> 7) cd to the new vmware-toold-distrib dir and ran ./vmware-install.pl >> Then I get this: >> Before running VMware Tools for the first time you need to >> configure it by invoking the following command: "/usr/local/bin/ >> vmware-config-tools.pl". Do you want this program to invoke the >> command for you now? [yes] >> >> /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, >> required by "vmware-checkvm" >> /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, >> required by "vmware-checkvm" >> /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, >> required by "vmware-checkvm" >> This configuration program is to be executed in a virtual machine. >> Execution aborted. >> >> I also tried starting KDE and in a Konsole terminal window (as >> root) running /usr/local/bin/vmware-config-tools.pl and I get the >> same results > > Try using the port vmware-guestd. It worked good for me. I'm pretty new to freeBSD. Is port a system command? If I run port at the root prompt I get "port: Command not found" or is is a port that needs to be compiled somewhere in /usr/ports ? Thx in advance From djdexter at gmail.com Wed Jun 4 16:58:50 2008 From: djdexter at gmail.com (dex) Date: Wed Jun 4 16:58:56 2008 Subject: freeBSD7 in a vm (vmware fusion) - Shared object "lib.so.6" not found In-Reply-To: <38CCCAA8-03AF-4425-869A-252D9E87CE35@kevinkempterllc.com> References: <38CCCAA8-03AF-4425-869A-252D9E87CE35@kevinkempterllc.com> Message-ID: <13272A3D-F1D3-4B99-B35D-CB9219A47C81@gmail.com> On Jun 4, 2008, at 12:48 PM, kevin kempter wrote: > On Jun 4, 2008, at 10:22 AM, dex wrote: >> Try using the port vmware-guestd. It worked good for me. > > I'm pretty new to freeBSD. > > Is port a system command? If I run port at the root prompt I get > "port: Command not found" > or is is a port that needs to be compiled somewhere in /usr/ports ? RTFM dude! ;) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html And Google is (as usual) also your friend, http://www.google.com/search?&q=freebsd+ports From sonicy at otenet.gr Wed Jun 4 17:04:33 2008 From: sonicy at otenet.gr (Manolis Kiagias) Date: Wed Jun 4 17:04:42 2008 Subject: freeBSD7 in a vm (vmware fusion) - Shared object "lib.so.6" not found In-Reply-To: References: Message-ID: <4846CB1E.3060107@otenet.gr> kevin kempter wrote: > Hi All; > > This seems to be more of a lib not found than a vm issue: > > > I've done this: > > 1) installed freeBSD 7 in vmware fusion (v 1.1.3) > > 2) selected to install vmware tools from the menu > > 3) logged into the console as root > > 4) mounted the vmware virtual cd > > 5) copied the vmware tools tar.gz file to /tmp > > 6) expanded the vmware tools tar.gz file in /tmp > > 7) cd to the new vmware-toold-distrib dir and ran ./vmware-install.pl > > Then I get this: > > > > Before running VMware Tools for the first time you need to configure > it by invoking the following command: > "/usr/local/bin/vmware-config-tools.pl". Do you want this program to > invoke the command for you now? [yes] > > > > /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, required > by "vmware-checkvm" > > /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, required > by "vmware-checkvm" > > /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, required > by "vmware-checkvm" > > This configuration program is to be executed in a virtual machine. > > > > Execution aborted. > > > > > > I also tried starting KDE and in a Konsole terminal window (as root) > running /usr/local/bin/vmware-config-tools.pl and I get the same results > > > > > > Anyone have any thoughts? > > > > Thanks in advance... > > > Funny thing, I was doing the same steps today in vmware workstation ;) Had the same problems, and the following is the solution: Install the compat6x port. Seems the vmware tools are for the 6.X version of FreeBSD, not native 7. As root: cd /usr/ports/misc/compat6x make install clean Also, create the following symbolic link (This is where vmware searches for the library): ln -s /usr/local/lib/compat/libc.so.6 /lib From catalin at starcomms.com Wed Jun 4 17:52:25 2008 From: catalin at starcomms.com (Catalin Miclaus) Date: Wed Jun 4 17:52:29 2008 Subject: New Kernel with Dell PE2950 In-Reply-To: <2cd0a0da0806040803g7eae3b2bvfb7fcf7bedd9afb8@mail.gmail.com> References: <2cd0a0da0806040803g7eae3b2bvfb7fcf7bedd9afb8@mail.gmail.com> Message-ID: <3A0AA7018522134597ED63B3B794C92A020ECE7D@STA-HQ-S001.starcomms.local> -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of VeeJay Sent: Wednesday, June 04, 2008 4:04 PM To: FreeBSD-Questions; VeeJay Subject: New Kernel with Dell PE2950 Hi guys I am going to install a Web Server (apache+mysql+php) at my work place. To boost performance, I am just thinking that should I configure and rebuild FreeBSD KERNEL for this hardware? And if so, what paramters I should follow? Any help would be highly appreciated. Server's hardware configuration is as follow: 2 x Quad Core Xeon E5450 3.0GHz,2x6MB,1333FSB 16GB (8x2GB Dual Rank DIMMs) 667MHz FBD 6 x 450GB SAS 15k 3.5" HD Hot Plug PERC 6/i, Integrated Controller Card x6 backplane PE2950 III C5 MSS R10 Add-in PERC 5/i / 6/i 1 S TCP/IP Offload Engine 2P Broadcom TCP/IP Offload Engine functionality (TOE) Not Enabled Thank you guys. VJ BR / vj You should start by using some sort of benchmark or traffic generator and trying to overload the server by reproducing your environment. This way you will see exactly what parameters needs tuning. Bottleneck can come from many things....IO, NIC, database and so on. It is not like you will apply some universal tuning that it will solve all future issues. BTW....bce/bge drivers has known issues that leads to 'watchdog timeout' NIC reset. I have same some 6-8 servers with your hardware configuration and we have ordered them with Intel Gigabit cards especially to avoid above issue. Use bce/bge NICs for low traffic interfaces if possible. Is there any reason why GENERIC/SMP kernel does not suits you well? What is your traffic expectation for the server? Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. _______________________________________________ freebsd-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 smartt.com Wed Jun 4 17:58:10 2008 From: chris at smartt.com (Chris St Denis) Date: Wed Jun 4 17:58:18 2008 Subject: 7.0-R freezes with: swap_pager: indefinite wait buffer: bufobj In-Reply-To: <20080604010508.H11818@wojtek.tensor.gdynia.pl> References: <48441E85.1050803@eyb.de> <484442F1.8040104@FreeBSD.org> <4845B280.6030708@eyb.de> <20080604010508.H11818@wojtek.tensor.gdynia.pl> Message-ID: <4846D7BA.9000403@smartt.com> I've been getting this in the logs recently on a 6.2 system. No stability issues, but it is concerning. swap_pager: indefinite wait buffer: bufobj: 0, blkno: 93, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 183, size: 4096 The server has always been under heavy load, but the load isn't any higher lately. And I'm only using like 1324K of swap so it's not like I'm heavily swapping. It's running off an adaptec based raid and arcconf says it's fine. Wojciech Puchar wrote: >> Hi, >> >> the SMART-status looks ok! >> >> SMART overall-health self-assessment test result: PASSED >> >> Maybe other applications causes high I/O load? > > no reason to fail. > >> Howto determine this? Other suggestions? >> >> >> Cheers, >> Oskar >> >> >> Kris Kennaway schrieb am 02.06.2008 20:58: >>> Oskar Eyb wrote: >>>> Hello, >>>> >>>> on a 7.0-RELEASE maschine I have now again a big problem with >>>> freezing. >>>> >>>> >>>> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388449, size: >>>> 4096 >>>> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388452, size: >>>> 20480 >>>> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 387805, size: >>>> 16384 >>>> >>>> >>>> # swapctl -l >>>> Device: 1024-blocks Used: >>>> /dev/mirror/gm0s1b 1048576 485332 >>>> /dev/md0 1048576 485316 >>>> >>>> >>>> What to do against this, is there a patch available? >>> >>> Your disk is taking an enormously long time to reply to swap I/O, >>> which is what is eventually timing out with those errors. Check >>> that it is not failing. >>> >>> Kris >>> _______________________________________________ >>> freebsd-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" -- Chris St Denis Programmer SmarttNet (www.smartt.com) Ph: 604-473-9700 Ext. 200 ------------------------------------------- "Smart Internet Solutions For Businesses" From d.hill at yournetplus.com Wed Jun 4 18:06:24 2008 From: d.hill at yournetplus.com (D Hill) Date: Wed Jun 4 18:06:28 2008 Subject: New Kernel with Dell PE2950 In-Reply-To: <3A0AA7018522134597ED63B3B794C92A020ECE7D@STA-HQ-S001.starcomms.local> References: <2cd0a0da0806040803g7eae3b2bvfb7fcf7bedd9afb8@mail.gmail.com> <3A0AA7018522134597ED63B3B794C92A020ECE7D@STA-HQ-S001.starcomms.local> Message-ID: On Wed, 4 Jun 2008 at 18:44 +0100, catalin@starcomms.com confabulated: > BTW....bce/bge drivers has known issues that leads to 'watchdog timeout' > NIC reset. > I have same some 6-8 servers with your hardware configuration and we > have ordered them with Intel Gigabit cards especially to avoid above > issue. > Use bce/bge NICs for low traffic interfaces if possible. How can I see what you are referring to with the bge interfaces? We have a PE6850 that has two bge interfaces. The server's roll is a spam filter server and processes close to 6.5 million messages per day. However, I don't have the watchdog daemon running. From stevefranks at ieee.org Wed Jun 4 18:25:43 2008 From: stevefranks at ieee.org (Steve Franks) Date: Wed Jun 4 18:25:51 2008 Subject: intrusion? find is thrashing my disk every time I boot. Message-ID: <539c60b90806041125s6b2fc0cbqbba52225d27e4583@mail.gmail.com> I'm really no security expert. I don't leave the system up 24/7, and I'm on a US DSL connection with a bunch of windows boxes. Seems to be a recent phenomena, I've started experiencing disk thrashing I can hear across the room. ps and top report cvslockd has been responsible for the thrashing (which usually occurs at a specific time of day (~1 am MST)), but now, find is doing the thrashing at boot every time (within the last week at least). Needless to say, I haven't changed the system in any way during that week. On windows, I'd just assume this to be normal behavior, but on FreeBSD, it's got me worried... I presume the security section of the manual has a good into to detecting intruders, but first I'm interested if there is a legitimate reason for find to be torturing my disk. I don't run much on my system - apache, cvs, portsnap, ssh, that's about it. Thanks, Steve From kline at thought.org Wed Jun 4 18:58:45 2008 From: kline at thought.org (Gary Kline) Date: Wed Jun 4 18:58:50 2008 Subject: Stumped:: web HTML. Caution, may be OT. In-Reply-To: <64c038660806032134m387ee47as314318d2720d7206@mail.gmail.com> References: <20080529065732.GA36261@thought.org> <4a89d1190805290039k1f2dedb1he342b4a83d7453a6@mail.gmail.com> <200805291305.22567.kline@thought.org> <20080529220536.GA39115@melon.esperance-linux.co.uk> <20080530023902.GF62524@thought.org> <20080530204950.GA43574@melon.esperance-linux.co.uk> <20080531042858.GA23329@thought.org> <867idbc9at.fsf@riemann.mri.ernet.in> <1212269582.13063.96.camel@localhost> <64c038660806032134m387ee47as314318d2720d7206@mail.gmail.com> Message-ID: <20080604185839.GB21286@thought.org> On Tue, Jun 03, 2008 at 10:34:26PM -0600, Modulok wrote: > > looks like what i need NOW is a debugger, :-) i have virtually > > zero design skills .... except "keep it simple" > > To quote Albert Einstein, "Everything should be made as simple as possible, but > not simpler". > > > As far as editors and such, I personally write all of my code in a text editor, > regardless of the language. I have used hand-written code in a text editor to > implement websites for multi-million dollar companies. Ironically enough, I'm a > visual effects artist. > > Anyway, I think I have likely gotten off topic myself and haven't contributed > much to solving your original problem. Enough rambling out of me for now. Best > of luck, Gary. > > -Modulok- A day or two ago I found a site that offers free templates. most use javascript--which I can hack, or *discard*!--; all of these will give me some ideas to change my "www" and other pages. And hold to my Keep-It-Simple philosophy. I have virtually zero design talent, so tht forces to to rip off other's creativity and mold it into something that works for me. gary PS: I'll fess up; my present homepage was based on something I saw circa 1998 or '99. .... -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From tomas.dej at gmail.com Wed Jun 4 19:38:41 2008 From: tomas.dej at gmail.com (triggerme2ice) Date: Wed Jun 4 19:38:44 2008 Subject: Help Installing Sun JDK on FreeBSD In-Reply-To: <4846562D.1030801@unsane.co.uk> References: <17628876.post@talk.nabble.com> <4846562D.1030801@unsane.co.uk> Message-ID: <17654891.post@talk.nabble.com> I am currently in the process of updating the ports tree... something i didn't know about earlier :clap: We will see how the java installation will go... i will keep you posted :) Vince Hoffman wrote: > > triggerme2ice wrote: >> Hi all, >> >> I was wondering if anyone would know of a brute force way of installing >> the >> (newest possible) sun JDK on FreeBSD 5.0 (or any other versions for >> further >> info) >> >> Help a freeBSD user in need :teeth: > > The latest version in ports is 1.6.0.3p4 if you need more receent than > that then no idea. If thats ok then > cd /usr/port/java/jdk16 > make > Follow the instructions > > Also see http://www.freebsd.org/java/ > 5.x has just been announce as no longer supported by ports though, > although support wont be removed, just not updated and checked as > changes are made. > > You will need a current jdk to compile it though and need to get the > source files manually. To get a jdk to compile it I'd recommend > installing the package from > http://www.freebsdfoundation.org/downloads/java.shtml > Although you could install one of the linux-sun-jdk* ports if you > prefer. you can pkg_delete the old jdk once you have the new one > installed. > > > Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/Help-Installing-Sun-JDK-on-FreeBSD-tp17628876p17654891.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jerrymc at msu.edu Wed Jun 4 19:39:11 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Jun 4 19:39:16 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <20080604115449.GA1070@bacardi> References: <20080603090611.09512ba3@gom.home> <20080604115449.GA1070@bacardi> Message-ID: <20080604193449.GB70289@gizmo.acns.msu.edu> On Wed, Jun 04, 2008 at 09:54:50PM +1000, Fraser Tweedale wrote: > On Wed, Jun 04, 2008 at 01:45:57AM -0700, Ted Mittelstaedt wrote: > > [snip] > > The issue started several years ago when one of the core > > developers started agitating for a different graphic. Apparently > > he had been asked too many times for his taste if the FreeBSD > > project had something to do with devil worship. A long drawn > > out argument ensued but core being core got their way. Core > > then started claiming Beastie wasn't a logo, he was a mascot > > and that it why we needed a logo (despite the fact that Beastie > > has been used as a logo for years) As a > > peace offering they tried the contest idea. The submissions > > were so crappy they extended the contest deadline. Finally > > they got a submission that they decided was OK and that "won" > > the contest. The FreeBSD community was not allowed to see > > the other entrants. It was your basic star chamber decision. > > > > Ted > > I always have wondered about the other entries. Surely someone > has got a copy of them lying around; I (and I'm sure many others) > would be quite interested to see them, if such a thing is possible. Probably you really don't want to see them. Ted's narrative is pretty much how I remember it. Maybe everyone should make their own and use it. FreeBSD is a user created Open Software project after all. ////jerry > > frase From eculp at encontacto.net Wed Jun 4 20:03:42 2008 From: eculp at encontacto.net (eculp) Date: Wed Jun 4 20:03:47 2008 Subject: Realtek ALC268 HDA sound and mixer only have output/playback and no way to input to a Mic, etc. Message-ID: <20080604150329.54484eei4g0fcum8@intranet.encontacto.net> Realtek ALC268 HDA sound and mixer only have output/playback and no way to input to a Mic, etc. It is on an acer aspire 5520-5679 AMD 64x2 that I'm running up to date current8 AMD64 on. pciconf -lv shows: pcm0@pci0:0:7:0: class=0x040300 card=0x01261025 chip=0x055c10de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' class = multimedia # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Installed devices: pcm0: at memory 0xf2680000 irq 21 kld snd_hda [20080420_0052] [MPSAFE] (1p:2v/1r:1v channels duplex default) and the verbose dmesg can be seen at http://encontacto.net/SHARE/dmesg.txt I need to use it for skype and it isn't possible. Any suggestions appreciated. I have also tried OSS without any success at all. With OSS and skype-devel I get "problem with audio playback" in addition to the microphone not working. With Youtube.com oss just locks up firefox on playback. ossinfo doesn't show the microphone, either. http://encontacto.net/SHARE/ossinfo.aspire.txt Thanks to all, ed From eculp at encontacto.net Wed Jun 4 20:10:07 2008 From: eculp at encontacto.net (eculp) Date: Wed Jun 4 20:10:12 2008 Subject: Help Installing Sun JDK on FreeBSD In-Reply-To: <17654891.post@talk.nabble.com> References: <17628876.post@talk.nabble.com> <4846562D.1030801@unsane.co.uk> <17654891.post@talk.nabble.com> Message-ID: <20080604150955.76546zx857ljncm8@intranet.encontacto.net> Quoting triggerme2ice : > > I am currently in the process of updating the ports tree... something i > didn't know about earlier :clap: > > We will see how the java installation will go... i will keep you posted :) > Thanks a lot, I guess that I have to have it to build openoffice. ed > > > Vince Hoffman wrote: >> >> triggerme2ice wrote: >>> Hi all, >>> >>> I was wondering if anyone would know of a brute force way of installing >>> the >>> (newest possible) sun JDK on FreeBSD 5.0 (or any other versions for >>> further >>> info) >>> >>> Help a freeBSD user in need :teeth: >> >> The latest version in ports is 1.6.0.3p4 if you need more receent than >> that then no idea. If thats ok then >> cd /usr/port/java/jdk16 >> make >> Follow the instructions >> >> Also see http://www.freebsd.org/java/ >> 5.x has just been announce as no longer supported by ports though, >> although support wont be removed, just not updated and checked as >> changes are made. >> >> You will need a current jdk to compile it though and need to get the >> source files manually. To get a jdk to compile it I'd recommend >> installing the package from >> http://www.freebsdfoundation.org/downloads/java.shtml >> Although you could install one of the linux-sun-jdk* ports if you >> prefer. you can pkg_delete the old jdk once you have the new one >> installed. >> >> >> Vince >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > > -- > View this message in context: > http://www.nabble.com/Help-Installing-Sun-JDK-on-FreeBSD-tp17628876p17654891.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From catalin at starcomms.com Wed Jun 4 20:19:33 2008 From: catalin at starcomms.com (Catalin Miclaus) Date: Wed Jun 4 20:19:36 2008 Subject: New Kernel with Dell PE2950 In-Reply-To: References: <2cd0a0da0806040803g7eae3b2bvfb7fcf7bedd9afb8@mail.gmail.com> <3A0AA7018522134597ED63B3B794C92A020ECE7D@STA-HQ-S001.starcomms.local> Message-ID: <3A0AA7018522134597ED63B3B794C92A020ECF02@STA-HQ-S001.starcomms.local> -----Original Message----- From: D Hill [mailto:d.hill@yournetplus.com] Sent: Wednesday, June 04, 2008 7:06 PM To: Catalin Miclaus Cc: FreeBSD-Questions Subject: RE: New Kernel with Dell PE2950 On Wed, 4 Jun 2008 at 18:44 +0100, catalin@starcomms.com confabulated: > BTW....bce/bge drivers has known issues that leads to 'watchdog timeout' > NIC reset. > I have same some 6-8 servers with your hardware configuration and we > have ordered them with Intel Gigabit cards especially to avoid above > issue. > Use bce/bge NICs for low traffic interfaces if possible. How can I see what you are referring to with the bge interfaces? We have a PE6850 that has two bge interfaces. The server's roll is a spam filter server and processes close to 6.5 million messages per day. However, I don't have the watchdog daemon running. I don't remember exactly at which bandwidth consumption level the watchdog timeout error starts appearing. Somewhere below 100Mbps. You can see it if you enable the server to e-mail you the default daily security report or from /var/log/messages file. Jan 4 08:46:00 lb1 kernel: bge1: watchdog timeout -- resetting Jan 4 08:46:00 lb1 kernel: bge1: link state changed to DOWN Jan 4 08:46:02 lb1 kernel: bge1: link state changed to UP BTW....watchdog is a kernel facility and it is enabled by default. You can run a separate process if you want to control it (man watchdog). Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. From jeffrey at goldmark.org Wed Jun 4 20:33:50 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Wed Jun 4 20:33:54 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <20080604193449.GB70289@gizmo.acns.msu.edu> References: <20080603090611.09512ba3@gom.home> <20080604115449.GA1070@bacardi> <20080604193449.GB70289@gizmo.acns.msu.edu> Message-ID: <91206750-00B5-4EB4-AC28-DA88191A00CC@goldmark.org> On Jun 4, 2008, at 2:34 PM, Jerry McAllister wrote: > Maybe everyone should make their own and use it. > FreeBSD is a user created Open Software project after all. I used to have a "Powered by FreeBSD" button with the BSDie on a mailing list server that I'd set up for the PTA for my daughter's school in Texas. I figured that I could handle any complaints or questions that I got about it. But then I heard one of the teachers explain to other staff that if she ever was shopping and the final price of items totaled up to $6.66 she would make sure to add another item so that she wouldn't have to be part of a transaction involving 666. (I guess she never would have been a customer of Demon Internet in the UK which started out with the telephone prefix for their dial-up pool being 666). At that point, I decided that my problem wouldn't be with responding to complaints and queries, but the problem would be with the people who never complained directly to me, but who shunned the service or complained about me. So now there is just a text link without the button. Whether you want to call this self-censorship or not, I think that I made the right decision. In the same way that when I volunteer at the school, I don't where controversial T-Shirts. (Though who would have thought that my "Friends don't let friends use Windows" shirt would cause complaints!) So I agree with your point. If you like the old BSDie, use it. If you like the new logo, use that. If you want something else, you are free to roll your own. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From keramida at freebsd.org Wed Jun 4 21:05:38 2008 From: keramida at freebsd.org (Giorgos Keramidas) Date: Wed Jun 4 21:05:43 2008 Subject: git In-Reply-To: <4846B6DA.4070402@telenix.org> (Chuck Robey's message of "Wed, 04 Jun 2008 11:38:02 -0400") References: <48458DFC.9020004@telenix.org> <87y75m3sfy.fsf@kobe.laptop> <87bq2i3s0l.fsf@kobe.laptop> <4846B6DA.4070402@telenix.org> Message-ID: <87ve0pkjva.fsf@kobe.laptop> On Wed, 04 Jun 2008 11:38:02 -0400, Chuck Robey wrote: > Giorgos Keramidas wrote: >> On Wed, 04 Jun 2008 04:22:09 +0300, Giorgos Keramidas wrote: >>> On Tue, 03 Jun 2008 14:31:24 -0400, Chuck Robey wrote: >>>> Wonder if anyone could tell me why anything I do to run git-pull gives me a >>>> coredump? The image that gets dumped is git-fetch, if that helps, and I was >>>> just trying to update the xorg source tree. >>> Hi Chuck, >>> Something is obviously broken in Git 1.5.5. My installation from Ports >>> core dumps pretty fast too: >>> >>> keramida@kobe:/home/keramida/git/erc$ git fetch >>> Segmentation fault: 11 (core dumped) >>> keramida@kobe:/home/keramida/git/erc$ >> [...] >>> Are you also running with option 'J' enabled in `malloc.conf'? >> >> Verified. Setting malloc.conf options to 'aj', lets git-fetch run >> without crashing: > > I moved the discussion to hackers, take a look over there for more > info, I don't think it's malloc, and I think I've proved at least part > of my case. Neat. I've just read that thread, and see that it has been tracked down and fixed now :) From parish at magichamster.com Wed Jun 4 22:12:59 2008 From: parish at magichamster.com (Mark Ovens) Date: Wed Jun 4 22:13:04 2008 Subject: Effects of CPUTYPE Message-ID: <484713B6.2030503@magichamster.com> For months now I've been having ever increasing problems with software (ports) stopping working - or not working properly; xorg, digikam, jalbum, etc. The problems are the same on 6.3-STABLE and a brand new, clean install of 7.0. Searching mailing lists and Google makes me think that a lot of these problems are specific to my system. Trying to identify why I should be having all these problems I've been looking for anything that may be specific to my machine. One thing I've come up with is the fact that I have CPUTYPE?=athlon-mp in /etc/make.conf on both 6.3 and 7.0. I understand that this optimizes compilation for that CPU but can this potentially cause problems? Is this a possible cause of strange problems? All my ports are built from source rather than from packages so are built with this option. Regards, Mark From derek at computinginnovations.com Wed Jun 4 22:28:39 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Wed Jun 4 22:28:42 2008 Subject: Samba in Windows XP Error In-Reply-To: References: Message-ID: <6.0.0.22.2.20080604172611.02520c28@mail.computinginnovations.com> At 12:14 AM 6/4/2008, Ruel Luchavez wrote: >Hi ALL > >I have installed the samba package 3.0.28 in my freebsd 7.0, the >installation all goes well my problem only is when i add the >samba in an existing workgroup i can access it in my windows xp client >however if it has its own workgroup i always have this >error in windows xp pro "The network path was not found".. what would i >miss?? > >Freebsd Rocks..... Ruel, Your note doesn't say how you have windows configured? Active Directory? Domain Controller? Or? Do you have samba as a slave to the window's controller? Usually I have found this method works best. Windows user's accounts are created automatically that way on the samba box. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From phusion2k at gmail.com Wed Jun 4 22:54:52 2008 From: phusion2k at gmail.com (Phusion) Date: Wed Jun 4 22:54:56 2008 Subject: Errors with pkg_add Message-ID: I am running FreeBSD 7.0-STABLE i386 and am having problems with pkg_add. I can install packages as the root user without problems. - pkg_add -r packages, works when running as root - pkg_add -r packages, errors out when using sudo % sudo pkg_add -r openssl Error: FTP Unable to get ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/openssl.tbz: Syntax error, command unrecognized pkg_add: unable to fetch 'ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/openssl.tbz' by URL % cat /usr/local/etc/sudoers Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR" Defaults env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF" root ALL=(ALL) ALL %wheel ALL=(ALL) NOPASSWD: ALL This user is a member of the wheel group so no password is required. Both this user and root user are using the csh with the following in .cshrc. setenv PACKAGESITE ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ Let me know if you have any ideas. Thanks. Phusion From d.hill at yournetplus.com Wed Jun 4 23:15:17 2008 From: d.hill at yournetplus.com (D Hill) Date: Wed Jun 4 23:15:21 2008 Subject: vm.pmap.shpgperproc syslog messages Message-ID: I just noticed today I'm starting to get messages in ../messages stating: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. I did some searching and don't really know what is going on. I did a search using sysctl for all pmap knobs and this is what they are currently: vm.pmap.pmap_collect_active: 0 vm.pmap.pmap_collect_inactive: 0 vm.pmap.pv_entry_spare: 51310 vm.pmap.pv_entry_allocs: 67575721858 vm.pmap.pv_entry_frees: 67574088800 vm.pmap.pc_chunk_tryfail: 0 vm.pmap.pc_chunk_frees: 416252902 vm.pmap.pc_chunk_allocs: 416262928 vm.pmap.pc_chunk_count: 10026 vm.pmap.pv_entry_count: 1633059 vm.pmap.shpgperproc: 500 vm.pmap.pv_entry_max: 6125408 I did increased vm.pmap.shpgperproc to 500 from 200 and immediately saw vm.pmap.pv_entry_max increase as well. This server is a Dell PowerEdge 6850 with four 3.0Gz dual core Zeon processors and 12Gb ram. The server's only purpose is a spam filter. It is running SpamAssassin, ClamAV, Postfix and MySQL. The server is pretty memory intensive. Active memory usually doesn't drop below 8Gb. SpamAssassin usually has roughly 24 children running all the time consuming ~120Mb per child. MySQL is currently taking ~5.5Gb. Can someone shed light on what is going on or what needs to be tweaked? -d From kevin at kevinkempterllc.com Wed Jun 4 23:16:54 2008 From: kevin at kevinkempterllc.com (kevin kempter) Date: Wed Jun 4 23:16:59 2008 Subject: Vmware/Xorg blues (was: Re: freeBSD7 in a vm (vmware fusion) - Shared object "lib.so.6" not found) In-Reply-To: <4846CB1E.3060107@otenet.gr> References: <4846CB1E.3060107@otenet.gr> Message-ID: On Jun 4, 2008, at 11:04 AM, Manolis Kiagias wrote: > kevin kempter wrote: >> Hi All; >> >> This seems to be more of a lib not found than a vm issue: >> >> >> I've done this: >> >> 1) installed freeBSD 7 in vmware fusion (v 1.1.3) >> >> 2) selected to install vmware tools from the menu >> >> 3) logged into the console as root >> >> 4) mounted the vmware virtual cd >> >> 5) copied the vmware tools tar.gz file to /tmp >> >> 6) expanded the vmware tools tar.gz file in /tmp >> >> 7) cd to the new vmware-toold-distrib dir and ran ./vmware-install.pl >> >> Then I get this: >> >> >> >> Before running VMware Tools for the first time you need to >> configure it by invoking the following command: "/usr/local/bin/ >> vmware-config-tools.pl". Do you want this program to invoke the >> command for you now? [yes] >> >> >> >> /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, >> required by "vmware-checkvm" >> >> /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, >> required by "vmware-checkvm" >> >> /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, >> required by "vmware-checkvm" >> >> This configuration program is to be executed in a virtual machine. >> >> >> >> Execution aborted. >> >> >> >> >> >> I also tried starting KDE and in a Konsole terminal window (as >> root) running /usr/local/bin/vmware-config-tools.pl and I get the >> same results >> >> >> >> >> >> Anyone have any thoughts? >> >> >> >> Thanks in advance... >> >> >> > > Funny thing, I was doing the same steps today in vmware > workstation ;) Had the same problems, and the following is the > solution: > > Install the compat6x port. Seems the vmware tools are for the 6.X > version of FreeBSD, not native 7. > > As root: > > cd /usr/ports/misc/compat6x > make install clean > > Also, create the following symbolic link (This is where vmware > searches for the library): > > ln -s /usr/local/lib/compat/libc.so.6 /lib Thanks for the advice, this allowed me to install the vmware tools. I had the vm in such a state that I thought it best to start from scratch, so I did the following: 1) installed freeBSD7 into a new VM 2) Followed the steps above to install the compat6x lib and created the link to /lib 3) installed the vmware-tools 4) ran the vmware-config (/usr/local/bin/vmware-config-tools.pl) 5) installed kde via pkg_add -r kde 6) created a .xinitrc for root like this: echo "exec startkde" > ~/.xinitrc 7) tried to start kde by running startx and I get an error that the driver "vmware" in the xorg config file does not exist. I've attached the log from my attempt to start kde (Xorg.0.log) - from /var/log and my xorg.conf file (from /etc/X11) Thanks in advance for any help... /Kevin From d.hill at mwci.net Wed Jun 4 23:18:41 2008 From: d.hill at mwci.net (D Hill) Date: Wed Jun 4 23:18:45 2008 Subject: vm.pmap.shpgperproc syslog messages In-Reply-To: References: Message-ID: On Wed, 4 Jun 2008 at 23:15 -0000, d.hill@yournetplus.com confabulated: > I just noticed today I'm starting to get messages in ../messages stating: Sorry. It was actually in the dmesg report I saw the messages. > Approaching the limit on PV entries, consider increasing either the > vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. > > I did some searching and don't really know what is going on. I did a search > using sysctl for all pmap knobs and this is what they are currently: > > vm.pmap.pmap_collect_active: 0 > vm.pmap.pmap_collect_inactive: 0 > vm.pmap.pv_entry_spare: 51310 > vm.pmap.pv_entry_allocs: 67575721858 > vm.pmap.pv_entry_frees: 67574088800 > vm.pmap.pc_chunk_tryfail: 0 > vm.pmap.pc_chunk_frees: 416252902 > vm.pmap.pc_chunk_allocs: 416262928 > vm.pmap.pc_chunk_count: 10026 > vm.pmap.pv_entry_count: 1633059 > vm.pmap.shpgperproc: 500 > vm.pmap.pv_entry_max: 6125408 > > I did increased vm.pmap.shpgperproc to 500 from 200 and immediately saw > vm.pmap.pv_entry_max increase as well. > > This server is a Dell PowerEdge 6850 with four 3.0Gz dual core Zeon > processors and 12Gb ram. The server's only purpose is a spam filter. It is > running SpamAssassin, ClamAV, Postfix and MySQL. The server is pretty memory > intensive. Active memory usually doesn't drop below 8Gb. SpamAssassin usually > has roughly 24 children running all the time consuming ~120Mb per child. > MySQL is currently taking ~5.5Gb. > > Can someone shed light on what is going on or what needs to be tweaked? From prad at towardsfreedom.com Wed Jun 4 23:23:15 2008 From: prad at towardsfreedom.com (prad) Date: Wed Jun 4 23:23:20 2008 Subject: Errors with pkg_add In-Reply-To: References: Message-ID: <20080604162310.7f483ddf@gom.home> On Wed, 4 Jun 2008 17:27:09 -0500 Phusion wrote: > - pkg_add -r packages, works when running as root > - pkg_add -r packages, errors out when using sudo > i found something similar. i think this may be because the sudo only works to execute the pkg_add, but not handle subsequent matters that requires root access. i don't know if there is a way around it. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From jonc at chen.org.nz Wed Jun 4 23:24:36 2008 From: jonc at chen.org.nz (Jonathan Chen) Date: Wed Jun 4 23:24:39 2008 Subject: Effects of CPUTYPE In-Reply-To: <484713B6.2030503@magichamster.com> References: <484713B6.2030503@magichamster.com> Message-ID: <20080604232434.GA5456@osiris.chen.org.nz> On Wed, Jun 04, 2008 at 11:14:14PM +0100, Mark Ovens wrote: > Trying to identify why I should be having all these problems I've been > looking for anything that may be specific to my machine. One thing I've > come up with is the fact that I have CPUTYPE?=athlon-mp in > /etc/make.conf on both 6.3 and 7.0. In my personal opinion, the small gain you get is more than overwhelmed by the big pain you get from setting CPUTYPE. -- Jonathan Chen ---------------------------------------------------------------------- "Opportunity does not knock, it presents itself when you beat down the door" - W.E. Channing From tedm at toybox.placo.com Wed Jun 4 23:47:25 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Wed Jun 4 23:47:29 2008 Subject: Duplex printer advice In-Reply-To: <20080604060319.235a9a54@scorpio> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gerard > Sent: Wednesday, June 04, 2008 3:03 AM > To: freebsd-questions@freebsd.org > Subject: Re: Duplex printer advice > > > On Wed, 4 Jun 2008 11:01:09 +0200 (CEST) > Wojciech Puchar wrote: > > > > isn't all that hard but for some reason the printer manufacturers > > > ship these machines with very low RAM. > > > > the reason is to force you then buy high-priced RAMs for them. > > The market for printers is a very competitive one. Any manufacturer has > to factor in the cost of the base machine, plus addition components, so > as to compute a selling price that will be competitive with his > competition. A manufacturer could easily load up his product will all > the RAM he wanted; however, if he could not sell the product, or at > least a sufficient number of them to turn a profit, then that effort > would be for naught. > > Personally, I have not found the secondary RAM market to be all that > expensive anyway. If there is no need to spit out 24 sheets per minute, > then why waste the resources on it? > Obviously you never participated in a pissing contest when you were a boy... ;-) Ted From fbsd06 at mlists.homeunix.com Thu Jun 5 00:33:25 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu Jun 5 00:34:04 2008 Subject: Effects of CPUTYPE In-Reply-To: <484713B6.2030503@magichamster.com> References: <484713B6.2030503@magichamster.com> Message-ID: <20080605011632.1172a03b@gumby.homeunix.com.> On Wed, 04 Jun 2008 23:14:14 +0100 Mark Ovens wrote: > For months now I've been having ever increasing problems with > software (ports) stopping working - or not working properly; xorg, > digikam, jalbum, etc. > > ... > I understand that this optimizes compilation for that CPU but can > this potentially cause problems? Is this a possible cause of strange > problems? All my ports are built from source rather than from > packages so are built with this option. I think it's unlikely, but it's easy enough to eliminate. From the ports you mention, xorg does seem to be holding a smoking gun. If you have any unnecessary features enabled in xorg.conf, I'd turn them off. From joerosenfeld at gmail.com Thu Jun 5 00:50:09 2008 From: joerosenfeld at gmail.com (Joachim Rosenfeld) Date: Thu Jun 5 00:50:13 2008 Subject: memcached on freebsd? Message-ID: <6e5cf6a70806041750s6421505bg14de7ac4e50b47e0@mail.gmail.com> We're considering using memcached for on of our products and we are thinking of running it on FreeBSD. How well does memcached run on FreeBSD? Most of the people I've talked to and the sites online seem to run it on Linux/Intel....I talked to one person who runs it on Solaris and they are not terribly happy with the memcached+Solaris combo, so I wanted to check and make sure memcached+FreeBSD is worth it. From tedm at toybox.placo.com Thu Jun 5 01:22:34 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Thu Jun 5 01:22:38 2008 Subject: Duplex printer advice In-Reply-To: <43742D27-BF20-4BDF-B73C-2AB6B28B1471@hiwaay.net> Message-ID: > -----Original Message----- > From: David Kelly [mailto:dkelly@hiwaay.net] > Sent: Wednesday, June 04, 2008 5:16 AM > To: Ted Mittelstaedt > Cc: Chuck Robey; Wojciech Puchar; FreeBSD Questions > Subject: Re: Duplex printer advice > > > > On Jun 4, 2008, at 4:46 AM, Ted Mittelstaedt wrote: > > > What part of: > > > > "...there was no case i found postscript to print faster...You won't > > on an > > HP printer, at least not an older one..." > > > > is not understandable? > > > > Let me repeat - on most HP printers PostScript IS SLOWER BECAUSE > > HP DESIGNED IT THAT WAY. It is NOT slower because of some inherent > > issue with PostScript itself. > > > > Did you know that Ghostscript is used as the Postscript engine > > in a number of printers? > > Only in "postscript compatible" printers such as the Brother HL-5250DN. > > When Genuine Postscript is included it is ported to the printer by > Adobe. Adobe does not allow it to be crippled as conspiracy-theory Ted > claims. Nonsense. Adobe doesen't have any control over the matter. Others have already detailed the difference in speed between the HP PCL and PostScript implementations on HP Printers. I listed all of the ways that HP tries to discourage customers from buying PostScript, and encourage them to go with PCL. Most of these, such as marketing and pricing, and the amount of ram included with the base model PostScript add-on, Adobe has absolutely no control over. Adobe doesen't support their PostScript implementation in an HP Printer, HP does. And the PPDs supplied by HP are different than the ones Adobe supplies from their own website. You also forget that Microsoft went with true type rather than Adobe Type Manager, and many people have complained about the poorly implemented PostScript drivers that come standard with Windows. So not just HP but Microsoft also "cooperates/competes" with Adobe. There's more ways to tank an implementation that just failing to properly implement ie. There's many ways that tech companies have tried over the years (and succeeded at times) to sabotage their competitors. You have a very naieve view of the tech industry. > All genuine Postscript printers ship with similar CPUs, > originally Motorola 68000 family, for this very reason. > And the fact this makes it a lot easier to port has nothing to do with it......NOT! Ted From yuri at rawbw.com Thu Jun 5 02:56:41 2008 From: yuri at rawbw.com (Yuri) Date: Thu Jun 5 02:56:45 2008 Subject: ntpd hangs after a while, anyone has the same problem Message-ID: <4847501E.7020108@rawbw.com> Hi, I run current 70-STABLE and after few days ntpd stops responding queries like 'ntpq -c rv localhost' and time begins to drift. Anyone observes the same problem? Yuri From mark at foster.cc Thu Jun 5 03:13:07 2008 From: mark at foster.cc (Mark D. Foster) Date: Thu Jun 5 03:13:12 2008 Subject: memcached on freebsd? In-Reply-To: <6e5cf6a70806041750s6421505bg14de7ac4e50b47e0@mail.gmail.com> References: <6e5cf6a70806041750s6421505bg14de7ac4e50b47e0@mail.gmail.com> Message-ID: <484759BE.3050607@foster.cc> Joachim Rosenfeld wrote: > We're considering using memcached for on of our products and we are > thinking of running it on FreeBSD. > > How well does memcached run on FreeBSD? Most of the people I've talked > to and the sites online seem to run it on Linux/Intel....I talked to > one person who runs it on Solaris and they are not terribly happy with > the memcached+Solaris combo, so I wanted to check and make sure > memcached+FreeBSD is worth it. > It works fine. Go for it. -- Said one park ranger, 'There is considerable overlap between the intelligence of the smartest bears and the dumbest tourists.' Mark D. Foster, CISSP http://mark.foster.cc/ From tedm at toybox.placo.com Thu Jun 5 04:32:59 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Thu Jun 5 04:33:04 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <20080604115449.GA1070@bacardi> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Fraser Tweedale > Sent: Wednesday, June 04, 2008 4:55 AM > To: freebsd-questions@freebsd.org > Subject: Re: Looking for gurus willing to help write Freebsd tutorials > > > On Wed, Jun 04, 2008 at 01:45:57AM -0700, Ted Mittelstaedt wrote: > > [snip] > > The issue started several years ago when one of the core > > developers started agitating for a different graphic. Apparently > > he had been asked too many times for his taste if the FreeBSD > > project had something to do with devil worship. A long drawn > > out argument ensued but core being core got their way. Core > > then started claiming Beastie wasn't a logo, he was a mascot > > and that it why we needed a logo (despite the fact that Beastie > > has been used as a logo for years) As a > > peace offering they tried the contest idea. The submissions > > were so crappy they extended the contest deadline. Finally > > they got a submission that they decided was OK and that "won" > > the contest. The FreeBSD community was not allowed to see > > the other entrants. It was your basic star chamber decision. > > > > Ted > > I always have wondered about the other entries. Surely someone > has got a copy of them lying around; I (and I'm sure many others) > would be quite interested to see them, if such a thing is possible. > Start (and end) here: http://logo-contest.freebsd.org/ Ted From sonicy at otenet.gr Thu Jun 5 05:09:40 2008 From: sonicy at otenet.gr (Manolis Kiagias) Date: Thu Jun 5 05:09:45 2008 Subject: Vmware/Xorg blues In-Reply-To: References: <4846CB1E.3060107@otenet.gr> Message-ID: <4847754A.7020609@otenet.gr> kevin kempter wrote: > > On Jun 4, 2008, at 11:04 AM, Manolis Kiagias wrote: > >> kevin kempter wrote: >>> Hi All; >>> >>> This seems to be more of a lib not found than a vm issue: >>> >>> >>> I've done this: >>> >>> 1) installed freeBSD 7 in vmware fusion (v 1.1.3) >>> >>> 2) selected to install vmware tools from the menu >>> >>> 3) logged into the console as root >>> >>> 4) mounted the vmware virtual cd >>> >>> 5) copied the vmware tools tar.gz file to /tmp >>> >>> 6) expanded the vmware tools tar.gz file in /tmp >>> >>> 7) cd to the new vmware-toold-distrib dir and ran ./vmware-install.pl >>> >>> Then I get this: >>> >>> >>> >>> Before running VMware Tools for the first time you need to configure >>> it by invoking the following command: >>> "/usr/local/bin/vmware-config-tools.pl". Do you want this program to >>> invoke the command for you now? [yes] >>> >>> >>> >>> /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, >>> required by "vmware-checkvm" >>> >>> /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, >>> required by "vmware-checkvm" >>> >>> /usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, >>> required by "vmware-checkvm" >>> >>> This configuration program is to be executed in a virtual machine. >>> >>> >>> >>> Execution aborted. >>> >>> >>> >>> >>> >>> I also tried starting KDE and in a Konsole terminal window (as root) >>> running /usr/local/bin/vmware-config-tools.pl and I get the same >>> results >>> >>> >>> >>> >>> >>> Anyone have any thoughts? >>> >>> >>> >>> Thanks in advance... >>> >>> >>> >> >> Funny thing, I was doing the same steps today in vmware workstation >> ;) Had the same problems, and the following is the solution: >> >> Install the compat6x port. Seems the vmware tools are for the 6.X >> version of FreeBSD, not native 7. >> >> As root: >> >> cd /usr/ports/misc/compat6x >> make install clean >> >> Also, create the following symbolic link (This is where vmware >> searches for the library): >> >> ln -s /usr/local/lib/compat/libc.so.6 /lib > > > Thanks for the advice, this allowed me to install the vmware tools. > > I had the vm in such a state that I thought it best to start from > scratch, so I did the following: > > 1) installed freeBSD7 into a new VM > 2) Followed the steps above to install the compat6x lib and created > the link to /lib > 3) installed the vmware-tools > 4) ran the vmware-config (/usr/local/bin/vmware-config-tools.pl) > 5) installed kde via pkg_add -r kde > 6) created a .xinitrc for root like this: > echo "exec startkde" > ~/.xinitrc > 7) tried to start kde by running startx and I get an error that the > driver "vmware" in the xorg config file does not exist. > > I've attached the log from my attempt to start kde (Xorg.0.log) - from > /var/log > and my xorg.conf file (from /etc/X11) > > Thanks in advance for any help... > > /Kevin > > Ok, the xorg-vmware driver is not by default selected to be built in the xorg port, and as the pre-built packages use the default options, you are simply trying to use a driver you have not installed. As the vmware driver does not seem to exist as a package, compile it from ports: cd /usr/ports/x11-drivers/xf86-video-vmware make install clean And you should be on your way. However I would suggest you create (and possibly edit) your own xorg.conf file: X -configure (This make get you a blank screen on vmware, it does it to me everytime, in this case just ssh in from somewhere else and reboot the machine, or press CTRL+ALT+BACKSPACE and blindly type 'reboot') Test your settings with X -configure /root/xorg.conf.new Edit the file and make any necessary changes, and move it to the final location: mv /root/xorg.conf.new /etc/X11/xorg.conf You can get more info on all the above in the X11 chapter of the FreeBSD Handbook, in the configuration section: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html From tedm at toybox.placo.com Thu Jun 5 05:17:16 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Thu Jun 5 05:17:22 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: <91206750-00B5-4EB4-AC28-DA88191A00CC@goldmark.org> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Jeffrey > Goldberg > Sent: Wednesday, June 04, 2008 1:34 PM > To: Jerry McAllister > Cc: FreeBSD List > Subject: Re: Looking for gurus willing to help write Freebsd tutorials > > that I made the right decision. In the same way that when I volunteer > at the school, I don't where wear > controversial T-Shirts. (Though who > would have thought that my "Friends don't let friends use Windows" > shirt would cause complaints!) > They'd probably shit bricks if you wore this T-shirt ;-) http://www.cafepress.com/landoverbaptist.165261422 (Yes, I know) Ted From jim_dandey at yahoo.com Thu Jun 5 05:49:31 2008 From: jim_dandey at yahoo.com (james dandey) Date: Thu Jun 5 05:49:36 2008 Subject: kill suspects Message-ID: <914945.86567.qm@web62114.mail.re1.yahoo.com> The F-BEE_EYE are stealing from suspects and using gang members and corrupt police to kill those that complain. A recent story ran on 60 minutes about Chicago police but the real story was not told. This also happens in the San Fran Bay area where the cost of living is very high. From antonycurtis at verizon.net Thu Jun 5 06:37:42 2008 From: antonycurtis at verizon.net (Antony T Curtis) Date: Thu Jun 5 06:37:46 2008 Subject: FreeBSD MySQL Performance Tunning suggestions??? In-Reply-To: <2cd0a0da0806030343o68dcf30bj447d4174b93c30d2@mail.gmail.com> References: <2cd0a0da0806030343o68dcf30bj447d4174b93c30d2@mail.gmail.com> Message-ID: <1E364D6C-22D7-4DFD-AD8B-8FCDD4A57D5B@verizon.net> Hi, FreeBSD 7 should offer much better performance for MySQL. The FreeBSD kernel developers have found ways to relieve some of the kernel bottlenecks which permit multithreaded applications to operate much better. Regards, Antony. On 3 Jun 2008, at 03:43, VeeJay wrote: > Hi Guys > > I need some performance tuning suggestions/help from you. > > At my job, I am going to build a Web Server with > > 1. FreeBSD 7.0-RELEASE amd64 > 2. Apache 2.2.8 > 3. PHP 4.4.8 (or may be PHP5, what do you suggest?) > > Server's hardware configuration is as follow: > > 2 x Quad Core Xeon E5450 3.0GHz,2x6MB,1333FSB > 16GB (8x2GB Dual Rank DIMMs) 667MHz FBD > 6 x 450GB SAS 15k 3.5" HD Hot Plug > PERC 6/i, Integrated Controller Card x6 backplane > PE2950 III C5 MSS R10 Add-in PERC 5/i / 6/i 1 S > TCP/IP Offload Engine 2P > Broadcom TCP/IP Offload Engine functionality (TOE) Not Enabled > > For FreeBSD 7.0-RELEASE amd64 Which MySQL 5.0 would be used ? > 1. FreeBSD 7.x (x86_64) > or > 2. FreeBSD 6.x (x86) > > I have done some googling and made these configuration files for > Apache and > MySQL? > > Apache: > httpd.conf----------------------------------------------------- > start------------ > # ================================================= > # Basic settings > # ================================================= > ServerType standalone > ServerRoot "/usr/local/apache" > PidFile /usr/local/apache/logs/httpd.pid > ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard > ResourceConfig /dev/null > AccessConfig /dev/null > # ================================================= > # Performance settings > # ================================================= > Timeout 300 > KeepAlive On > MaxKeepAliveRequests 100 > KeepAliveTimeout 15 > MinSpareServers 5 > MaxSpareServers 10 > StartServers 5 > MaxClients 256 > MaxRequestsPerChild 0 > # ================================================= > # Apache modules > # ================================================= > ClearModuleList > AddModule mod_log_config.c > AddModule mod_mime.c > AddModule mod_dir.c > AddModule mod_access.c > AddModule mod_auth.c > AddModule mod_php4.c > AddModule mod_rewrite.c > AddModule mod_security.c > AddModule mod_setenvif.c > # ================================================= > # General settings > # ================================================= > Port 80 > User apache > Group apache > ServerAdmin adminsrv@gmail.com > UseCanonicalName Off > ServerSignature Off > HostnameLookups Off > ServerTokens Prod > > DirectoryIndex index.html > > DocumentRoot "/home/apache/www" > # ================================================= > # Access control > # ================================================= > > Options None > AllowOverride None > Order deny,allow > Deny from all > > > Order allow,deny > Allow from all > > > Order allow,deny > Allow from all > > # ================================================= > # MIME encoding > # ================================================= > > TypesConfig /usr/local/apache/conf/mime.types > > DefaultType text/plain > > AddEncoding x-compress Z > AddEncoding x-gzip gz tgz > AddType application/x-tar .tgz > AddType application/x-httpd-php .html > > # ================================================= > # Logs > # ================================================= > LogLevel warn > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i > \"" > combined > LogFormat "%h %l %u %t \"%r\" %>s %b" common > LogFormat "%{Referer}i -> %U" referer > LogFormat "%{User-agent}i" agent > ErrorLog /var/apache/logs/error_log > CustomLog /var/apache/logs/access_log combined > # ================================================= > # Virtual hosts > # ================================================= > NameVirtualHost * > > DocumentRoot "/home/apache/www/vhosts/mydomain.com/public_html" > ServerName "www.mydomain.com" > ServerAlias "mydomain.com" > ErrorLog /var/apache/logs/vhosts/mydomain.com/error_log > CustomLog /var/apache/logs/vhosts/mydomain.com/access_log > combined > > RewriteEngine on > RewriteRule ^/([a-z]{2})/index.html$ /index.html?topicid=$1 > > ErrorDocument 400 /page_error.html > ErrorDocument 401 /page_error.html > ErrorDocument 403 /page_error.html > ErrorDocument 404 /page_error.html > ErrorDocument 500 /page_error.html > > # ================================================ > # Logging GET/POST requests, defending against > # Cross-Site-Scripting (XSS) and SQL Injection attacks > # ================================================ > > AddHandler application/x-httpd-php .html > > #Turn the filtering engine On or Off > SecAuditEngine On > # Only log suspicious requests > SecAuditEngine RelevantOnly > SecAuditLog /var/apache/logs/audit_log > SecFilterScanPOST On > SecFilterEngine On > > SecFilterDefaultAction "deny,log,status:500" > SecFilter "\"" > > #generic bogus path sigs > SecFilterSelective THE_REQUEST "\.\.\./" > "id:300006,rev:1,severity:2,msg:'Bogus Path denied'" > SecFilterSelective POST_PAYLOAD "[[:space:]]+\.\.\.+\;" > "id:300007,rev:1,severity:2,msg:'Bogus Path denied'" > > #XCC:Signatures for XSS > SecFilter "/((\%3D)|(=))[^\n]*((\%3C)|<)[^\n]+((\%3E)|>)" > > #XCC:Regex for simple CSS attack > SecFilter "/((\%3C)|<)((\%2F)|\/)*[a-z0-9\%]+((\%3E)|>)/ix" > > #XCC:Regex for " #SecFilter > "/((\%3C)|<)((\%69)|i|(\%49))((\%6D)|m|(\%4D))((\%67)|g|(\%47))[^\n]+ > ((\%3E)|>)/i" > > #XCC:Paranoid regex for CSS attacks > SecFilter "/((\%3C)|<)[^\n]+((\%3E)|>)/i" > > #SQL:Regex for detection of SQL meta-characters > SecFilter "/(\%27)|(\')|(\-\-)|(\%23)|(#)/ix" > > #SQL:Modified regex for detection of SQL meta-characters > #SecFilter "/((\%3D)|(=))[^\n]*((\%27)|(\')|(\-\-)|(\%3B)| > (;))/i" > > #SQL:Regex for typical SQL Injection attack > SecFilter "/\w*((\%27)|(\'))((\%6F)|o|(\%4F))((\%72)|r|(\ > %52))/ix" > > #SQL:Regex for detecting SQL Injection with the > UNION,SELECT,UPDATE,DELETE,DROP,GRANT keyword > SecFilter "/((\%27)|(\'))union/ix" > SecFilter "/((\%27)|(\'))select/ix" > SecFilter "/((\%27)|(\'))insert/ix" > SecFilter "/((\%27)|(\'))update/ix" > SecFilter "/((\%27)|(\'))delete/ix" > SecFilter "/((\%27)|(\'))drop/ix" > SecFilter "/((\%27)|(\'))grant/ix" > > #PHP defenses > SecFilterSelective ARG_PHPSESSID "!^[0-9a-z]*$" > SecFilterSelective ARGS_NAMES "^(globals($|\[)|php:/)" > SecFilterSelective COOKIE_PHPSESSID "!^[0-9a-z]*$" > SecFilterSelective COOKIE_sessionid "!^[0-9a-z\.]*$" > > #Generic PHP payload command injection and upload > vulnerabilities > SecFilterSelective POST_PAYLOAD "<\?php" chain > SecFilter > "((fputs|fread)\(.*\,.*\)\;|fsockopen\(gethostbyname|chr\(.*\)\.chr\ > (.*\)\.chr\(|(fclose|fgets)\(.*\)\;|(system|exec)\(.*\)\;)" > chain > SecFilter "\<\?php" > > > Apache: > httpd.conf----------------------------------------------------- > end-------- > > > MySQL: > my.cnf------------------------------------------------------------ > start-------- > > # The following options will be passed to all MySQL clients > [client] > #password = your_password > port = 3306 > socket = /tmp/mysql.sock > #ng below 1 line > default-character-set=utf8 > # Here follows entries for some specific programs > # The MySQL server > [mysqld] > port = 3306 > socket = /tmp/mysql.sock > skip-locking > skip-networking > skip-name-resolve > server-id=1 > #2008-02-10 > max_connections=499 > interactive_timeout=100 > wait_timeout=100 > connect_timeout=10 > thread_cache_size=256 > connect_timeout=10 > myisam_sort_buffer_size=32M > key_buffer=16M > join_buffer=3M > record_buffer=3M > sort_buffer=5M > table_cache=1024 > #- > # increase until threads_created doesnt grow anymore > thread_cache=512 > query_cache_type=1 > query_cache_limit=2M > query_cache_size=64M > # Try number of CPU's*2 for thread_concurrency > thread_concurrency=4 > set-variable=local-infile=0 > #ng below 5 lines > init_connect='SET collation_connection = utf8_unicode_ci' > init_connect='SET NAMES utf8' > default-character-set=utf8 > character-set-server=utf8 > collation-server=utf8_unicode_ci > #NG: new variables for fulltext search: > ft_min_word_len=2 > ft_max_word_len=15 > > # Replication Master Server (default) > # binary logging is required for replication > log-bin=mysql-bin > # required unique id between 1 and 2^32 - 1 > # defaults to 1 if master-host is not set > # but will not function as a master if omitted > server-id = 1 > [mysqldump] > quick > max_allowed_packet = 16M > [mysql] > no-auto-rehash > #ng below 1 line > default-character-set=utf8 > [isamchk] > key_buffer = 256M > sort_buffer_size = 256M > read_buffer = 2M > write_buffer = 2M > [myisamchk] > key_buffer = 256M > sort_buffer_size = 256M > read_buffer = 2M > write_buffer = 2M > [mysqlhotcopy] > interactive-timeout > > MySQL: > my.cnf-------------------------------------------------------------end > > > Is there something you can tune? > > Regards > > -- > Thanks! > > BR / vj From parish at magichamster.com Thu Jun 5 09:46:52 2008 From: parish at magichamster.com (Mark Ovens) Date: Thu Jun 5 09:46:58 2008 Subject: Effects of CPUTYPE In-Reply-To: <20080604232434.GA5456@osiris.chen.org.nz> References: <484713B6.2030503@magichamster.com> <20080604232434.GA5456@osiris.chen.org.nz> Message-ID: <4665.213.1.249.253.1212659193.squirrel@postbag.localdomain> On Thu, June 5, 2008 00:24, Jonathan Chen wrote: > In my personal opinion, the small gain you get is more than > overwhelmed by the big pain you get from setting CPUTYPE. Thanks Jonathan. I think I'll reinstall my 7.0 system from scratch and install the apps from packages rather than build from ports and see if that solves the problems. The thing is that the main "serious" use for this box is managing my digital photos - over 12GB of them - and it is getting increasingly difficult with the apps I choose to use becoming unreliable. I've really got to the point where I'm considering switching to Linux as I've tried Mandriva and all the apps I use that I'm having problems with on FreeBSD work just fine under Linux. I don't want to switch - I've been using FreeBSD for ~13 years (since 2.0.5) but since I ditched Windows nearly 2 years ago I need reliability. Regards, Mark From mark at lightflowinterrupted.com Thu Jun 5 09:58:13 2008 From: mark at lightflowinterrupted.com (Mark) Date: Thu Jun 5 09:58:18 2008 Subject: Missing characters in /var/log/messages - hardware fault? Message-ID: <019a01c8c6f2$550b5350$f001a8c0@asgard.movesmountains.com> Hi, I'm seeing missing characters in /var/log/messages after kernel panics on a brand new box with a fresh install of 7.0-RELEASE. Typical lines are: May 30 0:14:53 odin2008 savecore: rebot after panic: age fault May 3 10:14:3 odin2008 savecore: wrting core to vmcore.0 Does this imply a hardware fault? Fsck is not showing any problems with the disks. Any help appreciated - I need to know whether I should just send the box back or not! Yours, Mark From 1 at movesmountains.com Thu Jun 5 10:02:02 2008 From: 1 at movesmountains.com (1@movesmountains.com) Date: Thu Jun 5 10:02:09 2008 Subject: Query on kgdb output Message-ID: <019b01c8c6f2$ddc7e730$f001a8c0@asgard.movesmountains.com> Hi, I'm seeing regular kernel panics on my new box with a fresh install of 7.0-RELEASE. I'm trying to get some information out of kgdb by following the instructions in the handbook - however, I'm getting a 'cannot access memory' message when I try it: odin2008# kgdb kernel.debug /var/crash/vmcore.1 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] 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". Cannot access memory at address 0x2fd9 (kgdb) where #0 0x00000000 in ?? () (kgdb) quit Am I doing something wrong, or does this point to a hardware failure? (I'm also seeing missing characters in /var/log/messages, which I addressed in a separate mail; not sure if it's related). Any help appreciated! Yours, Mark From scrappy at hub.org Thu Jun 5 05:35:38 2008 From: scrappy at hub.org (Marc G. Fournier) Date: Thu Jun 5 11:10:35 2008 Subject: BSDstats: May Statistics - 23 998 Hosts Reported In Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 As of June 5th, 2008, the project is seeing 23 998 hosts reporting in, with a break down as follows: PC-BSD 14 715 hosts FreeBSD 6 331 hosts DesktopBSD 2 662 hosts NetBSD 108 hosts MirBSD 68 hosts OpenBSD 59 hosts DragonFly 27 hosts MidnightBSD 22 hosts GNU/kFreeBSD 6 hosts We currently have hosts being reported in from 121 countries, with the top 10 being: United States 5 639 Russian Federation 1 653 Germany 1 489 Australia 1 314 Brazil 1 242 Japan 1 004 France 823 United Kingdom 822 Ukraine 790 Canada 747 Project URL: http://www.bsdstats.org Project Objective: "The mission of this site is to compile semi-accurate numbers for advocacy and marketing of the *BSD operating systems." PC-BSD, to the best of our knowledge, is the only one that defaults to enabled, while the rest have to be enabled manually. For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to set things up. If you aren't participating, we very much encourage you to start ... the report script is a shell script, so you can scan it to figure out what, exactly, is being sent in .. and there is only one level of reporting that is required, and that is Operating System + Version ... Device and Ports reporting are 100% optional ... For those that are participating ... once more, thank you ... and spread the word, we need more ... Thanks to the folks at PC-BSD, we have a new PHP programmer that will be working with Antony Mawer towards cleaning up / finishing some of the outstanding areas of the web site, so expect to see some improvements in statistics reporting over the next few weeks. If you have any questions, please feel free to email me ... - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhHeiAACgkQ4QvfyHIvDvN9RACcCcuRMnTeEhOz4XlJMcVRBm7U X1cAoOGk6ZvG3ab5DVpjKeIEokSEwlYY =cC+C -----END PGP SIGNATURE----- From iaccounts at ibctech.ca Thu Jun 5 12:19:59 2008 From: iaccounts at ibctech.ca (Steve Bertrand) Date: Thu Jun 5 12:20:07 2008 Subject: Jails and IPv6 Message-ID: <4847DA6E.7050304@ibctech.ca> Hi everyone, Through all the information I've read (and after testing for myself), it appears as though IPv6 is still not possible inside of a jail. Is this correct? Is there any way that this can be accomplished? Regards, Steve From d.hill at yournetplus.com Thu Jun 5 12:31:18 2008 From: d.hill at yournetplus.com (D Hill) Date: Thu Jun 5 12:31:26 2008 Subject: vm.pmap.shpgperproc syslog messages In-Reply-To: <200806042346.m54NkgaE031774@casselton.net> References: <200806042346.m54NkgaE031774@casselton.net> Message-ID: On Wed, 4 Jun 2008 at 18:46 -0500, tinguely@casselton.net confabulated: >> I just noticed today I'm starting to get messages in ../messages stating: >> >> Approaching the limit on PV entries, consider increasing either the >> vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. >> >> I did some searching and don't really know what is going on. I did a >> search using sysctl for all pmap knobs and this is what they are >> currently: >> >> vm.pmap.pmap_collect_active: 0 >> vm.pmap.pmap_collect_inactive: 0 >> vm.pmap.pv_entry_spare: 51310 >> vm.pmap.pv_entry_allocs: 67575721858 >> vm.pmap.pv_entry_frees: 67574088800 >> vm.pmap.pc_chunk_tryfail: 0 >> vm.pmap.pc_chunk_frees: 416252902 >> vm.pmap.pc_chunk_allocs: 416262928 >> vm.pmap.pc_chunk_count: 10026 >> vm.pmap.pv_entry_count: 1633059 >> vm.pmap.shpgperproc: 500 >> vm.pmap.pv_entry_max: 6125408 >> >> I did increased vm.pmap.shpgperproc to 500 from 200 and immediately saw >> vm.pmap.pv_entry_max increase as well. >> >> This server is a Dell PowerEdge 6850 with four 3.0Gz dual core Zeon >> processors and 12Gb ram. The server's only purpose is a spam filter. It is >> running SpamAssassin, ClamAV, Postfix and MySQL. The server is pretty >> memory intensive. Active memory usually doesn't drop below 8Gb. >> SpamAssassin usually has roughly 24 children running all the time >> consuming ~120Mb per child. MySQL is currently taking ~5.5Gb. >> >> Can someone shed light on what is going on or what needs to be tweaked? > > pv_entry are entries that are used to keep track of which processes are > sharing a physical page. > > pv_entry are allocated in groups (chunks to fill a page) - 168 for the AMD64. > > The more RAM and processes that you have, the more probably that the pages > are shared in multiple processes and more pv_entrys are needed. > > It looks like you are well below the pv_entry_max with shpgperproc at 500. I figured out what was going on when the messages hit the ../messages log. I have a cronjob that executes a MySQL script to optimize tables. It was during that time when the syslog messages were logged. Since increasing vm.pmap.shpgperproc yesterday, I haven't seen anything in the logs. Thanks for the response. From mexas at bristol.ac.uk Thu Jun 5 13:21:11 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Jun 5 13:21:16 2008 Subject: size of executable - g95 vs gfortran42 - shared libs? Message-ID: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> I use two different fortran90 compiler on a simple input file and get executables which differ in size by almost 3 orders of magnitude, see below. Is this something to do with the use of shared libraries? % gfortran42 tmp.f90 % ls -al a.out -rwxr-xr-x 1 9179 5 Jun 14:15 a.out % g95 tmp.f90 % ls -al a.out -rwxr-xr-x 1 546413 5 Jun 14:15 a.out % The program results seem to be identical. 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 928 8233 Fax: +44 (0)117 929 4423 From thoellri at adobe.com Thu Jun 5 13:29:48 2008 From: thoellri at adobe.com (Tobias Hoellrich) Date: Thu Jun 5 13:29:54 2008 Subject: size of executable - g95 vs gfortran42 - shared libs? In-Reply-To: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> References: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > Anton Shterenlikht > Sent: Thursday, June 05, 2008 7:21 AM > To: freebsd-questions@freebsd.org > Subject: size of executable - g95 vs gfortran42 - shared libs? > > I use two different fortran90 compiler on a simple input file > and get executables which differ in size by almost 3 orders of > magnitude, see below. Is this something to do with the use > of shared libraries? > > % gfortran42 tmp.f90 > % ls -al a.out > -rwxr-xr-x 1 9179 5 Jun 14:15 a.out > % g95 tmp.f90 > % ls -al a.out > -rwxr-xr-x 1 546413 5 Jun 14:15 a.out > % > > The program results seem to be identical. > > many thanks > anton Run "file" and "ldd" on the executables to see the difference: [root@santafe ~]# file `which ls` /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 8.0 (800038), dynamically linked (uses shared libs), FreeBSD-style, stripped [root@santafe ~]# ldd `which ls` /bin/ls: libutil.so.7 => /lib/libutil.so.7 (0x28082000) libncurses.so.7 => /lib/libncurses.so.7 (0x28090000) libc.so.7 => /lib/libc.so.7 (0x280cf000) [root@santafe ~]# Hope this helps Tobias From kris at FreeBSD.org Thu Jun 5 13:31:23 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Jun 5 13:31:30 2008 Subject: size of executable - g95 vs gfortran42 - shared libs? In-Reply-To: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> References: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> Message-ID: <4847EAAC.1000303@FreeBSD.org> Anton Shterenlikht wrote: > I use two different fortran90 compiler on a simple input file > and get executables which differ in size by almost 3 orders of > magnitude, see below. Is this something to do with the use > of shared libraries? You tell us :) What does file tell you? Kris > > % gfortran42 tmp.f90 > % ls -al a.out > -rwxr-xr-x 1 9179 5 Jun 14:15 a.out > % g95 tmp.f90 > % ls -al a.out > -rwxr-xr-x 1 546413 5 Jun 14:15 a.out > % > > The program results seem to be identical. > > many thanks > anton > From urandomdev at gmail.com Thu Jun 5 13:35:13 2008 From: urandomdev at gmail.com (Simon Jolle) Date: Thu Jun 5 13:35:24 2008 Subject: list files in FreeBSD ports tree package Message-ID: <648d054e0806050635p4418aba5r567ef1ebca951ca2@mail.gmail.com> Hi FreeBSD users I am searching for something similar to Red Hat's "rpm -q -l package" and Debian's "dpkg -L package". cheers Simon -- XMPP: sjolle@swissjabber.org From matthias.apitz at oclc.org Thu Jun 5 13:44:27 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Thu Jun 5 13:44:31 2008 Subject: list files in FreeBSD ports tree package In-Reply-To: <648d054e0806050635p4418aba5r567ef1ebca951ca2@mail.gmail.com> References: <648d054e0806050635p4418aba5r567ef1ebca951ca2@mail.gmail.com> Message-ID: <20080605134424.GA15772@rebelion.Sisis.de> El d?a Thursday, June 05, 2008 a las 03:35:01PM +0200, Simon Jolle escribi?: > Hi FreeBSD users > > I am searching for something similar to Red Hat's "rpm -q -l package" > and Debian's "dpkg -L package". > > cheers > Simon Don't know nothing about Red Hat or Debian, but how about $ pkg_info -L stardict-2.4.8_5 or even $ man pkg_info HIH matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ ?...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 mexas at bristol.ac.uk Thu Jun 5 13:50:26 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Jun 5 13:50:34 2008 Subject: size of executable - g95 vs gfortran42 - shared libs? In-Reply-To: References: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> Message-ID: <20080605135015.GA52233@mech-aslap33.men.bris.ac.uk> On Thu, Jun 05, 2008 at 06:29:35AM -0700, Tobias Hoellrich wrote: > > > > I use two different fortran90 compiler on a simple input file > > and get executables which differ in size by almost 3 orders of > > magnitude, see below. Is this something to do with the use > > of shared libraries? > > Run "file" and "ldd" on the executables to see the difference: > > [root@santafe ~]# file `which ls` > /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), > for FreeBSD 8.0 (800038), dynamically linked (uses shared libs), > FreeBSD-style, stripped > > [root@santafe ~]# ldd `which ls` > /bin/ls: > libutil.so.7 => /lib/libutil.so.7 (0x28082000) > libncurses.so.7 => /lib/libncurses.so.7 (0x28090000) > libc.so.7 => /lib/libc.so.7 (0x280cf000) > [root@santafe ~]# Many thanks, the ldd resuts differ, but how does this translate into size? % ls -al *out -rwxr-xr-x 1 mexas wheel 546413 5 Jun 14:39 g95.out -rwxr-xr-x 1 mexas wheel 9179 5 Jun 14:39 gf42.out % file *out g95.out: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 7.0 (700109), dynamically linked (uses shared libs), FreeBSD-style, not stripped gf42.out: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 7.0 (700109), dynamically linked (uses shared libs), FreeBSD-style, not stripped % ldd *.out g95.out: libm.so.5 => /lib/libm.so.5 (0x280c5000) libc.so.7 => /lib/libc.so.7 (0x280db000) gf42.out: libgfortran.so.2 => /usr/local/lib/gcc-4.2.4/libgfortran.so.2 (0x2807e000) libm.so.5 => /lib/libm.so.5 (0x28103000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28119000) libc.so.7 => /lib/libc.so.7 (0x28124000) % -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From seb.morand at gmail.com Thu Jun 5 13:57:51 2008 From: seb.morand at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Morand?=) Date: Thu Jun 5 13:57:57 2008 Subject: size of executable - g95 vs gfortran42 - shared libs? In-Reply-To: <20080605135015.GA52233@mech-aslap33.men.bris.ac.uk> References: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> <20080605135015.GA52233@mech-aslap33.men.bris.ac.uk> Message-ID: <16d3abd60806050657p7669b92fu485ae027e3e2ba4@mail.gmail.com> > % ldd *.out > g95.out: > libm.so.5 => /lib/libm.so.5 (0x280c5000) > libc.so.7 => /lib/libc.so.7 (0x280db000) > gf42.out: > libgfortran.so.2 => /usr/local/lib/gcc-4.2.4/libgfortran.so.2 (0x2807e000) > libm.so.5 => /lib/libm.so.5 (0x28103000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28119000) > libc.so.7 => /lib/libc.so.7 (0x28124000) > % In the first one the library fortran is directly included in your exec file, so the file is bigger. It looks like you have only a static version of the g95 installed, and then the library is included in the final program From kris at FreeBSD.org Thu Jun 5 14:07:24 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Jun 5 14:07:27 2008 Subject: size of executable - g95 vs gfortran42 - shared libs? In-Reply-To: <20080605135015.GA52233@mech-aslap33.men.bris.ac.uk> References: <20080605132106.GA51988@mech-aslap33.men.bris.ac.uk> <20080605135015.GA52233@mech-aslap33.men.bris.ac.uk> Message-ID: <4847F31B.7090404@FreeBSD.org> Anton Shterenlikht wrote: > On Thu, Jun 05, 2008 at 06:29:35AM -0700, Tobias Hoellrich wrote: >>> I use two different fortran90 compiler on a simple input file >>> and get executables which differ in size by almost 3 orders of >>> magnitude, see below. Is this something to do with the use >>> of shared libraries? >> Run "file" and "ldd" on the executables to see the difference: >> >> [root@santafe ~]# file `which ls` >> /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), >> for FreeBSD 8.0 (800038), dynamically linked (uses shared libs), >> FreeBSD-style, stripped >> >> [root@santafe ~]# ldd `which ls` >> /bin/ls: >> libutil.so.7 => /lib/libutil.so.7 (0x28082000) >> libncurses.so.7 => /lib/libncurses.so.7 (0x28090000) >> libc.so.7 => /lib/libc.so.7 (0x280cf000) >> [root@santafe ~]# > > Many thanks, the ldd resuts differ, > but how does this translate into size? > > % ls -al *out > -rwxr-xr-x 1 mexas wheel 546413 5 Jun 14:39 g95.out > -rwxr-xr-x 1 mexas wheel 9179 5 Jun 14:39 gf42.out > > % file *out > g95.out: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), > for FreeBSD 7.0 (700109), dynamically linked (uses shared libs), > FreeBSD-style, not stripped > > gf42.out: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), > for FreeBSD 7.0 (700109), dynamically linked (uses shared libs), > FreeBSD-style, not stripped Both files have debugging symbols enabled. You can remove these with strip, at the cost of not being able to use gdb to obtain backtraces if you run into a bug. > % ldd *.out > g95.out: > libm.so.5 => /lib/libm.so.5 (0x280c5000) > libc.so.7 => /lib/libc.so.7 (0x280db000) ^-- this one doesn't link to a dynamic fortran library, so it is presumably statically linked, explaining the size. Look into how the file was constructed (e.g. the command used to link the binary). > gf42.out: > libgfortran.so.2 => /usr/local/lib/gcc-4.2.4/libgfortran.so.2 (0x2807e000) > libm.so.5 => /lib/libm.so.5 (0x28103000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28119000) > libc.so.7 => /lib/libc.so.7 (0x28124000) > % > Kris From urandomdev at gmail.com Thu Jun 5 14:09:08 2008 From: urandomdev at gmail.com (Simon Jolle) Date: Thu Jun 5 14:09:15 2008 Subject: list files in FreeBSD ports tree package In-Reply-To: <20080605134424.GA15772@rebelion.Sisis.de> References: <648d054e0806050635p4418aba5r567ef1ebca951ca2@mail.gmail.com> <20080605134424.GA15772@rebelion.Sisis.de> Message-ID: <648d054e0806050709s6c249ddev6ad2892012e48614@mail.gmail.com> On 6/5/08, Matthias Apitz wrote: > Don't know nothing about Red Hat or Debian, but how about > > $ pkg_info -L stardict-2.4.8_5 > > or even > > $ man pkg_info > > HIH > > matthias Thank you Matthias -- XMPP: sjolle@swissjabber.org From camiloreyes82 at yahoo.com Thu Jun 5 14:38:06 2008 From: camiloreyes82 at yahoo.com (Camilo Reyes) Date: Thu Jun 5 14:38:13 2008 Subject: freebsd-questions Digest, Vol 218, Issue 8 Message-ID: <318223.44820.qm@web63901.mail.re1.yahoo.com> Simply upgrade your kernel. I believe there is an upgrade guide on the release notes: http://freebsd.org/releases/6.3R/announce.html ?Camilo "Bono Vince Malum" > ------------------------------ > > Message: 23 > Date: Wed, 04 Jun 2008 09:28:29 +0100 > From: Vince Hoffman > Subject: Re: any news? 3945 ABG driver! > To: Long Story > Cc: freebsd-questions@freebsd.org > Message-ID: <4846522D.1050806@unsane.co.uk> > Content-Type: text/plain; charset=windows-1252 > > Long Story wrote: > > Hi Vince! > >? > >? > >? The (rtfm) advice it might exist in 7.0R which I didnot install or upgrade to > Yet, > >? ? Im using PC-BSD which is 6.3-R > >? and I think i need to do the driver manualy, any info ? > >? or i _have_ to go for 7.0-R for this driver to work ? > > As its not in 6.3 (sorry didnt think to check if it was before > answering,) you could give it a go manually. > http://www.clearchain.com/wiki/Wpi is the maintainers website for it but > as its down at the moment, I'm not sure what the status of it on 6.x > > In 7.x its in the distro though. > > > > Vince > > >? > >? Thanks. > >? > >? Marwan.> Date: Tue, 3 Jun 2008 16:42:40 +0100> From: jhary@unsane.co.uk> To: > dead_line@hotmail.com> CC: freebsd-questions@freebsd.org> Subject: Re: any news? > 3945 ABG driver!> > Long Story wrote:> > Hello Gurus,> > > > Well, any good news > or working drivers for wireless 3945ABG ?> > for 7.0-R or 6.3-R ?> > Can anyone > kindly provide any useful information ?> > > > man wpi ;)> > (sorry to rtfm you > but the man page explains it better than I could)> > Vince> > > THANK YOU> > > Marwan.> > _________________________________________________________________> > > It?s easy to add contacts from Facebook and other social sites through Windows > Live? Messenger. Learn how.> > > https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow_______________________________________________> > > freebsd-questions@freebsd.org mailing list> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions> > To unsubscribe, > send any mail to "freebsd-questions-unsubscribe@freebsd.org"> > > _________________________________________________________________ > > Instantly invite friends from Facebook and other social networks to join you > on Windows Live? Messenger. > > > https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends_______________________________________________ > > freebsd-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 Thu Jun 5 14:38:58 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Jun 5 14:39:09 2008 Subject: intrusion? find is thrashing my disk every time I boot. In-Reply-To: <539c60b90806041125s6b2fc0cbqbba52225d27e4583@mail.gmail.com> (Steve Franks's message of "Wed\, 4 Jun 2008 11\:25\:41 -0700") References: <539c60b90806041125s6b2fc0cbqbba52225d27e4583@mail.gmail.com> Message-ID: <447id4rlof.fsf@be-well.ilk.org> "Steve Franks" writes: > I'm really no security expert. I don't leave the system up 24/7, and > I'm on a US DSL connection with a bunch of windows boxes. > > Seems to be a recent phenomena, I've started experiencing disk > thrashing I can hear across the room. ps and top report cvslockd has > been responsible for the thrashing (which usually occurs at a specific > time of day (~1 am MST)), but now, find is doing the thrashing at boot > every time (within the last week at least). Needless to say, I > haven't changed the system in any way during that week. On windows, > I'd just assume this to be normal behavior, but on FreeBSD, it's got > me worried... > > I presume the security section of the manual has a good into to > detecting intruders, but first I'm interested if there is a legitimate > reason for find to be torturing my disk. I don't run much on my > system - apache, cvs, portsnap, ssh, that's about it. That's not really so little. I would tend to doubt it's a security issue, but tracking it down is still a good idea. You should be able to see what user is running the find, using ps(1), and that might give a clue to what the purpose is (but probably not; it'll probably turn out to be root). Once you've tried that, you could use sockstat(1) to track down what file the find operation is dumping into. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From jerrymc at msu.edu Thu Jun 5 14:48:59 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Jun 5 14:49:04 2008 Subject: Looking for gurus willing to help write Freebsd tutorials In-Reply-To: References: <91206750-00B5-4EB4-AC28-DA88191A00CC@goldmark.org> Message-ID: <20080605144430.GA73878@gizmo.acns.msu.edu> On Wed, Jun 04, 2008 at 10:18:26PM -0700, Ted Mittelstaedt wrote: > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Jeffrey > > Goldberg > > Sent: Wednesday, June 04, 2008 1:34 PM > > To: Jerry McAllister > > Cc: FreeBSD List > > Subject: Re: Looking for gurus willing to help write Freebsd tutorials > > > > that I made the right decision. In the same way that when I volunteer > > at the school, I don't where > > wear > > > controversial T-Shirts. (Though who > > would have thought that my "Friends don't let friends use Windows" > > shirt would cause complaints!) > > > > They'd probably shit bricks if you wore this T-shirt ;-) > > http://www.cafepress.com/landoverbaptist.165261422 > I've seen that one around - I think at church, actually. Then again, my congregation is in Michigan, not Alabama or Mississippi. I'd get one for myself, but they are too expensive. ////jerry > > (Yes, I know) > > Ted > _______________________________________________ > freebsd-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 Thu Jun 5 14:51:50 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Jun 5 14:51:52 2008 Subject: Errors with pkg_add In-Reply-To: (Phusion's message of "Wed\, 4 Jun 2008 17\:27\:09 -0500") References: Message-ID: <443ansrl2y.fsf@be-well.ilk.org> Phusion writes: > I am running FreeBSD 7.0-STABLE i386 and am having problems with > pkg_add. I can install packages as the root user without problems. > > - pkg_add -r packages, works when running as root > - pkg_add -r packages, errors out when using sudo > > % sudo pkg_add -r openssl > Error: FTP Unable to get > ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/openssl.tbz: > Syntax error, command unrecognized > pkg_add: unable to fetch > 'ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/openssl.tbz' > by URL > > % cat /usr/local/etc/sudoers > Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR > PACKAGEROOT PACKAGESITE PKGDIR" > Defaults env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES > PKGTOOLS_CONF" > root ALL=(ALL) ALL > %wheel ALL=(ALL) NOPASSWD: ALL > > This user is a member of the wheel group so no password is required. > Both this user and root user are using the csh with the following in > .cshrc. > > setenv PACKAGESITE > ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ > > Let me know if you have any ideas. Thanks. sudo may not be setting up the environment correctly. I seem to recall it recently changed defaults to wiping out more of the caller's environment than had previously been the case. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From cptsalek at gmail.com Thu Jun 5 15:30:20 2008 From: cptsalek at gmail.com (Christian Walther) Date: Thu Jun 5 15:30:26 2008 Subject: intrusion? find is thrashing my disk every time I boot. In-Reply-To: <539c60b90806041125s6b2fc0cbqbba52225d27e4583@mail.gmail.com> References: <539c60b90806041125s6b2fc0cbqbba52225d27e4583@mail.gmail.com> Message-ID: <14989d6e0806050830l44b2c0f0jb6816a40b077d110@mail.gmail.com> 2008/6/4 Steve Franks : > I'm really no security expert. I don't leave the system up 24/7, and > I'm on a US DSL connection with a bunch of windows boxes. > > Seems to be a recent phenomena, I've started experiencing disk > thrashing I can hear across the room. ps and top report cvslockd has > been responsible for the thrashing (which usually occurs at a specific > time of day (~1 am MST)), but now, find is doing the thrashing at boot > every time (within the last week at least). Needless to say, I > haven't changed the system in any way during that week. On windows, > I'd just assume this to be normal behavior, but on FreeBSD, it's got > me worried... > I doubt that this is a security issue, but I think you've a silent filesystem corruption. Best thing to do would be to boot to single user and check all filesystems manually to make sure that there isn't anything that goes unnoticed. HTH Christian From schiz0phrenic21 at gmail.com Thu Jun 5 16:15:46 2008 From: schiz0phrenic21 at gmail.com (Schiz0) Date: Thu Jun 5 16:15:49 2008 Subject: Upgrading Kernel on a Remote Server Message-ID: <8d23ec860806050915k2acd6b4byd9382260dbc96235@mail.gmail.com> Hey, I recently ordered a FreeBSD server from a hosting company. This would be the first time I do not have physical access to a FreeBSD system. I'm looking for any hints/tricks/suggestions for managing and upgrading it safely (as in, not locking myself out or having boot errors). The host does not offer KVM/IP or serial port access. The host is installing 6.3-RELEASE. I'd like to upgrade to 7.0-RELEASE, as well as compile in some kernel options for various things. What's the best way to do this on a remote system, minimizing compiling a bad kernel and causing it not to boot? I wouldn't have access to single user mode or anything. Thanks for any suggestions/help/etc, ~Steve From chris at sigd.net Thu Jun 5 16:17:19 2008 From: chris at sigd.net (Chris Haulmark) Date: Thu Jun 5 16:17:21 2008 Subject: Example uses of bsnmp-ucd? Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC2211C094C8@ms05.mailstreet2003.net> Hello, I have discovered that bsnmp-ucd provides the ability to monitor FreeBSD by gathering memory, load average, cpu usage and other system statistics. I wonder if anyone else have any examples of how they graph those statistics? I am currently using cacti and it seems difficult for me to create a template to gather those gathered data. I am looking for help. Chris From pedro.alves00000 at lycos.com Thu Jun 5 16:16:21 2008 From: pedro.alves00000 at lycos.com (pedro alves) Date: Thu Jun 5 16:27:51 2008 Subject: problems compiling Abiword and almost any Gtk app to FreeBSD 6.2: fusefs-kmod Message-ID: <20080602091509.HM.0000000000001PV@pedro.alves00000.bos-mail-wwl17.lycos.com> Hello I am running FreeBSD 6.2-release on a Thinkpad600. I am trying to build a decent workstation for my work (text editing and minor plain web browsing). I do cvs updates weekly of the ports. However recently I found that I can't build abiword or gnumeric or any other gtk2 app, because I get the following an error compiling fusefs-kmod. ==> fusefs-kmod-0.3.9.p1.20080208_1 requires the userland sources to be installed. Set SRC_BASE if it not in /usr/src. Well I have source files installed (sysinstall->Distribution->source->sys & base.). However no change ... I get always the same error using MAKE INSTALL CLEAN or PORTINSTALL. Can some one provide an easy to understand method to sold this annoying problem. Thanks. PS: I am an newbie user of FreeBSD. From millenia2000 at hotmail.com Thu Jun 5 16:35:44 2008 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Thu Jun 5 16:35:50 2008 Subject: Upgrading Kernel on a Remote Server In-Reply-To: <8d23ec860806050915k2acd6b4byd9382260dbc96235@mail.gmail.com> References: <8d23ec860806050915k2acd6b4byd9382260dbc96235@mail.gmail.com> Message-ID: > Date: Thu, 5 Jun 2008 12:15:44 -0400 > From: schiz0phrenic21@gmail.com > To: Freebsd-questions@freebsd.org > CC: > Subject: Upgrading Kernel on a Remote Server > > Hey, > > I recently ordered a FreeBSD server from a hosting company. This would > be the first time I do not have physical access to a FreeBSD system. > I'm looking for any hints/tricks/suggestions for managing and > upgrading it safely (as in, not locking myself out or having boot > errors). The host does not offer KVM/IP or serial port access. > > The host is installing 6.3-RELEASE. I'd like to upgrade to > 7.0-RELEASE, as well as compile in some kernel options for various > things. What's the best way to do this on a remote system, minimizing > compiling a bad kernel and causing it not to boot? I wouldn't have > access to single user mode or anything. > > Thanks for any suggestions/help/etc, > ~Steve do you have control of the whole box? most places I know that have online hosting like that run you inside a jail as a VPS style system. to answer your original comments, I would say to contact their tech support department and see if you can coordinate with them to have it upgraded to 7.0. If they dont support it, then you are going to be on your own with the install and may have to have them reimage it if you get a bad install. Some places will be willing to do a local base install for your or at least help get over any hurdles with upgrading. -Sean From jerrymc at msu.edu Thu Jun 5 16:38:47 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Jun 5 16:38:56 2008 Subject: Upgrading Kernel on a Remote Server In-Reply-To: <8d23ec860806050915k2acd6b4byd9382260dbc96235@mail.gmail.com> References: <8d23ec860806050915k2acd6b4byd9382260dbc96235@mail.gmail.com> Message-ID: <20080605163424.GB74470@gizmo.acns.msu.edu> On Thu, Jun 05, 2008 at 12:15:44PM -0400, Schiz0 wrote: > Hey, > > I recently ordered a FreeBSD server from a hosting company. This would > be the first time I do not have physical access to a FreeBSD system. > I'm looking for any hints/tricks/suggestions for managing and > upgrading it safely (as in, not locking myself out or having boot > errors). The host does not offer KVM/IP or serial port access. > > The host is installing 6.3-RELEASE. I'd like to upgrade to > 7.0-RELEASE, as well as compile in some kernel options for various > things. What's the best way to do this on a remote system, minimizing > compiling a bad kernel and causing it not to boot? I wouldn't have > access to single user mode or anything. If you want 7.0, why not just ask the host to install that instead of 6.3. It can't cost them any more - may $0.50 for a CD blank. That way, you are starting off on the desired foot anyway. Of course, you should still csup to the latest source and build it and install it and csup to the latest ports and docs before you do any ports installation. I don't know about wrinkles in doing it remotely because I have always had the servers available to touch. But, as long as you don't do something to lock yourself out, then you should be OK. Hopefully others with remote experience will respond to that. ////jerry > > Thanks for any suggestions/help/etc, > ~Steve > _______________________________________________ > freebsd-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.pankov at gmail.com Thu Jun 5 16:40:05 2008 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Thu Jun 5 16:40:10 2008 Subject: problems compiling Abiword and almost any Gtk app to FreeBSD 6.2: fusefs-kmod In-Reply-To: <20080602091509.HM.0000000000001PV@pedro.alves00000.bos-mail-wwl17.lycos.com> References: <20080602091509.HM.0000000000001PV@pedro.alves00000.bos-mail-wwl17.lycos.com> Message-ID: <20080605163949.GB64942@darklight.homeunix.org> On Mon, Jun 02, 2008 at 09:15:09AM -0400, pedro alves wrote: > > Hello > I am running FreeBSD 6.2-release on a Thinkpad600. > I am trying to build a decent workstation for my work (text editing > and minor plain web browsing). > I do cvs updates weekly of the ports. > However recently I found that I can't build abiword or gnumeric or any > other gtk2 app, because I get the following an error compiling > fusefs-kmod. > ==> fusefs-kmod-0.3.9.p1.20080208_1 requires the userland sources to > be installed. Set SRC_BASE if it not in /usr/src. > Well I have source files installed > (sysinstall->Distribution->source->sys & base.). Try installing *all* sources, not just sys and base ones. > However no change ... I get always the same error using MAKE INSTALL > CLEAN or PORTINSTALL. > Can some one provide an easy to understand method to sold this > annoying problem. > Thanks. > PS: I am an newbie user of FreeBSD. HTH, Yuri From casey at phantombsd.org Thu Jun 5 17:20:26 2008 From: casey at phantombsd.org (Casey Scott) Date: Thu Jun 5 17:20:30 2008 Subject: 6.3 to 7.0 STABLE upgrade buildworld failures In-Reply-To: <16250661.191212686220557.JavaMail.root@tomcat.phantombsd.org> Message-ID: <19277425.211212686423414.JavaMail.root@tomcat.phantombsd.org> Can we no longer use "make buildworld" to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: *default host=cvsup15.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all Pretty much the same config I've always used, except the RELENG_7. I continually get errors when "make buildworld". I went back to the 6.3 source, and successfully "make buildworld". My current attempt at buildword with the 7.0 died like this: ********************************************************************* ===> usr.bin/awk (obj,build-tools) yacc -d -o awkgram.c /usr/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y yacc: 43 shift/reduce conflicts yacc: 85 reduce/reduce conflicts ln -sf awkgram.h ytab.h cc -O -pipe -DHAS_ISBLANK -I. -I/usr/src/usr.bin/awk/../../contrib/one-true-awk -DFOPEN_MAX=64 -I/usr/obj/usr/src/tmp/legacy/usr/include -L/usr/obj/usr/src/tmp/legacy/usr/lib /usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c -o maketab ===> lib/libmagic (obj,build-tools) cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic /usr/src/lib/libmagic/../../contrib/file/apprentice.c /usr/src/lib/libmagic/../../contrib/file/funcs.c /usr/src/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contrib/file/print.c ===> usr.sbin/sysinstall (obj,build-tools) cc -o rtermcap /usr/src/usr.sbin/sysinstall/rtermcap.c -ltermcap ===> gnu/usr.bin/cc/cc_tools (obj,depend,all) make: don't know how to make /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/ansidecl.h. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ********************************************************************* The previous attempt died due to a missing tconfig.h. Can anyone shed some light on this please? I can't remember ever having trouble with a buildworld before!! TIA, Casey From fernando.apesteguia at gmail.com Thu Jun 5 17:37:37 2008 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Thu Jun 5 17:37:44 2008 Subject: RTL8168/8111 PCI express support Message-ID: <1bd550a00806051037s401eceaau43d075d962b073c6@mail.gmail.com> Hi all, I got a computer with a RTL8168/8111 PCI Express nic. It is shown in pciconf but it is not seen by FreeBSD 7. I'm using i386 arch. I have re and rl drivers compiled in the kernel (stock GENERIC kernel, actually). What do I need to make the NIC work properly? I tried to compile the Realtek modified driver but I got a bunch of errors when I tried to compile it (tested up to FreeBSD 6.0 only) Does this[1] anything to do with my problem? Thanks in advance. [1]http://groups.google.com/group/mailing.freebsd.stable/browse_thread/thread/aa93c58a9353ea1c From nejc at skoberne.net Thu Jun 5 18:34:16 2008 From: nejc at skoberne.net (=?ISO-8859-2?Q?Nejc_=A9koberne?=) Date: Thu Jun 5 18:34:21 2008 Subject: HylaFAX in FreeBSD jail? Message-ID: <48482DC3.2020101@skoberne.net> Hello, anyone tried running HylaFAX in a FreeBSD jail? Does it work? Thanks, Nejc From kalin at el.net Thu Jun 5 19:07:06 2008 From: kalin at el.net (kalin m) Date: Thu Jun 5 19:07:15 2008 Subject: mfi freebsd7 In-Reply-To: <48450B08.6040806@unsane.co.uk> References: <4844293F.7020507@el.net> <484438B1.5020202@unsane.co.uk> <484441D8.8050207@el.net> <48445F45.70604@unsane.co.uk> <48448134.9080808@el.net> <484482E1.5010207@el.net> <48450B08.6040806@unsane.co.uk> Message-ID: <48483956.1060900@el.net> hi vince... thank you for the advice. i did update my ports and install the 1.01.40 version... i have the linux-base installed and the linprocfs and linsysfs mounted.. but still nothing substantial happening: # megacli -adpCount Controller Count: 0. any other ideas?! thanks... Vince Hoffman wrote: > kalin m wrote: > >> sorry for the double posting.... just to update: >> >> i installed also the linux-megamgr same result: >> Failed to open driver node /dev/megadev0 >> >> after linking megadev0 to mfi0 it can not see the version... it gets >> more and more pathetic by the minute... >> >> > > odd that it wouldnt install as it did for me just now. Is your ports > tree up to date? I'm guessing not since the latest version reference in > ports is 1.01.40 and you found and got the 1.01.09 rpm/zip > try updating your ports to the latest tree (portsnap is my method of > choice but csup works fine too :) then try > cd /usr/ports/sysutils/linux-megacli && make install clean > Be sure to pay attention to the post-install message as it tells you > about whats needed in the way of kernel modules and sysctl variables as > well as what periodic config is available. > > > We do have a server at work using the LSI Logic / Symbios Logic MegaRAID > SAS 1078 which hosts 40 VPS's running quite happily in a RAID 1+0 > config, each VPS running web/mail/ftp for a number between 1 and 100 > websites, so they seem to perform well enough, this is a linux server > though. > If you've been sold a RAID1 array i'd imagine thats what you have > unless you have reason to believe otherwise. It will appear as a singe > block device (/dev/mfid0) to the operating system though as you have see. > > > Vince > > > > >> >> >> kalin m wrote: >> >>> thanks Vince... i didnt wanted to install the linux base because a >>> lot of kids will be running some 'cool' boards or blogs that probably >>> have cool linux holes too. but just for the hell of it and for he >>> purpose to get to the controller i did. it took a while to find the >>> Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the >>> LSI site (anymore) either.. anyway after a lot of rpm downloads and >>> patching and variable changing and fs mountings i get this: >>> >>> # /usr/local/sbin/megacli -adpCount >>> ERROR:Could not detect controller. >>> >>> Controller Count: 0. >>> >>> >>> pretty neat system... >>> >>> >>> now what?! >>> >>> >>> >>> >>> Vince Hoffman wrote: >>> >>>> kalin m wrote: >>>> >>>>> megarc, right... read about it.. here: >>>>> >>>>> # megarc -AllAdpInfo help >>>>> usage : >>>>> cmd -AllAdpInfo >>>>> : prints info of all cards >>>>> >>>>> >>>>> ..... ok ..... >>>>> >>>>> # megarc -AllAdpInfo >>>>> >>>>> >>>>> ********************************************************************** >>>>> MEGARC MegaRAID Configuration >>>>> Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA >>>>> >>>>> ********************************************************************** >>>>> [Note: For SATA-2, 4 and 6 channel controllers, please specify >>>>> Ch=0 Id=0..15 for specifying physical drive(Ch=channel, >>>>> Id=Target)] >>>>> >>>>> Type ? as command line arg for help >>>>> >>>>> No Adapters Found Error: No MegaRaid Found >>>>> >>>>> >>>>> ?!?!?! does that mean that there is no raid? why then the df >>>>> output? the machine is supposed to have 4 250gig SAS drives. >>>>> >>>>> >>>> Its more likely that megarc doesnt support the newer controllers >>>> which is a shame. you might have more luck with >>>> sysutils/linux-megacli since that explicitly mentions LSI MegaRAID >>>> SAS, I wish they would make the util open source though. Will mean >>>> you need the linux-base port installed and linux.ko loaded. >>>> >>>> A RAID1 config shoudl suit a busy webserver well. >>>> >>>> Vicne >>>> >>>> >>>> >>>> >>>>> thanks... >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Vince Hoffman wrote: >>>>> >>>>>> kalin m wrote: >>>>>> >>>>>>> hi all... >>>>>>> >>>>>>> a hosting facility build a new dedicated server for me and looking >>>>>>> at the dmesg i see: >>>>>>> >>>>>>> mfi0: port 0xec00-0xecff mem >>>>>>> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 >>>>>>> on pci1 >>>>>>> mfi0: Megaraid SAS driver Ver 2.00 >>>>>>> >>>>>>> for df i get: >>>>>>> Filesystem Size Used Avail Capacity Mounted on >>>>>>> /dev/mfid0s1a 496M 197M 259M 43% / >>>>>>> devfs 1.0K 1.0K 0B 100% /dev >>>>>>> /dev/mfid0s1e 496M 12K 456M 0% /tmp >>>>>>> /dev/mfid0s1f 661G 636M 608G 0% /usr >>>>>>> /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var >>>>>>> >>>>>>> >>>>>>> i asked for raid1. i cant find too much information about the mfi >>>>>>> driver. just that it works with freebsd 7. >>>>>>> >>>>>>> >>>>>> you might want to look at sysutils/megarc and possibly >>>>>> sysutils/linux-megamgr so you can more closely monitor/investigate >>>>>> your array. >>>>>> >>>>>> Vince >>>>>> >>>>>> >>>>>>> i'll keep looking but - has anybody successfully deployed >>>>>>> production servers using the LSI MegaSAS 1078 in RAID1 on a very >>>>>>> busy web server? >>>>>>> is there any loss in performance using that hardware in RAID1? >>>>>>> any performance loss in RAID1 at all? >>>>>>> >>>>>>> >>>>>>> thanks... >>>>>>> >>>>>>> _______________________________________________ >>>>>>> freebsd-questions@freebsd.org mailing list >>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>>> To unsubscribe, send any mail to >>>>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>>>>> >>>>>> _______________________________________________ >>>>>> freebsd-questions@freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>> To unsubscribe, send any mail to >>>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>>>> >>>>> _______________________________________________ >>>>> freebsd-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 dominique.goncalves at gmail.com Thu Jun 5 20:01:03 2008 From: dominique.goncalves at gmail.com (Dominique Goncalves) Date: Thu Jun 5 20:01:07 2008 Subject: 6.3 to 7.0 STABLE upgrade buildworld failures In-Reply-To: <19277425.211212686423414.JavaMail.root@tomcat.phantombsd.org> References: <16250661.191212686220557.JavaMail.root@tomcat.phantombsd.org> <19277425.211212686423414.JavaMail.root@tomcat.phantombsd.org> Message-ID: <7daacbbe0806051301y3798e4e7w15e3986a787a3471@mail.gmail.com> Hi, On Thu, Jun 5, 2008 at 7:20 PM, Casey Scott wrote: > Can we no longer use "make buildworld" to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: > > *default host=cvsup15.FreeBSD.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=RELENG_7 > *default delete use-rel-suffix > *default compress > src-all > > > Pretty much the same config I've always used, except the RELENG_7. > > I continually get errors when "make buildworld". I went back to the 6.3 source, and successfully "make buildworld". > > My current attempt at buildword with the 7.0 died like this: > ********************************************************************* > ===> usr.bin/awk (obj,build-tools) > yacc -d -o awkgram.c /usr/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y > yacc: 43 shift/reduce conflicts > yacc: 85 reduce/reduce conflicts > ln -sf awkgram.h ytab.h > cc -O -pipe -DHAS_ISBLANK -I. -I/usr/src/usr.bin/awk/../../contrib/one-true-awk -DFOPEN_MAX=64 -I/usr/obj/usr/src/tmp/legacy/usr/include -L/usr/obj/usr/src/tmp/legacy/usr/lib /usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c -o maketab > ===> lib/libmagic (obj,build-tools) > cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic /usr/src/lib/libmagic/../../contrib/file/apprentice.c /usr/src/lib/libmagic/../../contrib/file/funcs.c /usr/src/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contrib/file/print.c > ===> usr.sbin/sysinstall (obj,build-tools) > cc -o rtermcap /usr/src/usr.sbin/sysinstall/rtermcap.c -ltermcap > ===> gnu/usr.bin/cc/cc_tools (obj,depend,all) > make: don't know how to make /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/ansidecl.h. Stop > *** Error code 2 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > ********************************************************************* > > > The previous attempt died due to a missing tconfig.h. Can anyone shed some light on this please? I can't remember ever having trouble with a buildworld before!! > > TIA, > Casey > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Try to remove /usr/obj, if it still does not work run # make cleandir ; make cleandir (yes twice) And don't use "-j" with make when doing a major upgrade (6.x -> 7.x) Hope this helps Regards. -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life." From kirk at strauser.com Thu Jun 5 20:26:38 2008 From: kirk at strauser.com (Kirk Strauser) Date: Thu Jun 5 20:26:41 2008 Subject: Poor read() performance, and I can't profile it Message-ID: <200806051508.29424.kirk@strauser.com> I'm running a command (dumprecspg from my XBaseToPg project) on a FreeBSD 7 server. I've noticed that throughput on that program is a lot lower than I would have expected, and further investigation found it spending most of its time in the kernel, presumably in read() [1]. I was testing the same software on my desktop PC when I noticed that it ran *much* faster, and found that it was spending only about 1% as much time in the kernel on Linux as it was on FreeBSD. I ran a quick-and-dirty comparison of the same software on two different machines, the FreeBSD server being by far the more powerful of the two. I ran the same command on both machines from various filesystems (to rule out differences in drive performance), and posted the output of zsh's "time" command for the fastest run in each setting. The results are below. Any ideas what could be causing this horrible performance? I'm willing to try just about anything. FreeBSD on a Dell Poweredge 1600SC server: 7-STABLE from 2008-03-09 2x 2.4GHz P4 Xeon 3GB RAM Changes to /etc/make.conf: CPUTYPE?=pentium4 Kernel config: include GENERIC ident JAIL1 options PMAP_SHPGPERPROC=301 nooption SCHED_4BSD option SCHED_ULE root : Fujitsu 36GB, 10k RPM Best time: 6.37s user 9.68s system 99% cpu 16.068 total /tmp : tmpfs Best time: 6.29s user 10.88s system 99% cpu 17.194 total /fast : 4 Seagate Cheetah 36GB, 15k RPM SCSI320 drives in RAID-0 with gstripe, 128KB stripe size with kern.geom.stripe.fast enabled and stripe.fast_failed=0 Best time: 6.60s user 9.46s system 99% cpu 16.088 total Conclusion: Since gstat showed all drives as idle through most of all the tests, it looks like the rest is running entirely from buffers. Linux on a Dell Dimension 4600 desktop: Ubuntu 8.04 2.4GHz P4 1GB RAM root: WD 250GB SATA Best time: 7.60s user 0.92s system 97% cpu 8.722 total Conclusion: I don't know if there's an equivalent to gstat in Linux, but the system overhead is about one-hundredth as much as in FreeBSD. [1] I can't run gprof on FreeBSD because if I build the binary with -pg, then it segfaults on startup: $ gdb /tmp/xbase/bin/dumprecspg /tmp/dumprecspg.core 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"... Core was generated by `dumprecspg'. Program terminated with signal 11, Segmentation fault. Reading symbols from /tmp/xbase/lib/libxbase64.so.1.0...done. Loaded symbols for /tmp/xbase/lib/libxbase64.so.1.0 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0807110c in main (ac=Cannot access memory at address 0x18 ) at dumprecspg.cpp:63 63 int main(int ac,char** av) (gdb) -- Kirk Strauser From gregg_la1 at leadsomatic.com Thu Jun 5 20:26:39 2008 From: gregg_la1 at leadsomatic.com (Notification) Date: Thu Jun 5 20:26:51 2008 Subject: Instant Article Wizard, boost Your Writing Message-ID: <00f2936a$39604$ecaa6851726157@gregglah27apr08> In need to Create multiple niche web sites and continually post new content to them! Create articles to submit to fr'ee article sites and get hundreds of back links to your web sites! Get into the business of writing articles for other webmasters on any topic they want! IAW Pro is the answer. [1]https://paydotcom.com/r/47145/Gregg_la1/18390454/ Don't just take my word for it Best-selling Christian author loves IAWPro ... Jon, I was one of the first to get Instant Article Wizard. Immediately I learned the sheer power of the program. Now I'm loving IAWPro. I use your program to research and write articles, chapters of books, special reports, lesson plans, and more. How a guy with A.D.D. ever learned to write books is another story. But IAWPro is 'a sure cure.' Thanks for your investment in my success. I recommend it to all those who take my 'How to Write Your Book and Get it Published' seminars. 2008-04-08 Eddie Smith [2]www.EddieAndAlice.com [3]Go PRO today with IAWPro Your Email: freebsd-questions@freebsd.org If you would like to be added to our Marketing Newsletter suppression list, please send us an email with UNSUBSCRIBE in the subject line References 1. https://paydotcom.com/r/47145/Gregg_la1/18390454/ 2. http://www.eddieandalice.com/ 3. https://paydotcom.com/r/47145/Gregg_la1/18390454/ From kris at FreeBSD.org Thu Jun 5 20:53:17 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Jun 5 20:53:20 2008 Subject: Poor read() performance, and I can't profile it In-Reply-To: <200806051508.29424.kirk@strauser.com> References: <200806051508.29424.kirk@strauser.com> Message-ID: <4848523E.2010604@FreeBSD.org> Kirk Strauser wrote: > I'm running a command (dumprecspg from my XBaseToPg project) on a FreeBSD 7 > server. I've noticed that throughput on that program is a lot lower than I > would have expected, and further investigation found it spending most of its > time in the kernel, presumably in read() [1]. > > I was testing the same software on my desktop PC when I noticed that it ran > *much* faster, and found that it was spending only about 1% as much time in > the kernel on Linux as it was on FreeBSD. > > I ran a quick-and-dirty comparison of the same software on two different > machines, the FreeBSD server being by far the more powerful of the two. I > ran the same command on both machines from various filesystems (to rule out > differences in drive performance), and posted the output of zsh's "time" > command for the fastest run in each setting. The results are below. > > Any ideas what could be causing this horrible performance? I'm willing to > try just about anything. ktrace(1) and check for the buffer size in use. It is probably too small. Kris From kline at thought.org Thu Jun 5 21:06:13 2008 From: kline at thought.org (Gary Kline) Date: Thu Jun 5 21:06:16 2008 Subject: could you resend? was: regarding OT website templates... Message-ID: <20080605210605.GA96742@thought.org> Yesterday, someone sent me a file with a couple URLs to frree sites with (i think) xhtml webpages ... free examples of templates. sorry, but ican't find the mail (erp) please resend?? gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From chris at smartt.com Thu Jun 5 21:11:13 2008 From: chris at smartt.com (Chris St Denis) Date: Thu Jun 5 21:11:19 2008 Subject: 6.3 to 7.0 STABLE upgrade buildworld failures In-Reply-To: <30438414.291212699769595.JavaMail.root@tomcat.phantombsd.org> References: <30438414.291212699769595.JavaMail.root@tomcat.phantombsd.org> Message-ID: <4848567C.6000404@smartt.com> Various parts of the FreeBSD base system are interdependent on each other. It's likely that one of the NO_* lines is breaking it. Since libgcc is what is failing I'd suspect NO_TOOLCHAIN mergemaster is normally done after installworld, but the "-p" mode is for pre-buildworld. See the man page for details. Casey Scott wrote: > I thought mergemaster was done after installworld? I've tried 3 different cvs sources, same result. Maybe its my make.conf? Here's what I've got: > > ************************************************************************************************ > CPUTYPE?=p4 > CFLAGS= -O -pipe > NO_BLUETOOTH= true # do not build Bluetooth related stuff > NO_I4B= true # do not build isdn4bsd package > NO_LPR= true # do not build lpr and related programs > NO_SENDMAIL= true # do not build sendmail and related programs > NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs > NO_TOOLCHAIN= true # do not build programs for program development > NO_USB= true # do not build usbd(8) and related programs > NO_VINUM= true # do not build Vinum utilities > NO_ATM= true # do not build ATM related programs and libraries > NO_GAMES= true # do not build games (games/ subdir) > NO_INET6= true # do not build IPv6 related programs and libraries > NO_PROFILE= true # Avoid compiling profiled libraries > SENDMAIL_MAP_PERMS= > WITHOUT_X11=yes > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > ************************************************************************************************ > > # make buildworld dies here. > > ************************************************************************************************ > ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h unwind.h > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h > ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h gthr-default.h > cc -c -O -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o unwind-dw2.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c > In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32: > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error: stddef.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error: float.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error: stdarg.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error: errno.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error: string.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error: limits.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error: time.h: No such file or directory > In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:40: > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'size_of_encoded_value': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:90: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'base_of_encoded_value': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:122: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'read_encoded_value_with_base': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:259: warning: incompatible implicit declaration of built-in function 'abort' > In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, > from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: > ./gthr-default.h:43:21: error: pthread.h: No such file or directory > In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, > from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: > ./gthr-default.h: At top level: > ./gthr-default.h:92: error: 'pthread_once' undeclared here (not in a function) > ./gthr-default.h:93: error: 'pthread_getspecific' undeclared here (not in a function) > ./gthr-default.h:94: error: 'pthread_setspecific' undeclared here (not in a function) > ./gthr-default.h:95: error: 'pthread_create' undeclared here (not in a function) > ./gthr-default.h:96: error: 'pthread_cancel' undeclared here (not in a function) > ./gthr-default.h:97: error: 'pthread_mutex_lock' undeclared here (not in a function) > ./gthr-default.h:98: error: 'pthread_mutex_trylock' undeclared here (not in a function) > ./gthr-default.h:99: error: 'pthread_mutex_unlock' undeclared here (not in a function) > ./gthr-default.h:100: error: 'pthread_mutex_init' undeclared here (not in a function) > ./gthr-default.h:103: error: 'pthread_key_create' undeclared here (not in a function) > ./gthr-default.h:104: error: 'pthread_key_delete' undeclared here (not in a function) > ./gthr-default.h:105: error: 'pthread_mutexattr_init' undeclared here (not in a function) > ./gthr-default.h:106: error: 'pthread_mutexattr_settype' undeclared here (not in a function) > ./gthr-default.h:107: error: 'pthread_mutexattr_destroy' undeclared here (not in a function) > ./gthr-default.h: In function '__gthread_active_p': > ./gthr-default.h:173: error: 'PTHREAD_MUTEX_INITIALIZER' undeclared (first use in this function) > ./gthr-default.h:173: error: (Each undeclared identifier is reported only once > ./gthr-default.h:173: error: for each function it appears in.) > ./gthr-default.h:174: error: 'PTHREAD_ONCE_INIT' undeclared (first use in this function) > ./gthr-default.h:188: error: called object '__gthrw_pthread_mutex_lock' is not a function > ./gthr-default.h:189: error: called object '__gthrw_pthread_once' is not a function > ./gthr-default.h:190: error: called object '__gthrw_pthread_mutex_unlock' is not a function > ./gthr-default.h: In function '__gthread_once': > ./gthr-default.h:578: error: called object '__gthrw_pthread_once' is not a function > ./gthr-default.h: In function '__gthread_key_create': > ./gthr-default.h:586: error: called object '__gthrw_pthread_key_create' is not a function > ./gthr-default.h: In function '__gthread_key_delete': > ./gthr-default.h:592: error: called object '__gthrw_pthread_key_delete' is not a function > ./gthr-default.h: In function '__gthread_getspecific': > ./gthr-default.h:598: error: called object '__gthrw_pthread_getspecific' is not a function > ./gthr-default.h: In function '__gthread_setspecific': > ./gthr-default.h:604: error: called object '__gthrw_pthread_setspecific' is not a function > ./gthr-default.h: In function '__gthread_mutex_lock': > ./gthr-default.h:611: error: called object '__gthrw_pthread_mutex_lock' is not a function > ./gthr-default.h: In function '__gthread_mutex_trylock': > ./gthr-default.h:620: error: called object '__gthrw_pthread_mutex_trylock' is not a function > ./gthr-default.h: In function '__gthread_mutex_unlock': > ./gthr-default.h:629: error: called object '__gthrw_pthread_mutex_unlock' is not a function > ./gthr-default.h: In function '__gthread_recursive_mutex_init_function': > ./gthr-default.h:643: error: called object '__gthrw_pthread_mutexattr_init' is not a function > ./gthr-default.h:645: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) > ./gthr-default.h:645: error: called object '__gthrw_pthread_mutexattr_settype' is not a function > ./gthr-default.h:647: error: called object '__gthrw_pthread_mutex_init' is not a function > ./gthr-default.h:649: error: called object '__gthrw_pthread_mutexattr_destroy' is not a function > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function '_Unwind_GetGR': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:168: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function '_Unwind_SetGR': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function '_Unwind_SetGRValue': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:257: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 'extract_cie_info': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:350: warning: incompatible implicit declaration of built-in function 'strlen' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 'execute_stack_op': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:611: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:829: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:836: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 'execute_cfa_program': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1082: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 'uw_frame_state_for': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1099: warning: incompatible implicit declaration of built-in function 'memset' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function '__frame_state_for': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1184: warning: incompatible implicit declaration of built-in function 'memset' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function '_Unwind_SetSpColumn': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1234: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 'uw_update_context_1': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1290: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 'uw_init_context_1': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1408: warning: incompatible implicit declaration of built-in function 'memset' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1413: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1417: error: 'PTHREAD_ONCE_INIT' undeclared (first use in this function) > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 'uw_install_context_1': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1472: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1480: warning: incompatible implicit declaration of built-in function 'memcpy' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1486: warning: incompatible implicit declaration of built-in function 'memcpy' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1490: warning: incompatible implicit declaration of built-in function 'memcpy' > In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1518: > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function '_Unwind_RaiseException_Phase2': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:75: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function '_Unwind_Resume': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:238: warning: incompatible implicit declaration of built-in function 'abort' > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function '_Unwind_Resume_or_Rethrow': > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:263: warning: incompatible implicit declaration of built-in function 'abort' > *** Error code 1 > > Stop in /usr/src/gnu/lib/libgcc. > *** 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. > ************************************************************************************************ > > > Casey > > > > ----- "Chris St Denis" wrote: > > >> Casey Scott wrote: >> >>> Can we no longer use "make buildworld" to upgrade from source >>> >> builds? Everytime I've tried, I get build errors. I've gotten the >> impression from a few things I've read that freebsd-update is suppose >> to be used. I don't want a binary install/upgrade though. I've just >> sync from CVS with this in the config: >> >>> *default host=cvsup15.FreeBSD.org >>> *default base=/var/db >>> *default prefix=/usr >>> *default release=cvs tag=RELENG_7 >>> *default delete use-rel-suffix >>> *default compress >>> src-all >>> >>> >>> Pretty much the same config I've always used, except the RELENG_7. >>> >>> I continually get errors when "make buildworld". I went back to the >>> >> 6.3 source, and successfully "make buildworld". >> >>> My current attempt at buildword with the 7.0 died like this: >>> >>> >> ********************************************************************* >> >>> ===> usr.bin/awk (obj,build-tools) >>> yacc -d -o awkgram.c >>> >> /usr/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y >> >>> yacc: 43 shift/reduce conflicts >>> yacc: 85 reduce/reduce conflicts >>> ln -sf awkgram.h ytab.h >>> cc -O -pipe -DHAS_ISBLANK -I. >>> >> -I/usr/src/usr.bin/awk/../../contrib/one-true-awk -DFOPEN_MAX=64 >> -I/usr/obj/usr/src/tmp/legacy/usr/include >> -L/usr/obj/usr/src/tmp/legacy/usr/lib >> /usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c -o maketab >> >>> ===> lib/libmagic (obj,build-tools) >>> cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic >>> >> -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic >> /usr/src/lib/libmagic/../../contrib/file/apprentice.c >> /usr/src/lib/libmagic/../../contrib/file/funcs.c >> /usr/src/lib/libmagic/../../contrib/file/magic.c >> /usr/src/lib/libmagic/../../contrib/file/print.c >> >>> ===> usr.sbin/sysinstall (obj,build-tools) >>> cc -o rtermcap /usr/src/usr.sbin/sysinstall/rtermcap.c -ltermcap >>> ===> gnu/usr.bin/cc/cc_tools (obj,depend,all) >>> make: don't know how to make >>> >> /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/ansidecl.h. >> Stop >> >>> *** Error code 2 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> >>> >> ********************************************************************* >> >>> The previous attempt died due to a missing tconfig.h. Can anyone >>> >> shed some light on this please? I can't remember ever having trouble >> with a buildworld before!! >> >>> TIA, >>> Casey >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> >> "freebsd-questions-unsubscribe@freebsd.org" >> >>> >>> >> 1. Make sure you do a "mergemaster -p" first. see mergemaster(8) >> >> 2. Check your make.conf. A bad combination of NO_* variables can break >> >> things. As can bad cflags, etc. >> >> 2. Try doing a cvsup again to make sure your source is clean. Maybe >> with >> a different server incase cvsup15 is messed up. >> From kirk at strauser.com Thu Jun 5 21:18:32 2008 From: kirk at strauser.com (Kirk Strauser) Date: Thu Jun 5 21:18:36 2008 Subject: Poor read() performance, and I can't profile it In-Reply-To: <4848523E.2010604@FreeBSD.org> References: <200806051508.29424.kirk@strauser.com> <4848523E.2010604@FreeBSD.org> Message-ID: <200806051617.54400.kirk@strauser.com> On Thursday 05 June 2008, Kris Kennaway wrote: > Kirk Strauser wrote: > ktrace(1) and check for the buffer size in use. It is probably too > small. > > Kris It seems to be doing a lot of read()s with 4096-byte buffers. Is that what you mean? It's also doing a lot of lseek()s to what is likely the current position anyway (example: seek to 0x00, read 16 bytes, seek to 0x10, etc.). Would that make a difference, or should that be a NOP? -- Kirk Strauser From scrappy at hub.org Thu Jun 5 20:33:31 2008 From: scrappy at hub.org (Marc G. Fournier) Date: Thu Jun 5 21:34:34 2008 Subject: BSDstats: May Statistics - 23 998 Hosts Reported In In-Reply-To: <991123400806050631s689fa9adp7ec073ea48025595@mail.gmail.com> References: <991123400806050631s689fa9adp7ec073ea48025595@mail.gmail.com> Message-ID: <27207735E0A6FB4DCBFBBE25@ganymede.hub.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Thursday, June 05, 2008 16:31:30 +0300 Odhiambo Washington wrote: > Anyway, I am surprised at how fast PC-BSD is picking up. > I know that during installation, it prompts the installer to enable > the submission of stats. Could this explain why there are more PC-BSD > that there are FreeBSD? > For FreeBSD, the owner must know about the stats and configure them to > be submitted. That is why we're working on both improving the site itself (fixing issues with the sub-release areas), as well as trying to a more regular monthly notice up ... I find a jump in stats each time I do so as more ppl find out about it ... Report I did a few months back shows only 85 Countries reporting in, so although its just one host here and there, adding 40 new countries is cool ... - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhITOwACgkQ4QvfyHIvDvO/yACg7Ph15XYty0J1tP+jXNs4Fzp3 CFwAoI/AgvbWotWJAUZJZ23aAhiyK993 =9QMv -----END PGP SIGNATURE----- From stapleton.41 at gmail.com Thu Jun 5 21:52:32 2008 From: stapleton.41 at gmail.com (Jim Stapleton) Date: Thu Jun 5 21:52:39 2008 Subject: Best solution - mobile wifi hotspot In-Reply-To: <48403EDE.1090409@onetel.com> References: <80f4f2b20805300608s13ec0fa7x7034f1a89ea07c46@mail.gmail.com> <48403EDE.1090409@onetel.com> Message-ID: <80f4f2b20806051452i62ff9862vafb4091dafee2e81@mail.gmail.com> On Fri, May 30, 2008 at 1:52 PM, Chris Whitehouse wrote: > Jim Stapleton wrote: >> >> My dad makes instruments and goes to a lot of festivals. They are >> typically in the middle of nowhere, without internet. Many vendors >> still bring notebooks as they provide quick & easy access to many >> things, but there is no internet. For credit cards, many use their >> cell phones to make the transaction. My dad wants to get a satellite >> connection (pure sattelite, no phone), and set up something to offer a >> wireless hotspot. >> - Some shows will just pay a flat fee, and have the hotspot open. >> - Some shows won't pay a fee, and so he'll want to charge to recover >> some of the cost. >> >> For the open hotspots, a simple wireless router will do. For the >> charge hotspots, we'd want something a little more flexible. My first >> thought was 'FreeBSD can do that!'. The trick is that we will be using >> battery power most of the time. Low power is the key. I'm thinknig >> sub-20W max power drain worst case, SUB 10-15W is ideal. >> >> >> With that background info, my questions are: >> 1) Is building a low power computer based on FreeBSD the right way to >> go? Or would you all recommend something else? What? >> 2) Does anyone have experience with the GeodeNX or VIA C7 boards >> available on NewEgg? Heads ups and pointers? >> 3) Does anyone have experiences with these and a given wireless >> adaptor, How good/bad is/was it? >> >> Thanks, >> -Jim Stapleton >> _______________________________________________ >> freebsd-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 particular wheel has already been invented several ways :) > > http://psand.net/ > > https://en.wiki.aktivix.org/SquatTelecoms Well, my dad wants to provide something for cheaper than hiring a third-party vendor to come out into the middle of nowhere and do this (amongst other things, since he's out there, he doesn't have to use hundreds of miles of gas + extra man hours). As for the second, that seems to be 'how to get an ISP', which he already has researched, he is more looking to /be/ the ISP. > To keep power down you probably want to opt for a dedicated wireless router > box not a computer (unless you are also saving bandwidth with squid etc). > And to generate electricity use wind or solar. Do you know of a wireless router that can provide individual user authentication, without requiring a complex setup? Some places may not want to pay for the internet connection, so he'll need to 'rent out' connection bandwidth to other vendors. Thanks, -Jim Stapleton From ml at netfence.it Thu Jun 5 22:14:56 2008 From: ml at netfence.it (Andrea Venturoli) Date: Thu Jun 5 22:15:01 2008 Subject: Denyhost Message-ID: <48485C59.3060504@netfence.it> Anyone using this? I've used it for a long time on a 6.x box and it worked fine. Recently I had to deactivate it since it seems to lock away every IP which is listed in the logs. Any hint? bye & Thanks av. From casey at phantombsd.org Thu Jun 5 22:20:41 2008 From: casey at phantombsd.org (Casey Scott) Date: Thu Jun 5 22:20:46 2008 Subject: 6.3 to 7.0 STABLE upgrade buildworld failures In-Reply-To: <22997465.321212704356216.JavaMail.root@tomcat.phantombsd.org> Message-ID: <18652065.341212704438450.JavaMail.root@tomcat.phantombsd.org> commenting NO_TOOLCHAIN did the trick. Thanks, Casey ----- "Chris St Denis" wrote: > Various parts of the FreeBSD base system are interdependent on each > other. It's likely that one of the NO_* lines is breaking it. > > Since libgcc is what is failing I'd suspect NO_TOOLCHAIN > > mergemaster is normally done after installworld, but the "-p" mode is > > for pre-buildworld. See the man page for details. > > > > Casey Scott wrote: > > I thought mergemaster was done after installworld? I've tried 3 > different cvs sources, same result. Maybe its my make.conf? Here's > what I've got: > > > > > ************************************************************************************************ > > CPUTYPE?=p4 > > CFLAGS= -O -pipe > > NO_BLUETOOTH= true # do not build Bluetooth related stuff > > NO_I4B= true # do not build isdn4bsd package > > NO_LPR= true # do not build lpr and related programs > > NO_SENDMAIL= true # do not build sendmail and related > programs > > NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs > > NO_TOOLCHAIN= true # do not build programs for program > development > > NO_USB= true # do not build usbd(8) and related programs > > NO_VINUM= true # do not build Vinum utilities > > NO_ATM= true # do not build ATM related programs and > libraries > > NO_GAMES= true # do not build games (games/ subdir) > > NO_INET6= true # do not build IPv6 related programs and > libraries > > NO_PROFILE= true # Avoid compiling profiled libraries > > SENDMAIL_MAP_PERMS= > > WITHOUT_X11=yes > > PERL_VER=5.8.8 > > PERL_VERSION=5.8.8 > > > ************************************************************************************************ > > > > # make buildworld dies here. > > > > > ************************************************************************************************ > > ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h > unwind.h > > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile > GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h > > ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h > gthr-default.h > > cc -c -O -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2 > -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. > -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools > -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 > -DElfW=__ElfN -o unwind-dw2.o > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c > > In file included from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32: > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error: > stddef.h: No such file or directory > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error: > float.h: No such file or directory > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error: > stdarg.h: No such file or directory > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error: > stdio.h: No such file or directory > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error: > errno.h: No such file or directory > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: > error: string.h: No such file or directory > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: > error: stdlib.h: No such file or directory > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: > error: unistd.h: No such file or directory > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: > error: limits.h: No such file or directory > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: > error: time.h: No such file or directory > > In file included from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:40: > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In > function 'size_of_encoded_value': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:90: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In > function 'base_of_encoded_value': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:122: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In > function 'read_encoded_value_with_base': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:259: > warning: incompatible implicit declaration of built-in function > 'abort' > > In file included from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, > > from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: > > ./gthr-default.h:43:21: error: pthread.h: No such file or directory > > In file included from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, > > from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: > > ./gthr-default.h: At top level: > > ./gthr-default.h:92: error: 'pthread_once' undeclared here (not in a > function) > > ./gthr-default.h:93: error: 'pthread_getspecific' undeclared here > (not in a function) > > ./gthr-default.h:94: error: 'pthread_setspecific' undeclared here > (not in a function) > > ./gthr-default.h:95: error: 'pthread_create' undeclared here (not in > a function) > > ./gthr-default.h:96: error: 'pthread_cancel' undeclared here (not in > a function) > > ./gthr-default.h:97: error: 'pthread_mutex_lock' undeclared here > (not in a function) > > ./gthr-default.h:98: error: 'pthread_mutex_trylock' undeclared here > (not in a function) > > ./gthr-default.h:99: error: 'pthread_mutex_unlock' undeclared here > (not in a function) > > ./gthr-default.h:100: error: 'pthread_mutex_init' undeclared here > (not in a function) > > ./gthr-default.h:103: error: 'pthread_key_create' undeclared here > (not in a function) > > ./gthr-default.h:104: error: 'pthread_key_delete' undeclared here > (not in a function) > > ./gthr-default.h:105: error: 'pthread_mutexattr_init' undeclared > here (not in a function) > > ./gthr-default.h:106: error: 'pthread_mutexattr_settype' undeclared > here (not in a function) > > ./gthr-default.h:107: error: 'pthread_mutexattr_destroy' undeclared > here (not in a function) > > ./gthr-default.h: In function '__gthread_active_p': > > ./gthr-default.h:173: error: 'PTHREAD_MUTEX_INITIALIZER' undeclared > (first use in this function) > > ./gthr-default.h:173: error: (Each undeclared identifier is reported > only once > > ./gthr-default.h:173: error: for each function it appears in.) > > ./gthr-default.h:174: error: 'PTHREAD_ONCE_INIT' undeclared (first > use in this function) > > ./gthr-default.h:188: error: called object > '__gthrw_pthread_mutex_lock' is not a function > > ./gthr-default.h:189: error: called object '__gthrw_pthread_once' is > not a function > > ./gthr-default.h:190: error: called object > '__gthrw_pthread_mutex_unlock' is not a function > > ./gthr-default.h: In function '__gthread_once': > > ./gthr-default.h:578: error: called object '__gthrw_pthread_once' is > not a function > > ./gthr-default.h: In function '__gthread_key_create': > > ./gthr-default.h:586: error: called object > '__gthrw_pthread_key_create' is not a function > > ./gthr-default.h: In function '__gthread_key_delete': > > ./gthr-default.h:592: error: called object > '__gthrw_pthread_key_delete' is not a function > > ./gthr-default.h: In function '__gthread_getspecific': > > ./gthr-default.h:598: error: called object > '__gthrw_pthread_getspecific' is not a function > > ./gthr-default.h: In function '__gthread_setspecific': > > ./gthr-default.h:604: error: called object > '__gthrw_pthread_setspecific' is not a function > > ./gthr-default.h: In function '__gthread_mutex_lock': > > ./gthr-default.h:611: error: called object > '__gthrw_pthread_mutex_lock' is not a function > > ./gthr-default.h: In function '__gthread_mutex_trylock': > > ./gthr-default.h:620: error: called object > '__gthrw_pthread_mutex_trylock' is not a function > > ./gthr-default.h: In function '__gthread_mutex_unlock': > > ./gthr-default.h:629: error: called object > '__gthrw_pthread_mutex_unlock' is not a function > > ./gthr-default.h: In function > '__gthread_recursive_mutex_init_function': > > ./gthr-default.h:643: error: called object > '__gthrw_pthread_mutexattr_init' is not a function > > ./gthr-default.h:645: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared > (first use in this function) > > ./gthr-default.h:645: error: called object > '__gthrw_pthread_mutexattr_settype' is not a function > > ./gthr-default.h:647: error: called object > '__gthrw_pthread_mutex_init' is not a function > > ./gthr-default.h:649: error: called object > '__gthrw_pthread_mutexattr_destroy' is not a function > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function '_Unwind_GetGR': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:168: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function '_Unwind_SetGR': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function '_Unwind_SetGRValue': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:257: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function 'extract_cie_info': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:350: > warning: incompatible implicit declaration of built-in function > 'strlen' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function 'execute_stack_op': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:611: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:829: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:836: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function 'execute_cfa_program': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1082: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function 'uw_frame_state_for': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1099: > warning: incompatible implicit declaration of built-in function > 'memset' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function '__frame_state_for': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1184: > warning: incompatible implicit declaration of built-in function > 'memset' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function '_Unwind_SetSpColumn': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1234: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function 'uw_update_context_1': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1290: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function 'uw_init_context_1': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1408: > warning: incompatible implicit declaration of built-in function > 'memset' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1413: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1417: > error: 'PTHREAD_ONCE_INIT' undeclared (first use in this function) > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In > function 'uw_install_context_1': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1472: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1480: > warning: incompatible implicit declaration of built-in function > 'memcpy' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1486: > warning: incompatible implicit declaration of built-in function > 'memcpy' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1490: > warning: incompatible implicit declaration of built-in function > 'memcpy' > > In file included from > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1518: > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function > '_Unwind_RaiseException_Phase2': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:75: warning: > incompatible implicit declaration of built-in function 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function > '_Unwind_Resume': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:238: > warning: incompatible implicit declaration of built-in function > 'abort' > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function > '_Unwind_Resume_or_Rethrow': > > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:263: > warning: incompatible implicit declaration of built-in function > 'abort' > > *** Error code 1 > > > > Stop in /usr/src/gnu/lib/libgcc. > > *** 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. > > > ************************************************************************************************ > > > > > > Casey > > > > > > > > ----- "Chris St Denis" wrote: > > > > > >> Casey Scott wrote: > >> > >>> Can we no longer use "make buildworld" to upgrade from source > >>> > >> builds? Everytime I've tried, I get build errors. I've gotten the > >> impression from a few things I've read that freebsd-update is > suppose > >> to be used. I don't want a binary install/upgrade though. I've > just > >> sync from CVS with this in the config: > >> > >>> *default host=cvsup15.FreeBSD.org > >>> *default base=/var/db > >>> *default prefix=/usr > >>> *default release=cvs tag=RELENG_7 > >>> *default delete use-rel-suffix > >>> *default compress > >>> src-all > >>> > >>> > >>> Pretty much the same config I've always used, except the > RELENG_7. > >>> > >>> I continually get errors when "make buildworld". I went back to > the > >>> > >> 6.3 source, and successfully "make buildworld". > >> > >>> My current attempt at buildword with the 7.0 died like this: > >>> > >>> > >> > ********************************************************************* > >> > >>> ===> usr.bin/awk (obj,build-tools) > >>> yacc -d -o awkgram.c > >>> > >> /usr/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y > >> > >>> yacc: 43 shift/reduce conflicts > >>> yacc: 85 reduce/reduce conflicts > >>> ln -sf awkgram.h ytab.h > >>> cc -O -pipe -DHAS_ISBLANK -I. > >>> > >> -I/usr/src/usr.bin/awk/../../contrib/one-true-awk -DFOPEN_MAX=64 > >> -I/usr/obj/usr/src/tmp/legacy/usr/include > >> -L/usr/obj/usr/src/tmp/legacy/usr/lib > >> /usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c -o > maketab > >> > >>> ===> lib/libmagic (obj,build-tools) > >>> cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic > >>> > >> -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic > >> /usr/src/lib/libmagic/../../contrib/file/apprentice.c > >> /usr/src/lib/libmagic/../../contrib/file/funcs.c > >> /usr/src/lib/libmagic/../../contrib/file/magic.c > >> /usr/src/lib/libmagic/../../contrib/file/print.c > >> > >>> ===> usr.sbin/sysinstall (obj,build-tools) > >>> cc -o rtermcap /usr/src/usr.sbin/sysinstall/rtermcap.c -ltermcap > >>> ===> gnu/usr.bin/cc/cc_tools (obj,depend,all) > >>> make: don't know how to make > >>> > >> > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/ansidecl.h. > >> Stop > >> > >>> *** Error code 2 > >>> > >>> Stop in /usr/src. > >>> *** Error code 1 > >>> > >>> Stop in /usr/src. > >>> *** Error code 1 > >>> > >>> Stop in /usr/src. > >>> > >>> > >> > ********************************************************************* > >> > >>> The previous attempt died due to a missing tconfig.h. Can anyone > >>> > >> shed some light on this please? I can't remember ever having > trouble > >> with a buildworld before!! > >> > >>> TIA, > >>> Casey > >>> _______________________________________________ > >>> freebsd-questions@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>> To unsubscribe, send any mail to > >>> > >> "freebsd-questions-unsubscribe@freebsd.org" > >> > >>> > >>> > >> 1. Make sure you do a "mergemaster -p" first. see mergemaster(8) > >> > >> 2. Check your make.conf. A bad combination of NO_* variables can > break > >> > >> things. As can bad cflags, etc. > >> > >> 2. Try doing a cvsup again to make sure your source is clean. > Maybe > >> with > >> a different server incase cvsup15 is messed up. > >> > > _______________________________________________ > freebsd-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 kris at FreeBSD.org Thu Jun 5 22:25:38 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Jun 5 22:25:41 2008 Subject: Poor read() performance, and I can't profile it In-Reply-To: <200806051617.54400.kirk@strauser.com> References: <200806051508.29424.kirk@strauser.com> <4848523E.2010604@FreeBSD.org> <200806051617.54400.kirk@strauser.com> Message-ID: <484867E3.3070705@FreeBSD.org> Kirk Strauser wrote: > On Thursday 05 June 2008, Kris Kennaway wrote: >> Kirk Strauser wrote: > >> ktrace(1) and check for the buffer size in use. It is probably too >> small. >> >> Kris > > It seems to be doing a lot of read()s with 4096-byte buffers. Is that what > you mean? It's also doing a lot of lseek()s to what is likely the current > position anyway (example: seek to 0x00, read 16 bytes, seek to 0x10, etc.). > Would that make a difference, or should that be a NOP? No, if it's reading in 16 byte units it will explain the terrible performance. Kris From kalin at el.net Thu Jun 5 22:27:56 2008 From: kalin at el.net (kalin m) Date: Thu Jun 5 22:28:00 2008 Subject: mfi freebsd7 In-Reply-To: <48483956.1060900@el.net> References: <4844293F.7020507@el.net> <484438B1.5020202@unsane.co.uk> <484441D8.8050207@el.net> <48445F45.70604@unsane.co.uk> <48448134.9080808@el.net> <484482E1.5010207@el.net> <48450B08.6040806@unsane.co.uk> <48483956.1060900@el.net> Message-ID: <48486868.30900@el.net> ok... i guess i've had it with the mfi according to the hardware list on the freebsd site there are only 3 cards supported by the mfi driver on freebsd7 and the LSI MegaSAS 1078 ain't one of them. and lsi appears to be a remote company in singapore which apparently doesn't like to support anything that has bsd in it's name. i'll be asking the hosting company to replace the card. would like to hear from the list which SAS ones would be recommended - fully supported and have usable control/stats interfaces - and which ones to stay away from. would appreciate any advice... thanks.... kalin m wrote: > hi vince... thank you for the advice. > > i did update my ports and install the 1.01.40 version... > > i have the linux-base installed and the linprocfs and linsysfs mounted.. > > but still nothing substantial happening: > > # megacli -adpCount > > Controller Count: 0. > > > > any other ideas?! > > thanks... > > > > > Vince Hoffman wrote: >> kalin m wrote: >> >>> sorry for the double posting.... just to update: >>> >>> i installed also the linux-megamgr same result: >>> Failed to open driver node /dev/megadev0 >>> >>> after linking megadev0 to mfi0 it can not see the version... it >>> gets >>> more and more pathetic by the minute... >>> >>> >> >> odd that it wouldnt install as it did for me just now. Is your ports >> tree up to date? I'm guessing not since the latest version reference in >> ports is 1.01.40 and you found and got the 1.01.09 rpm/zip >> try updating your ports to the latest tree (portsnap is my method of >> choice but csup works fine too :) then try >> cd /usr/ports/sysutils/linux-megacli && make install clean >> Be sure to pay attention to the post-install message as it tells you >> about whats needed in the way of kernel modules and sysctl variables as >> well as what periodic config is available. >> >> >> We do have a server at work using the LSI Logic / Symbios Logic MegaRAID >> SAS 1078 which hosts 40 VPS's running quite happily in a RAID 1+0 >> config, each VPS running web/mail/ftp for a number between 1 and 100 >> websites, so they seem to perform well enough, this is a linux server >> though. >> If you've been sold a RAID1 array i'd imagine thats what you have >> unless you have reason to believe otherwise. It will appear as a singe >> block device (/dev/mfid0) to the operating system though as you have >> see. >> >> >> Vince >> >> >> >> >>> >>> >>> kalin m wrote: >>> >>>> thanks Vince... i didnt wanted to install the linux base because a >>>> lot of kids will be running some 'cool' boards or blogs that probably >>>> have cool linux holes too. but just for the hell of it and for he >>>> purpose to get to the controller i did. it took a while to find the >>>> Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the >>>> LSI site (anymore) either.. anyway after a lot of rpm downloads and >>>> patching and variable changing and fs mountings i get this: >>>> >>>> # /usr/local/sbin/megacli -adpCount >>>> ERROR:Could not detect controller. >>>> >>>> Controller Count: 0. >>>> >>>> >>>> pretty neat system... >>>> >>>> >>>> now what?! >>>> >>>> >>>> >>>> >>>> Vince Hoffman wrote: >>>> >>>>> kalin m wrote: >>>>> >>>>>> megarc, right... read about it.. here: >>>>>> >>>>>> # megarc -AllAdpInfo help >>>>>> usage : >>>>>> cmd -AllAdpInfo >>>>>> : prints info of all cards >>>>>> >>>>>> >>>>>> ..... ok ..... >>>>>> >>>>>> # megarc -AllAdpInfo >>>>>> >>>>>> >>>>>> ********************************************************************** >>>>>> >>>>>> MEGARC MegaRAID Configuration >>>>>> Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA >>>>>> >>>>>> ********************************************************************** >>>>>> >>>>>> [Note: For SATA-2, 4 and 6 channel controllers, please specify >>>>>> Ch=0 Id=0..15 for specifying physical drive(Ch=channel, >>>>>> Id=Target)] >>>>>> >>>>>> Type ? as command line arg for help >>>>>> >>>>>> No Adapters Found Error: No MegaRaid Found >>>>>> >>>>>> >>>>>> ?!?!?! does that mean that there is no raid? why then the df >>>>>> output? the machine is supposed to have 4 250gig SAS drives. >>>>>> >>>>>> >>>>> Its more likely that megarc doesnt support the newer controllers >>>>> which is a shame. you might have more luck with >>>>> sysutils/linux-megacli since that explicitly mentions LSI MegaRAID >>>>> SAS, I wish they would make the util open source though. Will mean >>>>> you need the linux-base port installed and linux.ko loaded. >>>>> >>>>> A RAID1 config shoudl suit a busy webserver well. >>>>> >>>>> Vicne >>>>> >>>>> >>>>> >>>>> >>>>>> thanks... >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Vince Hoffman wrote: >>>>>> >>>>>>> kalin m wrote: >>>>>>> >>>>>>>> hi all... >>>>>>>> >>>>>>>> a hosting facility build a new dedicated server for me and looking >>>>>>>> at the dmesg i see: >>>>>>>> >>>>>>>> mfi0: port 0xec00-0xecff mem >>>>>>>> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 >>>>>>>> on pci1 >>>>>>>> mfi0: Megaraid SAS driver Ver 2.00 >>>>>>>> >>>>>>>> for df i get: >>>>>>>> Filesystem Size Used Avail Capacity Mounted on >>>>>>>> /dev/mfid0s1a 496M 197M 259M 43% / >>>>>>>> devfs 1.0K 1.0K 0B 100% /dev >>>>>>>> /dev/mfid0s1e 496M 12K 456M 0% /tmp >>>>>>>> /dev/mfid0s1f 661G 636M 608G 0% /usr >>>>>>>> /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var >>>>>>>> >>>>>>>> >>>>>>>> i asked for raid1. i cant find too much information about the mfi >>>>>>>> driver. just that it works with freebsd 7. >>>>>>>> >>>>>>>> >>>>>>> you might want to look at sysutils/megarc and possibly >>>>>>> sysutils/linux-megamgr so you can more closely monitor/investigate >>>>>>> your array. >>>>>>> >>>>>>> Vince >>>>>>> >>>>>>> >>>>>>>> i'll keep looking but - has anybody successfully deployed >>>>>>>> production servers using the LSI MegaSAS 1078 in RAID1 on a very >>>>>>>> busy web server? >>>>>>>> is there any loss in performance using that hardware in RAID1? >>>>>>>> any performance loss in RAID1 at all? >>>>>>>> >>>>>>>> >>>>>>>> thanks... >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> freebsd-questions@freebsd.org mailing list >>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>>>> To unsubscribe, send any mail to >>>>>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> freebsd-questions@freebsd.org mailing list >>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>>> To unsubscribe, send any mail to >>>>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>>>>> >>>>>> _______________________________________________ >>>>>> freebsd-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" >>>> >> >> > _______________________________________________ > freebsd-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 murray at stokely.org Thu Jun 5 23:14:18 2008 From: murray at stokely.org (Murray Stokely) Date: Thu Jun 5 23:14:24 2008 Subject: BSDstats: May Statistics - 23 998 Hosts Reported In In-Reply-To: <991123400806050631s689fa9adp7ec073ea48025595@mail.gmail.com> References: <991123400806050631s689fa9adp7ec073ea48025595@mail.gmail.com> Message-ID: <2a7894eb0806051614q366b4373sd8088829a0631592@mail.gmail.com> Hi Marc, can you please post these individually to different lists next time rather than one massive cross-post? On Thu, Jun 5, 2008 at 6:31 AM, Odhiambo Washington wrote: > Anyway, I am surprised at how fast PC-BSD is picking up. > I know that during installation, it prompts the installer to enable > the submission of stats. Could this explain why there are more PC-BSD > that there are FreeBSD? Yes I should think that is pretty obvious. =) I would expect that Yahoo! alone has ~2 orders of magnitude more FreeBSD servers than what is represented there. These numbers have basically no correlation with the number of installed instances of these operating systems. Anyone interested in this effort should submit patches to optionally install/enable this functionality in the installer of the various operating systems - Murray From derek at computinginnovations.com Thu Jun 5 23:19:50 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Thu Jun 5 23:19:53 2008 Subject: Denyhost In-Reply-To: <48485C59.3060504@netfence.it> References: <48485C59.3060504@netfence.it> Message-ID: <6.0.0.22.2.20080605181810.025867c8@mail.computinginnovations.com> At 04:36 PM 6/5/2008, Andrea Venturoli wrote: >Anyone using this? >I've used it for a long time on a 6.x box and it worked fine. >Recently I had to deactivate it since it seems to lock away every IP which >is listed in the logs. >Any hint? > > bye & Thanks > av. I believe denyhost has been deprecated. I use /etc/hosts.allow which works fine and combines both allow and deny functions in one configuration file. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From kirk at strauser.com Thu Jun 5 23:24:15 2008 From: kirk at strauser.com (Kirk Strauser) Date: Thu Jun 5 23:24:18 2008 Subject: Poor read() performance, and I can't profile it In-Reply-To: <484867E3.3070705@FreeBSD.org> References: <200806051508.29424.kirk@strauser.com> <4848523E.2010604@FreeBSD.org> <200806051617.54400.kirk@strauser.com> <484867E3.3070705@FreeBSD.org> Message-ID: <4848757B.30408@strauser.com> Kris Kennaway wrote: > No, if it's reading in 16 byte units it will explain the terrible > performance. No, it's actually doing 4096-byte reads. That was just an example of what I meant. Since I wrote that, though, I wrote a program to do 1,000,000 seeks to position 0, and it ran immeasurably fast. I'm guessing that lseek() is optimized to not do anything if you ask it to move to the position you're already at. Any other thoughts? There definitely aren't any setbuf() calls, and no matter what it still takes 100 times more kernel overhead on Linux than FreeBSD. Speaking of which, I think my next experiment will be to try the Linux binaries on FreeBSD and see if it behaves similarly. -- Kirk Strauser From hartzell at alerce.com Fri Jun 6 00:03:09 2008 From: hartzell at alerce.com (George Hartzell) Date: Fri Jun 6 00:03:16 2008 Subject: Best solution - mobile wifi hotspot In-Reply-To: <80f4f2b20806051452i62ff9862vafb4091dafee2e81@mail.gmail.com> References: <80f4f2b20805300608s13ec0fa7x7034f1a89ea07c46@mail.gmail.com> <48403EDE.1090409@onetel.com> <80f4f2b20806051452i62ff9862vafb4091dafee2e81@mail.gmail.com> Message-ID: <18504.31041.882935.566558@almost.alerce.com> Jim Stapleton writes: > [...] > Do you know of a wireless router that can provide individual user > authentication, without requiring a complex setup? Some places may not > want to pay for the internet connection, so he'll need to 'rent out' > connection bandwidth to other vendors. Nocatsplash might do what you want: http://nocat.net/ which can run on a linksys wrt54gl that's running openwrt http://openwrt.org/ or ChilliSpot (can also run on openwrt, and others) http://en.wikipedia.org/wiki/ChilliSpot or Wifidog http://dev.wifidog.org/ Googling up places that are discussing those releases should give you pointers to others. I haven't run any of them, but have had good luck using openwrt running on various little wireless routers as openvpn endpoints. g. From schiz0phrenic21 at gmail.com Fri Jun 6 01:07:50 2008 From: schiz0phrenic21 at gmail.com (Schiz0) Date: Fri Jun 6 01:07:53 2008 Subject: Queuing and Prioritization with PF Message-ID: <8d23ec860806051807p719f8ea4mfb70ed107539ecc2@mail.gmail.com> Hey, I have pf running as the firewall on a web and IRC box. I'd like to setup a bit of prioritization. I want ssh to be a higher priority than any other traffic. I've read up on Class Based Queuing and Priority Queuing. If I understand it correctly, priority queuing will transfer ALL packets with higher priority before ANY of the lower-priority packets. So if I'm transferring a file via SCP, all other traffic will stop until the transfer is complete? I don't want other traffic to stop completely, I just want ssh to have a higher priority. Should I use class-based then? Thanks for suggestions/help. From kris at FreeBSD.org Fri Jun 6 01:25:54 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Fri Jun 6 01:25:56 2008 Subject: Poor read() performance, and I can't profile it In-Reply-To: <4848757B.30408@strauser.com> References: <200806051508.29424.kirk@strauser.com> <4848523E.2010604@FreeBSD.org> <200806051617.54400.kirk@strauser.com> <484867E3.3070705@FreeBSD.org> <4848757B.30408@strauser.com> Message-ID: <48489222.7020501@FreeBSD.org> Kirk Strauser wrote: > Kris Kennaway wrote: > >> No, if it's reading in 16 byte units it will explain the terrible >> performance. > > No, it's actually doing 4096-byte reads. That was just an example of > what I meant. I don't understand what you meant by "It's also doing a lot of lseek()s to what is likely the current position anyway (example: seek to 0x00, read 16 bytes, seek to 0x10, etc.)." then. Please show a typical part of the ktrace output. Kris > Since I wrote that, though, I wrote a program to do > 1,000,000 seeks to position 0, and it ran immeasurably fast. I'm > guessing that lseek() is optimized to not do anything if you ask it to > move to the position you're already at. > > Any other thoughts? There definitely aren't any setbuf() calls, and no > matter what it still takes 100 times more kernel overhead on Linux than > FreeBSD. Speaking of which, I think my next experiment will be to try > the Linux binaries on FreeBSD and see if it behaves similarly. From camiloreyes82 at yahoo.com Fri Jun 6 02:37:44 2008 From: camiloreyes82 at yahoo.com (Camilo Reyes) Date: Fri Jun 6 02:37:49 2008 Subject: list files in FreeBSD ports tree package Message-ID: <517089.19874.qm@web63910.mail.re1.yahoo.com> The best way to do searches on a BSD system is to use good old 'locate,' or even 'find / -name .' This will give you a result based on the ports package which you can then add using 'pkg_add -r .' Camilo "Bono Vince Malum" > ------------------------------ > > Message: 6 > Date: Thu, 5 Jun 2008 15:35:01 +0200 > From: "Simon Jolle" > Subject: list files in FreeBSD ports tree package > To: freebsd-questions@freebsd.org > Message-ID: > <648d054e0806050635p4418aba5r567ef1ebca951ca2@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi FreeBSD users > > I am searching for something similar to Red Hat's "rpm -q -l package" > and Debian's "dpkg -L package". > > cheers > Simon > > -- > XMPP: sjolle@swissjabber.org > > > ------------------------------ From prad at towardsfreedom.com Fri Jun 6 03:07:27 2008 From: prad at towardsfreedom.com (prad) Date: Fri Jun 6 03:07:32 2008 Subject: list files in FreeBSD ports tree package In-Reply-To: <517089.19874.qm@web63910.mail.re1.yahoo.com> References: <517089.19874.qm@web63910.mail.re1.yahoo.com> Message-ID: <20080605200718.40ba0512@gom.home> On Thu, 5 Jun 2008 19:37:42 -0700 (PDT) Camilo Reyes wrote: > The best way to do searches on a BSD system is to use good old > 'locate,' or even 'find / -name .' > i think you can also look in /var/db/pkg or do pkg_info | grep WHATEVER if i understood the original post correctly. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From camiloreyes82 at yahoo.com Fri Jun 6 03:07:46 2008 From: camiloreyes82 at yahoo.com (Camilo Reyes) Date: Fri Jun 6 03:07:51 2008 Subject: Upgrading Kernel on a Remote Server Message-ID: <943022.25318.qm@web63903.mail.re1.yahoo.com> I don't have much experience with this other than once I ran a server from home and remotely ssh'ed to it to do maintenance. One of the things I learned from that experience was that you can easily patch your services any time there is a new threat, all you have to do is patch your code, recompile, and restart service. If you are not sure it will ever come back up when you restart, you can leave it patched and restart it when you are more comfortable. When it comes to the kernel, don't upgrade it unless it's ABSOLUTELY necessary because you have to reboot each time; unless of course, some genius out there has figured out a way to do it without a reboot. Just my two cents, Camilo "Bono Vince Malum" > Date: Thu, 5 Jun 2008 12:35:43 -0400 > From: Sean Cavanaugh > Subject: RE: Upgrading Kernel on a Remote Server > To: > Message-ID: > Content-Type: text/plain; charset="iso-8859-1" > > > > Date: Thu, 5 Jun 2008 12:15:44 -0400 > > From: schiz0phrenic21@gmail.com > > To: Freebsd-questions@freebsd.org > > CC: > > Subject: Upgrading Kernel on a Remote Server > > > > Hey, > > > > I recently ordered a FreeBSD server from a hosting company. This would > > be the first time I do not have physical access to a FreeBSD system. > > I'm looking for any hints/tricks/suggestions for managing and > > upgrading it safely (as in, not locking myself out or having boot > > errors). The host does not offer KVM/IP or serial port access. > > > > The host is installing 6.3-RELEASE. I'd like to upgrade to > > 7.0-RELEASE, as well as compile in some kernel options for various > > things. What's the best way to do this on a remote system, minimizing > > compiling a bad kernel and causing it not to boot? I wouldn't have > > access to single user mode or anything. > > > > Thanks for any suggestions/help/etc, > > ~Steve > > do you have control of the whole box? most places I know that have online > hosting like that run you inside a jail as a VPS style system. > > to answer your original comments, I would say to contact their tech support > department and see if you can coordinate with them to have it upgraded to 7.0. > If they dont support it, then you are going to be on your own with the install > and may have to have them reimage it if you get a bad install. Some places will > be willing to do a local base install for your or at least help get over any > hurdles with upgrading. > > -Sean From kirk at strauser.com Fri Jun 6 03:09:59 2008 From: kirk at strauser.com (Kirk Strauser) Date: Fri Jun 6 03:10:04 2008 Subject: Poor read() performance, and I can't profile it In-Reply-To: <48489222.7020501@FreeBSD.org> References: <200806051508.29424.kirk@strauser.com> <4848523E.2010604@FreeBSD.org> <200806051617.54400.kirk@strauser.com> <484867E3.3070705@FreeBSD.org> <4848757B.30408@strauser.com> <48489222.7020501@FreeBSD.org> Message-ID: <4848AA65.9060600@strauser.com> Kris Kennaway wrote: > I don't understand what you meant by "It's also doing a lot of lseek()s > to what is likely the current position anyway (example: seek to 0x00, > read 16 bytes, seek to 0x10, etc.)." then. I just meant that 16 was a smaller number than 4096 to use in an example. :-) But anyway, it looks like I was wrong. Each record in this test file is 144 bytes long, but instead of reading 144 bytes, it's reading 4096 bytes then seeking backward 3952 (4096-144) bytes to the start of the next record. For instance: 99823 dumprecspg CALL lseek(0x3,0x1c8,SEEK_SET,0) 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) 99823 dumprecspg CALL lseek(0x3,0x258,SEEK_SET,0) 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) 99823 dumprecspg CALL lseek(0x3,0x2e8,SEEK_SET,0) 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) 99823 dumprecspg CALL lseek(0x3,0x378,SEEK_SET,0) 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) Now, I know this is suboptimal. My code is a patch on another, longer-established project that I wasn't a part of, and I probably can't do a lot about it without a pretty major rewrite. Still, I can't believe the same code is *so* much faster on Linux. I'd also swear that this is a regression and that it used to run much faster on the same FreeBSD machine back when it was running 6.x, but I never bothered to benchmark it then because it didn't seem to be an issue. -- Kirk Strauser From frank at shute.org.uk Fri Jun 6 03:56:17 2008 From: frank at shute.org.uk (Frank Shute) Date: Fri Jun 6 03:56:21 2008 Subject: Denyhost In-Reply-To: <6.0.0.22.2.20080605181810.025867c8@mail.computinginnovations.com> References: <48485C59.3060504@netfence.it> <6.0.0.22.2.20080605181810.025867c8@mail.computinginnovations.com> Message-ID: <20080606035604.GA80471@melon.esperance-linux.co.uk> On Thu, Jun 05, 2008 at 06:19:26PM -0500, Derek Ragona wrote: > > At 04:36 PM 6/5/2008, Andrea Venturoli wrote: > > > >Anyone using this? > >I've used it for a long time on a 6.x box and it worked fine. > >Recently I had to deactivate it since it seems to lock away every IP which > >is listed in the logs. > >Any hint? > > > > bye & Thanks > > av. > > I believe denyhost has been deprecated. I use /etc/hosts.allow which works > fine and combines both allow and deny functions in one configuration file. > > -Derek > Derek, I think Andrea meant the port security/denyhosts which monitors your ssh port and adds dodgy IPs which attack 22 to hosts.allow (I think - I haven't used it yet). Are you thinking of hosts.deny? I guess you can configure it as to how it blocks the IPs. Andrea, have a look at hosts.allow to see how it's blocking those IPs and you should be able to remove them or relax the rules. You have to give inetd a HUP to reread hosts.allow. HTH. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From quakenet1 at optusnet.com.au Fri Jun 6 04:08:39 2008 From: quakenet1 at optusnet.com.au (Jerahmy Pocott) Date: Fri Jun 6 04:08:44 2008 Subject: DVD Writer problems In-Reply-To: <1212599661.2609.6.camel@frodon.be-bif.ulb.ac.be> References: <1212599661.2609.6.camel@frodon.be-bif.ulb.ac.be> Message-ID: <9C5C3A53-F978-49EF-9772-6AD7C2E67378@optusnet.com.au> On 05/06/2008, at 3:14 AM, Julien Cigar wrote: > I have also this problem on almost all my machines .. the only > solution > I found is to disable DMA (atapi_dma), but then performances are very > poor .. > If you find a solution please let us know :) I tried disabling DMA 'atacontrol mode acd0 nodma' and re-initialized the channel, but it doesn't work in PIO mode either.. From sonicy at otenet.gr Fri Jun 6 04:21:26 2008 From: sonicy at otenet.gr (Manolis Kiagias) Date: Fri Jun 6 04:21:30 2008 Subject: Upgrading Kernel on a Remote Server In-Reply-To: <943022.25318.qm@web63903.mail.re1.yahoo.com> References: <943022.25318.qm@web63903.mail.re1.yahoo.com> Message-ID: <4848BB82.8050901@otenet.gr> Camilo Reyes wrote: > I don't have much experience with this other than once I ran a server from home and remotely ssh'ed to it to do maintenance. One of the things I learned from that experience was that you can easily patch your services any time there is a new threat, all you have to do is patch your code, recompile, and restart service. If you are not sure it will ever come back up when you restart, you can leave it patched and restart it when you are more comfortable. When it comes to the kernel, don't upgrade it unless it's ABSOLUTELY necessary because you have to reboot each time; unless of course, some genius out there has figured out a way to do it without a reboot. > > Just my two cents, > > Camilo > "Bono Vince Malum" > > > A nice trick for easily recovering from unbootable kernels is nextboot(8). Try man nextboot From steve at ibctech.ca Fri Jun 6 04:32:57 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jun 6 04:33:00 2008 Subject: Upgrading Kernel on a Remote Server In-Reply-To: <4848BB82.8050901@otenet.gr> References: <943022.25318.qm@web63903.mail.re1.yahoo.com> <4848BB82.8050901@otenet.gr> Message-ID: <4848BE7A.7080106@ibctech.ca> > A nice trick for easily recovering from unbootable kernels is > nextboot(8). Try man nextboot I certainly concur with Sean on the co-ordinate a time theory, especially if it includes them being on standby for a clean recovery, but this nextboot(8) tactic that I never knew about before seems *very* worthwhile looking into! Thanks, Steve From sahil at tandon.net Fri Jun 6 04:52:50 2008 From: sahil at tandon.net (Sahil Tandon) Date: Fri Jun 6 04:52:54 2008 Subject: Denyhost In-Reply-To: <48485C59.3060504@netfence.it> References: <48485C59.3060504@netfence.it> Message-ID: <20080606043653.GA55456@shepherd> Andrea Venturoli wrote: > Anyone using this? > I've used it for a long time on a 6.x box and it worked fine. > Recently I had to deactivate it since it seems to lock away every IP which > is listed in the logs. > Any hint? Give more information. Which logs? Give an example. Show relevant excerpts from your denyhosts configuration. Which version of denyhosts are you running? How and where in /etc/hosts.allow is the denyhosts list being referenced? -- Sahil Tandon From riaank at gmail.com Fri Jun 6 06:08:29 2008 From: riaank at gmail.com (Riaan Kruger) Date: Fri Jun 6 06:08:33 2008 Subject: Query on kgdb output In-Reply-To: <019b01c8c6f2$ddc7e730$f001a8c0@asgard.movesmountains.com> References: <019b01c8c6f2$ddc7e730$f001a8c0@asgard.movesmountains.com> Message-ID: <85c4b1850806052308l6a2ccd6bp2a24527b373b1ef5@mail.gmail.com> On Thu, Jun 5, 2008 at 11:59 AM, <1@movesmountains.com> wrote: > Hi, > I'm seeing regular kernel panics on my new box with a fresh install of > 7.0-RELEASE. I'm trying to get some information out of kgdb by following > the instructions in the handbook - however, I'm getting a 'cannot access > memory' message when I try it: > > odin2008# kgdb kernel.debug /var/crash/vmcore.1 > [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: > Undefined symbol "ps_pglobal_lookup"] > 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". > Cannot access memory at address 0x2fd9 > (kgdb) where > #0 0x00000000 in ?? () > (kgdb) quit > > > Am I doing something wrong, or does this point to a hardware failure? (I'm > also seeing missing characters in /var/log/messages, which I addressed in a > separate mail; not sure if it's related). > > Sorry the first reply went to the wrong place. What info does a stack trace (commadn bt in kgdb) give? Riaan From dunn at qualitywriter.com Fri Jun 6 06:12:44 2008 From: dunn at qualitywriter.com (Phil Dunn) Date: Fri Jun 6 06:12:48 2008 Subject: Lead-Gen Help Message-ID: <4848CF17.6080701@qualitywriter.com> Hi Wilko, Do you know who handles creative production for marketing documents at The FreeBSD Project? We help companies drive sales with lead-generation pieces like case studies, brochures and white papers. Our rates are reasonable and clients recover costs quickly with just a couple of initial sales. ? Low up-front costs ? High ROI ? Direct-response campaigns ? SEO and SEM services ? Flat fee, hourly or performance-based pricing Any help you can offer is much appreciated. A name, an email contact or a forward would be great. Thanks, Phil Clients include NetApp, D-Link, Toshiba Medical, Hewlett Packard, Computer Associates, Software AG, Global Crossing, and many others. "When you find a reliable, experienced freelance writer like QualityWriter, it's often cheaper, quicker and less complicated than doing it in-house." Wona Chung Marketing Director DemandTec Phil Dunn - (949) 515-3510 QualityWriter Marketing, Writing, SEO, SEM http://www.qualitywriter.com From bri at brianwhalen.net Fri Jun 6 06:56:52 2008 From: bri at brianwhalen.net (Brian) Date: Fri Jun 6 06:57:00 2008 Subject: Denyhost In-Reply-To: <20080606043653.GA55456@shepherd> References: <48485C59.3060504@netfence.it> <20080606043653.GA55456@shepherd> Message-ID: <4848D82E.6040708@brianwhalen.net> Sahil Tandon wrote: > Andrea Venturoli wrote: > > >> Anyone using this? >> I've used it for a long time on a 6.x box and it worked fine. >> Recently I had to deactivate it since it seems to lock away every IP which >> is listed in the logs. >> Any hint? >> > > Give more information. Which logs? Give an example. Show relevant excerpts > from your denyhosts configuration. Which version of denyhosts are you > running? How and where in /etc/hosts.allow is the denyhosts list being > referenced? > > If this is the security/denyhosts port being discussed, and all traffic is being blocked from listed IPs, that is a config possibility. IP addresses that show up in the deny list can either have ssh or all traffic denied from those specific hosts. Brian From zafer at aydogan.de Fri Jun 6 07:45:09 2008 From: zafer at aydogan.de (Zafer Aydogan) Date: Fri Jun 6 07:45:12 2008 Subject: BSDstats: May Statistics - 23 998 Hosts Reported In In-Reply-To: <2a7894eb0806051614q366b4373sd8088829a0631592@mail.gmail.com> References: <991123400806050631s689fa9adp7ec073ea48025595@mail.gmail.com> <2a7894eb0806051614q366b4373sd8088829a0631592@mail.gmail.com> Message-ID: <274190120806060020t4b445a6fw7d70a6b4a3ae7249@mail.gmail.com> 2008/6/6, Murray Stokely : > Hi Marc, can you please post these individually to different lists > next time rather than one massive cross-post? > > > On Thu, Jun 5, 2008 at 6:31 AM, Odhiambo Washington wrote: > > Anyway, I am surprised at how fast PC-BSD is picking up. > > I know that during installation, it prompts the installer to enable > > the submission of stats. Could this explain why there are more PC-BSD > > that there are FreeBSD? > > > Yes I should think that is pretty obvious. =) I would expect that > Yahoo! alone has ~2 orders of magnitude more FreeBSD servers than what > is represented there. > > These numbers have basically no correlation with the number of > installed instances of these operating systems. Anyone interested in > this effort should submit patches to optionally install/enable this > functionality in the installer of the various operating systems > > > - Murray > Why is this info crossposted on so much lists ? That's really annoying, beside the fact that the data is useless. Cheers, Zafer. From mark at lightflowinterrupted.com Fri Jun 6 09:27:55 2008 From: mark at lightflowinterrupted.com (Mark) Date: Fri Jun 6 09:28:00 2008 Subject: Query on kgdb output In-Reply-To: <85c4b1850806052308l6a2ccd6bp2a24527b373b1ef5@mail.gmail.com> Message-ID: <01c801c8c7b7$43767b40$f001a8c0@asgard.movesmountains.com> Thanks for the response! OK, I tried this again using a new vmcore and got something more useful: Unread portion of the kernel message buffer: sis0: discard frame w/o packet header Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xbfc04000 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0a31f3a stack pointer = 0x28:0xe3fbbbd4 frame pointer = 0x28:0xe3fbbc14 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 = 34 (irq19: sis0) trap number = 12 panic: page fault cpuid = 0 Uptime: 2h37m48s Physical memory: 977 MB Dumping 164 MB: 149 133 117 101 85 69 53 37 21 5 #0 doadump () at pcpu.h:195 195 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); The network card is being detected as an SiS 900: Jun 6 10:03:36 odin2008 kernel: sis0: port 0x2000-0x20ff mem 0x4a100000-0x4a100fff irq 19 at device 4.0 on pci0 Jun 6 10:03:36 odin2008 kernel: miibus0: on sis0 Jun 6 10:03:36 odin2008 kernel: sis0: Ethernet address: 00:1c:c0:2e:ee:ad Jun 6 10:03:36 odin2008 kernel: sis0: [ITHREAD] Has anyone had any good experiences with this chipset? I can find a few people with similar problems dating back to 2002, but none recently. It's on the supported hardware list. Any ideas as to a fix or workaround? Thanks, Mark Backtrace: (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0757727 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc07579e9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc0a4c32c in trap_fatal (frame=0xe3fbbb94, eva=3217047552) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc0a4c5b0 in trap_pfault (frame=0xe3fbbb94, usermode=0, eva=3217047552) at /usr/src/sys/i386/i386/trap.c:812 #5 0xc0a4cf5c in trap (frame=0xe3fbbb94) at /usr/src/sys/i386/i386/trap.c:490 #6 0xc0a32edb in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc0a31f3a in bus_dmamap_load (dmat=0xc3fda280, map=0xc0bfe140, buf=0x1000000, buflen=2048, callback=0xc0909410 , callback_arg=0xc3f6c378, flags=0) at pmap.h:218 #8 0xc09098ff in sis_newbuf (sc=0xc3fdd300, c=0xc3f6c378, m=0xc4270000) at /usr/src/sys/pci/if_sis.c:1384 #9 0xc090b69d in sis_rxeof (sc=0xc3fdd300) at /usr/src/sys/pci/if_sis.c:1438 #10 0xc090b993 in sis_intr (arg=0xc3fdd300) at /usr/src/sys/pci/if_sis.c:1662 #11 0xc073a94b in ithread_loop (arg=0xc3fcd790) at /usr/src/sys/kern/kern_intr.c:1036 #12 0xc0737749 in fork_exit (callout=0xc073a7a0 , arg=0xc3fcd790, frame=0xe3fbbd38) at /usr/src/sys/kern/kern_fork.c:781 #13 0xc0a32f50 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205 (kgdb) From phoemix at harmless.hu Fri Jun 6 10:00:55 2008 From: phoemix at harmless.hu (CZUCZY Gergely) Date: Fri Jun 6 10:00:59 2008 Subject: PXE booting 7.0-R Message-ID: <20080606114708.0c74c5fd@twoflower.in.publishing.hu> Hello, I'm trying to PXE boot 7.0-RELEASE, but it stops at a time. At boot I see the following on the screen: BIOS drive C: is disk0 BIOS drive D: is disk1 PXE version 2.1, real mode entry point @9188:0106 BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (toor@myplace, date) pxe_open: server addr: 10.0.0.1 pxe_open: serve path: /wwwbladebsd/ pxe_open: gateway ip: 10.0.0.1 Consoles: internal video/keybaord BIOS drive C: is disk0 BIOS drive D: is diskl BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (toor@myplace, date) Can't work out which disk we are booting from. Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0 can't loader 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK lsdev cd devices: disk devices: disk0: BIOS drive C: disk1: BIOS drive D: pxe devices: on the server I see t serving pxeboot via tftp, and mounting the root via NFS: Jun 6 11:38:22 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:22 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs atftpd[2221]: Serving /bsd/pxeboot to 10.0.0.32:2070 Jun 6 11:38:24 nfs atftpd[2222]: Serving /bsd/pxeboot to 10.0.0.32:2071 Jun 6 11:38:25 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs mountd[2120]: authenticated mount request from 10.0.0.32:1023 for /wwwbladebsd (/wwwbladebsd) (around 30-40 from these NFS mount messages in the log). The NFS server is a linux box right now. The dhcpd.conf: host blade1 { hardware ethernet 00:30:48:8d:00:36; fixed-address 10.0.0.32; server-name "10.0.0.1"; filename "/bsd/pxeboot"; next-server 10.0.0.1; option root-path "/wwwbladebsd/"; } i'm using "atftpd" with /tftpboot as root directory. /tftpboot/bsd/ is a symlink to the root system's /boot . I've NFS-exported /wwwbladebsd/, and that seems to work. The question is, why loader is unable to load the kernel? How could I force the loader to use tftp instead of NFS? Or using any other solutions, how can I make this box boot? If I've left out outsomething from here, please tell me, I will post it. Thanks in advance. -- Sincerely, Gergely CZUCZY Harmless Digital Bt mailto: gergely.czuczy@harmless.hu Tel: +36-30-9702963 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080606/34781362/signature.pgp From kris at FreeBSD.org Fri Jun 6 10:48:19 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Fri Jun 6 10:48:25 2008 Subject: Poor read() performance, and I can't profile it In-Reply-To: <4848AA65.9060600@strauser.com> References: <200806051508.29424.kirk@strauser.com> <4848523E.2010604@FreeBSD.org> <200806051617.54400.kirk@strauser.com> <484867E3.3070705@FreeBSD.org> <4848757B.30408@strauser.com> <48489222.7020501@FreeBSD.org> <4848AA65.9060600@strauser.com> Message-ID: <484915F1.10606@FreeBSD.org> Kirk Strauser wrote: > Kris Kennaway wrote: > >> I don't understand what you meant by "It's also doing a lot of >> lseek()s to what is likely the current position anyway (example: seek >> to 0x00, read 16 bytes, seek to 0x10, etc.)." then. > > I just meant that 16 was a smaller number than 4096 to use in an > example. :-) > > But anyway, it looks like I was wrong. Each record in this test file is > 144 bytes long, but instead of reading 144 bytes, it's reading 4096 > bytes then seeking backward 3952 (4096-144) bytes to the start of the > next record. For instance: > > 99823 dumprecspg CALL lseek(0x3,0x1c8,SEEK_SET,0) > 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) > 99823 dumprecspg CALL lseek(0x3,0x258,SEEK_SET,0) > 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) > 99823 dumprecspg CALL lseek(0x3,0x2e8,SEEK_SET,0) > 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) > 99823 dumprecspg CALL lseek(0x3,0x378,SEEK_SET,0) > 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) > Now, I know this is suboptimal. My code is a patch on another, > longer-established project that I wasn't a part of, and I probably can't > do a lot about it without a pretty major rewrite. Still, I can't > believe the same code is *so* much faster on Linux. I'd also swear that > this is a regression and that it used to run much faster on the same > FreeBSD machine back when it was running 6.x, but I never bothered to > benchmark it then because it didn't seem to be an issue. Can you confirm or provide a code sample? What does strace show on Linux? Kris From votdev at gmx.de Fri Jun 6 11:56:19 2008 From: votdev at gmx.de (Volker Theile) Date: Fri Jun 6 11:56:24 2008 Subject: Instant reboot with FreeBSD 6.3 and > 2GB RAM In-Reply-To: <48347329.8020902@vwsoft.com> References: <20080521080156.209010@gmx.net> <48347329.8020902@vwsoft.com> Message-ID: <20080606115617.190950@gmx.net> Hello, i can confirm that the bug fix submitted with PR 108215 solves the reboot problem when using mfsroot images in FreeBSD 6.3. I will test it also on FreeBSD 7.0, but i assume that it will fix it there too. Many users using FreeNAS reporting this reboot problem on their machines with RAM > 2GB. Regards Volker -------- Original-Nachricht -------- > Datum: Wed, 21 May 2008 21:08:25 +0200 > Von: Volker > An: votdev@gmx.de > CC: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org > Betreff: Re: Instant reboot with FreeBSD 6.3 and > 2GB RAM > On 12/23/-58 20:59, votdev@gmx.de wrote: > > Hello, > > > > some users of FreeNAS which is based on FreeBSD 6.3 reported instant > reboots on systems with > 2GB RAM (most of them use 4GB). The reboot occurs > right after displaying the FreeBSD loader menu. Most of them told me that > they can boot if they reduce RAM to <= 2GB. > > > > We are using the following kernel configuration which is based on > GENERIC: > > > http://freenas.svn.sourceforge.net/viewvc/freenas/branches/0.69/build/kernel-config/FREENAS-i386?revision=3291&view=markup > > > > I found out another problem that causes a reboot on my 2GB machine. We > are using a image for the LiveCD which is 64MB great. If i change back > mfs_root size to 63MB all works well, but all above 64MB causes a reboot. > > Is there any limitation? > > > > Could someone help me out of this problem? > > > > Regards > > Volker > > Hi Volker ;) > > I'm not quite sure about your 2nd problem and your report is not quite > detailed but from your description it looks like loader is causing that. > As there's no filesystem available at that time, the loader has to read > itself through the filesystem structures. > > Knowing that, PR misc/108215 comes to mind. I've not been able to check > if the issue and the patch to it is right but you may give it a try. > Probably somebody with loader and filesystem (ufs) knowledge may answer > that question quickly if the patch contained in the PR is right. > > The report is about 6.2-R but at least I've checked loader code and 7.x > code is the same. I came across that report yesterday and was unable to > check the calculation. > > If that is really the case, your problem may be related to that. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=108215 > > Assuming the problem report is right, it's about reading huge files by > loader reads in wrong sectors. > > HTH > > Volker -- Psssst! Schon vom neuen GMX MultiMessenger geh?rt? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger From mark at summersault.com Fri Jun 6 13:55:00 2008 From: mark at summersault.com (Mark Stosberg) Date: Fri Jun 6 13:55:05 2008 Subject: outbound serial modem now times out or drops connection Message-ID: <1212760486.29520.22.camel@localhost> We are using qpage to dial a remote TAP modem (Sprint and Verizon), so we can send pages about our hosting infrastructure without using the internet connection. Recently it started failing consistently with "timeout to connect". I first suspected the remote modem (Sprint), but found I got the same result with other carriers. (And Sprint denied a problem on their end). I have since tried a whole battery of approaches including having the phone line checked by the local phone company, trying a different modem and trying a different phone cord. Trying a new modem (US Robotics external 56k serial modem) did help slightly. With it, we consistently connnect, but then after a short pause the connection is dropped. This is easily reproduced in "minicom": (Using the Sprint TAP modem number here). ATDT18886561727 CONNECT 31200/ARQ/V34/LAPM/V42BIS NO CARRIER I'm out of ideas here. This phone line is only used for this outbound service, although our alarm system also uses it for outbound alerts. Any suggestions for possible causes or further troubleshooting approaches are appreciated. Thanks! Mark From rvm at CBORD.com Fri Jun 6 14:02:19 2008 From: rvm at CBORD.com (Bob McConnell) Date: Fri Jun 6 14:02:26 2008 Subject: outbound serial modem now times out or drops connection In-Reply-To: <1212760486.29520.22.camel@localhost> References: <1212760486.29520.22.camel@localhost> Message-ID: Mark Stosberg: > > We are using qpage to dial a remote TAP modem (Sprint and Verizon), so > we can send pages about our hosting infrastructure without using the > internet connection. > > Recently it started failing consistently with "timeout to connect". > I first suspected the remote modem (Sprint), but found I got the same > result with other carriers. (And Sprint denied a problem on their end). > > I have since tried a whole battery of approaches including having the > phone line checked by the local phone company, trying a different modem > and trying a different phone cord. > > Trying a new modem (US Robotics external 56k serial modem) did help > slightly. With it, we consistently connnect, but then after a short > pause the connection is dropped. This is easily reproduced in > "minicom": (Using the Sprint TAP modem number here). > > ATDT18886561727 > CONNECT 31200/ARQ/V34/LAPM/V42BIS > > NO CARRIER > > I'm out of ideas here. This phone line is only used for this outbound > service, although our alarm system also uses it for outbound alerts. > > Any suggestions for possible causes or further troubleshooting > approaches are appreciated. Does that modem support Unimodem Diagnostics? What do you get from a '#UD' command right after the failed connection attempt? Bob McConnell From fbsd06 at mlists.homeunix.com Fri Jun 6 14:12:26 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Jun 6 14:12:37 2008 Subject: Queuing and Prioritization with PF In-Reply-To: <8d23ec860806051807p719f8ea4mfb70ed107539ecc2@mail.gmail.com> References: <8d23ec860806051807p719f8ea4mfb70ed107539ecc2@mail.gmail.com> Message-ID: <20080606145606.7f5aee82@gumby.homeunix.com.> On Thu, 5 Jun 2008 21:07:49 -0400 Schiz0 wrote: > Hey, > > I have pf running as the firewall on a web and IRC box. I'd like to > setup a bit of prioritization. I want ssh to be a higher priority than > any other traffic. I've read up on Class Based Queuing and Priority > Queuing. If I understand it correctly, priority queuing will transfer > ALL packets with higher priority before ANY of the lower-priority > packets. So if I'm transferring a file via SCP, all other traffic will > stop until the transfer is complete? I don't want other traffic to > stop completely, I just want ssh to have a higher priority. Should I > use class-based then? Possibly, but from what you have said I think you can get away with priority queueing using TOS. ALTQ allows you to specify two queues per rule. The first is for normal traffic, and the second is for empty acks and packets with a "low-delay" TOS. If you specify the same two queues for all TCP traffic then you should get prioritization for interactive SSH, but not SCP. Take a look at pf.conf(5) for examples. From mark at summersault.com Fri Jun 6 14:49:40 2008 From: mark at summersault.com (Mark Stosberg) Date: Fri Jun 6 14:49:46 2008 Subject: outbound serial modem now times out or drops connection In-Reply-To: References: <1212760486.29520.22.camel@localhost> Message-ID: <1212762177.29520.31.camel@localhost> > > Trying a new modem (US Robotics external 56k serial modem) did help > > slightly. With it, we consistently connnect, but then after a short > > pause the connection is dropped. This is easily reproduced in > > "minicom": (Using the Sprint TAP modem number here). > > > > ATDT18886561727 > > CONNECT 31200/ARQ/V34/LAPM/V42BIS > > > > NO CARRIER > > > > I'm out of ideas here. This phone line is only used for this outbound > > service, although our alarm system also uses it for outbound alerts. > > > > Any suggestions for possible causes or further troubleshooting > > approaches are appreciated. > > Does that modem support Unimodem Diagnostics? What do you get from a > '#UD' command right after the failed connection attempt? Bob, Thanks for the response! I tried that with Minicom, and the prompt just goes back to the hover over the "#" sounds and sits there. From some quick Google searches, I didn't find any mentions of this modem supporting that. I'm also not familiar with the details of the TAP protocol. After the CONNECT, who should speak next? From looking at the qpage source code, it looks like we might be waiting for "ID=" to sent from the remote end, and it is not. That would make me suspect the remote end, except that multiple remote modems are responding the same way. Mark From jerrymc at msu.edu Fri Jun 6 15:30:34 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri Jun 6 15:30:40 2008 Subject: Lead-Gen Help In-Reply-To: <4848CF17.6080701@qualitywriter.com> References: <4848CF17.6080701@qualitywriter.com> Message-ID: <20080606152543.GA658@gizmo.acns.msu.edu> On Thu, Jun 05, 2008 at 10:45:59PM -0700, Phil Dunn wrote: > > Hi Wilko, > > Do you know who handles creative production for marketing documents at > The FreeBSD Project? > > We help companies drive sales with lead-generation pieces like case > studies, brochures and white papers. > > Our rates are reasonable and clients recover costs quickly with just a > couple of initial sales. You should learn about FreeBSD a little before you try selling something to it. FreeBSD is as its name says - Free. There are no sales. There is no income and no marketing budget. Sending uninformed cold-letters will get you nowhere. At least look at the home page first. ////jerry > > ? Low up-front costs > ? High ROI > ? Direct-response campaigns > ? SEO and SEM services > ? Flat fee, hourly or performance-based pricing > > Any help you can offer is much appreciated. A name, an email contact or > a forward would be great. > > Thanks, > Phil > > Clients include NetApp, D-Link, Toshiba Medical, Hewlett Packard, > Computer Associates, Software AG, Global Crossing, and many others. > > "When you find a reliable, experienced freelance writer like > QualityWriter, it's often cheaper, quicker and less complicated than > doing it in-house." > Wona Chung > Marketing Director > DemandTec > > Phil Dunn - (949) 515-3510 > QualityWriter > Marketing, Writing, SEO, SEM > http://www.qualitywriter.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 rvm at CBORD.com Fri Jun 6 15:30:59 2008 From: rvm at CBORD.com (Bob McConnell) Date: Fri Jun 6 15:31:07 2008 Subject: outbound serial modem now times out or drops connection In-Reply-To: <1212762177.29520.31.camel@localhost> References: <1212760486.29520.22.camel@localhost> <1212762177.29520.31.camel@localhost> Message-ID: From: Mark Stosberg: >> > Trying a new modem (US Robotics external 56k serial modem) did help >> > slightly. With it, we consistently connnect, but then after a short >> > pause the connection is dropped. This is easily reproduced in >> > "minicom": (Using the Sprint TAP modem number here). >> > >> > ATDT18886561727 >> > CONNECT 31200/ARQ/V34/LAPM/V42BIS >> > >> > NO CARRIER >> > >> > I'm out of ideas here. This phone line is only used for this outbound >> > service, although our alarm system also uses it for outbound alerts. >> > >> > Any suggestions for possible causes or further troubleshooting >> > approaches are appreciated. >> >> Does that modem support Unimodem Diagnostics? What do you get from a >> '#UD' command right after the failed connection attempt? > > Bob, > > Thanks for the response! > > I tried that with Minicom, and the prompt just goes back to the hover > over the "#" sounds and sits there. From some quick Google searches, I > didn't find any mentions of this modem supporting that. > > I'm also not familiar with the details of the TAP protocol. After the > CONNECT, who should speak next? From looking at the qpage source code, > it looks like we might be waiting for "ID=" to sent from the remote end, > and it is not. > > That would make me suspect the remote end, except that multiple remote > modems are responding the same way. > > Mark Mark, The only tap I am familiar with is /dev/tap virtual Ethernet device, as I am currently working on a project that makes use of this interface. Since you get the connect message from your modem, they were able to negotiate a reliable connection. So you have to assume that you do not have any phone line issues. Then it becomes a matter of seeing the correct handshake sequence between the two systems. I would expect the answering system to start that conversation. The NO CARRIER message suggests that the other end dropped the connection, or hung up on you instead of sending the opening message. That should be worth filing a trouble report. Is it possible that those serial ports have been disabled, or that process has been shut down? It is possible the process died without disabling the auto-answer status of the modem. Some of those modems are just too smart for their own good. Please do not CC me on this thread. I can read it just fine from the list. Bob McConnell From wojtek at wojtek.tensor.gdynia.pl Fri Jun 6 16:16:04 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 6 16:16:13 2008 Subject: HylaFAX in FreeBSD jail? In-Reply-To: <48482DC3.2020101@skoberne.net> References: <48482DC3.2020101@skoberne.net> Message-ID: <20080606181453.U7619@wojtek.tensor.gdynia.pl> AFAIK all special hylafax needs is serial port acces for modem. you have to use #jail_example_devfs_ruleset="ruleset_name" # devfs ruleset to apply to jail in rc.conf and make rule for devfs for your jail - like normal jail rule+needed serial port. On Thu, 5 Jun 2008, Nejc ?koberne wrote: > Hello, > > anyone tried running HylaFAX in a FreeBSD jail? Does it work? > > Thanks, > Nejc > _______________________________________________ > freebsd-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 derek at computinginnovations.com Fri Jun 6 16:16:46 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Fri Jun 6 16:16:51 2008 Subject: Denyhost In-Reply-To: <20080606035604.GA80471@melon.esperance-linux.co.uk> References: <48485C59.3060504@netfence.it> <6.0.0.22.2.20080605181810.025867c8@mail.computinginnovations.com> <20080606035604.GA80471@melon.esperance-linux.co.uk> Message-ID: <6.0.0.22.2.20080606111601.0254f4f8@mail.computinginnovations.com> At 10:56 PM 6/5/2008, Frank Shute wrote: >On Thu, Jun 05, 2008 at 06:19:26PM -0500, Derek Ragona wrote: > > > > At 04:36 PM 6/5/2008, Andrea Venturoli wrote: > > > > > >Anyone using this? > > >I've used it for a long time on a 6.x box and it worked fine. > > >Recently I had to deactivate it since it seems to lock away every IP > which > > >is listed in the logs. > > >Any hint? > > > > > > bye & Thanks > > > av. > > > > I believe denyhost has been deprecated. I use /etc/hosts.allow which > works > > fine and combines both allow and deny functions in one configuration file. > > > > -Derek > > > >Derek, I think Andrea meant the port security/denyhosts which monitors >your ssh port and adds dodgy IPs which attack 22 to hosts.allow (I >think - I haven't used it yet). Are you thinking of hosts.deny? Yes I was, sorry for my mistake. -Derek >I guess you can configure it as to how it blocks the IPs. > >Andrea, have a look at hosts.allow to see how it's blocking those IPs >and you should be able to remove them or relax the rules. You have to >give inetd a HUP to reread hosts.allow. > >HTH. > >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" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From wojtek at wojtek.tensor.gdynia.pl Fri Jun 6 16:18:09 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jun 6 16:18:11 2008 Subject: 6.3 to 7.0 STABLE upgrade buildworld failures In-Reply-To: <19277425.211212686423414.JavaMail.root@tomcat.phantombsd.org> References: <19277425.211212686423414.JavaMail.root@tomcat.phantombsd.org> Message-ID: <20080606181743.Q7638@wojtek.tensor.gdynia.pl> > Can we no longer use "make buildworld" to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: well i exactly upgraded this way. no errors. From heli at mikestammer.com Fri Jun 6 16:35:30 2008 From: heli at mikestammer.com (Eric Zimmerman) Date: Fri Jun 6 16:35:40 2008 Subject: 6.3 to 7.0 STABLE upgrade buildworld failures In-Reply-To: <20080606181743.Q7638@wojtek.tensor.gdynia.pl> References: <19277425.211212686423414.JavaMail.root@tomcat.phantombsd.org> <20080606181743.Q7638@wojtek.tensor.gdynia.pl> Message-ID: <4849673F.1020207@mikestammer.com> Wojciech Puchar wrote: > >> Can we no longer use "make buildworld" to upgrade from source builds? >> Everytime I've tried, I get build errors. I've gotten the impression >> from a few things I've read that freebsd-update is suppose to be used. >> I don't want a binary install/upgrade though. I've just sync from CVS >> with this in the config: > > well i exactly upgraded this way. no errors. > _______________________________________________ same here. no errors on a few boxes. do you have extra stuff in your make.conf file? if so, comment them out and try again From casey at phantombsd.org Fri Jun 6 16:46:07 2008 From: casey at phantombsd.org (Casey Scott) Date: Fri Jun 6 16:46:14 2008 Subject: 6.3 to 7.0 STABLE upgrade buildworld failures In-Reply-To: <4849673F.1020207@mikestammer.com> Message-ID: <4783616.31212770762152.JavaMail.root@tomcat.phantombsd.org> The problem was not building TOOLCHAIN. So I was not making the includes everything else needed. As of now, upgraded and running merrily. Although, I am having issues with the named rc control script. :-\ Casey ----- "Eric Zimmerman" wrote: > Wojciech Puchar wrote: > > > >> Can we no longer use "make buildworld" to upgrade from source > builds? > >> Everytime I've tried, I get build errors. I've gotten the > impression > >> from a few things I've read that freebsd-update is suppose to be > used. > >> I don't want a binary install/upgrade though. I've just sync from > CVS > >> with this in the config: > > > > well i exactly upgraded this way. no errors. > > _______________________________________________ > > same here. no errors on a few boxes. do you have extra stuff in your > > make.conf file? if so, comment them out and try again > _______________________________________________ > freebsd-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 justin at justinarcher.com Fri Jun 6 16:53:35 2008 From: justin at justinarcher.com (Justin Archer) Date: Fri Jun 6 16:53:41 2008 Subject: Hi Message-ID: <9039B036-5C23-44D3-8FA4-729702AF8BF0@justinarcher.com> Hi, I have just purchased a new Dell Server, to run with Plesk. I have just moved from an Apple XServe and seeing that OS X derived from FreeBSD, I felt that it was the best choice to start with. My only dilemma is, I am wanting to run the system in 64-bit, with using the Intel Quad 2.5Ghz Xeon, but I am unsure as to which version I should be downloading. For plesk, I need to use version 6.1 and had read somewhere that I would use the AMD 64-bit version, can you confirm if this is correct for an Intel processor? Many Thanks Justin Archer From grog at FreeBSD.ORG Fri Jun 6 17:02:01 2008 From: grog at FreeBSD.ORG (Greg Lehey) Date: Fri Jun 6 17:02:09 2008 Subject: How to get best results from FreeBSD-questions Message-ID: <20080606170201.41BC81065672@hub.freebsd.org> How to get the best results from FreeBSD questions. =================================================== Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. ===================================================================== Contents: I: Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V: How to answer a question to FreeBSD-questions I: Introduction =============== This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions ============================================== When you subscribed to FreeBSD-questions, you got a welcome message from freebsd-questions-request@FreeBSD.ORG. In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/me@me.org (obviously, substitute your mail address for "me@me.org"). You can also make such adjustments via email by sending a message to: freebsd-questions-request@freebsd.org with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as grog@lemis.de. Since then, I have changed it to grog@lemis.com. If I were to try to remove grog@lemis.com from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to Postmaster@FreeBSD.org, and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions or -hackers? ========================================= Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In some cases, it's not really clear which group you should ask. The following criteria should help for 99% of all questions, however: If the question is of a general nature, first check whether this isn't a Frequently Asked Question (FAQ). There's a list of these questions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html, and also on your own system (once you've installed it) at /usr/share/doc/en/books/faq/index.html. Check there, and if you don't find an answer, ask FreeBSD-questions. Examples might be questions about installing FreeBSD or the use of a particular UNIX utility. If you think the question relates to a bug, but you're not sure, or you don't know how to look for it, send the message to FreeBSD-questions. If the question relates to a bug, and you're almost sure that it's a bug (for example, you can pinpoint the place in the code where it happens, and you maybe have a fix), then send the message to FreeBSD-hackers. You should also enter a problem report with the send-pr utility. If the question relates to enhancements to FreeBSD, and you can make suggestions about how to implement them, then send the message to FreeBSD-hackers. If the question is of particularly technical nature, such as implementation details or suggestions for improvements, then send the message to FreeBSD-hackers. There are also a number of other specialized mailing lists, for example FreeBSD-isp, which caters to the interests of ISPs (Internet Service Providers) who run FreeBSD. If you happen to be an ISP, this doesn't mean you should automatically send your questions to FreeBSD-isp. The criteria above still apply, and it's in your interest to stick to them, since you're more likely to get good results that way. IV: How to submit a question ============================= When submitting a question to FreeBSD-questions, consider the following points: 1. Remember that nobody gets paid for answering a FreeBSD question. They do it of their own free will. You can influence this free will positively by submitting a well-formulated question supplying as much relevant information as possible. You can influence this free will negatively by submitting an incomplete, illegible, or rude question. It's perfectly possible to send a message to FreeBSD-questions and not get an answer even if you follow these rules. It's much more possible to not get an answer if you don't. In the rest of this document, we'll look at how to get the most out of your question to FreeBSD-questions. 2. Not everybody who answers FreeBSD questions reads every message: they look at the subject line and decide whether it interests them. Clearly, it's in your interest to specify a subject. ``FreeBSD problem'' or ``Help'' aren't enough. If you provide no subject at all, many people won't bother reading it. If your subject isn't specific enough, the people who can answer it may not read it. 3. When sending a new message, well, send a new message. Don't reply to some other message, erase the old content and change the subject line. That leaves an In-reply-to: header which many mail readers use to thread messages, so your message shows up as a reply to some other message. People often delete messages a whole thread at a time, so apart from irritating people, you also run a chance of having the message deleted unread. 4. Format your message so that it is legible, and PLEASE DON'T SHOUT!!!!!. We appreciate that a lot of people don't speak English as their first language, and we try to make allowances for that, but it's really painful to try to read a message written full of typos or without any line breaks. A lot of badly formatted messages come from bad mailers or badly configured mailers. The following mailers are known to send out badly formatted messages without you finding out about them: Eudora exmh Microsoft Exchange Microsoft Internet Mail Microsoft Outlook Netscape As you can see, the mailers in the Microsoft world are frequent offenders. If at all possible, use a UNIX mailer. If you must use a mailer under Microsoft environments, make sure it is set up correctly. Try not to use MIME: a lot of people use mailers which don't get on very well with MIME. For further information on this subject, check out http://www.lemis.com/email.html. 5. Make sure your time and time zone are set correctly. This may seem a little silly, since your message still gets there, but many of the people you are trying to reach get several hundred messages a day. They frequently sort the incoming messages by subject and by date, and if your message doesn't come before the first answer, they may assume they missed it and not bother to look. 6. Don't include unrelated questions in the same message. Firstly, a long message tends to scare people off, and secondly, it's more difficult to get all the people who can answer all the questions to read the message. 7. Specify as much information as possible. This is a difficult area, and we need to expand on what information you need to submit, but here's a start: If you get error messages, don't say ``I get error messages'', say (for example) ``I get the error message 'No route to host'''. If your system panics, don't say ``My system panicked'', say (for example) ``my system panicked with the message 'free vnode isn't'''. If you have difficulty installing FreeBSD, please tell us what hardware you have. In particular, it's important to know the IRQs and I/O addresses of the boards installed in your machine. If you have difficulty getting PPP to run, describe the configuration. Which version of PPP do you use? What kind of authentication do you have? Do you have a static or dynamic IP address? What kind of messages do you get in the log file? 8. If you don't get an answer immediately, or if you don't even see your own message appear on the list immediately, don't resend the message. Wait at least 24 hours. The FreeBSD mailer offloads messages to a number of subordinate mailers around the world, and sometimes it can take several hours for the mail to get through. And once it gets through, the one person who might know the answer will probably just have gone to bed in his part of the world. 9. If you do all this, and you still don't get an answer, there could be other reasons. For example, the problem is so complicated that nobody knows the answer, or the person who does know the answer was offline. If you don't get an answer after, say, a week, it might help to re-send the message. If you don't get an answer to your second message, though, you're probably not going to get one from this forum. Resending the same message again and again will only make you unpopular. To summarize, let's assume you know the answer to the following question (yes, it's the same one in each case :-). You choose which of these two questions you would be more prepared to answer: Message 1: Subject: (none) I just can't get hits damn silly FereBSD system to workd, and Im really good at this tsuff, but I have never seen anythign sho difficult to install, it jst wont work whatever I try so why don't y9ou guys tell me what I doing wrong. ---------------------------------------------------------------------- Message 2: Subject: Problems installing FreeBSD I've just got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message "Missing Operating System". ---------------------------------------------------------------------- V: How to follow up to a question ================================= Often you will want to send in additional information to a question you have already sent. The best way to do this is to reply to your original message. This has three advantages: 1. You include the original message text, so people will know what you're talking about. Don't forget to trim unnecessary text out, though. 2. The text in the subject line stays the same (you did remember to put one in, didn't you?). Many mailers will sort messages by subject. This helps group messages together. 3. The message reference numbers in the header will refer to the previous message. Some mailers, such as mutt, can thread messages, showing the exact relationships between the messages. VI: How to answer a question ============================ Before you answer a question to FreeBSD-questions, consider: 1. A lot of the points on submitting questions also apply to answering questions. Read them. 2. Has somebody already answered the question? The easiest way to check this is to sort your incoming mail by subject: then (hopefully) you'll see the question followed by any answers, all together. If somebody has already answered it, it doesn't automatically mean that you shouldn't send another answer. But it makes sense to read all the other answers first. 3. Do you have something to contribute beyond what has already been said? In general, "Yeah, me too" answers don't help much, although there are exceptions, like when somebody is describing a problem he's having, and he doesn't know whether it's his fault or whether there's something wrong with the hardware or software. If you do send a "me too" answer, you should also include any further relevant information. 4. Are you sure you understand the question? Very frequently, the person who asks the question is confused or doesn't express himself very well. Even with the best understanding of the system, it's easy to send a reply which doesn't answer the question. This doesn't help: you'll leave the person who submitted the question more frustrated or confused than ever. If nobody else answers, and you're not too sure either, you can always ask for more information. 5. Are you sure your answer is correct? If not, wait a day or so. If nobody else comes up with a better answer, you can still reply and say, for example, "I don't know if this is correct, but since nobody else has replied, why don't you try replacing your ATAPI CD-ROM with a frog?". 6. Unless there's a good reason to do otherwise, reply to the sender and to FreeBSD-questions. Many people on the FreeBSD-questions are "lurkers": they learn by reading messages sent and replied to by others. If you take a message which is of general interest off the list, you're depriving these people of their information. Be careful with group replies; lots of people send messages with hundreds of CCs. If this is the case, be sure to trim the Cc: lines appropriately. 7. Include relevant text from the original message. Trim it to the minimum, but don't overdo it. It should still be possible for somebody who didn't read the original message to understand what you're talking about. 8. Use some technique to identify which text came from the original message, and which text you add. I personally find that prepending ``> '' to the original message works best. Leaving white space after the ``> '' and leave empty lines between your text and the original text both make the result more readable. 9. Put your response in the correct place (after the text to which it replies). It's very difficult to read a thread of responses where each reply comes before the text to which it replies. 10. Most mailers change the subject line on a reply by prepending a text such as ``Re: ''. If your mailer doesn't do it automatically, you should do it manually. 11. If the submitter didn't abide by format conventions (lines too long, inappropriate subject line), please fix it. In the case of an incorrect subject line (such as ``HELP!!??''), change the subject line to (say) ``Re: Difficulties with sync PPP (was: HELP!!??)''. That way other people trying to follow the thread will have less difficulty following it. In such cases, it's appropriate to say what you did and why you did it, but try not to be rude. If you find you can't answer without being rude, don't answer. If you just want to reply to a message because of its bad format, just reply to the submitter, not to the list. You can just send him this message in reply, if you like. $Id: Howto-ask-questions,v 1.6 2005/08/10 02:21:44 grog Exp $ _______________________________________________ Thanks to Josh Paetzel for updating this document to describe mailman. From grog at FreeBSD.ORG Fri Jun 6 17:02:01 2008 From: grog at FreeBSD.ORG (Greg Lehey) Date: Fri Jun 6 17:02:10 2008 Subject: "The Complete FreeBSD": errata and addenda Message-ID: <20080606170201.480A9106567B@hub.freebsd.org> The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg From wmoran at potentialtech.com Fri Jun 6 17:27:12 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Fri Jun 6 17:27:15 2008 Subject: appropriate 64 bit version? In-Reply-To: <9039B036-5C23-44D3-8FA4-729702AF8BF0@justinarcher.com> References: <9039B036-5C23-44D3-8FA4-729702AF8BF0@justinarcher.com> Message-ID: <20080606132710.0e2defe8.wmoran@potentialtech.com> Justin Archer wrote: > > Hi, I have just purchased a new Dell Server, to run with Plesk. I have > just moved from an Apple XServe and seeing that OS X derived from > FreeBSD, I felt that it was the best choice to start with. My only > dilemma is, I am wanting to run the system in 64-bit, with using the > Intel Quad 2.5Ghz Xeon, but I am unsure as to which version I should > be downloading. > > For plesk, I need to use version 6.1 and had read somewhere that I > would use the AMD 64-bit version, can you confirm if this is correct > for an Intel processor? A descriptive subject line generally makes for more responses on mailing lists. The amd64 spec is the same as the EM64T spec that Intel uses. Thus the amd64 version of FreeBSD will work correctly on Intel Xeon CPUs. The version is called amd64 because AMD published their spec first. (FYI) -- Bill Moran http://www.potentialtech.com From tyuliev at bas.bg Fri Jun 6 17:52:26 2008 From: tyuliev at bas.bg (Georgi Tyuliev) Date: Fri Jun 6 17:52:32 2008 Subject: change the file date and time Message-ID: <48497315.5020804@bas.bg> Dear Sirs 1. How to mount Sony Ericsson k750i mobile phone with FreeBSD 7.0 ? 2. How to change automatically the file attributes (for example 'date') of large number of files? For example: I have taken many photos with my Sony Ericsson k750i mobile phone and the exact time end date is accessible (e.g. through F3 of the midnight commander), but very often when copying the jpg's the file attributes change. Best regards, G.Tyuliev From yuri at rawbw.com Fri Jun 6 18:51:35 2008 From: yuri at rawbw.com (Yuri) Date: Fri Jun 6 18:51:41 2008 Subject: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps? Message-ID: <48498735.6030800@rawbw.com> When I am trying to type Chinese characters I can only do this from GTK applications. Input method doesn't work QT applications for me. I have the following in my .xinitrc: export XMODIFIERS='@im=gcin' export GTK_IM_MODULE=gcin export QT_IM_MODULE=gcin I have zh-gcin-1.4.0_1 installed and start it with 'gcin &'. In GTK apps Alt-Space creates the prompt windows. And in any QT apps -- no such box is popping up. Yuri From casey at phantombsd.org Fri Jun 6 19:19:45 2008 From: casey at phantombsd.org (Casey Scott) Date: Fri Jun 6 19:19:49 2008 Subject: rc.d/named Message-ID: <11264046.61212779984113.JavaMail.root@tomcat.phantombsd.org> I have quite a bit of trouble with the /etc/rc.d/named script. The source of the biggest issue was the rc_run_command was not issuing the run command with "/usr/sbin/named". It was just running the arguments w/o the executable. e.g. -t /var/named vs. /usr/sbin/named -t /var/named I have the stock /etc/defaults/rc.conf, and the only thin in /etc/rc.conf related to named is a correction to the chroot directory... For the time being that issue has been resolve by hacking the rc.conf to issue the executable where the flags are specified. However, when issuing /etc/rc.d/named I get: named not running? (check /var/run/named/pid). /var/run/named/pid contains the correct PID, and has permissions: lrwxr-xr-x 1 root bind Anyone else having trouble with this? None of the other init scripts are having problems. TIA, Casey From jeff at m2.seamanpaper.com Fri Jun 6 19:36:52 2008 From: jeff at m2.seamanpaper.com (Jeff Dickens) Date: Fri Jun 6 19:36:56 2008 Subject: dump and remote file fetching In-Reply-To: <483C8060.2070003@lc-words.com> References: <483C8060.2070003@lc-words.com> Message-ID: <484991B1.3050400@m2.seamanpaper.com> Zbigniew Szalbot wrote: > Hello, > > Need a word of advice. I use dump to backup my data. All fine. Dump > saves compressed *.bz2 files. Nice. All I need now is a way to copy > them from the server to a remote backup machine. The problem I am > facing is that bz2 files are owned by root:wheel. So if I use scp > user@domain.tld:/path/to/*.bz2, it does not have sufficient > permissions to fetch the files. I can use sudo, but then I need to > interactively type the password, which I would like to avoid. > Add user "user" to a group "xyz". Arrange for dump files to get group "xyz" and permissions g+w. You can probably do this by changing the group of the directory the dumps are written into and setting the sticky bit. > Can you suggest simple ways of getting around this? I don't mind using > special tools for the job, especially if they are not too > complicated... :) > > Before firing this email off I took a look at rsync and it seems easy > enough to do just what I need but still many thanks for suggestions! > > From jeff at m2.seamanpaper.com Fri Jun 6 20:24:23 2008 From: jeff at m2.seamanpaper.com (Jeff Dickens) Date: Fri Jun 6 20:24:26 2008 Subject: vmware timekeeping Message-ID: <48499CCD.2010708@m2.seamanpaper.com> I'm running FreeBSD 6.3-release as a guest on VMware ESX 3.0.2. My problem is that the clock keeps *gaining* time. I have the "timesync" option turned on in ESX's .vmx file, and I have "hint.apic.0.disabled=1" in my FreeBSD guest's /boot/loader.conf. I used to have "kern.hz=100" in loader.conf, but that caused the guest to gain time even faster. Does anyone have a good recipe for decent timekeeping in this config? Thanks. From freebsd at celestial.com Fri Jun 6 20:56:50 2008 From: freebsd at celestial.com (Bill Campbell) Date: Fri Jun 6 20:56:53 2008 Subject: change the file date and time In-Reply-To: <48497315.5020804@bas.bg> References: <48497315.5020804@bas.bg> Message-ID: <20080606202854.GA15570@ayn.mi.celestial.com> On Fri, Jun 06, 2008, Georgi Tyuliev wrote: >Dear Sirs >1. How to mount Sony Ericsson k750i mobile phone with FreeBSD 7.0 ? >2. How to change automatically the file attributes (for example 'date') >of large number of files? >For example: I have taken many photos with my Sony Ericsson k750i mobile >phone and >the exact time end date is accessible (e.g. through F3 of the midnight >commander), >but very often when copying the jpg's the file attributes change. man utime man touch You can set the access and modification times of any file or directory directly with the utime(2) system call. This can be done from scripting languages such as python or perl, without having to write C programs. The ``touch'' command can change the modification times from any shell program, which may be all you need. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Intaxication: Euphoria at getting a refund from the IRS, which lasts until you realize it was your money to start with. From jbiquez at icsmx.com Fri Jun 6 21:12:35 2008 From: jbiquez at icsmx.com (Jorge Biquez) Date: Fri Jun 6 21:12:39 2008 Subject: vmware timekeeping In-Reply-To: <48499CCD.2010708@m2.seamanpaper.com> References: <48499CCD.2010708@m2.seamanpaper.com> Message-ID: <200806062048.m56Kmhtl071591@mail.icsmx.com> At 03:23 p.m. 06/06/2008, you wrote: >I'm running FreeBSD 6.3-release as a guest on VMware ESX 3.0.2. My >problem is that the clock keeps *gaining* time. I have the >"timesync" option turned on in ESX's .vmx file, and I have >"hint.apic.0.disabled=1" in my FreeBSD guest's /boot/loader.conf. > >I used to have "kern.hz=100" in loader.conf, but that caused the >guest to gain time even faster. > >Does anyone have a good recipe for decent timekeeping in this config? > >Thanks. >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hello all. Here is something similar. Running 6.2 stable... but the clock lose around 6 hours each day JB From millenia2000 at hotmail.com Fri Jun 6 21:13:17 2008 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Fri Jun 6 21:13:23 2008 Subject: appropriate 64 bit version? In-Reply-To: <20080606132710.0e2defe8.wmoran@potentialtech.com> References: <9039B036-5C23-44D3-8FA4-729702AF8BF0@justinarcher.com> <20080606132710.0e2defe8.wmoran@potentialtech.com> Message-ID: > The version is called amd64 because AMD published their spec first. (FYI) > the thing I have actually wondered is why i386 and amd64 are used as the naming convention instead of x86 and x86-64 or x64 -Sean From link at ngc.net.ua Fri Jun 6 21:15:04 2008 From: link at ngc.net.ua (Zinevich Denis) Date: Fri Jun 6 21:15:09 2008 Subject: mpd limited connections Message-ID: <484999AF.9060400@ngc.net.ua> Hi all. I have very strange problem as for me. FreeBSD 6.3. mpd5. it is configured to server standard pptp requests. Everybody listed in mpd.secret can connect with no problems. But... But only till ng13 is created. After connecting 14 users nobody can connect anymore... If somebody dissconects new user can login. But never more than 14 users.... From millenia2000 at hotmail.com Fri Jun 6 21:34:17 2008 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Fri Jun 6 21:34:21 2008 Subject: vmware timekeeping In-Reply-To: <200806062048.m56Kmhtl071591@mail.icsmx.com> References: <48499CCD.2010708@m2.seamanpaper.com> <200806062048.m56Kmhtl071591@mail.icsmx.com> Message-ID: ---------------------------------------- > Date: Fri, 6 Jun 2008 15:48:46 -0500 > To: freebsd-questions@freebsd.org > From: jbiquez@icsmx.com > Subject: Re: vmware timekeeping > > At 03:23 p.m. 06/06/2008, you wrote: >>I'm running FreeBSD 6.3-release as a guest on VMware ESX 3.0.2. My >>problem is that the clock keeps *gaining* time. I have the >>"timesync" option turned on in ESX's .vmx file, and I have >>"hint.apic.0.disabled=1" in my FreeBSD guest's /boot/loader.conf. >> >>I used to have "kern.hz=100" in loader.conf, but that caused the >>guest to gain time even faster. >> >>Does anyone have a good recipe for decent timekeeping in this config? >> >>Thanks. >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Hello all. > > Here is something similar. Running 6.2 stable... but the clock lose > around 6 hours each day > > JB > The only good way of keeping time pretty set is to set up an NTP sync on the image to go off at decently constant rate (once every 3 hours or so). the vmware-tools will not synchronize the system clock. I heard of someone trying to change the clock in BSD to only use the hardware clock as VMWare can reset that but never heard anything beyond that. -Sean From joerosenfeld at gmail.com Fri Jun 6 21:49:17 2008 From: joerosenfeld at gmail.com (Joachim Rosenfeld) Date: Fri Jun 6 21:49:28 2008 Subject: massive ports update Message-ID: <6e5cf6a70806061449o54e23fe2yab4769885f13a733@mail.gmail.com> Why did ~5k ports change in the last 24 hours? From jerrymc at msu.edu Fri Jun 6 21:57:58 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri Jun 6 21:58:01 2008 Subject: appropriate 64 bit version? In-Reply-To: References: <9039B036-5C23-44D3-8FA4-729702AF8BF0@justinarcher.com> <20080606132710.0e2defe8.wmoran@potentialtech.com> Message-ID: <20080606215306.GB2276@gizmo.acns.msu.edu> On Fri, Jun 06, 2008 at 05:13:16PM -0400, Sean Cavanaugh wrote: > > > > The version is called amd64 because AMD published their spec first. (FYI) > > > > > the thing I have actually wondered is why i386 and amd64 are used as the > naming convention instead of x86 and x86-64 or x64 Just because someone thought of that at the time they were naming it. Actually, I think there was some thought that and64 and the Intel attempt would actually be different and so needed distinguishing. But, apparently the Intel differences didn't hold enough sway in the market place. ////jerry > > -Sean > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From nlandys at gmail.com Fri Jun 6 21:58:21 2008 From: nlandys at gmail.com (Nerius Landys) Date: Fri Jun 6 21:58:26 2008 Subject: massive ports update In-Reply-To: <6e5cf6a70806061449o54e23fe2yab4769885f13a733@mail.gmail.com> References: <6e5cf6a70806061449o54e23fe2yab4769885f13a733@mail.gmail.com> Message-ID: <560f92640806061458k7b413e9du49c84c252b424fcb@mail.gmail.com> Maybe it's because gettext got updated and it's required to rebuild all ports that depend on it? See /usr/ports/UPDATING. Really I'm just guessing here. On Fri, Jun 6, 2008 at 2:49 PM, Joachim Rosenfeld wrote: > Why did ~5k ports change in the last 24 hours? > _______________________________________________ > freebsd-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 tfcheng at gmail.com Fri Jun 6 22:17:41 2008 From: tfcheng at gmail.com (Tsu-Fan Cheng) Date: Fri Jun 6 22:17:46 2008 Subject: amule crash Message-ID: Hi, my amule (freebsd 7.0/i386) crash regularly due to: pid 2032 (amule), uid 1001, was killed: out of swap space how does this happen? and how to fix this?? thanks!! From ml at t-b-o-h.net Fri Jun 6 22:17:43 2008 From: ml at t-b-o-h.net (Tuc at T-B-O-H) Date: Fri Jun 6 22:17:47 2008 Subject: massive ports update In-Reply-To: <560f92640806061458k7b413e9du49c84c252b424fcb@mail.gmail.com> from "Nerius Landys" at Jun 06, 2008 02:58:19 PM Message-ID: <200806062217.m56MHgKV019665@vjofn.tucs-beachin-obx-house.com> In UPDATING it says : Given the scope and sheer number of dependent ports, it may be more advisable to simply blow away all existing install ports (after keeping any local configuration changes), and rebuilding from scratch. I'm wondering just how many ports the author of that statement has. I have a few to say the least. Actually a few hundred. Ok, well, 1102 to be a bit more specific.... Blow away and re-install 1102 ports? For real? Tuc > > Maybe it's because gettext got updated and it's required to rebuild all > ports that depend on it? See /usr/ports/UPDATING. Really I'm just guessing > here. > > On Fri, Jun 6, 2008 at 2:49 PM, Joachim Rosenfeld > wrote: > > > Why did ~5k ports change in the last 24 hours? > > _______________________________________________ > > freebsd-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 mtoth at queldor.net Fri Jun 6 22:35:51 2008 From: mtoth at queldor.net (Michael toth) Date: Fri Jun 6 22:35:55 2008 Subject: massive ports update In-Reply-To: <6e5cf6a70806061449o54e23fe2yab4769885f13a733@mail.gmail.com> References: <6e5cf6a70806061449o54e23fe2yab4769885f13a733@mail.gmail.com> Message-ID: <4849B16F.3010301@queldor.net> Looks like most of them are Bump portrevision due to upgrade of devel/gettext. Joachim Rosenfeld wrote: > Why did ~5k ports change in the last 24 hours? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- -- [ Queldor ] (Warning: This message may cause you to understand something) From derek at computinginnovations.com Sat Jun 7 00:32:57 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Sat Jun 7 00:33:03 2008 Subject: rc.d/named In-Reply-To: <11264046.61212779984113.JavaMail.root@tomcat.phantombsd.or g> References: <11264046.61212779984113.JavaMail.root@tomcat.phantombsd.org> Message-ID: <6.0.0.22.2.20080606193040.0256da00@mail.computinginnovations.com> At 02:19 PM 6/6/2008, Casey Scott wrote: >I have quite a bit of trouble with the /etc/rc.d/named script. The source >of the biggest issue was the rc_run_command was not issuing the run command >with "/usr/sbin/named". It was just running the arguments w/o the executable. > >e.g. -t /var/named vs. /usr/sbin/named -t /var/named > >I have the stock /etc/defaults/rc.conf, and the only thin in /etc/rc.conf >related to named is a correction to the chroot directory... For the time >being that issue has been resolve by hacking the rc.conf to issue the >executable where the flags are specified. However, when issuing >/etc/rc.d/named >I get: > >named not running? (check /var/run/named/pid). > > >/var/run/named/pid contains the correct PID, and has permissions: > >lrwxr-xr-x 1 root bind > >Anyone else having trouble with this? None of the other init scripts are >having >problems. You need to set: named_chroot_autoupdate named_chrootdir named_flags and possibly: named_uid in /etc/rc.conf I have all of these values set. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From cwhiteh at onetel.com Sat Jun 7 01:03:53 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sat Jun 7 01:03:57 2008 Subject: Best solution - mobile wifi hotspot In-Reply-To: <80f4f2b20806051452i62ff9862vafb4091dafee2e81@mail.gmail.com> References: <80f4f2b20805300608s13ec0fa7x7034f1a89ea07c46@mail.gmail.com> <48403EDE.1090409@onetel.com> <80f4f2b20806051452i62ff9862vafb4091dafee2e81@mail.gmail.com> Message-ID: <4849DE74.4010008@onetel.com> Jim Stapleton wrote: > On Fri, May 30, 2008 at 1:52 PM, Chris Whitehouse wrote: >> Jim Stapleton wrote: >>> My dad makes instruments and goes to a lot of festivals. They are >>> typically in the middle of nowhere, without internet. Many vendors >>> still bring notebooks as they provide quick & easy access to many >>> things, but there is no internet. For credit cards, many use their >>> cell phones to make the transaction. My dad wants to get a satellite >>> connection (pure sattelite, no phone), and set up something to offer a >>> wireless hotspot. >>> - Some shows will just pay a flat fee, and have the hotspot open. >>> - Some shows won't pay a fee, and so he'll want to charge to recover >>> some of the cost. >>> >>> For the open hotspots, a simple wireless router will do. For the >>> charge hotspots, we'd want something a little more flexible. My first >>> thought was 'FreeBSD can do that!'. The trick is that we will be using >>> battery power most of the time. Low power is the key. I'm thinknig >>> sub-20W max power drain worst case, SUB 10-15W is ideal. >>> >>> >>> With that background info, my questions are: >>> 1) Is building a low power computer based on FreeBSD the right way to >>> go? Or would you all recommend something else? What? >>> 2) Does anyone have experience with the GeodeNX or VIA C7 boards >>> available on NewEgg? Heads ups and pointers? >>> 3) Does anyone have experiences with these and a given wireless >>> adaptor, How good/bad is/was it? >>> >>> Thanks, >>> -Jim Stapleton >>> _______________________________________________ >>> freebsd-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 particular wheel has already been invented several ways :) >> >> http://psand.net/ >> >> https://en.wiki.aktivix.org/SquatTelecoms > > Well, my dad wants to provide something for cheaper than hiring a > third-party vendor to come out into the middle of nowhere and do this > (amongst other things, since he's out there, he doesn't have to use > hundreds of miles of gas + extra man hours). I think it is worth contacting psands to see if they will help with info, or you could go to a festival they are at and talk to them. > > As for the second, that seems to be 'how to get an ISP', which he > already has researched, he is more looking to /be/ the ISP. plus a bunch more about technology... > >> To keep power down you probably want to opt for a dedicated wireless router >> box not a computer (unless you are also saving bandwidth with squid etc). >> And to generate electricity use wind or solar. > > Do you know of a wireless router that can provide individual user > authentication, without requiring a complex setup? Some places may not > want to pay for the internet connection, so he'll need to 'rent out' > connection bandwidth to other vendors. Sorry I don't know a specific model. I'm sure you already know it just means search engines and reading detailed specs. Out of curiosity what country are you in and what sort of festivals will you be providing the service at? I believe psands support events where they like what they are doing in addition to their commercial services. This is getting a bit OT so email me off list if you like. Chris > > Thanks, > -Jim Stapleton > _______________________________________________ > freebsd-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 monochrome.org Sat Jun 7 02:13:48 2008 From: chris at monochrome.org (Chris Hill) Date: Sat Jun 7 02:13:52 2008 Subject: Hi In-Reply-To: <9039B036-5C23-44D3-8FA4-729702AF8BF0@justinarcher.com> References: <9039B036-5C23-44D3-8FA4-729702AF8BF0@justinarcher.com> Message-ID: <20080606221001.O37735@tripel.monochrome.org> On Fri, 6 Jun 2008, Justin Archer wrote: > Hi, I have just purchased a new Dell Server, to run with Plesk. I have > just moved from an Apple XServe and seeing that OS X derived from > FreeBSD, I felt that it was the best choice to start with. My only > dilemma is, I am wanting to run the system in 64-bit, with using the > Intel Quad 2.5Ghz Xeon, but I am unsure as to which version I should > be downloading. > > For plesk, I need to use version 6.1 and had read somewhere that I > would use the AMD 64-bit version, can you confirm if this is correct > for an Intel processor? Justin, Yes, you want amd64 if this is a modern 64-bit Intel CPU. As was pointed out recently when someone asked more or less the same question, the "amd" refers to the architecture, not the chip manufacturer. I know nothing about plesk, but are you sure you *must* have 6.1? The legacy production release is now at 6.3. I've never built a 64-bit machine, but given the present situation I'd absolutely go with 7.0 for a new install, at least for a 32-bit system. A note, if I may. I have been on this list for many years and can say without hesitation that you're unlikely to get an answer when your subject line reads "Hi". You may want to repost with a subject line that more accurately describes your question. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From admin2 at enabled.com Sat Jun 7 02:50:27 2008 From: admin2 at enabled.com (Noah) Date: Sat Jun 7 02:50:32 2008 Subject: stunnel not running? (check /var/run/stunnel/stunnel.pid) Message-ID: <4849F2EF.8050807@enabled.com> Okay I am not understanding something with stunnel. it appears that stunnel cant start because it cant create a pid file. It happens every time I upgrade it. # /usr/local/etc/rc.d/stunnel restart stunnel not running? (check /var/run/stunnel/stunnel.pid). Starting stunnel. # /usr/local/etc/rc.d/stunnel restart stunnel not running? (check /var/run/stunnel/stunnel.pid). Starting stunnel. # Anybody help me understand things here. so here is the relevent output which I can provide some clues. # ls -ld /var/run/stunnel/ drwxrwxr-x 2 stunnel stunnel 512 Jun 5 14:28 /var/run/stunnel/ # cat /usr/local/etc/stunnel/stunnel.conf # Sample stunnel configuration file # Copyright by Michal Trojnara 2002 # Comment it out on Win32 cert = /usr/local/etc/stunnel/mail.pem chroot = /var/run/stunnel #chroot = /var/run # PID is created inside chroot jail pid = /stunnel.pid setuid = stunnel setgid = stunnel # grep stunnel /etc/rc.conf stunnel_enable="YES" # cat /usr/local/etc/rc.d/stunnel #!/bin/sh # # $FreeBSD: ports/security/stunnel/files/stunnel.in,v 1.9 2008/01/26 14:18:12 roam Exp $ # # PROVIDE: stunnel # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: shutdown # # Add some of the following variables to /etc/rc.conf to configure stunnel: # stunnel_enable (bool): Set to "NO" by default. # Set it to "YES" to enable stunnel. # stunnel_config (str): Default "/usr/local/etc/stunnel/stunnel.conf" # Set it to the full path to the config file # that stunnel will use during the automated # start-up. # stunnel_pidfile (str): Default "/usr/local/var/stunnel/stunnel.pid" # Set it to the value of 'pid' in # the stunnel.conf file. # . /etc/rc.subr name="stunnel" rcvar=`set_rcvar` load_rc_config $name : ${stunnel_enable="NO"} : ${stunnel_config="/usr/local/etc/stunnel/${name}.conf"} : ${stunnel_pidfile="/var/run/stunnel/${name}.pid"} command="/usr/local/bin/stunnel" command_args=${stunnel_config} pidfile=${stunnel_pidfile} required_files="${stunnel_config}" run_rc_command "$1" ------ any ideas? Cheers, Noah From frank at shute.org.uk Sat Jun 7 03:15:42 2008 From: frank at shute.org.uk (Frank Shute) Date: Sat Jun 7 03:15:46 2008 Subject: change the file date and time In-Reply-To: <48497315.5020804@bas.bg> References: <48497315.5020804@bas.bg> Message-ID: <20080607031531.GA84969@melon.esperance-linux.co.uk> On Fri, Jun 06, 2008 at 08:25:41PM +0300, Georgi Tyuliev wrote: > > Dear Sirs > 1. How to mount Sony Ericsson k750i mobile phone with FreeBSD 7.0 ? Plug it in and see what shows up in /var/log/messages. Then read the handbook: http://www3.uk.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html > 2. How to change automatically the file attributes (for example > 'date') of large number of files? For example: I have taken many > photos with my Sony Ericsson k750i mobile phone and the exact time > end date is accessible (e.g. through F3 of the midnight commander), > but very often when copying the jpg's the file attributes change. If you're lucky, the jpg's will contain exif info which if the phone's time & date is set will tell you when the picture was taken amongst other things. This is more reliable than depending on file date. Here's a quick & dirty perl script (called picinfo) that I used to get this data (modify at your will): <------------> #!/usr/bin/perl -w # # Print tab delimited exif data from an image file suitable for # insertion into a DB. # # Takes file as arg. # # Usage example: # # $ for file in $(ls | grep 'jpg');do # $ picinfo $file >> ~/data.txt # $ done use Image::Info qw(image_info); # Get exif data as a hash my $info = image_info($ARGV[0]); # Pic mangled or exif data doesn't exist if (my $error = $info->{error}) { die "Can't parse image info: $error\n"; } # Get data from hash my $my_date = $info->{DateTimeOriginal}; # iso format date/time. my $my_exptime = $info->{ExposureTime}; # reciprocal of speed in secs # as a rational no. my $my_fstop = $info->{FNumber}; # fstop as a rational no. my $my_asa = $info->{ISOSpeedRatings}; # ASA # Grab date my $the_date = substr($my_date, 0, 10); # Grab time my $the_time = substr($my_date, -8); # Doh! Camera date/time not set. if ($the_date eq "0000:00:00") { $the_date = "N/K"; } if ($the_time eq "00:00:00") { $the_time = "N/K"; } # Call sub-funcs $my_fstop = fstop(); $my_exptime = speed(); print "$ARGV[0]\t$the_date\t$the_time\t$my_exptime\tF$my_fstop\t$my_asa\n"; ###___SUBS___### sub fstop{ $my_fstop =~ s/\/10//; $my_fstop = $my_fstop/10; return $my_fstop; } sub speed{ my $divisor = $my_exptime; my $numerator = $my_exptime; $divisor =~ s/[0-9]+\/([0-9]+)/$1/; $numerator =~ s/([0-9]+)\/[0-9]+/$1/; #print "divisor = $divisor\n"; #print "num = $numerator\n"; $my_exptime = $numerator/$divisor; # Calc exposure in decimal my $exposure = 0; # Horrendous case statement. Is there a better way to do this? SWITCH: { if ($my_exptime <= 0.00033) { $exposure = "< 1/3000"; last SWITCH; } if ($my_exptime <= 0.0005) { $exposure = "1/2000"; last SWITCH; } if ($my_exptime <= 0.001) { $exposure = "1/1000"; last SWITCH; } if ($my_exptime <= 0.00125) { $exposure = "1/800"; last SWITCH; } if ($my_exptime <= 0.00167) { $exposure = "1/600"; last SWITCH; } if ($my_exptime <= 0.002) { $exposure = "1/500"; last SWITCH; } if ($my_exptime <= 0.0025) { $exposure = "1/400"; last SWITCH; } if ($my_exptime <= 0.0033) { $exposure = "1/300"; last SWITCH; } if ($my_exptime <= 0.005) { $exposure = "1/200"; last SWITCH; } if ($my_exptime <= 0.01) { $exposure = "1/100"; last SWITCH; } if ($my_exptime <= 0.0167) { $exposure = "1/60"; last SWITCH; } if ($my_exptime <= 0.033) { $exposure = "1/30"; last SWITCH; } if ($my_exptime <= 0.05) { $exposure = "1/20"; last SWITCH; } if ($my_exptime <= 0.0625) { $exposure = "1/16"; last SWITCH; } if ($my_exptime <= 0.125) { $exposure = "1/8"; last SWITCH; } if ($my_exptime <= 0.25) { $exposure = "1/4"; last SWITCH; } if ($my_exptime <= 0.5) { $exposure = "1/2"; last SWITCH; } if ($my_exptime <= 1) { $exposure = "1"; last SWITCH; } if ($my_exptime <= 2) { $exposure = "2"; last SWITCH; } $exposure = "> 2"; } return $exposure; } <------------> Last time I used it, it worked. You'll have to have graphics/p5-Image-Info installed though. > Best regards, > G.Tyuliev Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From 7yuny1 at gmail.com Sat Jun 7 05:54:38 2008 From: 7yuny1 at gmail.com (Jyun-Yi Liou) Date: Sat Jun 7 05:54:43 2008 Subject: amule crash In-Reply-To: References: Message-ID: <81a9e3840806062254n55d5687cof0a1fece3cc5e2fd@mail.gmail.com> 2008/6/7 Tsu-Fan Cheng : > Hi, > my amule (freebsd 7.0/i386) crash regularly due to: > pid 2032 (amule), uid 1001, was killed: out of swap space ^^^^^^^^^^^^^^^^^^ %> df -h, watch and see, your swap is out of space bigger swap space or not down too much. Regards, jyuny1 From uwe at laverenz.de Sat Jun 7 06:16:44 2008 From: uwe at laverenz.de (Uwe Laverenz) Date: Sat Jun 7 06:16:48 2008 Subject: vmware timekeeping In-Reply-To: <48499CCD.2010708@m2.seamanpaper.com> References: <48499CCD.2010708@m2.seamanpaper.com> Message-ID: <20080607060451.GA28805@laverenz.de> On Fri, Jun 06, 2008 at 04:23:41PM -0400, Jeff Dickens wrote: > option turned on in ESX's .vmx file, and I have "hint.apic.0.disabled=1" > in my FreeBSD guest's /boot/loader.conf. This shouldn't be necessary in FreeBSD >= 6.2. > I used to have "kern.hz=100" in loader.conf, but that caused the guest > to gain time even faster. "100" is ok, I'm using this value on all virtual machines. > Does anyone have a good recipe for decent timekeeping in this config? Is it possible to upgrade your ESX from 3.0.2 to 3.5x? If not, there is another setting on the ESX side that helps with timing problems (FreeBSD or Linux guests): change "Advanced Settings/Misc/Misc.Timer/MinHardPeriod" from 400 to 100 (this is default on ESX 3.5x). Uwe From odhiambo at gmail.com Sat Jun 7 06:32:32 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Sat Jun 7 06:32:36 2008 Subject: vmware timekeeping In-Reply-To: <48499CCD.2010708@m2.seamanpaper.com> References: <48499CCD.2010708@m2.seamanpaper.com> Message-ID: <991123400806062332r70a7b34co5c93ad14fdacb79f@mail.gmail.com> On Fri, Jun 6, 2008 at 11:23 PM, Jeff Dickens wrote: > I'm running FreeBSD 6.3-release as a guest on VMware ESX 3.0.2. My problem > is that the clock keeps *gaining* time. I have the "timesync" option turned > on in ESX's .vmx file, and I have "hint.apic.0.disabled=1" in my FreeBSD > guest's /boot/loader.conf. > > I used to have "kern.hz=100" in loader.conf, but that caused the guest to > gain time even faster. > > Does anyone have a good recipe for decent timekeeping in this config? I run FreeBSD 7.0 inside VMware Workstation-6.0.4 (ACE Edition) and I don't have to setup anything. The time is the always same as the host OS. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From mirror176 at hotmail.com Sat Jun 7 07:15:01 2008 From: mirror176 at hotmail.com (Edward Sutton) Date: Sat Jun 7 07:15:04 2008 Subject: Promise SATA300 TX2plus with LG GGW-H20L burner on 7.0 causes endless timeouts. Message-ID: This is a collection of information to my troubles. I am hoping to find out what mailing list is most appropriate before I started posting kernel dump backtraces and asking what other details to post. What other details may be relevant to gather would also be helpful. Are there safe ways to crash a system to gather details without further filesystem corruption? My motherboard is about six years old so it has no SATA ports for the drive; My old Promise SATA150 TX4 was loaded with four hard drives; it appears to not support optical drives so I recently purchased the Promise SATA300 TX2plus to have a card giving what I need on this old computer and hopefully an IDE port on my next computer (if the board I buy in a year comes with a PCI slot for it). I thought Promise cards receive good FreeBSD support and was readily available at a local retailer. Upon booting, I get the following 2 errors after a long pause: acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command These errors are looped. The pause occurs just after acd0 and acd1 are identified. After a little over a page of errers there are cd2 entries for the SATA drive that appear. I was able to `atacontrol detach ata6` yesterday to put a hault to that traffic. The system periodically pauses while the errors are being generated. Inside X, pauses appeared to come every 8 seconds or so and last a second or two. I booted this morning to restore services while I was at work and accidentally detached ata5 (with a mounted but not in use partition) and started X (which loads the nvidia driver and takes the videocard fan down to an idle state). When I got home, the system was sluggish with the pauses (seemed to not give the full 8 seconds between I/O freezes). Attempting to detach ata6 never returned to a prompt, but the error loop appeared to have stopped. Trying to open programs or login to other virtual terminals just lead to freezing in the related program or terminal. ctrl + alt + delete left me with the gui on F9 and only F1 as a text terminal, but both were crippled beyond use before than with the freezing. Pressing power did not begin the usual shutdown sequence; ACPI(?) errors followed for each press with a message something along the lines of not being ready yet. After many minutes of no action, I forced a powerdown. Reboots lead to segfaults after I logged in and tried to detach ata6 (which appeared to succeed). I should have a crash dump, but do not recall the error; it lead me to conclude that file system corruption may be present. I had to reboot in single user mode to detach ata6 and run fsck which found errors (as usual of almost every time I have had improper shutdowns on FreeBSD machines). Booting normal after than and detaching ata6 was followed with another segfault so I have unplugged the drive in the meantime. The old and new controller cards are listed as the following on bootup: atapci0: port 0x9000-0x903f,0x9400-0x940f,0x9800-0x987f mem 0xe8040000-0xe8040fff,0xe8000000-0xe801ffff irq 22 at device 10.0 on pci2 atapci1: port 0x9c00-0x9c7f,0xa000-0xa0ff mem 0xe8041000-0xe8041fff,0xe8020000-0xe803ffff irq 19 at device 11.0 on pci2 Any suggestions where to go from here to get the system working? Thanks again, Edward Sutton, III _________________________________________________________________ It?s easy to add contacts from Facebook and other social sites through Windows Live? Messenger. Learn how. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow From 7yuny1 at gmail.com Sat Jun 7 08:09:38 2008 From: 7yuny1 at gmail.com (Jyun-Yi Liou) Date: Sat Jun 7 08:09:41 2008 Subject: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps? In-Reply-To: <48498735.6030800@rawbw.com> References: <48498735.6030800@rawbw.com> Message-ID: <81a9e3840806070109g5605ca5ag52382cf100b454e6@mail.gmail.com> Hi Yuri, First of all, You do not specify what shell you are using. TCSH or BASH? Second, waht DE you using too? for TCSH, it should be this in your ~/.xinitrc setenv XMODIFIERS='@im=gcin' setenv GTK_IM_MODULE=gcin setenv QT_IM_MODULE=gcin I guess you are using TCSH not BASH. gcin can let you type chinese in GTK apps without set GTK_IM_MODULE You can check the SHELL VARIABLE that is set or not after logged-in X. Regards, jyuny1 2008/6/7 Yuri : > When I am trying to type Chinese characters I can only do this from GTK > applications. > Input method doesn't work QT applications for me. > > I have the following in my .xinitrc: > export XMODIFIERS='@im=gcin' > export GTK_IM_MODULE=gcin > export QT_IM_MODULE=gcin > > I have zh-gcin-1.4.0_1 installed and start it with 'gcin &'. > > In GTK apps Alt-Space creates the prompt windows. And in any QT apps -- no > such box is popping up. > > Yuri > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From wojtek at wojtek.tensor.gdynia.pl Sat Jun 7 08:38:07 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 7 08:38:10 2008 Subject: FreeBSD 7 sched_ule Message-ID: <20080607103553.F25397@wojtek.tensor.gdynia.pl> what changed exactly. my observations shows that it make a good job NOT switching task too often, so many concurrent processes goes faster (less cache reloads), but for interactive X11 speed it's bad, it's difficult to point with mouse as it jumps rtprio 31 "fixes" that. but is there other fix? with rtprio in case of Xorg getting in loop i wouldn't be able to do anything From smithi at nimnet.asn.au Sat Jun 7 08:48:01 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Sat Jun 7 08:48:04 2008 Subject: change the file date and time In-Reply-To: <20080607010402.8E1A61065758@hub.freebsd.org> Message-ID: On Fri, 06 Jun 2008 20:25:41 +0300 Georgi Tyuliev wrote: > 1. How to mount Sony Ericsson k750i mobile phone with FreeBSD 7.0 ? No idea. > 2. How to change automatically the file attributes (for example 'date') > of large number of files? For modification and/or access times, use touch(1) For user:group ownership, use chown(1) For file modes, use chmod(1) > For example: I have taken many photos with my Sony Ericsson k750i mobile > phone and > the exact time end date is accessible (e.g. through F3 of the midnight > commander), > but very often when copying the jpg's the file attributes change. To preserve user/group ownership and modification/access timestamps on files, use cp(1) with the -p flag. Maybe mc doesn't do that correctly on copying, though it should for a move, assuming that it uses mv(1) cheers, Ian From kris at FreeBSD.org Sat Jun 7 08:48:32 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Sat Jun 7 08:48:35 2008 Subject: FreeBSD 7 sched_ule In-Reply-To: <20080607103553.F25397@wojtek.tensor.gdynia.pl> References: <20080607103553.F25397@wojtek.tensor.gdynia.pl> Message-ID: <484A4B5E.2030703@FreeBSD.org> Wojciech Puchar wrote: > what changed exactly. my observations shows that it make a good job NOT > switching task too often, so many concurrent processes goes faster (less > cache reloads), but for interactive X11 speed it's bad, it's difficult > to point with mouse as it jumps > > rtprio 31 "fixes" that. but is there other fix? > > with rtprio in case of Xorg getting in loop i wouldn't be able to do > anything Make sure you're not running the 7.0-R X packages, there was a serious performance bug in the X server that was fixed later. Kris From wojtek at wojtek.tensor.gdynia.pl Sat Jun 7 08:56:57 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 7 08:56:59 2008 Subject: FreeBSD 7 sched_ule In-Reply-To: <484A4B5E.2030703@FreeBSD.org> References: <20080607103553.F25397@wojtek.tensor.gdynia.pl> <484A4B5E.2030703@FreeBSD.org> Message-ID: <20080607105609.D9207@wojtek.tensor.gdynia.pl> >> with rtprio in case of Xorg getting in loop i wouldn't be able to do >> anything > > Make sure you're not running the 7.0-R X packages, there was a serious > performance bug in the X server that was fixed later. > > Kris > > i'm running 6.3 Xorg package - packages are old still after upgrade. the same 6.3 Xorg package was smooth on 6.3 now it is too but with this rtprio From kris at FreeBSD.org Sat Jun 7 09:06:29 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Sat Jun 7 09:06:32 2008 Subject: FreeBSD 7 sched_ule In-Reply-To: <20080607105609.D9207@wojtek.tensor.gdynia.pl> References: <20080607103553.F25397@wojtek.tensor.gdynia.pl> <484A4B5E.2030703@FreeBSD.org> <20080607105609.D9207@wojtek.tensor.gdynia.pl> Message-ID: <484A4F94.6030800@FreeBSD.org> Wojciech Puchar wrote: >>> with rtprio in case of Xorg getting in loop i wouldn't be able to do >>> anything >> >> Make sure you're not running the 7.0-R X packages, there was a serious >> performance bug in the X server that was fixed later. >> >> Kris >> >> > i'm running 6.3 Xorg package - packages are old still after upgrade. > the same 6.3 Xorg package was smooth on 6.3 Too many variables, update to the 7.0-stable packages to rule it out. Kris From yuri at rawbw.com Sat Jun 7 09:07:42 2008 From: yuri at rawbw.com (Yuri) Date: Sat Jun 7 09:07:48 2008 Subject: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps? In-Reply-To: <81a9e3840806070109g5605ca5ag52382cf100b454e6@mail.gmail.com> References: <48498735.6030800@rawbw.com> <81a9e3840806070109g5605ca5ag52382cf100b454e6@mail.gmail.com> Message-ID: <484A4FDC.80308@rawbw.com> Hi Jyun-Yi, I am using bash. And XMODIFIERS, GTK_IM_MODULE and QT_IM_MODULE variables are all set to the values you wrote. But in QT applications the prompt window doesn't pop up as in GTK ones. I am not setting any of LANG/LC_ALL/LC_CTYPE to Chinese. This may be related to the problem. When I set all of those to zh_TW.UTF-8 gcin begins to pop up the prompt window from QT applications just like from GTK. But after selection the word doesn't appear 9in the editbox. But I don't want to use Chinese locale since this makes all applications speak Chinese. And I only want to be able to type Chinese words. Do you know how to achieve this? Yuri Jyun-Yi Liou wrote: > Hi Yuri, > First of all, You do not specify what shell you are using. TCSH or BASH? > Second, waht DE you using too? > > for TCSH, it should be this in your ~/.xinitrc > setenv XMODIFIERS='@im=gcin' > setenv GTK_IM_MODULE=gcin > setenv QT_IM_MODULE=gcin > > I guess you are using TCSH not BASH. > gcin can let you type chinese in GTK apps without set GTK_IM_MODULE > > You can check the SHELL VARIABLE that is set or not after logged-in X. > > Regards, > jyuny1 > From wojtek at wojtek.tensor.gdynia.pl Sat Jun 7 09:18:03 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 7 09:18:06 2008 Subject: FreeBSD 7 sched_ule In-Reply-To: <484A4F94.6030800@FreeBSD.org> References: <20080607103553.F25397@wojtek.tensor.gdynia.pl> <484A4B5E.2030703@FreeBSD.org> <20080607105609.D9207@wojtek.tensor.gdynia.pl> <484A4F94.6030800@FreeBSD.org> Message-ID: <20080607111736.F8760@wojtek.tensor.gdynia.pl> >> i'm running 6.3 Xorg package - packages are old still after upgrade. >> the same 6.3 Xorg package was smooth on 6.3 > > Too many variables, update to the 7.0-stable packages to rule it out. well - it's rather little variable. SAME X server, just base system changed. From kris at FreeBSD.org Sat Jun 7 09:21:46 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Sat Jun 7 09:21:49 2008 Subject: FreeBSD 7 sched_ule In-Reply-To: <20080607111736.F8760@wojtek.tensor.gdynia.pl> References: <20080607103553.F25397@wojtek.tensor.gdynia.pl> <484A4B5E.2030703@FreeBSD.org> <20080607105609.D9207@wojtek.tensor.gdynia.pl> <484A4F94.6030800@FreeBSD.org> <20080607111736.F8760@wojtek.tensor.gdynia.pl> Message-ID: <484A5329.9060501@FreeBSD.org> Wojciech Puchar wrote: >>> i'm running 6.3 Xorg package - packages are old still after upgrade. >>> the same 6.3 Xorg package was smooth on 6.3 >> >> Too many variables, update to the 7.0-stable packages to rule it out. > > well - it's rather little variable. SAME X server, just base system > changed. > > No, the X server compiles many things differently depending on the OS version. Kris From 7yuny1 at gmail.com Sat Jun 7 09:28:46 2008 From: 7yuny1 at gmail.com (Jyun-Yi Liou) Date: Sat Jun 7 09:28:49 2008 Subject: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps? In-Reply-To: <484A4FDC.80308@rawbw.com> References: <48498735.6030800@rawbw.com> <81a9e3840806070109g5605ca5ag52382cf100b454e6@mail.gmail.com> <484A4FDC.80308@rawbw.com> Message-ID: <81a9e3840806070228q440af610g94cec5599752048c@mail.gmail.com> Hi Yuri, try this below, export LANG=zh_TW.UTF-8 export LC_CTYPE=zh_TW.UTF-8 export LC_MESSAGES en_US.ISO8859-1 export LC_TIME en_US.ISO8859-1 this may let your gcin working and keep your system speak in english further more, you may want to read this doc http://chinsan2.twbbs.org/zh-tut/ Regards, jyuny1 2008/6/7 Yuri : > Hi Jyun-Yi, > > I am using bash. > And XMODIFIERS, GTK_IM_MODULE and QT_IM_MODULE variables are all set to the > values you wrote. > But in QT applications the prompt window doesn't pop up as in GTK ones. > > I am not setting any of LANG/LC_ALL/LC_CTYPE to Chinese. > This may be related to the problem. > When I set all of those to zh_TW.UTF-8 gcin begins to pop up the prompt > window from QT applications just like from GTK. But after selection the word > doesn't appear 9in the editbox. > But I don't want to use Chinese locale since this makes all applications > speak Chinese. And I only want to be able to type Chinese words. > > Do you know how to achieve this? > > Yuri > > > Jyun-Yi Liou wrote: > >> Hi Yuri, >> First of all, You do not specify what shell you are using. TCSH or BASH? >> Second, waht DE you using too? >> >> for TCSH, it should be this in your ~/.xinitrc >> setenv XMODIFIERS='@im=gcin' >> setenv GTK_IM_MODULE=gcin >> setenv QT_IM_MODULE=gcin >> >> I guess you are using TCSH not BASH. >> gcin can let you type chinese in GTK apps without set GTK_IM_MODULE >> >> You can check the SHELL VARIABLE that is set or not after logged-in X. >> >> Regards, >> jyuny1 >> >> > From yuri at rawbw.com Sat Jun 7 09:40:28 2008 From: yuri at rawbw.com (Yuri) Date: Sat Jun 7 09:40:32 2008 Subject: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps? In-Reply-To: <81a9e3840806070228q440af610g94cec5599752048c@mail.gmail.com> References: <48498735.6030800@rawbw.com> <81a9e3840806070109g5605ca5ag52382cf100b454e6@mail.gmail.com> <484A4FDC.80308@rawbw.com> <81a9e3840806070228q440af610g94cec5599752048c@mail.gmail.com> Message-ID: <484A578A.5040008@rawbw.com> Hi Jyun-Yi, With these environment variables prompt window pops up from QT apps but editboxes don't get selected word. Also all GTK applications begin to speak Chinese. Yuri Jyun-Yi Liou wrote: > Hi Yuri, > try this below, > > export LANG=zh_TW.UTF-8 > export LC_CTYPE=zh_TW.UTF-8 > export LC_MESSAGES en_US.ISO8859-1 > export LC_TIME en_US.ISO8859-1 > > this may let your gcin working and keep your system speak in english > > further more, you may want to read this doc > http://chinsan2.twbbs.org/zh-tut/ > > Regards, > jyuny1 > From bsd at todoo.biz Sat Jun 7 13:24:43 2008 From: bsd at todoo.biz (bsd) Date: Sat Jun 7 13:24:48 2008 Subject: dump and remote file fetching In-Reply-To: <483D0181.5010605@lc-words.com> References: <483C8060.2070003@lc-words.com> <483C87F0.9030803@mikestammer.com> <483D0181.5010605@lc-words.com> Message-ID: <635632E3-80FD-4914-B5B4-72B951E95815@todoo.biz> What I do : Allow ssh access only using key "PubkeyAuthentication yes" Allow root access Create a root ssh Pubkey Automate the access using any script based on ssh? If you want to be more restrictive, you can deploy a firewall localy on your server and limit ssh access to one or more selected IPs. Bye // Le 28 mai 08 ? 07:53, Zbigniew Szalbot a ?crit : > Hi there, > >>> Need a word of advice. I use dump to backup my data. All fine. >>> Dump saves compressed *.bz2 files. Nice. All I need now is a way >>> to copy them from the server to a remote backup machine. The >>> problem I am facing is that bz2 files are owned by root:wheel. So >>> if I use scp user@domain.tld:/path/to/*.bz2, it does not have >>> sufficient permissions to fetch the files. I can use sudo, but >>> then I need to interactively type the password, which I would like >>> to avoid. >>> Can you suggest simple ways of getting around this? I don't mind >>> using special tools for the job, especially if they are not too >>> complicated... :) >>> Before firing this email off I took a look at rsync and it seems >>> easy enough to do just what I need but still many thanks for >>> suggestions! >> I have been very happy with rsnapshot. Take that for a spin and >> see how it works for you > > I have taken a look at rsnapshot but it seems I am left to deal with > the same problem: > > From their page: > In addition to full paths on the local filesystem, you can also > backup remote systems using rsync over ssh. If you have ssh > installed and enabled (via the cmd_ssh parameter), you can specify a > path like: > > backup root@example.com:/etc/ example.com/ > > This behaves fundamentally the same way, but you must take a few > extra things into account. > > a/ The ssh daemon must be running on example.com > b/ You must have access to the account you specify the remote > machine, in this case the root user on example.com. > > I do not allow remote root login so what are my options in that > case? How do you deal with such a scenario? Many thanks! > > -- > Zbigniew Szalbot > www.lc-words.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 > " ???????????????????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ???????????????????????????????????????????????? P "Please consider your environmental responsibility before printing this e-mail" From eol1 at yahoo.com Sat Jun 7 13:58:11 2008 From: eol1 at yahoo.com (Peter Thoenen) Date: Sat Jun 7 13:58:16 2008 Subject: vmware timekeeping In-Reply-To: <991123400806062332r70a7b34co5c93ad14fdacb79f@mail.gmail.com> References: <48499CCD.2010708@m2.seamanpaper.com> <991123400806062332r70a7b34co5c93ad14fdacb79f@mail.gmail.com> Message-ID: <484A8D73.8040803@yahoo.com> > I run FreeBSD 7.0 inside VMware Workstation-6.0.4 (ACE Edition) and I > don't have to setup anything. The time is the always same as the host How long do you keep it up though Odhiambo and how intensive are you using your native OS? I have a similar setup and while it sync's on boot, I routinely lose 15 minutes a day (I keep it up 24x7). I think it is not so much a bug in VMware as opposed to the host OS running slower than it thinks (e.g. maybe a second of OS time is really 1.000001 seconds of real time adding up over long periods) if the native OS is under moderate to heavy use. From erpa1119 at gmail.com Sat Jun 7 14:38:39 2008 From: erpa1119 at gmail.com (erpa1119) Date: Sat Jun 7 14:38:45 2008 Subject: wireless help Message-ID: <17709547.post@talk.nabble.com> I am completely new to linux and need help with wireless connectivity. I have installed freebsd 6.3-RELEASE I have a toshiba satellite 1005-s157 with a dlink gs630 pcmcia card and a linksys wr54g wireless router. ifconfig shows status: associated but I cannot ping anything other than the static IP address that I gave to the wireless card. The card is known working, the AP is known working. I do not have DHCP running on the AP and simply assign IP's to all of my boxes when I first bring them online. topology: wall-->bellsouth router-->linksys AP linksys has a static IP of 192.168.1.3 bellsouth router has a static IP of 192.168.1.254 I have added a default route by running the following. route add default 192.168.1.254 I also ran this ifconfig ath0 ssid "MYAPNAMEHERE" wepmode on weptxkey "MYPASSPHRASE" ifconfig ath0 list scan shows the AP that I am trying to connect through and shows CAPS of EP only. The Question is: How am I associated with the AP but cannot ping anything other than localhost, 127.0.0.1 and the static IP address that I gave the card? All pings except to localhost or 127 or my static ip result in a host down message contents of /etc/resolv.conf search . nameserver 205.xxx.xxx.xxx nameserver 205.xxx.xxx.xxx nameserver 205.xxx.xxx.xxx -- View this message in context: http://www.nabble.com/wireless-help-tp17709547p17709547.html Sent from the freebsd-questions mailing list archive at Nabble.com. From steve at ibctech.ca Sat Jun 7 14:56:07 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Sat Jun 7 14:56:09 2008 Subject: wireless help In-Reply-To: <17709547.post@talk.nabble.com> References: <17709547.post@talk.nabble.com> Message-ID: <484AA20B.2070500@ibctech.ca> > topology: > wall-->bellsouth router-->linksys AP > linksys has a static IP of 192.168.1.3 > bellsouth router has a static IP of 192.168.1.254 You need to configure different prefixes (aka subnets) on each side of the Linksys router: LAN side on Bellsouth: 192.168.1.254 255.255.255.0 WAN side on Linksys: 192.168.1.3 255.255.255.0 LAN (wifi) side of Linksys: 192.168.2.1 255.255.255.0 Laptop: 192.168.2.2 255.255.255.0 Laptop gateway: 192.168.2.1 A trick I recommend very frequently to our ADSL subs that want to implement a wireless router into their network who are already using our equipment that has NAT enabled (to avoid double-NAT), is to disable DHCP on the LAN side of the Linksys, disable the WAN interface, and connect the ADSL modem to one of the LAN ports on the Linksys. Essentially, your access point will then be just that. Hope I understood your problem properly. Steve From erpa1119 at gmail.com Sat Jun 7 15:19:37 2008 From: erpa1119 at gmail.com (erpa1119) Date: Sat Jun 7 15:19:41 2008 Subject: wireless help In-Reply-To: <484AA20B.2070500@ibctech.ca> References: <17709547.post@talk.nabble.com> <484AA20B.2070500@ibctech.ca> Message-ID: <17709899.post@talk.nabble.com> Why would I change something that is known to function correctly? Steve Bertrand-2 wrote: > >> topology: >> wall-->bellsouth router-->linksys AP >> linksys has a static IP of 192.168.1.3 >> bellsouth router has a static IP of 192.168.1.254 > > You need to configure different prefixes (aka subnets) on each side of > the Linksys router: > > LAN side on Bellsouth: 192.168.1.254 255.255.255.0 > WAN side on Linksys: 192.168.1.3 255.255.255.0 > > LAN (wifi) side of Linksys: 192.168.2.1 255.255.255.0 > Laptop: 192.168.2.2 255.255.255.0 > > Laptop gateway: 192.168.2.1 > > A trick I recommend very frequently to our ADSL subs that want to > implement a wireless router into their network who are already using our > equipment that has NAT enabled (to avoid double-NAT), is to disable DHCP > on the LAN side of the Linksys, disable the WAN interface, and connect > the ADSL modem to one of the LAN ports on the Linksys. > > Essentially, your access point will then be just that. > > Hope I understood your problem properly. > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/wireless-help-tp17709547p17709899.html Sent from the freebsd-questions mailing list archive at Nabble.com. From steve at ibctech.ca Sat Jun 7 15:35:26 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Sat Jun 7 15:35:31 2008 Subject: wireless help In-Reply-To: <17709899.post@talk.nabble.com> References: <17709547.post@talk.nabble.com> <484AA20B.2070500@ibctech.ca> <17709899.post@talk.nabble.com> Message-ID: <484AAB41.9060605@ibctech.ca> erpa1119 wrote: > Why would I change something that is known to function correctly? Pardon my ignorance... It was my understanding that the reason you posted to the list was to get help with an issue where you could not communicate with other network devices. Are you saying it does work? Are you saying that perhaps you have other hosts on your network use this same setup successfully? Are you saying that your Linksys "router" is not at all a gateway device (does not NAT and forward packets)? # ifconfig -a # netstat -rn # ping ip.of.linksys # ping ip.of.bellsouth # arp -a ...post them. Steve From sahil at tandon.net Sat Jun 7 15:43:31 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sat Jun 7 15:43:34 2008 Subject: stunnel not running? (check /var/run/stunnel/stunnel.pid) In-Reply-To: <4849F2EF.8050807@enabled.com> References: <4849F2EF.8050807@enabled.com> Message-ID: <20080607154313.GA56339@shepherd> Noah wrote: > Okay I am not understanding something with stunnel. it appears that stunnel > cant start because it cant create a pid file. It happens every time I > upgrade it. > > # /usr/local/etc/rc.d/stunnel restart > stunnel not running? (check /var/run/stunnel/stunnel.pid). > Starting stunnel. > # /usr/local/etc/rc.d/stunnel restart > stunnel not running? (check /var/run/stunnel/stunnel.pid). > Starting stunnel. > # > > Anybody help me understand things here. so here is the relevent output > which I can provide some clues. I notice below that you have modified the rc script, but even after mimicking your changes, I cannot reproduce your problem -- stunnel starts (and creates a pid) just fine. What is logged to /var/log/messages by stunnel? [...] -- Sahil Tandon From erpa1119 at gmail.com Sat Jun 7 15:59:59 2008 From: erpa1119 at gmail.com (erpa1119) Date: Sat Jun 7 16:00:03 2008 Subject: wireless help In-Reply-To: <484AAB41.9060605@ibctech.ca> References: <17709547.post@talk.nabble.com> <484AA20B.2070500@ibctech.ca> <17709899.post@talk.nabble.com> <484AAB41.9060605@ibctech.ca> Message-ID: <17710294.post@talk.nabble.com> Are you saying it does work? Are you saying that perhaps you have other hosts on your network use this same setup successfully? Correct. I have 4 other laptops on this AP that all have internet connectivity (2 winxp and 2 win2k pro). All configured with the gateway as 192.168.1.254 (the BS router) Any ping except to 192.168.1.12 (manually assigned) and 127.0.0.1 and localhost result in either "host is down" or a name resolve issue, ie cannot resolve host. Additionally EricBSD (manually assigned name to box) returns with a cannot resolve host as well. I will post the result of the below shortly. # ifconfig -a # netstat -rn # ping ip.of.linksys # ping ip.of.bellsouth # arp -a Steve Bertrand-2 wrote: > > erpa1119 wrote: >> Why would I change something that is known to function correctly? > > Pardon my ignorance... It was my understanding that the reason you > posted to the list was to get help with an issue where you could not > communicate with other network devices. > > Are you saying it does work? Are you saying that perhaps you have other > hosts on your network use this same setup successfully? Are you saying > that your Linksys "router" is not at all a gateway device (does not NAT > and forward packets)? > > # ifconfig -a > # netstat -rn > # ping ip.of.linksys > # ping ip.of.bellsouth > # arp -a > > ...post them. > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/wireless-help-tp17709547p17710294.html Sent from the freebsd-questions mailing list archive at Nabble.com. From wojtek at wojtek.tensor.gdynia.pl Sat Jun 7 16:29:53 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 7 16:29:56 2008 Subject: FreeBSD 7 sched_ule In-Reply-To: <484A5329.9060501@FreeBSD.org> References: <20080607103553.F25397@wojtek.tensor.gdynia.pl> <484A4B5E.2030703@FreeBSD.org> <20080607105609.D9207@wojtek.tensor.gdynia.pl> <484A4F94.6030800@FreeBSD.org> <20080607111736.F8760@wojtek.tensor.gdynia.pl> <484A5329.9060501@FreeBSD.org> Message-ID: <20080607182939.E90139@wojtek.tensor.gdynia.pl> OK i will try and report On Sat, 7 Jun 2008, Kris Kennaway wrote: > Wojciech Puchar wrote: >>>> i'm running 6.3 Xorg package - packages are old still after upgrade. >>>> the same 6.3 Xorg package was smooth on 6.3 >>> >>> Too many variables, update to the 7.0-stable packages to rule it out. >> >> well - it's rather little variable. SAME X server, just base system >> changed. >> >> > > No, the X server compiles many things differently depending on the OS > version. > > Kris > > From wojtek at wojtek.tensor.gdynia.pl Sat Jun 7 16:30:29 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jun 7 16:30:33 2008 Subject: wireless help In-Reply-To: <17709547.post@talk.nabble.com> References: <17709547.post@talk.nabble.com> Message-ID: <20080607182957.D90139@wojtek.tensor.gdynia.pl> > I am completely new to linux and need help with wireless connectivity. > I have installed freebsd 6.3-RELEASE you should install linux not freebsd to learn linux From erpa1119 at gmail.com Sat Jun 7 16:36:00 2008 From: erpa1119 at gmail.com (erpa1119) Date: Sat Jun 7 16:36:06 2008 Subject: wireless help In-Reply-To: <17710294.post@talk.nabble.com> References: <17709547.post@talk.nabble.com> <484AA20B.2070500@ibctech.ca> <17709899.post@talk.nabble.com> <484AAB41.9060605@ibctech.ca> <17710294.post@talk.nabble.com> Message-ID: <17710677.post@talk.nabble.com> had to figure out how to mount the usb stick ifconfig plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 ath0: flags=8843 mtu 1500 inet 192.168.1.12 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:13:46:21:83:0c media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps) status: associated ssid GCH_Wireless channel 10 bssid 00:18:39:7c:ea:88 authmode OPEN privacy ON deftxkey UNDEF wepkey 1:104-bit txpowmax 38 bmiss 7 protmode CTS burst bintval 100 arp ? (192.168.1.3) at (incomplete) on ath0 [ethernet] ? (192.168.1.254) at (incomplete) on ath0 [ethernet] ping linksys PING 192.168.1.254 (192.168.1.254): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down --- 192.168.1.254 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss PING 192.168.1.3 (192.168.1.3): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down --- 192.168.1.3 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss netstat Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.254 UGS 0 0 ath0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.1 link#3 UC 0 0 ath0 192.168.1.254 link#3 UHLW 2 0 ath0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#2 UHL lo0 ff01:2::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 Thanks for the help erpa1119 wrote: > > Are you saying it does work? Are you saying that perhaps you have other > hosts on your network use this same setup successfully? > > > Correct. > I have 4 other laptops on this AP that all have internet connectivity (2 > winxp and 2 win2k pro). > All configured with the gateway as 192.168.1.254 (the BS router) > > Any ping except to 192.168.1.12 (manually assigned) and 127.0.0.1 and > localhost result in either "host is down" or a name resolve issue, ie > cannot resolve host. > Additionally EricBSD (manually assigned name to box) returns with a cannot > resolve host as well. > > I will post the result of the below shortly. > # ifconfig -a > # netstat -rn > # ping ip.of.linksys > # ping ip.of.bellsouth > # arp -a > > > > > > Steve Bertrand-2 wrote: >> >> erpa1119 wrote: >>> Why would I change something that is known to function correctly? >> >> Pardon my ignorance... It was my understanding that the reason you >> posted to the list was to get help with an issue where you could not >> communicate with other network devices. >> >> Are you saying it does work? Are you saying that perhaps you have other >> hosts on your network use this same setup successfully? Are you saying >> that your Linksys "router" is not at all a gateway device (does not NAT >> and forward packets)? >> >> # ifconfig -a >> # netstat -rn >> # ping ip.of.linksys >> # ping ip.of.bellsouth >> # arp -a >> >> ...post them. >> >> Steve >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > > -- View this message in context: http://www.nabble.com/wireless-help-tp17709547p17710677.html Sent from the freebsd-questions mailing list archive at Nabble.com. From odhiambo at gmail.com Sat Jun 7 17:10:49 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Sat Jun 7 17:10:53 2008 Subject: vmware timekeeping In-Reply-To: <484A8D73.8040803@yahoo.com> References: <48499CCD.2010708@m2.seamanpaper.com> <991123400806062332r70a7b34co5c93ad14fdacb79f@mail.gmail.com> <484A8D73.8040803@yahoo.com> Message-ID: <991123400806071010l65178e51wfba6467f6fa48eb2@mail.gmail.com> On Sat, Jun 7, 2008 at 4:30 PM, Peter Thoenen wrote: >> I run FreeBSD 7.0 inside VMware Workstation-6.0.4 (ACE Edition) and I >> don't have to setup anything. The time is the always same as the host > > How long do you keep it up though Odhiambo and how intensive are you using > your native OS? I have a similar setup and while it sync's on boot, I > routinely lose 15 minutes a day (I keep it up 24x7). I think it is not so > much a bug in VMware as opposed to the host OS running slower than it thinks > (e.g. maybe a second of OS time is really 1.000001 seconds of real time > adding up over long periods) if the native OS is under moderate to heavy > use. I keep mine running non-stop (as long as the host OS is running)). I never shut down my workstation at all, unless stupid Windows install some updates and reboots itself. And besides FreeBSD, there are other guest OSes installed, but these others are run once in a while, and would be on for 2 days or so. I've never realized any time loss. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From beat.siegenthaler at beatsnet.com Sat Jun 7 17:27:39 2008 From: beat.siegenthaler at beatsnet.com (Beat Siegenthaler) Date: Sat Jun 7 17:27:42 2008 Subject: Denyhost In-Reply-To: <48485C59.3060504@netfence.it> References: <48485C59.3060504@netfence.it> Message-ID: <484AC505.3030204@beatsnet.com> Andrea Venturoli wrote: > Anyone using this? > I've used it for a long time on a 6.x box and it worked fine. > Recently I had to deactivate it since it seems to lock away every IP > which is listed in the logs. Running on all my Servers like a charm... no Problems known... RELENG_7 i386 and amd64 (fedora too...) Beat From admin2 at enabled.com Sat Jun 7 17:40:10 2008 From: admin2 at enabled.com (Noah) Date: Sat Jun 7 17:40:16 2008 Subject: stunnel not running? (check /var/run/stunnel/stunnel.pid) In-Reply-To: <20080607154313.GA56339@shepherd> References: <4849F2EF.8050807@enabled.com> <20080607154313.GA56339@shepherd> Message-ID: <484AC7EF.1090608@enabled.com> logs included below Sahil Tandon wrote: > Noah wrote: > >> Okay I am not understanding something with stunnel. it appears that stunnel >> cant start because it cant create a pid file. It happens every time I >> upgrade it. >> >> # /usr/local/etc/rc.d/stunnel restart >> stunnel not running? (check /var/run/stunnel/stunnel.pid). >> Starting stunnel. >> # /usr/local/etc/rc.d/stunnel restart >> stunnel not running? (check /var/run/stunnel/stunnel.pid). >> Starting stunnel. >> # >> >> Anybody help me understand things here. so here is the relevent output >> which I can provide some clues. > > I notice below that you have modified the rc script, but even after mimicking > your changes, I cannot reproduce your problem -- stunnel starts (and creates > a pid) just fine. What is logged to /var/log/messages by stunnel? 2008.06.07 10:37:55 LOG7[27645:134664192]: Snagged 64 random bytes from /root/.rnd 2008.06.07 10:37:55 LOG7[27645:134664192]: Wrote 1024 new random bytes to /root/.rnd 2008.06.07 10:37:55 LOG7[27645:134664192]: RAND_status claims sufficient entropy for the PRNG 2008.06.07 10:37:55 LOG7[27645:134664192]: PRNG seeded successfully 2008.06.07 10:37:55 LOG7[27645:134664192]: Certificate: /usr/local/etc/stunnel/mail.pem 2008.06.07 10:37:55 LOG7[27645:134664192]: Certificate loaded 2008.06.07 10:37:55 LOG7[27645:134664192]: Key file: /usr/local/etc/stunnel/mail.pem 2008.06.07 10:37:55 LOG7[27645:134664192]: Private key loaded 2008.06.07 10:37:55 LOG7[27645:134664192]: SSL context initialized for service pop3s 2008.06.07 10:37:55 LOG5[27645:134664192]: stunnel 4.25 on i386-unknown-freebsd6.2 with OpenSSL 0.9.8h 28 May 2008 2008.06.07 10:37:55 LOG5[27645:134664192]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP 2008.06.07 10:37:55 LOG6[27645:134664192]: file ulimit = 11095 (can be changed with 'ulimit -n') 2008.06.07 10:37:55 LOG6[27645:134664192]: poll() used - no FD_SETSIZE limit for file descriptors 2008.06.07 10:37:55 LOG5[27645:134664192]: 5417 clients allowed 2008.06.07 10:37:55 LOG7[27645:134664192]: FD 5 in non-blocking mode 2008.06.07 10:37:55 LOG7[27645:134664192]: FD 6 in non-blocking mode 2008.06.07 10:37:55 LOG7[27645:134664192]: FD 7 in non-blocking mode 2008.06.07 10:37:55 LOG7[27645:134664192]: SO_REUSEADDR option set on accept socket 2008.06.07 10:37:55 LOG7[27645:134664192]: pop3s bound to 0.0.0.0:995 2008.06.07 10:37:55 LOG3[27646:134664192]: Cannot create pid file /tmp/stunnel.pid 2008.06.07 10:37:55 LOG3[27646:134664192]: create: No such file or directory (2) > > [...] > From d.hill at yournetplus.com Sat Jun 7 18:06:49 2008 From: d.hill at yournetplus.com (Duane Hill) Date: Sat Jun 7 18:06:53 2008 Subject: vmware timekeeping In-Reply-To: <484A8D73.8040803@yahoo.com> References: <48499CCD.2010708@m2.seamanpaper.com> <991123400806062332r70a7b34co5c93ad14fdacb79f@mail.gmail.com> <484A8D73.8040803@yahoo.com> Message-ID: <20080607170645.3ac211e7@home.dubuque.org> On Sat, 07 Jun 2008 09:30:27 -0400 Peter Thoenen confabulated: > > I run FreeBSD 7.0 inside VMware Workstation-6.0.4 (ACE Edition) and > > I don't have to setup anything. The time is the always same as the > > host > > How long do you keep it up though Odhiambo and how intensive are you > using your native OS? I have a similar setup and while it sync's on > boot, I routinely lose 15 minutes a day (I keep it up 24x7). I think > it is not so much a bug in VMware as opposed to the host OS running > slower than it thinks (e.g. maybe a second of OS time is really > 1.000001 seconds of real time adding up over long periods) if the > native OS is under moderate to heavy use. I'm running FreeBSD 7.0-RELEASE within Vmware v6.0.4 build 93057 with the host OS being XP-Home-SP2. I also have two jails running within the FreeBSD VM. I have within /boot/loader.conf: kern.hz="50" And within root's crontab: PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin @reboot ntpdate us.pool.ntp.org I do not have the Vmware tools loaded. Nor do I have ntpd running. Time has not been a big issue. The host OS (XP) is used more than average for the irreplaceable Windoe$ software I have yet to find replacements for native to FreeBSD. I just decided to do an ntpdate and here are the results: plz# ntpdate -b us.pool.ntp.org 7 Jun 17:04:06 ntpdate[57748]: step time server 208.53.158.34 offset 2.433443 sec plz# uptime 4:59PM up 6 days, 18:47, 1 user, load averages: 0.00, 0.00, 0.00 -- "If at first you don't succeed, so much for skydiving!" From sahil at tandon.net Sat Jun 7 19:33:55 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sat Jun 7 19:33:59 2008 Subject: stunnel not running? (check /var/run/stunnel/stunnel.pid) In-Reply-To: <484AC7EF.1090608@enabled.com> References: <4849F2EF.8050807@enabled.com> <20080607154313.GA56339@shepherd> <484AC7EF.1090608@enabled.com> Message-ID: <20080607193339.GA56510@shepherd> Noah wrote: > 2008.06.07 10:37:55 LOG3[27646:134664192]: Cannot create pid file > /tmp/stunnel.pid It should not be trying to create a pid file in /tmp. There is a configuration file being read that is directly stunnel to that location. -- Sahil Tandon From bitabyss at gmail.com Sat Jun 7 19:59:57 2008 From: bitabyss at gmail.com (Rob) Date: Sat Jun 7 20:00:02 2008 Subject: massive ports update In-Reply-To: <200806062217.m56MHgKV019665@vjofn.tucs-beachin-obx-house.com> References: <200806062217.m56MHgKV019665@vjofn.tucs-beachin-obx-house.com> Message-ID: <484AE8BF.5060506@gmail.com> Tuc at T-B-O-H wrote: > I'm wondering just how many ports the author of that statement > has. I have a few to say the least. Actually a few hundred. Ok, well, > 1102 to be a bit more specific.... Blow away and re-install 1102 ports? I think he meant the ports tree, not necessarily the installed ports. I use portsnap (normally much quicker than the various CVS methods) and if I've let it go a few months, it's quicker to blow the whole thing away and reload from scratch: rm -r /var/db/portsnap rm -r /usr/ports portsnap fetch extract -R From derek.graham at att.net Sat Jun 7 20:00:50 2008 From: derek.graham at att.net (Derek Graham) Date: Sat Jun 7 20:00:56 2008 Subject: Flashplugin Message-ID: <200806071500.28001.derek.graham@att.net> Hey all, I have tried using swfdec-plugin to do flash, but it doesnt seem to work too well at least with firefox. One ... I prefer being able to select what flash loads automaticly and Two ... I like to be able to see the flash video but all it does is freeze I can't seem to get linux-flashplugin7 anymore due to the restricted status. Flashplugin9 locks up also, which we all know already. I have heard gnash doesnt do much better... Anyone have a solution that works halfway? Derek From sfourman at gmail.com Sat Jun 7 20:33:27 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sat Jun 7 20:33:30 2008 Subject: Flashplugin In-Reply-To: <200806071500.28001.derek.graham@att.net> References: <200806071500.28001.derek.graham@att.net> Message-ID: <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> On Sat, Jun 7, 2008 at 3:00 PM, Derek Graham wrote: > Hey all, > > I have tried using swfdec-plugin to do flash, but it doesnt seem to work > too > well at least with firefox. > One ... I prefer being able to select what flash loads automaticly and > Two ... I like to be able to see the flash video but all it does is freeze > > I can't seem to get linux-flashplugin7 anymore due to the restricted > status. > Flashplugin9 locks up also, which we all know already. I have heard gnash > doesnt do much better... Anyone have a solution that works halfway? > > Derek use Firefox for Windows and use wine, then install the windows Flash 9 plugin Sam Fourman Jr. From derek.graham at att.net Sat Jun 7 20:40:42 2008 From: derek.graham at att.net (Derek Graham) Date: Sat Jun 7 20:40:46 2008 Subject: Flashplugin In-Reply-To: <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> Message-ID: <200806071540.19848.derek.graham@att.net> on Saturday 07 June 2008Saturday 07 June 2008 Sam Fourman Jr. "Sam Fourman Jr." wrote: > On Sat, Jun 7, 2008 at 3:00 PM, Derek Graham wrote: > > Hey all, > > > > I have tried using swfdec-plugin to do flash, but it doesnt seem to work > > too > > well at least with firefox. > > One ... I prefer being able to select what flash loads automaticly and > > Two ... I like to be able to see the flash video but all it does is > > freeze > > > > I can't seem to get linux-flashplugin7 anymore due to the restricted > > status. > > Flashplugin9 locks up also, which we all know already. I have heard gnash > > doesnt do much better... Anyone have a solution that works halfway? > > > > Derek > > use Firefox for Windows and use wine, then install the windows Flash 9 > plugin > > Sam Fourman Jr. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" yeah i got that installed but its a pain to run wine ver of firefox for flash stuff and native firefox for normal usage. Do you recommend using wine firefox for normal use? Sincerely, Derek A. Graham President D and M Computers, Inc. Exceeding your expectations everyday! http://www.dandmcomputers.co.cc/ (847) 305-1954 ext 101 From sfourman at gmail.com Sat Jun 7 20:46:14 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sat Jun 7 20:46:19 2008 Subject: Flashplugin In-Reply-To: <200806071540.19848.derek.graham@att.net> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> <200806071540.19848.derek.graham@att.net> Message-ID: <11167f520806071346hb5bc200n42bbf313b56ab031@mail.gmail.com> On Sat, Jun 7, 2008 at 3:40 PM, Derek Graham wrote: > on Saturday 07 June 2008Saturday 07 June 2008 Sam Fourman Jr. "Sam Fourman > Jr." wrote: > > > On Sat, Jun 7, 2008 at 3:00 PM, Derek Graham > wrote: > > > Hey all, > > > > > > I have tried using swfdec-plugin to do flash, but it doesnt seem to > work > > > too > > > well at least with firefox. > > > One ... I prefer being able to select what flash loads automaticly and > > > Two ... I like to be able to see the flash video but all it does is > > > freeze > > > > > > I can't seem to get linux-flashplugin7 anymore due to the restricted > > > status. > > > Flashplugin9 locks up also, which we all know already. I have heard > gnash > > > doesnt do much better... Anyone have a solution that works halfway? > > > > > > Derek > > > > use Firefox for Windows and use wine, then install the windows Flash 9 > > plugin > > > > Sam Fourman Jr. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > yeah i got that installed but its a pain to run wine ver of firefox for > flash > stuff and native firefox for normal usage. Do you recommend using wine > firefox for normal use? > > I don't know, not really I have never been able to get the fonts to look right in wine firefox Sam Fourman Jr. From freebsd at superhero.nl Sat Jun 7 20:47:32 2008 From: freebsd at superhero.nl (Gelsema, P (Patrick) - FreeBSD) Date: Sat Jun 7 20:47:36 2008 Subject: NFE setting manually to 1000baseT and half duplex Message-ID: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> Hi List, I am using the nfe driver on Freebsd 7.0R and I am unable to change the NIC driver manually to 1000baseT with half-duplex. I believe I am not getting the max out of my network connection and want to see if changing the duplex will help. hulk# ifconfig nfe0 10.202.77.110 media 100baseTX hulk# ifconfig nfe0 nfe0: flags=8843 metric 0 mtu 1500 options=8 ether 00:18:f3:9f:f1:b4 inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 inet 10.202.77.113 netmask 0xffffff00 broadcast 10.202.77.255 inet 10.202.77.114 netmask 0xffffff00 broadcast 10.202.77.255 inet 10.202.77.76 netmask 0xffffff00 broadcast 10.202.77.255 inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 inet 10.202.77.110 netmask 0xff000000 broadcast 10.255.255.255 media: Ethernet 100baseTX (1000baseTX ) status: active Why between () the 1000baseTX? Is that the actual speed? The maximum speed? hulk# ifconfig nfe0 10.202.77.110 media 1000baseT ifconfig: SIOCSIFMEDIA (media): Device not configured man nfe says this is possible. hulk# ifconfig nfe0 10.202.77.110 media autoselect hulk# ifconfig nfe0 nfe0: flags=8843 metric 0 mtu 1500 options=8 ether 00:18:f3:9f:f1:b4 inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 inet 10.202.77.114 netmask 0xffffff00 broadcast 10.202.77.255 inet 10.202.77.76 netmask 0xffffff00 broadcast 10.202.77.255 inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 inet 10.202.77.110 netmask 0xff000000 broadcast 10.255.255.255 media: Ethernet autoselect (1000baseTX ) status: active hulk# ifconfig nfe0 mediaopt half-duplex No errors but cant see if it works. Question is, why cant I just do the following; hulk# ifconfig nfe0 media 1000baseT mediaopt half-duplex pciconf -lv nfe0@pci0:0:7:0: class=0x068000 card=0x82341043 chip=0x03ef10de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'MCP61 Ethernet' class = bridge hulk# uname -a FreeBSD hulk.superhero.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sun Feb 24 14:37:26 CET 2008 admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC amd64 hulk# Thanks and regards, Patrick From derek.graham at att.net Sat Jun 7 20:48:18 2008 From: derek.graham at att.net (Derek Graham) Date: Sat Jun 7 20:48:23 2008 Subject: Flashplugin In-Reply-To: <11167f520806071346hb5bc200n42bbf313b56ab031@mail.gmail.com> References: <200806071500.28001.derek.graham@att.net> <200806071540.19848.derek.graham@att.net> <11167f520806071346hb5bc200n42bbf313b56ab031@mail.gmail.com> Message-ID: <200806071547.56717.derek.graham@att.net> on Saturday 07 June 2008Saturday 07 June 2008 Sam Fourman Jr. "Sam Fourman Jr." wrote: > On Sat, Jun 7, 2008 at 3:40 PM, Derek Graham wrote: > > on Saturday 07 June 2008Saturday 07 June 2008 Sam Fourman Jr. "Sam > > Fourman > > > > Jr." wrote: > > > On Sat, Jun 7, 2008 at 3:00 PM, Derek Graham > > > > wrote: > > > > Hey all, > > > > > > > > I have tried using swfdec-plugin to do flash, but it doesnt seem to > > > > work > > > > > > too > > > > well at least with firefox. > > > > One ... I prefer being able to select what flash loads automaticly > > > > and Two ... I like to be able to see the flash video but all it does > > > > is freeze > > > > > > > > I can't seem to get linux-flashplugin7 anymore due to the restricted > > > > status. > > > > Flashplugin9 locks up also, which we all know already. I have heard > > > > gnash > > > > > > doesnt do much better... Anyone have a solution that works halfway? > > > > > > > > Derek > > > > > > use Firefox for Windows and use wine, then install the windows Flash 9 > > > plugin > > > > > > Sam Fourman Jr. > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "freebsd-questions-unsubscribe@freebsd.org" > > > > yeah i got that installed but its a pain to run wine ver of firefox for > > flash > > stuff and native firefox for normal usage. Do you recommend using wine > > firefox for normal use? > > > > I don't know, not really I have never been able to get the fonts to look > > right in wine firefox > > Sam Fourman Jr. I was just going to ask you about that, it all looks like crud with the fonts not right, anyone know how to setup the fonts for wine? Sincerely, Derek A. Graham President D and M Computers, Inc. Exceeding your expectations everyday! http://www.dandmcomputers.co.cc/ (847) 305-1954 ext 101 From isachpaz at igd.fhg.de Sat Jun 7 21:13:42 2008 From: isachpaz at igd.fhg.de (Ilias SACHPAZIDIS) Date: Sat Jun 7 21:13:47 2008 Subject: (no subject) Message-ID: <006201c8c8df$c448b2a0$81078c92@PC1510> -------------------------------------------------------------- Fraunhofer IGD Department Cognitive Computing & Medical Imaging Ilias Sachpazidis phone:+49/(0)/6151/155 507 Fraunhoferstr. 5 fax :+49/(0)/6151/155 480 D-64283 Darmstadt Ilias.Sachpazidis@igd.fhg.de Germany http://www.igd.fhg.de/~isachpaz -------------------------------------------------------------- From dick at nagual.nl Sat Jun 7 22:21:55 2008 From: dick at nagual.nl (Dick Hoogendijk) Date: Sat Jun 7 22:22:03 2008 Subject: Flashplugin In-Reply-To: <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> Message-ID: <20080608000350.00006173@westmark> On Sat, 7 Jun 2008 15:33:26 -0500 "Sam Fourman Jr." wrote: > use Firefox for Windows and use wine, then install the windows Flash 9 > plugin People choosing FreeBSD shouldn't be "forced" to run windowish solution. The OS is not supported. That's a major problem in these modern times, although lots of fbsd people tend to say it is not. That's not everyday's live however. FreeBSD does not make the web. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxde 01/08 ++ From jaj at hcl-club.lu Sat Jun 7 22:36:57 2008 From: jaj at hcl-club.lu (Jona Joachim) Date: Sat Jun 7 22:37:02 2008 Subject: massive ports update References: <560f92640806061458k7b413e9du49c84c252b424fcb@mail.gmail.com> <200806062217.m56MHgKV019665@vjofn.tucs-beachin-obx-house.com> Message-ID: On 2008-06-06, Tuc at T-B-O-H wrote: > In UPDATING it says : > > Given the scope and sheer number of dependent ports, it may be more > advisable to simply blow away all existing install ports (after > keeping any local configuration changes), and rebuilding from scratch. > > > I'm wondering just how many ports the author of that statement > has. I have a few to say the least. Actually a few hundred. Ok, well, > 1102 to be a bit more specific.... Blow away and re-install 1102 ports? > For real? That's not uncommon. For example when you go from one major FreeBSD version to another you have to rebuild everything most of the time because of ABI changes. Of course you could also wait for the building cluster to catch up and do a binary upgrade (-P in portupgrade). Jona -- Pond-erosa Puff wouldn't take no guff Water oughta be clean and free So he fought the fight and he set things right With his OpenBSD From sfourman at gmail.com Sat Jun 7 22:48:35 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sat Jun 7 22:48:39 2008 Subject: Flashplugin In-Reply-To: <20080608000350.00006173@westmark> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> <20080608000350.00006173@westmark> Message-ID: <11167f520806071548y4d0b0599m74268bcf02d27d76@mail.gmail.com> > People choosing FreeBSD shouldn't be "forced" to run windowish > solution. The OS is not supported. That's a major problem in these > modern times, although lots of fbsd people tend to say it is not. > That's not everyday's live however. FreeBSD does not make the web. > > I agree, I made a comment, last week when I noticed I could not even Pay my credit card bill at a major US bank,on FreeBSD because of the lack of flash9. To me I find it kind of a oxy moron to have to load a Windows Application in wine, in order to complete a secure financial transaction. I wish there was a way for the FreeBSD community to let Adobe know that we are out here. I know there are online petitions and I have signed them. I know the topic of flash 9 gets brought up every week on this list, or so it seems. but does anyone know if someone is working on getting Flash9 to work in FreeBSD? if there is someone working on it, maybe there should be a wiki page since Flash9 is such a popular port. I can say that I have saw a report from someone last week saying that the new linux 2.6x emulation in 8 -current still does not make the flash9 port work in a stable manner. Sam Fourman Jr. From jaj at hcl-club.lu Sat Jun 7 22:58:25 2008 From: jaj at hcl-club.lu (Jona Joachim) Date: Sat Jun 7 22:58:29 2008 Subject: Flashplugin References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> <20080608000350.00006173@westmark> Message-ID: On 2008-06-07, Dick Hoogendijk wrote: > On Sat, 7 Jun 2008 15:33:26 -0500 > "Sam Fourman Jr." wrote: > >> use Firefox for Windows and use wine, then install the windows Flash 9 >> plugin > > People choosing FreeBSD shouldn't be "forced" to run windowish > solution. The OS is not supported. That's a major problem in these > modern times, although lots of fbsd people tend to say it is not. > That's not everyday's live however. FreeBSD does not make the web. Flash is a big pain IMO. The Flash question has been asked *a lot* of times on this list. The answer usually boils down to "use www/nspluginwrapper" or "use linux-firefox". Both "solutions" are far from optimal. My solution is to simply ignore Flash content. It makes your "online experience" much more enjoyable. This is my personal choice of course. I think it is rather reducing when you have to beg unkind vendors to eventually consider that you exist. I don't think proprietary binary formats have their place on the web. The WWW is an information exchange platform, why would you want to diffuse information around the globe when you know that a lot of people will not be able to decipher it? It's a bit arrogant I think. Jona -- Pond-erosa Puff wouldn't take no guff Water oughta be clean and free So he fought the fight and he set things right With his OpenBSD From freebsd.mtoth at queldor.net Sat Jun 7 23:05:53 2008 From: freebsd.mtoth at queldor.net (Michael Toth) Date: Sat Jun 7 23:05:58 2008 Subject: NFE setting manually to 1000baseT and half duplex In-Reply-To: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> References: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> Message-ID: <484B1088.6030905@queldor.net> Hi, You should be doing # ifconfig nfe0 10.202.77.110 media 1000baseTX <--- note the 'X' Gelsema, P (Patrick) - FreeBSD wrote: > Hi List, > > I am using the nfe driver on Freebsd 7.0R and I am unable to change the > NIC driver manually to 1000baseT with half-duplex. I believe I am not > getting the max out of my network connection and want to see if changing > the duplex will help. > > hulk# ifconfig nfe0 10.202.77.110 media 100baseTX > hulk# ifconfig nfe0 > nfe0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:18:f3:9f:f1:b4 > inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 > inet 10.202.77.113 netmask 0xffffff00 broadcast 10.202.77.255 > inet 10.202.77.114 netmask 0xffffff00 broadcast 10.202.77.255 > inet 10.202.77.76 netmask 0xffffff00 broadcast 10.202.77.255 > inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 > inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 > inet 10.202.77.110 netmask 0xff000000 broadcast 10.255.255.255 > media: Ethernet 100baseTX (1000baseTX ) > status: active > > Why between () the 1000baseTX? Is that the actual speed? The maximum speed? > > hulk# ifconfig nfe0 10.202.77.110 media 1000baseT > ifconfig: SIOCSIFMEDIA (media): Device not configured > > man nfe says this is possible. > > hulk# ifconfig nfe0 10.202.77.110 media autoselect > hulk# ifconfig nfe0 > nfe0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:18:f3:9f:f1:b4 > inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 > inet 10.202.77.114 netmask 0xffffff00 broadcast 10.202.77.255 > inet 10.202.77.76 netmask 0xffffff00 broadcast 10.202.77.255 > inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 > inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 > inet 10.202.77.110 netmask 0xff000000 broadcast 10.255.255.255 > media: Ethernet autoselect (1000baseTX ) > status: active > > hulk# ifconfig nfe0 mediaopt half-duplex > No errors but cant see if it works. > > Question is, why cant I just do the following; > hulk# ifconfig nfe0 media 1000baseT mediaopt half-duplex > > pciconf -lv > nfe0@pci0:0:7:0: class=0x068000 card=0x82341043 chip=0x03ef10de > rev=0xa2 hdr=0x00 > vendor = 'Nvidia Corp' > device = 'MCP61 Ethernet' > class = bridge > > hulk# uname -a > FreeBSD hulk.superhero.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sun Feb 24 > 14:37:26 CET 2008 admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC > amd64 > hulk# > > Thanks and regards, > > 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 ltcddata at davids-website.com Sat Jun 7 23:29:11 2008 From: ltcddata at davids-website.com (LtCdData) Date: Sat Jun 7 23:29:36 2008 Subject: Flashplugin In-Reply-To: <200806071500.28001.derek.graham@att.net> References: <200806071500.28001.derek.graham@att.net> Message-ID: <200806072359.35977.ltcddata@davids-website.com> On Saturday 07 June 2008, Derek Graham wrote: > Hey all, > > I have tried using swfdec-plugin to do flash, but it doesnt seem to work > too well at least with firefox. > One ... I prefer being able to select what flash loads automaticly and > Two ... I like to be able to see the flash video but all it does is freeze > > I can't seem to get linux-flashplugin7 anymore due to the restricted > status. Flashplugin9 locks up also, which we all know already. I have heard > gnash doesnt do much better... Anyone have a solution that works halfway? > > Derek > Yep, I have to say it too, firefox for windows under wine is now my main firefox browser on freebsd, as the other solutions just don not work well enough, or just do not work.... > _______________________________________________ > freebsd-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 agh at tpg.com.au Sun Jun 8 00:00:02 2008 From: agh at tpg.com.au (Alastair Hogge) Date: Sun Jun 8 00:00:09 2008 Subject: Flashplugin In-Reply-To: <200806071547.56717.derek.graham@att.net> References: <200806071500.28001.derek.graham@att.net> <11167f520806071346hb5bc200n42bbf313b56ab031@mail.gmail.com> <200806071547.56717.derek.graham@att.net> Message-ID: <200806080946.44026.agh@tpg.com.au> On Sun, 8 Jun 2008 06:47:56 Derek Graham wrote: > on Saturday 07 June 2008Saturday 07 June 2008 Sam Fourman Jr. "Sam Fourman > > Jr." wrote: > > On Sat, Jun 7, 2008 at 3:40 PM, Derek Graham wrote: > > > on Saturday 07 June 2008Saturday 07 June 2008 Sam Fourman Jr. "Sam > > > Fourman > > > > > > Jr." wrote: > > > > On Sat, Jun 7, 2008 at 3:00 PM, Derek Graham > > > > > > wrote: > > > > > Hey all, > > > > > > > > > > I have tried using swfdec-plugin to do flash, but it doesnt seem to > > > > > > work > > > > > > > > too > > > > > well at least with firefox. > > > > > One ... I prefer being able to select what flash loads automaticly > > > > > and Two ... I like to be able to see the flash video but all it > > > > > does is freeze > > > > > > > > > > I can't seem to get linux-flashplugin7 anymore due to the > > > > > restricted status. > > > > > Flashplugin9 locks up also, which we all know already. I have heard > > > > > > gnash > > > > > > > > doesnt do much better... Anyone have a solution that works halfway? > > > > > > > > > > Derek > > > > > > > > use Firefox for Windows and use wine, then install the windows Flash > > > > 9 plugin > > > > > > > > Sam Fourman Jr. > > > > _______________________________________________ > > > > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > To unsubscribe, send any mail to > > > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > > yeah i got that installed but its a pain to run wine ver of firefox for > > > flash > > > stuff and native firefox for normal usage. Do you recommend using wine > > > firefox for normal use? > > > > > > I don't know, not really I have never been able to get the fonts to > > > look > > > > right in wine firefox > > > > Sam Fourman Jr. > > I was just going to ask you about that, it all looks like crud with the > fonts not right, anyone know how to setup the fonts for wine? Search for winetricks, it's a shell script that can download and install MS-Windows fonts(amoung other things) for you. Also PC-BSD has a PBI for installing MS-Windows fonts for wine, maybe check that out? > Sincerely, > Derek A. Graham -Alastair > President > D and M Computers, Inc. > Exceeding your expectations everyday! > http://www.dandmcomputers.co.cc/ > (847) 305-1954 ext 101 > > _______________________________________________ > freebsd-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 thoellri at adobe.com Sun Jun 8 00:09:18 2008 From: thoellri at adobe.com (Tobias Hoellrich) Date: Sun Jun 8 00:09:24 2008 Subject: Flashplugin In-Reply-To: References: <200806071500.28001.derek.graham@att.net><11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com><20080608000350.00006173@westmark> Message-ID: [Disclaimer: I work for Adobe Systems. I have nothing to do with the Flash Player. I'm a grunt who works on other stuff. This is my personal opinion as a long-time FreeBSD user and I'm not making any statements for Adobe.] > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Jona Joachim > Sent: Saturday, June 07, 2008 4:58 PM > To: freebsd-questions@freebsd.org > Subject: Re: Flashplugin > > Flash is a big pain IMO. > The Flash question has been asked *a lot* of times on this list. > The answer usually boils down to "use www/nspluginwrapper" or "use > linux-firefox". Both "solutions" are far from optimal. > My solution is to simply ignore Flash content. It makes your > "online experience" > much more enjoyable. This is my personal choice of course. I'm afraid that's the age-old question of demand. If there was enough demand out there, I'm sure that any software manufacturer would consider FreeBSD a platform that needs to be supported. Providing support for the Flash Player on FreeBSD is not a one-shot thing. You don't have some summer intern create a port of the current version of the player, release it and then be done with it. If a platform is officially supported it means dedication of a lot of resources: engineering and especially testing. Once a platform is adopted it needs to be rev'ed whenever the other platforms are updated, otherwise you end up again in a situation where a certain application that requires new Flash Player features does not work for you. This all means time and money. Adobe as any other public company has to justify its actions to its shareholders. If anybody scrutinizes the books and sees a substantial amount of engineering and QA resources being dedicated to a platform that has very little desktop market penetration and because of that some other important high-reach features were dropped, I'm sure that public company would have to answer some questions about it. Since the last discussion I actually contacted the Flash Player team and asked what it would take to get an official port for Flash Player on FreeBSD. I was asked to provide numbers that would indicate how many *desktop* FreeBSD systems are out there and how many of them are used on a *regular* basis. So, if anybody on this list can provide those answers, I'd be more than happy to do my part and relay the answers back to those people who can actually influence decisions in this area. Again, I'm not speaking for Adobe, I'm just offering to help as much as I can as a happy FreeBSD user (well, if it wasn't for http://www.freebsd.org/cgi/query-pr.cgi?pr=123735 on 8.0-CURRENT). > I think it is rather reducing when you have to beg unkind > vendors to eventually > consider that you exist. > I don't think proprietary binary formats have their place on > the web. The WWW is > an information exchange platform, why would you want to > diffuse information > around the globe when you know that a lot of people will not > be able to decipher > it? It's a bit arrogant I think. That's simply wrong. The Flash format byte-code is *not* proprietary. If you want to, you can go ahead and create your own Flash Player. The specifications for the format are freely available at: http://www.adobe.com/openscreenproject/developers/ And Gnash (http://www.gnu.org/software/gnash/), which was started before the spec was available, will certainly benefit from this. And to address a previous message: if your bank requires you to use the Flash Player to make a transaction, then you will need to get in touch with your bank and not blame it on the non-existence of the Flash Player on your platform. A disabled person with a text-only browser or a screen-reader will certainly have the same issues. My offer stands: if anybody can provide the numbers above, I'm going to forward them to the right people and work things from my end. Don't beat me up, I'm for the support - even if I'm not using FreeBSD as a desktop OS. Thanks and happy weekend - Tobias From luizbcampos at gmail.com Sat Jun 7 17:45:37 2008 From: luizbcampos at gmail.com (luizbcampos) Date: Sun Jun 8 00:44:15 2008 Subject: password X GDM Message-ID: After I had installed FreeBSD-7.0-R and enabled "gdm" in /etc/rc.conf, the system freezes when I try to enter gnome interface through GDM. When I type my blank password, the script fails to go on From kitche at kitchetech.com Sun Jun 8 00:59:27 2008 From: kitche at kitchetech.com (Matthew Donovan) Date: Sun Jun 8 00:59:32 2008 Subject: password X GDM In-Reply-To: References: Message-ID: <20080608005917.GA73984@njord.Belkin> On Sat, Jun 07, 2008 at 12:20:46PM -0500, luizbcampos wrote: > After I had installed FreeBSD-7.0-R and enabled "gdm" in > /etc/rc.conf, the system freezes when I try to enter gnome interface > through GDM. When I type my blank password, the script fails to go on I believe gdm/kdm/xdm hates blank passwords just as the system hates it -------------- 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/20080608/37923553/attachment.pgp From jerrymc at msu.edu Sun Jun 8 02:21:30 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun Jun 8 02:21:34 2008 Subject: Flashplugin In-Reply-To: <20080608000350.00006173@westmark> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> <20080608000350.00006173@westmark> Message-ID: <20080608021633.GA6799@gizmo.acns.msu.edu> On Sun, Jun 08, 2008 at 12:03:50AM +0200, Dick Hoogendijk wrote: > On Sat, 7 Jun 2008 15:33:26 -0500 > "Sam Fourman Jr." wrote: > > > use Firefox for Windows and use wine, then install the windows Flash 9 > > plugin > > People choosing FreeBSD shouldn't be "forced" to run windowish > solution. The OS is not supported. That's a major problem in these > modern times, although lots of fbsd people tend to say it is not. > That's not everyday's live however. FreeBSD does not make the web. OK. So get busy anc contribute a flash9 plugin that works in FreeBSD. See if you can get the necessary information out of Adobe. ////jerry > > -- > Dick Hoogendijk -- PGP/GnuPG key: 01D2433D > ++ http://nagual.nl/ + SunOS sxde 01/08 ++ > _______________________________________________ > freebsd-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 derek.graham at att.net Sun Jun 8 02:30:59 2008 From: derek.graham at att.net (Derek Graham) Date: Sun Jun 8 02:31:04 2008 Subject: Flashplugin In-Reply-To: <200806080946.44026.agh@tpg.com.au> References: <200806071500.28001.derek.graham@att.net> <200806071547.56717.derek.graham@att.net> <200806080946.44026.agh@tpg.com.au> Message-ID: <200806072130.37565.derek.graham@att.net> on Saturday 07 June 2008Saturday 07 June 2008 Alastair Hogge Alastair Hogge wrote: > On Sun, 8 Jun 2008 06:47:56 Derek Graham wrote: > > on Saturday 07 June 2008Saturday 07 June 2008 Sam Fourman Jr. "Sam > > Fourman > > > > Jr." wrote: > > > On Sat, Jun 7, 2008 at 3:40 PM, Derek Graham wrote: > > > > on Saturday 07 June 2008Saturday 07 June 2008 Sam Fourman Jr. "Sam > > > > Fourman > > > > > > > > Jr." wrote: > > > > > On Sat, Jun 7, 2008 at 3:00 PM, Derek Graham > > > > > > > > wrote: > > > > > > Hey all, > > > > > > > > > > > > I have tried using swfdec-plugin to do flash, but it doesnt seem > > > > > > to > > > > > > > > work > > > > > > > > > > too > > > > > > well at least with firefox. > > > > > > One ... I prefer being able to select what flash loads > > > > > > automaticly and Two ... I like to be able to see the flash video > > > > > > but all it does is freeze > > > > > > > > > > > > I can't seem to get linux-flashplugin7 anymore due to the > > > > > > restricted status. > > > > > > Flashplugin9 locks up also, which we all know already. I have > > > > > > heard > > > > > > > > gnash > > > > > > > > > > doesnt do much better... Anyone have a solution that works > > > > > > halfway? > > > > > > > > > > > > Derek > > > > > > > > > > use Firefox for Windows and use wine, then install the windows > > > > > Flash 9 plugin > > > > > > > > > > Sam Fourman Jr. > > > > > _______________________________________________ > > > > > freebsd-questions@freebsd.org mailing list > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > To unsubscribe, send any mail to > > > > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > yeah i got that installed but its a pain to run wine ver of firefox > > > > for flash > > > > stuff and native firefox for normal usage. Do you recommend using > > > > wine firefox for normal use? > > > > > > > > I don't know, not really I have never been able to get the fonts to > > > > look > > > > > > right in wine firefox > > > > > > Sam Fourman Jr. > > > > I was just going to ask you about that, it all looks like crud with the > > fonts not right, anyone know how to setup the fonts for wine? > > Search for winetricks, it's a shell script that can download and install > MS-Windows fonts(amoung other things) for you. > > Also PC-BSD has a PBI for installing MS-Windows fonts for wine, maybe check > that out? > > > Sincerely, > > Derek A. Graham > > -Alastair > > > President > > D and M Computers, Inc. > > Exceeding your expectations everyday! > > http://www.dandmcomputers.co.cc/ > > (847) 305-1954 ext 101 > > > > _______________________________________________ > > freebsd-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 install PBI's on FreeBSD? thought they were only for PC-BSD Sincerely, Derek A. Graham President D and M Computers, Inc. Exceeding your expectations everyday! http://www.dandmcomputers.co.cc/ (847) 305-1954 ext 101 From derek.graham at att.net Sun Jun 8 02:39:12 2008 From: derek.graham at att.net (Derek Graham) Date: Sun Jun 8 02:39:17 2008 Subject: Flashplugin In-Reply-To: References: <200806071500.28001.derek.graham@att.net> <20080608000350.00006173@westmark> Message-ID: <200806072138.49698.derek.graham@att.net> on Saturday 07 June 2008Saturday 07 June 2008 Jona Joachim Jona Joachim wrote: > On 2008-06-07, Dick Hoogendijk wrote: > > On Sat, 7 Jun 2008 15:33:26 -0500 > > > > "Sam Fourman Jr." wrote: > >> use Firefox for Windows and use wine, then install the windows Flash 9 > >> plugin > > > > People choosing FreeBSD shouldn't be "forced" to run windowish > > solution. The OS is not supported. That's a major problem in these > > modern times, although lots of fbsd people tend to say it is not. > > That's not everyday's live however. FreeBSD does not make the web. > > Flash is a big pain IMO. > The Flash question has been asked *a lot* of times on this list. > The answer usually boils down to "use www/nspluginwrapper" or "use > linux-firefox". Both "solutions" are far from optimal. > My solution is to simply ignore Flash content. It makes your "online > experience" much more enjoyable. This is my personal choice of course. > I think it is rather reducing when you have to beg unkind vendors to > eventually consider that you exist. > I don't think proprietary binary formats have their place on the web. The > WWW is an information exchange platform, why would you want to diffuse > information around the globe when you know that a lot of people will not be > able to decipher it? It's a bit arrogant I think. > > Jona Yeah I understand where you are going with that, but at the same time every interface is flash, java, or silverlight. Fortunately my current banking choice greendot doesnt use flash, but there are alot of web apps that require it to work and require using the latest version. There is where we need flash. We need these companies to realise that if majority of the websites on the planet use it, then they need to support every operating system with the means of accessing the web via a current maintained gui browser. Java, Flash, Silverlight and all applications that are used heavily in todays websites need to be made standardly ready and available to Windows, Macintosh, Unix(including linux and freebsd and all 'nix os) I do not want to have to use wine to get to a important secure login for a bank or similar site when I am running something better then windows My $0.02 Sincerely, Derek A. Graham President D and M Computers, Inc. Exceeding your expectations everyday! http://www.dandmcomputers.co.cc/ (847) 305-1954 ext 101 From derek.graham at att.net Sun Jun 8 02:44:14 2008 From: derek.graham at att.net (Derek Graham) Date: Sun Jun 8 02:44:19 2008 Subject: Flashplugin In-Reply-To: References: <200806071500.28001.derek.graham@att.net> Message-ID: <200806072143.52051.derek.graham@att.net> on Saturday 07 June 2008Saturday 07 June 2008 Tobias Hoellrich "Tobias Hoellrich" wrote: > [Disclaimer: I work for Adobe Systems. I have nothing to do with the > Flash Player. I'm a grunt who works on other stuff. This is my personal > opinion as a long-time FreeBSD user and I'm not making any statements > for Adobe.] > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Jona Joachim > > Sent: Saturday, June 07, 2008 4:58 PM > > To: freebsd-questions@freebsd.org > > Subject: Re: Flashplugin > > > > Flash is a big pain IMO. > > The Flash question has been asked *a lot* of times on this list. > > The answer usually boils down to "use www/nspluginwrapper" or "use > > linux-firefox". Both "solutions" are far from optimal. > > My solution is to simply ignore Flash content. It makes your > > "online experience" > > much more enjoyable. This is my personal choice of course. > > I'm afraid that's the age-old question of demand. If there was enough > demand out there, I'm sure that any software manufacturer would consider > FreeBSD a platform that needs to be supported. > Providing support for the Flash Player on FreeBSD is not a one-shot > thing. You don't have some summer intern create a port of the current > version of the player, release it and then be done with it. If a > platform is officially supported it means dedication of a lot of > resources: engineering and especially testing. Once a platform is > adopted it needs to be rev'ed whenever the other platforms are updated, > otherwise you end up again in a situation where a certain application > that requires new Flash Player features does not work for you. This all > means time and money. Adobe as any other public company has to justify > its actions to its shareholders. If anybody scrutinizes the books and > sees a substantial amount of engineering and QA resources being > dedicated to a platform that has very little desktop market penetration > and because of that some other important high-reach features were > dropped, I'm sure that public company would have to answer some > questions about it. > > Since the last discussion I actually contacted the Flash Player team and > asked what it would take to get an official port for Flash Player on > FreeBSD. I was asked to provide numbers that would indicate how many > *desktop* FreeBSD systems are out there and how many of them are used on > a *regular* basis. So, if anybody on this list can provide those > answers, I'd be more than happy to do my part and relay the answers back > to those people who can actually influence decisions in this area. > Again, I'm not speaking for Adobe, I'm just offering to help as much as > I can as a happy FreeBSD user (well, if it wasn't for > http://www.freebsd.org/cgi/query-pr.cgi?pr=123735 on 8.0-CURRENT). > > > I think it is rather reducing when you have to beg unkind > > vendors to eventually > > consider that you exist. > > I don't think proprietary binary formats have their place on > > the web. The WWW is > > an information exchange platform, why would you want to > > diffuse information > > around the globe when you know that a lot of people will not > > be able to decipher > > it? It's a bit arrogant I think. > > That's simply wrong. The Flash format byte-code is *not* proprietary. If > you want to, you can go ahead and create your own Flash Player. The > specifications for the format are freely available at: > http://www.adobe.com/openscreenproject/developers/ > > And Gnash (http://www.gnu.org/software/gnash/), which was started before > the spec was available, will certainly benefit from this. > > And to address a previous message: if your bank requires you to use the > Flash Player to make a transaction, then you will need to get in touch > with your bank and not blame it on the non-existence of the Flash Player > on your platform. A disabled person with a text-only browser or a > screen-reader will certainly have the same issues. > > My offer stands: if anybody can provide the numbers above, I'm going to > forward them to the right people and work things from my end. > > Don't beat me up, I'm for the support - even if I'm not using FreeBSD as > a desktop OS. > > Thanks and happy weekend - Tobias > _______________________________________________ > freebsd-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 is my one and only desktop, I run a small business and do not tend to like to switch back and forth from os's mainly cause i use sql-ledger and it is my main server to keep up with my bookkeeping. My wifes pc was using pc-bsd but lack of flash made her goto kubuntu Sincerely, Derek A. Graham President D and M Computers, Inc. Exceeding your expectations everyday! http://www.dandmcomputers.co.cc/ (847) 305-1954 ext 101 From dan at langille.org Sun Jun 8 04:10:12 2008 From: dan at langille.org (Dan Langille) Date: Sun Jun 8 04:10:15 2008 Subject: The FreeBSD Diary: 2008-05-18 - 2008-06-07 Message-ID: <20080608041002.DFC3B50A0A@nyi.unixathome.org> The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From camiloreyes82 at yahoo.com Sun Jun 8 04:48:06 2008 From: camiloreyes82 at yahoo.com (Camilo Reyes) Date: Sun Jun 8 04:48:11 2008 Subject: Flashplugin Message-ID: <590647.50656.qm@web63905.mail.re1.yahoo.com> Well, there is a site that does BSD usage statistics (they recently?did?a post on this list). I recommend people use their script to raise the stats. http://www.bsdstats.org/ ?Camilo "Bono Vince Malum" > Date: Sat, 7 Jun 2008 17:09:08 -0700 > From: "Tobias Hoellrich" > Subject: RE: Flashplugin > To: > Message-ID: > ??? > Content-Type: text/plain;??? charset="us-ascii" > > My offer stands: if anybody can provide the numbers above, I'm going to > forward them to the right people and work things from my end. > > Don't beat me up, I'm for the support - even if I'm not using FreeBSD as > a desktop OS. > > Thanks and happy weekend - Tobias From m.seaman at infracaninophile.co.uk Sun Jun 8 05:09:29 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Jun 8 05:09:32 2008 Subject: Flashplugin In-Reply-To: References: <200806071500.28001.derek.graham@att.net><11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com><20080608000350.00006173@westmark> Message-ID: <484B6897.8070508@infracaninophile.co.uk> Tobias Hoellrich wrote: > Since the last discussion I actually contacted the Flash Player team and > asked what it would take to get an official port for Flash Player on > FreeBSD. I was asked to provide numbers that would indicate how many > *desktop* FreeBSD systems are out there and how many of them are used on > a *regular* basis. So, if anybody on this list can provide those > answers, I'd be more than happy to do my part and relay the answers back > to those people who can actually influence decisions in this area. > Again, I'm not speaking for Adobe, I'm just offering to help as much as > I can as a happy FreeBSD user (well, if it wasn't for > http://www.freebsd.org/cgi/query-pr.cgi?pr=123735 on 8.0-CURRENT). Well, if you consider PC-BSD as FreeBSD -- which it is for programmatic purposes, then at least 15,000 users are prepared to voluntarily self-report themselves as such. PC-BSD by it's nature implies desktop usage. Note that PC-BSD invites users to register with BSD Stats at install time. Other BSD variants require the user to have heard about and then gone and installed the reporting software, so the uptake is a lower proportion of the user base. Regular usage is a hard one. BSD stats requires a monthly report from each server, so the figures they have don't include any significant amount of historical cruft. Reports are also generated when the system reboots, but as far as I know, the BSD Stats project hasn't analysed its data to extract any information about how often people reboot their systems. http://www.bsdstats.org/ Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/fa295783/signature.pgp From m.seaman at infracaninophile.co.uk Sun Jun 8 05:10:46 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Jun 8 05:10:49 2008 Subject: Flashplugin In-Reply-To: References: <200806071500.28001.derek.graham@att.net><11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com><20080608000350.00006173@westmark> Message-ID: <484B68EB.8040106@infracaninophile.co.uk> Tobias Hoellrich wrote: > Since the last discussion I actually contacted the Flash Player team and > asked what it would take to get an official port for Flash Player on > FreeBSD. I was asked to provide numbers that would indicate how many > *desktop* FreeBSD systems are out there and how many of them are used on > a *regular* basis. So, if anybody on this list can provide those > answers, I'd be more than happy to do my part and relay the answers back > to those people who can actually influence decisions in this area. > Again, I'm not speaking for Adobe, I'm just offering to help as much as > I can as a happy FreeBSD user (well, if it wasn't for > http://www.freebsd.org/cgi/query-pr.cgi?pr=123735 on 8.0-CURRENT). Well, if you consider PC-BSD as FreeBSD -- which it is for programmatic purposes, then at least 15,000 users are prepared to voluntarily self-report themselves as such. PC-BSD by it's nature implies desktop usage. Note that PC-BSD invites users to register with BSD Stats at install time. Other BSD variants require the user to have heard about and then gone and installed the reporting software, so the uptake is a lower proportion of the user base. Regular usage is a hard one. BSD stats requires a monthly report from each server, so the figures they have don't include any significant amount of historical cruft. Reports are also generated when the system reboots, but as far as I know, the BSD Stats project hasn't analysed its data to extract any information about how often people reboot their systems. http://www.bsdstats.org/ Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/30ae64ef/signature.pgp From m.seaman at infracaninophile.co.uk Sun Jun 8 05:12:40 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Jun 8 05:12:43 2008 Subject: Flashplugin In-Reply-To: References: <200806071500.28001.derek.graham@att.net><11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com><20080608000350.00006173@westmark> Message-ID: <484B695B.9030503@infracaninophile.co.uk> Tobias Hoellrich wrote: > Since the last discussion I actually contacted the Flash Player team and > asked what it would take to get an official port for Flash Player on > FreeBSD. I was asked to provide numbers that would indicate how many > *desktop* FreeBSD systems are out there and how many of them are used on > a *regular* basis. So, if anybody on this list can provide those > answers, I'd be more than happy to do my part and relay the answers back > to those people who can actually influence decisions in this area. > Again, I'm not speaking for Adobe, I'm just offering to help as much as > I can as a happy FreeBSD user (well, if it wasn't for > http://www.freebsd.org/cgi/query-pr.cgi?pr=123735 on 8.0-CURRENT). Well, if you consider PC-BSD as FreeBSD -- which it is for programmatic purposes, then at least 15,000 users are prepared to voluntarily self-report themselves as such. PC-BSD by it's nature implies desktop usage. Note that PC-BSD invites users to register with BSD Stats at install time. Other BSD variants require the user to have heard about and then gone and installed the reporting software, so the uptake is a lower proportion of the user base. Regular usage is a hard one. BSD stats requires a monthly report from each server, so the figures they have don't include any significant amount of historical cruft. Reports are also generated when the system reboots, but as far as I know, the BSD Stats project hasn't analysed its data to extract any information about how often people reboot their systems. http://www.bsdstats.org/ Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/8916a7c8/signature.pgp From lenzi at k1.com.br Sun Jun 8 06:02:00 2008 From: lenzi at k1.com.br (sergio lenzi) Date: Sun Jun 8 06:02:05 2008 Subject: Flashplugin In-Reply-To: <484B695B.9030503@infracaninophile.co.uk> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> <20080608000350.00006173@westmark> <484B695B.9030503@infracaninophile.co.uk> Message-ID: <1212904896.21888.10.camel@localhost> Well... Here I am in a project of notebooks for schools machines with 13" 120gb of disk turion 64... All of them running FreeBSD 7.0 it is about 7000 notebooks in the first year... With a total of 35000 notebooks in 3 years... and counting... may be a total of 100,000 notebooks in 5 years... Because of special taxes applied in the notebooks, the user must use FreeBSD or Linux. If the user formats the computer and install other non open source OS, the user must pay the taxes difference to the project... a value of about US$200. and will not be able to access the university data. Well.. about the flashplugin... it is a problem... for sure... they work with flashplugin 7.... The wireless is a problem too, for that we choose intel or atheros chip... Tell the flashplugin team about... please Sergio From derek.graham at att.net Sun Jun 8 06:17:25 2008 From: derek.graham at att.net (Derek Graham) Date: Sun Jun 8 06:17:45 2008 Subject: Flashplugin In-Reply-To: <1212904896.21888.10.camel@localhost> References: <200806071500.28001.derek.graham@att.net> <484B695B.9030503@infracaninophile.co.uk> <1212904896.21888.10.camel@localhost> Message-ID: <200806080117.03053.derek.graham@att.net> on Sunday 08 June 2008Sunday 08 June 2008 sergio lenzi sergio lenzi wrote: > Well... > > Here I am in a project of notebooks for schools > machines with 13" 120gb of disk turion 64... > All of them running FreeBSD 7.0 it is about 7000 notebooks > in the first year... > > With a total of 35000 notebooks in 3 years... and counting... > may be a total of 100,000 notebooks in 5 years... > > Because of special taxes applied in the notebooks, > the user must use FreeBSD or Linux. If the user formats > the computer and install other non open source OS, > the user must pay the taxes difference to the project... > a value of about US$200. and will not be able to access > the university data. > > Well.. about the flashplugin... it is a problem... for sure... > they work with flashplugin 7.... > > The wireless is a problem too, for that we choose intel or atheros > chip... > > Tell the flashplugin team about... please > > Sergio > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Adobe, There are some numbers, 7,000 now and 30,000 in 3 yrs from one school 14,692 pcbsd 6,320 reported freebsd about almost 30,000 bsd desktops reported, im sure there are alot of people who do not report their stats, but id imagine we got alot more then 30,000 bsd desktop users. Theyd probably use an intern to do most of the work, and we all know interns are unpaid, they earn knowledge and experience. Throw their butts on coding a BSD Flashplayer version. I am sure if you throw in a few pizzas everyday, some trashy sluts, and a lot of caffiene they could work them around the clock and have something working in a couple months. Motivate them with food, girls and hope :) Sincerely, Derek A. Graham President D and M Computers, Inc. Exceeding your expectations everyday! http://www.dandmcomputers.co.cc/ (847) 305-1954 ext 101 From odhiambo at gmail.com Sun Jun 8 06:20:26 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Sun Jun 8 06:20:30 2008 Subject: vmware timekeeping In-Reply-To: <20080607170645.3ac211e7@home.dubuque.org> References: <48499CCD.2010708@m2.seamanpaper.com> <991123400806062332r70a7b34co5c93ad14fdacb79f@mail.gmail.com> <484A8D73.8040803@yahoo.com> <20080607170645.3ac211e7@home.dubuque.org> Message-ID: <991123400806072320h3e64b39vae2bc351b0a1fecf@mail.gmail.com> On Sat, Jun 7, 2008 at 8:06 PM, Duane Hill wrote: > On Sat, 07 Jun 2008 09:30:27 -0400 > Peter Thoenen confabulated: > >> > I run FreeBSD 7.0 inside VMware Workstation-6.0.4 (ACE Edition) and >> > I don't have to setup anything. The time is the always same as the >> > host >> >> How long do you keep it up though Odhiambo and how intensive are you >> using your native OS? I have a similar setup and while it sync's on >> boot, I routinely lose 15 minutes a day (I keep it up 24x7). I think >> it is not so much a bug in VMware as opposed to the host OS running >> slower than it thinks (e.g. maybe a second of OS time is really >> 1.000001 seconds of real time adding up over long periods) if the >> native OS is under moderate to heavy use. > > I'm running FreeBSD 7.0-RELEASE within Vmware v6.0.4 build 93057 with > the host OS being XP-Home-SP2. I also have two jails running within the > FreeBSD VM. > > I have within /boot/loader.conf: > kern.hz="50" Oh, this explains why I never has issues with time. I always have kern.hz="100" in loader.conf and I run ntpdate on startup. Sorry if I mislead others. -- EB White - "Genius is more often found in a cracked pot than in a whole one." From gnemmi at gmail.com Sun Jun 8 07:20:37 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sun Jun 8 07:20:41 2008 Subject: Flashplugin In-Reply-To: <20080608021633.GA6799@gizmo.acns.msu.edu> References: <200806071500.28001.derek.graham@att.net> <20080608000350.00006173@westmark> <20080608021633.GA6799@gizmo.acns.msu.edu> Message-ID: <200806080420.31427.gnemmi@gmail.com> On Saturday 07 June 2008 23:16:34 Jerry McAllister wrote: > On Sun, Jun 08, 2008 at 12:03:50AM +0200, Dick Hoogendijk wrote: > > On Sat, 7 Jun 2008 15:33:26 -0500 > > > > "Sam Fourman Jr." wrote: > > > use Firefox for Windows and use wine, then install the windows Flash 9 > > > plugin > > > > People choosing FreeBSD shouldn't be "forced" to run windowish > > solution. The OS is not supported. That's a major problem in these > > modern times, although lots of fbsd people tend to say it is not. > > That's not everyday's live however. FreeBSD does not make the web. > > OK. So get busy anc contribute a flash9 plugin that works in FreeBSD. > See if you can get the necessary information out of Adobe. > > ////jerry I don't know to what extent this might come in handy .. but in case anyone wants to pick up that gauntlet, you can find quite a lot to start with in here : http://www.adobe.com/devnet/swf/ http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v9.pdf http://www.adobe.com/devnet/flv/ http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v9.pdf http://www.adobe.com/openscreenproject/ Blessings -- Gonzalo Nemmi From unga888 at yahoo.com Sun Jun 8 07:52:02 2008 From: unga888 at yahoo.com (Unga) Date: Sun Jun 8 07:52:06 2008 Subject: How to do regression on libc? Message-ID: <782244.83844.qm@web57003.mail.re3.yahoo.com> Hi all How to do regression on libc to verify the correctness? Kind regards Unga From unga888 at yahoo.com Sun Jun 8 09:28:11 2008 From: unga888 at yahoo.com (Unga) Date: Sun Jun 8 09:28:16 2008 Subject: What consists FreeBSD Libc? Message-ID: <839604.70009.qm@web57009.mail.re3.yahoo.com> Hi all What consists FreeBSD Libc (/lib/libc.so.7)? Is it only /usr/src/lib/libc/* ? I have compiled /usr/src/lib/libc/*, the resulting libc.so.7 is about 65,000 bytes smaller. Kind regards Unga From sfourman at gmail.com Sun Jun 8 09:34:18 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sun Jun 8 09:34:21 2008 Subject: Flashplugin In-Reply-To: <200806080420.31427.gnemmi@gmail.com> References: <200806071500.28001.derek.graham@att.net> <20080608000350.00006173@westmark> <20080608021633.GA6799@gizmo.acns.msu.edu> <200806080420.31427.gnemmi@gmail.com> Message-ID: <11167f520806080234u2b9e29b0l13c513d783ccadaa@mail.gmail.com> for what it is worth, between 3 companies that I do consulting for, there are about 250 workstations that currently use, Windows ME, or Windows 2000.Flash and Microsoft Outlook remain the only 2 reasons we can not use PC-BSD. Wine is making some GREAT Progress, and very shortly if not already, Outlook will run in wine, and the lack of a current flash player will remain the only thing standing in the way of 250 more PC-BSD stations. Sam Fourman Jr. From freebsd at superhero.nl Sun Jun 8 09:39:31 2008 From: freebsd at superhero.nl (Gelsema, P (Patrick) - FreeBSD) Date: Sun Jun 8 09:39:35 2008 Subject: NFE setting manually to 1000baseT and half duplex In-Reply-To: <484B1088.6030905@queldor.net> References: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> <484B1088.6030905@queldor.net> Message-ID: <49343.82.95.198.17.1212917968.squirrel@webmail.superhero.nl> On Sun, June 8, 2008 00:49, Michael Toth wrote: > Hi, > You should be doing > # ifconfig nfe0 10.202.77.110 media 1000baseTX <--- note the 'X' > > Thanks, tried this but same error. hulk# ifconfig nfe0 10.202.77.110 media 1000baseTX ifconfig: SIOCSIFMEDIA (media): Device not configured hulk$ man nfe The nfe driver supports the following media types: autoselect Enable autoselection of the media type and options. 10baseT/UTP Set 10Mbps operation. 100baseTX Set 100Mbps (Fast Ethernet) operation. 1000baseT Set 1000Mbps (Gigabit Ethernet) operation (recent models only). The nfe driver supports the following media options: half-duplex Force half duplex operation. full-duplex Force full duplex operation. Also for some strange reason I lost a couple of ip aliases and my default route whilst trying to change the media and mediaopt. I start to wonder if the combination 1000baseT and half duplex is possible. However setting the NIC manually to 1000baseT doesnt work either. IF set to autoselect it does negotiate to 1000baseT as I can see on the switch. Thanks Patrick > > > Gelsema, P (Patrick) - FreeBSD wrote: >> Hi List, >> >> I am using the nfe driver on Freebsd 7.0R and I am unable to change the >> NIC driver manually to 1000baseT with half-duplex. I believe I am not >> getting the max out of my network connection and want to see if changing >> the duplex will help. >> >> hulk# ifconfig nfe0 10.202.77.110 media 100baseTX >> hulk# ifconfig nfe0 >> nfe0: flags=8843 metric 0 mtu >> 1500 >> options=8 >> ether 00:18:f3:9f:f1:b4 >> inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 >> inet 10.202.77.113 netmask 0xffffff00 broadcast 10.202.77.255 >> inet 10.202.77.114 netmask 0xffffff00 broadcast 10.202.77.255 >> inet 10.202.77.76 netmask 0xffffff00 broadcast 10.202.77.255 >> inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 >> inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 >> inet 10.202.77.110 netmask 0xff000000 broadcast 10.255.255.255 >> media: Ethernet 100baseTX (1000baseTX ) >> status: active >> >> Why between () the 1000baseTX? Is that the actual speed? The maximum >> speed? >> >> hulk# ifconfig nfe0 10.202.77.110 media 1000baseT >> ifconfig: SIOCSIFMEDIA (media): Device not configured >> >> man nfe says this is possible. >> >> hulk# ifconfig nfe0 10.202.77.110 media autoselect >> hulk# ifconfig nfe0 >> nfe0: flags=8843 metric 0 mtu >> 1500 >> options=8 >> ether 00:18:f3:9f:f1:b4 >> inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 >> inet 10.202.77.114 netmask 0xffffff00 broadcast 10.202.77.255 >> inet 10.202.77.76 netmask 0xffffff00 broadcast 10.202.77.255 >> inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 >> inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 >> inet 10.202.77.110 netmask 0xff000000 broadcast 10.255.255.255 >> media: Ethernet autoselect (1000baseTX ) >> status: active >> >> hulk# ifconfig nfe0 mediaopt half-duplex >> No errors but cant see if it works. >> >> Question is, why cant I just do the following; >> hulk# ifconfig nfe0 media 1000baseT mediaopt half-duplex >> >> pciconf -lv >> nfe0@pci0:0:7:0: class=0x068000 card=0x82341043 chip=0x03ef10de >> rev=0xa2 hdr=0x00 >> vendor = 'Nvidia Corp' >> device = 'MCP61 Ethernet' >> class = bridge >> >> hulk# uname -a >> FreeBSD hulk.superhero.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sun Feb 24 >> 14:37:26 CET 2008 >> admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC >> amd64 >> hulk# >> >> Thanks and regards, >> >> 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" >> > _______________________________________________ > freebsd-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 jos at webrz.net Sun Jun 8 09:47:08 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 8 09:47:12 2008 Subject: Core tuning Message-ID: <484BAA9A.9050304@webrz.net> Can I force manual load balancing on my dual core processor? Or is this entirely handled by FreeBSD itself? Jos From kris at FreeBSD.org Sun Jun 8 09:55:54 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Sun Jun 8 09:55:57 2008 Subject: Core tuning In-Reply-To: <484BAA9A.9050304@webrz.net> References: <484BAA9A.9050304@webrz.net> Message-ID: <484BACA8.8070906@FreeBSD.org> Jos Chrispijn wrote: > Can I force manual load balancing on my dual core processor? Or is this > entirely handled by FreeBSD itself? > Jos That's the job of the scheduler. If you are running -current there is the cpuset utility that allows you to bind processes to subsets of CPUs. Kris From ertr1013 at student.uu.se Sun Jun 8 09:56:32 2008 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Sun Jun 8 09:56:37 2008 Subject: NFE setting manually to 1000baseT and half duplex In-Reply-To: <49343.82.95.198.17.1212917968.squirrel@webmail.superhero.nl> References: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> <484B1088.6030905@queldor.net> <49343.82.95.198.17.1212917968.squirrel@webmail.superhero.nl> Message-ID: <20080608095628.GA34267@owl.midgard.homeip.net> On Sun, Jun 08, 2008 at 11:39:28AM +0200, Gelsema, P (Patrick) - FreeBSD wrote: > On Sun, June 8, 2008 00:49, Michael Toth wrote: > > Hi, > > You should be doing > > # ifconfig nfe0 10.202.77.110 media 1000baseTX <--- note the 'X' > > > > > > Thanks, tried this but same error. > > hulk# ifconfig nfe0 10.202.77.110 media 1000baseTX > ifconfig: SIOCSIFMEDIA (media): Device not configured > > hulk$ man nfe > The nfe driver supports the following media types: > > autoselect Enable autoselection of the media type and options. > > 10baseT/UTP Set 10Mbps operation. > > 100baseTX Set 100Mbps (Fast Ethernet) operation. > > 1000baseT Set 1000Mbps (Gigabit Ethernet) operation (recent models > only). > > The nfe driver supports the following media options: > > half-duplex Force half duplex operation. > > full-duplex Force full duplex operation. > > Also for some strange reason I lost a couple of ip aliases and my default > route whilst trying to change the media and mediaopt. > > I start to wonder if the combination 1000baseT and half duplex is > possible. However setting the NIC manually to 1000baseT doesnt work > either. IF set to autoselect it does negotiate to 1000baseT as I can see > on the switch. If you try to force the NIC to use full-/half-duplex, then you will need to force the other end of the connection (i.e. the switch) to the same setting (most cheap switches do not provide any way of forcing this.) Having one end set to auto-negotiation, while the other is forced to a specific setting will usually not work very well. (IIRC a switch or NIC that is set to auto-negotiate, but where the negotiation fails (possibly because the other end is not set to auto-negotiate) will usually revert to 10Mbps/half-duplex, i.e. the original, slowest, Ethernet speed.) -- Erik Trulsson ertr1013@student.uu.se From m.seaman at infracaninophile.co.uk Sun Jun 8 10:33:18 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Jun 8 10:33:21 2008 Subject: NFE setting manually to 1000baseT and half duplex In-Reply-To: <20080608095628.GA34267@owl.midgard.homeip.net> References: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> <484B1088.6030905@queldor.net> <49343.82.95.198.17.1212917968.squirrel@webmail.superhero.nl> <20080608095628.GA34267@owl.midgard.homeip.net> Message-ID: <484BB47A.5050404@infracaninophile.co.uk> Erik Trulsson wrote: > (IIRC a switch or NIC that is set to auto-negotiate, but where the > negotiation fails (possibly because the other end is not set to > auto-negotiate) will usually revert to 10Mbps/half-duplex, i.e. the > original, slowest, Ethernet speed.) 100Mb half-duplex is the default setting in this sort of mismatch. It will 'sort of' work, but you'll find performance is terrible and there will be significant amounts of packet loss. Note too that 1Gb speeds require both sides to be set to autonegotiate -- it's part of the standard for supporting those speeds, so that in the event of transmission difficulties the connection can be gracefully degraded rather than just ceasing to work at all. There's a lot of received wisdom around that wiring down connection speeds is a good idea. That may have been the case 5 or more years ago, when there were certainly some combinations of NIC / network switch manufacturer that just wouldn't negotiate correctly, but now that 1Gb/s capability is pretty much standard such incompatibilities are rare. Nowadays, for best results, auto-negotiate. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/9f7434a9/signature.pgp From kris at FreeBSD.org Sun Jun 8 10:37:30 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Sun Jun 8 10:37:32 2008 Subject: What consists FreeBSD Libc? In-Reply-To: <839604.70009.qm@web57009.mail.re3.yahoo.com> References: <839604.70009.qm@web57009.mail.re3.yahoo.com> Message-ID: <484BB669.7080502@FreeBSD.org> Unga wrote: > Hi all > > What consists FreeBSD Libc (/lib/libc.so.7)? Is it only /usr/src/lib/libc/* ? Yes. > I have compiled /usr/src/lib/libc/*, the resulting libc.so.7 is about 65,000 bytes smaller. Than what? It will change depending on your CFLAGS. Kris From jos at webrz.net Sun Jun 8 10:43:50 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 8 10:43:53 2008 Subject: Core tuning [Solved] In-Reply-To: <484BACA8.8070906@FreeBSD.org> References: <484BAA9A.9050304@webrz.net> <484BACA8.8070906@FreeBSD.org> Message-ID: <484BB7E5.8030805@webrz.net> Kris, > That's the job of the scheduler. If you are running -current there is > the cpuset utility that allows you to bind processes to subsets of CPUs. I see; thanks for sharing From jon at radel.com Sun Jun 8 11:02:03 2008 From: jon at radel.com (Jon Radel) Date: Sun Jun 8 11:02:09 2008 Subject: NFE setting manually to 1000baseT and half duplex In-Reply-To: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> References: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> Message-ID: <484BBC23.90505@radel.com> Gelsema, P (Patrick) - FreeBSD wrote: > Hi List, > > I am using the nfe driver on Freebsd 7.0R and I am unable to change > the NIC driver manually to 1000baseT with half-duplex. I believe I am > not getting the max out of my network connection and want to see if > changing the duplex will help. Even if you do have hardware that supports half-duplex gigabit ethernet on both ends, the need to do carrier extension for any frame shorter than 512 bytes so that CSMA/CD actually works on a reasonable sized cable, does horrible things to your throughput if you've got lots of small frames. (In other words, at gigabit speeds, frames smaller than 512 bytes zip down the wire so quickly that you can no longer reliably detect collisions, so the frames all get padded.) I'm having trouble wrapping my head around any circumstances other than horribly, horribly broken hardware or software where half-duplex would increase your performance over full-duplex. That said, most (an imprecise way saying "every time I've looked this has been the case, but I generally no longer bother looking") gigabit ethernet hardware I've ever touched has been incapable of doing half-duplex when it's being used at gigabit speeds. The specs for doing it exist more for theoretical completeness than out of practical utility. See, for example http://www.intel.com/network/connectivity/resources/doc_library/white_papers/solutions/copper_guide/gig_over_copper.htm for a discussion on this and related topics. My suggestion would be to let both sides auto-detect if they're both capable of gigabit ethernet. --Jon Radel -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/2ebc40ba/smime.bin From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 11:20:24 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 11:20:28 2008 Subject: What consists FreeBSD Libc? In-Reply-To: <839604.70009.qm@web57009.mail.re3.yahoo.com> References: <839604.70009.qm@web57009.mail.re3.yahoo.com> Message-ID: <20080608131942.S51563@wojtek.tensor.gdynia.pl> with the same compiler options and same compiler as used with binary distribution? On Sun, 8 Jun 2008, Unga wrote: > Hi all > > What consists FreeBSD Libc (/lib/libc.so.7)? Is it only /usr/src/lib/libc/* ? > > I have compiled /usr/src/lib/libc/*, the resulting libc.so.7 is about 65,000 bytes smaller. > > Kind regards > Unga > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 11:20:50 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 11:20:52 2008 Subject: massive ports update In-Reply-To: References: <560f92640806061458k7b413e9du49c84c252b424fcb@mail.gmail.com> <200806062217.m56MHgKV019665@vjofn.tucs-beachin-obx-house.com> Message-ID: <20080608132024.J51563@wojtek.tensor.gdynia.pl> > > That's not uncommon. For example when you go from one major FreeBSD version to > another you have to rebuild everything most of the time because of ABI changes. or install misc/compat6x :) > Of course you could also wait for the building cluster to catch up and do a > binary upgrade (-P in portupgrade). > > Jona > > -- > Pond-erosa Puff wouldn't take no guff > Water oughta be clean and free > So he fought the fight and he set things right > With his OpenBSD > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From luvbeastie at larseighner.com Sun Jun 8 12:05:55 2008 From: luvbeastie at larseighner.com (Lars Eighner) Date: Sun Jun 8 12:05:59 2008 Subject: Flashplugin In-Reply-To: <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> Message-ID: <20080608062921.A45721@qroenaqrq.6qbyyneqvnyhc.pbz> On Sat, 7 Jun 2008, Sam Fourman Jr. wrote: > use Firefox for Windows and use wine, then install the windows Flash 9 > plugin That worked like a charm, but Adobe Reader 8.12 not only crashes the browser, but also wine and X. So now I have wine firefox which can handle Flash 9, but crashes on pdfs and linux-firefox which handles pdfs, but crashes on Flash. This seems somehow suboptimal. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 12:10:10 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 12:10:13 2008 Subject: NFE setting manually to 1000baseT and half duplex In-Reply-To: <484BBC23.90505@radel.com> References: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> <484BBC23.90505@radel.com> Message-ID: <20080608140911.S40202@wojtek.tensor.gdynia.pl> > Even if you do have hardware that supports half-duplex gigabit ethernet > on both ends, the need to do carrier extension for any frame shorter > than 512 bytes so that CSMA/CD actually works on a reasonable sized > cable, does horrible things to your throughput if you've got lots of > small frames. (In other words, at gigabit speeds, frames smaller than > 512 bytes zip down the wire so quickly that you can no longer reliably > detect collisions, so the frames all get padded.) I'm having trouble wrapping > my head around any circumstances other than horribly, horribly broken > hardware or software where half-duplex would increase your performance over > full-duplex. actually there are no gigabit devices incapable of full-duplex. > ethernet hardware I've ever touched has been incapable of doing > half-duplex when it's being used at gigabit speeds. The specs for doing > it exist more for theoretical completeness than out of practical > utility. See, for example > > http://www.intel.com/network/connectivity/resources/doc_library/white_papers/solutions/copper_guide/gig_over_copper.htm at 10Gbit/s specs dropped half-duplex and collision detection at all. From cwhiteh at onetel.com Sun Jun 8 12:59:23 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sun Jun 8 12:59:28 2008 Subject: losing directory entries? Message-ID: <484BD7A3.8090308@onetel.com> Hi, does anyone know what is going on here? this is an external usb 250gb hard disk mounted on /mnt using ntfs-3g. The hard disk is less than a year old and not heavily used. I've only just started using it as an external drive, it was installed in a computer until then. %mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) /dev/fuse1 on /mnt (fusefs, local, synchronous) %pwd /mnt/Documents and Settings/Administrator %ls Application data Local Settings My Documents %ls .. Administrator %ls . Application data Local Settings My Documents %pwd /mnt/Documents and Settings/Administrator %du -sh . 5.2G . %pwd /mnt/Documents and Settings/Administrator %find . > ~/anyold.textfile find: .: No such file or directory %pwd pwd: .: No such file or directory %ls ls: .: No such file or directory The actions leading up to this are quite random, usually using find and du do the trick immediately but not always, and one time just doing pwd and ls a couple of times did it. If I cd to /mnt then everything appears again. %uname -a FreeBSD eco 7.0-STABLE FreeBSD 7.0-STABLE #4: Tue May 27 14:44:58 BST 2008 root@eco:/usr/obj/usr/src/sys/GENERIC i386 %kldstat Id Refs Address Size Name 1 16 0xc0400000 94181c kernel 2 1 0xc0d42000 14324 snd_hda.ko 3 2 0xc0d57000 4a5cc sound.ko 4 1 0xc0da2000 80dc6c nvidia.ko 5 2 0xc15b0000 28678 linux.ko 6 1 0xc15d9000 4d20 atapicam.ko 7 1 0xc15de000 6a2c4 acpi.ko 8 1 0xc4bb0000 e000 fuse.ko %pkg_info -Ix ntfs fusefs-ntfs-1.2506 Mount NTFS partitions (read/write) and disk images ntfsprogs-1.13.1_5 Utilities and library to manipulate NTFS partitions % I did a recent chkdsk in windows on the disk and it did some repairs - cross-linked files I think. I have a log of what it found. Thanks Chris From dick at nagual.nl Sun Jun 8 13:14:59 2008 From: dick at nagual.nl (dick hoogendijk) Date: Sun Jun 8 13:15:02 2008 Subject: Flashplugin Message-ID: <39310.192.168.11.31.1212930927.squirrel@nagual.nl> On Sat, 7 Jun 2008 22:16:34 -0400 Jerry McAllister wrote: > On Sun, Jun 08, 2008 at 12:03:50AM +0200, Dick Hoogendijk wrote: > > > On Sat, 7 Jun 2008 15:33:26 -0500 > > "Sam Fourman Jr." wrote: > > > > > use Firefox for Windows and use wine, then install the windows Flash 9 plugin > > > > People choosing FreeBSD shouldn't be "forced" to run windowish solution. The OS is not supported. That's a major problem in these modern times, although lots of fbsd people tend to say it is not. That's not everyday's live however. FreeBSD does not make the web. > > OK. So get busy anc contribute a flash9 plugin that works in > FreeBSD. See if you can get the necessary information out of Adobe. As Tobias Hoelrich stated: That's simply wrong. The Flash format byte-code is *not* proprietary. If you want to, you can go ahead and create your own Flash Player. The specifications for the format are freely available at: http://www.adobe.com/openscreenproject/developers/ So, the infromation -is- there. -- Dick Hoogendijk -- PGP/GnuPG key: F86289CE ++ http://nagual.nl/ | SunOS 10u5 05/08 ++ From jerrymc at msu.edu Sun Jun 8 13:19:28 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun Jun 8 13:19:33 2008 Subject: Flashplugin In-Reply-To: <1212904896.21888.10.camel@localhost> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> <20080608000350.00006173@westmark> <484B695B.9030503@infracaninophile.co.uk> <1212904896.21888.10.camel@localhost> Message-ID: <20080608131430.GA8787@gizmo.acns.msu.edu> On Sun, Jun 08, 2008 at 03:01:36AM -0300, sergio lenzi wrote: > Well... > > Here I am in a project of notebooks for schools > machines with 13" 120gb of disk turion 64... > All of them running FreeBSD 7.0 it is about 7000 notebooks > in the first year... > > With a total of 35000 notebooks in 3 years... and counting... > may be a total of 100,000 notebooks in 5 years... Sounds like you should also install the BSD Stats utility on those machines so they will report their existence to the stats. It would significantly update the numbers. ////jerry > > Because of special taxes applied in the notebooks, > the user must use FreeBSD or Linux. If the user formats > the computer and install other non open source OS, > the user must pay the taxes difference to the project... > a value of about US$200. and will not be able to access > the university data. > > Well.. about the flashplugin... it is a problem... for sure... > they work with flashplugin 7.... > > The wireless is a problem too, for that we choose intel or atheros > chip... > > Tell the flashplugin team about... please > > Sergio > > > _______________________________________________ > freebsd-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 hagge.lists at intercorner.net Sun Jun 8 13:29:03 2008 From: hagge.lists at intercorner.net (=?ISO-8859-1?Q?Anders_H=E4ggstr=F6m?=) Date: Sun Jun 8 13:29:06 2008 Subject: FreeBSD + ZFS on a production server? Message-ID: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> Hello list! I plan to install a web server for production use and ZFS looks very interesting, especially since it has built-in support for RAID and checksum. The hardware is already purchased, a 1U-casis with a PhemonX4 9550 CPU, 4GB ECC RAM @ 800MHz and 2x500GB SATA disks and I am about to select the operating system to use. The choice is probably between "Debian 4.0r3", "FreeBSD 7.0" and "OpenSolaris 2008.05". All of them have their pros and cons. I think Debian / Linux, almost falls off because it lacks support for native ZFS and I have not found any alternative filesystem that offer checksums on the fly. My main question is: How is the support for ZFS on FreeBSD? Is it sufficiently stable and fast enough to be used in production yet? If not, is there any alternative filesystem that offers checksums on the fly or other similar technology to reduce the risk of a corrupt filesystem that at the same time plays well with software RAID (RAID-1 in particular)? Thanks in advance! Anders From rabe at uugrn.org Sun Jun 8 13:36:43 2008 From: rabe at uugrn.org (Raphael Becker) Date: Sun Jun 8 13:36:48 2008 Subject: Which SATA controller for DVDRAM? Message-ID: <20080608133654.GC54922@ma.sigsys.de> Hi *, which SATA controller is supported for SATA-DVDRAM (or just any other optical drive)? Promise controllers doesn't seem to work with FreeBSD. Regards Raphael Becker -- Raphael Becker http://rabe.uugrn.org/ GnuPG: E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D .........|.........|.........|.........|.........|.........|.........|.. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/bbf972b8/attachment.pgp From cwhiteh at onetel.com Sun Jun 8 13:37:16 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sun Jun 8 13:37:20 2008 Subject: Flashplugin In-Reply-To: <20080608131430.GA8787@gizmo.acns.msu.edu> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> <20080608000350.00006173@westmark> <484B695B.9030503@infracaninophile.co.uk> <1212904896.21888.10.camel@localhost> <20080608131430.GA8787@gizmo.acns.msu.edu> Message-ID: <484BE086.7080301@onetel.com> Jerry McAllister wrote: > On Sun, Jun 08, 2008 at 03:01:36AM -0300, sergio lenzi wrote: > >> Well... >> >> Here I am in a project of notebooks for schools >> machines with 13" 120gb of disk turion 64... >> All of them running FreeBSD 7.0 it is about 7000 notebooks >> in the first year... >> >> With a total of 35000 notebooks in 3 years... and counting... >> may be a total of 100,000 notebooks in 5 years... > > Sounds like you should also install the BSD Stats utility on those > machines so they will report their existence to the stats. It would > significantly update the numbers. > > ////jerry > What is the project? An article about it would be great for FreeBSD news... Chris > > >> Because of special taxes applied in the notebooks, >> the user must use FreeBSD or Linux. If the user formats >> the computer and install other non open source OS, >> the user must pay the taxes difference to the project... >> a value of about US$200. and will not be able to access >> the university data. >> >> Well.. about the flashplugin... it is a problem... for sure... >> they work with flashplugin 7.... >> >> The wireless is a problem too, for that we choose intel or atheros >> chip... >> >> Tell the flashplugin team about... please >> >> Sergio >> >> >> _______________________________________________ >> freebsd-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 jos at webrz.net Sun Jun 8 13:49:43 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 8 13:49:49 2008 Subject: Make buildworld Message-ID: <484BE376.9050301@webrz.net> Can someone tell me the difference between 'make -j2 buildworld' and 'make -j4 buildworld' ? Thanks, Jos From rabe at uugrn.org Sun Jun 8 13:50:11 2008 From: rabe at uugrn.org (Raphael Becker) Date: Sun Jun 8 13:50:15 2008 Subject: Promise SATA300 TX2plus with LG GGW-H20L burner on 7.0 causes endless timeouts. In-Reply-To: References: Message-ID: <20080608132418.GB54922@ma.sigsys.de> Hi Edward, same here (RELEASE 6.3): atapci0: port 0xd800-0xd87f,0xd400-0xd4ff mem 0xdfeff000-0xdfefffff,0xdfec00 00-0xdfedffff irq 19 at device 3.0 on pci2 [...] atapci1: port 0xc400-0xc43f,0xc000-0xc00f,0xbc00-0xbc7f mem 0xdfefd000-0xdfefdfff,0xdfe40000-0xdfe5ffff irq 22 at device 14.0 on pci2 [...] ad0: 78533MB at ata0-master UDMA100 ad2: 286168MB at ata1-master UDMA100 GEOM_LABEL: Label for provider ad0s1f is label/HOMEcrypt. GEOM_LABEL: Label for provider ad2s1 is ufs/DATA. acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: CDROM at ata5-master SATA150 acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command [... lot more ...] acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command ad12: 286188MB at ata6-master SATA150 ad14: 476940MB at ata7-master SATA150 [...] The DVDRAM doesn't work on both Promise-Controllers (onboard and the 300TX4 PCI), also tested with 7-STBLE snapshot and 8-CURRENT snapshot live CDs. It's running perfect with a recent Knoppix DVD so it's not a hardware bug. See http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122291 for more details on this. Regards Raphael Becker On Sat, Jun 07, 2008 at 12:03:00AM -0700, Edward Sutton wrote: > > This is a collection of information to my troubles. I am hoping to find out what mailing list is most appropriate before I started posting kernel dump backtraces and asking what other details to post. What other details may be relevant to gather would also be helpful. Are there safe ways to crash a system to gather details without further filesystem corruption? > My motherboard is about six years old so it has no SATA ports for the drive; My old Promise SATA150 TX4 was loaded with four hard drives; it appears to not support optical drives so I recently purchased the Promise SATA300 TX2plus to have a card giving what I need on this old computer and hopefully an IDE port on my next computer (if the board I buy in a year comes with a PCI slot for it). I thought Promise cards receive good FreeBSD support and was readily available at a local retailer. > Upon booting, I get the following 2 errors after a long pause: > > acd0: timeout waiting to issue command > acd0: error issuing ATA PACKET command -- Raphael Becker http://rabe.uugrn.org/ GnuPG: E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D .........|.........|.........|.........|.........|.........|.........|.. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/6d256d7b/attachment.pgp From unga888 at yahoo.com Sun Jun 8 13:52:42 2008 From: unga888 at yahoo.com (Unga) Date: Sun Jun 8 13:52:45 2008 Subject: What consists FreeBSD Libc? In-Reply-To: <484BB669.7080502@FreeBSD.org> Message-ID: <520110.33662.qm@web57009.mail.re3.yahoo.com> --- On Sun, 6/8/08, Kris Kennaway wrote: > From: Kris Kennaway > Subject: Re: What consists FreeBSD Libc? > To: unga888@yahoo.com > Cc: freebsd-questions@freebsd.org > Date: Sunday, June 8, 2008, 6:37 PM > Unga wrote: > > Hi all > > > > What consists FreeBSD Libc (/lib/libc.so.7)? Is it > only /usr/src/lib/libc/* ? > > Yes. > > > I have compiled /usr/src/lib/libc/*, the resulting > libc.so.7 is about 65,000 bytes smaller. > > Than what? It will change depending on your CFLAGS. > Thanks Kris & Wojciech for replies. Its great to get it confirmed that FreeBSD Libc is only /usr/src/lib/libc/* as I presumed. I have compiled and installed the FreeBSD Libc into a temp directory. The size of /tmp/libc.so.7 is about 65,000 bytes smaller than /lib/libc.so.7. The /lib/libc.so.7 is dated May 25, 2008. I did not touch CFLAGS or anything other than DESTDIR. But I really forgot, the gcc version is different. The /lib/libc.so.7 is by gcc 4.2.1, but the /tmp/libc.so.7 is by gcc 4.3.0. May be the code generation of the latest gcc may be better. I think the size difference may not be an issue as the libc is get it compiled and installed without any error. The GNU glibc has a "make check", but there is no make check target for FreeBSD libc. How do you guys test it? Is the /usr/src/tools/regression/ any help for that? Regards Unga From svein.h at lvor.halvorsen.cc Sun Jun 8 14:28:06 2008 From: svein.h at lvor.halvorsen.cc (Svein Halvor Halvorsen) Date: Sun Jun 8 14:28:10 2008 Subject: Help with default route Message-ID: <484BEC67.2040500@lvor.halvorsen.cc> Hi! I usually use the wired network at home, in which everything gets configured automatically as soon as I attach the cable to my network card. However, when using the wireless network, I need to run # route add default -iface ipw0 This will give me a route to the gateway (10.0.0.1), and I can ping the gateway, as well as other machines on our local network. But if I try to connect to anything outside of 10/24, I get a "no route to host" error. If I manually add a route, with # route add x.y.z.t 10.0.0.1 I can connect to that host. If I change my default route to anything but "-iface ipw0" I cannot connect to the gateway (10.0.0.1). I cannot keep adding routes to all hosts I need to connect to. I've solved the problem for web usage, by running a proxy on another machine on the local network (that's reachable) What am I doing wrong? I don't think I have a thorough understanding of network routes. Svein Halvor From freebsd-listen at fabiankeil.de Sun Jun 8 14:36:29 2008 From: freebsd-listen at fabiankeil.de (Fabian Keil) Date: Sun Jun 8 14:36:34 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> Message-ID: <20080608162456.1c4949bc@fabiankeil.de> "Anders H?ggstr?m" wrote: > I plan to install a web server for production use and ZFS looks very > interesting, especially since it has built-in support for RAID and > checksum. > > The hardware is already purchased, a 1U-casis with a PhemonX4 9550 > CPU, 4GB ECC RAM @ 800MHz and 2x500GB SATA disks and I am about to > select the operating system to use. > > The choice is probably between "Debian 4.0r3", "FreeBSD 7.0" and > "OpenSolaris 2008.05". All of them have their pros and cons. Just in case you assume that ZFS on OpenSolaris 2008.05 would be superior to ZFS on FreeBSD, this hasn't been my experience. On a system with an Athlon 1700+ and only 512 MB of RAM, receiving snapshots on OpenSolaris renders the GUI pretty much useless. On FreeBSD ZFS operations can cause delays as well, but it's significantly better than on OpenSolaris, even though FreeBSD's ZFS pool lies on a geli-encrypted gmirror while OpenSolaris uses the disk directly. Note that the system is below Sun's recommended specifications for ZFS, though. Things may look differently on more powerful systems. > I think Debian / Linux, almost falls off because it lacks support for > native ZFS and I have not found any alternative filesystem that offer > checksums on the fly. > > My main question is: How is the support for ZFS on FreeBSD? Is it > sufficiently stable and fast enough to be used in production yet? It probably depends on your workload, you'll find several complaints in the archives. It works fine for me, but I haven't tried it on web servers yet. If I were to install a web server today, though, I'd definitely go with ZFS (on FreeBSD). > If not, is there any alternative filesystem that offers checksums on > the fly or other similar technology to reduce the risk of a corrupt > filesystem that at the same time plays well with software RAID (RAID-1 > in particular)? You can use geli(8) for checksumming, it can be combined with gmirror but unless with ZFS, you don't get automatic "self-healing". Fabian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/26b14eb5/signature.pgp From dangkm at gmail.com Sun Jun 8 15:06:26 2008 From: dangkm at gmail.com (Kemian Dang) Date: Sun Jun 8 15:06:30 2008 Subject: [OT]Change font for aterm Message-ID: <82f916c90806080741n70af2fbew7bb1aaa410847a60@mail.gmail.com> Dear All, I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change the configure in the menu. Now I am using aterm, but I also want to use that font. I can see it by fc-list: [3:39pm:kemian] ~> fc-list | grep "Sans Mono" Bitstream Vera Sans Mono:style=Bold Bitstream Vera Sans Mono:style=Oblique Bitstream Vera Sans Mono:style=Bold Oblique Bitstream Vera Sans Mono:style=Roman I add entry in .Xresources: Aterm*font: xft:Bitstream Vera Sans Mono:style=Roman But run the aterm give me: aterm: can't load font "xft:Bitstream Vera Sans Mono:style=Roman" Could anyone give me a clue on how to change the font of aterm? -- Best wishes, Kemian From lenzi at k1.com.br Sun Jun 8 15:12:28 2008 From: lenzi at k1.com.br (sergio lenzi) Date: Sun Jun 8 15:12:33 2008 Subject: The Freebsd notebook project... was Flashplugin In-Reply-To: <484BE086.7080301@onetel.com> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> <20080608000350.00006173@westmark> <484B695B.9030503@infracaninophile.co.uk> <1212904896.21888.10.camel@localhost> <20080608131430.GA8787@gizmo.acns.msu.edu> <484BE086.7080301@onetel.com> Message-ID: <1212937923.38677.62.camel@localhost> Em Dom, 2008-06-08 ?s 14:37 +0100, Chris Whitehouse escreveu: > Jerry McAllister wrote: ==================================== The idea behind the FreebSD nobebook project is rather simple: Here in my country a person must (or should) pay a lot of taxes to the govern... for every notebook sold, there is about 70% of taxes plus about 6% month of fincancial costs... so a "small notebook" sells for about U$1400. in this $1400 there are almost $800 of taxes... without count the financial costs of about 6%/month (at best) . But not everything is lost... the govern invest much money in education, and health... (I know that a lot of money is lost... but it does not count, lost is lost)... For educacional pourposes, the taxes are very low (about 10%)... so a good notebook sells for US800. (final cost).. the notbook is turion 64 (preferable not dual core)... 120gb hd wireless 13"... without operating system.. and bought in chunks of 1000. Because they will use open source, and the operating system must be built from ground zero within the university... serialized, with a software key code that is able to trace the machine... (there is no debian, mandriva, gentoo....,microsoft) no comercial brand should apply... finance with the State bank in 36 months it will cost about US$20/month with insurance... The student sign a contract that will take care of the machine and if tampered (other no open source OS installed)... all the taxes should be payed by him... The notbooks runs Gnome 2.22 and with wireless in the campus, everybody can access the multimedia files stored in the FreBSD servers (about 20T)... Using a modified divx codec, the media is protected from being seen or used by non authorized persons (ok I know that the protection is not hard) but is enough for dayly used (all media is marked with a water mark (thanks mencoder team...)). The Evolution (email client...) is linked with the open exchange server and ldap... so a person can email and receive information form the university staff and others using the ldap servers... Telephony is done using Ekiga (low rates apply to PSTN)... and if you have fast internet connection, the builtin camera can be used for video on Ekiga... Gatekeepers (using gnugk) links directly to the PSTN, ekiga talks h323.. so no problem with it too. For office is used openoffice 3.0 (now beta).. Media is produced or convertd using ffmpeg mplayer... can be seen on the standard gnome media player, using libxine backend... it just works.... Hope will start installing the servers till end of this month... Ok... and the users that already have the vista boxes??? (about 2%) No problem... for a small $$$$ they can install a program that identifyes the notebook to the servers. About the media... well they can always convert the media... (some more cost is involved...) no virus protection is installed in the network. so windows users are advised to not link their computers at any point of the network (use at own risk signs are all around...) Included in the project, there is $$$$ for training the users to use gnome... (well in fact... make the users forget words and methods. (excell, outlook, word, anti-virus, codec, media player...)) Why not KDE???? too powerfull.. excelent, consumes more resources, must get an written permission for QT (the lawers said...). Too complicated for the users.... the users just want to ckick and go... That is the project... it was 2 years of negotiation... of course "THEY" tried to do the same... but after 2 years... the project specification remains the same... Another good candidate is Arch Linux... but have some problems with the media play... (totem xine zoom does not work, and the openoffice in native language have some problems, kernel version and internals change too soon... the kernel schedule does not compare to FreeBSD7_ULE... so sometimes the media play "chokes" at heavy load... but is a good candidade)... With the $$$$ earn in the project... some of them will be inject in FreeBSD to make some things work (flash player, buggy bios...). Must have $$$ to teach people to program in gnome/gtk... this will generate JOBS.. if one in 100 produce something in some time we will have a "new softwre company"... The first buyer??? the govern... The ideia is to theach the children for no need to punish the men... Thanks for reading.... Sergio From dick at nagual.nl Sun Jun 8 15:30:39 2008 From: dick at nagual.nl (Dick Hoogendijk) Date: Sun Jun 8 15:30:43 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608162456.1c4949bc@fabiankeil.de> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> Message-ID: <20080608173024.00005cfa@westmark> On Sun, 8 Jun 2008 16:24:56 +0200 Fabian Keil wrote: > On a system with an Athlon 1700+ and only 512 MB of RAM, > receiving snapshots on OpenSolaris renders the GUI pretty > much useless. > Note that the system is below Sun's recommended specifications > for ZFS, though. Things may look differently on more powerful > systems. The -bare- minimum for OpenSolaris is 512MB. That's not only for ZFS. In my experience ZFS on solaris is rock solid. OpenSolaris is not yet ready for production servers though i.m.h.o. nor is nevada_b90 with the ability to boot off ZFS root. Production servers need to be well (no thoroughly) tested ;-) The best stable (production) server with ZFS is solaris-10u5 If you want to boot off ZFS, S10u6 will support that. But these versions too need lots of ram. I think fbsd has a lighter footprint. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxde 01/08 ++ From casey at phantombsd.org Sun Jun 8 15:39:14 2008 From: casey at phantombsd.org (Casey Scott) Date: Sun Jun 8 15:39:18 2008 Subject: irq storm detected on internal NIC since 7.0 upgrade Message-ID: <7855895.01212939550725.JavaMail.root@tomcat.phantombsd.org> The servers internal NIC is a Intel 1000 Gigabit card, using the em0 driver. I never had an issue with it w/ the 5.x or 6x series or freebsd, so I suspect a buggy driver in 7.0 /var/log/messages contains spams of these messages: kernel: interrupt storm detected on "irq19:"; throttling interrupt source Anyone else experiencing this issue? Casey From perrin at apotheon.com Sun Jun 8 15:46:05 2008 From: perrin at apotheon.com (Chad Perrin) Date: Sun Jun 8 15:46:13 2008 Subject: wireless help In-Reply-To: <17709547.post@talk.nabble.com> References: <17709547.post@talk.nabble.com> Message-ID: <20080608154146.GA3547@kokopelli.hydra> On Sat, Jun 07, 2008 at 07:38:38AM -0700, erpa1119 wrote: > > I am completely new to linux and need help with wireless connectivity. > I have installed freebsd 6.3-RELEASE Technically, FreeBSD is not Linux. The Unix family tree looks something like the following (greatly simplified): Bell Labs Unix | ---------------- | | BSD Unix SysV Unix | | | | FreeBSD Solaris Linux Linux is way over to the right by itself because it doesn't really have any "genetic" relation to the others. FreeBSD doesn't share any original "genetic" material with the SysV line, either, but that's basically because it "evolved" to that point -- whereas Linux was created from scratch to emulate (mostly SysV) Unix functionality. There's a lot in common between most Linux distributions and most FreeBSD installs, but that's in large part because of the plethora of open source applications that can be installed on both, and because the two are both tied to a sort of Unix "tradition" of OS design. It's not so much because of any actual family relation, per se. Sorry if this seems somewhat off the topic of what you're asking. I'm just trying to be informative. A better way to phrase your original sentence would have been something like "I am completely new to Unix-like systems and need help with wireless connectivity." > > I have a toshiba satellite 1005-s157 with a dlink gs630 pcmcia card > and a linksys wr54g wireless router. > ifconfig shows status: associated but I cannot ping anything other > than the static IP address that I gave to the wireless card. > > The card is known working, the AP is known working. > I do not have DHCP running on the AP and simply assign IP's to all of > my boxes when I first bring them online. > > topology: > wall-->bellsouth router-->linksys AP > linksys has a static IP of 192.168.1.3 > bellsouth router has a static IP of 192.168.1.254 > > I have added a default route by running the following. > route add default 192.168.1.254 Is the Linksys access point a router? Is it running NAT? Your FreeBSD system might effectively be tucked away in a subnet, which could possibly account for (some of?) your problems. > > I also ran this > ifconfig ath0 ssid "MYAPNAMEHERE" wepmode on weptxkey "MYPASSPHRASE" > > ifconfig ath0 list scan shows the AP that I am trying to connect > through and shows CAPS of EP only. > > The Question is: > How am I associated with the AP but cannot ping anything other than > localhost, 127.0.0.1 and the static IP address that I gave the card? Does this mean you can't ping the Linksys access point? Is the access point configured to ignore pings? > > All pings except to localhost or 127 or my static ip result in a host > down message > > contents of /etc/resolv.conf > > > search . > nameserver 205.xxx.xxx.xxx > nameserver 205.xxx.xxx.xxx > nameserver 205.xxx.xxx.xxx You probably don't need three copies of the same line -- or are those three different IP addresses that you've Xed out? Is the period after "search" what's actually in the file, or did you elide some of the contents of that line? Sorry if I'm not as useful as I should be -- I still haven't fully woken up, and may miss something obvious. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Paul Graham: "SUVs are gross because they're the solution to a gross problem. (How to make minivans look more masculine.)" -------------- 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/20080608/ed42d4df/attachment.pgp From frank at shute.org.uk Sun Jun 8 15:53:26 2008 From: frank at shute.org.uk (Frank Shute) Date: Sun Jun 8 15:53:31 2008 Subject: [OT]Change font for aterm In-Reply-To: <82f916c90806080741n70af2fbew7bb1aaa410847a60@mail.gmail.com> References: <82f916c90806080741n70af2fbew7bb1aaa410847a60@mail.gmail.com> Message-ID: <20080608155315.GA91631@melon.esperance-linux.co.uk> On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote: > > Dear All, > > I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change > the configure in the menu. > Now I am using aterm, but I also want to use that font. > > I can see it by fc-list: > > [3:39pm:kemian] ~> fc-list | grep "Sans Mono" > Bitstream Vera Sans Mono:style=Bold > Bitstream Vera Sans Mono:style=Oblique > Bitstream Vera Sans Mono:style=Bold Oblique > Bitstream Vera Sans Mono:style=Roman > > I add entry in .Xresources: > > Aterm*font: xft:Bitstream Vera Sans Mono:style=Roman Use: Aterm*font: -bitstream-bitstream\ vera\ sans\ mono-medium-r-normal--16-0-0-0-m-0-iso8859-15 in ~/.Xdefaults (all on one line). Then: $ xrdb -load The size of the font can be varied by changing the 16 in that line. $ xlsfonts | less gives you the names of the fonts you can use. > > But run the aterm give me: > > aterm: can't load font "xft:Bitstream Vera Sans Mono:style=Roman" > > Could anyone give me a clue on how to change the font of aterm? > > -- > Best wishes, > Kemian Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From jon at radel.com Sun Jun 8 16:01:33 2008 From: jon at radel.com (Jon Radel) Date: Sun Jun 8 16:01:36 2008 Subject: NFE setting manually to 1000baseT and half duplex In-Reply-To: <20080608140911.S40202@wojtek.tensor.gdynia.pl> References: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> <484BBC23.90505@radel.com> <20080608140911.S40202@wojtek.tensor.gdynia.pl> Message-ID: <484C024D.9070001@radel.com> Wojciech Puchar wrote: > >> Even if you do have hardware that supports half-duplex gigabit ethernet >> on both ends, the need to do carrier extension for any frame shorter >> than 512 bytes so that CSMA/CD actually works on a reasonable sized >> cable, does horrible things to your throughput if you've got lots of >> small frames. (In other words, at gigabit speeds, frames smaller than >> 512 bytes zip down the wire so quickly that you can no longer reliably >> detect collisions, so the frames all get padded.) I'm having trouble >> wrapping my head around any circumstances other than horribly, >> horribly broken hardware or software where half-duplex would increase >> your performance over full-duplex. > > actually there are no gigabit devices incapable of full-duplex. I would certainly hope so; I can't see much of a market for gigabit ethernet devices that can't do full-duplex. (I'm a touch confused, however, by your phrasing that as if you're rebutting something I wrote.) --Jon Radel -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/d59210b2/smime.bin From thoellri at adobe.com Sun Jun 8 16:02:08 2008 From: thoellri at adobe.com (Tobias Hoellrich) Date: Sun Jun 8 16:02:13 2008 Subject: Make buildworld In-Reply-To: <484BE376.9050301@webrz.net> References: <484BE376.9050301@webrz.net> Message-ID: $ man make ... -j max_jobs Specify the maximum number of jobs that make may have running at any one time. Turns compatibility mode off, unless the -B flag is also specified. HTH - Tobias > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Jos > Chrispijn > Sent: Sunday, June 08, 2008 7:50 AM > To: freebsd-questions@freebsd.org > Subject: Make buildworld > > Can someone tell me the difference between 'make -j2 buildworld' and > 'make -j4 buildworld' ? > > Thanks, > Jos > _______________________________________________ > freebsd-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 jos at webrz.net Sun Jun 8 16:20:09 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 8 16:20:12 2008 Subject: Upgrading Kernel on a Remote Server In-Reply-To: <8d23ec860806050915k2acd6b4byd9382260dbc96235@mail.gmail.com> References: <8d23ec860806050915k2acd6b4byd9382260dbc96235@mail.gmail.com> Message-ID: <484C06B8.80504@webrz.net> Schiz0 wrote: > The host is installing 6.3-RELEASE. I'd like to upgrade to > 7.0-RELEASE, as well as compile in some kernel options for various > things. What's the best way to do this on a remote system, minimizing > compiling a bad kernel and causing it not to boot? I wouldn't have > access to single user mode or anything. > Just have a look to this URL; I allready read that this works flawless: http://www.cyberciti.biz/faq/howto-freebsd-server-upgrades/ Jos From sfourman at gmail.com Sun Jun 8 16:41:17 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sun Jun 8 16:41:21 2008 Subject: Flashplugin In-Reply-To: <20080608062921.A45721@qroenaqrq.6qbyyneqvnyhc.pbz> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> <20080608062921.A45721@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <11167f520806080941p129478fcja5069da164e437c6@mail.gmail.com> > That worked like a charm, but Adobe Reader 8.12 not only crashes the > browser, but also wine and X. So now I have wine firefox which can handle > Flash 9, but crashes on pdfs and linux-firefox which handles pdfs, but > crashes on Flash. > What version of wine are you using? I believe they fixed that in wine recently Sam Fourman Jr. From dangkm at gmail.com Sun Jun 8 17:06:39 2008 From: dangkm at gmail.com (Kemian Dang) Date: Sun Jun 8 17:06:43 2008 Subject: [OT]Change font for aterm In-Reply-To: <20080608155315.GA91631@melon.esperance-linux.co.uk> References: <82f916c90806080741n70af2fbew7bb1aaa410847a60@mail.gmail.com> <20080608155315.GA91631@melon.esperance-linux.co.uk> Message-ID: <82f916c90806081006s6d16e8f6ve1557a2acd41c670@mail.gmail.com> 2008/6/8 Frank Shute : > On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote: >> >> Dear All, >> >> I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change >> the configure in the menu. >> Now I am using aterm, but I also want to use that font. >> >> I can see it by fc-list: >> >> [3:39pm:kemian] ~> fc-list | grep "Sans Mono" >> Bitstream Vera Sans Mono:style=Bold >> Bitstream Vera Sans Mono:style=Oblique >> Bitstream Vera Sans Mono:style=Bold Oblique >> Bitstream Vera Sans Mono:style=Roman >> >> I add entry in .Xresources: >> >> Aterm*font: xft:Bitstream Vera Sans Mono:style=Roman > > Use: > > Aterm*font: -bitstream-bitstream\ vera\ sans\ mono-medium-r-normal--16-0-0-0-m-0-iso8859-15 > > in ~/.Xdefaults (all on one line). > aterm still complain can not find this font. > Then: > > $ xrdb -load This command did not give any output, it held there and nothing happened. I have to Ctrl+C to stop it. > > The size of the font can be varied by changing the 16 in that line. > > $ xlsfonts | less This did not give the output of "bitstream vera sans mono". > > gives you the names of the fonts you can use. > >> >> But run the aterm give me: >> >> aterm: can't load font "xft:Bitstream Vera Sans Mono:style=Roman" >> >> Could anyone give me a clue on how to change the font of aterm? >> >> -- >> Best wishes, >> Kemian > > Regards, > > -- > > Frank > > > Contact info: http://www.shute.org.uk/misc/contact.html > > So, any ideas. -- Best wishes, Kemian From frank at shute.org.uk Sun Jun 8 17:52:08 2008 From: frank at shute.org.uk (Frank Shute) Date: Sun Jun 8 17:52:13 2008 Subject: [OT]Change font for aterm In-Reply-To: <82f916c90806081006s6d16e8f6ve1557a2acd41c670@mail.gmail.com> References: <82f916c90806080741n70af2fbew7bb1aaa410847a60@mail.gmail.com> <20080608155315.GA91631@melon.esperance-linux.co.uk> <82f916c90806081006s6d16e8f6ve1557a2acd41c670@mail.gmail.com> Message-ID: <20080608175200.GB91631@melon.esperance-linux.co.uk> On Sun, Jun 08, 2008 at 06:06:38PM +0100, Kemian Dang wrote: > > 2008/6/8 Frank Shute : > > On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote: > >> > >> Dear All, > >> > >> I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change > >> the configure in the menu. > >> Now I am using aterm, but I also want to use that font. > >> > >> I can see it by fc-list: > >> > >> [3:39pm:kemian] ~> fc-list | grep "Sans Mono" > >> Bitstream Vera Sans Mono:style=Bold > >> Bitstream Vera Sans Mono:style=Oblique > >> Bitstream Vera Sans Mono:style=Bold Oblique > >> Bitstream Vera Sans Mono:style=Roman > >> > >> I add entry in .Xresources: > >> > >> Aterm*font: xft:Bitstream Vera Sans Mono:style=Roman > > > > Use: > > > > Aterm*font: -bitstream-bitstream\ vera\ sans\ mono-medium-r-normal--16-0-0-0-m-0-iso8859-15 > > > > in ~/.Xdefaults (all on one line). > > > > aterm still complain can not find this font. > > > Then: > > > > $ xrdb -load Sorry. should have been: $ xrdb -load ~/.Xdefaults > > This command did not give any output, it held there and nothing happened. > I have to Ctrl+C to stop it. > > > > > The size of the font can be varied by changing the 16 in that line. > > > > $ xlsfonts | less > > This did not give the output of "bitstream vera sans mono". Does the dir /usr/local/lib/X11/fonts/bitstream-vera/ exist? If not you have to install: x11-fonts/bitstream-vera and follow the instructions to change your xorg.conf and then restart X. If it exists, you have to add the dir to xorg.conf like so: FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" under the "Files" section. Restart X. X should read ~/.Xdefaults on start up & your font will be used for aterm. xlsfonts should also now list the bitstream vera fonts. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From hagge.lists at intercorner.net Sun Jun 8 18:01:30 2008 From: hagge.lists at intercorner.net (=?ISO-8859-1?Q?Anders_H=E4ggstr=F6m?=) Date: Sun Jun 8 18:01:34 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <1a5a68400806081100y212bff67u6762e430f0218d36@mail.gmail.com> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> <20080608173024.00005cfa@westmark> <1a5a68400806081100y212bff67u6762e430f0218d36@mail.gmail.com> Message-ID: <1a5a68400806081101n4c97746doc7e12e0914728902@mail.gmail.com> Thanks for the quick answers! 2008/6/8 Fabian Keil : > Just in case you assume that ZFS on OpenSolaris 2008.05 > would be superior to ZFS on FreeBSD, this hasn't been my > experience. Yes, I assumed that because Sun can implement and optimize ZFS to fit OpenSolaris, while we run the risk with FreeBSD to implement bugs while we implement ZFS. 2008/6/8 Dick Hoogendijk : > The best stable (production) server with ZFS is solaris-10u5 > If you want to boot off ZFS, S10u6 will support that. > > But these versions too need lots of ram. I think fbsd has a lighter > footprint. As you might have read, I have quite a lot of RAM available on this server (4GB), but ofcource I want the operating system to take as little as possible so that I have as much RAM as possible over for the server processes to work with (mostly web-server and mysql-server). According to a page I have found it says that some basic (FreeBSD-specific) functions are not ready, how does that affect ZFS in general? http://wiki.freebsd.org/ZFS Regards Anders From brennanma at gmail.com Sun Jun 8 18:11:16 2008 From: brennanma at gmail.com (Matt Brennan) Date: Sun Jun 8 18:11:20 2008 Subject: Help with default route In-Reply-To: <484BEC67.2040500@lvor.halvorsen.cc> References: <484BEC67.2040500@lvor.halvorsen.cc> Message-ID: <1c01b5070806081111u41251f7et9063008775ae1676@mail.gmail.com> Well, I can't be sure without seeing your entire routing table, but I would bet you need to do something more like this: route add -net 10.0.0.0/24 -iface ipw0 route add default 10.0.0.1 (or maybe route add default gw 10.0.0.1) If that doesn't work try giving us the output from your routing table (netstat -rn). -Matt On Sun, Jun 8, 2008 at 10:27 AM, Svein Halvor Halvorsen wrote: > Hi! > > I usually use the wired network at home, in which everything gets > configured automatically as soon as I attach the cable to my network > card. > > However, when using the wireless network, I need to run > > # route add default -iface ipw0 > > This will give me a route to the gateway (10.0.0.1), and I can ping > the gateway, as well as other machines on our local network. But if > I try to connect to anything outside of 10/24, I get a "no route to > host" error. If I manually add a route, with > > # route add x.y.z.t 10.0.0.1 > > I can connect to that host. If I change my default route to anything > but "-iface ipw0" I cannot connect to the gateway (10.0.0.1). I > cannot keep adding routes to all hosts I need to connect to. > > I've solved the problem for web usage, by running a proxy on another > machine on the local network (that's reachable) > > > What am I doing wrong? > I don't think I have a thorough understanding of network routes. > > > Svein Halvor > _______________________________________________ > freebsd-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 Sun Jun 8 18:56:58 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sun Jun 8 18:57:02 2008 Subject: change the file date and time In-Reply-To: <20080607031531.GA84969@melon.esperance-linux.co.uk> (Frank Shute's message of "Sat\, 7 Jun 2008 04\:15\:31 +0100") References: <48497315.5020804@bas.bg> <20080607031531.GA84969@melon.esperance-linux.co.uk> Message-ID: <44hcc37o23.fsf@lowell-desk.lan> Frank Shute writes: > If you're lucky, the jpg's will contain exif info which if the > phone's time & date is set will tell you when the picture was taken > amongst other things. > > This is more reliable than depending on file date. > > Here's a quick & dirty perl script (called picinfo) that I used to get > this data (modify at your will): I would recommend graphics/jhead. From cptsalek at gmail.com Sun Jun 8 19:11:00 2008 From: cptsalek at gmail.com (Christian Walther) Date: Sun Jun 8 19:11:04 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608162456.1c4949bc@fabiankeil.de> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> Message-ID: <14989d6e0806081210r6fec5a14y6473a26ba28a91f3@mail.gmail.com> 2008/6/8 Fabian Keil : > "Anders H?ggstr?m" wrote: > [...] > Just in case you assume that ZFS on OpenSolaris 2008.05 > would be superior to ZFS on FreeBSD, this hasn't been my > experience. > > On a system with an Athlon 1700+ and only 512 MB of RAM, > receiving snapshots on OpenSolaris renders the GUI pretty > much useless. > > On FreeBSD ZFS operations can cause delays as well, but it's > significantly better than on OpenSolaris, even though FreeBSD's > ZFS pool lies on a geli-encrypted gmirror while OpenSolaris uses > the disk directly. > This hasn't anything to do with ZFS but on the different configuration of the clockrate. FreeBSD uses 1000 ticks, while it's 500 on Solaris. This means that FreeBSD can switch to different tasks twice as fast than Solaris. For a server a high tick rate isn't necessary, so it doesn't matter really. And Solaris still is a server OS. If you're running a desktop it makes quite a difference, of course. Interesstingly enough PC BSD configures kern.clockrate to 2000. From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 20:02:06 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 20:02:09 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> Message-ID: <20080608215648.Q9779@wojtek.tensor.gdynia.pl> > The choice is probably between "Debian 4.0r3", "FreeBSD 7.0" and > "OpenSolaris 2008.05". All of them have their pros and cons. > could you tell any pros for opensolaris? > I think Debian / Linux, almost falls off because it lacks support for > native ZFS and I have not found any alternative filesystem that offer > checksums on the fly. agree > > My main question is: How is the support for ZFS on FreeBSD? Is it while i don't use it, it works rather as in manual. no crashes if configured right. > sufficiently stable and fast enough to be used in production yet? that's just my opinion about ZFS that it isn't very useful at all. it's just memory and CPU eater. > If not, is there any alternative filesystem that offers checksums on > the fly or other similar technology to reduce the risk of a corrupt > filesystem that at the same time plays well with software RAID (RAID-1 > in particular)? while i use RAID-1 for a long time be it linux or netbsd or freebsd, there is no need for checksumming. there are sector's checksums on disks, checked on every read. in SATA protocol there is error checking during transmission too. there is already well done things in hardware to do disk transfers without CPU overhead, but ZFS introduces overhead and advertises it as feature. quick advice - gmirror this 2 drives and then use UFS. From catalin at starcomms.com Sun Jun 8 20:02:46 2008 From: catalin at starcomms.com (Catalin Miclaus) Date: Sun Jun 8 20:02:51 2008 Subject: kernel crash coredump help Message-ID: <3A0AA7018522134597ED63B3B794C92A0213C690@STA-HQ-S001.starcomms.local> Hi, We install a new server Dell 2950 with FreeBSD 7.0 and we've got some issues with same. Hardware: Dell 2950 Intel(R) Xeon(R) Dual CPU Quad-Core E5335 @ 2.00GHz (1995.01-MHz K8-class CPU) with 4079 MB RAM and 2 x 250GB SATA HDD. Normal server install using developer, all sources without games. Upgrade to 7.0-p1#, then recompile kernel with GENERIC + device pf device pfsync device pflog device carp options HZ=1000 options DEVICE_POLLING Server is running as secondary PF firewall with CARP/PFSYNC/IFSTATED. Additional services running on the server are bind, net-snmp and ssh. We have additional 7 servers running similar services with 6.2 and 7.0 FreeBSD all running fine. Later same day the server crashed. The traffic was on MASTER CARP server when crash happen, server was not under load, CPU was 0% and memory 10% from NMS reports. We were able to got a crash dump: [root@fw2 FW]# kgdb kernel.debug /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Unread portion of the kernel message buffer: <7>arp_rtrequest: bad gateway 196.3.61.14 (!AF_LINK) Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xda040020 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff80666070 stack pointer = 0x10:0xffffffffac3e0650 frame pointer = 0x10:0xffffff00cfb42820 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 19 (swi1: net) trap number = 12 panic: page fault cpuid = 0 Uptime: 2h10m11s Physical memory: 4079 MB Dumping 425 MB: 410 394 378 362 346 330 314 298 282 266 250 234 218 202 186 170 154 138 122 106 90 74 58 42 26 10 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) list *0xffffffff80666070 0xffffffff80666070 is in uma_zfree_internal (uma_int.h:368). 363 int hval; 364 365 hval = UMA_HASH(hash, data); 366 367 SLIST_FOREACH(slab, &hash->uh_slab_hash[hval], us_hlink) { 368 if ((u_int8_t *)slab->us_data == data) 369 return (slab); 370 } 371 return (NULL); 372 } (kgdb) backtrace #0 doadump () at pcpu.h:194 #1 0x0000000000000004 in ?? () #2 0xffffffff80497ea9 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #3 0xffffffff804982ad in panic (fmt=0x104
) at /usr/src/sys/kern/kern_shutdown.c:563 #4 0xffffffff8071ad64 in trap_fatal (frame=0xffffff00010e0340, eva=18446742974215697512) at /usr/src/sys/amd64/amd64/trap.c:724 #5 0xffffffff8071b135 in trap_pfault (frame=0xffffffffac3e05a0, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:641 #6 0xffffffff8071ba78 in trap (frame=0xffffffffac3e05a0) at /usr/src/sys/amd64/amd64/trap.c:410 #7 0xffffffff807016de in calltrap () at /usr/src/sys/amd64/amd64/exception.S:169 #8 0xffffffff80666070 in uma_zfree_internal (zone=0xffffff00cfb42820, item=0xffffff0003b2e000, udata=0x0, skip=Variable "skip" is not available.) at uma_int.h:367 #9 0xffffffff8066909b in uma_zfree_arg (zone=0xffffff00cfb42820, item=0xffffff0003b2e000, udata=0x0) at /usr/src/sys/vm/uma_core.c:2405 #10 0xffffffff80665fe4 in uma_zfree_internal (zone=0xffffff00cfb429c0, item=0xffffff0003a86600, udata=0x0, skip=Variable "skip" is not available.) at /usr/src/sys/vm/uma_core.c:2434 #11 0xffffffff80666bba in bucket_drain (zone=0xffffff00cfb429c0, bucket=0xffffff0003a94830) at /usr/src/sys/vm/uma_core.c:595 #12 0xffffffff80666cab in bucket_cache_drain (zone=0xffffff00cfb429c0) at /usr/src/sys/vm/uma_core.c:662 #13 0xffffffff8066996b in zone_drain (zone=0xffffff00cfb429c0) at /usr/src/sys/vm/uma_core.c:710 #14 0xffffffff801b7f95 in pfsync_get_mbuf (sc=0xffffff0003573400, action=2 '\002', sp=0xffffff0003573570) at mbuf.h:529 #15 0xffffffff801b8208 in pfsync_pack_state (action=Variable "action" is not available.) at /usr/src/sys/contrib/pf/net/if_pfsync.c:1512 #16 0xffffffff801ce863 in pf_test (dir=1, ifp=0xffffff000128d800, m0=0xffffffffac3e0a00, eh=Variable "eh" is not available.) at /usr/src/sys/contrib/pf/net/pf.c:6955 #17 0xffffffff801d360a in pf_check_in (arg=Variable "arg" is not available.) at /usr/src/sys/contrib/pf/net/pf_ioctl.c:3533 #18 0xffffffff80539561 in pfil_run_hooks (ph=Variable "ph" is not available.) at /usr/src/sys/net/pfil.c:78 #19 0xffffffff80574e2b in ip_input (m=0xffffff0036190500) at /usr/src/sys/netinet/ip_input.c:417 #20 0xffffffff8052dee1 in ether_demux (ifp=0xffffff000128d800, m=0xffffff0036190500) at /usr/src/sys/net/if_ethersubr.c:834 #21 0xffffffff8052e181 in ether_input (ifp=0xffffff000128d800, m=0xffffff0036190500) at /usr/src/sys/net/if_ethersubr.c:692 #22 0xffffffff802d77ac in em_rxeof (adapter=0xffffff000122f000, count=119) at /usr/src/sys/dev/em/if_em.c:4542 #23 0xffffffff802d84d7 in em_poll (ifp=0xffffff000128d800, cmd=Variable "cmd" is not available.) at /usr/src/sys/dev/em/if_em.c:1433 #24 0xffffffff8048dd8d in netisr_poll () at /usr/src/sys/kern/kern_poll.c:432 #25 0xffffffff80537e8a in swi_net (dummy=Variable "dummy" is not available.) at /usr/src/sys/net/netisr.c:254 #26 0xffffffff8047b5a0 in ithread_loop (arg=0xffffff00010d9b80) at /usr/src/sys/kern/kern_intr.c:1036 #27 0xffffffff80478673 in fork_exit (callout=0xffffffff8047b430 , arg=0xffffff00010d9b80, frame=0xffffffffac3e0c80) at /usr/src/sys/kern/kern_fork.c:781 #28 0xffffffff80701aae in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:415 #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000001 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000000 in ?? () #42 0x0000000000000000 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000000000000 in ?? () #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0x0000000000000000 in ?? () #48 0x0000000000000000 in ?? () #49 0x0000000000000000 in ?? () #50 0x0000000000000000 in ?? () #51 0x0000000000000000 in ?? () #52 0x0000000000000000 in ?? () #53 0x0000000000c9c000 in ?? () #54 0xffffff00010e0340 in ?? () #55 0x0000000000000001 in ?? () #56 0xffffff00010f3468 in ?? () #57 0xffffff00010e0680 in ?? () #58 0xffffff00010e0340 in ?? () #59 0xffffffffac3e0b58 in ?? () #60 0xffffff00010e0340 in ?? () #61 0xffffffff804b5b69 in sched_switch (td=0xffffff00010d9b80, newtd=0xffffffff8047b430, flags=0) at /usr/src/sys/kern/sched_4bsd.c:905 #62 0x0000000000000000 in ?? () #63 0x0000000000000000 in ?? () #64 0x0000000000000000 in ?? () #65 0x0000000000000000 in ?? () #66 0x0000000000000000 in ?? () #67 0x0000000000000000 in ?? () #68 0x0000000000000000 in ?? () #69 0x0000000000000000 in ?? () #70 0x0000000000000000 in ?? () #71 0x0000000000000000 in ?? () #72 0x0000000000000000 in ?? () #73 0x0000000000000000 in ?? () #74 0x0000000000000000 in ?? () #75 0x0000000000000000 in ?? () #76 0x0000000000000000 in ?? () #77 0x0000000000000000 in ?? () #78 0x0000000000000000 in ?? () #79 0x0000000000000000 in ?? () #80 0x0000000000000000 in ?? () #81 0x0000000000000000 in ?? () #82 0x0000000000000000 in ?? () #83 0x0000000000000000 in ?? () #84 0x0000000000000000 in ?? () #85 0x0000000000000000 in ?? () #86 0x0000000000000000 in ?? () #87 0x0000000000000000 in ?? () #88 0x0000000000000000 in ?? () #89 0x0000000000000000 in ?? () #90 0x0000000000000000 in ?? () #91 0x0000000000000000 in ?? () #92 0x0000000000000000 in ?? () #93 0x0000000000000000 in ?? () #94 0x0000000000000000 in ?? () #95 0x0000000000000000 in ?? () #96 0x0000000000000000 in ?? () #97 0x0000000000000000 in ?? () #98 0x0000000000000000 in ?? () #99 0x0000000000000000 in ?? () #100 0x0000000000000000 in ?? () #101 0x0000000000000000 in ?? () #102 0x0000000000000000 in ?? () #103 0x0000000000000000 in ?? () #104 0x0000000000000000 in ?? () #105 0x0000000000000000 in ?? () #106 0x0000000000000000 in ?? () #107 0x0000000000000000 in ?? () #108 0x0000000000000000 in ?? () #109 0x0000000000000000 in ?? () #110 0x0000000000000000 in ?? () #111 0x0000000000000000 in ?? () #112 0x0000000000000000 in ?? () #113 0x0000000000000000 in ?? () #114 0x0000000000000000 in ?? () #115 0x0000000000000000 in ?? () #116 0x0000000000000000 in ?? () #117 0x0000000000000000 in ?? () #118 0x0000000000000000 in ?? () #119 0x0000000000000000 in ?? () #120 0x0000000000000000 in ?? () #121 0x0000000000000000 in ?? () #122 0x0000000000000000 in ?? () #123 0x0000000000000000 in ?? () #124 0x0000000000000000 in ?? () #125 0x0000000000000000 in ?? () #126 0x0000000000000000 in ?? () #127 0x0000000000000000 in ?? () #128 0x0000000000000000 in ?? () #129 0x0000000000000000 in ?? () #130 0x0000000000000000 in ?? () #131 0x0000000000000000 in ?? () #132 0x0000000000000000 in ?? () #133 0x0000000000000000 in ?? () Cannot access memory at address 0xffffffffac3e1000 (kgdb) Appreciate your help in identifying if this is a hardware failure or we just step on a bug. Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 20:06:40 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 20:06:42 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608162456.1c4949bc@fabiankeil.de> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> Message-ID: <20080608220207.C9779@wojtek.tensor.gdynia.pl> > On a system with an Athlon 1700+ and only 512 MB of RAM, > receiving snapshots on OpenSolaris renders the GUI pretty > much useless. looks like very bad CPU and I/O scheduling on Solaris. maybe that's their 32-64 hardware threads capable chip is advertised so much? :) > > On FreeBSD ZFS operations can cause delays as well, but it's > significantly better than on OpenSolaris, even though FreeBSD's > ZFS pool lies on a geli-encrypted gmirror while OpenSolaris uses > the disk directly. there is quite big difference with geli. it is CPU eater and produces delays noticable on machines that like P3 or less. but at least - it does something useful unlike these ZFS checksumming and other things. > Note that the system is below Sun's recommended specifications > for ZFS, though. Things may look differently on more powerful > systems. but comparision probably the same, or difference less noticable on stronger systems. > > You can use geli(8) for checksumming, it can be combined with gmirror > but unless with ZFS, you don't get automatic "self-healing". whatever it means ;) From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 20:09:19 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 20:09:21 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608162456.1c4949bc@fabiankeil.de> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> Message-ID: <20080608220603.L9779@wojtek.tensor.gdynia.pl> > On a system with an Athlon 1700+ and only 512 MB of RAM, > receiving snapshots on OpenSolaris renders the GUI pretty > much useless. > > On FreeBSD ZFS operations can cause delays as well, but it's > significantly better than on OpenSolaris, even though FreeBSD's > ZFS pool lies on a geli-encrypted gmirror while OpenSolaris uses > the disk directly. anyway something get changed between FreeBSD 6 and 7. as i changed this on quite loaded server from 6.3 to 7 - general throughput increased well. tasks are done much faster. on on my laptop it's the same, but interactive delays was much lower on 6.3 is it possible to turn "old mode" on FreeBSD 7. on my laptop interactive performance is more important. From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 20:09:31 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 20:09:34 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <1a5a68400806081101n4c97746doc7e12e0914728902@mail.gmail.com> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> <20080608173024.00005cfa@westmark> <1a5a68400806081100y212bff67u6762e430f0218d36@mail.gmail.com> <1a5a68400806081101n4c97746doc7e12e0914728902@mail.gmail.com> Message-ID: <20080608220836.T9779@wojtek.tensor.gdynia.pl> > As you might have read, I have quite a lot of RAM available on this > server (4GB), but ofcource I want the operating system to take as > little as possible so that I have as much RAM as possible over for the > server processes to work with (mostly web-server and mysql-server). ZFS is memory and CPU eater. prepare that very few will be left for actual work ;) From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 20:10:41 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 20:10:43 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <14989d6e0806081210r6fec5a14y6473a26ba28a91f3@mail.gmail.com> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> <14989d6e0806081210r6fec5a14y6473a26ba28a91f3@mail.gmail.com> Message-ID: <20080608220920.M9779@wojtek.tensor.gdynia.pl> > If you're running a desktop it makes quite a difference, of course. > Interesstingly enough PC BSD configures kern.clockrate to 2000. human can't notice delays below 10ms. From jos at webrz.net Sun Jun 8 20:10:45 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sun Jun 8 20:10:48 2008 Subject: Grep Guru Message-ID: <484C3CC4.7050107@webrz.net> I tried to make a grep script on find a string in all files on path ./ and down. It does anything exept searching in files and reporting them. Is there a Grep Guru who can hint me out? Thanks, -- Jos From freebsd at celestial.com Sun Jun 8 20:12:58 2008 From: freebsd at celestial.com (Bill Campbell) Date: Sun Jun 8 20:13:02 2008 Subject: Grep Guru In-Reply-To: <484C3CC4.7050107@webrz.net> References: <484C3CC4.7050107@webrz.net> Message-ID: <20080608201256.GA28987@ayn.mi.celestial.com> On Sun, Jun 08, 2008, Jos Chrispijn wrote: >I tried to make a grep script on find a string in all files on path ./ >and down. It does anything exept searching in files and reporting them. >Is there a Grep Guru who can hint me out? Thanks, I expect you need something like: find . -type f -print0 | xargs -0 grep pattern Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 We maintain that the very foundation of our way of life is what we call free enterprise, said Cash McCall, "but when one of our citizens show enough free enterprise to pile up a little of that profit, we do our best to make him feel that he ought to be ashamed of himself." -- Cameron Hawley From jack at jarasoft.net Sun Jun 8 20:13:46 2008 From: jack at jarasoft.net (Jack Raats) Date: Sun Jun 8 20:13:49 2008 Subject: mergemaster problem Message-ID: after upgrade 6.3 to 7.0 mergemaster didn't do the job properly After a normal reboot I get a lot of Warnings like /etc/rc: WARNING: $variable_enable is not set properly - see rc.conf(5) HOw to solve this problem??? Thanks Jack From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 20:15:56 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 20:15:59 2008 Subject: Grep Guru In-Reply-To: <484C3CC4.7050107@webrz.net> References: <484C3CC4.7050107@webrz.net> Message-ID: <20080608221328.U9955@wojtek.tensor.gdynia.pl> > I tried to make a grep script on find a string in all files on path ./ and > down. It does anything exept searching in files and reporting them. > Is there a Grep Guru who can hint me out? Thanks, find . -type f -print0|xargs -0 grep anyway it's nothing about being Grep Guru, or Find Guru but it's really worth to be Man Guru :) man find man xargs From luvbeastie at larseighner.com Sun Jun 8 20:17:34 2008 From: luvbeastie at larseighner.com (Lars Eighner) Date: Sun Jun 8 20:17:39 2008 Subject: Flashplugin In-Reply-To: <11167f520806080941p129478fcja5069da164e437c6@mail.gmail.com> References: <200806071500.28001.derek.graham@att.net> <11167f520806071333r7d51192at3bdcc5e63cb6766@mail.gmail.com> <20080608062921.A45721@qroenaqrq.6qbyyneqvnyhc.pbz> <11167f520806080941p129478fcja5069da164e437c6@mail.gmail.com> Message-ID: <20080608151355.O47971@qroenaqrq.6qbyyneqvnyhc.pbz> On Sun, 8 Jun 2008, Sam Fourman Jr. wrote: >> That worked like a charm, but Adobe Reader 8.12 not only crashes the >> browser, but also wine and X. So now I have wine firefox which can handle >> Flash 9, but crashes on pdfs and linux-firefox which handles pdfs, but >> crashes on Flash. >> > > What version of wine are you using? I believe they fixed that in wine > recently The current port which is 1.0-rc3 according to the (port) Makefile. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 20:18:48 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 20:18:51 2008 Subject: What consists FreeBSD Libc? In-Reply-To: <520110.33662.qm@web57009.mail.re3.yahoo.com> References: <520110.33662.qm@web57009.mail.re3.yahoo.com> Message-ID: <20080608221622.R9955@wojtek.tensor.gdynia.pl> > Its great to get it confirmed that FreeBSD Libc is only /usr/src/lib/libc/* as I presumed. > > I have compiled and installed the FreeBSD Libc into a temp directory. The size of /tmp/libc.so.7 is about 65,000 bytes smaller than /lib/libc.so.7. > > The /lib/libc.so.7 is dated May 25, 2008. I did not touch CFLAGS or anything other than DESTDIR. But I really forgot, the gcc version is different. The /lib/libc.so.7 is by gcc 4.2.1, but the /tmp/libc.so.7 is by gcc 4.3.0. May be the code generation of the latest gcc may be better. indeed it is better. while difference between gcc 3.* and 4.* is HUGE in respect of code size. after i upgraded to FreeBSD 7 from 6.3 (so gcc got upgraded to 4.*) i recompiled bash. same version, >20% smaller! finally gcc turned to rule "small code=fast code", always true on processors with at least 1 level of cache, not mentioning 2 or 3 cache levels :) From admin2 at enabled.com Sun Jun 8 20:20:55 2008 From: admin2 at enabled.com (Noah) Date: Sun Jun 8 20:20:59 2008 Subject: stunnel: warning: can't get client address: Bad file descriptor Message-ID: <484C3F1C.30108@enabled.com> Just upgraded stunnel and getting the following error message in the /var/log/messages file. any clues? ---- snip --- Jun 8 13:17:04 stunnel: warning: can't get client address: Bad file descriptor Jun 8 13:17:34 last message repeated 530400 times Jun 8 13:18:00 last message repeated 488687 times ---- snip --- --- configuration ------- # cat /usr/local/etc/stunnel/stunnel.conf # Sample stunnel configuration file # Copyright by Michal Trojnara 2002 # Comment it out on Win32 cert = /usr/local/etc/stunnel/mail.pem chroot = /var/run/stunnel #chroot = /var/run # PID is created inside chroot jail pid = /stunnel.pid setuid = stunnel setgid = stunnel # grep stunnel /etc/rc.conf stunnel_enable="YES" # cat /usr/local/etc/rc.d/stunnel #!/bin/sh # # $FreeBSD: ports/security/stunnel/files/stunnel.in,v 1.9 2008/01/26 14:18:12 roam Exp $ # # PROVIDE: stunnel # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: shutdown # # Add some of the following variables to /etc/rc.conf to configure stunnel: # stunnel_enable (bool): Set to "NO" by default. # Set it to "YES" to enable stunnel. # stunnel_config (str): Default "/usr/local/etc/stunnel/stunnel.conf" # Set it to the full path to the config file # that stunnel will use during the automated # start-up. # stunnel_pidfile (str): Default "/usr/local/var/stunnel/stunnel.pid" # Set it to the value of 'pid' in # the stunnel.conf file. # . /etc/rc.subr name="stunnel" rcvar=`set_rcvar` load_rc_config $name : ${stunnel_enable="NO"} : ${stunnel_config="/usr/local/etc/stunnel/${name}.conf"} : ${stunnel_pidfile="/var/run/stunnel/${name}.pid"} command="/usr/local/bin/stunnel" command_args=${stunnel_config} pidfile=${stunnel_pidfile} required_files="${stunnel_config}" run_rc_command "$1" From urandomdev at gmail.com Sun Jun 8 20:23:26 2008 From: urandomdev at gmail.com (Simon Jolle sjolle) Date: Sun Jun 8 20:23:31 2008 Subject: Grep Guru In-Reply-To: <20080608201256.GA28987@ayn.mi.celestial.com> References: <484C3CC4.7050107@webrz.net> <20080608201256.GA28987@ayn.mi.celestial.com> Message-ID: <484C3FB7.4080208@gmail.com> On 06/08/2008 10:12 PM, Bill Campbell wrote: > On Sun, Jun 08, 2008, Jos Chrispijn wrote: >> I tried to make a grep script on find a string in all files on path ./ >> and down. It does anything exept searching in files and reporting them. >> Is there a Grep Guru who can hint me out? Thanks, > > I expect you need something like: > > find . -type f -print0 | xargs -0 grep pattern Or install the GNU grep (from the man) -R, -r, --recursive Read all files under each directory, recursively; this is equivalent to the -d recurse option. > Bill cheers Simon -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/cbb66188/signature.pgp From m.seaman at infracaninophile.co.uk Sun Jun 8 20:26:58 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Jun 8 20:27:02 2008 Subject: Grep Guru In-Reply-To: <484C3FB7.4080208@gmail.com> References: <484C3CC4.7050107@webrz.net> <20080608201256.GA28987@ayn.mi.celestial.com> <484C3FB7.4080208@gmail.com> Message-ID: <484C4076.3040804@infracaninophile.co.uk> Simon Jolle sjolle wrote: > On 06/08/2008 10:12 PM, Bill Campbell wrote: >> On Sun, Jun 08, 2008, Jos Chrispijn wrote: >>> I tried to make a grep script on find a string in all files on path ./ >>> and down. It does anything exept searching in files and reporting them. >>> Is there a Grep Guru who can hint me out? Thanks, >> I expect you need something like: >> >> find . -type f -print0 | xargs -0 grep pattern > > Or install the GNU grep (from the man) > > -R, -r, --recursive > Read all files under each directory, recursively; this is > equivalent to the -d recurse option. The system supplied grep(1) /is/ gnu grep: happy-idiot-talk:~:% grep --version grep (GNU grep) 2.5.1-FreeBSD Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. grep -r works just fine. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/bd3d490a/signature.pgp From freebsd-listen at fabiankeil.de Sun Jun 8 20:29:14 2008 From: freebsd-listen at fabiankeil.de (Fabian Keil) Date: Sun Jun 8 20:29:18 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <14989d6e0806081210r6fec5a14y6473a26ba28a91f3@mail.gmail.com> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> <14989d6e0806081210r6fec5a14y6473a26ba28a91f3@mail.gmail.com> Message-ID: <20080608222852.5810cd38@fabiankeil.de> "Christian Walther" wrote: > 2008/6/8 Fabian Keil : > > "Anders H?ggstr?m" wrote: > > > [...] > > Just in case you assume that ZFS on OpenSolaris 2008.05 > > would be superior to ZFS on FreeBSD, this hasn't been my > > experience. > > > > On a system with an Athlon 1700+ and only 512 MB of RAM, > > receiving snapshots on OpenSolaris renders the GUI pretty > > much useless. > > > > On FreeBSD ZFS operations can cause delays as well, but it's > > significantly better than on OpenSolaris, even though FreeBSD's > > ZFS pool lies on a geli-encrypted gmirror while OpenSolaris uses > > the disk directly. > > > This hasn't anything to do with ZFS but on the different configuration > of the clockrate. FreeBSD uses 1000 ticks, while it's 500 on Solaris. With OpenSolaris 2008.05 the GUI becomes unresponsive for multiple-seconds on my system, and it's not clear to me how the clock rate difference would explain that. Fabian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/da337e32/signature.pgp From admin2 at enabled.com Sun Jun 8 20:30:53 2008 From: admin2 at enabled.com (Noah) Date: Sun Jun 8 20:30:58 2008 Subject: stunnel: warning: can't get client address: Bad file descriptor Message-ID: <484C4172.1020207@enabled.com> Just upgraded stunnel and getting the following error message in the /var/log/messages file. It appears that when I restart stunnel it complains "Error binding pop3s to 0.0.0.0:995 and bind: Address already in use (48)". therefore the 995 port never becomes available during the restart. Why is that happening? She the stunel logs below. any clues? ---- snip --- Jun 8 13:17:04 stunnel: warning: can't get client address: Bad file descriptor Jun 8 13:17:34 last message repeated 530400 times Jun 8 13:18:00 last message repeated 488687 times ---- snip --- ---- here is the stunnel.log ----- n# tail -n 50 -f /var/log/stunnel.log Jun 8 00:00:00 typhoon newsyslog[72831]: logfile turned over 2008.06.08 04:05:41 LOG7[21238:134664192]: Snagged 64 random bytes from /root/.rnd 2008.06.08 04:05:41 LOG7[21238:134664192]: Wrote 1024 new random bytes to /root/.rnd 2008.06.08 04:05:41 LOG7[21238:134664192]: RAND_status claims sufficient entropy for the PRNG 2008.06.08 04:05:41 LOG7[21238:134664192]: PRNG seeded successfully 2008.06.08 04:05:41 LOG7[21238:134664192]: Certificate: /usr/local/etc/stunnel/mail.pem 2008.06.08 04:05:41 LOG7[21238:134664192]: Certificate loaded 2008.06.08 04:05:41 LOG7[21238:134664192]: Key file: /usr/local/etc/stunnel/mail.pem 2008.06.08 04:05:41 LOG7[21238:134664192]: Private key loaded 2008.06.08 04:05:41 LOG7[21238:134664192]: SSL context initialized for service pop3s 2008.06.08 04:05:41 LOG5[21238:134664192]: stunnel 4.25 on i386-unknown-freebsd6.2 with OpenSSL 0.9.8h 28 May 2008 2008.06.08 04:05:41 LOG5[21238:134664192]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP 2008.06.08 04:05:41 LOG6[21238:134664192]: file ulimit = 11095 (can be changed with 'ulimit -n') 2008.06.08 04:05:41 LOG6[21238:134664192]: poll() used - no FD_SETSIZE limit for file descriptors 2008.06.08 04:05:41 LOG5[21238:134664192]: 5417 clients allowed 2008.06.08 04:05:41 LOG7[21238:134664192]: FD 5 in non-blocking mode 2008.06.08 04:05:41 LOG7[21238:134664192]: FD 6 in non-blocking mode 2008.06.08 04:05:41 LOG7[21238:134664192]: FD 7 in non-blocking mode 2008.06.08 04:05:41 LOG7[21238:134664192]: SO_REUSEADDR option set on accept socket 2008.06.08 04:05:41 LOG3[21238:134664192]: Error binding pop3s to 0.0.0.0:995 2008.06.08 04:05:41 LOG3[21238:134664192]: bind: Address already in use (48) --- configuration ------- # cat /usr/local/etc/stunnel/stunnel.conf # Sample stunnel configuration file # Copyright by Michal Trojnara 2002 # Comment it out on Win32 cert = /usr/local/etc/stunnel/mail.pem chroot = /var/run/stunnel #chroot = /var/run # PID is created inside chroot jail pid = /stunnel.pid setuid = stunnel setgid = stunnel # grep stunnel /etc/rc.conf stunnel_enable="YES" # cat /usr/local/etc/rc.d/stunnel #!/bin/sh # # $FreeBSD: ports/security/stunnel/files/stunnel.in,v 1.9 2008/01/26 14:18:12 roam Exp $ # # PROVIDE: stunnel # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: shutdown # # Add some of the following variables to /etc/rc.conf to configure stunnel: # stunnel_enable (bool): Set to "NO" by default. # Set it to "YES" to enable stunnel. # stunnel_config (str): Default "/usr/local/etc/stunnel/stunnel.conf" # Set it to the full path to the config file # that stunnel will use during the automated # start-up. # stunnel_pidfile (str): Default "/usr/local/var/stunnel/stunnel.pid" # Set it to the value of 'pid' in # the stunnel.conf file. # . /etc/rc.subr name="stunnel" rcvar=`set_rcvar` load_rc_config $name : ${stunnel_enable="NO"} : ${stunnel_config="/usr/local/etc/stunnel/${name}.conf"} : ${stunnel_pidfile="/var/run/stunnel/${name}.pid"} command="/usr/local/bin/stunnel" command_args=${stunnel_config} pidfile=${stunnel_pidfile} required_files="${stunnel_config}" run_rc_command "$1" From pprocacci at datapipe.com Sun Jun 8 20:33:52 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Sun Jun 8 20:33:57 2008 Subject: Grep Guru In-Reply-To: <484C3CC4.7050107@webrz.net> References: <484C3CC4.7050107@webrz.net> Message-ID: <484C422D.3080309@datapipe.com> Jos Chrispijn wrote: > I tried to make a grep script on find a string in all files on path ./ > and down. It does anything exept searching in files and reporting them. > Is there a Grep Guru who can hint me out? Thanks, > > -- Jos > _______________________________________________ > freebsd-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 want it to report the files in which the string was found? grep -rl ~Paul From frank at shute.org.uk Sun Jun 8 20:34:27 2008 From: frank at shute.org.uk (Frank Shute) Date: Sun Jun 8 20:34:32 2008 Subject: Grep Guru In-Reply-To: <484C3FB7.4080208@gmail.com> References: <484C3CC4.7050107@webrz.net> <20080608201256.GA28987@ayn.mi.celestial.com> <484C3FB7.4080208@gmail.com> Message-ID: <20080608203420.GA92357@melon.esperance-linux.co.uk> On Sun, Jun 08, 2008 at 10:23:19PM +0200, Simon Jolle sjolle wrote: > > On 06/08/2008 10:12 PM, Bill Campbell wrote: > > On Sun, Jun 08, 2008, Jos Chrispijn wrote: > >> I tried to make a grep script on find a string in all files on path ./ > >> and down. It does anything exept searching in files and reporting them. > >> Is there a Grep Guru who can hint me out? Thanks, > > > > I expect you need something like: > > > > find . -type f -print0 | xargs -0 grep pattern > > Or install the GNU grep (from the man) > > -R, -r, --recursive > Read all files under each directory, recursively; this is > equivalent to the -d recurse option. > What's gained from GNU grep? FreeBSD grep, automatically recurses in to each subdir unless given the -maxdepth option. Looks like FreeBSD grep wins (one less argument needed) ;) > > Bill > > cheers > Simon > > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From pschmehl_lists at tx.rr.com Sun Jun 8 20:38:16 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sun Jun 8 20:38:21 2008 Subject: Grep Guru In-Reply-To: <20080608201256.GA28987@ayn.mi.celestial.com> References: <484C3CC4.7050107@webrz.net> <20080608201256.GA28987@ayn.mi.celestial.com> Message-ID: --On June 8, 2008 1:12:56 PM -0700 Bill Campbell wrote: > On Sun, Jun 08, 2008, Jos Chrispijn wrote: >> I tried to make a grep script on find a string in all files on path ./ >> and down. It does anything exept searching in files and reporting them. >> Is there a Grep Guru who can hint me out? Thanks, > > I expect you need something like: > > find . -type f -print0 | xargs -0 grep pattern > Or just grep -r string path Paul Schmehl If it isn't already obvious, my opinions are my own and not those of my employer. From frank at shute.org.uk Sun Jun 8 20:38:58 2008 From: frank at shute.org.uk (Frank Shute) Date: Sun Jun 8 20:39:03 2008 Subject: Grep Guru In-Reply-To: <20080608203420.GA92357@melon.esperance-linux.co.uk> References: <484C3CC4.7050107@webrz.net> <20080608201256.GA28987@ayn.mi.celestial.com> <484C3FB7.4080208@gmail.com> <20080608203420.GA92357@melon.esperance-linux.co.uk> Message-ID: <20080608203851.GB92357@melon.esperance-linux.co.uk> On Sun, Jun 08, 2008 at 09:34:20PM +0100, Frank Shute wrote: > > On Sun, Jun 08, 2008 at 10:23:19PM +0200, Simon Jolle sjolle wrote: > > > > On 06/08/2008 10:12 PM, Bill Campbell wrote: > > > On Sun, Jun 08, 2008, Jos Chrispijn wrote: > > >> I tried to make a grep script on find a string in all files on path ./ > > >> and down. It does anything exept searching in files and reporting them. > > >> Is there a Grep Guru who can hint me out? Thanks, > > > > > > I expect you need something like: > > > > > > find . -type f -print0 | xargs -0 grep pattern > > > > Or install the GNU grep (from the man) > > > > -R, -r, --recursive > > Read all files under each directory, recursively; this is > > equivalent to the -d recurse option. > > > > What's gained from GNU grep? FreeBSD grep, automatically recurses in > to each subdir unless given the -maxdepth option. > > Looks like FreeBSD grep wins (one less argument needed) ;) Sorry, got confused between grep and xargs! > > Regards, > > -- > > Frank > -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From kamikaze at bsdforen.de Sun Jun 8 20:42:38 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Sun Jun 8 20:42:44 2008 Subject: mergemaster problem In-Reply-To: References: Message-ID: <484C442F.5040007@bsdforen.de> Jack Raats wrote: > after upgrade 6.3 to 7.0 mergemaster didn't do the job properly > After a normal reboot I get a lot of Warnings like > /etc/rc: WARNING: $variable_enable is not set properly - see rc.conf(5) > > HOw to solve this problem??? > > Thanks > > Jack Rerun mergemaster. When it asks you to [i]nstall the new /etc/defaults/rc.conf, [m]erge it or leave it for later. Choose i. From dick at nagual.nl Sun Jun 8 20:56:13 2008 From: dick at nagual.nl (Dick Hoogendijk) Date: Sun Jun 8 20:56:16 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608220836.T9779@wojtek.tensor.gdynia.pl> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> <20080608173024.00005cfa@westmark> <1a5a68400806081100y212bff67u6762e430f0218d36@mail.gmail.com> <1a5a68400806081101n4c97746doc7e12e0914728902@mail.gmail.com> <20080608220836.T9779@wojtek.tensor.gdynia.pl> Message-ID: <20080608225546.00002a20@westmark> On Sun, 8 Jun 2008 22:08:59 +0200 (CEST) Wojciech Puchar wrote: > > As you might have read, I have quite a lot of RAM available on this > > server (4GB), but ofcource I want the operating system to take as > > little as possible so that I have as much RAM as possible over for > > the server processes to work with (mostly web-server and > > mysql-server). > > ZFS is memory and CPU eater. prepare that very few will be left for > actual work ;) Bollocks. It consumes memory. The more seperate filesystems, the more memory. But don't execurate. For a webserver on zfs 4GB is more than enough. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxde 01/08 ++ From dick at nagual.nl Sun Jun 8 20:58:31 2008 From: dick at nagual.nl (Dick Hoogendijk) Date: Sun Jun 8 20:58:35 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608220207.C9779@wojtek.tensor.gdynia.pl> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> <20080608220207.C9779@wojtek.tensor.gdynia.pl> Message-ID: <20080608225816.00002997@westmark> On Sun, 8 Jun 2008 22:05:08 +0200 (CEST) Wojciech Puchar wrote: > > On a system with an Athlon 1700+ and only 512 MB of RAM, > > receiving snapshots on OpenSolaris renders the GUI pretty > > much useless. > > looks like very bad CPU and I/O scheduling on Solaris. > maybe that's their 32-64 hardware threads capable chip is advertised > so much? :) Don't write about things you don't know. *Maybe's* don't help. You don't have to like solaris but don't troll about it, please. Both systems have their pro's and cons. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxde 01/08 ++ From urandomdev at gmail.com Sun Jun 8 21:01:21 2008 From: urandomdev at gmail.com (Simon Jolle sjolle) Date: Sun Jun 8 21:01:25 2008 Subject: Grep Guru In-Reply-To: <484C4076.3040804@infracaninophile.co.uk> References: <484C3CC4.7050107@webrz.net> <20080608201256.GA28987@ayn.mi.celestial.com> <484C3FB7.4080208@gmail.com> <484C4076.3040804@infracaninophile.co.uk> Message-ID: <484C489C.7070908@gmail.com> On 06/08/2008 10:26 PM, Matthew Seaman wrote: > The system supplied grep(1) /is/ gnu grep: > > happy-idiot-talk:~:% grep --version grep (GNU grep) 2.5.1-FreeBSD [...] Sorry you are right. I didn't had any FreeBSD box around. > Cheers, > Matthew cheers Simon -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/0bc20e84/signature.pgp From dick at nagual.nl Sun Jun 8 21:01:53 2008 From: dick at nagual.nl (Dick Hoogendijk) Date: Sun Jun 8 21:01:57 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608215648.Q9779@wojtek.tensor.gdynia.pl> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608215648.Q9779@wojtek.tensor.gdynia.pl> Message-ID: <20080608230131.00003da7@westmark> On Sun, 8 Jun 2008 22:01:23 +0200 (CEST) Wojciech Puchar wrote: > while i don't use it, it works rather as in manual. no crashes if > configured right. > that's just my opinion about ZFS that it isn't very useful at all. > it's just memory and CPU eater. Your entitled to your opinion, but please try to base it on some facts. ZFS is herre to stay. You better get used to it. at least you could try to work with it before you make up an opinion. Have you -any- idea at all what this FS is capable off? -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxde 01/08 ++ From dfeustel at mindspring.com Sun Jun 8 21:57:29 2008 From: dfeustel at mindspring.com (dfeustel@mindspring.com) Date: Sun Jun 8 21:57:33 2008 Subject: Playing back motion jpeg saved by firefox Message-ID: <20080608215728.B8CA58FC19@mx1.freebsd.org> I just discovered that firefox can save motion video in addition to displaying it. But I don't know how to play back the saved video.cgi file. Mplayer complains about missing configuration data. Does anyone know how to play back the file saved by firefox? Is there some other mailing list to which I should post this question? Thanks, Dave Feustel From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 22:07:39 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 22:07:42 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608222852.5810cd38@fabiankeil.de> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> <14989d6e0806081210r6fec5a14y6473a26ba28a91f3@mail.gmail.com> <20080608222852.5810cd38@fabiankeil.de> Message-ID: <20080609000619.K58929@wojtek.tensor.gdynia.pl> >> This hasn't anything to do with ZFS but on the different configuration >> of the clockrate. FreeBSD uses 1000 ticks, while it's 500 on Solaris. > > With OpenSolaris 2008.05 the GUI becomes unresponsive for > multiple-seconds on my system, and it's not clear to me > how the clock rate difference would explain that. no. it's just because of scheduling and I/O algorithms used in solaris. From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 22:08:48 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 22:08:51 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608225546.00002a20@westmark> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608162456.1c4949bc@fabiankeil.de> <20080608173024.00005cfa@westmark> <1a5a68400806081100y212bff67u6762e430f0218d36@mail.gmail.com> <1a5a68400806081101n4c97746doc7e12e0914728902@mail.gmail.com> <20080608220836.T9779@wojtek.tensor.gdynia.pl> <20080608225546.00002a20@westmark> Message-ID: <20080609000716.H58929@wojtek.tensor.gdynia.pl> >> ZFS is memory and CPU eater. prepare that very few will be left for >> actual work ;) > > Bollocks. > It consumes memory. The more seperate filesystems, the more memory. But > don't execurate. For a webserver on zfs 4GB is more than enough. still enough for UFS with softupdates - which is REALLY fast. you may set kern.maxvnodes much higher to speed it up even more. From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 22:09:57 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 22:10:00 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608230131.00003da7@westmark> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608215648.Q9779@wojtek.tensor.gdynia.pl> <20080608230131.00003da7@westmark> Message-ID: <20080609000836.Q58929@wojtek.tensor.gdynia.pl> >> configured right. > >> that's just my opinion about ZFS that it isn't very useful at all. >> it's just memory and CPU eater. > > Your entitled to your opinion, but please try to base it on some facts. > ZFS is herre to stay. You better get used to it. at least you could try AFAIK there are no plans to FORCE using ZFS instead of UFS in FreeBSD. or there are? if so - fine time to check something else. > to work with it before you make up an opinion. Have you -any- idea at yes i am. From wojtek at wojtek.tensor.gdynia.pl Sun Jun 8 22:18:57 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jun 8 22:19:00 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080608230131.00003da7@westmark> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608215648.Q9779@wojtek.tensor.gdynia.pl> <20080608230131.00003da7@westmark> Message-ID: <20080609001010.G59013@wojtek.tensor.gdynia.pl> > ZFS is herre to stay. You better get used to it. at least you could try > to work with it before you make up an opinion. Have you -any- idea at > all what this FS is capable off? if you like - quick summary 1) ZFS "turns random writes into sequential writes" as they say. yes that's true. they just forgot to say that it then turns sequential reads into random reads. simple for anyone that still can use his/her brain. 2) ZFS RAID-z turns your X drives to single drive performance both on read and write. every normal RAID-5 implementation will give you random read speed of X-1 times single drive speed, while slow random write speeds (but still at least half of single drive). but this is advertised as a feature 3) a CPU,cache and memory bandwidth hogging "feature" of checksumming all blocks. thing that are already done in disk hardware. fortunately you can turn this off 4) write anywhere style of writing, just with large buffers it could get large blocks to be written at once if only large continous space are found. quite good (but not that much better than UFS) as long as your drive is mostly empty. 5) incredibly high memory consumption. very high CPU consumption compared to UFS. From bri at brianwhalen.net Sun Jun 8 22:30:06 2008 From: bri at brianwhalen.net (Brian) Date: Sun Jun 8 22:30:10 2008 Subject: Make buildworld In-Reply-To: <484BE376.9050301@webrz.net> References: <484BE376.9050301@webrz.net> Message-ID: <484C5D6C.9020401@brianwhalen.net> Jos Chrispijn wrote: > Can someone tell me the difference between 'make -j2 buildworld' and > 'make -j4 buildworld' ? > > Thanks, > Jos > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" fyi, the below is from /usr/src/UPDATING: COMMON ITEMS: General Notes ------------- Avoid using make -j when upgrading. From time to time in the past there have been problems using -j with buildworld and/or installworld. This is especially true when upgrading between "distant" versions (eg one that cross a major release boundary or several minor releases, or when several months have passed on the -current branch). From rabe at uugrn.org Sun Jun 8 22:50:12 2008 From: rabe at uugrn.org (Raphael Becker) Date: Sun Jun 8 22:50:15 2008 Subject: Grep Guru In-Reply-To: <20080608221328.U9955@wojtek.tensor.gdynia.pl> References: <484C3CC4.7050107@webrz.net> <20080608221328.U9955@wojtek.tensor.gdynia.pl> Message-ID: <20080608225023.GD54922@ma.sigsys.de> On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote: > find . -type f -print0|xargs -0 grep There's no more need for find | xargs Try: find . -type -f -exec grep {} \+ -exec foo {} \+ behaves like xargs foo -exec foo {} \; exec foo for every file Regards Raphael -- Raphael Becker http://rabe.uugrn.org/ GnuPG: E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D .........|.........|.........|.........|.........|.........|.........|.. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/8ed04eb5/attachment.pgp From freebsd at celestial.com Sun Jun 8 23:07:16 2008 From: freebsd at celestial.com (Bill Campbell) Date: Sun Jun 8 23:07:19 2008 Subject: Grep Guru In-Reply-To: <20080608225023.GD54922@ma.sigsys.de> References: <484C3CC4.7050107@webrz.net> <20080608221328.U9955@wojtek.tensor.gdynia.pl> <20080608225023.GD54922@ma.sigsys.de> Message-ID: <20080608230712.GA24307@ayn.mi.celestial.com> On Mon, Jun 09, 2008, Raphael Becker wrote: >On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote: >> find . -type f -print0|xargs -0 grep > >There's no more need for find | xargs > >Try: > >find . -type -f -exec grep {} \+ > >-exec foo {} \+ behaves like xargs foo >-exec foo {} \; exec foo for every file The issue here is that grep execs grep for each file found while xargs batches the files. This is of particular importance if one wants to see the file names in the output. In relation to this, if one wants to be sure that grep always generates the file name, insure that it always gets at least two files as arguments: find . -type f -print0 | xargs -0 grep pattern /dev/null FWIW, I have learned about gnu-grep's -r option reading this thread, which I had not noticed previously. I guess that just goes to show that old habits die hard :-). Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Good luck to all you optimists out there who think Microsoft can deliver 35 million lines of quality code on which you can operate your business. -- John C. Dvorak From jeffrey at goldmark.org Sun Jun 8 23:14:09 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Sun Jun 8 23:14:13 2008 Subject: Grep Guru In-Reply-To: <20080608225023.GD54922@ma.sigsys.de> References: <484C3CC4.7050107@webrz.net> <20080608221328.U9955@wojtek.tensor.gdynia.pl> <20080608225023.GD54922@ma.sigsys.de> Message-ID: On Jun 8, 2008, at 5:50 PM, Raphael Becker wrote: > find . -type -f -exec grep {} \+ > > -exec foo {} \+ behaves like xargs foo > -exec foo {} \; exec foo for every file Way cool! I hadn't known that about find(1). Cheers, -j From ivoras at freebsd.org Sun Jun 8 23:16:59 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Sun Jun 8 23:17:06 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080609001010.G59013@wojtek.tensor.gdynia.pl> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608215648.Q9779@wojtek.tensor.gdynia.pl> <20080608230131.00003da7@westmark> <20080609001010.G59013@wojtek.tensor.gdynia.pl> Message-ID: Wojciech Puchar wrote: > 2) ZFS RAID-z turns your X drives to single drive performance both on > read and write. every normal RAID-5 implementation will give you random > read speed of X-1 times single drive speed, while slow random write > speeds (but still at least half of single drive). but this is advertised > as a feature Is this because of checksum verification (the need to read all components) or something else? Any documentation/references? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080608/35ce414f/signature-0001.pgp From dnelson at allantgroup.com Sun Jun 8 23:33:17 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Sun Jun 8 23:33:21 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <20080608215648.Q9779@wojtek.tensor.gdynia.pl> <20080608230131.00003da7@westmark> <20080609001010.G59013@wojtek.tensor.gdynia.pl> Message-ID: <20080608233315.GA33530@dan.emsphone.com> In the last episode (Jun 09), Ivan Voras said: > Wojciech Puchar wrote: > > 2) ZFS RAID-z turns your X drives to single drive performance both > > on read and write. every normal RAID-5 implementation will give you > > random read speed of X-1 times single drive speed, while slow > > random write speeds (but still at least half of single drive). but > > this is advertised as a feature > > Is this because of checksum verification (the need to read all > components) or something else? Any documentation/references? RAID-Z stores a single checksum over the whole stripe, instead of checksumming each disks's section separately, so it has to read from all disks to validate the stripe. Only random reads are penalized, though. http://blogs.sun.com/roch/entry/when_to_and_not_to -- Dan Nelson dnelson@allantgroup.com From hsmtkk at gmail.com Sun Jun 8 23:34:58 2008 From: hsmtkk at gmail.com (Hashimoto) Date: Sun Jun 8 23:35:01 2008 Subject: Help with default route In-Reply-To: <1c01b5070806081111u41251f7et9063008775ae1676@mail.gmail.com> References: <484BEC67.2040500@lvor.halvorsen.cc> <1c01b5070806081111u41251f7et9063008775ae1676@mail.gmail.com> Message-ID: <6bae2c430806081609i63a95ca8xe63a0a4652c80ae0@mail.gmail.com> /etc/rc.conf defaultrouter="10.0.0.1" static_routes="route1" route1="-net 10.0.0.0/24 -iface ipw0" How about this? 2008/6/9 Matt Brennan : > Well, I can't be sure without seeing your entire routing table, but I > would bet you need to do something more like this: > > route add -net 10.0.0.0/24 -iface ipw0 > route add default 10.0.0.1 > (or maybe route add default gw 10.0.0.1) > > If that doesn't work try giving us the output from your routing table > (netstat -rn). > > -Matt > > On Sun, Jun 8, 2008 at 10:27 AM, Svein Halvor Halvorsen > wrote: >> Hi! >> >> I usually use the wired network at home, in which everything gets >> configured automatically as soon as I attach the cable to my network >> card. >> >> However, when using the wireless network, I need to run >> >> # route add default -iface ipw0 >> >> This will give me a route to the gateway (10.0.0.1), and I can ping >> the gateway, as well as other machines on our local network. But if >> I try to connect to anything outside of 10/24, I get a "no route to >> host" error. If I manually add a route, with >> >> # route add x.y.z.t 10.0.0.1 >> >> I can connect to that host. If I change my default route to anything >> but "-iface ipw0" I cannot connect to the gateway (10.0.0.1). I >> cannot keep adding routes to all hosts I need to connect to. >> >> I've solved the problem for web usage, by running a proxy on another >> machine on the local network (that's reachable) >> >> >> What am I doing wrong? >> I don't think I have a thorough understanding of network routes. >> >> >> Svein Halvor >> _______________________________________________ >> freebsd-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" > -- ???? ????????????4?? ??????? hsmtkk@gmail.com From novembre at gmail.com Mon Jun 9 00:25:44 2008 From: novembre at gmail.com (Novembre) Date: Mon Jun 9 00:25:48 2008 Subject: mplayer plug-in not playing some streams Message-ID: <3b47caa90806081725kee1bfdegb7c097acc12519df@mail.gmail.com> Hi, I have installed mplayer-0.99.10_14 and mplayerplug-in-3.45 using packages on my 7.0-RELEASE machine which runs Firefox 2.0.0.12. I am not able to see *some* online content, though, and I couldn't find any pattern. For example, going to http://www.davidgilmour.com/dvd.htm , I can see the Windows Media streams (both low and high resolution versions), but QuickTime and Real Player streams are not played at all --- a new tab opens in Firefox, and I see "Getting playlist..." and "Connecting to server..." messages, but then it says "Stopped" and that's it! But, if I go to http://www.satriani.com/podcast/Satchafunkilus/ and click on any of the podcasts (they are in .m4v which, if I'm not mistaken, is just a container for QuickTime .mov videos), mplayerplug-in plays them flawlessly. Another example for QuickTime is http://www.vai.com/SightsSounds/video_vault/index.html where all the videos can be played perfectly. As for Real Player, I see watch BBC Persian website's videos in Windows Media (e.g. this one about Euro2008 games http://www.bbc.co.uk/persian/meta/dps/2008/06/bb/080606_op-euro2008_16x9_bb.asx), but if I choose Real Player as my format, I can only hear the sound and no video is played! I would appreciate any help :) Thanks a lot From newsletter at eyeofdubai.com Mon Jun 9 00:56:09 2008 From: newsletter at eyeofdubai.com (Eyeofdubai Events) Date: Mon Jun 9 00:56:15 2008 Subject: Weekly Dubai Events Message-ID: If you are having trouble viewing this email, please click here to see it online. Eyeofdubai.com 8 - 14 June, 2008 News Events Advertise with us Email icon Send this to a friend Click here for advertising info Disclaimer: Date and venue are subject to change. Please contact the organizer of the event for confirmed date and venue. 8 - 10 June, 2008 Big 5 Exteriors Show Venue : Dubai World Trade Center add this event to outlook calendar _____ 8 - 10 June, 2008 The Hotel Show Venue : Dubai World Trade Center The Hotel Show is the largest and most important event for the hospitality sector in the region and beyond. The show features a comprehensive range of the very latest products, services and technologies from around the world and attracts the key industry decision makers across the territory. add this event to outlook calendar _____ 8 - 10 June, 2008 In Retail 2008 Venue : Dubai World Trade Center For the design, fit-out and operational management of retail outlets, supermarkets and shopping malls. add this event to outlook calendar _____ 8 - 10 June, 2008 Facilities Management Expo Venue : Dubai World Trade Center In 2008 FM Expo will co-locate with The Hotel Show and InRetail exhibition, this collaboration of leading shows delivered 17,966 visitors in 2007. Of these, 3,167 were dedicated FM visitors, an increase of 98% on the 2006 attendance. The visitors traveled from the Middle East, India, Europe and from North America. The combination of the three shows will mean increased buyers, increased networking opportunities and increased sales for you. add this event to outlook calendar _____ 8 - 12 June, 2008 Fraud 2008 Venue : Beach Rotana hotel and Towers Fraud 2008 will tackle these issues head-on with practical, real-world case studies to provide you with the necessary tools to decrease fraud at your company add this event to outlook calendar _____ 8 - 12 June, 2008 The 12th Annual Compensation And Benefits Forum Venue : JW MArriott Hotel Dubai This Forum will bring together an experienced faculty of compensation & benefits specialists to discuss the hot issues and offer possible solutions to the challenges. Through a mixture of presentations, workshops, panel sessions and discussions you will hear from top companies like Microsoft, Dubai Holding, Vodafone, TNS Middle East and Arc International. add this event to outlook calendar _____ 8 - 12 June, 2008 Developing HR Policy Manual Venue : Dusit Thani Hotel Developing HR Policy Manual will emphasise the importance of having the skills and expertise to create a cutting edge, up-to-date HR policy manual. Developing HR Policy Manual also gives you the unique opportunity to learn how to achieve buy-in from all line managers in your organisation, share and discuss your organisational needs add this event to outlook calendar _____ 8 - 12 June, 2008 The 7 Habits of Highly Effective People Venue : Kempinski Hotel - Mall Of Emirates This course incorporates an important productivity component, Focus: Achieving Your Highest Priorities, which will provide you with tips and tools that will help you focus on the most important things ? both in business and in life add this event to outlook calendar _____ 8 - 12 June, 2008 2008 ICSC/MECSC International School for Professional Development Venue : Kempinski Hotel Mall of the Emirates A 5 day intesive program for the Shopping Centre and Retail Real Estate Industry add this event to outlook calendar _____ 8 - 10 June, 2008 VOIP World MENA 2008 Venue : Shangri-La Hotel VoIP World MENA 2008 ? where operators, authorities and enterprise meet Gain first-mover advantage With an agenda that will be filled with regional and international case studies, expert presentations and insightful panel sessions, you?ll leave VOIP World MENA 2008 with a full understanding of how your organisation can effectively leverage the VoIP opportunity. Building on our popular portfolio of VoIP World events, this senior-level business strategy conference is the first event in the region to focus solely on the key issue of VoIP business strategies. add this event to outlook calendar _____ 9 - 10 June, 2008 Financial Risk Management Forum Venue : Dubai Embedding Basel II in the business still remains a major challenge in the Middle East. There has been a huge investment to comply with the new standards, yet the key questions of ?what?s in it for me? and ?how to justify the investments? remains unanswered for the management within and outside the risk community. Indeed, many financial firms are still unclear what benefits Basel II will deliver to their organizations and how long it will take to realize them. add this event to outlook calendar _____ 9 - 11 June, 2008 China Sourcing Fair Venue : Dubai World Trade Center This is one of the event that will enable you to buyditectly form China?s most competitive suppliers. If you are importer, distributor or volume buyer from dubai, the GCC, Middle east, India, Pakisten Afric and Europe, this is the event for you to easily enhance your product lines with world class and competitive China products. add this event to outlook calendar _____ 10 - 11 June, 2008 Building Tall 2008 Venue : Park Hyatt Hotel, Dubai, UAE Designing and engineering tall buildings Five reasons why ypou should attend Building Tall 2008 conference: 1. Evaluate the value that tall towersw bring to major project developments 2. Understand the motivation of developers commissioning super-tall projects 3. Analyse the unique challenges to skills, logisitcs and practical know how building tall poses 4. Hear updates on the GCC?s iconic new tall buildings 5. Debate the impact of increasing demand for green sustainability in design Register before 2nd May 2008 and SAVE US $200 add this event to outlook calendar _____ 10 - 11 June, 2008 Islamic Countries Agriculture and Food Conference Venue : Dusit Dubai Hotel Datamatix is pleased to present the Islamic Countries Agriculture and Food Conference which will highlight major agriculture and agribusiness challenges and opportunities in the Islamic countries. Looking at agriculture and agribusiness initiatives in these countries, what is most striking is that almost all of them are faced with similar challenges and since they also belong to the same geographic region it makes sense for this platform to bring together major agriculture and agribusiness stakeholders. add this event to outlook calendar _____ 11 June , 2008 Gulf Marketing Review ( Profiting Through Innovation In Financial Services Marketing) Venue : Jumeirah Beach Hotel Innovation in Marketing strategies and a solid brand reputation is what gives a strong competitive advantage in the gulf?s Financial Sector. This One Day GMR conference delivers strategic solutions. add this event to outlook calendar _____ 14 - 15 June, 2008 THE BREAKTHROUGH EXPERIENCE Venue : The Ritz Carlton,Dubai This amazing, intensive, two day personal and professional development program will challenge your old assumptions about living and offer you new paradigms for life. It will balance and expand your mind and open your heart to your true magnificence and empower you to break through limits or obstacles that are in the way of your dreams. add this event to outlook calendar _____ Advertising info Your opinion is very valuable, please share it with us at feedback@eyeofdubai.com Should you have any queries or clarifications please do not hesitate to contact us at info@eyeofdubai.com You are currently subscribed to receive Eyeofdubai.com newsletters. Eyeofdubai respects your privacy and does not share any information about you with other parties. Read our privacy statement . Unsubscribing from this message will halt distribution of the newsletters as well as all other commercial messages from Eyeofdubai.com. If you have any questions or trouble removing yourself from this service, please contact us. Is this email going to your junk/bulk folder? Add newsletter@eyeofdubai.com to your address book and *@eyeofdubai.com to your white list filters to ensure that you receive all future newsletters in your Inbox. Please do not send me any e-mail messages in the future 153181 From chuckr at telenix.org Mon Jun 9 02:11:03 2008 From: chuckr at telenix.org (Chuck Robey) Date: Mon Jun 9 02:11:08 2008 Subject: Make buildworld In-Reply-To: <484C5D6C.9020401@brianwhalen.net> References: <484BE376.9050301@webrz.net> <484C5D6C.9020401@brianwhalen.net> Message-ID: <484C8F15.6050208@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian wrote: > Jos Chrispijn wrote: >> Can someone tell me the difference between 'make -j2 buildworld' and >> 'make -j4 buildworld' ? >> >> Thanks, >> Jos >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > fyi, the below is from /usr/src/UPDATING: > > COMMON ITEMS: > > General Notes > ------------- > Avoid using make -j when upgrading. From time to time in the > past there have been problems using -j with buildworld and/or > installworld. This is especially true when upgrading between > "distant" versions (eg one that cross a major release boundary > or several minor releases, or when several months have passed > on the -current branch). I really don't think that's a fault of make(1), it's a fault of the Makefiles, which have to be written very carefully so that having multiple parallel processes going might screw up building. Yes, it has done that in the past, but it's an occaisonal thing, not a regular thing, because there's a good number of folks who build there kernels with something like -j4. I often do. One just has to be really awake when you hit a problem, or when reporting a build error... rebuild without the -jN. I did some testing, at least for me, I get the most improvements when the number of cores or processors equals the -j number. You can make it higher, even double it, withoout hurting things, but 95% of the improvements come from matching the number of processes to the number of available CPUs (and that' by my own testing, not theory). Still, if you aren't willing to do your won troubleshooting, best to avoid using - -j anything. It's very easy to screw up. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFITI8Uz62J6PPcoOkRAvc0AKCihT7rT4VrDI/6ve1BXfWjXwrsHgCdE4qr F1uwEvIAQt8qNrQADQZbkvI= =g9B0 -----END PGP SIGNATURE----- From letter2steve at yahoo.com Mon Jun 9 02:34:10 2008 From: letter2steve at yahoo.com (Steve Quinn) Date: Mon Jun 9 02:34:13 2008 Subject: Setting up a VPN In-Reply-To: <8d23ec860806031204l34bee56k80ced31851516526@mail.gmail.com> Message-ID: <632387.64535.qm@web51408.mail.re2.yahoo.com> --- On Tue, 6/3/08, Schiz0 wrote: > Hey, > > I'm looking for information on how to setup a Virtual > Private Network > on a FreeBSD 7.0-RELEASE system .... Hi I've recently implemented OpenVPN under FreeBSD For our team, it's been rock solid I found the OpenVPN docs were excellent for Windohs/Linux but were lacking a little for BSD I can send you my personal BSD related notes if you like Take care Steve From af300wsm at gmail.com Mon Jun 9 02:46:30 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Mon Jun 9 02:46:35 2008 Subject: Networking issues Message-ID: <200806082019.04350.af300wsm@gmail.com> Hello, I have, for some time, been able to ssh into my father's FreeBSD machine in the Road Runner network in Central New York. Last night, I tried so that I could fix a problem for him and ssh timed out. No problem I thought, his modem has a different IP than the one I have in my /etc/hosts file, but this turned to not be the case. Well, after some digging, I did a traceroute to his IP address. The packets went all over the place, from San Jose, to Colorado, back to San Jose, to Colorado then to Ohio, then to Denver, then to San Jose, then to Ohio, etc. (you get the idea). Eventually, traceroute was just lost and confused and I hit ctrl-c. Thinking the problem would work itself out, I decided to wait and try again tonight however, I'm having the same problem tonight. Obviously, though, I can use my Internet connection (after all, the e-mail . . .), but why can't I get to his IP address. For kicks and grins tonight, I logged onto my DSL modem and looked at it's routing table. I found some interesting information. First, my DSL modems IP is 71.221.172.38, however, the default route appears to be 67.41.38.201. Obviously, I've got to cross at least one network to get to this default route in the first place. I'm assuming this is the default route because it appears in the routing table as such: dest netmask gateway 0.0.0.0 0.0.0.0 67.41.38.201 Now, here's the output of traceroute (with name resolution turned off): [/usr/home/andy] -> traceroute -n 67.41.38.201 traceroute to 67.41.38.201 (67.41.38.201), 64 hops max, 52 byte packets 1 * * * 2 67.41.38.201 40.303 ms * 39.421 ms Why on earth would there be delays on the first hop when not using name resolution? Ok, now my machines setup: my DSL modem is the router (as you all knew). It also acts as a DHCP server but my FreeBSD machine is setup as static IP. The local, private, IP network is 192.168.0.0/24 with the DSL modem as 192.168.0.1 and my box is statically assigned 192.168.0.10. Any thoughts as what might be wrong on my end before I start bugging my ISP? Thanks, Andy From gnemmi at gmail.com Mon Jun 9 03:04:22 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Mon Jun 9 03:04:27 2008 Subject: Setting up a VPN In-Reply-To: <632387.64535.qm@web51408.mail.re2.yahoo.com> References: <632387.64535.qm@web51408.mail.re2.yahoo.com> Message-ID: <200806090004.14239.gnemmi@gmail.com> On Sunday 08 June 2008 23:07:28 Steve Quinn wrote: > --- On Tue, 6/3/08, Schiz0 wrote: > > Hey, > > > > I'm looking for information on how to setup a Virtual > > Private Network > > on a FreeBSD 7.0-RELEASE system .... > > Hi > > I've recently implemented OpenVPN under FreeBSD > For our team, it's been rock solid > > I found the OpenVPN docs were excellent for Windohs/Linux but were lacking > a little for BSD > > I can send you my personal BSD related notes if you like > > Take care > > Steve Please _do_ send them to this list or throw a pointer at where they are at ! I'm sure more people than you can think of will find them usefull. I, for once, could really use them :) Thanks in advanced -- Blessings Gonzalo Nemmi From novembre at gmail.com Mon Jun 9 03:22:25 2008 From: novembre at gmail.com (Novembre) Date: Mon Jun 9 03:22:29 2008 Subject: question about posting to FreeBSD mailing lists Message-ID: <3b47caa90806082022g65e88d97q3fa3d99d3b790ddc@mail.gmail.com> Hi, Is there any way to answer the posts in the mailing lists if one is not subscribed to the list and does not receive them in his mailbox? From time to time, I see posts which I can actually answer and contribute to, but since I'm not subscribed to the lists, even if I post an answer to the person asking the question and CC it to the list, it doesn't regroup with other posts on the same topic. Is there any way around this? Thanks :) From jwm-freebsd-questions at sentinelchicken.net Mon Jun 9 03:37:26 2008 From: jwm-freebsd-questions at sentinelchicken.net (Jason Morgan) Date: Mon Jun 9 03:37:31 2008 Subject: Setting up a VPN In-Reply-To: <200806090004.14239.gnemmi@gmail.com> References: <632387.64535.qm@web51408.mail.re2.yahoo.com> <200806090004.14239.gnemmi@gmail.com> Message-ID: <20080609030642.GA61635@sentinelchicken.net> On Mon, Jun 09, 2008 at 12:04:14AM -0300, Gonzalo Nemmi wrote: > On Sunday 08 June 2008 23:07:28 Steve Quinn wrote: > > --- On Tue, 6/3/08, Schiz0 wrote: > > > Hey, > > > > > > I'm looking for information on how to setup a Virtual > > > Private Network > > > on a FreeBSD 7.0-RELEASE system .... > > > > Hi > > > > I've recently implemented OpenVPN under FreeBSD > > For our team, it's been rock solid > > > > I found the OpenVPN docs were excellent for Windohs/Linux but were lacking > > a little for BSD > > > > I can send you my personal BSD related notes if you like > > > > Take care > > > > Steve > > Please _do_ send them to this list or throw a pointer at where they are at ! > I'm sure more people than you can think of will find them usefull. > I, for once, could really use them :) > > Thanks in advanced > -- > Blessings > Gonzalo Nemmi I second this request. I am getting ready to implement a VPN for a small company and any extra documentation I can get would be greatly appreciated. Regards, ~Jason From edt1023 at ms17.hinet.net Mon Jun 9 03:49:19 2008 From: edt1023 at ms17.hinet.net (Edward G.J. Lee) Date: Mon Jun 9 03:49:27 2008 Subject: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps? In-Reply-To: <484A578A.5040008@rawbw.com> References: <48498735.6030800@rawbw.com> <81a9e3840806070109g5605ca5ag52382cf100b454e6@mail.gmail.com> <484A4FDC.80308@rawbw.com> <81a9e3840806070228q440af610g94cec5599752048c@mail.gmail.com> <484A578A.5040008@rawbw.com> Message-ID: <20080609033309.GA12403@lgj.amnesia.net> On Sat, Jun 07, 2008, Yuri wrote: > Hi Jyun-Yi, > > With these environment variables prompt window pops up from QT apps but > editboxes don't get selected word. > Also all GTK applications begin to speak Chinese. How about, unset LC_ALL unset LANG export LC_CTYPE=zh_TW.UTF-8 Edward From rnichols430 at gmail.com Mon Jun 9 04:04:41 2008 From: rnichols430 at gmail.com (Ryan Nichols) Date: Mon Jun 9 04:04:45 2008 Subject: FreeBSD on a CompactFlash Message-ID: <484CA625.8020602@gmail.com> What im trying to figure out is the best way to install the OS on a compact flash, put it as read only, then install a 2nd HDD to store the mysql data,etc. What is the best way to do this? Thanks. Ryan Nichols From james at icionline.ca Mon Jun 9 04:08:31 2008 From: james at icionline.ca (James) Date: Mon Jun 9 04:08:34 2008 Subject: Whine when EHCI controller enabled in BIOS Message-ID: <7039ada60806082040s36afc2c8n4698402ac5d4ff29@mail.gmail.com> I have a high pitched whine coming from my motherboard when the EHCI USB 2.0 controller is enabled in the BIOS. The whine only starts once FreeBSD 7.0-RELEASE is halfway through booting. The whine also goes away when I plugin a USB drive in with EHCI controller enabled (usb keyboard and mouse being already plugged in). Is this a hardware problem, or could it possibly be software related??? From jwm-freebsd-questions at sentinelchicken.net Mon Jun 9 04:16:16 2008 From: jwm-freebsd-questions at sentinelchicken.net (Jason Morgan) Date: Mon Jun 9 04:16:23 2008 Subject: Whine when EHCI controller enabled in BIOS In-Reply-To: <7039ada60806082040s36afc2c8n4698402ac5d4ff29@mail.gmail.com> References: <7039ada60806082040s36afc2c8n4698402ac5d4ff29@mail.gmail.com> Message-ID: <20080609041515.GB61635@sentinelchicken.net> On Sun, Jun 08, 2008 at 09:40:17PM -0600, James wrote: > I have a high pitched whine coming from my motherboard when the EHCI > USB 2.0 controller is enabled in the BIOS. The whine only starts once > FreeBSD 7.0-RELEASE is halfway through booting. > > The whine also goes away when I plugin a USB drive in with EHCI > controller enabled (usb keyboard and mouse being already plugged in). > > Is this a hardware problem, or could it possibly be software related??? I can't imagine this is a software issue. Sounds strange. Have you tried to see if it isn't a fan issue? We have some Dell GX280s with a bad batch of motherboards at my university---under specific conditions (e.g., using certain video cards) the system fan will spin up 'til the system sounds like it's about to take off. Good luck, ~Jason From mo_kh118 at yahoo.com Mon Jun 9 04:34:58 2008 From: mo_kh118 at yahoo.com (mohammad khatibi) Date: Mon Jun 9 04:35:05 2008 Subject: PXE booting 7.0-R Message-ID: <482799.4165.qm@web90608.mail.mud.yahoo.com> Hi try using this lines in your /usr/local/etc/dhcpd.conf instead of yours : subnet?[your subnet IP] netmask?[your netmask] { ? range [start range] [finish range]; ? next-server [your PXE server IP]; ? filename "pxeboot"; ? option root-path "[your Root server IP (if you mount your server root its obvious that your server IP)]:/"; } and you should make change in your /etc/inetd.conf and comment out this line : tftp?? dgram?? udp wait??? root??? /usr/libexec/tftpd? tftpd -l -s /tftpboot/ place your pxeboot and loader in /tftpboot/ and reboot your system it should solve your problem but if you want to use tftp instead of nfs you should make your pxeboot and loader using tftp enable to do this you can read this article : http://www.ultradesic.com/index.php?section=72 but there is a mistake in this article : after you make new files are place here : pxeboot : /usr/obj/usr/src/sys/boot/i386/pxeldr/ loader : /usr/obj/usr/src/sys/boot/i386/loader/ and you should export / and all its directory for successful loading . for more information you can read this article too. http://www.ultradesic.com/?section=144 I hope you make it ----- Original Message ---- From: CZUCZY Gergely To: freebsd-questions@freebsd.org Sent: Friday, June 6, 2008 1:17:08 PM Subject: PXE booting 7.0-R Hello, I'm trying to PXE boot 7.0-RELEASE, but it stops at a time. At boot I see the following on the screen: BIOS drive C: is disk0 BIOS drive D: is disk1 PXE version 2.1, real mode entry point @9188:0106 BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (toor@myplace, date) pxe_open: server addr: 10.0.0.1 pxe_open: serve path: /wwwbladebsd/ pxe_open: gateway ip: 10.0.0.1 Consoles: internal video/keybaord BIOS drive C: is disk0 BIOS drive D: is diskl BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (toor@myplace, date) Can't work out which disk we are booting from. Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0 can't loader 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK lsdev cd devices: disk devices: disk0: BIOS drive C: disk1: BIOS drive D: pxe devices: on the server I see t serving pxeboot via tftp, and mounting the root via NFS: Jun? 6 11:38:22 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:22 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:24 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:24 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:24 nfs atftpd[2221]: Serving /bsd/pxeboot to 10.0.0.32:2070 Jun? 6 11:38:24 nfs atftpd[2222]: Serving /bsd/pxeboot to 10.0.0.32:2071 Jun? 6 11:38:25 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:25 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:25 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:25 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:25 nfs mountd[2120]: authenticated mount request from 10.0.0.32:1023 for /wwwbladebsd (/wwwbladebsd) (around 30-40 from these NFS mount messages in the log). The NFS server is a linux box right now. The dhcpd.conf: host blade1 { ? hardware ethernet 00:30:48:8d:00:36; ? fixed-address 10.0.0.32; ? server-name "10.0.0.1"; ? filename "/bsd/pxeboot"; ? next-server 10.0.0.1; ? option root-path "/wwwbladebsd/"; } i'm using "atftpd" with /tftpboot as root directory. /tftpboot/bsd/ is a symlink to the root system's /boot . I've NFS-exported /wwwbladebsd/, and that seems to work. The question is, why loader is unable to load the kernel? How could I force the loader to use tftp instead of NFS? Or using any other solutions, how can I make this box boot? If I've left out outsomething from here, please tell me, I will post it. Thanks in advance. -- Sincerely, Gergely CZUCZY Harmless Digital Bt mailto: gergely.czuczy@harmless.hu Tel: +36-30-9702963 From yuri at rawbw.com Mon Jun 9 04:45:27 2008 From: yuri at rawbw.com (Yuri) Date: Mon Jun 9 04:45:34 2008 Subject: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps? In-Reply-To: <20080609033309.GA12403@lgj.amnesia.net> References: <48498735.6030800@rawbw.com> <81a9e3840806070109g5605ca5ag52382cf100b454e6@mail.gmail.com> <484A4FDC.80308@rawbw.com> <81a9e3840806070228q440af610g94cec5599752048c@mail.gmail.com> <484A578A.5040008@rawbw.com> <20080609033309.GA12403@lgj.amnesia.net> Message-ID: <484CB566.6050404@rawbw.com> Edward G.J. Lee wrote: > > unset LC_ALL > unset LANG > export LC_CTYPE=zh_TW.UTF-8 > Thank you Edward, Now gcin menu is shown from QT app and all apps still speak English. But the problem is that selected Chinese character doesn't appear in the editbox in QT applications. Yuri From edt1023 at ms17.hinet.net Mon Jun 9 05:14:15 2008 From: edt1023 at ms17.hinet.net (Edward G.J. Lee) Date: Mon Jun 9 05:14:22 2008 Subject: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps? In-Reply-To: <484CB566.6050404@rawbw.com> References: <48498735.6030800@rawbw.com> <81a9e3840806070109g5605ca5ag52382cf100b454e6@mail.gmail.com> <484A4FDC.80308@rawbw.com> <81a9e3840806070228q440af610g94cec5599752048c@mail.gmail.com> <484A578A.5040008@rawbw.com> <20080609033309.GA12403@lgj.amnesia.net> <484CB566.6050404@rawbw.com> Message-ID: <20080609051339.GA17338@lgj.amnesia.net> On Sun, Jun 08, 2008, Yuri wrote: > Edward G.J. Lee wrote: > > > > unset LC_ALL > > unset LANG > > export LC_CTYPE=zh_TW.UTF-8 > > > > Thank you Edward, > > Now gcin menu is shown from QT app and all apps still speak English. > But the problem is that selected Chinese character doesn't appear in the > editbox in QT applications. Your qt app and gcin must start via zh_TW.UTF-8 environment. We don't have qt immodule in gcin ports yet. Edward ps. You need XIM when you use qt app. In ~/.bash_profile, export QT_IM_MODULE=xim From josh.carroll at gmail.com Mon Jun 9 05:35:04 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Mon Jun 9 05:35:08 2008 Subject: Make buildworld In-Reply-To: <484C8F15.6050208@telenix.org> References: <484BE376.9050301@webrz.net> <484C5D6C.9020401@brianwhalen.net> <484C8F15.6050208@telenix.org> Message-ID: <8cb6106e0806082235h7b9b0926uee377330133a89d6@mail.gmail.com> > I did some testing, at least for me, I get the most improvements when the number > of cores or processors equals the -j number. You can make it higher, even > double it, withoout hurting things, but 95% of the improvements come from > matching the number of processes to the number of available CPUs (and that' by > my own testing, not theory). I've found that on my Q6600 (quad core) system, the optimal is 8 though the improvements after 5 were minimal. It depends if the jobs are I/O bound or not and the scheduler. Although even with ffmpeg, the optimal number of threads with this quad core system is 8. On my previous system with a dual-core chip with the same hardware, the "magic number" was 4 (again, 2x the number of cores). This was with the ULE scheduler, I'm not sure if the same holds true for the 4BSD scheduler or not. And as you said, it's important to use make without -j if the build fails before reporting bugs, since there are no guarantees that world will build properly with multiple jobs. Josh From aryeh.friedman at gmail.com Mon Jun 9 05:44:30 2008 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Mon Jun 9 05:44:33 2008 Subject: OT: forcing thunderbird to download old gmail Message-ID: <484CC33C.30708@gmail.com> I just switched machines and want to force thunderbird to download everything in my "All Mail" folder on gmail.... I tried unreading and/or moving it to my inbox and tb still only dl'ed stuff that was newer then the last time I downloaded last... any ideas? From mo_kh118 at yahoo.com Mon Jun 9 05:54:25 2008 From: mo_kh118 at yahoo.com (mohammad khatibi) Date: Mon Jun 9 05:54:29 2008 Subject: PXE booting 7.0-R Message-ID: <677961.48472.qm@web90602.mail.mud.yahoo.com> hi again you said you use freebsd 7.0 so I told you to do these in freebsd ( that you install dhcp on it!!! to the end I call it pxeserver) not on your Linux Server(and to the end I call your server that you want to boot from and mount its / FileServer)!!! your dhcpd.conf is : > host blade1 { > ? hardware ethernet 00:30:48:8d:00:36; > ? fixed-address 10.0.0.32; > ? server-name "10.0.0.1"; I dont use it and nothing happend > ? filename "/bsd/pxeboot"; you should?place pxeboot where you specify as root-path and write here "pxeboot" > ? next-server 10.0.0.1; > ? option root-path "/wwwbladebsd/"; you should specify your root-path as follow : [FileServer IP]:/ I use "/" because I couldn`t use any path and admonish you not to try anywhere else because it doesn`t work!!! > } after these you should edit inetd in your pxeserver (freebsd) and you should make your pxeboot again if you want to use tftp that briefly explain in that article please do?above steps exactly and?I hope you make it !!! these are my 3 months of working on freebsd for pxeboot ----- Original Message ---- From: CZUCZY Gergely To: mohammad khatibi Cc: CZUCZY Gergely Sent: Monday, June 9, 2008 8:56:47 AM Subject: Re: PXE booting 7.0-R On Sun, 8 Jun 2008 21:34:57 -0700 (PDT) mohammad khatibi wrote: > Hi > try using this lines in your /usr/local/etc/dhcpd.conf instead of > yours : subnet?[your subnet IP] netmask?[your netmask] { > ? range [start range] [finish range]; > ? next-server [your PXE server IP]; > ? filename "pxeboot"; > ? option root-path "[your Root server IP (if you mount your server > root its obvious that your server IP)]:/"; } Yes, I was exactly using these options. > > and you should make change in your /etc/inetd.conf and comment out > this line : tftp?? dgram?? udp wait??? root??? /usr/libexec/tftpd > tftpd -l -s /tftpboot/ place your pxeboot and loader in /tftpboot/ > and reboot your system it should solve your problem Sorry, but you've failed here. 1) I stated the NFS(also tftp) server is Linux, and I'm not using it from inetd. 2) I wasn't asking how are _you_ doing it, the question was, what's wrong with my setup. (After I know what's wrong I can fix it myself, thanks) 3) I've read articles, manuals, etc. I have a problem with it, it's not working as it's supposed to. Anyways, thanks for your efforts. > but if you want to use tftp instead of nfs you should make your > pxeboot and loader using tftp enable to do this you can read this > article : http://www.ultradesic.com/index.php?section=72 but there is > a mistake in this article : after you make new files are place here : > pxeboot : /usr/obj/usr/src/sys/boot/i386/pxeldr/ > loader : /usr/obj/usr/src/sys/boot/i386/loader/ > and you should export / and all its directory for successful > loading . for more information you can read this article too. > http://www.ultradesic.com/?section=144 I hope you make it > ----- Original Message ---- > From: CZUCZY Gergely > To: freebsd-questions@freebsd.org > Sent: Friday, June 6, 2008 1:17:08 PM > Subject: PXE booting 7.0-R > > Hello, > > I'm trying to PXE boot 7.0-RELEASE, but it stops at a time. > > At boot I see the following on the screen: > BIOS drive C: is disk0 > BIOS drive D: is disk1 > > PXE version 2.1, real mode entry point @9188:0106 > BIOS 517kB/3406144kB available memory > > FreeBSD/i386 bootstrap loader, Revision 1.1 > (toor@myplace, date) > pxe_open: server addr: 10.0.0.1 > pxe_open: serve path: /wwwbladebsd/ > pxe_open: gateway ip: 10.0.0.1 > Consoles: internal video/keybaord > BIOS drive C: is disk0 > BIOS drive D: is diskl > BIOS 517kB/3406144kB available memory > > FreeBSD/i386 bootstrap loader, Revision 1.1 > (toor@myplace, date) > Can't work out which disk we are booting from. > Guessed BIOS device 0xffffffff not found by probes, defaulting to > disk0 > > can't loader 'kernel' > > Type '?' for a list of commands, 'help' for more detailed help. > OK lsdev > cd devices: > disk devices: > disk0: BIOS drive C: > disk1: BIOS drive D: > pxe devices: > > on the server I see t serving pxeboot via tftp, and mounting the root > via NFS: Jun? 6 11:38:22 nfs dhcpd: DHCPDISCOVER from > 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:22 nfs dhcpd: DHCPOFFER on > 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:24 nfs dhcpd: > DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 > Jun? 6 11:38:24 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 > via eth1 Jun? 6 11:38:24 nfs atftpd[2221]: Serving /bsd/pxeboot to > 10.0.0.32:2070 Jun? 6 11:38:24 nfs atftpd[2222]: Serving /bsd/pxeboot > to 10.0.0.32:2071 Jun? 6 11:38:25 nfs dhcpd: DHCPDISCOVER from > 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:25 nfs dhcpd: DHCPOFFER on > 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun? 6 11:38:25 nfs dhcpd: > DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 > Jun? 6 11:38:25 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 > via eth1 Jun? 6 11:38:25 nfs mountd[2120]: authenticated mount > request from 10.0.0.32:1023 for /wwwbladebsd (/wwwbladebsd) (around > 30-40 from these NFS mount messages in the log). > > The NFS server is a linux box right now. > > The dhcpd.conf: > host blade1 { > ? hardware ethernet 00:30:48:8d:00:36; > ? fixed-address 10.0.0.32; > ? server-name "10.0.0.1"; > ? filename "/bsd/pxeboot"; > ? next-server 10.0.0.1; > ? option root-path "/wwwbladebsd/"; > } > > i'm using "atftpd" with /tftpboot as root directory. /tftpboot/bsd/ > is a symlink to the root system's /boot . > > I've NFS-exported /wwwbladebsd/, and that seems to work. > > The question is, why loader is unable to load the kernel? > How could I force the loader to use tftp instead of NFS? > > Or using any other solutions, how can I make this box boot? > If I've left out outsomething from here, please tell me, I will post > it. > > Thanks in advance. > > -- Sincerely, Gergely CZUCZY, Harmless Digital mailto: gergely.czuczy@harmless.hu Legacy software is software that works. From letter2steve at yahoo.com Mon Jun 9 06:39:09 2008 From: letter2steve at yahoo.com (Steve Quinn) Date: Mon Jun 9 06:39:13 2008 Subject: Setting up a VPN In-Reply-To: <200806090004.14239.gnemmi@gmail.com> Message-ID: <788677.75096.qm@web51404.mail.re2.yahoo.com> --- On Sun, 6/8/08, Gonzalo Nemmi wrote: > Please _do_ send them to this list or throw a pointer at > where they are at ! > I'm sure more people than you can think of will find > them usefull. > I, for once, could really use them :) > Hi Gonzalo, all I knew I should have done that in the first place, sorry :-) They were embarrassingly messy so I resisted I just fixed them up a bit I hope they can be of help See OpenVPN from http://www.isgsp.net/freebsd/index.html Take care Steve From gergely.czuczy at harmless.hu Mon Jun 9 06:50:47 2008 From: gergely.czuczy at harmless.hu (CZUCZY Gergely) Date: Mon Jun 9 06:50:52 2008 Subject: PXE booting 7.0-R In-Reply-To: <677961.48472.qm@web90602.mail.mud.yahoo.com> References: <677961.48472.qm@web90602.mail.mud.yahoo.com> Message-ID: <20080609085042.2c57d83e@twoflower.in.publishing.hu> I've tried also specifing the IP for root-path, but as it seems, the hosts defaults to server-name or next-server (these are the same for me), so it's not neccessery to specify the IP in root-path. Also the fileserver and the dhcp server are the same. You should have seen this in the included config I gave. Furthermore, meanwhile we've noticed that loader fails to get the pxe variables when the onboard ra