From owner-freebsd-questions@FreeBSD.ORG Tue Jan 23 09:43:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5FD116A401 for ; Tue, 23 Jan 2007 09:43:35 +0000 (UTC) (envelope-from remy@unix-asp.com) Received: from mx1.unix-asp.com (deruysscher.speedxs.nl [83.98.233.137]) by mx1.freebsd.org (Postfix) with ESMTP id C349013C442 for ; Tue, 23 Jan 2007 09:43:18 +0000 (UTC) (envelope-from remy@unix-asp.com) Received: from ENTERPRISE (enterprise.uss [10.0.1.1]) by mx1.unix-asp.com (Postfix) with ESMTP id 5E85161C09 for ; Tue, 23 Jan 2007 10:17:50 +0100 (CET) From: "Remy de Ruysscher" To: References: In-Reply-To: Date: Tue, 23 Jan 2007 10:17:32 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acc+vxqkgN0Dd1JKRAaRp1UuWDTEQwAD7yHg Content-Language: nl x-cr-hashedpuzzle: APPS As64 CJ9F DwBP FOqb FPuY GNrw H0yT IQ1P IVI1 JDKs JcPh Ku5p K5H/ LCbx LbR7; 1; ZgByAGUAZQBiAHMAZAAtAHEAdQBlAHMAdABpAG8AbgBzAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnAA==; Sosha1_v1; 7; {9411B979-32FB-4032-9E38-BF145ACB7FAB}; cgBlAG0AeQBAAHUAbgBpAHgALQBhAHMAcAAuAGMAbwBtAA==; Tue, 23 Jan 2007 09:17:27 GMT; UwBlAHIAdgBlAHIAcwAgAGEAcgBlACAAdQBzAGkAbgBnACAAbABpAG0AaQB0AGUAZAAgAGEAbQBvAHUAbgB0ACAAbwBmACAAbQBlAG0AbwByAHkAIABhAGYAdABlAHIAIAB1AHAAZwByAGEAZABlACAAZgByAG8AbQAgADYALgAyAC0AUABSAEUAIAB0AG8AIAA2AC4AMgAtAFMAVABBAEIATABFAA== x-cr-puzzleid: {9411B979-32FB-4032-9E38-BF145ACB7FAB} X-MailScanner-Information: Please contact root@unix-asp.com for more information X-MailScanner: Found to be clean X-unix-asp.com-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.533, required 4.1, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_05 -1.11, ISO_7BITS 0.50, LONGWORD 0.30, MR_BAD_QUOTE_1 1.00, SMILEY -0.50, TW_ZL 0.08) X-unix-asp.com-MailScanner-From: remy@unix-asp.com Message-Id: <20070123094318.C349013C442@mx1.freebsd.org> Subject: Servers are using limited amount of memory after upgrade from 6.2-PRE to 6.2-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2007 09:43:35 -0000 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of freebsd-questions-request@freebsd.org Sent: dinsdag 23 januari 2007 8:17 To: freebsd-questions@freebsd.org Subject: freebsd-questions Digest, Vol 162, Issue 4 Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@freebsd.org You can reach the person managing the list at freebsd-questions-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-questions digest..." Today's Topics: 1. Re: rsync issues (Peter Pluta) 2. RE: PCIe Core2 Duo Motherboard? (Philippe Lang) 3. Re: Firefox keeps beeping at me ... (Glenn Becker) 4. Re: rsync issues (Bill Moran) 5. Re: rsync issues (Jay Chandler) 6. Re: rsync issues (Greg Albrecht) 7. Re: how to know what DNS server is being used (Dan Nelson) 8. Re: PCIe Core2 Duo Motherboard? (Ivan Voras) 9. Re: how to know what DNS server is being used (Matthew Seaman) 10. Re: more than 7 partitions on a SCSI-drive (Erik Trulsson) 11. Re: 5.3 -> 6.2 should work right? (Erik Trulsson) 12. Re: Use of CVS (Damian Wiest) 13. Re: Sun Fire x2100 (Damian Wiest) 14. Re: Install from CVS? (Damian Wiest) 15. Re: hardware mirrors recognized as individual disks in fbsd (Damian Wiest) 16. Re: Daylight savings time / 6.1 and 4.11 (Damian Wiest) 17. Re: Subject: Re: Execute script every time a specified user logs in (FreeB SD 6.1) (Damian Wiest) 18. cache logs (Helen.Nanong@pngharbours.com.pg) 19. paragui-1.0.4 fails - wants earlier version of libSDL (Joshua Tinnin) 20. Re: cache logs (Chuck Swiger) 21. Company Representative Is Needed. (Saint Zero) 22. Re: php5-session port seems borked (Jeff MacDonald) 23. Company Representative Is Needed. (Saint Zero) 24. 6.2-REL w/ SuperMicro Pentium D board, installer problem? (chris neill) 25. gmirror setup (Jonathan Horne) 26. Re: more than 7 partitions on a SCSI-drive (Garrett Cooper) 27. Re: trouble mounting Olympus WS-310M voice recorder (Garrett Cooper) 28. Re: php5-session port seems borked (Pieter de Goeje) 29. Re: gmirror setup (Jason Morgan) 30. Mirroring FreeBSD (Olivier Nicole) 31. Re: trouble mounting Olympus WS-310M voice recorder (ajm) 32. RE: PCIe Core2 Duo Motherboard? (Philippe Lang) 33. Re: trouble mounting Olympus WS-310M voice recorder (Garrett Cooper) ---------------------------------------------------------------------- Message: 1 Date: Mon, 22 Jan 2007 15:15:09 -0600 From: Peter Pluta Subject: Re: rsync issues To: freebsd-questions@freebsd.org Message-ID: <45B5295D.3020205@placidpublishing.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Anyone? Peter Pluta wrote: > I have a win2k3 server running as my rsync server. I also have a > freebsd web server being the rsync client. A shell script runs every > night at 5am (it's below). > > Shell script: > > #!/bin/sh > . `dirname $0`/settings.inc > destination=**.***.***.***::backup > if [ "$TERM" ]; then verbose=-v; fi > rsync $verbose -azR --delete-after /usr/local/etc/ $destination > rsync $verbose -azR --delete-after /usr/local/lib/sasl2/ $destination > rsync $verbose -azR --delete-after /var/cron/ $destination > rsync $verbose -azR --delete-after /root/ $destination > rsync $verbose -azR --delete-after /etc/ $destination > rsync $verbose -azR --delete-after --exclude httpd-*.log $wwwDir/ > $destination > > After it runs for 5 minutes it throws this: > rsync: writefd_unbuffered failed to write 16385 bytes [sender]: Broken > pipe (32) > rsync: read error: Connection reset by peer (54) > rsync error: error in rsync protocol data stream (code 12) at > io.c(613) [sender=2.6.9] > > Dmesg on the box only shows this: > em0: promiscuous mode enabled > em0: promiscuous mode disabled > > But that is probably pretty old. > > What can the problem be? backups are really important to me and they > don't currently work as the transfer times out after the first few files. > > Anyone got an idea? Any feedback or suggestions would be greatly > appreciated. > > Thanks, > Peter > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" ------------------------------ Message: 2 Date: Mon, 22 Jan 2007 22:15:52 +0100 From: "Philippe Lang" Subject: RE: PCIe Core2 Duo Motherboard? To: "Ivan Voras" , Message-ID: <6C0CF58A187DA5479245E0830AF84F421D171A@poweredge.attiksystem.ch> Content-Type: text/plain; charset="US-ASCII" owner-freebsd-questions@freebsd.org wrote: >> 2) Can anyone suggest a well supported board with gigabit lan, >> onboard video, and PCIe expansion, that accepts Core2 Duo CPUs? > > If you're willing to pay for it, server boards will suit you better. > For example something like this: > http://www.supermicro.com/products/motherboard/Xeon1333/5000P/X7DBE.cfm This board ships with a 82563EB network controller, which is AFAIK not supported under FreeBSD yet. I haven't tested it, so maybe I'm wrong? Latest intel drivers vresion 6.2.9 says: typedef enum { em_undefined = 0, em_82542_rev2_0, em_82542_rev2_1, em_82543, em_82544, em_82540, em_82545, em_82545_rev_3, em_82546, em_82546_rev_3, em_82541, em_82541_rev_2, em_82547, em_82547_rev_2, em_82571, em_82572, em_82573, em_80003es2lan, em_ich8lan, em_num_macs } em_mac_type; Philippe ------------------------------ Message: 3 Date: Mon, 22 Jan 2007 21:21:30 +0000 (UTC) From: Glenn Becker Subject: Re: Firefox keeps beeping at me ... To: Jorge Aldana Cc: freebsd-questions@freebsd.org Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Jorge - > I know this one. The debug option is on, you need to turn it off, the > file is here: /var/db/ports/firefox/options I'll try this out when I get home - thanks! GB +-----------------------------------------------------+ Glenn Becker - burningc@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org +-----------------------------------------------------+ ------------------------------ Message: 4 Date: Mon, 22 Jan 2007 16:25:19 -0500 From: Bill Moran Subject: Re: rsync issues To: Peter Pluta Cc: freebsd-questions@freebsd.org Message-ID: <20070122162519.cc3a0838.wmoran@collaborativefusion.com> Content-Type: text/plain; charset=US-ASCII In response to Peter Pluta : > > Peter Pluta wrote: > > I have a win2k3 server running as my rsync server. I also have a > > freebsd web server being the rsync client. A shell script runs every > > night at 5am (it's below). > > > > Shell script: > > > > #!/bin/sh > > . `dirname $0`/settings.inc > > destination=**.***.***.***::backup > > if [ "$TERM" ]; then verbose=-v; fi > > rsync $verbose -azR --delete-after /usr/local/etc/ $destination > > rsync $verbose -azR --delete-after /usr/local/lib/sasl2/ $destination > > rsync $verbose -azR --delete-after /var/cron/ $destination > > rsync $verbose -azR --delete-after /root/ $destination > > rsync $verbose -azR --delete-after /etc/ $destination > > rsync $verbose -azR --delete-after --exclude httpd-*.log $wwwDir/ > > $destination > > > > After it runs for 5 minutes it throws this: > > rsync: writefd_unbuffered failed to write 16385 bytes [sender]: Broken > > pipe (32) > > rsync: read error: Connection reset by peer (54) > > rsync error: error in rsync protocol data stream (code 12) at > > io.c(613) [sender=2.6.9] > > > > Dmesg on the box only shows this: > > em0: promiscuous mode enabled > > em0: promiscuous mode disabled > > > > But that is probably pretty old. > > > > What can the problem be? backups are really important to me and they > > don't currently work as the transfer times out after the first few files. > > > > Anyone got an idea? Any feedback or suggestions would be greatly > > appreciated. I don't know what your problem is, but I can make some recommendations on debugging it. *) Are you running it verbosely when this happens? Crank the verbosity up as high as it will go on both the client and the server and see if anything shows up. Is the a DEBUG option available if you recompile? *) Got any network monitoring stuff available? Heavy packet loss? *) Try ktracing the process while it's running. Should narrow down the cause a good bit. Or maybe attach gdb to it. *) Try rsycing to a local directory to see if it still happens. That should narrow the problem down to either network or not. *) fsck your disks? Hope some of this is helpful. Generally, when I have mystery errors, I start with ktrace. If you're not familiar with it, ktrace can be a bit overwhelming, but it's got lotsa useful information. Same can be said for gdb. -- Bill Moran Collaborative Fusion Inc. ------------------------------ Message: 5 Date: Mon, 22 Jan 2007 13:25:59 -0800 From: Jay Chandler Subject: Re: rsync issues To: Peter Pluta Cc: freebsd-questions@freebsd.org Message-ID: <45B52BE7.2030803@chapman.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Peter Pluta wrote: > Anyone? > > Peter Pluta wrote: >> I have a win2k3 server running as my rsync server. I also have a >> freebsd web server being the rsync client. A shell script runs every >> night at 5am (it's below). >> >> Shell script: >> >> #!/bin/sh >> . `dirname $0`/settings.inc >> destination=**.***.***.***::backup >> if [ "$TERM" ]; then verbose=-v; fi >> rsync $verbose -azR --delete-after /usr/local/etc/ $destination >> rsync $verbose -azR --delete-after /usr/local/lib/sasl2/ $destination >> rsync $verbose -azR --delete-after /var/cron/ $destination >> rsync $verbose -azR --delete-after /root/ $destination >> rsync $verbose -azR --delete-after /etc/ $destination >> rsync $verbose -azR --delete-after --exclude httpd-*.log $wwwDir/ >> $destination >> >> After it runs for 5 minutes it throws this: >> rsync: writefd_unbuffered failed to write 16385 bytes [sender]: >> Broken pipe (32) >> rsync: read error: Connection reset by peer (54) >> rsync error: error in rsync protocol data stream (code 12) at >> io.c(613) [sender=2.6.9] >> >> Dmesg on the box only shows this: >> em0: promiscuous mode enabled >> em0: promiscuous mode disabled >> >> But that is probably pretty old. >> >> What can the problem be? backups are really important to me and they >> don't currently work as the transfer times out after the first few >> files. >> >> Anyone got an idea? Any feedback or suggestions would be greatly >> appreciated. >> >> Thanks, >> Peter >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" Looks like the 2k3 box is resetting the connection for whatever reason. -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / chandler@chapman.edu Today's Excuse: excess surge protection ------------------------------ Message: 6 Date: Mon, 22 Jan 2007 13:41:15 -0800 From: "Greg Albrecht" Subject: Re: rsync issues To: "Peter Pluta" Cc: freebsd-questions@freebsd.org Message-ID: <39ed86f90701221341r64592914x21ad24e6fbe561e1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 21/01/07, Peter Pluta wrote: > After it runs for 5 minutes it throws this: > rsync: writefd_unbuffered failed to write 16385 bytes [sender]: Broken > pipe (32) > rsync: read error: Connection reset by peer (54) > rsync error: error in rsync protocol data stream (code 12) at io.c(613) > [sender=2.6.9] i had a similar problem and the fix ended up being pretty simple: make sure the windows box has the right duplex setting, eg: 100full -g -- Greg Albrecht (gregoryba@gmail.com) An Indie, Hip Hop and IDM Podcast: The Letter G http://theletterg.org ------------------------------ Message: 7 Date: Mon, 22 Jan 2007 15:42:32 -0600 From: Dan Nelson Subject: Re: how to know what DNS server is being used To: patrick Cc: Robert Huff , FreeBSD Questions Message-ID: <20070122214232.GB4120@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii In the last episode (Jan 22), patrick said: > On 10/28/06, Matthew Seaman wrote: > >On recent FreeBSD, the resolver actually iterates through the listed > >nameserver lines in order, sending the query out to each in turn > >until it gets a response. It used to be that the resolver would > >wait for the full 30s DNS timeout before trying the next server > >(hence the cry dreaded by sysadmins everywhere that "the Internet is > >slow today"), but nowadays > > Is there any way to configure this 30 second delay for older versions > of FreeBSD (eg. 4.11)? You should be able to apply the changes made in rev1.31 of /usr/src/lib/libc/net/res_init.c ; the commit log for that revision is revision 1.31 date: 2003/12/07 12:32:24; author: murray; state: Exp; lines: +20 -0 Add support for timeout: and attempts: resolver options. Submitted by: Paul Vixie / ISC MFC After: 1 week Apparently the MFC never happened :) -- Dan Nelson dnelson@allantgroup.com ------------------------------ Message: 8 Date: Mon, 22 Jan 2007 22:59:38 +0100 From: Ivan Voras Subject: Re: PCIe Core2 Duo Motherboard? To: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset="utf-8" Philippe Lang wrote: > owner-freebsd-questions@freebsd.org wrote: > >>> 2) Can anyone suggest a well supported board with gigabit lan, >>> onboard video, and PCIe expansion, that accepts Core2 Duo CPUs? >> If you're willing to pay for it, server boards will suit you better. >> For example something like this: >> > http://www.supermicro.com/products/motherboard/Xeon1333/5000P/X7DBE.cfm > > This board ships with a 82563EB network controller, which is AFAIK not > supported under FreeBSD yet. I haven't tested it, so maybe I'm wrong? > > Latest intel drivers vresion 6.2.9 says:... I can't reliably explain it. Maybe I've got an OEM version with some other NIC or someone stuck an additional NIC in it before it got to me. Or maybe the documentation or the driver are wrong :) -------------- 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/20070122/3d f1481d/signature-0001.pgp ------------------------------ Message: 9 Date: Mon, 22 Jan 2007 22:21:50 +0000 From: Matthew Seaman Subject: Re: how to know what DNS server is being used To: patrick Cc: Robert Huff , FreeBSD Questions Message-ID: <45B538FE.50409@infracaninophile.co.uk> Content-Type: text/plain; charset="iso-8859-15" patrick wrote: > On 10/28/06, Matthew Seaman wrote: > >> On recent FreeBSD, the resolver actually iterates through the listed >> nameserver lines in order, sending the query out to each in turn until >> it gets a response. It used to be that the resolver would wait for the >> full 30s DNS timeout before trying the next server (hence the cry dreaded >> by sysadmins everywhere that "the Internet is slow today"), but nowadays > > Is there any way to configure this 30 second delay for older versions > of FreeBSD (eg. 4.11)? Nope. It's specified in the DNS RFCs, and consequently built into the client side resolver stuff in libc. 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: 250 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070122/0b a51815/signature-0001.pgp ------------------------------ Message: 10 Date: Mon, 22 Jan 2007 23:23:20 +0100 From: Erik Trulsson Subject: Re: more than 7 partitions on a SCSI-drive To: Christian Baer Cc: freebsd-questions@freebsd.org Message-ID: <20070122222320.GA30161@owl.midgard.homeip.net> Content-Type: text/plain; charset=us-ascii On Mon, Jan 22, 2007 at 08:10:15PM +0100, Christian Baer wrote: > On Mon, 22 Jan 2007 07:42:36 -0600 Doug Poland wrote: > > > # Device Mountpoint FStype Options Dump Pass# > > /dev/da0s1b none swap sw 0 0 > > /dev/da0s1a / ufs rw 1 1 > ^^^^^^ > > Where did you get to create slices. When I installed this system (Sun > U60) sysinstall didn't offer the possibility of creating a slice at all. > The only devices of this sort that I can create are da0x and da1x - no 's'! > > Is this due to the SPARC64 plattform or did I miss something? It is almost certainly due to your platform. Slices (aka partitions in MS-DOS) are pretty much specific to the IBM PC (and derivatives thereof.) -- Erik Trulsson ertr1013@student.uu.se ------------------------------ Message: 11 Date: Mon, 22 Jan 2007 23:26:15 +0100 From: Erik Trulsson Subject: Re: 5.3 -> 6.2 should work right? To: Nagy L?szl? Zsolt Cc: "B. Cook" , freebsd-questions@freebsd.org Message-ID: <20070122222615.GB30161@owl.midgard.homeip.net> Content-Type: text/plain; charset=iso-8859-1 On Mon, Jan 22, 2007 at 06:44:26PM +0100, Nagy Laszls Zsolt wrote: > B. Cook wrote: > >I'm inheriting an older network and I'm trying to update it.. > > > >cvsup to 6_2.. > > > >Doing a build kernel && install kernel > > > >then reboot and build world && install world && mergemaster -p if needed > > > >then rebuild the kernel and reinstall it.. > > > >right? > > > >I couldn't see anything major in UPDATING.. am I missing something? > First, you should update your system to RELENG_5_5. Then probably you > can try to update to RELENG_6_2. It is always good to update to the > latest minor before you update to a different major version. > > By the way, updating a system from 5 to 6 is a headache. (Updating from > 4 to 5 is much easier.) It is the other way around in my experience. Going from 4.x to 5.x is quite a bit of work and not for the faint of heart. From 5 to 6 is not much more difficult than upgrading from (say) 5.4 to 5.5 or 6.1 to 6.2 > Many will suggest (including me) to install your > new 6.2 system from binaries, and then transfer your programs and users, > if possible. -- Erik Trulsson ertr1013@student.uu.se ------------------------------ Message: 12 Date: Mon, 22 Jan 2007 18:41:53 -0600 From: Damian Wiest Subject: Re: Use of CVS To: Doug Hardie Cc: Norberto Meijome , freebsd-questions Message-ID: <20070123004153.GB22569@dfwdamian.vail> Content-Type: text/plain; charset=us-ascii On Thu, Jan 11, 2007 at 08:35:43PM -0800, Doug Hardie wrote: > > On Jan 11, 2007, at 18:28, Norberto Meijome wrote: > > >On Thu, 11 Jan 2007 11:35:38 -0800 > >Doug Hardie wrote: > > > >> Any suggestions on these approaches will be appreciated. > >>Thanks, > > > >I suggest you read the CVS Red book, in particular the section on > >branch > >management and merging. > >http://cvsbook.red-bean.com/cvsbook.html > > > >I agree with other posters, you may want to move to newer SCM > >systems... I've > >been using SVN for a while now, and couldn't be happier. There's > >also a SVN red > >book , with sections for current CVS users to understand the > >differences. > > Thanks. I have started reading them. Don't forget the Cderquist! It should have been installed along with the CVS binary and man pages. I haven't used Subversion myself, but have plenty of experience with release management using CVS. If you start using branches, make sure you keep complete and accurate documentation of your branching and merging. Also, make sure you understand what will and will not get merged in certain situations. For example, it's fairly common to make the following mistake: 1) You main development branch is on the trunk. 2) You create a branch for some development and add some new directories 3) You prepare for a merge by updating to the latest version of the trunk with something like "cvs -q up -PAd" 4) You perform your merge operation: "cvs -q up -j DEV_BRANCH" You will not have merged your new directories to the trunk. This is because you pruned empty directories in step 3 and CVS will only examine directories that exist in your working copy during a merge. -Damian ------------------------------ Message: 13 Date: Mon, 22 Jan 2007 18:18:11 -0600 From: Damian Wiest Subject: Re: Sun Fire x2100 To: Peter Thoenen Cc: DAve , Free BSD Questions list Message-ID: <20070123001811.GA22569@dfwdamian.vail> Content-Type: text/plain; charset=us-ascii On Mon, Jan 08, 2007 at 02:27:15PM -0800, Peter Thoenen wrote: > --- DAve wrote: > > Is anyone running FreeBSD on a Sun Fire X2100? Any caveats I should > > know > > about? > > I don't recommend them if you plan to use as a file server. They have > an issue with randomly rebooting under a large network load with > thousands of open connections. Have seen this on my system and have > have had a dozen or so folk email me with the identical problem. > > -Peter I've had the same problem, but with x86 systems (specifically an IBM xSeries system and a home-built AMD64 system) running FreeBSD 6.0 (IIRC). These systems were on a home cable modem connection and there were pretty regular break-in attempts. When reviewing logs, I'd see attempts to brute-force logins and passwords for the ftp and ssh services. I eventually had to turn ftpd off since it seemed guaranteed to panic the box during one of these cracking attempts. sshd seemed to handle things better, but I have had one panic occur. I haven't tried 6.2 to see if I encounter similar problems. -Damian ------------------------------ Message: 14 Date: Mon, 22 Jan 2007 18:57:54 -0600 From: Damian Wiest Subject: Re: Install from CVS? To: Jay Chandler Cc: FreeBSD Questions Message-ID: <20070123005754.GC22569@dfwdamian.vail> Content-Type: text/plain; charset=us-ascii On Mon, Jan 15, 2007 at 04:11:51PM -0800, Jay Chandler wrote: > Is it possible to install (instead of upgrading) FreeBSD from my local > CVS repository? Looking to find a good way to automate installations, > and figured I'd start there. > > -- > Jay Chandler > Network Administrator, Chapman University > 714.628.7249 / chandler@chapman.edu > Today's Excuse: emissions from GSM-phones I really need to do the same sort of thing for the *BSD systems I admin. You may want to look at Ghost 4 Unix, although for the record I have not yet tried it. Our Solaris installs have been automated using Jumpstart and cfengine, but we haven't worked out a similar system for the BSDs. A quick and dirty hack that's worked for me thus far is to mirror your primary disk with gmirror, then pull the second drive and just insert it into a new system. You'll then want to modify the typical files with the new IP, hostname, etc. If you end up using gmirror on the new system, be sure you do a "gmirror forget" to erase the metadata stored at the end of the disk. If you forget to do this, you'll run into some issues when to try to create the new mirror. -Damian ------------------------------ Message: 15 Date: Mon, 22 Jan 2007 19:16:59 -0600 From: Damian Wiest Subject: Re: hardware mirrors recognized as individual disks in fbsd To: Steve Franks Cc: FreeBSD Users Questions Message-ID: <20070123011659.GD22569@dfwdamian.vail> Content-Type: text/plain; charset=us-ascii On Tue, Jan 16, 2007 at 11:33:47AM -0700, Steve Franks wrote: > I'm tired of win2k crashing, and we won't even go into my opinion of vista's > strongarm marketing tactics (read: changing my hardware means I have to pay > again? they can keep their OS). > > Problem is, I've got 320GB of accumulated detrius on ntfs volumes to > migrate. I see there is some good r/w ports for ntfs, so I'm willing to > evaluate that to see if it's stable (shoestring budget here obviously - this > is my personal stuff only). > > Forging ahead, I get ready to start playing the mounting game, but > lo-and-behold, suddenly I have 4 disks whereas in windows I had two. Now I > praise FreeBSD for it's superior intellect here, but now I have a problem. > I want two 160GB mirrored volumes, not 4 unmirrored ones. The RAID is an > ASUS P5DR1-VM motherboard with a ULI raid chipset onboard. Very nice setup > for the money. > > Is this normal? Am I going to break my mirror if I mount a single disk? If > so, how do I mount a mirror? > > Thanks, > Steve > > -- > Steve Franks, KE7BTE > Staff Engineer > La Palma Devices, LLC > http://www.lapalmadevices.com > (520) 312-0089 It sounds like your onboard RAID chip is either not supported, or the appropriate driver is not being loaded. Can you post the output of dmesg? Also, be aware that you may not really have a hardware RAID chip. Many (most?) times the onboard chips simply make multiple disks look like a single LUN to the operating system; they also require driver support. Real hardware RAID chips/cards tend to be expensive, proprietary, don't require an OS driver and include a battery backup system for data in the RAID cache should the system lose power. You may want to read up on gmirror. -Damian ps. I've got at least a half-dozen different x86 system boards that include these crappy RAID chips from vendors like nVidia, Intel, Adaptec, LSI, etc. Typically you get closed-source, Windows-only driver support. pps. If you do want real hardware RAID support under FreeBSD, I've had great experiences with the Promise arrays (m500 and m300) and one of the PCI cards (I'd have to check on the exact model). ------------------------------ Message: 16 Date: Mon, 22 Jan 2007 19:23:27 -0600 From: Damian Wiest Subject: Re: Daylight savings time / 6.1 and 4.11 To: hal Cc: freebsd-questions@FreeBSD.ORG Message-ID: <20070123012327.GE22569@dfwdamian.vail> Content-Type: text/plain; charset=us-ascii On Tue, Jan 16, 2007 at 01:31:22PM -0700, hal wrote: > This came down from above?! > > Beginning in 2007, Daylight Savings Time will be lengthened one month > by starting three weeks earlier (2AM on the second Sunday in March) > and ending one week later (2AM on the first Sunday in November). > > > What patch levels do I need to be at for my 4.7 and 6.1 systems to be > daylight savings 2007 ready? > > Currently: 4.11-RELEASE-p25 > > Currently: 6.1-RELEASE-p10 > > hal You can grab the latest zoneinfo file from http://www.nih.gov/ and recompile it with /usr/sbin/zic. Yeah, you could use the ports tree, but I prefer using methods that are a little more portable across operating systems. I've got like two dozen different OS releases of various flavors to update with the new timezone information. -Damian ------------------------------ Message: 17 Date: Mon, 22 Jan 2007 19:32:58 -0600 From: Damian Wiest Subject: Re: Subject: Re: Execute script every time a specified user logs in (FreeB SD 6.1) To: "gs_stoller@juno.com" Cc: pieter@degoeje.nl, George.Vanev@gmail.com, freebsd-questions@freebsd.org Message-ID: <20070123013258.GF22569@dfwdamian.vail> Content-Type: text/plain; charset=us-ascii > > On Jan 17, 2007, at 18:46 , George Vanev wrote: > > >> On 1/17/07, Pieter de Goeje wrote: > >>> > >>> On Wednesday 17 January 2007 11:49, George Vanev wrote: > >>>> Every time user X (for example) logs in the system I want to execute some script. > >>>> The user must not have the permission to change this behavior. > >>>> Also the script must be run as root. > >>>> Something like crontab, but depending on logins, not time > >>>> > >>>> Any ideas?! > >>> If this user logs in via SSH you can use the ForceCommand keyword in > >>> sshd_config(5) to execute your script. The root part can be > >>> achieved with sudo(8) . > >>> > >>> Regards, > >>> Pieter de Goeje > >>> > >> > >> Thanks, nice idea. But it seems I can't use it. > >> Let me be more specific: > >> If user X logs in then I want to run "/usr/bin/script -aq /path/user_X" > >> The file user_X must be protected from modifying/deleting > >> > >> Could this be done?! > >> > >> -- > >> George Vanev > A simple technique is to have /etc/profile check for user X and for him > source another file (containing the commands which X can't modify). Have root > own this file and allow all others to only read and execute it. sudo is unnecessary. > This is inelegant in that it has a general and widely used file look for special cases, > but that is something that almost all programs do. This inelegancy is present in other > places in UNIX . FWIW if you're really feeling up to it you can simply craft your own shell for the user. You can write a short C program that forks a process, and call execve() with your script in the child, and then execve() with their desired shell in the parent. I'm probably mistaken about this, but I didn't think /etc/profile was necessarily executed should someone login via ssh. -Damian ------------------------------ Message: 18 Date: Tue, 23 Jan 2007 11:43:05 +1000 From: Helen.Nanong@pngharbours.com.pg Subject: cache logs To: questions@FreeBSD.org Message-ID: Content-Type: text/plain; charset="US-ASCII" I am running FreeBSD 4.4 and currently have the following displayed as output from the command df FileSystem 1K blocks Used Available Capacity Mounted on /dev/ad0s1a 63503 63214 -4791 108% / In issuing the following command: du / | sort -n the following 5 files are listed as biggest in size / /usr /usr/local /usr/local/squid /usr/local/squid/cache I would like some assistance as to how to go about removing/clearing the files, in this case I assume the cache logs would have to be removed to clear up the space in /. Any assistance on this will be appreciated. Helen Nanong Systems Administrator PNG Ports Corporation Limited P.O Box 671 Port Moresby Phone: 321 1400 (Switch) 308 4202 (Direct) Fax: 321 1546 Email: helen.nanong@pngharbours.com.pg _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the originator of the message. This footer also confirms that this e-mail message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of PNG Harbours Limited. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. ------------------------------ Message: 19 Date: Mon, 22 Jan 2007 19:07:55 -0700 From: Joshua Tinnin Subject: paragui-1.0.4 fails - wants earlier version of libSDL To: freebsd-questions@freebsd.org Message-ID: <20070123020755.GA73904@smogmonster.local> Content-Type: text/plain; charset=us-ascii I've run into this problem since the ports freeze, still getting it now. As mentioned in this thread: http://lists.freebsd.org/pipermail/freebsd-ports/2006-September/035572.html except that the answer here: http://lists.freebsd.org/pipermail/freebsd-ports/2006-September/035573.html doesn't work. I don't know enough about libtool to understand which port is referencing the old version of libSDL. Here's the failure: ... Making all in data Making all in bindings Making all in test Making all in keyboard c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include -O -pipe -march=athlon-xp -Wall -I/usr/local/include/freetype2 -I/usr/local/include -fno-exceptions -c keyboard.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include -O -pipe -march=athlon-xp -Wall -I/usr/local/include/freetype2 -I/usr/local/include -fno-exceptions -c main.cpp /bin/sh /usr/local/bin/libtool --mode=link c++ -O -pipe -march=athlon-xp -Wall -I/usr/local/include/freetype2 -I/usr/local/include -fno-exceptions -L/usr/X11R6/lib -L/usr/local/lib -pthread -o keyboard keyboard.o main.o -L../../src/.libs -lparagui -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_image -lexpat -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -lstdc++ -lpng -ltiff -ljpeg mkdir .libs libtool: link: cannot find the library `/usr/local/lib/libSDL-1.1.la' or unhandled argument `/usr/local/lib/libSDL-1.1.la' *** Error code 1 Stop in /usr/ports/x11-toolkits/paragui/work/paragui-1.0.4/test/keyboard. *** Error code 1 Stop in /usr/ports/x11-toolkits/paragui/work/paragui-1.0.4/test. *** Error code 1 Stop in /usr/ports/x11-toolkits/paragui/work/paragui-1.0.4. *** Error code 1 Stop in /usr/ports/x11-toolkits/paragui. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.57570.1 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=paragui-1.0.4_5 UPGRADE_PORT_VER=1.0.4_5 make ** Fix the problem and try again. ---> Skipping 'games/asc' (asc-1.16.3.0) because a requisite package 'paragui-1.0.4_5' (x11-toolkits/paragui) failed (specify -k to force) ** Listing the failed packages (*:skipped / !:failed) ! x11-toolkits/paragui (paragui-1.0.4_5) (unknown build error) * games/asc (asc-1.16.3.0) ---> Packages processed: 0 done, 33 ignored, 1 skipped and 1 failed It's also happening when trying to upgrade from openoffice.org-2.0.3 to openoffice.org-2.1.0. Am running: FreeBSD smogmonster.local 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #0: Sun Sep 10 16:20:43 MDT 2006 krinklyfig@smogmonster.local:/usr/obj/usr/src/sys/MYKERNEL61 i386 - jt ------------------------------ Message: 20 Date: Mon, 22 Jan 2007 18:46:11 -0800 From: Chuck Swiger Subject: Re: cache logs To: Helen.Nanong@pngharbours.com.pg Cc: questions@FreeBSD.org Message-ID: <9DCBAEB0-931E-47B8-B02D-CB7782618ADA@mac.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Jan 22, 2007, at 5:43 PM, Helen.Nanong@pngharbours.com.pg wrote: > I am running FreeBSD 4.4 and currently have the following > displayed as > output from the command df > > > FileSystem 1K blocks Used Available Capacity > Mounted > on > /dev/ad0s1a 63503 63214 -4791 > 108% / > > > In issuing the following command: du / | sort -n the following 5 > files are > listed as biggest in size It's almost certain that you've got more partitions on that machine, and that the files under /usr are on another partition then the root partition. Try using "du -x /" to only consider files on the root partition without crossing filesystem mountpoints.... -- -Chuck ------------------------------ Message: 21 Date: Tue, 23 Jan 2007 04:10:11 +0100 (CET) From: Saint Zero Subject: Company Representative Is Needed. To: questions@freebsd.org Message-ID: <20070123031011.09A9080EBD1@p15178485.pureserver.info> Content-Type: text/plain Good Day Barry Travels and Tours Limited, An Asian Based Multinational Company seek the service of a liaison officer who would act as a medium of reaching our customers abroad. Your Job is to receive payment on our behalf and settle our clients with the payment. If you choose to work with us, you do not need to quite your present job, or have problems with your employers as this is on a part time basis. An agent commission would be paid to you on a weekly basis. Kindly reply so that i can provide you with more details. KINDLY INDICATE YOUR ACCEPTANCE BY FILLING THE BELOW FORM SO THAT WE CAN SEND YOU THE PAYMENT FOR IMMEDIATE PROGRESS. KINDLY SEND US: ==================================== 1. YOUR NAME: 2. YOUR FULL ADDRESS 3. TELEPHONE NUMBER 4. PRESENT OCCUPATION 5. POSITION HELD 6. STATE 7. ZIP CODE 8. CITY =================================== ------------------------------ Message: 22 Date: Mon, 22 Jan 2007 22:14:41 -0500 From: "Jeff MacDonald" Subject: Re: php5-session port seems borked To: "Pieter de Goeje" Cc: freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > -I/usr/ports/www/php5-session/work/php-5.2.0/ext/session/main > > -I/usr/ports/www/php5-session/work/php-5.2.0/ext/session > > -I/usr/local/include/php -I/usr/local/include/php/main > > -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend > > -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O -pipe > > My output differs significantly from your output, I guess you have removed the > first 100 lines of output here; if not you should probably do a 'make clean' > before 'make'. If that is not the case then I would try recompiling all php > related ports. > > - Pieter Well here's the thing, I was able to reproduce it on 2 separate machines both with full up to date ports, even after a make clean. And i got the same error whether i used portupgrade or just a plain make file... here is a script, just after a make clean http://preview2.interchange.ca/script.txt So I'm still at a loss. -- Unless otherwise indicated, anything I write is either garnered from experience or pulled out of my ass, depending on situational needs.. Jeff MacDonald ------------------------------ Message: 23 Date: Tue, 23 Jan 2007 03:54:51 +0100 (CET) From: Saint Zero Subject: Company Representative Is Needed. To: questions@freebsd.org Message-ID: <20070123025451.05E0A80ED6C@p15178485.pureserver.info> Content-Type: text/plain Good Day Barry Travels and Tours Limited, An Asian Based Multinational Company seek the service of a liaison officer who would act as a medium of reaching our customers abroad. Your Job is to receive payment on our behalf and settle our clients with the payment. If you choose to work with us, you do not need to quite your present job, or have problems with your employers as this is on a part time basis. An agent commission would be paid to you on a weekly basis. Kindly reply so that i can provide you with more details. KINDLY INDICATE YOUR ACCEPTANCE BY FILLING THE BELOW FORM SO THAT WE CAN SEND YOU THE PAYMENT FOR IMMEDIATE PROGRESS. KINDLY SEND US: ==================================== 1. YOUR NAME: 2. YOUR FULL ADDRESS 3. TELEPHONE NUMBER 4. PRESENT OCCUPATION 5. POSITION HELD 6. STATE 7. ZIP CODE 8. CITY =================================== ------------------------------ Message: 24 Date: Mon, 22 Jan 2007 21:16:22 -0500 From: chris neill Subject: 6.2-REL w/ SuperMicro Pentium D board, installer problem? To: freebsd-questions@lists.freebsd.org Message-ID: <20070123021622.GA39711@revolt.com> Content-Type: text/plain; charset=us-ascii It is my understanding that the new Dualcore Pentiums fall under the auspices of the AMD64 port.. Anywho, whenever I try to run the bootonly installer, the boot stalls here: acd0: CDROM at ata0-slave PIO4 If I run from an i386 kernel, everything is hunky-dorey. From dmesg: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 3.40GHz (3391.51-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf64 Stepping = 4 Features=0xbfebfbff Features2=0xe49d,> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 3756916736 (3582 MB) avail memory = 3677409280 (3507 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 ... acd0: CDROM at ata0-slave PIO4 da0 at twa0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 100.000MB/s transfers da0: 238408MB (488259584 512 byte sectors: 255H 63S/T 30392C) da1 at twa0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 100.000MB/s transfers da1: 953632MB (1953038336 512 byte sectors: 255H 63S/T 121571C) SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/da0s1a em0: link state changed to UP I know the media works because I just used the same disc today to install 6.2-RELEASE on a Sun XFire X4200 (AMD Opteron). Any help would be greatly appreciated. -Chris ------------------------------ Message: 25 Date: Mon, 22 Jan 2007 22:11:05 -0600 From: Jonathan Horne Subject: gmirror setup To: freebsd-questions@freebsd.org Message-ID: <200701222211.05393.freebsd@dfwlp.com> Content-Type: text/plain; charset="us-ascii" i just set up my first gmirror raid1, and... it was really simple. too simple. "ok... what did i skip or do wrong?", was my first thought. i follow the doc from onlamp.com: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=1 i did have one giant deviation tho, and im wondering if it really makes a difference. the article depicts creating the gmirror immediately following initial operating system install, but i did my example on a fully functioning system. other than that, i have 2 identical disks, and things seem to be working: castor# gmirror status Name Status Components mirror/gm0 DEGRADED ad0 ad1 (33%) im sure im seeing less than the best performance since im using but a single ide channel, but other than that, is it feasible to insert an identical disk, and setup the gmirror at anytime a freebsd'er likes? also, the doc didnt mention it, but if you do use to differing disk sizes, obviously the smaller one should be ad0? and other than that, is there any difference in setting up gmirror if the second disk is larger? cheers, jonathan ------------------------------ Message: 26 Date: Mon, 22 Jan 2007 20:24:14 -0800 From: Garrett Cooper Subject: Re: more than 7 partitions on a SCSI-drive To: freebsd-questions@freebsd.org Message-ID: <45B58DEE.4060607@u.washington.edu> Content-Type: text/plain; charset=ISO-8859-1 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Erik Trulsson wrote: > On Mon, Jan 22, 2007 at 08:10:15PM +0100, Christian Baer wrote: >> On Mon, 22 Jan 2007 07:42:36 -0600 Doug Poland wrote: >> >>> # Device Mountpoint FStype Options Dump Pass# >>> /dev/da0s1b none swap sw 0 0 >>> /dev/da0s1a / ufs rw 1 1 >> ^^^^^^ >> >> Where did you get to create slices. When I installed this system (Sun >> U60) sysinstall didn't offer the possibility of creating a slice at all. >> The only devices of this sort that I can create are da0x and da1x - no 's'! >> >> Is this due to the SPARC64 plattform or did I miss something? > > It is almost certainly due to your platform. Slices (aka partitions in > MS-DOS) are pretty much specific to the IBM PC (and derivatives thereof.) The first step covered the partitions in sysintall, the second step the slices. Maybe you did everything beforehand in fdisk before going to the "graphical" version of disklabel? - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFtY3uEnKyINQw/HARArY7AKCMJf6QQKkIQkDRTER9wa3n/oKV+QCeOIWK Nq96nEqdrAKDzF6ogGlzhYw= =rAnQ -----END PGP SIGNATURE----- ------------------------------ Message: 27 Date: Mon, 22 Jan 2007 20:42:15 -0800 From: Garrett Cooper Subject: Re: trouble mounting Olympus WS-310M voice recorder To: freebsd-questions@freebsd.org Message-ID: <45B59227.3010204@u.washington.edu> Content-Type: text/plain; charset=ISO-8859-1 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ajm wrote: > On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote: >> Andrew Gould wrote: >>> [snip] > > this is from a previous message in the thread: >> attempt: mount -tmsdos -orw /dev/da0s1 /mnt/ws310 > > try as root or su to root > > # mount_msdosfs /dev/da0s1 /mnt/ws310 Interestingly enough I tried out these steps as root to see if I could resimulate this with my camera and I ended up with the same results. Only by trying to mount the camera as root could I succeed. Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you using amd(8)? - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFtZICEnKyINQw/HARAjhPAKCpcrg9i5+pw3Hv/0qDqnrO7E3Y1gCeJHpN XJG0nd+4LjvIvNM8ZX5uiFo= =GTAC -----END PGP SIGNATURE----- ------------------------------ Message: 28 Date: Tue, 23 Jan 2007 06:16:26 +0100 From: Pieter de Goeje Subject: Re: php5-session port seems borked To: freebsd-questions@freebsd.org Cc: Jeff MacDonald Message-ID: <200701230616.26196.pieter@degoeje.nl> Content-Type: text/plain; charset="iso-8859-1" On Tuesday 23 January 2007 04:14, Jeff MacDonald wrote: > Well here's the thing, I was able to reproduce it on 2 separate > machines both with full up to date ports, even after a make clean. And > i got the same error whether i used portupgrade or just a plain make > file... > > here is a script, just after a make clean > > http://preview2.interchange.ca/script.txt > > So I'm still at a loss. Hmm, perhaps your environment is corrupting the build. Try "env -i make". - Pieter ------------------------------ Message: 29 Date: Tue, 23 Jan 2007 00:36:31 -0500 From: Jason Morgan Subject: Re: gmirror setup To: Jonathan Horne Cc: freebsd-questions@freebsd.org Message-ID: <20070123053631.GD5367@sentinelchicken.net> Content-Type: text/plain; charset=us-ascii On Mon, Jan 22, 2007 at 10:11:05PM -0600, Jonathan Horne wrote: > i just set up my first gmirror raid1, and... it was really simple. too > simple. "ok... what did i skip or do wrong?", was my first thought. I thought the exact same thing. My previous experience was with vinum and, while it was great 4 years ago (props to grog), the simplicity of geom for simple setups was greatly needed. > i follow the doc from onlamp.com: > > http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=1 > > i did have one giant deviation tho, and im wondering if it really makes a > difference. the article depicts creating the gmirror immediately following > initial operating system install, but i did my example on a fully functioning > system. other than that, i have 2 identical disks, and things seem to be > working: > > castor# gmirror status > Name Status Components > mirror/gm0 DEGRADED ad0 > ad1 (33%) > > im sure im seeing less than the best performance since im using but a single > ide channel, but other than that, is it feasible to insert an identical disk, > and setup the gmirror at anytime a freebsd'er likes? Whether or not this is the *right* way to do it or not, I am not sure, but I can tell you that this is basically what I did on two servers about 6 months ago and I've had no problems. I even had a drive failure. When I plugged the new one in, it rebuilt correctly and has been running well since. > also, the doc didnt mention it, but if you do use to differing disk sizes, > obviously the smaller one should be ad0? and other than that, is there any > difference in setting up gmirror if the second disk is larger? Yes, make the first disk the smaller one. I don't believe there is a difference in setup, but the extra space on the second drive (say, ad2) will be wasted. Cheers, Jason ------------------------------ Message: 30 Date: Tue, 23 Jan 2007 13:29:24 +0700 (ICT) From: Olivier Nicole Subject: Mirroring FreeBSD To: freebsd-questions@freebsd.org Message-ID: <200701230629.l0N6TOKa037949@banyan.cs.ait.ac.th> Hi, We are considering to set-up a mirror for FreeBSD in Thailand, how much disk space should we target for a full irror? Best regards, Olivier ------------------------------ Message: 31 Date: Tue, 23 Jan 2007 00:30:48 -0600 From: ajm Subject: Re: trouble mounting Olympus WS-310M voice recorder To: freebsd-questions@freebsd.org Message-ID: <20070123063048.GA728@powerfull.bsd> Content-Type: text/plain; charset=us-ascii On Mon, Jan 22, 2007 at 08:42:15PM -0800, Garrett Cooper wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > ajm wrote: > > On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote: > >> Andrew Gould wrote: > >>> [snip] > > > > this is from a previous message in the thread: > >> attempt: mount -tmsdos -orw /dev/da0s1 /mnt/ws310 > > > > try as root or su to root > > > > # mount_msdosfs /dev/da0s1 /mnt/ws310 > > Interestingly enough I tried out these steps as root to see if I could > resimulate this with my camera and I ended up with the same results. > Only by trying to mount the camera as root could I succeed. > > Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as > a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you > using amd(8)? > > - -Garrett > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.1 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFtZICEnKyINQw/HARAjhPAKCpcrg9i5+pw3Hv/0qDqnrO7E3Y1gCeJHpN > XJG0nd+4LjvIvNM8ZX5uiFo= > =GTAC > -----END PGP SIGNATURE----- Take a look at sudoers(5) and visudo(8) I use sudo to mount my mass storage compliant devices with the following command as regular user: for my mp3 player [ajm@bsd]$ sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/mp3player for my camera [ajm@bsd]$ sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/kodak for a memory card reader [ajm@bsd]$ sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/card_reader Just make sure you change the ? to an actual device number. You do need to create the /mnt directories in your own home directory so that you can read and write to those devices as a regular user. Also use sudo to un mount the device: [ajm@bsd]$ sudo umount_msdosfs /dev/da?s1 NOTE: I did not change anything in the /etc/devfs.conf or am I using amd(8). -- Alexander FreeBSD 6.0 RELEASE i386 ------------------------------ Message: 32 Date: Tue, 23 Jan 2007 08:14:51 +0100 From: "Philippe Lang" Subject: RE: PCIe Core2 Duo Motherboard? To: "Ivan Voras" , Message-ID: <6C0CF58A187DA5479245E0830AF84F4218CD41@poweredge.attiksystem.ch> Content-Type: text/plain; charset="US-ASCII" owner-freebsd-questions@freebsd.org wrote: > Philippe Lang wrote: >> owner-freebsd-questions@freebsd.org wrote: >> >>>> 2) Can anyone suggest a well supported board with gigabit lan, >>>> onboard video, and PCIe expansion, that accepts Core2 Duo CPUs? >>> If you're willing to pay for it, server boards will suit you better. >>> For example something like this: >>> >> http://www.supermicro.com/products/motherboard/Xeon1333/5000P/X7DBE.cf >> m >> >> This board ships with a 82563EB network controller, which is AFAIK >> not supported under FreeBSD yet. I haven't tested it, so maybe I'm >> wrong? >> >> Latest intel drivers vresion 6.2.9 says:... > > I can't reliably explain it. Maybe I've got an OEM version with some > other NIC or someone stuck an additional NIC in it before it got to > me. Or maybe the documentation or the driver are wrong :) Hum, that means LAN works on a SuperMicro X7DBE motherboard? That's really good news! I was hesitating buying one, because of the supposed lack of 82563EB support, but I see I'm wrong. Can anyone explain how this chip could be supported, even if not mentioned in the driver itself and in the documentation? Ivan, do you have the opportunity to open your server, and check what LAN chip there is inside? Thanks, bye Philippe Lang ------------------------------ Message: 33 Date: Mon, 22 Jan 2007 23:16:54 -0800 From: Garrett Cooper Subject: Re: trouble mounting Olympus WS-310M voice recorder To: freebsd-questions@freebsd.org Message-ID: <45B5B666.5030801@u.washington.edu> Content-Type: text/plain; charset=ISO-8859-1 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ajm wrote: > On Mon, Jan 22, 2007 at 08:42:15PM -0800, Garrett Cooper wrote: > ajm wrote: >>>> On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote: >>>>> Andrew Gould wrote: >>>>>> [snip] >>>> this is from a previous message in the thread: >>>>> attempt: mount -tmsdos -orw /dev/da0s1 /mnt/ws310 >>>> try as root or su to root >>>> >>>> # mount_msdosfs /dev/da0s1 /mnt/ws310 > Interestingly enough I tried out these steps as root to see if I could > resimulate this with my camera and I ended up with the same results. > Only by trying to mount the camera as root could I succeed. > > Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as > a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you > using amd(8)? > > -Garrett > Take a look at sudoers(5) and visudo(8) > I use sudo to mount my mass storage compliant devices with the > following command as regular user: > for my mp3 player > [ajm@bsd]$ sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/mp3player > for my camera > [ajm@bsd]$ sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/kodak > for a memory card reader > [ajm@bsd]$ sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/card_reader > Just make sure you change the ? to an actual device number. > You do need to create the /mnt directories in your own home directory > so that you can read and write to those devices as a regular user. > Also use sudo to un mount the device: > [ajm@bsd]$ sudo umount_msdosfs /dev/da?s1 > NOTE: I did not change anything in the /etc/devfs.conf or am I using > amd(8). That's not an absolute solution though, because it should work as a regular user (maybe with a bit of fenaggling). Besides, installing sudo is a security risk anyhow.. - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFtbZmEnKyINQw/HARAjMJAJwPrVm8VI64gdwBwtDOrDmxO+Cv4gCfQzXT eudjUIzKZtXf9g3khIaK84k= =oY+M -----END PGP SIGNATURE----- ------------------------------ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" End of freebsd-questions Digest, Vol 162, Issue 4 *************************************************