Re: /boot like linux!
On Fri, 4 Mar 2005 10:09, Jesse Guardiani wrote: On Thursday 03 March 2005 5:41 pm, you wrote: Jesse Guardiani wrote: Hello, I'm a FreeBSD 5.3 user as well as a Gentoo Linux user. In Gentoo linux, you only have to create 3 partitions: /boot swap / In FreeBSD, you seem to have to create many more: / swap /usr /var /tmp In particular, it seems that /boot MUST be on the same partition as /. This stinks, as now you have to create separate partitions for /usr and /var, which wastes space. I tried to make /boot it's own partition, and I succeeded, to a certain extent. I actually made /boot/boot, because the FreeBSD 5.3 boot manager wants to look under the /boot directory for loader. If /boot is it's own partition, then you need a /boot/boot/loader. Anyway, that worked. The kernel boots now, but it prompts me at the beginning of the rc process for the root device. I give it: ufs:ad1s1d Which is my / partition, and it boots successfully. Is it possible to automate this process so that the loader knows to use ad1s1d as my root device? Thanks! I'm not sure I understand the problem. If you don't want to create more partitions, then don't. You can make an 80gb (or 300gb, or whatever) drive into two partitions - a swap partition (2gig) and a / partition (78 gig) and install FreeBSD just fine. Doesn't the boot partition have to NOT have soft updates though? I created the setup you described about a year ago with 5.2.1, and I had serious problems if the system ever hard rebooted after a power failure. Single user manual fsck's and all that. If that is true, then why not create /, /usr /swap symlink /var to somewhere on /usr (or vice versa). It's *best* to make more partitions (esp for /var) so that if something goes out of control logging, or you just neglect your logs, it doesn't go and fill up your only (ie / ) partition. Like most *nix OS's, it can be as simple or as complicated as you want it to be. I want / + /boot. It's that simple. -- Ian GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc pgpdt1kRDM6ML.pgp Description: PGP signature
RE: Sharing directories with jails
Emanuel Strobl wrote: You can also use nullfs (man (8) mount_nullfs). It's slow and not certified to be bugfree but I never had any problems and especially for centralized ports very useful. What has given you the idea that nullfs is slow? I'm using it extensively and have not noticed any significant slowdown. Under what usecase(s) is it slow? (My usage is mainly for medium to large files, with 200 files per directory.) /Daniel Eriksson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sharing directories with jails
Daniel Eriksson wrote: Emanuel Strobl wrote: You can also use nullfs (man (8) mount_nullfs). It's slow and not certified to be bugfree but I never had any problems and especially for centralized ports very useful. What has given you the idea that nullfs is slow? I'm using it extensively and have not noticed any significant slowdown. Under what usecase(s) is it slow? (My usage is mainly for medium to large files, with 200 files per directory.) /Daniel Eriksson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks for your help. I have used nullfs to get this working and it works fine. Thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sharing directories with jails
Am Freitag, 4. März 2005 01:50 schrieb Daniel Eriksson: Emanuel Strobl wrote: You can also use nullfs (man (8) mount_nullfs). It's slow and not certified to be bugfree but I never had any problems and especially for centralized ports very useful. What has given you the idea that nullfs is slow? I'm using it extensively and have not noticed any significant slowdown. Under what usecase(s) is it slow? (My usage is mainly for medium to large files, with 200 files per directory.) Some perfomance benchmarks at 5.3 release cycle showed that the way nullfs works is suboptimal, also file backed memory devices are very slow, but I'm no developer so I can't explain you exactly why. Perhaps someone had a look at this in the meantime, I didn't do any tests since then but I also saw no commit log which indicates that people were working on that. -Harry /Daniel Eriksson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgpj512rNf5jv.pgp Description: PGP signature
Re: Vinum raid5 problems......
On Thursday, 3 March 2005 at 15:35:31 -0600, matt virus wrote: Hi all: I have a FBSD 5.2.1 box running vinum. 7 *160gb drives in a raid5 array. I can post specific errors and logs and such later, i'm away from the box right now --- anybody have any thoughts ? How about http://www.vinumvm.org/vinum/how-to-debug.html? Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpFkoYE2PgXm.pgp Description: PGP signature
Re: RELENG_5_3 to RELENG_5 make installworld fails
On Thursday 03 March 2005 03:26 pm, Aaron Nichols wrote: On Thu, 3 Mar 2005 14:39:16 -0800, Kent Stewart [EMAIL PROTECTED] wrote: You missed a step. Your system clock is off and that makes the installworld try to use touch. Set your system clock and you may have to remake your world but it should install. Kent Infact it was off - can you give me some detail as to why that matters? Not that I doubt that having my system clock set to a date 8 months prior to the date of files in cvs might cause a problem - but I'm curious about the details. If you can even point me at a URL and I'll read for myself - I'm just curious. Make is used to build files that are out of date. When the buildworld created the file, it was older than the files you downloaded using cvsup. So, it was created out of date and installworld thought it needed to rebuild it. Touch isn't needed in the installworld and it fails. Kent If that was the problem (buildworld happenning as I type) then thank you and my apologies for the oversight. New system, didn't bother to make sure the BIOS date was right and ntp wasn't yet setup. Thanks, Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Found This In /usr - @LongLink
I found this in /usr on two FBSD 4.11 boxen: -- 1 root wheel 105 Dec 31 1969 @LongLink One box is my firewall/router/gateway attached to a cable modem and the other is behind the firewall. The 1969 timestamp and lack of file attributes is making the small hair on the back of my neck standup. Is this normal? If so, what the heck is it? Or have I been rooted? Thanks! Jim -- James A. Coulter [EMAIL PROTECTED] http://jacoulter.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Found This In /usr - @LongLink
On Mar 3, 2005, at 8:08 PM, James A. Coulter wrote: I found this in /usr on two FBSD 4.11 boxen: -- 1 root wheel 105 Dec 31 1969 @LongLink One box is my firewall/router/gateway attached to a cable modem and the other is behind the firewall. The 1969 timestamp and lack of file attributes is making the small hair on the back of my neck standup. Is this normal? If so, what the heck is it? Or have I been rooted? Thanks! Jim -- James A. Coulter [EMAIL PROTECTED] http://jacoulter.net James, I'm not trying to be rude, but a 30 second search through Google results for @LongLink turned up the following entry (on the first results page): Quote from http://www-unix.globus.org/mail_archive/discuss/2002/10/msg00352.html: I learned that @LongLink is a GNU tar's way to handle long path names. Apparently GNU tar now has to be used to untar some packages. I'd like to suggest that the configuration script check and make sure it gets the GNU tar, the same way it makes sure it gets Perl 5-005 or higher. Now that I've installed the GNU tar on my system, what files do I need to modify to invoke it, not the vendor tar, in order to continue building for the information services. I'd rather not to start over if I could help it. -- Wendy Lin - IT Research Computing Services [EMAIL PROTECTED] http://www-rcd.cc.purdue.edu/~af5/ ___ Eric F Crist I am so smart, S.M.R.T! Secure Computing Networks -Homer J Simpson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Broken port: gettext
Help! :( Spent all day @ a client trying to recover some data, then stayed up all night recovering it now doing a fresh setup on FreeBSD 5.3-RELEASE, cvsupped with latest ports, and gettext port is broken (need for Samba3, PHP). Supposed to go back in about an hour to install new box. :( Anyone picked this up yet? Can help me out? /bin/sh /usr/local/bin/libtool15 --mode=link cc -O -pipe -L/usr/local/lib -o libgettextsrc.la -rpath /usr/local/lib -release 0.14.1 ../lib/libgettextlib.la ../intl/libintl.la -L/usr/local/lib -liconv -R/usr/local/lib -L/usr/local/lib -liconv -R/usr/local/lib -no-undefined message.lo read-po-abstract.lo po-lex.lo po-gram-gen.lo po-hash-gen.lo po-charset.lo read-properties.lo read-stringtable.lo open-po.lo dir-list.lo str-list.lo read-po.lo write-properties.lo write-stringtable.lo write-po.lo msgl-ascii.lo msgl-iconv.lo msgl-equal.lo msgl-cat.lo msgl-english.lo file-list.lo msgl-charset.lo po-time.lo plural.lo plural-table.lo format.lo format-c.lo format-sh.lo format-python.lo format-lisp.lo format-elisp.lo format-librep.lo format-java.lo format-csharp.lo format-awk.lo format-pascal.lo format-ycp.lo format-tcl.lo format-perl.lo format-perl-brace.lo format-php.lo format-gcc-internal.lo format-qt.lo libtool15: link: `po-lex.lo' is not a valid libtool object *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.14.1/gettext-tools/src. *** Error code 1 Best, -AL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /boot like linux!
On Thursday 03 March 2005 07:45 pm, Bob Johnson wrote: Jesse Guardiani wrote: On Thursday 03 March 2005 5:41 pm, [someone] wrote: I'm not sure I understand the problem. If you don't want to create more partitions, then don't. You can make an 80gb (or 300gb, or whatever) drive into two partitions - a swap partition (2gig) and a / partition (78 gig) and install FreeBSD just fine. Doesn't the boot partition have to NOT have soft updates though? No, I don't think so. I created the setup you described about a year ago with 5.2.1, and I had serious problems if the system ever hard rebooted after a power failure. Single user manual fsck's and all that. That configuration should not make serious fs corruption more likely, it just makes it more likely to happen on the / partition (!). In general, the FreeBSD filesystem is highly tolerant of things like power failures, and should be even better when softupdates is turned on. But it can fail, and 5.2.1 was NOT considered a production release, so that could have also played a role in your problems. I don't remember if softupdates had problems on 5.2.1 or not. It's *best* to make more partitions (esp for /var) so that if something goes out of control logging, or you just neglect your logs, it doesn't go and fill up your only (ie / ) partition. Like most *nix OS's, it can be as simple or as complicated as you want it to be. I want / + /boot. It's that simple. What are you really trying to accomplish? You want to run softupdates on / ? I believe it is perfectly acceptable to use softupdates on the root partition these days. The Handbook recommends turning on softupdates for all filesystems. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-disk .html I'm pretty sure my test system at home has only / and swap (because it has a small hard drive), and uses softupdates on /. I'll check when I get home. Nope, for some reason I didn't set that up last time I installed something (5.3) on it, but I can almost guarantee that I have done so in the past. Now I've turned on softupdates on the root partition and so far (about an hour) it's been happy. For what that's worth. Maybe I'll turn off the power while the system is active just to see what happens (actually, I'm still fascinated by the background fsck that 5.3 runs). - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Widescreen(16:10) woes. PLEASE HELP
FreeBSD 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #1: Thu Mar 3 18:39:00 PST 2005 root@:/usr/obj/usr/src/sys/VAIO i386 Hello: I recently baught Sony VAIO FS570 notebook, its a 15.4 screen. I cannot for the life of me Xorg to go above 1024x768. It is running the vesa driver, native card is an Intel 915GM, the i810 does not properly recognize the device. I have googled this and have come with with no successful answer. Any assistance in getting the resolution to go higher would be GREATLY appreciated, 1024x768 is annoying. Windows runs it at 1280x800. I have attached verbose dmesg, /var/log/Xorg.log and xorg.conf. I have done almost every possible xorg.conf that documents a working 16:10 resolution Thanks in advance!! section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/X11R6/lib/X11/rgb ModulePath /usr/X11R6/lib/modules FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/TTF/ FontPath /usr/X11R6/lib/X11/fonts/Speedo/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/CID/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ EndSection Section Module Load extmod Load glx Load dri Load dbe Load record Load xtrap # Load speedo Load type1 Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver keyboard EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse EndSection Section Modes Identifier 16:10 Modeline 1280x800 68.56 1280 1336 1472 1664 800 801 804 824 Modeline 1280x800 71.0 1280 1328 1360 1440 800 802 808 823 Modeline 1280x800 80.58 1280 1344 1480 1680 800 801 804 827 Modeline 1280x800 83.46 1280 1344 1480 1680 800 801 804 828 Modeline 1280x800 107.21 1280 1360 1496 1712 800 801 804 835 Modeline 1280x800 123.38 1280 1368 1504 1728 800 801 804 840 Modeline 1280x800 147.89 1280 1376 1512 1744 800 801 804 848 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model HorizSync31.5 - 100.0 VertRefresh 59.0-75.0 UseModes 16:10 Option IgnoreEDID 1 Option CalcAlgorithm CheckDesktopGeometry #Option FlatPanelProperties Scaling=aspect-scaled EndSection Section Device Identifier Card0 Driver vesa VendorName Intel Corp. BoardName Unknown Board BusID PCI:0:2:0 Option DRI No EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth24 SubSection Display Viewport 0 0 Depth 16 EndSubSection SubSection Display Viewport 0 0 Depth 24 Modes 1280x800 1024x600 EndSubSection EndSection ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVS Repository
Hi Guys, I have tried setting up my own CVS tree with the /src tree in my local machine, but after setting the CVSROOT to any of the suggestions on the web site, when I try to log on with the anoncvs passwd, I get the following response. Any help? Thanks! Clem-- setenv CVSROOT :pserver:[EMAIL PROTECTED]:/home/ncvs cvs login Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ncvs CVS password: cvs [login aborted]: connect to anoncvs1.FreeBSD.org(64.78.150.163):2401 failed: Connection refused Clem Izurieta PhD Student Department of Computer Science Colorado State University [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cpu overhead
Could anybody tell me is there any cpu monitoring tools for FreeBSD. pleas send me any idea. thanks bhaban ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Widescreen(16:10) woes. PLEASE HELP
Attaching /var/log/Xorg.log would be nice On Thu, 2005-03-03 at 20:25 -0800, Remington wrote: FreeBSD 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #1: Thu Mar 3 18:39:00 PST 2005 root@:/usr/obj/usr/src/sys/VAIO i386 Hello: I recently baught Sony VAIO FS570 notebook, its a 15.4 screen. I cannot for the life of me Xorg to go above 1024x768. It is running the vesa driver, native card is an Intel 915GM, the i810 does not properly recognize the device. I have googled this and have come with with no successful answer. Any assistance in getting the resolution to go higher would be GREATLY appreciated, 1024x768 is annoying. Windows runs it at 1280x800. I have attached verbose dmesg, /var/log/Xorg.log and xorg.conf. I have done almost every possible xorg.conf that documents a working 16:10 resolution Thanks in advance!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade wrecked gnome!!! ~8-(
Here is my tale of woe. Freebsd 4.11-stable. I upgraded my ports using portupgrade -arR after cvsuping and make fetchindex and portsdb -u. Things worked, so I went out and did portupgrade. But my gnome-2.8.2 install is hosed. It starts but gives me no taskbars or button bars. Just little iconlets--one on the top, the quicklaunch toolbar for a few apps I had in it, and a little something at the bottom which I cannot figure out what it is supposed to be. I tried doing a make deinstall of gnome and cleared everything out of ports/distfiles. But it didnt require anything new I imagine all it needed is still laying around here, broken. SO, my friends, I would like to get my gnome install back --karl _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6 hours of trying to configure my printer - solved
I got my printing working by installing apsfilter and by following some of the instructions in the (printed) The FreeBSD Handbook 2ed. I am using FreeBSD 5.3, an HP940c Deskjet, parallel port connection, and the lpr method of printing (rather than the CUPS method). Initially I followed the instructions in the book, and was able to get some garbled output to come out of my printer. Then I installed apsfilter, which enabled some perfect printouts from Firefox. The apsfilter install created a new print queue that I had to tweak to make them compatible with the methodology I learned from the book. I never got the text and postscript filters documented in the book to work, but apsfilter works fine - so I'm using that. The sequence I followed is probably not ideal, but this is roughly what I did: 1. Make sure FreeBSD can see my printer: dmesg | grep lp lpt0: Printer on ppbus0 lpt0: Interrupt-driven port lpt0: switched to polled standard mode 2. Enable printer in with: lptcontrol -p -d /dev/lpt0 3. Make sure printer is able to print: lptest /dev/lpt0 4. Add enable command to /etc/rc.local ( I had to create /etc/rc.local, so I guessed I need to make it executable with: chmod 550 /etc/rc.local ) 5. Create printer spool directory mkdir /var/spool/lpd 6. Build apsfilter: cd /usr/ports/print/apsfilter make install clean rehash 7. Configure apsfilter: cd /usr/local/apsfilter ./SETUP 8. Make spool directory accessible by daemon group: chown daemon:daemon /var/spool/lpd/hp940 chmod 770 /var/spool/lpd/hp940 9. Add ps and lp aliases to the apsfilter-created entry in /etc/printcap: # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL ps|lp|hp940|ijs/DESKJET_940;r=300x300;q=medium;c=full;p=letter;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/hp940:\ :lf=/var/spool/lpd/hp940/log:\ :af=/var/spool/lpd/hp940/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this 10. Enable lpd daemon in /etc/rc.conf by adding: lpd_enable=YES 11. Reboot 12. Manage print jobs list print job = lpq -P hp940 remove print job = lprm # (#=jobnumber) cancel all jobs = lprm - I have tested Firefox and Abiword, the two programs I will be printing from - and they both seem to work when I print to the default postscript printer. Any suggestions or fixes to these instructions are encouraged. I am really new to Unix and FreeBSD, so please forgive any bad advice contained above. Some useful links: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html http://www.defcon1.org/html/Networking_Articles/natdhowto-whisky/aps-filter/aps-filter.html http://www.defcon1.org/html/Networking_Articles/apsfilter/apsfilter.html http://www.freebsddiary.org/apsfilter.php thx! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Received mail timestamp is off by 7 hours
All Windows 2000, and above operating systems support NTP Logged in as administrator, at the command line net time /setsntp:XX.XX.XX.XX XX.XX.XX.XX = the IP address of a NTP server Then go in to Start Settings Control Panel Administrative Tools, Services, Windows Time and set startup to automatic. Microsoft also released and NTP service for NT4 in the MS resource kit. Even Windows supports NTP. As I said, no excuse. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anthony Atkielski Sent: Wednesday, March 02, 2005 10:32 AM To: freebsd-questions@freebsd.org Subject: Re: Received mail timestamp is off by 7 hours Ted Mittelstaedt writes: There's no excuse for a mailserver to not be synced to a NTP source. I'd extend that to apply to any server. Practically all the things a server does are dependent in some way on the correct time. This is also increasingly true of desktops. Gone are the days when you could just set the clock forward or back temporarily for some specific purpose. Today if you do that on a lot of desktops, you'll mess things up terribly (imagine having every birthday for the next five years trigger simultaneously when you open Outlook, or having half your file system marked for immediate deletion--not a pretty picture). -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /boot like linux!
Jesse Guardiani writes: I'm a FreeBSD 5.3 user as well as a Gentoo Linux user. In Gentoo linux, you only have to create 3 partitions: /boot swap / In FreeBSD, you seem to have to create many more: / swap /usr /var /tmp You don't _have_ to create these partitions. They are just the suggested configuration (and the default if you have the system create partitions for you). All you really need is a swap partition and a root partition (/). -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Received mail timestamp is off by 7 hours
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Loren M. Lang Sent: Thursday, March 03, 2005 12:58 PM To: Luke Cc: freebsd-questions@freebsd.org Subject: Re: Received mail timestamp is off by 7 hours On Wed, Mar 02, 2005 at 01:00:15PM -0800, Luke wrote: There's no excuse for a mailserver to not be synced to a NTP source. I'd extend that to apply to any server. Practically all the things a server does are dependent in some way on the correct time. I have three excuses: 1) NTP is difficult to configure. I've done it, but it wasn't trivial. ntpdate once at boot. To configure NTP add the following into /etc/rc.conf xntpd_enable=YES ntpdate_enable=YES ntpdate_flags=XX.XX.XX.XX NOTE: the ntpdate stuff is MANDATORY what that does is on boot, BEFORE ntpd is started, ntpdate forces the system clock to the exact time. Then ntpd starts up and merely MAINTAINS the correct time, it doesen't have to start stepping it forward or backward. create the file /etc/ntp.conf containing the single line: server XX.XX.XX.XX prefer XX.XX.XX.XX = IP address of time server. 2) Finding an NTP server willing to accept traffic from the public isn't easy either. Every ISP worth it's salt runs NTP on ALL of their routers. It is a requirement for tracking breakin attempts, unexpected router reboots, etc. Many of them configure their routers to allow syncing from customers. Point your NTP client to your ISP's default gateway and most likely it will work. If not, e-mail the support desk of the ISP. They will supply you with an IP number of a time server they run, or the time server their upstream feed provides to them. Most major backbones run NTP servers for the use of their customers. If your ISP is too retarded to help you, e-mail their upstream feed. I can tell you if I ever got a mail from a customer of one of our customers, complaining that our customer wasn't providing time services, I would tell that ISP that they had 1 minute to turn on NTP on their router or they were going to be disconnected from the Internet. 3) If your clock tends to run noticably fast or slow, constant NTP corrections tend to do more harm than good, at least in my experience. It got to where I couldn't even run a buildworld because NTP kept tinkering with the clock in the middle of the process. From the manpage of ntpd: ...However, and to protect against broken hardware, such as when the CMOS battery fails or the clock counter becomes defective, once the clock has been set, an error greater than 1000s will cause ntpd to exit anyway. Under ordinary conditions, ntpd adjusts the clock in small steps so that the timescale is effectively continuous and without discontinuities ... As the result of this behavior, once the clock has been set, it very rarely strays more than 128 ms, even under extreme cases of network path congestion and jitter. Sometimes, in particular when ntpd is first started, the error might exceed 128 ms. This may on occasion cause the clock to be set backwards if the local clock time is more than 128 s in the future relative to the server. In some applications, this behavior may be unacceptable. If the -x option is included on the command line, the clock will never be stepped and only slew corrections will be used... So, even if you don't use ntpdate correctly, it still covers you ass. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /boot like linux!
Jesse Guardiani writes: Doesn't the boot partition have to NOT have soft updates though? That's your choice. By default, it won't, since data loss is more likely with soft updates (anything that doesn't immediately write everything physically to disk creates a risk of data loss). But you can force it if you wish. I created the setup you described about a year ago with 5.2.1, and I had serious problems if the system ever hard rebooted after a power failure. Single user manual fsck's and all that. That's what a UPS is for. You can never guarantee data integrity with any type of write caching. FreeBSD attempts to ensure that the file system directory structure (inodes) is coherent at all times, if not perfectly up to date, but there is still a chance of data loss in files if the system is not shut down cleanly. I want / + /boot. It's that simple. Then create them that way. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 6 hours of trying to configure my printer - solved
Hi bsdnobody, Looks great to me! apsfilter is a really nice filter program, allowing duplexing, multiple pages per page, etc. Of course, you actually don't need to run it. The real grunt work in your scenario is being done by ghostscript, which is converting the incoming postscript that apsfilter is massaging, into the language that HP Deskjets understand. Using Ghostscript in this way works great if Ghostscript happens to support your printer model (which it does) Ghostscript tends to support a lot of HP deskjet models. The apsfilter port installed ghostscript for you. For people that don't have a model of printer supported by Ghostscript, you can configure Ghostscript to pump out ijs format, then pump this into the program ijsgimpprint which puts it into gimp-print. Gimpprint http://gimp-print.sourceforge.net/ has support for a whole lot more printers. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of bsdnooby Sent: Thursday, March 03, 2005 9:01 PM To: freebsd-questions@freebsd.org Cc: FreeBSD Newbies Subject: Re: 6 hours of trying to configure my printer - solved I got my printing working by installing apsfilter and by following some of the instructions in the (printed) The FreeBSD Handbook 2ed. I am using FreeBSD 5.3, an HP940c Deskjet, parallel port connection, and the lpr method of printing (rather than the CUPS method). Initially I followed the instructions in the book, and was able to get some garbled output to come out of my printer. Then I installed apsfilter, which enabled some perfect printouts from Firefox. The apsfilter install created a new print queue that I had to tweak to make them compatible with the methodology I learned from the book. I never got the text and postscript filters documented in the book to work, but apsfilter works fine - so I'm using that. The sequence I followed is probably not ideal, but this is roughly what I did: 1. Make sure FreeBSD can see my printer: dmesg | grep lp lpt0: Printer on ppbus0 lpt0: Interrupt-driven port lpt0: switched to polled standard mode 2. Enable printer in with: lptcontrol -p -d /dev/lpt0 3. Make sure printer is able to print: lptest /dev/lpt0 4. Add enable command to /etc/rc.local ( I had to create /etc/rc.local, so I guessed I need to make it executable with: chmod 550 /etc/rc.local ) 5. Create printer spool directory mkdir /var/spool/lpd 6. Build apsfilter: cd /usr/ports/print/apsfilter make install clean rehash 7. Configure apsfilter: cd /usr/local/apsfilter ./SETUP 8. Make spool directory accessible by daemon group: chown daemon:daemon /var/spool/lpd/hp940 chmod 770 /var/spool/lpd/hp940 9. Add ps and lp aliases to the apsfilter-created entry in /etc/printcap: # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL ps|lp|hp940|ijs/DESKJET_940;r=300x300;q=medium;c=full;p=letter;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/hp940:\ :lf=/var/spool/lpd/hp940/log:\ :af=/var/spool/lpd/hp940/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this 10. Enable lpd daemon in /etc/rc.conf by adding: lpd_enable=YES 11. Reboot 12. Manage print jobs list print job = lpq -P hp940 remove print job = lprm # (#=jobnumber) cancel all jobs = lprm - I have tested Firefox and Abiword, the two programs I will be printing from - and they both seem to work when I print to the default postscript printer. Any suggestions or fixes to these instructions are encouraged. I am really new to Unix and FreeBSD, so please forgive any bad advice contained above. Some useful links: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/print ing-intro-setup.html http://www.defcon1.org/html/Networking_Articles/natdhowto-whisky/aps-filt er/aps-filter.html http://www.defcon1.org/html/Networking_Articles/apsfilter/apsfilter.html http://www.freebsddiary.org/apsfilter.php thx! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Audio latency
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of J.E. Dooper Sent: Thursday, March 03, 2005 10:20 AM To: freebsd-questions@freebsd.org Subject: Audio latency Hi, My sound works and when I use mplayer or xmms I don't experience any (noticable!) audio latency. In applications like doomlegacy and quakeforge I do. I think this might be the problem: http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-A ugust/055314.html Though I don't understand much about the solution... Quite probably. You should inform the developers of those applications of the above. My questions are: what can I do to fix this? Inform the developers of the above so they can fix their apps. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /boot like linux!
Bob Johnson wrote: Jesse Guardiani wrote: On Thursday 03 March 2005 5:41 pm, [someone] wrote: I'm not sure I understand the problem. If you don't want to create more partitions, then don't. You can make an 80gb (or 300gb, or whatever) drive into two partitions - a swap partition (2gig) and a / partition (78 gig) and install FreeBSD just fine. Doesn't the boot partition have to NOT have soft updates though? No, I don't think so. Then why doesn't sysinstall enable soft updates on the root FS by default? I created the setup you described about a year ago with 5.2.1, and I had serious problems if the system ever hard rebooted after a power failure. Single user manual fsck's and all that. That configuration should not make serious fs corruption more likely, it just makes it more likely to happen on the / partition (!). :) In general, the FreeBSD filesystem is highly tolerant of things like power failures, and should be even better when softupdates is turned on. But it can fail, and 5.2.1 was NOT considered a production release, so that could have also played a role in your problems. I don't remember if softupdates had problems on 5.2.1 or not. Look, I'm not new to FreeBSD. I know all of this. I just want to know if it's possible to tell my boot loader which device my root partition is on. It's *best* to make more partitions (esp for /var) so that if something goes out of control logging, or you just neglect your logs, it doesn't go and fill up your only (ie / ) partition. Like most *nix OS's, it can be as simple or as complicated as you want it to be. I want / + /boot. It's that simple. What are you really trying to accomplish? Reliability and efficient use of disk space. You want to run softupdates on / ? No, I want to consolidate all of my mount points while simultaneously running softupdates on everything BUT the boot partition. I believe it is perfectly acceptable to use softupdates on the root partition these days. I don't. It hasn't worked well in the past. The Handbook recommends turning on softupdates for all filesystems. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-disk.html I'm pretty sure my test system at home has only / and swap (because it has a small hard drive), and uses softupdates on /. I'll check when I get home. Yes, please let me know how well it responds to a hard power cycle. A normal FreeBSD system without softupdates on the root or boot partition should come right back up without a manual fsck. In my experience, if softupdates are used on the root partition and the root partition doubles as the boot partition then you'll have much more difficulty recovering from a power failure. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /boot like linux!
At 6:24 AM +0100 3/4/05, Anthony Atkielski wrote: Jesse Guardiani writes: Doesn't the boot partition have to NOT have soft updates though? That's your choice. By default, it won't, since data loss is more likely with soft updates (anything that doesn't immediately write everything physically to disk creates a risk of data loss). But you can force it if you wish. Softupdates is generally turned off for '/', because '/' is expected to be a relatively small partition. Earlier versions of softupdates would behave badly if a partition was low on free disk space, and if you removed a lot of files immediately followed by creating about the same amount of files. This is exactly what happens when you do a 'make installkernel', and that used to run into problems if '/' was tight on space. That is not as much of a problem now, but it is still reasonable to have softupdates be off *if* '/' is a small partition which doesn't get updated very much. I have run with softupdates on for '/' on all my systems, for a few years now. It has not caused me any problems that I know of, but then the way I define my partitions is probably a lot different than what most people do. If we thought that softupdates made it *significantly* more likely that users would *lose* data, then we would not turn it on for any partitions! I want / + /boot. It's that simple. Then create them that way. It happens that this will run into some problems, as has been described in other messages in this thread. For what it's worth, I (personally) like the idea of having a separate /boot partition, but I have many other projects that are more important to me (personally), so I haven't spent any time looking into this project yet. -- Garance Alistair Drosehn = [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Institute; Troy, NY; USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Broken port: gettext
On Thursday 03 March 2005 08:00 pm, Andrew Lewis wrote: Help! :( Spent all day @ a client trying to recover some data, then stayed up all night recovering it now doing a fresh setup on FreeBSD 5.3-RELEASE, cvsupped with latest ports, and gettext port is broken (need for Samba3, PHP). Supposed to go back in about an hour to install new box. :( Anyone picked this up yet? Can help me out? I tried it on 5.4-pre and didn't have any problem. I would portupgrade -Rf and see it that helps. === Compressing manual pages for gettext-0.14.1 === Running ldconfig /sbin/ldconfig -m /usr/local/lib === Registering installation for gettext-0.14.1 === Building package for gettext-0.14.1 Creating package /usr/ports/packages/All/gettext-0.14.1.tbz Registering depends: libiconv-1.9.2_1. Creating bzip'd tar ball in '/usr/ports/packages/All/gettext-0.14.1.tbz' === Cleaning for libiconv-1.9.2_1 === Cleaning for libtool-1.5.10 === Cleaning for gettext-0.14.1 --- Cleaning out obsolete shared libraries [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 298 packages found (-0 +1) . done] opal# uname -a FreeBSD opal 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #122: Wed Mar 2 22:40:55 PST 2005 /bin/sh /usr/local/bin/libtool15 --mode=link cc -O -pipe -L/usr/local/lib -o libgettextsrc.la -rpath /usr/local/lib -release 0.14.1 ../lib/libgettextlib.la ../intl/libintl.la -L/usr/local/lib -liconv -R/usr/local/lib -L/usr/local/lib -liconv -R/usr/local/lib -no-undefined message.lo read-po-abstract.lo po-lex.lo po-gram-gen.lo po-hash-gen.lo po-charset.lo read-properties.lo read-stringtable.lo open-po.lo dir-list.lo str-list.lo read-po.lo write-properties.lo write-stringtable.lo write-po.lo msgl-ascii.lo msgl-iconv.lo msgl-equal.lo msgl-cat.lo msgl-english.lo file-list.lo msgl-charset.lo po-time.lo plural.lo plural-table.lo format.lo format-c.lo format-sh.lo format-python.lo format-lisp.lo format-elisp.lo format-librep.lo format-java.lo format-csharp.lo format-awk.lo format-pascal.lo format-ycp.lo format-tcl.lo format-perl.lo format-perl-brace.lo format-php.lo format-gcc-internal.lo format-qt.lo libtool15: link: `po-lex.lo' is not a valid libtool object *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.14.1/gettext-tools/src. *** Error code 1 Best, -AL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /boot like linux!
Jesse Guardiani writes: Then why doesn't sysinstall enable soft updates on the root FS by default? Because the root is not often written, and any data loss on the root is likely to have more negative effects than on other directories (often it would be something like a kernel rebuild). So sysinstall turns it off by default for the root. But you can turn it on if you want to. I don't. It hasn't worked well in the past. Soft updates has been improved in recent releases. It is now designed to physically write data back to the disk in a way that keeps the directory coherent (if not necessarily up to date) at all times. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade wrecked gnome!!! ~8-(
On Thursday 03 March 2005 08:58 pm, Karl Agee wrote: Here is my tale of woe. Freebsd 4.11-stable. I upgraded my ports using portupgrade -arR after cvsuping and make fetchindex and portsdb -u. Things worked, so I went out and did portupgrade. But my gnome-2.8.2 install is hosed. It starts but gives me no taskbars or button bars. Just little iconlets--one on the top, the quicklaunch toolbar for a few apps I had in it, and a little something at the bottom which I cannot figure out what it is supposed to be. I tried doing a make deinstall of gnome and cleared everything out of ports/distfiles. But it didnt require anything new I imagine all it needed is still laying around here, broken. SO, my friends, I would like to get my gnome install back --karl Next time try upgrading with sysutils/portmanager, it may even fix the mess you have now. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade wrecked gnome!!! ~8-(
On Thu, 03 Mar 2005 20:58:50 -0800 Karl Agee [EMAIL PROTECTED] wrote: Here is my tale of woe. Freebsd 4.11-stable. I upgraded my ports using portupgrade -arR after cvsuping and make fetchindex and portsdb -u. Things worked, so I went out and did portupgrade. But my gnome-2.8.2 install is hosed. It starts but gives me no taskbars or button bars. Just little iconlets--one on the top, the quicklaunch toolbar for a few apps I had in it, and a little something at the bottom which I cannot figure out what it is supposed to be. I tried doing a make deinstall of gnome and cleared everything out of ports/distfiles. But it didnt require anything new I imagine all it needed is still laying around here, broken. SO, my friends, I would like to get my gnome install back --karl http://www.freebsd.org/gnome/docs/faq28.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]