From lists_freebsd at bluewin.ch Sun Feb 1 01:03:20 2009 From: lists_freebsd at bluewin.ch (Martin Schweizer) Date: Sun Feb 1 01:03:28 2009 Subject: Strange messages in /var/log/messages In-Reply-To: <200901300929.35395.fbsd.questions@rachie.is-a-geek.net> References: <20090130172000.GA89911@saturn.pcs.ms> <200901300929.35395.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20090201092226.GC54916@saturn.pcs.ms> Hello Mel Thank you for your answer. Regards. Am Fri, Jan 30, 2009 at 09:29:35AM -0900 Mel schrieb: > On Friday 30 January 2009 08:20:00 Martin Schweizer wrote: > > > Jan 30 17:54:45 firewall kernel: c > > Jan 30 17:54:46 firewall kernel: 0 > > Jan 30 17:54:57 firewall kernel: w > > Jan 30 17:54:57 firewall kernel: . > > Jan 30 17:55:53 firewall kernel: c > > Jan 30 17:55:53 firewall kernel: C > > Jan 30 17:55:53 firewall kernel: A > > Jan 30 17:55:57 firewall kernel: i > > Jan 30 17:55:57 firewall kernel: 9 > > Jan 30 17:56:29 firewall kernel: > > Jan 30 17:56:29 firewall kernel: 2 > > Jan 30 17:56:29 firewall kernel: 5 > > Jan 30 17:56:41 firewall kernel: 6 > > Jan 30 17:56:41 firewall kernel: > > Jan 30 17:56:41 firewall kernel: 6 > > Jan 30 17:56:44 firewall kernel: 9 > > Jan 30 17:56:44 firewall kernel: > > Jan 30 17:56:44 firewall kernel: . > > Jan 30 17:56:45 firewall kernel: e > > Jan 30 17:56:45 firewall kernel: > > Jan 30 17:56:45 firewall kernel: A > > Jan 30 17:57:01 firewall kernel: e > > Jan 30 17:57:01 firewall kernel: t > > Jan 30 17:57:01 firewall kernel: > > Jan 30 17:57:02 firewall kernel: 0 > > Jan 30 17:57:02 firewall kernel: . > > [snip] > > Known problem on SMP systems, supposedly fixed in 7.1, but I don't use ipfw. > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From glen.j.barber at gmail.com Sun Feb 1 01:12:52 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Feb 1 01:13:00 2009 Subject: Graphics tablet / Xorg / mouse problems In-Reply-To: <58a2fd890901311924s6bf36cb5w47d845d8d8090af8@mail.gmail.com> References: <58a2fd890901311924s6bf36cb5w47d845d8d8090af8@mail.gmail.com> Message-ID: <20090201091247.GA7045@phoenix> Antonio Rieser said: > 2) If I remove the tablet from the computer (I've only tried it during > an X session), the system panics and shuts down, whether or not I stop > the wacom driver before removing the tablet. > Can you replicate this while viewing the console [ctrl+alt+f1] rather than an X session, to see exactly what the kernel is panicing from? (I know systems don't really like being forcibly paniced, but it may help figure out what is happening.) -- Glen Barber From kamikaze at bsdforen.de Sun Feb 1 01:59:28 2009 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Sun Feb 1 01:59:36 2009 Subject: Graphics tablet / Xorg / mouse problems In-Reply-To: <58a2fd890901311924s6bf36cb5w47d845d8d8090af8@mail.gmail.com> References: <58a2fd890901311924s6bf36cb5w47d845d8d8090af8@mail.gmail.com> Message-ID: <49856CE0.1030808@bsdforen.de> Antonio Rieser wrote: > Hi, > > I recently installed FreeBSD 7.1 on an ACER Aspire > 1680 laptop. I'm running KDE 3.5 and the most recent Xorg port with a > Wacom Bamboo tablet and the wacom driver from the ports collection. I > have the following problems with the tablet and mouse: > > 1) If I boot without the tablet plugged in, then plug it in later and > restart X, the error message > > (EE) intel(0): [DRI] Unlocking inconsistency: > Context 676684348 trying to unlock lock held by context 2 > (EE) intel(0): [DRI] Locking deadlock. > Already locked with context 676684348, > trying to lock with context 2. > > is written to Xorg.0.log and kdm-bin.log so many times that it fills > my /var partition and locks my system. Note that if I boot with the > tablet already plugged in, this error doesn't appear, and everything > works fine. This is actually not connected to the tablet in my opinion, it's a problem with 3D-acceleration of your video card, which apparently does not like being reset/restarted. Can you show us your Device Section? > I loading the driver via the line > > 'uwacom_load="YES" > > in /boot/loader.conf > > 2) If I remove the tablet from the computer (I've only tried it during > an X session), the system panics and shuts down, whether or not I stop > the wacom driver before removing the tablet. OK, this sounds like a serious kernel problem. > 3) If I stop the wacom driver, then start it again, I cannot simply > restart X and have the tablet work. I have to reboot in order for the > tablet to be recognized, even in mouse mode. That's because the driver can not start a rescan of the hardware. It can only hook in when the tablet gets first detected. This is why the module has to be loaded from loader.conf. > 4) Occasionally the pointer refuses to stay put and drifts to the top > of the screen. Controlling the pointer with the mouse becomes > difficult at this point, too, since it wants to float upwards. > Unfortunately, I have difficulty reproducing this reliably. Once it > starts, though, it doesn't stop until I end the X session. If the > problem starts and then I stop the wacom driver without restarting X, > it continues anyway. I have that with a cheap optical mouse sometimes, I plug it out and back in and the problem is gone. Since that panics your system this is hardly an acceptable solution. Anyway it looks to me like that is a hardware problem. > 5) Xorg.0.log contains the following error (also included below): > > pad Wacom X driver can't grab event device, errno=1005 > > (I haven't honestly noticed any strange behavior on the 'pad' device, however.) Well, I have taken the liberty to forward this mail to Bartosz, he might be able to do something with that. Obviously the driver does not handle all data generated by the pad. > Regarding 1) - and maybe 3) & 4) - my guess is that the tablet is > fighting with the mouse for control of the pointer, but I don't know > how to check if that's the case or how to fix it if it is. No, that's not the way things work. I think you are facing two distinct problems here. One with your video card and one with the tablet driver. From ohartman at mail.zedat.fu-berlin.de Sun Feb 1 03:07:33 2009 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Sun Feb 1 03:07:40 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <200901301430.07087.fbsd.questions@rachie.is-a-geek.net> <4984EF27.2050405@mail.zedat.fu-berlin.de> Message-ID: <49858274.6090807@mail.zedat.fu-berlin.de> Alex Goncharov wrote: > ,--- You/O. (Sun, 01 Feb 2009 01:39:03 +0100) ----* > | I did a 'ldd' on the Firefox3 binary > | and I got the attached dump of the linked shared objects. > | Interestingly, the first three entries show up something missing - > > LD_LIBRARY_PATH=/usr/local/lib/firefox3 ldd /usr/local/lib/firefox3/firefox-bin | head -n 5 > /usr/local/lib/firefox3/firefox-bin: > libxul.so => /usr/local/lib/firefox3/libxul.so (0x28087000) > libmozjs.so => /usr/local/lib/firefox3/libmozjs.so (0x28e8f000) > libxpcom.so => /usr/local/lib/firefox3/libxpcom.so (0x28f1f000) > > firefox3 sets LD_LIBRARY_PATH for you :-) > It does not! ... on all of my boxes (amd64), it does not ... even on those machines where Firefox3 is running, these libs are empty. But I realized that those boxes are capable running firefox3 after the 'great Xorg-update-catastrophy' have still installed firefox2 ... I will check tomorrow at the lab if this do have an influence of the proper work abilities of firefox3 when removing the old firefox2. When setting LD_LIBRARY_PATH manually, adding /usr/lib/firefox3/, it doesn't change the bad situation on the failing CURRENT amd64 box. > | thor# ldd firefox-bin > | firefox-bin: > | libxul.so => not found (0x0) > | libmozjs.so => not found (0x0) > | libxpcom.so => not found (0x0) > | libplds4.so.1 => /usr/local/lib/libplds4.so.1 (0x80063e000) > > -- Alex -- alex-goncharov@comcast.net -- > > From ohartman at mail.zedat.fu-berlin.de Sun Feb 1 03:29:01 2009 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Sun Feb 1 03:29:14 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: <790a9fff0901312008x71fa025na58856bde4c7a5be@mail.gmail.com> References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <200901301430.07087.fbsd.questions@rachie.is-a-geek.net> <4984EF27.2050405@mail.zedat.fu-berlin.de> <790a9fff0901312008x71fa025na58856bde4c7a5be@mail.gmail.com> Message-ID: <4985877B.8080502@mail.zedat.fu-berlin.de> Scot Hetzel wrote: > On Sat, Jan 31, 2009 at 6:39 PM, O. Hartmann > wrote: > >> build-process, but I doubt this. I did a 'ldd' on the Firefox3 binary >> and I got the attached dump of the linked shared objects. >> Interestingly, the first three entries show up something missing - >> therefore I deinstalled Firefox and rebuild the browser after an >> additional rebuild of libxcb (via portupgrade -rf). Previously, all Xorg >> > > >> thor# ldd firefox-bin >> firefox-bin: >> libxul.so => not found (0x0) >> libmozjs.so => not found (0x0) >> libxpcom.so => not found (0x0) >> libplds4.so.1 => /usr/local/lib/libplds4.so.1 (0x80063e000) >> libplc4.so.1 => /usr/local/lib/libplc4.so.1 (0x80076f000) >> > > When firefox3 was first added to the ports collection, I had noticed > this problem with firefox3 (after using sysutils/libchk), but I didn't > have this problem with the firefox 2. A look at the difference > between the www/firefox and www/firefox3 Makefiles showed that > firefox3 was missing this: > > LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH} > > After adding this line to the ports Makefile, and rebuilding the port, > these libraries are now showing as found in the ldd output. > > Scot > Isn't that worth a PR? From alex-goncharov at comcast.net Sun Feb 1 04:56:43 2009 From: alex-goncharov at comcast.net (Alex Goncharov) Date: Sun Feb 1 04:56:56 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: <49858274.6090807@mail.zedat.fu-berlin.de> (ohartman@mail.zedat.fu-berlin.de) References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <200901301430.07087.fbsd.questions@rachie.is-a-geek.net> <4984EF27.2050405@mail.zedat.fu-berlin.de> <49858274.6090807@mail.zedat.fu-berlin.de> Message-ID: ,--- You/O. (Sun, 01 Feb 2009 12:07:32 +0100) ----* | Alex Goncharov wrote: | > ,--- You/O. (Sun, 01 Feb 2009 01:39:03 +0100) ----* | > | I did a 'ldd' on the Firefox3 binary | > | and I got the attached dump of the linked shared objects. | > | Interestingly, the first three entries show up something missing - | > | > LD_LIBRARY_PATH=/usr/local/lib/firefox3 ldd /usr/local/lib/firefox3/firefox-bin | head -n 5 | > /usr/local/lib/firefox3/firefox-bin: | > libxul.so => /usr/local/lib/firefox3/libxul.so (0x28087000) | > libmozjs.so => /usr/local/lib/firefox3/libmozjs.so (0x28e8f000) | > libxpcom.so => /usr/local/lib/firefox3/libxpcom.so (0x28f1f000) | > | > firefox3 sets LD_LIBRARY_PATH for you :-) | > | It does not! ---------------------------------------------------------------------- $ grep run-mozilla.sh /usr/local/bin/firefox3 # Use run-mozilla.sh in the current dir if it exists # If not, then start resolving symlinks until we find run-mozilla.sh run_moz="$curdir/run-mozilla.sh" run_moz="$curdir/run-mozilla.sh" run_moz="$dist_bin/run-mozilla.sh" if [ -x "$moz_libdir/run-mozilla.sh" ]; then echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@" "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@" $ grep LD_LIBRARY_PATH /usr/local/lib/firefox3/run-mozilla.sh ## Set LD_LIBRARY_PATH ## On Solaris we use $ORIGIN (set in RUNPATH) instead of LD_LIBRARY_PATH ## under dist/bin. To solve the problem, we should rely on LD_LIBRARY_PATH LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"} if [ -n "$LD_LIBRARY_PATH_64" ]; then LD_LIBRARY_PATH_64=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH_64+":$LD_LIBRARY_PATH_64"} ## Set DYLD_LIBRARY_PATH for Mac OS X (Darwin) DYLD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MRE_HOME}${DYLD_LIBRARY_PATH+":$DYLD_LIBRARY_PATH"} echo " LD_LIBRARY_PATH=$LD_LIBRARY_PATH" if [ -n "$LD_LIBRARY_PATH_64" ]; then echo "LD_LIBRARY_PATH_64=$LD_LIBRARY_PATH_64" echo "DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH" export MOZILLA_FIVE_HOME LD_LIBRARY_PATH export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH ---------------------------------------------------------------------- No, it doesn't? | ... on all of my boxes (amd64), it does not ... even on those | machines where Firefox3 is running, these libs are empty. But I | realized that those boxes are capable running firefox3 after the | 'great Xorg-update-catastrophy' have still installed firefox2 ... I | will check tomorrow at the lab if this do have an influence of the | proper work abilities of firefox3 when removing the old firefox2. | | When setting LD_LIBRARY_PATH manually, adding /usr/lib/firefox3/, it | doesn't change the bad situation on the failing CURRENT amd64 box. All I was saying was that your ldd experiment was... hmm... not correct (if you agree with mine, of course). -- Alex -- alex-goncharov@comcast.net -- From alex-goncharov at comcast.net Sun Feb 1 04:59:24 2009 From: alex-goncharov at comcast.net (Alex Goncharov) Date: Sun Feb 1 04:59:36 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension " missing on display ":0.0". In-Reply-To: <200901312005.51125.fbsd.questions@rachie.is-a-geek.net> (message from Mel on Sat, 31 Jan 2009 20:05:50 -0900) References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <200901301430.07087.fbsd.questions@rachie.is-a-geek.net> <4984EF27.2050405@mail.zedat.fu-berlin.de> <200901312005.51125.fbsd.questions@rachie.is-a-geek.net> Message-ID: ,--- You/Mel (Sat, 31 Jan 2009 20:05:50 -0900) ----* | As a sidenote, it would be nice if xorg-server14 port would be created till | the dust has settled. Very, very nice. Almost as nice as xorg-server being the old, working xorg-server and xorg-server-devel the new, broken one. -- Alex -- alex-goncharov@comcast.net -- From freebsd at edvax.de Sun Feb 1 05:01:16 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Feb 1 05:01:24 2009 Subject: Tool to uncat file Message-ID: <20090201140102.e9a9a41a.freebsd@edvax.de> Dear list, before starting to code on my own, I'd like to ask if there's already a tool to uncat files, defining the file separation position as a string of bytes, usually given in hexadecimal form. An example could be this: % uncat -p 0x12,0x52,0xf1,0x09 file_orig It creates file_1 file_2 file_3. And, of course, % cat file_1 file_2 file_3 > file_orig would re-create the original file. The bytes 0x12,0x52,0xf1,0x09 tell the file starting pattern (-p), where a new file begins. I cannot use dd due to the fact that the files concatenated are of a different size. So the idea would be to look for specific byte pattern and then start a new file each time it occurs on input. Is there such a tool, or any other ideas? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From will.rutherdale at utoronto.ca Sun Feb 1 05:11:27 2009 From: will.rutherdale at utoronto.ca (William Gordon Rutherdale) Date: Sun Feb 1 05:11:35 2009 Subject: Tool to uncat file In-Reply-To: <20090201140102.e9a9a41a.freebsd@edvax.de> References: <20090201140102.e9a9a41a.freebsd@edvax.de> Message-ID: <49859F76.3010707@utoronto.ca> $ man split This (split) is the standard unix utility to break a file up into pieces. It breaks it down either by a fixed number of lines or by a fixed number of bytes. Also the rules for dividing lines is simplistic: simple newline division, no special escape handling. If that doesn't suit your purpose, then you have to write your own custom split-like utility. I've done that in the past. For instance I once wrote a routine in Perl at work to divide Informix format .unl files (database dump), with special escape rules for newlines and special handling of binary data. For what you're describing you probably want to write a C program to do the job. -Will Polytropon wrote: > Dear list, > > before starting to code on my own, I'd like to ask if there's already a > tool to uncat files, defining the file separation position as a string > of bytes, usually given in hexadecimal form. > > An example could be this: > > % uncat -p 0x12,0x52,0xf1,0x09 file_orig > > It creates file_1 file_2 file_3. And, of course, > > % cat file_1 file_2 file_3 > file_orig > > would re-create the original file. The bytes 0x12,0x52,0xf1,0x09 tell the > file starting pattern (-p), where a new file begins. > > I cannot use dd due to the fact that the files concatenated are of a > different size. So the idea would be to look for specific byte pattern > and then start a new file each time it occurs on input. > > Is there such a tool, or any other ideas From andrewhw at ieee.org Sun Feb 1 05:23:45 2009 From: andrewhw at ieee.org (Andrew Hamilton-Wright) Date: Sun Feb 1 05:24:23 2009 Subject: dump(8) using snapshot + "recommended" cache Message-ID: Hi All; I regularly use dump(8) with snapshots to back up my server. While this seems to have been working perfectly well so far, upon (re)reading the man page for dump(8), I have noticed a somewhat scary pair of lines in the paragraph describing the option for -C (emphasis with stars mine): [Use of this option] will greatly improve performance at the cost of ***dump possibly not noticing changes in the file system*** between passes. ***It is recommended that you always use this option when dumping a snapshot.*** Does anyone know what, exactly, this means? In particular, is the first statement actually trying to say: Use of this option will greatly improve performance; however it may be that changes made to the filesystem made between _dump_ passes will be ignored. ***The resulting dumped filesystem image will be consistent and correct based on a timestamp no later than that of the point at which the dump was started***. Is this a fair statement? Is this guaranteed? Or are we trying to say that: The resulting filesystem will contain images of individual files based on a timestamp no later than that of the point at which the dump was started, however any individual files modified after the dump begins may be stored using any of the version that appeared written to disk during the period of the dump. As far as the second line goes, I am not at all clear on what this is trying to say. Why is the cache recommended? For speed? Stability? Output correctness? In particular, if a snapshot dump is made without a cache option, is it potentially corrupt? In particular, if the second attempt above is more true than the first, it seems to me that we should _not_ recommend the use of a cache with snapshots, as it seems to erode the utility of the snapshot itself. It is for this reason that I am suspecting that there is more here than meets the eye, which is why I am keen to make sure that this is clear. I am very happy to put in an update to the docs if we can make sure that we know exactly what we are trying to say here. Thanks, Andrew. From wojtek at wojtek.tensor.gdynia.pl Sun Feb 1 05:34:19 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Feb 1 05:34:26 2009 Subject: dump(8) using snapshot + "recommended" cache In-Reply-To: References: Message-ID: <20090201143340.U65379@wojtek.tensor.gdynia.pl> > > I regularly use dump(8) with snapshots to back up my server. > > While this seems to have been working perfectly well so far, > upon (re)reading the man page for dump(8), I have noticed a > somewhat scary pair of lines in the paragraph describing > the option for -C (emphasis with stars mine): > > [Use of this option] will greatly improve performance > at the cost of ***dump possibly not noticing changes in > the file system*** between passes. > > ***It is recommended that you always use this option when > dumping a snapshot.*** > > Does anyone know what, exactly, this means? no, in my experience it's no difference in speed with this enabled or not. From ohartman at mail.zedat.fu-berlin.de Sun Feb 1 05:50:49 2009 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Sun Feb 1 05:50:56 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <200901301430.07087.fbsd.questions@rachie.is-a-geek.net> <4984EF27.2050405@mail.zedat.fu-berlin.de> <49858274.6090807@mail.zedat.fu-berlin.de> Message-ID: <4985A8B7.2040307@mail.zedat.fu-berlin.de> Alex Goncharov wrote: > ,--- You/O. (Sun, 01 Feb 2009 12:07:32 +0100) ----* > | Alex Goncharov wrote: > | > ,--- You/O. (Sun, 01 Feb 2009 01:39:03 +0100) ----* > | > | I did a 'ldd' on the Firefox3 binary > | > | and I got the attached dump of the linked shared objects. > | > | Interestingly, the first three entries show up something missing - > | > > | > LD_LIBRARY_PATH=/usr/local/lib/firefox3 ldd /usr/local/lib/firefox3/firefox-bin | head -n 5 > | > /usr/local/lib/firefox3/firefox-bin: > | > libxul.so => /usr/local/lib/firefox3/libxul.so (0x28087000) > | > libmozjs.so => /usr/local/lib/firefox3/libmozjs.so (0x28e8f000) > | > libxpcom.so => /usr/local/lib/firefox3/libxpcom.so (0x28f1f000) > | > > | > firefox3 sets LD_LIBRARY_PATH for you :-) > | > > | It does not! > > ---------------------------------------------------------------------- > > $ grep run-mozilla.sh /usr/local/bin/firefox3 > # Use run-mozilla.sh in the current dir if it exists > # If not, then start resolving symlinks until we find run-mozilla.sh > run_moz="$curdir/run-mozilla.sh" > run_moz="$curdir/run-mozilla.sh" > run_moz="$dist_bin/run-mozilla.sh" > if [ -x "$moz_libdir/run-mozilla.sh" ]; then > echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@" > "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@" > > > $ grep LD_LIBRARY_PATH /usr/local/lib/firefox3/run-mozilla.sh > ## Set LD_LIBRARY_PATH > ## On Solaris we use $ORIGIN (set in RUNPATH) instead of LD_LIBRARY_PATH > ## under dist/bin. To solve the problem, we should rely on LD_LIBRARY_PATH > LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"} > if [ -n "$LD_LIBRARY_PATH_64" ]; then > LD_LIBRARY_PATH_64=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH_64+":$LD_LIBRARY_PATH_64"} > ## Set DYLD_LIBRARY_PATH for Mac OS X (Darwin) > DYLD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MRE_HOME}${DYLD_LIBRARY_PATH+":$DYLD_LIBRARY_PATH"} > echo " LD_LIBRARY_PATH=$LD_LIBRARY_PATH" > if [ -n "$LD_LIBRARY_PATH_64" ]; then > echo "LD_LIBRARY_PATH_64=$LD_LIBRARY_PATH_64" > echo "DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH" > export MOZILLA_FIVE_HOME LD_LIBRARY_PATH > export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH > > ---------------------------------------------------------------------- > > No, it doesn't? > > | ... on all of my boxes (amd64), it does not ... even on those > | machines where Firefox3 is running, these libs are empty. But I > | realized that those boxes are capable running firefox3 after the > | 'great Xorg-update-catastrophy' have still installed firefox2 ... I > | will check tomorrow at the lab if this do have an influence of the > | proper work abilities of firefox3 when removing the old firefox2. > | > | When setting LD_LIBRARY_PATH manually, adding /usr/lib/firefox3/, it > | doesn't change the bad situation on the failing CURRENT amd64 box. > > All I was saying was that your ldd experiment was... hmm... not > correct (if you agree with mine, of course). > Saying, it was stupid? You're correct. It was stupid and, of course, it doesn't matter if the libs show up or not. I thought, at the first shot, firefox3 binary needs to have a complete reference to all of its libraries, but thinking so leads the advantage of having dynamical loadable objects ad absurdum. Greetings, Oliver From alex-goncharov at comcast.net Sun Feb 1 06:02:46 2009 From: alex-goncharov at comcast.net (Alex Goncharov) Date: Sun Feb 1 06:02:59 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: <4985A8B7.2040307@mail.zedat.fu-berlin.de> (ohartman@mail.zedat.fu-berlin.de) References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <200901301430.07087.fbsd.questions@rachie.is-a-geek.net> <4984EF27.2050405@mail.zedat.fu-berlin.de> <49858274.6090807@mail.zedat.fu-berlin.de> <4985A8B7.2040307@mail.zedat.fu-berlin.de> Message-ID: ,--- I/Alex (Sun, 01 Feb 2009 07:56:40 -0500) ----* | All I was saying was that your ldd experiment was... hmm... not | correct (if you agree with mine, of course). ,--- You/O. (Sun, 01 Feb 2009 14:50:47 +0100) ----* | Saying, it was stupid? You're correct. It was stupid and, of course, it | doesn't matter if the libs show up or not. Not stupid -- you tried various things in desperation and hurry, and reported your observations and thoughts. It's normal :-) | I thought, at the first shot, firefox3 binary needs to have a | complete reference to all of its libraries, but thinking so leads | the advantage of having dynamical loadable objects ad absurdum. Glad this is cleared now! -- Alex -- alex-goncharov@comcast.net -- From yanefbsd at gmail.com Sun Feb 1 06:07:47 2009 From: yanefbsd at gmail.com (Garrett Cooper) Date: Sun Feb 1 06:07:55 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension " missing on display ":0.0". In-Reply-To: <200901312005.51125.fbsd.questions@rachie.is-a-geek.net> References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <200901301430.07087.fbsd.questions@rachie.is-a-geek.net> <4984EF27.2050405@mail.zedat.fu-berlin.de> <200901312005.51125.fbsd.questions@rachie.is-a-geek.net> Message-ID: On Jan 31, 2009, at 9:05 PM, Mel wrote: > On Saturday 31 January 2009 15:39:03 O. Hartmann wrote: >> Mel wrote: >>> On Friday 30 January 2009 13:19:41 O. Hartmann wrote: >>>> After upgrading one of my FreeBSD 8.0-CUR/amd64 boxes to new >>>> xorg-7.4 >>>> and having done hurting recompiling nearly everything/package >>>> twice now >>>> firefox3 still doesn't work properly and hits me when starting >>>> with this >>>> error message: >>>> >>>> Xlib: extension "Generic Event Extension" missing on display ": >>>> 0.0". >>>> >>>> Then firefox3 freezes forever, showing something like the >>>> background or >>>> pixel remnants of windows/picograms moving over its window. >>> >>> http://lists.freedesktop.org/archives/xorg/2008-October/039134.html >> >> Well, that doesn't help very much. As R. Noland wrote, the error >> coming >> up isn't of any harm. >> >> I still have Firefox3 not working on a FreeBSD 8.0-CURRENT/AMD64 UP >> box, >> running the most recent FreeBSD 8.0-CURRENT and having now recompiled >> three time EVERYTHING, Firefox3 inclusive. Firefox3 is still stuck >> when >> it comes to pulldown menus or requester for download destination, >> eating >> up 100% CPU time and slowing down the box incredible. I pretty sure I >> have all the stuff of the X11 suite in the right place and the right >> revision number, as I said, I recompiled everything three times and I >> did several attempts upgrading the whole Xorg since sunday last week. > > You have 2 choices: > - revert to known working xorg-server-1.4 (xorg 7.3) > - try to debug this using the send-pr system, given the ammount of > problems > people are posting with this xorg-server, more datapoints are not a > bad > thing. > > As a sidenote, it would be nice if xorg-server14 port would be > created till > the dust has settled. I don't have an issue with any cairo related ports after upgrading to xorg 7.4. Of course I had to rebuild everything dependent on libxcb, but that took no more than one iteration to complete (apart from xchat2, which took 4 iterations to finish because of some wonky library mucking up the works). Yay for statically linked library code - _-... -Garrett From lenzi at k1.com.br Sun Feb 1 06:12:06 2009 From: lenzi at k1.com.br (=?ISO-8859-1?Q?S=E9rgio?= de Almeida Lenzi) Date: Sun Feb 1 06:12:13 2009 Subject: Gnucash slow startup on FreeBSD 7.1 In-Reply-To: <58a2fd890901310001o31d22e6bg84df4c64ac79e0c9@mail.gmail.com> References: <58a2fd890901310001o31d22e6bg84df4c64ac79e0c9@mail.gmail.com> Message-ID: <1233495492.13844.12.camel@k2.cwb.casa> Here I notice that the problem is in glib2 gnucach, and evolution makes a dlopen with a wrong option in BSD, so it scans all the machine for shared libraries... and it takes a lot of cpu and a lot of time a fix in glib makes the trick... (it is an ugly fix, but works...) the fix at http://patches.k1.com.br/glib20-patch-x1 and insert code for gnucash and apply it to glib code (/usr/ports/deve/glib20) reinstall glib, and see if works..... Hope it helps.... Sergio From lists_freebsd at bluewin.ch Sun Feb 1 07:44:10 2009 From: lists_freebsd at bluewin.ch (Martin Schweizer) Date: Sun Feb 1 07:44:17 2009 Subject: Using Serial Port Other Than sio0 for the Console In-Reply-To: References: <20090130172843.GB89911@saturn.pcs.ms> Message-ID: <20090201160311.GD54916@saturn.pcs.ms> Hello Tim Probably I find the problem. I did not read care enough the article 26.6.5.2. I will try it asap (in the next few days). I will keep you updated. Regards, Am Sat, Jan 31, 2009 at 12:09:28PM -0700 Tim Judd schrieb: > On Fri, Jan 30, 2009 at 10:28 AM, Martin Schweizer > wrote: > > > Hello > > > > I want to use sio1 for console access. I read chapter 26.6 in the handbook > > and did the following: > > > > /boot.config: > > -P > > > > /boot/device.hints: > > [snip] > > hint.sio.0.at="isa" > > hint.sio.0.port="0x3F8" > > ### hint.sio.0.flags="0x10" > > hint.sio.0.irq="4" > > hint.sio.1.at="isa" > > hint.sio.1.port="0x2F8" > > hint.sio.1.flags="0x10" > > hint.sio.1.irq="3" > > [snip] > > > > My custom kernel: > > [snip] > > device sio > > [snip] > > > > /var/run/dmesg.boot: > > [snip] > > sio0: configured irq 4 not in bitmap of probed irqs 0 > > sio0: port may not be enabled > > sio0: configured irq 4 not in bitmap of probed irqs 0 > > sio0: port may not be enabled > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 > > sio0: type 16550A > > sio0: [FILTER] > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > sio1: port may not be enabled > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > sio1: port may not be enabled > > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on > > acpi0 > > sio1: type 16550A, console > > sio1: [FILTER] > > [snip] > > > > /etc/ttys: > > [snip] > > ttyd0 "/usr/libexec/getty std.9600" vt100 on secure > > ttyd1 "/usr/libexec/getty std.9600" vt100 on secure > > ttyd2 "/usr/libexec/getty std.9600" vt100 on secure > > ttyd3 "/usr/libexec/getty std.9600" vt100 on secure > > [snip] > > > > The baud rate etc. are correct as well (the standard settings). > > > > The problem is I get no connection. I'm sure that my terminal works correct > > because I can connect other FreeBSD sever over the serial cable but not the > > above. > > Any ideas? > > > > Kind regards, > > > > -- > > > > Martin Schweizer > > > > > > PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon > > Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; > > public key : http://www.pc-service.ch/pgp/public_key.asc; > > fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; > > > > Surprised nobody's really responded. > > Enabling serial logins on ttyd1 (COM2 in Microsoft terms) is on -- it's > defined in your ttys. The guaranteed "enabling" is to restart, but I've > heard that sigHUP init will reread ttys and enable logins (but I hadn't got > that to work yet). > > Enabling serial as your console output (in terms of the boot process and > everything) should be, if available, enabled in /boot/loader.conf > > There doesn't seem to be a setting to enable COM2 as your console device, > the only options (by reading through /boot/defaults/loader.conf) is to > enable comconsole, which runs over COM1 > > You would likely have to hack the bootloader files in source and reinstall > to get that kind of functionality. > > > Does this help? let me know if you want more help. I like enabling serial > console for the fact that you can get into out-of-bounds management this way > easily. > > --Tim > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From tijl at ulyssis.org Sun Feb 1 07:47:27 2009 From: tijl at ulyssis.org (Tijl Coosemans) Date: Sun Feb 1 07:47:34 2009 Subject: Excessive letter-spacing in firefox3 under wine In-Reply-To: <4982196B.9010308@next.online.no> References: <4982196B.9010308@next.online.no> Message-ID: <200902011618.07115.tijl@ulyssis.org> On Thursday 29 January 2009 22:02:35 Tore Lund wrote: > Subject line says it all - large gaps between all letters. Here is a > screenshot: http://softblur.com/misc/spacing.jpg. > > I suppose there are others who run firefox3 under wine on 7.1-RELEASE > with no problems, so can anyone think of what's wrong? I have imported > fonts from my Windows 2000 installation, and I am using the same profile > that works well with native FreeBSD firefox and firefox on Windows 2000. > I believe this did not happen with firefox2. Grateful for any hint. What exactly did you do to import those fonts? You should put them in a separate directory under /usr/local/lib/X11/fonts, create fonts.scale and fonts.dir in that directory using mkfontscale and mkfontdir, then run "fc-cache -f -v" and (for completeness) add a FontPath entry to your xorg.conf. Alternatively, you can install the x11-fonts/webfonts port, which contains the most commonly used fonts. > (Actually, I only use wine in order to get flash9, so if anyone could > help me solve this problem instead, that's even better. I have tried > the available recipes with no success - my firefox3 just freezes.) Try to get it to work under linux-firefox first. - Remove all linux-*, linux_base-* and nspluginwrapper packages you've currently installed. - Remove any stale npwrapper plugins from the following directories and their subdirectories: ~/.mozilla/plugins /usr/local/lib/browser_plugins /usr/local/lib/npapi /usr/local/lib/firefox/plugins - Check that you have these settings in each file: * /etc/make.conf: OVERRIDE_LINUX_BASE_PORT=f8 * /etc/sysctl.conf: compat.linux.osrelease=2.6.16 * /etc/rc.conf: linux_enable="YES" * /etc/fstab: linprocfs /compat/linux/proc linprocfs rw 0 0 - Reboot or alternatively you can run these commands as root: sysctl compat.linux.osrelease=2.6.16 mount /compat/linux/proc - Install www/linux-firefox and www/linux-flashplugin9. - Check if the plugin works in linux-firefox. - Install www/nspluginwrapper. - Run these commands as root: nspluginwrapper -v -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so ln -sf /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so /usr/local/lib/npapi/symlinks/firefox/ - Check if the plugin works in native firefox. This should get the plugin working, but it'll still crash or freeze the browser sometimes. You can kill the plugin with "killall npviewer.bin". You also might want to install a plugin like www/xpi-flashblock. From zflyer at gmail.com Sun Feb 1 08:19:11 2009 From: zflyer at gmail.com (Walker) Date: Sun Feb 1 08:19:17 2009 Subject: Reading a DVD UDF volume label Message-ID: <6293ba970902010748h5e46327nb7085aa753c04e1e@mail.gmail.com> Hello, Does anyone know how to retrieve a DVD's UDF volume label from the CLI? I'm trying to write a script that will catalog a DVD's contents and automatically assign it a filename based on the UDF label. Things I've tried so far: The "file -s /dev/acd0" command. cdrtools-devel's "cdrecord -minfo" Using "dd" and "strings". Any help appreciated. Thanks! From AHamiltonWright at MtA.ca Sun Feb 1 08:23:44 2009 From: AHamiltonWright at MtA.ca (Andrew Hamilton-Wright) Date: Sun Feb 1 08:23:51 2009 Subject: dump(8) using snapshot + "recommended" cache In-Reply-To: References: Message-ID: > I regularly use dump(8) with snapshots to back up my server. > > While this seems to have been working perfectly well so far, Sorry to follow-up my own post; I just realized I hadn't mentioned any version info. The docs I am reading are the ones associated with 7.1-RELEASE; I haven't checked whether this part of the dump documentation got updated with 7.1 or not. Thanks, Andrew. From mkhitrov at gmail.com Sun Feb 1 08:28:37 2009 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Sun Feb 1 08:28:45 2009 Subject: Shuttle for a BSD file server? In-Reply-To: <26ddd1750901291933i31f31328rffcb3e5116cb1bf@mail.gmail.com> References: <26ddd1750901291933i31f31328rffcb3e5116cb1bf@mail.gmail.com> Message-ID: <26ddd1750902010828q1ac3875as32b881ce4fb086a3@mail.gmail.com> On Thu, Jan 29, 2009 at 10:33 PM, Maxim Khitrov wrote: > Greetings, > > I'm planning to build a new home file server for myself, starting with > about 2TB of RAID6 space, but with room to grow in the future. Most of > that will be on SATA drives, but I may throw in two SAS drives in > RAID1 for the base OS, hence the SAS raid controller and enclosure. > The highest priority for this build is data security, followed by > performance and uptime. > > Rather than go for server-grade components, I thought that I should > instead try to separate storage from the server itself. It's cheaper > (sort of), easier to upgrade in the future, and if the server goes > down for some reason, I can just put the raid card into another > machine and once again have access to my data. The other advantage > with this build is that I already have a Q6600 and some DDR2 memory > around, so that will save me money on having to get Xeons and ECC > memory. With that in mind, I currently have the following components > picked out (listed below). > > I would like to know whether anyone has used any of these with FreeBSD > 7.x, or if you have some other suggestions for what I should look into > (am I asking for trouble by using these parts for a 24/7 file server > in terms of stability)? I know that the 3ware controller should be > supported, but I'm not sure about the Shuttle. How does FreeBSD play > with X48 chipset? The drive enclosure obviously doesn't interact with > the OS, but I'd still like your opinion on it or maybe some > alternatives. Please let me know what you think. > > - Max > > Barebone: > Shuttle SX48P2 E > http://www.newegg.com/Product/Product.aspx?Item=N82E16856101070 > > Raid Card: > 3ware 9690SA-8E-KIT > http://www.newegg.com/Product/Product.aspx?Item=N82E16816116062 > > SAS Enclosure: > RAIDAGE iAge840ML2 > http://www.newegg.com/Product/Product.aspx?Item=N82E16816702014 > Ok, other components aside for now, I've been thinking about what video card to get. Since the raid controller will occupy one slot, and BBU another, I thought about using a usb video adapter. Can anyone please let me know if something like this is supported by FreeBSD: eVGA UV Plus USB VGA Adapter 100-U2-UV16-A1 http://www.newegg.com/Product/Product.aspx?Item=N82E16815101001 - Max From kamikaze at bsdforen.de Sun Feb 1 08:49:16 2009 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Sun Feb 1 08:49:23 2009 Subject: request responsibility timeout Message-ID: <4985D26E.9000604@bsdforen.de> I want to request a responsibility timeout for bin/120784, I have submitted a patch matching the previously discussed criteria for a commit a couple of weeks ago and I would like to receive some kind of reaction. What is the appropriate channel to do so? Regards http://www.freebsd.org/cgi/query-pr.cgi?pr=120784 From seba.bsd at sinux.net Sun Feb 1 08:57:24 2009 From: seba.bsd at sinux.net (Sebastien Chassot) Date: Sun Feb 1 08:57:32 2009 Subject: xorg 7.4 keyboard localisation (xorg.conf vs hal) Message-ID: <1233506559.1023.16.camel@dhcppc0> Hi, I've upgrade to xorg7.4 and apparently keyboard and mouse are now working with hald. In xorg.conf changing "old" keybord config as no effect and I can't find how change it with hal. I've got /usr/local/etc/hal/fdi/* but no *keymap* and I don't know how build such a file. Thank you. -- [] [][][] Sebastien Chassot - Geneva (Switzerland) || From danielby at slightlystrange.org Sun Feb 1 09:19:36 2009 From: danielby at slightlystrange.org (Daniel Bye) Date: Sun Feb 1 09:19:45 2009 Subject: xorg 7.4 keyboard localisation (xorg.conf vs hal) In-Reply-To: <1233506559.1023.16.camel@dhcppc0> References: <1233506559.1023.16.camel@dhcppc0> Message-ID: <20090201171920.GB69316@torus.slightlystrange.org> On Sun, Feb 01, 2009 at 05:42:39PM +0100, Sebastien Chassot wrote: > > Hi, > > I've upgrade to xorg7.4 and apparently keyboard and mouse are now > working with hald. > > In xorg.conf changing "old" keybord config as no effect and I can't find > how change it with hal. I've got /usr/local/etc/hal/fdi/* but no > *keymap* and I don't know how build such a file. This should get you started: gb Change the `gb' in the example to your local keymap name, save the file as /usr/local/etc/hal/fdi/policy/x11-input.fdi and restart hald. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090201/4fa3a2ba/attachment.pgp From fbsd.questions at rachie.is-a-geek.net Sun Feb 1 10:26:21 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sun Feb 1 10:26:27 2009 Subject: request responsibility timeout In-Reply-To: <4985D26E.9000604@bsdforen.de> References: <4985D26E.9000604@bsdforen.de> Message-ID: <200902010926.00728.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 February 2009 07:48:46 Dominic Fandrey wrote: > I want to request a responsibility timeout for bin/120784, I have > submitted a patch matching the previously discussed criteria for > a commit a couple of weeks ago and I would like to receive some kind > of reaction. > > What is the appropriate channel to do so? -hackers -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From rwmaillists at googlemail.com Sun Feb 1 10:31:34 2009 From: rwmaillists at googlemail.com (RW) Date: Sun Feb 1 10:31:40 2009 Subject: dump(8) using snapshot + "recommended" cache In-Reply-To: References: Message-ID: <20090201183128.524f16db@gumby.homeunix.com> On Sun, 1 Feb 2009 08:59:02 -0400 (AST) Andrew Hamilton-Wright wrote: > > Hi All; > > I regularly use dump(8) with snapshots to back up my server. > > While this seems to have been working perfectly well so far, > upon (re)reading the man page for dump(8), I have noticed a > somewhat scary pair of lines in the paragraph describing > the option for -C (emphasis with stars mine): > > [Use of this option] will greatly improve performance > at the cost of ***dump possibly not noticing changes in > the file system*** between passes. > > ***It is recommended that you always use this option when > dumping a snapshot.*** > When you dump a snapshot there are, by definition, no changes between passes. So it's saying that in that case there in no reason not to cache. From m.seaman at infracaninophile.co.uk Sun Feb 1 10:47:04 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Feb 1 10:47:11 2009 Subject: Tool to uncat file In-Reply-To: <20090201140102.e9a9a41a.freebsd@edvax.de> References: <20090201140102.e9a9a41a.freebsd@edvax.de> Message-ID: <4985EE02.5030001@infracaninophile.co.uk> Polytropon wrote: > Dear list, > > before starting to code on my own, I'd like to ask if there's already a > tool to uncat files, defining the file separation position as a string > of bytes, usually given in hexadecimal form. > > An example could be this: > > % uncat -p 0x12,0x52,0xf1,0x09 file_orig > > It creates file_1 file_2 file_3. And, of course, > > % cat file_1 file_2 file_3 > file_orig > > would re-create the original file. The bytes 0x12,0x52,0xf1,0x09 tell the > file starting pattern (-p), where a new file begins. > > I cannot use dd due to the fact that the files concatenated are of a > different size. So the idea would be to look for specific byte pattern > and then start a new file each time it occurs on input. > > Is there such a tool, or any other ideas? csplit(1) 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090201/a8c17c22/signature.pgp From AHamiltonWright at MtA.ca Sun Feb 1 12:07:52 2009 From: AHamiltonWright at MtA.ca (Andrew Hamilton-Wright) Date: Sun Feb 1 12:07:59 2009 Subject: dump(8) using snapshot + "recommended" cache In-Reply-To: <20090201183128.524f16db@gumby.homeunix.com> References: <20090201183128.524f16db@gumby.homeunix.com> Message-ID: On Sun, 1 Feb 2009, RW wrote: >> ***It is recommended that you always use this option when >> dumping a snapshot.*** > > > When you dump a snapshot there are, by definition, no changes between > passes. So it's saying that in that case there in no reason not to > cache. Ah, that makes sense. That being the case, perhaps we can update the text to: If dumping from a snapshot, the filesystem is already frozen, therefore using a cache with a snapshot will ensure that consistency is maintained while also providing best performance. If that sounds good, I'll make a doc patch. Out of curiosity, under what circumstances is the improved performance the most likely? I dump from cron when the system usage is low, and haven't noticed any significant difference in time with or without cacheing -- but I haven't done any testing under heavy load, nor with limited RAM, so there are many mbufs available in any case. Thanks for the info, Andrew. From swhetzel at gmail.com Sun Feb 1 12:58:24 2009 From: swhetzel at gmail.com (Scot Hetzel) Date: Sun Feb 1 12:58:37 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: <4985877B.8080502@mail.zedat.fu-berlin.de> References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <200901301430.07087.fbsd.questions@rachie.is-a-geek.net> <4984EF27.2050405@mail.zedat.fu-berlin.de> <790a9fff0901312008x71fa025na58856bde4c7a5be@mail.gmail.com> <4985877B.8080502@mail.zedat.fu-berlin.de> Message-ID: <790a9fff0902011258j5f954ea9s2c9665c3bd8a5c61@mail.gmail.com> On Sun, Feb 1, 2009 at 5:28 AM, O. Hartmann wrote: > Scot Hetzel wrote: >> On Sat, Jan 31, 2009 at 6:39 PM, O. Hartmann >> wrote: >> >>> build-process, but I doubt this. I did a 'ldd' on the Firefox3 binary >>> and I got the attached dump of the linked shared objects. >>> Interestingly, the first three entries show up something missing - >>> therefore I deinstalled Firefox and rebuild the browser after an >>> additional rebuild of libxcb (via portupgrade -rf). Previously, all Xorg >>> >> >> >>> thor# ldd firefox-bin >>> firefox-bin: >>> libxul.so => not found (0x0) >>> libmozjs.so => not found (0x0) >>> libxpcom.so => not found (0x0) >>> libplds4.so.1 => /usr/local/lib/libplds4.so.1 (0x80063e000) >>> libplc4.so.1 => /usr/local/lib/libplc4.so.1 (0x80076f000) >>> >> >> When firefox3 was first added to the ports collection, I had noticed >> this problem with firefox3 (after using sysutils/libchk), but I didn't >> have this problem with the firefox 2. A look at the difference >> between the www/firefox and www/firefox3 Makefiles showed that >> firefox3 was missing this: >> >> LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH} >> >> After adding this line to the ports Makefile, and rebuilding the port, >> these libraries are now showing as found in the ldd output. >> >> Scot >> > Isn't that worth a PR? > > Submitted and rejected: http://www.freebsd.org/cgi/query-pr.cgi?pr=131237 As it doesn't affect the operation of Firefox3's firefox-bin program. Scot From saper at system.pl Sun Feb 1 13:05:10 2009 From: saper at system.pl (Marcin Cieslak) Date: Sun Feb 1 13:05:17 2009 Subject: Xorg upgrade disaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: <49837CFD.4080603@mail.zedat.fu-berlin.de> References: <49837CFD.4080603@mail.zedat.fu-berlin.de> Message-ID: <49860ABC.1030205@system.pl> O. Hartmann wrote: > After upgrading one of my FreeBSD 8.0-CUR/amd64 boxes to new xorg-7.4 > and having done hurting recompiling nearly everything/package twice now > firefox3 still doesn't work properly and hits me when starting with this > error message: > > Xlib: extension "Generic Event Extension" missing on display ":0.0". Looks like libraries (Xext among others) already support the XGE extension: http://thread.gmane.org/gmane.comp.freedesktop.xorg/36483 but the current the 1.5 Xorg server does not support and the 1.6 release is behind schedule a bit: http://www.phoronix.com/scan.php?page=news_item&px=Njg4OA I keep getting this error after upgrade of X today but everything works as usual. > Then firefox3 freezes forever, showing something like the background or > pixel remnants of windows/picograms moving over its window. The firefox problem is unrelated I think to the message above (as demonstrated later in the thred) --Marcin From farremosen at gmail.com Sun Feb 1 13:34:47 2009 From: farremosen at gmail.com (=?ISO-8859-1?Q?Klaus_Friis_=D8stergaard?=) Date: Sun Feb 1 13:34:53 2009 Subject: Problem gdm 2.24, xdmcp D-BUS? Message-ID: On Fri, Jan 30, 2009 at 04:03:10PM +0100, Klaus Friis ?stergaard wrote: I tried to remove the directories that was not removed by deinstall manually, and then installed again, now no complaints about not being able to uninstall I can now start gdm again, with out any complaints, but when I run sockstat I cannot see gdm-binary active nor any listen on udp 177. Any suggestions? GDM 2.24 ist broken, not only on FreeBSD but also on other systems like Fedora. My personal workaround ist to keep using 2.20 for now, which seems to be the last working version that came from the gnome team. gdm-2.24.1_5 is not broken, else I couldn't have logged onto my gnome-desktop some minutes ago. But there are some feature-regressions compared to 2.20 - developers say they have rewritten important parts of the code. Greetings, Uli. Thanks, but how do I reverse back to gdm 2.20? Is this possible with the portupgrade tools? /Klaus -- Klaus F. ?stergaard, From sales at internationalpropertydirectory.com Sun Feb 1 14:07:04 2009 From: sales at internationalpropertydirectory.com (International Property Directory) Date: Sun Feb 1 14:07:11 2009 Subject: Dear Freebsd-questions the Dubai Shopping Festival 2009 Special Offers are here - International Property Directory Message-ID: <444863973520529021572@ipd-office> Dubai Shopping Festival 2009 Special Offers - International Property Directory Dubai | United Arab Emirates Choose Your Language: Investors - purchase your property through our services and you can list and market your property FREE of charge to our growing database of buyers when you wish to sell. Agent and Private Property Listings Please forward this newsletter If you know someone who might be interested in our latest newsletter please click here to forward this email to up to 5 friends at once. IMPORTANT: International Property Directory will never ask for any monies. All contracts are issued directly and we will assist throughout the process and be on hand for after sales services. Dubai Shopping Festival 2009 Property Bonanza! International Property Directory are pleased to be able to bring an exclusive selection of offers to investors and enthusiasts of the Dubai Property Market in celebration of the Dubai Shopping Festival 2009. Review the FREE 6 page brochure here To start your negotiations to get the very best deals on offer click here We work with the Developers - Directly! Newsletter Sign up - Please sign-up an associate for the IPD Newsletter list Newsletter Removal - Please remove email from the IPD Newsletter list DISCLAIMER This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. This e-mail has been prepared using information believed by the author to be reliable and accurate, but International Property Directory make no warranty as to its accuracy or completeness. Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of International Property Directory. They maybe subject to change without notice. International Property Directory do not accept responsibility for changes made to this e-mail after it was sent. If verification is required please request a hard-copy version. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, lost, destroyed, corrupted, arrive late or incomplete, or contain viruses. For information regarding our privacy policy please visit contact us for further details. International Property Directory does not take receipt of any monies or sign contracts with investors. We operate independently, sourcing property investment opportunities for our interested parties. All contracts and monies are always handled directly with the property developer offering the property. We always recommend our investors seek Independent legal and financial advice before purchasing a property. International Property Directory can accept no liability for any damages or losses resulting from the purchase of one our listed Investment Opportunities. International Property Directory is a Canadian registered company. Registered Address: London, Ontario, N6G 4V4, CANADA ? International Property Directory From brett at lariat.net Sun Feb 1 14:32:18 2009 From: brett at lariat.net (Brett Glass) Date: Sun Feb 1 14:32:24 2009 Subject: IPFW in-kernel NAT: How to compile? Message-ID: <200902012207.PAA29008@lariat.net> All: I'm building a machine using FreeBSD 7.1-RELEASE, and noticed that there was now a kernel configuration option to enable in-kernel NAT in IPFW. So, starting with a pristine system, I tried to rebuild the kernel with this feature as I trimmed out the unneeded device drivers. But the build failed -- and the error messages suggest that the problem had to do with linking libalias into the kernel. libalias seems to be there, so I'm not sure what's wrong. Ideas? --Brett Glass From ipfreak at yahoo.com Sun Feb 1 15:13:30 2009 From: ipfreak at yahoo.com (gahn) Date: Sun Feb 1 15:13:37 2009 Subject: freebsd and multicasting software Message-ID: <613985.35234.qm@web52104.mail.re2.yahoo.com> Hi, all: Does anyone know multicasting packages (udp based) that I can test on the freebsd? I am using 6.3 and it comes with vlc-0.8.6i and doesn't support udp streaming. Any help would be greatly appreciated.. From perryh at pluto.rain.com Sun Feb 1 15:14:18 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun Feb 1 15:14:25 2009 Subject: Tool to uncat file In-Reply-To: <4985EE02.5030001@infracaninophile.co.uk> References: <20090201140102.e9a9a41a.freebsd@edvax.de> <4985EE02.5030001@infracaninophile.co.uk> Message-ID: <49862a93.mPk92H+6FBE9Dl8m%perryh@pluto.rain.com> > > before starting to code on my own, I'd like to ask if there's > > already a tool to uncat files, defining the file separation > > position as a string of bytes, usually given in hexadecimal form. > > > > An example could be this: > > > > % uncat -p 0x12,0x52,0xf1,0x09 file_orig > > > > It creates file_1 file_2 file_3. And, of course, > > > > % cat file_1 file_2 file_3 > file_orig > > > > would re-create the original file. The bytes 0x12,0x52,0xf1,0x09 > > tell the file starting pattern (-p), where a new file begins. > > > > I cannot use dd due to the fact that the files concatenated are > > of a different size ... > > csplit(1) csplit would cover the case where the input file is text, to be split on line boundaries based on patterns found within the lines; but the example given looks like a binary pattern and my reading of the inquiry is that the split should occur at the pattern rather than at a nearby newline. Grepping the ports INDEX for "split" yields the following candidates which might bear examination, to see if any of them will work: misc/granulate sysutils/gfslicer sysutils/hoz sysutils/lxsplit From eitanadlerlist at gmail.com Sun Feb 1 15:19:14 2009 From: eitanadlerlist at gmail.com (Eitan Adler) Date: Sun Feb 1 15:19:21 2009 Subject: Tool to uncat file In-Reply-To: <20090201140102.e9a9a41a.freebsd@edvax.de> References: <20090201140102.e9a9a41a.freebsd@edvax.de> Message-ID: <49862DEE.4050000@gmail.com> Polytropon wrote: > Dear list, > > before starting to code on my own, I'd like to ask if there's already a > tool to uncat files, defining the file separation position as a string > of bytes, usually given in hexadecimal form. > > Is there such a tool, or any other ideas? If I understand correctly you are looking for split(1). -p pattern The file is split whenever an input line matches pattern, which is interpreted as an extended regular expression. The matching line will be the first line of the next output file. This option is incompatible with the -b and -l options. -- Eitan Adler "Security is increased by designing for the way humans actually behave." -Jakob Nielsen From dnelson at allantgroup.com Sun Feb 1 17:12:42 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Sun Feb 1 17:12:49 2009 Subject: IPFW in-kernel NAT: How to compile? In-Reply-To: <200902012207.PAA29008@lariat.net> References: <200902012207.PAA29008@lariat.net> Message-ID: <20090202004344.GH75802@dan.emsphone.com> In the last episode (Feb 01), Brett Glass said: > I'm building a machine using FreeBSD 7.1-RELEASE, and noticed that there > was now a kernel configuration option to enable in-kernel NAT in IPFW. > So, starting with a pristine system, I tried to rebuild the kernel with > this feature as I trimmed out the unneeded device drivers. But the build > failed -- and the error messages suggest that the problem had to do with > linking libalias into the kernel. > > libalias seems to be there, so I'm not sure what's wrong. Ideas? Do you have "options LIBALIAS" in your kernel config? -- Dan Nelson dnelson@allantgroup.com From brett at lariat.net Sun Feb 1 17:13:04 2009 From: brett at lariat.net (Brett Glass) Date: Sun Feb 1 17:13:11 2009 Subject: IPFW in-kernel NAT: How to compile? In-Reply-To: <20090202004344.GH75802@dan.emsphone.com> References: <200902012207.PAA29008@lariat.net> <20090202004344.GH75802@dan.emsphone.com> Message-ID: <200902020112.SAA00512@lariat.net> At 05:43 PM 2/1/2009, Dan Nelson wrote: >Do you have "options LIBALIAS" in your kernel config? Nope. There was nothing that said that such an option was needed (or even that it existed). I did find it, via a recursive grep, in a file labeled "NOTES" a couple of levels up in the directory hierarchy. I'm trying a compile now to see if that's all that's needed to fix the problem. It looks as if there's no longer one easy place to find out how to configure a kernel. The options used to all be in a LINT file that was present in the configuration directory.... No more. --Brett From martin at dc.cis.okstate.edu Sun Feb 1 18:47:28 2009 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Sun Feb 1 18:47:34 2009 Subject: Looking for a Good FreeBSD and General Unix Backup System Message-ID: <200902020247.n122l6el094823@dc.cis.okstate.edu> After all the good suggestions by several people from this list, I think we will go with dump and restore. I used to use dump around ten years ago when our departmental Unix work station was a Sun and I don't ever remember it letting us down, even after something dreadful happened to the main drive and I had to rebuild it. There turns out to be a dump package for Linux which should give us the coverage we were looking for. The scripts I set up for doing backups are much smaller and easier to maintain with dump with the idea being that a shell script determines whether this is week 1 through 5 in a given month. The first day of that week is Level 0 followed by 6 more levels until we start another week such that the path to a backup looks like 02-1/systemname/systemname_0 systemname_1 and so forth. The defaults appear to be slightly different between the bsd dump and Linux's dump, but it wasn't difficult to get both to dump one volume containing all the inodes to a file which is actually a named pipe on the backup server. Many thanks to all. Martin McCormick From dnelson at allantgroup.com Sun Feb 1 19:41:22 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Sun Feb 1 19:41:30 2009 Subject: IPFW in-kernel NAT: How to compile? In-Reply-To: <200902020112.SAA00512@lariat.net> References: <200902012207.PAA29008@lariat.net> <20090202004344.GH75802@dan.emsphone.com> <200902020112.SAA00512@lariat.net> Message-ID: <20090202034118.GI75802@dan.emsphone.com> In the last episode (Feb 01), Brett Glass said: > At 05:43 PM 2/1/2009, Dan Nelson wrote: > > >Do you have "options LIBALIAS" in your kernel config? > > Nope. There was nothing that said that such an option was needed > (or even that it existed). I did find it, via a recursive grep, in > a file labeled "NOTES" a couple of levels up in the directory > hierarchy. I'm trying a compile now to see if that's all that's > needed to fix the problem. > > It looks as if there's no longer one easy place to find out how to > configure a kernel. The options used to all be in a LINT file that > was present in the configuration directory.... No more. LINT was removed back in 2000 and replaced with NOTES, since that better describes what it's really used for. IPFIREWALL_NAT and LIBALIAS should additionally be documented in ipfw(4) imho. -- Dan Nelson dnelson@allantgroup.com From brett at lariat.net Sun Feb 1 20:12:17 2009 From: brett at lariat.net (Brett Glass) Date: Sun Feb 1 20:12:24 2009 Subject: IPFW in-kernel NAT: How to compile? In-Reply-To: <20090202034118.GI75802@dan.emsphone.com> References: <200902012207.PAA29008@lariat.net> <20090202004344.GH75802@dan.emsphone.com> <200902020112.SAA00512@lariat.net> <20090202034118.GI75802@dan.emsphone.com> Message-ID: <200902020412.VAA01893@lariat.net> At 08:41 PM 2/1/2009, Dan Nelson wrote: >LINT was removed back in 2000 and replaced with NOTES, since that better >describes what it's really used for. IPFIREWALL_NAT and LIBALIAS should >additionally be documented in ipfw(4) imho. Indeed they should. I'm not a committer, or I'd add the information. --Brett Glass From fanreach at reverbnation.com Sun Feb 1 20:20:24 2009 From: fanreach at reverbnation.com (MIXSHOWBLAST) Date: Sun Feb 1 20:20:30 2009 Subject: Confirmation Message from MIXSHOWBLAST Message-ID: questions@freebsd.org, You are receiving this message because of your relationship with the artist 'MIXSHOWBLAST': "We recently switched mail servers, and are required to send out this courtesy re-confirmation email. You don't need to do anything to remain on our mailing list. You will be receiving updates from us soon, so stay tuned!" Your options: [1]Confirm my email so that I will be eligible for any exclusives from MIXSHOWBLAST [2]Unsubscribe from this list [3]Report Spam or Abuse _________________________________________________________________ [fanreach_logo_white_94x22.png] [powered_by_reverbnation.png] This email sent through FanReach from ReverbNation. MIXSHOWBLAST have indicated that you have requested this information. ReverbNation.com: 501 Washington St., Suite J, Durham NC 27701 [4] Update Contact Info [5] Unsubscribe [6] Report Abuse [7] Privacy References 1. http://www.reverbnation.com/c./a1/label_12232?eid=1398434_13494323&fid=13494323&fsc=d706ee2b860&action_code=opt_in 2. http://www.reverbnation.com/c./fr2/label_12232?eid=1398434_13494323&fid=13494323&fsc=d706ee2b860 3. http://www.reverbnation.com/?popup_render=%2Fc.%2Ffr1%2Flabel_12232%3Feid%3D1398434_13494323%26fid%3D13494323%26fsc%3Dd706ee2b860 4. http://www.reverbnation.com/c./a1/label_12232?eid=1398434_13494323&fid=13494323&fsc=d706ee2b860 5. http://www.reverbnation.com/c./fr2/label_12232?eid=1398434_13494323&fid=13494323&fsc=d706ee2b860 6. http://www.reverbnation.com/?popup_render=%2Fc.%2Ffr1%2Flabel_12232%3Feid%3D1398434_13494323%26fid%3D13494323%26fsc%3Dd706ee2b860 7. http://www.reverbnation.com/c./cms/PrivacyPolicy?layout=popup&display=view_popup From scrappy at hub.org Sun Feb 1 20:33:42 2009 From: scrappy at hub.org (Marc G. Fournier) Date: Sun Feb 1 20:33:50 2009 Subject: Load balancing multiple virtual hosts on 1 IP In-Reply-To: <4984583C.2030409@infracaninophile.co.uk> References: <20090131091825.R90262@hub.org> <4984583C.2030409@infracaninophile.co.uk> Message-ID: <84467B60728CC902BB853C9B@ganymede.hub.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thank you for all the responses ... turns out the solution was simplier ... I tried the various solutions presented, and each of them did the same thing ... The setup I have, I'm using csync2 to maintain the file systems on each backend, and in order to simplify that, I'm using: instead of which works fine ... *but*, something gets confused when you mix-n-match the above ... its either all of one or the other, but not both ... once I fixed my config files, the pages now load consistently ... Thank you all for the help on this, the pointers to the other software(s) provided "proof" that it wasn't the software, but my configuration ... - --On Saturday, January 31, 2009 13:55:08 +0000 Matthew Seaman wrote: > Marc G. Fournier wrote: >> >> Simple: is it possible? >> >> I have two VMs that contain the same content, on two different IPs .. I >> want to setup a third VM with something like haproxy on it that will >> take the URL (http://domain1) and pull the content from one or the other >> ... >> >> So far, all works well if I only have one virtual host, but as soon as I >> add a second one (http://domain2), when I try to go to http://domain2, >> it pulls up the content for domain1 also, as if I was going to http://IP >> instead. >> >> Is there a way to set this up (with haproxy, or some other software), >> that it will actually pass the URL through to the backend apache server >> and load up the right content? Or is this a limitation in the protocol >> itself?/ > > This is certainly possible -- most of the world's big web sites work in > exactly this way, although they would tend to use dedicated hardware LB > if they were of any appreciable size. > > I think what's going wrong for you is that you are using a front-end proxy, > and it's rewriting the requests with the host names of the real servers, > which will certainly screw up name based virtual hosts. > > Instead of ha-proxy, look into relayd -- in conjunction with a pf(4) > firewall this will do exactly what you want. It can operate purely at the > IP level or even at layer 2 if you want to implement DSR. Another > alternative to consider is varnish, although I'm not sure that has much > in the way of health-checking the back-end servers behind it. varnish > is a reverse-proxy / web accelerator so can give you some performance > boost as well. > > 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 > - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkmGd6IACgkQ4QvfyHIvDvOlzwCfT5CpD8LdE4MlMD4ugmjP8tTC Z0YAoOl6F83j4t4WqTFqfQVutKLMQUj1 =fEn7 -----END PGP SIGNATURE----- From msoulier at digitaltorque.ca Sun Feb 1 20:57:00 2009 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sun Feb 1 20:57:32 2009 Subject: problems building Parse::RecDescent Message-ID: <20090202022053.GA18424@anton.digitaltorque.ca> I'm trying to build p5-Apache-MP3-4.00 from ports. I had it installed and working, but it recently stopped working so I'm rebuilding it. Unfortunately I'm having build problems. ===> Building for p5-Ogg-Vorbis-Header-0.03_1 cp Header.pm blib/lib/Ogg/Vorbis/Header.pm /usr/local/bin/perl5.8.9 -Mblib -MInline=NOISY,_INSTALL_ -MOgg::Vorbis::Header -e1 0.03 blib/arch Starting Build Prepocess Stage Finished Build Prepocess Stage Starting Build Parse Stage This innvocation of Inline requires the Parse::RecDescent module. Can't locate version.pm in @INC (@INC contains: /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03/blib/arch /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03/blib/arch /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03/blib/lib /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .) at /usr/local/lib/perl5/site_perl/5.8.9/Parse/RecDescent.pm line 1722. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/Parse/RecDescent.pm line 1722. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.9/Inline/C/ParseRecDescent.pm line 14. at /usr/local/lib/perl5/site_perl/5.8.9/Inline/C.pm line 322 INIT failed--call queue aborted. *** Error code 2 Stop in /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03. *** Error code 1 Stop in /usr/ports/audio/p5-Ogg-Vorbis-Header. *** Error code 1 Stop in /usr/ports/www/p5-Apache-MP3. Any suggestions? Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090202/b3b87084/attachment.pgp From lists at lizardhill.com Sun Feb 1 21:03:11 2009 From: lists at lizardhill.com (Don O'Neil) Date: Sun Feb 1 21:03:17 2009 Subject: Vinum/FreeBSD 6.4 Message-ID: Are there any disk size/volume size limitations on Vinum with FreeBSD 6.4? Can I run Vinum on 4 500 G drives and get a 1Tbyte RAID10 config? From shinjii at maydias.com Sun Feb 1 22:56:03 2009 From: shinjii at maydias.com (Warren Liddell) Date: Sun Feb 1 22:56:10 2009 Subject: Error compiling Imagmagick Message-ID: <498698F9.1030204@maydias.com> Im running AMD64 4gig RAM FreeBSD 7.1-STABLE, ports an src are all up to date... Below is the error output trying to compile imagmagick as part of the dependency whilst installing DVDrip ===================== cd PerlMagick && make CC='cc -std=gnu99' test /bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.9 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/fpx/*.t t/jbig/*.t t/jpeg/*.t t/jp2/*.t t/png/*.t t/tiff/*.t t/x11/*.t t/zlib/*.t t/blob............ok t/bzlib/read......ok t/bzlib/write.....ok t/composite.......ok t/filter..........ok t/fpx/read........ok t/fpx/write.......ok t/getattribute....ok t/jbig/read.......ok t/jbig/write......ok t/jp2/read........ok t/jpeg/read.......ok t/jpeg/write......ok t/montage.........ok t/png/read-16.....ok t/png/read........ok t/png/write-16....ok t/png/write.......ok t/read............ok t/setattribute....ok t/tiff/read.......ok t/tiff/write......ok t/write...........ok t/x11/read........No protocol specified t/x11/read........ok t/x11/write.......No protocol specified t/x11/write....... Failed 1/2 subtests t/zlib/read.......ok t/zlib/write......ok Test Summary Report ------------------- t/x11/write (Wstat: 0 Tests: 2 Failed: 1) Failed test: 1 Files=27, Tests=345, 8 wallclock secs ( 0.32 usr 0.10 sys + 5.52 cusr 1.16 csys = 7.09 CPU) Result: FAIL Failed 1/27 test programs. 1/345 subtests failed. *** Error code 255 Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.8-3/PerlMagick. *** Error code 1 Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.8-3. *** Error code 1 Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.8-3. *** Error code 1 Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.8-3. *** Error code 1 Stop in /usr/ports/graphics/ImageMagick. *** Error code 1 Stop in /usr/ports/multimedia/dvdrip. From fernando.apesteguia at gmail.com Mon Feb 2 00:30:54 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Mon Feb 2 00:31:01 2009 Subject: Screen problem on booting Message-ID: <1bd550a00902020030q418d3dard3182490496f706e@mail.gmail.com> Hi all, I'm using FreeBSD 7.1-RELEASE-p2 Since a few days I've noticed something weird. On booting, all the text I see is shifted to the left, so I lose the first ten letters or so in every line of text. After login, once I type "startx" the X Window system seems to be OK _and_ if I go back to a console with Alt-Ctrl-Fn the console is fine again. My graphic card is an ATI Radeon HD2400. Anybody noticed it? Thanks in advance. PS: In console mode, reset command doesn't fix the problem. From seba.bsd at sinux.net Mon Feb 2 00:49:55 2009 From: seba.bsd at sinux.net (Sebastien Chassot) Date: Mon Feb 2 00:50:01 2009 Subject: xorg 7.4 keyboard localisation (xorg.conf vs hal) In-Reply-To: <49861DEA.6050000@zircon.seattle.wa.us> References: <1233506559.1023.16.camel@dhcppc0> <20090201171920.GB69316@torus.slightlystrange.org> <1233510597.1023.20.camel@dhcppc0> <49861DEA.6050000@zircon.seattle.wa.us> Message-ID: <1233564590.1039.14.camel@dhcppc0> On Sun, 2009-02-01 at 14:10 -0800, Joe Kelsey wrote: > This seems to have a way to enable HAL to detect a keyboard and export > it to X, but what about mice? My Xorg log tells me that it is ignoring > my USB mouse in addition to ignoring my keyboard, so what sort of HAL > file do I add to enable it to find my mouse? You can choose between using HAL config or xorg.conf by doing what /usr/port/UPDATING suggest: =================== 20090123: AFFECTS: users of x11-servers/xorg-server AUTHOR: rnoland@FreeBSD.org If you are using an older xorg.conf several config lines are no longer needed and will generate warnings when X is started. RgbPath will cause X to fail to start, remove it from your config. Server 1.5.3 also really wants to configure its input devices via hald. This is causing some issues with moused and /dev/sysmouse. There are a couple of options for how to deal with it. 1. Add Option "AllowEmptyInput" "off" to your ServerLayout section. This will cause X to use the configured kbd, mouse, and vmmouse sections from your xorg.conf 2. Don't use moused. If you want it to work with addon usb mice set this in rc.conf: moused_enable="NO" moused_nondefault_enable="NO" I'm working on fixing hald or the mouse driver or both. =================== But it don't help on HAL support... > Where in HAL documentation is this information found? R. Noland seemed > to think it was a trivial process to make HAL do keyboards and mice? In > fact it is not trivial but a pain in the ass! If you intend to inflict > broken software on unsuspecting users you had better think through all > of the problems and come up with explicit solutions to all of those > problems so that everyone has a chance to make their systems work. You're right. The handbook don't talk about HAL at all and it's quiet difficult to find doc on web. HAL seems to have huge capability...too much to begin with... ;) From guru at unixarea.de Mon Feb 2 00:57:48 2009 From: guru at unixarea.de (Matthias Apitz) Date: Mon Feb 2 00:57:55 2009 Subject: no cats at home, but system (7.0-STABLE) reboots Message-ID: <20090202085740.GA4654@rebelion.Sisis.de> Hello, I'm alone in my flat and have no cats :-) Last night I powered down my laptop (with the power-off button), the system went down, but later re-booted by its own: Feb 1 23:04:08 rebelion ipmon[839]: 23:04:08.145552 6x iwi0 @0:26 b 127.0.0.1,0 -> 0.0.0.0,0 PR tcp len 20 40 -AR OUT Feb 1 23:06:24 rebelion acpi: resumed at 20090201 23:06:24 Feb 1 23:06:31 rebelion ipmon[839]: 23:06:31.680826 iwi0 @0:26 b 192.168.2.3,138 -> 192.168.2.255,138 PR udp len 20 241 OUT broadcast Feb 1 23:06:33 rebelion root: /etc/rc.shutdown: WARNING: $gnugk_enable is not set properly - see rc.conf(5). Feb 1 23:06:33 rebelion syslogd: exiting on signal 15 Feb 1 23:42:42 rebelion syslogd: kernel boot file is /boot/kernel/kernel Feb 1 23:42:42 rebelion kernel: Copyright (c) 1992-2008 The FreeBSD Project. Feb 1 23:42:42 rebelion kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Then the kernel was up for two hours until the laptop has run out of battery: Feb 1 23:42:42 rebelion kernel: Trying to mount root from ufs:/dev/ad4s1a Feb 1 23:42:42 rebelion kernel: IP Filter: v4.1.28 initialized. Default = pass all, Logging = enabled Feb 1 23:42:42 rebelion savecore: no dumps found Feb 1 23:42:42 rebelion root: /etc/rc: WARNING: $gnugk_enable is not set properly - see rc.conf(5). Feb 2 01:42:52 rebelion kernel: battery0: critically low charge! Any ideas what could have caused that reboot after 36 minutes? The box has no Ethernet attached (only wireless). Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ From wmaster at uni-altai.ru Mon Feb 2 01:32:37 2009 From: wmaster at uni-altai.ru (Alexander Wolf) Date: Mon Feb 2 01:32:45 2009 Subject: apt of freebsd Message-ID: <4986B7EE.6060103@uni-altai.ru> I'm find into /usr/ports/sysutils/apt porting from Debian APT. How to using this on FreeBSD? -- With best regards, Alexander Wolf From kamikaze at bsdforen.de Mon Feb 2 01:37:19 2009 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Mon Feb 2 01:37:27 2009 Subject: Graphics tablet / Xorg / mouse problems In-Reply-To: <58a2fd890901311924s6bf36cb5w47d845d8d8090af8@mail.gmail.com> References: <58a2fd890901311924s6bf36cb5w47d845d8d8090af8@mail.gmail.com> Message-ID: <4986BE9E.90905@bsdforen.de> Antonio Rieser wrote: > Hi, > > I recently installed FreeBSD 7.1 on an ACER Aspire > 1680 laptop. I'm running KDE 3.5 and the most recent Xorg port with a > Wacom Bamboo tablet and the wacom driver from the ports collection. I > have the following problems with the tablet and mouse: ... Just to keep you up to date, Bartosz is on it. Of course, I cannot give you a schedule. With the involvement of hald things seem to get much more complicated. It might be a temporary solution to deactivate hald support. Regards From info at videobrokers.com Mon Feb 2 01:41:08 2009 From: info at videobrokers.com (Video Brokers) Date: Mon Feb 2 01:41:19 2009 Subject: Second hand video equipment for sale. Message-ID: [1]WWW.VIDEOBROKERS.COM WE BUY & SALE USED VIDEO/BROADCAST EQUIPMENTS! Hello, Please find bellow some details regarding the equipment we have for sale at the moment. Do not hesitate to get in touch with us if what you are looking for is not listed here, let us know as well what you have for sale. VISION MIXER's : Sony DVS2000, 10 SDI inputs @ 5.000 Euros Sony DVS2000, 16 SDI inputs @ 7.000 Euros Abekas A8150, SDI @ 3.000 Euros BTS DD20, specs on request @ 8.000 Euros BTS DD30, specs on request @ 10.000 Euros BTS DD35, specs on request @ 14.000 Euros GVG 1200, SDI @ 5.000 Euros GVG 4000, specs on request @ 4.000 Euros GVG Kayak DD1, full options @21.000 Euros GVG Kayak HD200 & HD300, specs on request @ contact us for a quote Sony DVS7250 & 7350, specs on request @ contact us for a quote VTR's : Panasonic AJ-D230H, 200 original drum hours @ 1.100 Euros Panasonic AJ-D650E, 2400 original drum hours @ 1.000 Euros Panasonic AJ-D650E, with SDI, new drum "0hrs" @ 2.500 Euros Panasonic AJ-D950E, 2500 original drum hours @ 6.000 Euros Panasonic AJ-D960E, 1000 drum hours @ 7.000 Euros Panasonic AJLT-75E, 1500 original drum hours @5.500 Euros Panasonic AJLT95, new drum "0hrs" @ 9.000 Euros Panasonic AJHD1200E, 1200 original drum hours @ 9.000 Euros Panasonic AJHD1400E, 280 original drum hours @ 16.500 Euros Sony UVW1200P, details on request @ from 400 Euros Sony UVW1600P, details on request @ from 700 Euros Sony UVW1800P, details on request @ from 1.000 Euros Sony PVW2600P, details on request @ from 800 Euros Sony PVW2650P, new drum "0hrs" @ 1.500 Euros Sony PVW2800P, serviced @ 2.000 Euros Sony BVW60P, details on request @ from 400 Euros Sony BVW65P, details on request @ from 400 Euros Sony BVW70P, details on request @ from 2.000 Euros Sony BVW70P with SDI, 800 drum hours @ 2.800 Euros Sony BVW75P, details on request @ from 2.000 Euros Sony BVWD75P, 310 drum hours @ 2.800 Euros Sony DSR1P, 59 original drum hours @ 1.900 Euros Sony DSR40P, 680 original drum hours @ 1.900 Euros Sony DSR45P, 800 original drum hours @ 2.500 Euros Sony DSR60P, 900 drum hours @ 600 Euros Sony DSR80P, with SDI, 2600 original drum hours @ 2.200 Euros Sony DSR85P, with SDI, new drum "0hrs" @ 3.500 Euros Sony DSR1500AP, with fire wire and YUV, 680 original drum hours @ 3.500 Euros Sony DSR1500AP, with SDI& fire wire, 400 original drum hours @ 4.000 Euros Sony DSR2000P, 2600 original drum hours @ 5.500 Euros Sony DSR2000P, new drum "hrs" @ 7.000 Euros Sony DNWA30P, 2000 original drum hours @ 1.500 Euros Sony DNWA65P, 3000 drum hours @ 1.800 Euros Sony DNWA75P, 3500 original drum hours @ 4.500 Euros Sony DNWA220P, 2500 drum hours @ 4.000 Euros Sony DNWA225P, 2200 drum hours @ 7.000 Euros Sony J1, betacam SP and SX player, low hours @ 1.200 Euros Sony J3A, 1200 original drum hours @ 3.900 Euros Sony DVW522P, low original drum hours @ 2.500 Euros Sony DVW510P S/N 11198, 3278 drum hours @ 4.500 Euros Sony DVWA510P, 2500 drum hours @ 6.000 Euros Sony DVW500P S/N 16243, 3587 drum hours @ 15.000 Euros Sony DVWA500P S/N 10520, fully serviced, new drum "0hrs" @ 19.000 Euros Sony DVWM2000P, 300 original drum hours @ 23.000 Euros Sony JH3, 150 original drum hours, with fire wire @ 13.000 Euros Sony HDWM2000P S/N 49298, EX-DEMO, 390 original drum hours @ 33.000 Euros Sony HDWM2000P, NEW IN THE BOX @ 36.000 Euros CAMERA's & CAMCORDER's : Sony HDC1500, complete camera chain, specs on request, 16 units available @ 50.000 Euros/ unit Thomson LDK8000, complete camera chain, specs on request, 6 units available @ make an offer Sony DXCD30P, camera head @ 1.600 Euros Sony DXCD35P, camera head @ 2.000 Euros Thomson TTV1657D (4/3-16:9) complete triax chain @ 16.000 Euros Thomson LDK23HS MKII complete chain @ 38.000 Euros Panasonic AJD800P, 1400 drum hours @ 1.600 Euros Panasonic AJD610WAE, 700 drum hours @ 3.600 Euros Panasonic AJ-SDC615E, 1300 original drum hours @ 4.500 Euros Panasonic AJD910WAE, low hours @ 5.000 Euros Panasonic AGHVX200, ex-demo, 0hrs @ 3.300 Euros Panasonic AJSDX900, with AJ-VF20WE, 2550 original drum hours @ 7.000 Euros Panasonic AJHDX900, with AJ-HVF21, 1150 original drum hours @13.000 Euros Panasonic HPX-2100E, ex-demo, 4 years warranty, with view finder and microphone @ 18.700 Euros Panasonic AJ-HDC27 (varicam), 800 original drum hours @ 15.000 Euros Sony BVWD600P S/N 40358, 233 drum hours @ 2.000 Euros Sony HVR-Z1E, around 700 original drum hours @ 2.000 Euros Sony HVR-Z5E, NEW @ 3.740 Euros Sony HVR-Z7E, NEW @ 4.680 Euros Sony PMW-EX3, NEW @ 6.870 Euros Sony PMW-700, NEW @ 21.840 Euros Sony DSRPD150P, battery charger @ 1.200 Euros Sony DSRPD170P, battery charger, wide angle converter @ 1.600 Euros Sony DSR370P S/N 42129, 383 original drum hours, including Canon YH19x6.7KRS @ 3.500 Euros Sony DSR400P S/N 43512, 50 original drum hours @ 4.000 Euros Sony DSR500WSP S/N 42925, 800 original drum hours @ 3.000 Euros Sony DSR570WSP S/N 46925, 1200 original drum hours @ 4.500 Euros Sony DSR450WSP S/N 42790, 550 original drum hours @ 7.500 Euros Sony DVW700P, details on request @ from 2.000 Euros Sony DVW707P, details on request @ from 2.500 Euros Sony DNW7P, details on request @ from 2.000 Euros Sony DNW9WSP, details on request @ from 4.000 Euros Sony DNW90WSP, details on request @ from 6.000 Euros Sony DVW709WSP S/N 40090, 1317 original drum hours @ 9.000 Euros Sony DVW709WSP S/N 40011, 399 original drum hours @ 10.000 Euros Sony DVW790WS S/N 40330, 55 drum hours @ 13.500 Euros Sony DVW790WSP S/N 41929, 516 drum hours @ 15.000 Euros Sony DVW790WSP S/N 42199, 601 original drum hours @ 17.000 Euros Sony PDW530P S/N 40538, 40 original lazer hours @ 14.000 Euros Sony PDW530P S/N 60394, 18 original lazer hours @ 15.000 Euros Sony HDW730S S/N 10192, 551 original drum hours, like new ! @ 16.000 Euros Sony HDW750P S/N 40113, 1513 original drum hours, with down converter @ 17.000 Euros Sony HDW750P S/N 40112, 1521 original drum hours, with down converter @ 17.000 Euros Sony HDW790P, 70 original drum hours @ 23.000 Euros Sony HDWF900/3 S/N 12474, 1519 original drum hours @ 20.000 Euros LENSES : Canon ZSD300 & FPD400, ex-demo @ 1.500 Euros Fujinon A16x9BERM @ 800 Euros Canon J15x8BIRS @ 1.500 Euros Fujinon A15x8BEVM @ 1.500 Euros Fujinon A8.5x5.5BEVM @ 3.000 Euros Canon YJ19x9KRS @ 1.000 Euros Canon YJ12x6.5IRS @ 3.000 Euros Canon J16x8BIRS @ 2.500 Euros Canon J8x6BKRS @ 1.800 Euros Canon J8x6BIRS @ 2.500 Euros Canon J9x5.2BIRS @ 5.000 Euros Canon J11x4.5BIRS @ 7.000 Euros Canon J22x7.6IAS @ 6.000 Euros Canon J33x15IRS with lens support + remotes @ 17.000 Euros Fujinon A10x4.8BEVM @ 6.000 Euros Fujinon A13x4.5BERD @ 8.000 Euros Fujinon HA13x4.5BERM, @ 12.000 Euros Fujinon HA13x4.5BERM, EX-DEMO @ 13.000 Euros Fujinon HA20x7.8BM10 @ 13.000 Euros Fujinon HA10x5BM10 @ 13.000 Euros Canon HJ11x4.7BIRSE, NEW @ 13.000 Euros Canon HJ21x7.8BIRSD @ 11.000 Euros Canon HJ22x7.6BIRSE, EX-DEMO @ 13.000 Euros Canon HJ22x7.6BIASE, NEW @ 14.000 Euros Fujinon HA42x , perfect condition @ contact us Canon J55super, with zoom and focus + lens support @ 19.000 Euros Canon PJ70 MK1 with zoom and focus + lens support @ 24.000 Euros Canon PJ70 MKII with zoom and focus + lens support @ 34.000 Euros Canon DIGI SUPER 86 XS with zoom and focus @ 78.000 Euros Fujinon HAe 10x10 M T1.8 @ 45.000 Euros Fujinon Super prime set @ 14.000 Euros, including : HAe F5-M10 T1.5 and HAe F8-M10 T1.5 and HAe F20-M10 T1.5 VARIOUS : Sony DME3000 @ 3.000 Euros Sony DME7000 @ 6.000 Euros Sony CA701 @ 2.000 Euros Sony RMM7G @ 700 Euros Sony CCUM5P @ 900 Euros Sony CCUM7P @ 1.000 Euros Sony CA537P @ 700 Euros Snell & Wilcox TBS24D @ 2.000 Euros Pinnacle DEKO 500 @ 3.000 Euros Pinnacle DEKO 2000 @ 9.000 Euros Sony DSC1024 @ 1.000 Euros Panasonic BTLH900E @ 2.350 Euros Panasonic BTLH1700E @ 1.480 Euros Sony BVF-VC10W @ 1.700 Euros Sony LMD 1420 @ 500 Euros Sony LMD 2020 @ 600 Euros Sony PVM9L2 @ 500 Euros Sony PVM20M2, ex-demo @ 600 Euros Sony PVM20M4 SDI @ 1.600 Euros Sony BVM2016P with SDI @ 1.500 Euros Sony BVM20G1E with SDI & BKM10R @ 4.000 Euros Sony BVMD20F1E with BKM11RR & BKM21D & BKM14L @ 6.000 Euros Sony BVM-F24E, HD/SDI, 4000 operation hours @ 19.000 Euros Sony RM450 @ 600 Euros Sony PVE500 @ 900 Euros Sony BVE9100 @ 1.500 Euros Sony BVE2000 @ 1.500 Euros Tektronix 1721/1731 @ 600 Euros Tektronix SPG110 @ 400 Euros Tektronix SPG271 @ 1.000 Euros Tektronix TSG111 @ 500 Euros Fora FA320, TBC @ 500 Euros Fora FA330, TBC @ 600 Euros Vinten Vision 10 @ 1.300 Euros Vinten Vision 11, carbon fiber @ 2.000 Euros Sachtler S18+ SBMLCF @ 3.900 Euros Tektronix WFM300 @ 800 Euros Tektronix WFM601A @ 2.500 Euros Tektronix WFM5000, ex-demo @ 4.250 Euros Sony DMXE2000 @ 1.500 Euros Sony DMXE3000 @ 2.500 Euros Sony PCM7030 @ 600 Euros Sony PCM7040 @ 1.200 Euros Yamaha 03D @ 800 Euros DK AUDIO PT5210, Vari Time Digital Sync Generator @ 2.000 Euros IDX video wireless system SDI, Model: WIVI @ 2.700 Euros AccuScene VF 1280S HD view finder with zebra Black & White, compatible for F23/F35/Genesis/RED @ 9.000 Euros FOUCUS FS-100, fire store HD multiformat DVCPRO HD, 100Go @ 400 Euros Snell & Wilcox IQ MODULAR with IQADBBG and 2x IQAVDA @ 2.000 Euros EVS XT2 6 channels SD, 5x 73GO, audio analo, AES, 2x PSU cool swap, open code, multicam LSM, super motion, FX split screen, network SDTI 1.5, protocol VDCP/DD35/ODETICS/LOUTH, protocol AVSP @ 72.000 Euros Video Brokers [2]www.videobrokers.com Alexandre Villegoureix Tel : +33 (0)6.09.84.13.86 Email : [3]alex@videobrokers.fr [4]If you wish not to receive anyfirther offer from us please follow this link References 1. http://url.videobrokers.com/id.asp?l=51090-4030682-388176-966-0 2. http://url.videobrokers.com/id.asp?l=51090-4030682-388176-966-0 3. mailto:alex@videobrokers.fr 4. http://url.videobrokers.com/id.asp?l=51089-4030682-388176-966-0&id=388176-966-4030682-838986fc&res=fr From a at jenisch.at Mon Feb 2 01:57:53 2009 From: a at jenisch.at (Ewald Jenisch) Date: Mon Feb 2 01:58:00 2009 Subject: X.org-update -> screen garbled / settings for xorg.conf? In-Reply-To: <20090130153128.GA82736@mech-cluster238.men.bris.ac.uk> References: <20090130144614.GA4897@aurora.oekb.co.at> <20090130153128.GA82736@mech-cluster238.men.bris.ac.uk> Message-ID: <20090202092757.GA2908@aurora.oekb.co.at> On Fri, Jan 30, 2009 at 03:31:28PM +0000, Anton Shterenlikht wrote: > > I've got hald running as per /etc/rc.conf with hald_enable="YES" as > > well as moused (moused_enable=YES in rc.conf). > > what??? where's hald_enable="YES" documented? > There's nothing about this in X, dbus, or hald manual pages. > Perhaps this is why my X servers won't work and dbus keeps complaining > that it cannot connect.. > Hi, Running portupgrade with "batch_enable=YES" by default I also haven't noticed anything during the upgrade. Then I ran into the same error that your have - dbus complaining about not being able to connect. After spending quite some time googlin' around I finally hit this: http://www.freebsd.org/gnome/docs/faq2.html and more specifically http://www.freebsd.org/gnome/docs/faq2.html#full-gnome I finally enabled everything but gdm since I prefer to start up in console mode then manually going to X (which is very handy now as there are serious problems with X) Hope this helps, -ewald From ivoras at freebsd.org Mon Feb 2 02:24:05 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Feb 2 02:24:12 2009 Subject: apt of freebsd In-Reply-To: <4986B7EE.6060103@uni-altai.ru> References: <4986B7EE.6060103@uni-altai.ru> Message-ID: Alexander Wolf wrote: > I'm find into /usr/ports/sysutils/apt porting from Debian APT. > > How to using this on FreeBSD? It's probably used for the "Linux emulation" in FreeBSD, you can't use it with FreeBSD native packages. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090202/a96cc151/signature.pgp From Homeschool at streamyx.com Mon Feb 2 02:25:52 2009 From: Homeschool at streamyx.com (Malaysian Homeschool Family) Date: Mon Feb 2 02:26:00 2009 Subject: "Homeschool" sebagai Gaya Hidup? Message-ID: <200902020903.n12933E6024007@pp4.tm.net.my> Assalamualaikum, Sertai kami dalam playgroup Komuniti Malaysia Homeschool Unite, khas buat keluarga "homeschool" dan terbuka kepada keluarga yang berminat untuk menambah ilmu serta kenalan. Anda juga boleh berikan cadangan anda. - Jom klik di sini : http://www.forum.littlekittle.com Segmen Iklan: Only RM 25 for 3 bulan! Segmen direktori niaga buat warga Malaysia! Terbuka kepada WAHM (Work-at-Home-Mum) - Jom klik di sini : http://littlekittle.com/forum/showthread.php?t=6 Malaysian Homeschool Family Blog. - Jom klik di sini : http://littlekittle.com/blog/ Parents have always been their children's First Teachers. When children reach the age of 7 in most country we are told we need to send them off to Public School for approximately 8 hours a day. Why? Parents have taught their children from the day they were born. We teach them to walk, talk, tie their shoes, and so very much more. There is no set age at which a child can begin learning reading, math, history, science, art. Every child learns in their own way. Some children may do just fine learning out of a text book, sitting at a desk for 8 hours. There are certainly many more options that help children learn that would not be considered a normal education. Parents have been teaching their children at home since the beginning of time. Home schooling our children at home is a personal decision for everyone. No one can make the choice for you. What works for one family may not work for another. Children will not all want to study bugs at the same time. They won't all want to know why condensation forms on the windows in the winter, at the same time that little kiddy down the street wants to know the same thing. Parents understand their child better then anyone else does. We understand what makes our child go; hmmm how would this work if I put it on like this instead of the way the directions say. We have always been our children's teachers. Being as a parent and a teacher has always been the way the world works. In todays world it is no different. We choose now to keep our children learning, learning at home with us. As our children's teachers we are always on the lookout for things that we can use to help in their learning. That is where our forum Malaysia Homeschool Unite come in. We offer links to free worksheets on other sites (and more in the near future!). As well as have some that were made for the MHU forums use. We are there when you have questions, and when you want to hit your head on the wall. We offer not just the links but an ear, and a shoulder when they are needed. *Insya-Allah, Amin~* Yours sincerely, Mohd Azhar Zahir Advertising & Marketing From wmaster at uni-altai.ru Mon Feb 2 02:32:48 2009 From: wmaster at uni-altai.ru (Alexander Wolf) Date: Mon Feb 2 02:33:12 2009 Subject: apt of freebsd In-Reply-To: References: <4986B7EE.6060103@uni-altai.ru> Message-ID: <4986CBC9.1050500@uni-altai.ru> Ivan Voras ?????: > It's probably used for the "Linux emulation" in FreeBSD, you can't use > it with FreeBSD native packages. Hmm... I'm maybe can use it for web-applications? Or not? -- With best regards, Alexander Wolf From ivoras at freebsd.org Mon Feb 2 02:44:58 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Feb 2 02:45:05 2009 Subject: apt of freebsd In-Reply-To: <4986CBC9.1050500@uni-altai.ru> References: <4986B7EE.6060103@uni-altai.ru> <4986CBC9.1050500@uni-altai.ru> Message-ID: Alexander Wolf wrote: > Ivan Voras ?????: >> It's probably used for the "Linux emulation" in FreeBSD, you can't use >> it with FreeBSD native packages. > > Hmm... I'm maybe can use it for web-applications? Or not? You cannot use it for FreeBSD packages at all. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090202/d87cc5a4/signature.pgp From uwe at laverenz.de Mon Feb 2 02:52:32 2009 From: uwe at laverenz.de (Uwe Laverenz) Date: Mon Feb 2 02:52:40 2009 Subject: Problem gdm 2.24, xdmcp D-BUS? In-Reply-To: References: Message-ID: <20090202105056.GA5906@laverenz.de> On Sun, Feb 01, 2009 at 10:34:46PM +0100, Klaus Friis ?stergaard wrote: > Thanks, but how do I reverse back to gdm 2.20? Is this possible with > the portupgrade tools? You could use ports-mgmt/portdowngrade for this or you could download http://www.laverenz.de/gdm-2.20.tar.gz and extract in in the /usr/ports/x11 directory. Uwe From frank at shute.org.uk Mon Feb 2 02:55:24 2009 From: frank at shute.org.uk (Frank Shute) Date: Mon Feb 2 02:55:31 2009 Subject: problems building Parse::RecDescent In-Reply-To: <20090202022053.GA18424@anton.digitaltorque.ca> References: <20090202022053.GA18424@anton.digitaltorque.ca> Message-ID: <20090202105509.GA69592@melon.esperance-linux.co.uk> On Sun, Feb 01, 2009 at 09:20:54PM -0500, Michael P. Soulier wrote: > > I'm trying to build p5-Apache-MP3-4.00 from ports. I had it installed and > working, but it recently stopped working so I'm rebuilding it. Unfortunately > I'm having build problems. > > ===> Building for p5-Ogg-Vorbis-Header-0.03_1 > cp Header.pm blib/lib/Ogg/Vorbis/Header.pm > /usr/local/bin/perl5.8.9 -Mblib -MInline=NOISY,_INSTALL_ -MOgg::Vorbis::Header > -e1 0.03 blib/arch > Starting Build Prepocess Stage > Finished Build Prepocess Stage > > Starting Build Parse Stage > This innvocation of Inline requires the Parse::RecDescent module. > Can't locate version.pm in @INC (@INC contains: > /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03/blib/arch > /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03/blib/arch > /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03/blib/lib > /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach > /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach > /usr/local/lib/perl5/5.8.9 .) at > /usr/local/lib/perl5/site_perl/5.8.9/Parse/RecDescent.pm line 1722. > BEGIN failed--compilation aborted at > /usr/local/lib/perl5/site_perl/5.8.9/Parse/RecDescent.pm line 1722. > Compilation failed in require at > /usr/local/lib/perl5/site_perl/5.8.9/Inline/C/ParseRecDescent.pm line 14. > > at /usr/local/lib/perl5/site_perl/5.8.9/Inline/C.pm line 322 > INIT failed--call queue aborted. > *** Error code 2 > > Stop in /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03. > *** Error code 1 > > Stop in /usr/ports/audio/p5-Ogg-Vorbis-Header. > *** Error code 1 > > Stop in /usr/ports/www/p5-Apache-MP3. > > Any suggestions? > > Mike In that situation I'd try & build devel/p5-Parse-RecDescent (or re-install it) and then have another go at building the module you're trying to build. If it then works, you might want to file a pr against it. I'm assuming you did all the perl stuff in UPDATING when going to 5.8.9 Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From gilles.ganault at free.fr Mon Feb 2 03:05:49 2009 From: gilles.ganault at free.fr (Gilles) Date: Mon Feb 2 03:05:56 2009 Subject: [6.3] ALT-CTRL-DEL = clean unmount? Message-ID: Hello I was wondering: When hitting the ALT-CTRL-DEL combination as an easy way to call "reboot", does this unmount disks properly? I'm concerned because I did this recently, and here's what dmesg says: ad0: DMA limited to UDMA33, controller found non-ATA66 cable ad0: 19092MB at ata0-master UDMA33 acd0: CDROM at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted Thank you. From shinjii at maydias.com Mon Feb 2 03:09:31 2009 From: shinjii at maydias.com (Warren Liddell) Date: Mon Feb 2 03:10:35 2009 Subject: Good wireless cards for freebsd Message-ID: <4986D465.9070201@maydias.com> Im looking to go wireless on my network an after some easy but good wireless NIC cards that freebsd has good support for. The network card im looking at is *P-Link Wireless N PCI Adapter, Atheros, 2T2R, 2.4GHz, 802.11n Draft 2.0, 802.11g/b *Thoughts and experiences welcomed.* * From ivoras at freebsd.org Mon Feb 2 03:20:38 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Feb 2 03:20:51 2009 Subject: [6.3] ALT-CTRL-DEL = clean unmount? In-Reply-To: References: Message-ID: Gilles wrote: > Hello > > I was wondering: When hitting the ALT-CTRL-DEL combination as an easy > way to call "reboot", does this unmount disks properly? Yes. > I'm concerned because I did this recently, and here's what dmesg says: > > ad0: DMA limited to UDMA33, controller found non-ATA66 cable > ad0: 19092MB at ata0-master UDMA33 > acd0: CDROM at ata1-master UDMA33 > Trying to mount root from ufs:/dev/ad0s1a > WARNING: / was not properly dismounted > WARNING: /tmp was not properly dismounted > WARNING: /usr was not properly dismounted > WARNING: /var was not properly dismounted The OS reboot process might have been interrupted somehow, or your drive might be caching more than it should be. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090202/798f4de5/signature.pgp From mexas at bristol.ac.uk Mon Feb 2 04:11:59 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Feb 2 04:12:15 2009 Subject: installworld fails - nb_NO.ISO8859-1/LC_TIME: too many levels of symbolic links In-Reply-To: <200901310800.58267.fbsd.questions@rachie.is-a-geek.net> References: <20090131160939.GA67127@mech-cluster238.men.bris.ac.uk> <200901310800.58267.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20090202121141.GA97510@mech-cluster238.men.bris.ac.uk> On Sat, Jan 31, 2009 at 08:00:58AM -0900, Mel wrote: > On Saturday 31 January 2009 07:09:39 Anton Shterenlikht wrote: > > I'm upgrading from 7.1-prerelease to 7.1-stable. I followed the manual. > > make buildworld, make buildkernel, make installkernel, reboot, > > make installworld fails with > > > > install: /usr/share/locale/nb_NO.ISO8859-1/LC_TIME: Too many levels of > > symbolic links > > Can you provide output of: > ls -l /usr/share/locale/nb_NO.IS8859-1/LC_TIME # ls -l /usr/share/locale/nb_NO.ISO8859-1/LC_TIME -r--r--r-- 1 root wheel 365 31 Jan 16:26 /usr/share/locale/nb_NO.ISO8859-1/LC _TIME # HOwever, in the meantime, I just deleted all locale/nb* during installworld stage to get past that error. I'm not sure that what I got in the end under locale/nb* is what you'd expect. thank you anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From Homeschool at streamyx.com Mon Feb 2 04:12:06 2009 From: Homeschool at streamyx.com (Malaysian Homeschool Family) Date: Mon Feb 2 04:12:16 2009 Subject: "Homeschool" sebagai Gaya Hidup? Message-ID: <200902021057.n12AvB8U022812@pp4.tm.net.my> Assalamualaikum, Sertai kami dalam playgroup Komuniti Malaysia Homeschool Unite, khas buat keluarga "homeschool" dan terbuka kepada keluarga yang berminat untuk menambah ilmu serta kenalan. Anda juga boleh berikan cadangan anda. - Jom klik di sini : http://www.forum.littlekittle.com Segmen Iklan: Only RM 25 for 3 bulan! Segmen direktori niaga buat warga Malaysia! Terbuka kepada WAHM (Work-at-Home-Mum) - Jom klik di sini : http://littlekittle.com/forum/showthread.php?t=6 Malaysian Homeschool Family Blog. - Jom klik di sini : http://littlekittle.com/blog/ Parents have always been their children's First Teachers. When children reach the age of 7 in most country we are told we need to send them off to Public School for approximately 8 hours a day. Why? Parents have taught their children from the day they were born. We teach them to walk, talk, tie their shoes, and so very much more. There is no set age at which a child can begin learning reading, math, history, science, art. Every child learns in their own way. Some children may do just fine learning out of a text book, sitting at a desk for 8 hours. There are certainly many more options that help children learn that would not be considered a normal education. Parents have been teaching their children at home since the beginning of time. Home schooling our children at home is a personal decision for everyone. No one can make the choice for you. What works for one family may not work for another. Children will not all want to study bugs at the same time. They won't all want to know why condensation forms on the windows in the winter, at the same time that little kiddy down the street wants to know the same thing. Parents understand their child better then anyone else does. We understand what makes our child go; hmmm how would this work if I put it on like this instead of the way the directions say. We have always been our children's teachers. Being as a parent and a teacher has always been the way the world works. In todays world it is no different. We choose now to keep our children learning, learning at home with us. As our children's teachers we are always on the lookout for things that we can use to help in their learning. That is where our forum Malaysia Homeschool Unite come in. We offer links to free worksheets on other sites (and more in the near future!). As well as have some that were made for the MHU forums use. We are there when you have questions, and when you want to hit your head on the wall. We offer not just the links but an ear, and a shoulder when they are needed. *Insya-Allah, Amin~* Yours sincerely, Mohd Azhar Zahir Advertising & Marketing From wojtek at wojtek.tensor.gdynia.pl Mon Feb 2 06:07:52 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Feb 2 06:07:59 2009 Subject: [6.3] ALT-CTRL-DEL = clean unmount? In-Reply-To: References: Message-ID: <20090202150716.H2644@wojtek.tensor.gdynia.pl> > I was wondering: When hitting the ALT-CTRL-DEL combination as an easy > way to call "reboot", does this unmount disks properly? it actually calls shutdown -r now > > I'm concerned because I did this recently, and here's what dmesg says: > > ad0: DMA limited to UDMA33, controller found non-ATA66 cable > ad0: 19092MB at ata0-master UDMA33 > acd0: CDROM at ata1-master UDMA33 > Trying to mount root from ufs:/dev/ad0s1a > WARNING: / was not properly dismounted > WARNING: /tmp was not properly dismounted > WARNING: /usr was not properly dismounted > WARNING: /var was not properly dismounted > there is another reason for this. From tl32 at next.online.no Mon Feb 2 06:16:13 2009 From: tl32 at next.online.no (Tore Lund) Date: Mon Feb 2 06:16:21 2009 Subject: Excessive letter-spacing in firefox3 under wine In-Reply-To: <1233516181.00069428.1233503401@10.7.7.3> References: <1233269990.00068095.1233259802@10.7.7.3> <1233516181.00069428.1233503401@10.7.7.3> Message-ID: <49870E1A.4050202@next.online.no> Tijl Coosemans wrote: > On Thursday 29 January 2009 22:02:35 Tore Lund wrote: >> Subject line says it all - large gaps between all letters. Here is a >> screenshot: http://softblur.com/misc/spacing.jpg. >> >> I suppose there are others who run firefox3 under wine on 7.1-RELEASE >> with no problems, so can anyone think of what's wrong? I have imported >> fonts from my Windows 2000 installation, and I am using the same profile >> that works well with native FreeBSD firefox and firefox on Windows 2000. >> I believe this did not happen with firefox2. Grateful for any hint. > > What exactly did you do to import those fonts? You should put them in a > separate directory under /usr/local/lib/X11/fonts, create fonts.scale > and fonts.dir in that directory using mkfontscale and mkfontdir, then > run "fc-cache -f -v" and (for completeness) add a FontPath entry to > your xorg.conf. > > Alternatively, you can install the x11-fonts/webfonts port, which > contains the most commonly used fonts. I have webfonts. In addition, I copied my Windows fonts to ~/.wine/drive_c/windows/Fonts, thinking that might have something to do with it. >> (Actually, I only use wine in order to get flash9, so if anyone could >> help me solve this problem instead, that's even better. I have tried >> the available recipes with no success - my firefox3 just freezes.) This formulation is awkward. I meant to say that I wanted flash9 to work with native FreeBSD firefox3. > Try to get it to work under linux-firefox first. Thanks for your advice, Tijl. I had already done these things, but the problem, I believe, is that linux firefox3 is a beta. As it happens, I now find that native firefox2 (2.0.0.20) works with my present setup, so I will simply use that version for the time being. I suppose linux firefox2 might also work, but there is no need for me to try it since I now have native firefox2, with flash9, with sound. -- Tore From omerfsen at gmail.com Mon Feb 2 06:18:30 2009 From: omerfsen at gmail.com (Omer Faruk Sen) Date: Mon Feb 2 06:18:48 2009 Subject: zfs root partition boot? Message-ID: <75a268720902020618v2ba3c798s9a6c011d107cb1a8@mail.gmail.com> Hi, Can I use zfs on / using FreeBSD 7.1? I also use http://people.freebsd.org/~rse/mirror/ script to create mirror is there such a a tool for ZFS to use on Fbsd 7.1? Regards. From ipfreak at yahoo.com Mon Feb 2 06:24:40 2009 From: ipfreak at yahoo.com (gahn) Date: Mon Feb 2 06:24:51 2009 Subject: intel 64-bit version? Message-ID: <769541.13800.qm@web52112.mail.re2.yahoo.com> Hi all: What is the image for intel 64-bit version of freebsd? i have xeon machine and would like to install freebsd on it. Thanks From kitchetech at gmail.com Mon Feb 2 06:28:08 2009 From: kitchetech at gmail.com (matt donovan) Date: Mon Feb 2 06:28:15 2009 Subject: intel 64-bit version? In-Reply-To: <769541.13800.qm@web52112.mail.re2.yahoo.com> References: <769541.13800.qm@web52112.mail.re2.yahoo.com> Message-ID: <28283d910902020628o2cd27136x91b76e675caf9fda@mail.gmail.com> On Mon, Feb 2, 2009 at 9:24 AM, gahn wrote: > Hi all: > > What is the image for intel 64-bit version of freebsd? i have xeon machine > and would like to install freebsd on it. > > Thanks > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" that would be amd64 since amd64 is what the x86_64 is called From cyb. at gmx.net Mon Feb 2 06:40:21 2009 From: cyb. at gmx.net (Andreas Rudisch) Date: Mon Feb 2 06:40:29 2009 Subject: intel 64-bit version? In-Reply-To: <769541.13800.qm@web52112.mail.re2.yahoo.com> References: <769541.13800.qm@web52112.mail.re2.yahoo.com> Message-ID: <20090202154016.5fd0a5a3.cyb.@gmx.net> On Mon, 2 Feb 2009 06:24:35 -0800 (PST) gahn wrote: > What is the image for intel 64-bit version of freebsd? i have xeon machine and would like to install freebsd on it. You can use 7.1-RELEASE-i386 (32bit) or 7.1-RELEASE-amd64 (64bit) depending on whether or not you are going to run 64 bit software or want to use more than 4GB of RAM. Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090202/8346f806/attachment.pgp From aryeh.friedman at gmail.com Mon Feb 2 06:57:20 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Mon Feb 2 06:57:28 2009 Subject: intel 64-bit version? In-Reply-To: <"20090202154016.5fd0a5a3.cyb."@gmx.net> References: <769541.13800.qm@web52112.mail.re2.yahoo.com> <"20090202154016.5fd0a5a3.cyb."@gmx.net> Message-ID: <498709C8.1090106@gmail.com> Andreas Rudisch wrote: > On Mon, 2 Feb 2009 06:24:35 -0800 (PST) > gahn wrote: > > >> What is the image for intel 64-bit version of freebsd? i have xeon machine and would like to install freebsd on it. >> > > You can use 7.1-RELEASE-i386 (32bit) or 7.1-RELEASE-amd64 (64bit) > depending on whether or not you are going to run 64 bit software or > want to use more than 4GB of RAM. > > Andreas > -- > GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ > Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 > It is a little more complicated... i386 also supports >4GB with the PAE kernel option... it is frequently better to use this then to use amd64 because (a decreasing I hope) number of ports do not compile and/or work properly on amd64... for example if your using the machine as a GUI desktop *AND* you have a nvidia video card you get almost 10 times better performence with i386 because amd64 has a hard time reconizing PCI cards installed "above" the 4gb limit (the phsycial addr is above RAM) From cyb. at gmx.net Mon Feb 2 07:40:49 2009 From: cyb. at gmx.net (Andreas Rudisch) Date: Mon Feb 2 07:40:57 2009 Subject: intel 64-bit version? In-Reply-To: <498709C8.1090106@gmail.com> References: <769541.13800.qm@web52112.mail.re2.yahoo.com> <"20090202154016.5fd0a5a3.cyb."@gmx.net> <498709C8.1090106@gmail.com> Message-ID: <20090202164043.fda0abfa.cyb.@gmx.net> On Mon, 02 Feb 2009 09:57:12 -0500 "Aryeh M. Friedman" wrote: > It is a little more complicated... i386 also supports >4GB with the PAE I know. > kernel option... it is frequently better to use this then to use amd64 > because (a decreasing I hope) number of ports do not compile and/or work > properly on amd64... for example if your using the machine as a GUI > desktop *AND* you have a nvidia video card you get almost 10 times > better performence with i386 because amd64 has a hard time reconizing > PCI cards installed "above" the 4gb limit (the phsycial addr is above RAM) AFAIK, the NVidia driver does not work (properly/at all) with PAE, 64 bit FreeBSD or more than 4GB of RAM. Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090202/aa3d61a6/attachment.pgp From sfourman at gmail.com Mon Feb 2 07:48:03 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Mon Feb 2 07:48:10 2009 Subject: intel 64-bit version? In-Reply-To: <498709C8.1090106@gmail.com> References: <769541.13800.qm@web52112.mail.re2.yahoo.com> <20090202154016.5fd0a5a3.cyb.@gmx.net> <498709C8.1090106@gmail.com> Message-ID: <11167f520902020748h21a11684n137ae139b367b82f@mail.gmail.com> > It is a little more complicated... i386 also supports >4GB with the PAE > kernel option... it is frequently better to use this then to use amd64 > because (a decreasing I hope) number of ports do not compile and/or work > properly on amd64... for example if your using the machine as a GUI desktop > *AND* you have a nvidia video card you get almost 10 times better > performence with i386 because amd64 has a hard time reconizing PCI cards > installed "above" the 4gb limit (the phsycial addr is above RAM) I could be wrong, but I thought that the nvidia binary driver did not work on a i386 PAE kernel. Sam Fourman Jr. Fourman Networks From aryeh.friedman at gmail.com Mon Feb 2 07:53:26 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Mon Feb 2 07:53:32 2009 Subject: intel 64-bit version? In-Reply-To: <11167f520902020748h21a11684n137ae139b367b82f@mail.gmail.com> References: <769541.13800.qm@web52112.mail.re2.yahoo.com> <"20090202154016.5fd0a5a3.cyb."@gmx.net> <498709C8.1090106@gmail.com> <11167f520902020748h21a11684n137ae139b367b82f@mail.gmail.com> Message-ID: <498716E8.7060209@gmail.com> Sam Fourman Jr. wrote: >> It is a little more complicated... i386 also supports >4GB with the PAE >> kernel option... it is frequently better to use this then to use amd64 >> because (a decreasing I hope) number of ports do not compile and/or work >> properly on amd64... for example if your using the machine as a GUI desktop >> *AND* you have a nvidia video card you get almost 10 times better >> performence with i386 because amd64 has a hard time reconizing PCI cards >> installed "above" the 4gb limit (the phsycial addr is above RAM) >> > > > I could be wrong, but I thought that the nvidia binary driver did not > work on a i386 PAE kernel. > > Sam Fourman Jr. > Fourman Networks > > If I implied it I did not mean it I am sorry... (bad example) there are other ports that do work with PAE and not with AMD64 (forget what they are right now since I switched from amd64 to i386 almost 6 months ago)... also I do not know of any ports that do work with amd64 that do not work with PAE... I have not checked this but I think the primary difference is how large gcc reports void * (and other ptr's) to be as well the size of int's From op at trekdanne.se Mon Feb 2 08:02:16 2009 From: op at trekdanne.se (Daniel Lannstrom) Date: Mon Feb 2 08:02:23 2009 Subject: zfs root partition boot? In-Reply-To: <75a268720902020618v2ba3c798s9a6c011d107cb1a8@mail.gmail.com> References: <75a268720902020618v2ba3c798s9a6c011d107cb1a8@mail.gmail.com> Message-ID: <20090202151405.GA14836@haruhi> On Mon, Feb 02, 2009 at 04:18:28PM +0200, Omer Faruk Sen wrote: > Can I use zfs on / using FreeBSD 7.1? Yes. But you need a /boot partition so the bootloader can find the kernel. See http://wiki.freebsd.org/ZFSOnRoot and http://www.ish.com.au/solutions/articles/freebsdzfs From ulrich at pukruppa.net Mon Feb 2 08:14:06 2009 From: ulrich at pukruppa.net (Peter Ulrich Kruppa) Date: Mon Feb 2 08:14:13 2009 Subject: "Homeschool" sebagai Gaya Hidup? In-Reply-To: <49871C04.5040500@pukruppa.net> References: <200902021057.n12AvB8U022812@pp4.tm.net.my> <49871C04.5040500@pukruppa.net> Message-ID: <49871C99.8080902@pukruppa.net> Peter Ulrich Kruppa schrieb: Indeed FreeBSD as an Operating System, coming with a huge software collection, offers about everything you will need for home learning and teaching - and is completely free. Since there is a long tradition of Open Source Communities supporting educational purposes, I am convinced everybody on this list is willing to assist you in technical questions about setting up learning platforms like moodle or compiling an office suite like OpenOffice. Good luck! Uli. > > Malaysian Homeschool Family schrieb: >> Assalamualaikum, >> >> Sertai kami dalam playgroup Komuniti Malaysia Homeschool >> Unite, khas buat keluarga "homeschool" dan terbuka kepada >> keluarga yang berminat untuk menambah ilmu serta kenalan. Anda >> juga boleh berikan cadangan anda. - Jom klik di sini : >> http://www.forum.littlekittle.com >> >> >> Segmen Iklan: Only RM 25 for 3 bulan! Segmen direktori niaga >> buat warga Malaysia! Terbuka kepada WAHM (Work-at-Home-Mum) - >> Jom klik di sini : >> http://littlekittle.com/forum/showthread.php?t=6 >> >> Malaysian Homeschool Family Blog. - Jom klik di sini : >> http://littlekittle.com/blog/ >> >> Parents have always been their children's First Teachers. >> >> When children reach the age of 7 in most country we are told >> we need to send them off to Public School for approximately 8 >> hours a day. Why? >> >> Parents have taught their children from the day they were >> born. We teach them to walk, talk, tie their shoes, and so >> very much more. >> >> There is no set age at which a child can begin learning >> reading, math, history, science, art. >> >> Every child learns in their own way. >> >> >> Some children may do just fine learning out of a text book, >> sitting at a desk for 8 hours. There are certainly many more >> options that help children learn that would not be considered >> a normal education. >> >> Parents have been teaching their children at home since the >> beginning of time. >> >> >> Home schooling our children at home is a personal decision for >> everyone. No one can make the choice for you. >> >> What works for one family may not work for another. Children >> will not all want to study bugs at the same time. >> >> They won't all want to know why condensation forms on the >> windows in the winter, at the same time that little kiddy down >> the street wants to know the same thing. >> >> Parents understand their child better then anyone else does. >> >> We understand what makes our child go; hmmm how would this >> work if I put it on like this instead of the way the >> directions say. >> >> We have always been our children's teachers. Being as a parent >> and a teacher has always been the way the world works. >> >> >> In todays world it is no different. >> >> We choose now to keep our children learning, learning at home >> with us. >> >> As our children's teachers we are always on the lookout for >> things that we can use to help in their learning. >> >> >> That is where our forum Malaysia Homeschool Unite come in. >> >> We offer links to free worksheets on other sites (and more in >> the near future!). As well as have some that were made for the >> MHU forums use. >> >> We are there when you have questions, and when you want to hit >> your head on the wall. >> >> We offer not just the links but an ear, and a shoulder when >> they are needed. *Insya-Allah, Amin~* >> >> >> Yours sincerely, Mohd Azhar Zahir Advertising & Marketing >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >> unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > From wojtek at wojtek.tensor.gdynia.pl Mon Feb 2 08:20:07 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Feb 2 08:20:14 2009 Subject: intel 64-bit version? In-Reply-To: <769541.13800.qm@web52112.mail.re2.yahoo.com> References: <769541.13800.qm@web52112.mail.re2.yahoo.com> Message-ID: <20090202171937.M2976@wojtek.tensor.gdynia.pl> > What is the image for intel 64-bit version of freebsd? i have xeon machine and would like to install freebsd on it. > it's FreeBSD/amd64, as 64-bit intel is compatible with amd64 From a at jenisch.at Mon Feb 2 08:36:50 2009 From: a at jenisch.at (Ewald Jenisch) Date: Mon Feb 2 08:36:59 2009 Subject: X.org-update -> screen garbled / settings for xorg.conf? In-Reply-To: References: <20090130144614.GA4897@aurora.oekb.co.at> Message-ID: <20090202163647.GD2908@aurora.oekb.co.at> On Fri, Jan 30, 2009 at 11:30:02AM -0800, Luke Dean wrote: > > Me too. > I started a thread a few days ago titled "Restarting new Xorg freezes > system". > My symptoms are the same as yours. > I'm not running hald at all. > I'm not using full-blown gnome, just windowmaker. > I'm using the "radeon" driver on an ATI HD 4350 > > I just tried switching to the "vesa" driver, and now I can stop and start > X as much as I want with no problems whatsoever. > I know that this was not a problem with the "radeon" driver prior to the > Xorg update. Hi, Did a few tests more: 1) Section "ServerLayout" Option "AllowEmptyInput" "false" Section "Device" Driver "radeon" moused running hald running Result: X (gnome in my case) starts, mouse moves. Upon leaving X the console is to something different than 80x25 lines - at least I can't see about 2-3 lines on the bottom of the screen. However - as soon as a start X again I get graphical junk on the display, mouse & keyboard frozen, no switching of consoles nor can I log in via the net (ssh) 2) Same as 1) above however this time with Driver "radeonhd" Result: Almost the same as 1) above - only difference: When I leave X the console comes back again to 80x25 lines. Hoever - like in 1) above - the second attempt to start X ends in a machine completely frozen :-( 3) Same as 1) - this time with Driver "vesa" Result: Everything works - i.e. back and forth between X and console. Sure enough working with Vesa is a workaround only given the huge difference in speed between the Vesa- and radeon drivers. 4) Option "AutoAddDevices" "Off" under 'Section "ServerLayout"' with Driver "radeonhd" Result: X works only once (as in Tests 1&2 above). Second attempt to start X gives a "frozen box" again. As you already mentioned o) no problem with VESA-Driver o) no problems with radeon-driver prior to the Upgrade to X 7.4 Hope this helps someone out there to track things down. -ewald From mexas at bristol.ac.uk Mon Feb 2 08:47:10 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Feb 2 08:47:18 2009 Subject: X, dbus and hal - how to? Message-ID: <20090202164654.GA43018@mech-cluster238.men.bris.ac.uk> I'm running X remotely, i.e. xorg-server and clients are on different boxes. After reading freebsd.org/gnome FAQs and hal FAQs my impression is that dbus and hal must be run on the clients box, not on the server. Can somebody confirm this? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From testcat2003 at yahoo.com Mon Feb 2 09:00:28 2009 From: testcat2003 at yahoo.com (Wayne) Date: Mon Feb 2 09:00:57 2009 Subject: ls -lh show file not displaying correct size In-Reply-To: <20090131213315.GE75802@dan.emsphone.com> Message-ID: <832987.51059.qm@web33107.mail.mud.yahoo.com> Thanks for the answer so now for the next question. How do I sync this file to other FreeBSD servers. I tried using rsync with the --spares but the size on the other server was on it's way to being the 256G size and fill up the other server. How would I go about making an exact duplicate. Wayne --- On Sat, 1/31/09, Dan Nelson wrote: From: Dan Nelson Subject: Re: ls -lh show file not displaying correct size To: "Wayne" Cc: freebsd-questions@freebsd.org Date: Saturday, January 31, 2009, 3:33 PM In the last episode (Jan 31), Wayne said: > Hello, > > I have a db file of FreeBSD 7.1 amd64 that is displaying the wrong size. This is a db file used by my mail filter software to to Bayes Filtering. > If I do an ls -l or ls -lh I get > filter1# ls -l > total 489024 > -rw-------? 1 defang? defang? 274992627712 Jan 31 08:33 @@RPTN.db > filter1# ls -lh > total 489024 > -rw-------? 1 defang? defang?? 256G Jan 31 08:33 @@RPTN.db > If I do a du I gecus18-179# du > 489026? . > cus18-179# du -h > 478M??? . > My drive is only 250 Gig and I have it mounted as /var/spool here is my df for the whole file system. > /dev/ad14s1d??? 226G??? 810M??? 207G???? 0%??? /var/spool > > So I know that the 256G is wrong. Can any one tell me what is up with file size ? The 256G is correct. It's a sparse file (i.e. there are holes in it). "ls -sk" will print the actual disk space occupied by a file. -- Dan Nelson dnelson@allantgroup.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From web at umich.edu Mon Feb 2 09:11:39 2009 From: web at umich.edu (William Bulley) Date: Mon Feb 2 09:11:46 2009 Subject: short-changed on SD card? Message-ID: <20090202165244.GB1012@dell1> Recently purchased a brand new 2.0 GB secure digital (SD) card. When I plugged this into a USB dongle and plugged the USB dongle into an available USB socket on my FreeBSD 7.0-STABLE system the output from dmesg(8) reported this: da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) This is much closer to 1.0 GB than 2.0 GB so I at once wondered if I had been scammed in my purchase of this brand new SD card. Once I'd mounted /dev/da1s1 on /mnt, the df(1) command also reported 960 MB. I then copied a 300+ megabyte file onto /mnt and then ran the df(1) command again. This time it reported 1.9 GB total and 1.6 GB available. WHAT IS GOING ON HERE? Am I going crazy? Is this normal behaviour for a FAT16 formatted (raw/blank) SD card? Is there something I can do using the fdisk(8) or similar command to change the SD card so that it believes (and FreeBSD believes) that it is truly a 2.0 GB card? As I continued writing (large, multi-hundred megabyte) files to the mounted SD card, the system eventually seized up and I had to reboot. I expect this had something to do with my having crossed the 960 MB boundary on this SD card. Help! Any ideas gratefully accepted. Regards, web... -- William Bulley Email: web@umich.edu From op at trekdanne.se Mon Feb 2 09:38:44 2009 From: op at trekdanne.se (Daniel Lannstrom) Date: Mon Feb 2 09:38:51 2009 Subject: X, dbus and hal - how to? In-Reply-To: <20090202164654.GA43018@mech-cluster238.men.bris.ac.uk> References: <20090202164654.GA43018@mech-cluster238.men.bris.ac.uk> Message-ID: <20090202174155.GA19540@haruhi> > After reading freebsd.org/gnome FAQs and hal FAQs my impression is that > dbus and hal must be run on the clients box, not on the server. > > Can somebody confirm this? AFAIK that is correct. From fbsd.questions at rachie.is-a-geek.net Mon Feb 2 09:46:29 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Feb 2 09:46:35 2009 Subject: short-changed on SD card? In-Reply-To: <20090202165244.GB1012@dell1> References: <20090202165244.GB1012@dell1> Message-ID: <200902020846.14901.fbsd.questions@rachie.is-a-geek.net> On Monday 02 February 2009 07:52:44 William Bulley wrote: > Recently purchased a brand new 2.0 GB secure digital (SD) card. > > When I plugged this into a USB dongle and plugged the USB dongle > into an available USB socket on my FreeBSD 7.0-STABLE system the > output from dmesg(8) reported this: > > da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) > > This is much closer to 1.0 GB than 2.0 GB so I at once wondered > if I had been scammed in my purchase of this brand new SD card. > > Once I'd mounted /dev/da1s1 on /mnt, the df(1) command also reported > 960 MB. I then copied a 300+ megabyte file onto /mnt and then ran > the df(1) command again. This time it reported 1.9 GB total and > 1.6 GB available. WHAT IS GOING ON HERE? Am I going crazy? On a hunch, it's really 1G FAT, 1G HFS ("mac"). You could reformat it using fdisk/newfs. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Mon Feb 2 09:56:41 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Feb 2 09:56:47 2009 Subject: no cats at home, but system (7.0-STABLE) reboots In-Reply-To: <20090202085740.GA4654@rebelion.Sisis.de> References: <20090202085740.GA4654@rebelion.Sisis.de> Message-ID: <200902020856.39396.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 February 2009 23:57:40 Matthias Apitz wrote: > Hello, > > I'm alone in my flat and have no cats :-) > Last night I powered down my laptop (with the power-off button), the > system went down, but later re-booted by its own: > > Feb 1 23:04:08 rebelion ipmon[839]: 23:04:08.145552 6x iwi0 @0:26 b > 127.0.0.1,0 -> 0.0.0.0,0 PR tcp len 20 40 -AR OUT Feb 1 23:06:24 rebelion > acpi: resumed at 20090201 23:06:24 ^^^^^^^ It did not power down, it suspended. Check hw.acpi.power_button_state or maybe you pressed too short or too long. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From web at umich.edu Mon Feb 2 09:57:54 2009 From: web at umich.edu (William Bulley) Date: Mon Feb 2 09:58:01 2009 Subject: short-changed on SD card? Message-ID: <20090202175619.GD1012@dell1> According to Mel on Mon, 02/02/09 at 12:46: > > On Monday 02 February 2009 07:52:44 William Bulley wrote: > > Recently purchased a brand new 2.0 GB secure digital (SD) card. > > > > When I plugged this into a USB dongle and plugged the USB dongle > > into an available USB socket on my FreeBSD 7.0-STABLE system the > > output from dmesg(8) reported this: > > > > da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) > > > > This is much closer to 1.0 GB than 2.0 GB so I at once wondered > > if I had been scammed in my purchase of this brand new SD card. > > > > Once I'd mounted /dev/da1s1 on /mnt, the df(1) command also reported > > 960 MB. I then copied a 300+ megabyte file onto /mnt and then ran > > the df(1) command again. This time it reported 1.9 GB total and > > 1.6 GB available. WHAT IS GOING ON HERE? Am I going crazy? > > On a hunch, it's really 1G FAT, 1G HFS ("mac"). You could reformat it using > fdisk/newfs. That might be a good hunch, but the SD card itself just says "2.0 GB" on the outside - no mention there or when I purchased it to have any Mac-ness. I don't recall seeing anything Mac-ish when I ran the fdisk(8) command as % fdisk da1 The output then seemed to correctly reflect that partition (slice) one (1) was 960 MB in size. I tried later (once the system had recovered and the fsck(8) had finished) to use fdisk(8) to put 1920 MB into slice one. But that didn't seem to work. I marked all the other three slices as "UNUSED". Is there any trick to using fdisk(8) that is hidden in the man page which I evidently missed? I used the "-i" flag and it led me by the had through each slice - I thought I did the "right" thing, but I was never able to mount(8) the SD card after that, even though dmesg(8) reported "da1" as being there. I kept getting "invalid parameter" or the like when I tried mounting as I am used to: # mount_msdosfs -l /dev/da1s1 /mnt I also tried: # mount_msdosfs -l /dev/da1 /mnt But both versions failed. Finally, in desperation, I formatted the SD card on a Windows XP laptop. Windows put it back into FAT shape (using the low level - not the "quick" - format there) and gave it 960 MB, sigh... :-( Regards, web... -- William Bulley Email: web@umich.edu From fbsd.questions at rachie.is-a-geek.net Mon Feb 2 10:01:15 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Feb 2 10:01:22 2009 Subject: Error compiling Imagmagick In-Reply-To: <498698F9.1030204@maydias.com> References: <498698F9.1030204@maydias.com> Message-ID: <200902020901.13750.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 February 2009 21:55:53 Warren Liddell wrote: > Im running AMD64 4gig RAM FreeBSD 7.1-STABLE, ports an src are all up to > date... Below is the error output trying to compile imagmagick as part > of the dependency whilst installing DVDrip run make config in graphics/ImageMagick and uncheck the "Run bundled self-tests after build" option. This will continue the install. You may want to provide the output of the failing test through send-pr, so that it can be investigated. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From guru at unixarea.de Mon Feb 2 10:05:12 2009 From: guru at unixarea.de (Matthias Apitz) Date: Mon Feb 2 10:05:19 2009 Subject: no cats at home, but system (7.0-STABLE) reboots In-Reply-To: <200902020856.39396.fbsd.questions@rachie.is-a-geek.net> References: <20090202085740.GA4654@rebelion.Sisis.de> <200902020856.39396.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20090202180459.GA2625@rebelion.Sisis.de> El d?a Monday, February 02, 2009 a las 08:56:39AM -0900, Mel escribi?: > On Sunday 01 February 2009 23:57:40 Matthias Apitz wrote: > > Hello, > > > > I'm alone in my flat and have no cats :-) > > Last night I powered down my laptop (with the power-off button), the > > system went down, but later re-booted by its own: > > > > Feb 1 23:04:08 rebelion ipmon[839]: 23:04:08.145552 6x iwi0 @0:26 b > > 127.0.0.1,0 -> 0.0.0.0,0 PR tcp len 20 40 -AR OUT Feb 1 23:06:24 rebelion > > acpi: resumed at 20090201 23:06:24 > ^^^^^^^ > > It did not power down, it suspended. Check hw.acpi.power_button_state or maybe > you pressed too short or too long. $ sysctl hw.acpi.power_button_state hw.acpi.power_button_state: S5 but the other messages (you have cut out) says that it run through shutdown at 23:06:33 and later at 23:42:42 it did a normal re-boot while I was sleeping already; this does not make sense; don't you agree? matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ From fernando.apesteguia at gmail.com Mon Feb 2 10:20:49 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Mon Feb 2 10:20:55 2009 Subject: X.org-update -> screen garbled / settings for xorg.conf? In-Reply-To: <20090202163647.GD2908@aurora.oekb.co.at> References: <20090130144614.GA4897@aurora.oekb.co.at> <20090202163647.GD2908@aurora.oekb.co.at> Message-ID: <1bd550a00902021020y7ecc02doe8c3859997e5b61@mail.gmail.com> On Mon, Feb 2, 2009 at 5:36 PM, Ewald Jenisch wrote: > On Fri, Jan 30, 2009 at 11:30:02AM -0800, Luke Dean wrote: >> >> Me too. >> I started a thread a few days ago titled "Restarting new Xorg freezes >> system". >> My symptoms are the same as yours. >> I'm not running hald at all. >> I'm not using full-blown gnome, just windowmaker. >> I'm using the "radeon" driver on an ATI HD 4350 >> >> I just tried switching to the "vesa" driver, and now I can stop and start >> X as much as I want with no problems whatsoever. >> I know that this was not a problem with the "radeon" driver prior to the >> Xorg update. > > Hi, > > Did a few tests more: > > 1) Section "ServerLayout" > Option "AllowEmptyInput" "false" > Section "Device" > Driver "radeon" > moused running > hald running > > Result: X (gnome in my case) starts, mouse moves. Upon leaving X the > console is to something different than 80x25 lines - at least I can't > see about 2-3 lines on the bottom of the screen. However - as soon as > a start X again I get graphical junk on the display, mouse & keyboard > frozen, no switching of consoles nor can I log in via the net (ssh) Just for the record, this used to happen in Linux (Fedora 9) but it's working since some time ago (sorry, I don't remember when this was fixed) radeon now works and doesn't freeze if you try to bring the X Server up again. I'm using Xorg 7.4 too However, I experience the same problems in my system (ATI RadeonHD 2400 with FreeBSD 7.1-RELEASE-p2) > > > 2) Same as 1) above however this time with > Driver "radeonhd" > > Result: Almost the same as 1) above - only difference: When I leave X > the console comes back again to 80x25 lines. Hoever - like in 1) above > - the second attempt to start X ends in a machine completely frozen :-( > > 3) Same as 1) - this time with > Driver "vesa" > > Result: Everything works - i.e. back and forth between X and > console. Sure enough working with Vesa is a workaround only given the > huge difference in speed between the Vesa- and radeon drivers. > > > 4) Option "AutoAddDevices" "Off" under 'Section "ServerLayout"' > with > Driver "radeonhd" > > Result: X works only once (as in Tests 1&2 above). Second attempt to > start X gives a "frozen box" again. > > > > As you already mentioned > > o) no problem with VESA-Driver > > o) no problems with radeon-driver prior to the Upgrade to X 7.4 > > > Hope this helps someone out there to track things down. > > -ewald > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From fbsd.questions at rachie.is-a-geek.net Mon Feb 2 10:22:30 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Feb 2 10:22:39 2009 Subject: Load balancing multiple virtual hosts on 1 IP In-Reply-To: <84467B60728CC902BB853C9B@ganymede.hub.org> References: <20090131091825.R90262@hub.org> <4984583C.2030409@infracaninophile.co.uk> <84467B60728CC902BB853C9B@ganymede.hub.org> Message-ID: <200902020922.27815.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 February 2009 19:33:38 Marc G. Fournier wrote: > Thank you for all the responses ... turns out the solution was simplier ... > I tried the various solutions presented, and each of them did the same > thing ... > > The setup I have, I'm using csync2 to maintain the file systems on each > backend, and in order to simplify that, I'm using: > > > > instead of > > > > which works fine ... *but*, something gets confused when you mix-n-match > the above ... its either all of one or the other, but not both ... once I > fixed my config files, the pages now load consistently ... I'm assuming you also have: NameVirtualHost * http://httpd.apache.org/docs/2.2/mod/core.html#virtualhost Addr can be: - The character *, which is used only in combination with NameVirtualHost * to match all IP addresses; -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Mon Feb 2 10:34:40 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Feb 2 10:34:46 2009 Subject: no cats at home, but system (7.0-STABLE) reboots In-Reply-To: <20090202180459.GA2625@rebelion.Sisis.de> References: <20090202085740.GA4654@rebelion.Sisis.de> <200902020856.39396.fbsd.questions@rachie.is-a-geek.net> <20090202180459.GA2625@rebelion.Sisis.de> Message-ID: <200902020934.38501.fbsd.questions@rachie.is-a-geek.net> On Monday 02 February 2009 09:04:59 Matthias Apitz wrote: > El d?a Monday, February 02, 2009 a las 08:56:39AM -0900, Mel escribi?: > > On Sunday 01 February 2009 23:57:40 Matthias Apitz wrote: > > > Hello, > > > > > > I'm alone in my flat and have no cats :-) > > > Last night I powered down my laptop (with the power-off button), the > > > system went down, but later re-booted by its own: > > > > > > Feb 1 23:04:08 rebelion ipmon[839]: 23:04:08.145552 6x iwi0 @0:26 b > > > 127.0.0.1,0 -> 0.0.0.0,0 PR tcp len 20 40 -AR OUT Feb 1 23:06:24 > > > rebelion acpi: resumed at 20090201 23:06:24 > > > > ^^^^^^^ > > > > It did not power down, it suspended. Check hw.acpi.power_button_state or > > maybe you pressed too short or too long. > > $ sysctl hw.acpi.power_button_state > hw.acpi.power_button_state: S5 > > but the other messages (you have cut out) says that it run through shutdown > at 23:06:33 and later at 23:42:42 it did a normal re-boot while I was > sleeping already; this does not make sense; don't you agree? > Right, I'm not awake yet. 36 minutes is odd. The only scenario I can think of: - acpi shutdown did not work, it was instead a 'halt' and in your sleep you pressed the any key to start the reboot ;) You can see if shutdown works properly by shutdown -p NOW. Then try the same using the power button, just in case there's something different. If that all works, search for monkeys. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From jerrymc at msu.edu Mon Feb 2 11:13:45 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Feb 2 11:13:52 2009 Subject: short-changed on SD card? In-Reply-To: <20090202175619.GD1012@dell1> References: <20090202175619.GD1012@dell1> Message-ID: <20090202191214.GA22919@gizmo.acns.msu.edu> On Mon, Feb 02, 2009 at 12:56:19PM -0500, William Bulley wrote: > According to Mel on Mon, 02/02/09 at 12:46: > > > > On Monday 02 February 2009 07:52:44 William Bulley wrote: > > > Recently purchased a brand new 2.0 GB secure digital (SD) card. > > > > > > When I plugged this into a USB dongle and plugged the USB dongle > > > into an available USB socket on my FreeBSD 7.0-STABLE system the > > > output from dmesg(8) reported this: > > > > > > da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) > > > > > > This is much closer to 1.0 GB than 2.0 GB so I at once wondered > > > if I had been scammed in my purchase of this brand new SD card. > > > > > > Once I'd mounted /dev/da1s1 on /mnt, the df(1) command also reported > > > 960 MB. I then copied a 300+ megabyte file onto /mnt and then ran > > > the df(1) command again. This time it reported 1.9 GB total and > > > 1.6 GB available. WHAT IS GOING ON HERE? Am I going crazy? > > > > On a hunch, it's really 1G FAT, 1G HFS ("mac"). You could reformat it using > > fdisk/newfs. > > That might be a good hunch, but the SD card itself just says "2.0 GB" on the > outside - no mention there or when I purchased it to have any Mac-ness. > > I don't recall seeing anything Mac-ish when I ran the fdisk(8) command as > > % fdisk da1 > > The output then seemed to correctly reflect that partition (slice) one (1) > was 960 MB in size. I tried later (once the system had recovered and the > fsck(8) had finished) to use fdisk(8) to put 1920 MB into slice one. But > that didn't seem to work. I marked all the other three slices as "UNUSED". > Is there any trick to using fdisk(8) that is hidden in the man page which > I evidently missed? I used the "-i" flag and it led me by the had through > each slice - I thought I did the "right" thing, but I was never able to > mount(8) the SD card after that, even though dmesg(8) reported "da1" as > being there. I kept getting "invalid parameter" or the like when I tried > mounting as I am used to: > > # mount_msdosfs -l /dev/da1s1 /mnt > > I also tried: > > # mount_msdosfs -l /dev/da1 /mnt > > But both versions failed. Finally, in desperation, I formatted the SD card > on a Windows XP laptop. Windows put it back into FAT shape (using the low > level - not the "quick" - format there) and gave it 960 MB, sigh... :-( I am a little lost here and haven't tried a lot on USB devices yet - though I haven't had these kind of problems. But, after doing the fdisk stuff and before trying to mount, did you do a newfs? Another thing would be to try the old dd if=/dev/zero of=/dev/da1 bs=512 count=1024 and see if it will write to it and wipe enough stuff to free it up. Up the count if you think it makes any difference. ////jerry > > Regards, > > web... > > -- > William Bulley Email: web@umich.edu > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From prad at towardsfreedom.com Mon Feb 2 11:19:05 2009 From: prad at towardsfreedom.com (prad) Date: Mon Feb 2 11:19:11 2009 Subject: apt of freebsd In-Reply-To: References: <4986B7EE.6060103@uni-altai.ru> Message-ID: <20090202111902.52dcd8dd@gom.home> On Mon, 02 Feb 2009 11:23:50 +0100 Ivan Voras wrote: > It's probably used for the "Linux emulation" in FreeBSD, you can't use > it with FreeBSD native packages. > so what does this mean? if you have linux emulation, you can install .debs from the debian repository? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From dnelson at allantgroup.com Mon Feb 2 11:23:26 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Feb 2 11:23:42 2009 Subject: ls -lh show file not displaying correct size In-Reply-To: <832987.51059.qm@web33107.mail.mud.yahoo.com> References: <20090131213315.GE75802@dan.emsphone.com> <832987.51059.qm@web33107.mail.mud.yahoo.com> Message-ID: <20090202192320.GK75802@dan.emsphone.com> In the last episode (Feb 02), Wayne said: > Thanks for the answer so now for the next question. How do I sync this > file to other FreeBSD servers. I tried using rsync with the --spares > but the size on the other server was on it's way to being the 256G size > and fill up the other server. How would I go about making an exact > duplicate. rsync --sparse seems to work fine for me: (dan@dan.13) /usr/tmp> truncate -s 512M bigfile1 (dan@dan.13) /usr/tmp> ls -lsk bigfile* 1 -rw-r--r-- 1 dan wheel 5368709120 Feb 2 13:09 bigfile1 (dan@dan.13) /usr/tmp> rsync --sparse -v bigfile1 dan:/usr/tmp/bigfile2 sent 536936517 bytes received 31 bytes 2958328.09 bytes/sec total size is 536870912 speedup is 1.00 rsync: U:98.46s S:16.08s E:181.03s CPU:63% Faults:0/1343 I/O:0/0 Swaps:0 (dan@dan.13) /usr/tmp> ls -lsk bigfile* 1 -rw-r--r-- 1 dan wheel 536870912 Feb 2 13:11 bigfile1 1 -rw-r--r-- 1 dan wheel 536870912 Feb 2 13:14 bigfile2 -- Dan Nelson dnelson@allantgroup.com From web at umich.edu Mon Feb 2 11:28:56 2009 From: web at umich.edu (William Bulley) Date: Mon Feb 2 11:29:03 2009 Subject: short-changed on SD card? Message-ID: <20090202192720.GE1012@dell1> According to Jerry McAllister on Mon, 02/02/09 at 14:12: > > I am a little lost here and haven't tried a lot on USB devices yet - > though I haven't had these kind of problems. > > But, after doing the fdisk stuff and before trying to mount, did you > do a newfs? > > Another thing would be to try the old > dd if=/dev/zero of=/dev/da1 bs=512 count=1024 > and see if it will write to it and wipe enough stuff to free it up. > Up the count if you think it makes any difference. Thanks. According to the newfs(8) man page it is used only for BSD style file systems (ufs and ufs2). I am okay with the FAT16 formatted SD card, I'm just upset that I paid for a 2.0 GB card and ended up with what seems to be a 1.0 GB card. I would be happy if I could make the SD card look like this: slice 1 2.0 GB (well, 1920 MB if you insist) slice 2 slice 3 slice 4 And I thought I had done just that using fdisk(8). But I must have gotten some of the "beg" and "end" paramaters set up wrong. If the card is indeed 2.0 GB in size, and following in the style of the originally reported parameters of this card: da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) that is, 64 "heads", 32 "sectors per track", and 960 "cylinders", (this evidently from what the BIOS reports and understands) I had assumed that I could merely increase the cylinder count up to 1920 and leave the head and sector information as it was. But as I said earlier, this didn't seem to work. I know I have to leave room at the beginning for the MBR or the like, but the tools are either too low level, or too high level, or my understanding of all this is not up to speed. Why can't an SD card advertised (and sold) as a 2.0 GB card actually hold (approximately) 2.0 GB? That is what bugs me... I believe that FAT16 is capable of addressing a 2.0 GB disk drive, yes? Regards, web... -- William Bulley Email: web@umich.edu From jerrymc at msu.edu Mon Feb 2 11:54:24 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Feb 2 11:54:35 2009 Subject: short-changed on SD card? In-Reply-To: <20090202192720.GE1012@dell1> References: <20090202192720.GE1012@dell1> Message-ID: <20090202195252.GA23080@gizmo.acns.msu.edu> On Mon, Feb 02, 2009 at 02:27:20PM -0500, William Bulley wrote: > According to Jerry McAllister on Mon, 02/02/09 at 14:12: > > > > I am a little lost here and haven't tried a lot on USB devices yet - > > though I haven't had these kind of problems. > > > > But, after doing the fdisk stuff and before trying to mount, did you > > do a newfs? > > > > Another thing would be to try the old > > dd if=/dev/zero of=/dev/da1 bs=512 count=1024 > > and see if it will write to it and wipe enough stuff to free it up. > > Up the count if you think it makes any difference. > > Thanks. According to the newfs(8) man page it is used only for BSD > style file systems (ufs and ufs2). I am okay with the FAT16 formatted > SD card, I'm just upset that I paid for a 2.0 GB card and ended up with > what seems to be a 1.0 GB card. I would be happy if I could make the > SD card look like this: > > slice 1 2.0 GB (well, 1920 MB if you insist) > slice 2 > slice 3 > slice 4 > > And I thought I had done just that using fdisk(8). But I must have gotten > some of the "beg" and "end" paramaters set up wrong. OK. I thought you were trying to make a FreeBSD type slice on it, thus the newfs thought. It won't mount if it isn't newfsed and is FreeBSD type. I suppose FreeBSD's fdisk will make MS types, but have never tried it. But, if it will, then it will also do it after wiping the device with dd. After doing that, you should be able to just tell it to turn all the space on the drive in to one slice of whatever type it will handle. ////jerry > > If the card is indeed 2.0 GB in size, and following in the style of the > originally reported parameters of this card: > > da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) > > that is, 64 "heads", 32 "sectors per track", and 960 "cylinders", > (this evidently from what the BIOS reports and understands) I had > assumed that I could merely increase the cylinder count up to 1920 > and leave the head and sector information as it was. But as I said > earlier, this didn't seem to work. I know I have to leave room at > the beginning for the MBR or the like, but the tools are either too > low level, or too high level, or my understanding of all this is not > up to speed. Why can't an SD card advertised (and sold) as a 2.0 GB > card actually hold (approximately) 2.0 GB? That is what bugs me... > > I believe that FAT16 is capable of addressing a 2.0 GB disk drive, yes? > > Regards, > > web... > > -- > William Bulley Email: web@umich.edu > From beech at freebsd.org Mon Feb 2 12:20:47 2009 From: beech at freebsd.org (Beech Rintoul) Date: Mon Feb 2 12:20:59 2009 Subject: lpt0 "device busy" Message-ID: <200902021120.43042.beech@freebsd.org> Just recently I've started having a problem with my HP 5N it was printing fine. Now, whatever I do lpt0 shows "device busy". I've googled reinstalled apsfilter and put the printer through all the self tests (passed) and verified there's nothing in the printer's memory. I've rebuilt userland and kernel. Even tried cups and anything sent to /dev/lpt0 returns that error. dmesg: ppc1: port 0xe800-0xe807,0xe400-0xe407,0xe000-0xe007,0xd800-0xd807,0xd400-0xd407,0xd000-0xd00f irq 21 at device 3.0 on pci3 ppc1: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppc1: [ITHREAD] ppbus0: on ppc1 ppbus0: IEEE1284 device found /NIBBLE/ECP/ECP_RLE ppbus0: Probing for PnP devices: ppbus0: PJL,MLC,PCL,PCLXL lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 uname: FreeBSD pinnacle.akherb.com 8.0-CURRENT FreeBSD 8.0-CURRENT #70: Mon Feb 2 03:17:26 AKST 2009 root@pinnacle.akherb.com:/usr/obj/usr/src/sys/PINNACLE i386 fstat /dev/lpt0 and fstat /pt0.ctl show nothing. Ant attempt at changing settings with lptcontrol also result in a "device busy" error. pinnacle# lptcontrol -p -d /dev/lpt0.ctl lptcontrol: open: Device busy I'm totally at a loss to figure out what's changed does anyone have any suggestions? I really need to get this working. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.1R/announce.html --------------------------------------------------------------------------------------- From wblock at wonkity.com Mon Feb 2 12:29:08 2009 From: wblock at wonkity.com (Warren Block) Date: Mon Feb 2 12:29:14 2009 Subject: short-changed on SD card? In-Reply-To: <20090202192720.GE1012@dell1> References: <20090202192720.GE1012@dell1> Message-ID: On Mon, 2 Feb 2009, William Bulley wrote: > Thanks. According to the newfs(8) man page it is used only for BSD > style file systems (ufs and ufs2). newfs_msdos(8) > I am okay with the FAT16 formatted > SD card, I'm just upset that I paid for a 2.0 GB card and ended up with > what seems to be a 1.0 GB card. I would be happy if I could make the > SD card look like this: > > slice 1 2.0 GB (well, 1920 MB if you insist) > slice 2 > slice 3 > slice 4 It's generally not useful to slice/partition a small SD card. Without a slice table, the whole device is just one slice. Offhand I don't know if you can overwrite an existing slice table (boot block) with just a 'newfs_msdos /dev/da1'. Probably. If not, you can just 'dd if=/dev/zero of=/dev/da1 bs=512 cnt=1' and then do the newfs_msdos. If you plan to use that card in a camera, you are a little safer doing a "full" or "low-level" format with the card in the camera. Some cameras create and like not-quite-right filesystems. Older Canon cameras, for instance. Finally, there are more than a few reports of SD cards with false capacities bought on ebay. -Warren Block * Rapid City, South Dakota USA From wojtek at wojtek.tensor.gdynia.pl Mon Feb 2 12:45:44 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Feb 2 12:46:05 2009 Subject: short-changed on SD card? In-Reply-To: <20090202165244.GB1012@dell1> References: <20090202165244.GB1012@dell1> Message-ID: <20090202214453.H3449@wojtek.tensor.gdynia.pl> > > da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) it's something wrong with FreeBSD here, it gets detected as 1GB. it has nothing to do with filesystem on it. From bmettee at pchotshots.com Mon Feb 2 12:55:56 2009 From: bmettee at pchotshots.com (Brad Mettee) Date: Mon Feb 2 12:56:04 2009 Subject: short-changed on SD card? In-Reply-To: <20090202214453.H3449@wojtek.tensor.gdynia.pl> References: <20090202165244.GB1012@dell1> <20090202165244.GB1012@dell1> Message-ID: <4.3.2.7.2.20090202155340.02eed010@mail.pchotshots.com> Grrr - I really don't like that this mailing list default Reply-To is the original author instead of the mailing list itself........ Snip from mis-directed e-mail Does an XP machine also detect it as 960MB? If not, can you put more than 960M on it and verify that it's all intact? Create a 100MB zip file, put 10+ copies on the card. Then test to see if the CRC is correct on all of the copies. If they're alls ok, then the card is in fact 2GB. If you start getting errors on any of the files (and can wipe/repeat the problem), then I'd say you've been ripped off and it's only a 1GB card. At 03:45 PM 2/2/2009, Wojciech Puchar wrote: >> da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) > >it's something wrong with FreeBSD here, it gets detected as 1GB. >it has nothing to do with filesystem on it. >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Brad Mettee PC HotShots, Inc. Baltimore, MD (410) 426-7617 -> Let us bring out the *Power* of your PCs. <- -> Custom Business Software Solutions since 1991 <- visit http://www.pchotshots.com for information about our company. From SlackWareWolf at comcast.net Mon Feb 2 13:37:14 2009 From: SlackWareWolf at comcast.net (Akenner) Date: Mon Feb 2 13:37:20 2009 Subject: Patching / Updating / Upgrading Message-ID: <4987678A.5050802@comcast.net> Hello all, I've been using this list to my advantage for a while to learn things I can't seem to grasp, and I've gotten great amounts of help. I have a question in regards to the process of patching / Updating / Upgrading I'd like a hand with. I have two machines running FreeBSD 7.1-RELEASE and I'd like to make sure I've got security fixes on my test machine. I'm saying test amchine because the box I'm typing this from is an active needed desktop system I'm using for a lot of things right now, and I figured my best bet would be to set up another machine with a similar installation set so I could test out new ideas on that instead of risking breaking something on this one. Anyway, I've been reading up on the CVS idea and asking things about freebsd-update, and I guess my question is more along these lines: If I wanted to just make sure I've got bug fixes and security patches, would CVS or FreeBSD-Update be best for this? Or are they both good for this? I know in the Unix world there are generally a lot of things that do one thing very well but can generally do other things too. I'm reading on CVS right now and it seems I could use this to keep the machine updated, but I'm having some issues understanding the idea of how it works. Basically, if I'm running 7.1-RELEASE, isn't that already the updated version? Or, have I maybe misunderstood something, and the tree RELEASE for 7.1 has bug fixes and security patches added to it, and I could CVSup to the newest release of 7.1 ? Also, FreeBSD-update came across my reading, and it seems to be similar to swaret in the Slackware world. I know it isn't the same thing as BSD seems much more source based than other OSs, but I would like to get at least one of the ways to keep updated picked out, and started using on the test machine to make sure I fully understand it before using it to update my main box. One of the things I did was make two copies of the example CVS standard supfile; one I made in that directory as standard.bak and then I copied a copy of it to the /root directory to look at and maybe edit as well, but as I said, I could use a hand in deciding which option is going to work best. So if anyone could lend a little but in typing out what they use for updates and how they go about it, I'd appreciate it. I've already gotten a full CVSup file sent to me by a member on here which was a great help in deciding how to set up the file. I'm more or less wondering with CVSup if I keep using RELEASE or do I use Stable. And of course if anyone uses freebsd-update if they have suggestions I'd love to hear those as well :) -Allen From shinjii at maydias.com Mon Feb 2 14:23:35 2009 From: shinjii at maydias.com (Warren Liddell) Date: Mon Feb 2 14:23:44 2009 Subject: Error compiling Imagmagick In-Reply-To: <200902020901.13750.fbsd.questions@rachie.is-a-geek.net> References: <498698F9.1030204@maydias.com> <200902020901.13750.fbsd.questions@rachie.is-a-geek.net> Message-ID: <49877270.4000005@maydias.com> run make config in graphics/ImageMagick and uncheck the "Run bundled > self-tests after build" option. > This will continue the install. You may want to provide the output of the > failing test through send-pr, so that it can be investigated. > I went around it by using pkg_add From shinjii at maydias.com Mon Feb 2 14:28:51 2009 From: shinjii at maydias.com (Warren Liddell) Date: Mon Feb 2 14:28:58 2009 Subject: error compiling kdebase 4.2 on AMD64 Message-ID: <498773AB.2040803@maydias.com> Im currently running AMD64 4gig FreebSD7.1-STABLE .. below is the error msg when trying to compile the new KDE4.2 KDEBASE ---------------------------------------------- [ 0%] Building CXX object apps/lib/konq/CMakeFiles/konq.dir/konq_popupmenuinformation.o cd /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build/apps/lib/konq && /usr/bin/c++ -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DMAKE_KONQ_LIB -O2 -fno-strict-aliasing -pipe -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/usr/ports/x11/kdebase4/work/kdebase-4.2.0/build/apps/lib/konq -I/usr/ports/x11/kdebase4/work/kdebase-4.2.0/apps/lib/konq -I/usr/ports/x11/kdebase4/work/kdebase-4.2.0/build/apps -I/usr/ports/x11/kdebase4/work/kdebase-4.2.0/build -I/usr/local/kde4/include -I/usr/local/kde4/include/KDE -I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtAssistant -I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4 -I/usr/local/include -o CMakeFiles/konq.dir/konq_popupmenuinformation.o -c /usr/ports/x11/kdebase4/work/kdebase-4.2.0/apps/lib/konq/konq_popupmenuinformation.cpp /usr/ports/x11/kdebase4/work/kdebase-4.2.0/apps/lib/konq/konq_popupmenuinformation.cpp: In member function 'void KonqPopupMenuInformation::setItems(const KFileItemList&)': /usr/ports/x11/kdebase4/work/kdebase-4.2.0/apps/lib/konq/konq_popupmenuinformation.cpp:69: error: 'const class KFileItemList' has no member named 'targetUrlList' *** Error code 1 Stop in /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build. *** Error code 1 Stop in /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build. *** Error code 1 Stop in /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build. *** Error code 1 Stop in /usr/ports/x11/kdebase4. *** Error code 1 Stop in /usr/ports/x11/kde4. From cwhiteh at onetel.com Mon Feb 2 14:34:02 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Feb 2 14:34:09 2009 Subject: Screen problem on booting In-Reply-To: <1bd550a00902020030q418d3dard3182490496f706e@mail.gmail.com> References: <1bd550a00902020030q418d3dard3182490496f706e@mail.gmail.com> Message-ID: <49877238.40507@onetel.com> Fernando Apestegu?a wrote: > Hi all, > > I'm using FreeBSD 7.1-RELEASE-p2 > > Since a few days I've noticed something weird. On booting, all the > text I see is shifted to the left, so I lose the first ten letters or > so in every line of text. > > After login, once I type "startx" the X Window system seems to be OK > _and_ if I go back to a console with Alt-Ctrl-Fn the console is fine > again. > > My graphic card is an ATI Radeon HD2400. > > Anybody noticed it? > > Thanks in advance. > > PS: In console mode, reset command doesn't fix the problem. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Adjust the horizontal position with the controls on the monitor while booting? My LCD flat panel has an auto adjust button which does the same thing. Chris From sonic2000gr at gmail.com Mon Feb 2 14:41:32 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Feb 2 14:41:43 2009 Subject: Patching / Updating / Upgrading In-Reply-To: <4987678A.5050802@comcast.net> References: <4987678A.5050802@comcast.net> Message-ID: <49877697.8030607@gmail.com> Akenner wrote: > Hello all, > > I've been using this list to my advantage for a while to learn things > I can't seem to grasp, and I've gotten great amounts of help. > > I have a question in regards to the process of patching / Updating / > Upgrading I'd like a hand with. I have two machines running FreeBSD > 7.1-RELEASE and I'd like to make sure I've got security fixes on my > test machine. I'm saying test amchine because the box I'm typing this > from is an active needed desktop system I'm using for a lot of things > right now, and I figured my best bet would be to set up another > machine with a similar installation set so I could test out new ideas > on that instead of risking breaking something on this one. Definitely a good idea, if you have machines to spare. > > Anyway, I've been reading up on the CVS idea and asking things about > freebsd-update, and I guess my question is more along these lines: > > If I wanted to just make sure I've got bug fixes and security patches, > would CVS or FreeBSD-Update be best for this? Or are they both good > for this? I know in the Unix world there are generally a lot of things > that do one thing very well but can generally do other things too. For getting just the security fixes for your -RELEASE version, freebsd-update is by far the easiest way to go. Only thing you need to do is run: # freebsd-update fetch # freebsd-update install These can even be combined into one: # freebsd-update fetch install Depending on whether a new kernel was installed, you may or may not have to reboot. (it is easy to see on the messages whether a new /boot/kernel/kernel file was installed). If you are using a custom kernel, the process is slightly more involved: Every time the updates touch the kernel, you will have to rebuild your custom kernel. If you know nothing on custom kernels (yet) you are running GENERIC and you just need the above procedure. For details, please refer to: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html (esp. sect 24.2.2) > > I'm reading on CVS right now and it seems I could use this to keep the > machine updated, but I'm having some issues understanding the idea of > how it works. Basically, if I'm running 7.1-RELEASE, isn't that > already the updated version? Or, have I maybe misunderstood something, > and the tree RELEASE for 7.1 has bug fixes and security patches added > to it, and I could CVSup to the newest release of 7.1 ? > 7.1 is the latest RELEASE. Although new feature will not be added into it, you could use csup/cvsup to get the security fixes. These would be the same as the ones you can get (without recompiling anything) with freebsd-update as described above. If you really wish to track a development version of FreeBSD, you can use CVSup to get 7-STABLE (this is the continuing development branch, based on the work of 7.1. In the future, developments from this branch will get us to 7.2-RELEASE). Or, if you are really adventurous, you could try running -CURRENT (which will in time become FreeBSD 8.0-RELEASE). More info is here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html If you just need the security updates for 7.1-RELEASE, freebsd-update is really the painless way to go. But CVSup can also do it, and it will be a nice exercise ;) > Also, FreeBSD-update came across my reading, and it seems to be > similar to swaret in the Slackware world. I know it isn't the same > thing as BSD seems much more source based than other OSs, but I would > like to get at least one of the ways to keep updated picked out, and > started using on the test machine to make sure I fully understand it > before using it to update my main box. > Go ahead and use it on your main system. Freebsd-update is safe (you can even rollback the updates if need be). As I said, unless you are running a custom kernel (and you are not probably), this is just two commands. And there no other settings needed beforehand. > One of the things I did was make two copies of the example CVS > standard supfile; one I made in that directory as standard.bak and > then I copied a copy of it to the /root directory to look at and maybe > edit as well, but as I said, I could use a hand in deciding which > option is going to work best. > If you decide to go the CVSup way for the security fixes, you would need to make sure you have this line: *default release=cvs tag=RELENG_7_1 (This is already in the standard supfile normally) To move to 7-STABLE, you would need to change it to: *default release=cvs tag=RELENG_7 (You will find this in the sample stable-supfile) Then, follow the instructions in chapter 24. If you are getting confused with the many different possible tags, this will probably make them clear: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html > So if anyone could lend a little but in typing out what they use for > updates and how they go about it, I'd appreciate it. I've already > gotten a full CVSup file sent to me by a member on here which was a > great help in deciding how to set up the file. I'm more or less > wondering with CVSup if I keep using RELEASE or do I use Stable. > If you are just beginning with FreeBSD, I suggest you run RELEASE for a while, at least for your main system. But since you got a test machine go ahead and try everything :) The experience will be useful when the time comes to apply it to your main system. > And of course if anyone uses freebsd-update if they have suggestions > I'd love to hear those as well :) > Well, I'd say use it for the security updates. Read the Handbook section to see its other uses, but if you are staying with release, freebsd-update is a quick and safe way to update. From kitchetech at gmail.com Mon Feb 2 14:53:00 2009 From: kitchetech at gmail.com (matt donovan) Date: Mon Feb 2 14:53:07 2009 Subject: Error compiling Imagmagick In-Reply-To: <49877270.4000005@maydias.com> References: <498698F9.1030204@maydias.com> <200902020901.13750.fbsd.questions@rachie.is-a-geek.net> <49877270.4000005@maydias.com> Message-ID: <28283d910902021452l40000fdfle16eceee74f07789@mail.gmail.com> On Mon, Feb 2, 2009 at 5:23 PM, Warren Liddell wrote: > run make config in graphics/ImageMagick and uncheck the "Run bundled > >> self-tests after build" option. >> This will continue the install. You may want to provide the output of the >> failing test through send-pr, so that it can be investigated. >> >> > > I went around it by using pkg_add > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Believe this is a well known problem anyways. Since this is the 10th time or so that I have seen the errors for PerlMagick tests on this mailing list From tajudd at gmail.com Mon Feb 2 14:53:37 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Feb 2 14:53:47 2009 Subject: freebsd and multicasting software In-Reply-To: <613985.35234.qm@web52104.mail.re2.yahoo.com> References: <613985.35234.qm@web52104.mail.re2.yahoo.com> Message-ID: On Sun, Feb 1, 2009 at 3:46 PM, gahn wrote: > Hi, all: > > Does anyone know multicasting packages (udp based) that I can test on the > freebsd? I am using 6.3 and it comes with vlc-0.8.6i and doesn't support udp > streaming. > > Any help would be greatly appreciated.. udpcast? http://udpcast.linux.lu/ It's one of my goals to play with this software in greater detail so I can truly evaluate it and give it my own personal (for my own personal needs) thumbs up or down. G'luck From tajudd at gmail.com Mon Feb 2 15:04:40 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Feb 2 15:04:47 2009 Subject: zfs root partition boot? In-Reply-To: <75a268720902020618v2ba3c798s9a6c011d107cb1a8@mail.gmail.com> References: <75a268720902020618v2ba3c798s9a6c011d107cb1a8@mail.gmail.com> Message-ID: On Mon, Feb 2, 2009 at 7:18 AM, Omer Faruk Sen wrote: > Hi, > > Can I use zfs on / using FreeBSD 7.1? I also use > http://people.freebsd.org/~rse/mirror/script to create mirror is > there such a a tool for ZFS to use on Fbsd 7.1? > > Regards. > Are you sure you want to do this? ZFS is still marked an experimental feature last time I checked; and if FreeBSD decides to kill ZFS support, you'll be stuck with a unbootable disk. I'd stick with the more mature, tested methods like gmirror or gvinum. Nothing beats a hardware raid though. From tajudd at gmail.com Mon Feb 2 15:13:17 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Feb 2 15:13:26 2009 Subject: short-changed on SD card? In-Reply-To: <20090202214453.H3449@wojtek.tensor.gdynia.pl> References: <20090202165244.GB1012@dell1> <20090202214453.H3449@wojtek.tensor.gdynia.pl> Message-ID: On Mon, Feb 2, 2009 at 1:45 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > >> da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) >> > > it's something wrong with FreeBSD here, it gets detected as 1GB. > it has nothing to do with filesystem on it. Nobody's blamed the SD/CF reader. I call dibs to blame the SD/CF reader. Isolate the problem to find the culprit... Check the USB reader -- I'm curious to see if that fixes the problem. And FYI -- No matter the Heads/Sectors/Cylinders, there are ~2000000 512byte sectors, roughly equal to 1GB. If it's not the adapter, you got cheated in the purchase. From wojtek at wojtek.tensor.gdynia.pl Mon Feb 2 15:48:51 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Feb 2 15:48:58 2009 Subject: zfs root partition boot? In-Reply-To: References: <75a268720902020618v2ba3c798s9a6c011d107cb1a8@mail.gmail.com> Message-ID: <20090203004813.A3970@wojtek.tensor.gdynia.pl> > FreeBSD decides to kill ZFS support, you'll be stuck with a unbootable > disk. I'd stick with the more mature, tested methods like gmirror or > gvinum. Nothing beats a hardware raid though. IMHO "hardware" RAID beats nothing. it's mostly crap. gmirror/gstripe/gconcat works well and always From tajudd at gmail.com Mon Feb 2 16:02:04 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Feb 2 16:02:11 2009 Subject: zfs root partition boot? In-Reply-To: <20090203004813.A3970@wojtek.tensor.gdynia.pl> References: <75a268720902020618v2ba3c798s9a6c011d107cb1a8@mail.gmail.com> <20090203004813.A3970@wojtek.tensor.gdynia.pl> Message-ID: On Mon, Feb 2, 2009 at 4:48 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > FreeBSD decides to kill ZFS support, you'll be stuck with a unbootable >> disk. I'd stick with the more mature, tested methods like gmirror or >> gvinum. Nothing beats a hardware raid though. >> > IMHO "hardware" RAID beats nothing. it's mostly crap. > > gmirror/gstripe/gconcat works well and always > Yes, each person will have their own unique view. To dismiss or put down someone else's view seems unrational There are times I prefer software raid, there are times I prefer hardware raid, neither of which will solve 100% of the problems 100% of the time. My point still stands that **IF** FreeBSD decides to kill ZFS support, you'll be SOL. And quote the source PROPERLY next time. The 2 letter word you DID NOT quote me on makes a difference in the point I was making. If you want to exchange flames, remove the -questions email list from the recipients. From mike.jeays at rogers.com Mon Feb 2 16:38:41 2009 From: mike.jeays at rogers.com (Mike Jeays) Date: Mon Feb 2 16:38:49 2009 Subject: short-changed on SD card? In-Reply-To: References: <20090202165244.GB1012@dell1> <20090202214453.H3449@wojtek.tensor.gdynia.pl> Message-ID: <200902021938.35285.mike.jeays@rogers.com> On February 2, 2009 06:13:16 pm Tim Judd wrote: > On Mon, Feb 2, 2009 at 1:45 PM, Wojciech Puchar < > > wojtek@wojtek.tensor.gdynia.pl> wrote: > >> da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C) > > > > it's something wrong with FreeBSD here, it gets detected as 1GB. > > it has nothing to do with filesystem on it. > > Nobody's blamed the SD/CF reader. > > I call dibs to blame the SD/CF reader. Isolate the problem to find the > culprit... > > Check the USB reader -- I'm curious to see if that fixes the problem. > > And FYI -- No matter the Heads/Sectors/Cylinders, there are ~2000000 > 512byte sectors, roughly equal to 1GB. > > If it's not the adapter, you got cheated in the purchase. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I think I would try dd if=/dev/zero of=/dev/da1 bs=1M without the count option, and see how many blocks it writes. You at least start with a clean slate, and can run fdisk and newfs, if you want a BSD-only device. Make sure you write on the right device! -- Mike Jeays http://www.jeays.ca http://www.rotarycpmm.ca From rock_on_the_web at comcen.com.au Mon Feb 2 17:33:40 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Mon Feb 2 17:33:47 2009 Subject: Xorg upgrade disaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: <49860ABC.1030205@system.pl> References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <49860ABC.1030205@system.pl> Message-ID: <1233624790.1092.1.camel@laptop2.herveybayaustralia.com.au> On Sun, 2009-02-01 at 21:49 +0100, Marcin Cieslak wrote: > O. Hartmann wrote: > > After upgrading one of my FreeBSD 8.0-CUR/amd64 boxes to new xorg-7.4 > > and having done hurting recompiling nearly everything/package twice now > > firefox3 still doesn't work properly and hits me when starting with this > > error message: > > > > Xlib: extension "Generic Event Extension" missing on display ":0.0". > > > Looks like libraries (Xext among others) already support the XGE extension: > > http://thread.gmane.org/gmane.comp.freedesktop.xorg/36483 > > but the current the 1.5 Xorg server does not support and the 1.6 release > is behind schedule a bit: > > http://www.phoronix.com/scan.php?page=news_item&px=Njg4OA > > I keep getting this error after upgrade of X today but everything works > as usual. > Except for me: I have mplayer not working as well as other misc X progs. Same error... > > Then firefox3 freezes forever, showing something like the background or > > pixel remnants of windows/picograms moving over its window. > > The firefox problem is unrelated I think to the message above (as > demonstrated later in the thred) > > --Marcin > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jwm-freebsd-questions at sentinelchicken.net Mon Feb 2 18:05:31 2009 From: jwm-freebsd-questions at sentinelchicken.net (Jason Morgan) Date: Mon Feb 2 18:05:39 2009 Subject: Build/install failure in textproc/docbook-sk: catalog parsing error Message-ID: <20090203013015.GA22084@skepsi.net> Greetings, I am having trouble installing xorg on a fairly clean machine. The problem stems from a failed build/install of textproc/docbook-sk, which seems to have been pulled in from HAL. Does someone know if this is a known issue, or if it's possibly some problem with my system specifically? Is there a work-around---I've already tried to deinstall all ports and begin from scratch? Does a default install of xorg, including HAL, really need docbook? Should I submit a PR? Details below: $ uname -a FreeBSD crichton.skepsi.net 7.1-STABLE FreeBSD 7.1-STABLE #3: Sun Feb 1 21:24:47 EST 2009 root@crichton.skepsi.net:/usr/obj/usr/src/sys/CRICHTON i386 $ cd /usr/ports/textproc/docbook-sk $ make install clean ===> Installing for docbook-sk-4.1.2_4 ===> docbook-sk-4.1.2_4 depends on file: /usr/local/bin/xmlcatmgr - found ===> Generating temporary packing list ===> Checking if textproc/docbook-sk already installed xmlcatmgr: missing XML declaration; invalid document xmlcatmgr: catalog does not look like an XML file; missing prolog xmlcatmgr: errors while parsing catalog; aborting *** Error code 1 Stop in /usr/ports/textproc/docbook-sk. Like I said, this is a fairly clean machine: $ pkg_info bash-3.2.48_1 The GNU Project's Bourne Again SHell docbook-1.4 Meta-port for the different versions of the DocBook DTD docbook-4.1_3 V4.1 of the DocBook DTD, designed for technical documentation docbook-4.2 V4.2 of the DocBook DTD, designed for technical documentation docbook-4.3 DocBook/SGML DTD V4.3, designed for technical documentation docbook-4.4 DocBook/SGML DTD V4.4, designed for technical documentation docbook-4.5 DocBook/SGML DTD V4.5, designed for technical documentation docbook-xml-4.2_1 XML version of the DocBook DTD docbook-xml-4.3 DocBook/XML DTD V4.3, designed for technical documentation docbook-xml-4.4 DocBook/XML DTD V4.4, designed for technical documentation docbook-xml-4.5 DocBook/XML DTD V4.5, designed for technical documentation gettext-0.17_1 GNU gettext package libiconv-1.11_1 A character set conversion library libtool-1.5.26 Generic shared library support script portmaster-2.6 Manage your ports without external databases or languages unzip-5.52_5 List, test and extract compressed files in a ZIP archive xmlcatmgr-2.2 SGML and XML catalog manager Thanks for your time. -- ~ Jason Morgan From amvandemore at gmail.com Mon Feb 2 19:02:06 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Feb 2 19:02:12 2009 Subject: How to tell what $var assigned PORTVERSION equals. Message-ID: <4987B38D.4000207@gmail.com> How does one find out the PORTVERSION of a port when it's in a format like such: PORTVERSION= ${KDE4_VERSION} All the docs/examples I can find easily show PORTVERSION assigned a number, not variable. Thanks From eitanadlerlist at gmail.com Mon Feb 2 19:07:03 2009 From: eitanadlerlist at gmail.com (Eitan Adler) Date: Mon Feb 2 19:07:12 2009 Subject: How to tell what $var assigned PORTVERSION equals. In-Reply-To: <4987B38D.4000207@gmail.com> References: <4987B38D.4000207@gmail.com> Message-ID: <4987B4D1.40008@gmail.com> Adam Vande More wrote: > How does one find out the PORTVERSION of a port when it's in a format > like such: > > PORTVERSION= ${KDE4_VERSION} cd /usr/ports grep -R KDE4_VERSION . ./Mk/bsd.kde4.mk:KDE4_VERSION= 4.1.4 > > All the docs/examples I can find easily show PORTVERSION assigned a > number, not variable. > > Thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > -- Eitan Adler "Security is increased by designing for the way humans actually behave." -Jakob Nielsen From dnelson at allantgroup.com Mon Feb 2 20:35:27 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Feb 2 20:35:34 2009 Subject: How to tell what $var assigned PORTVERSION equals. In-Reply-To: <4987B38D.4000207@gmail.com> References: <4987B38D.4000207@gmail.com> Message-ID: <20090203043523.GL75802@dan.emsphone.com> In the last episode (Feb 03), Adam Vande More said: > How does one find out the PORTVERSION of a port when it's in a format > like such: > > PORTVERSION= ${KDE4_VERSION} > > All the docs/examples I can find easily show PORTVERSION assigned a > number, not variable. Running "make -V PORTVERSION" asks make to print what the variable is without actually building the port itself. -- Dan Nelson dnelson@allantgroup.com From freebsd at sopwith.solgatos.com Mon Feb 2 21:08:34 2009 From: freebsd at sopwith.solgatos.com (Dieter) Date: Mon Feb 2 21:08:45 2009 Subject: getting oddball boundary quirk reading Samsung disk Message-ID: <200902030028.AAA14230@sopwith.solgatos.com> I'm attempting to dig my way out of the Seagate 7200.11 firmware disaster. Need a non-7200.11 place to store my data before messing with the drives. Trying a Samsung. disk: Samsung HD103UJ 1TB SATA controller: nforce4-ultra FreeBSD 7.0 amd64 Brand new disk. Running a few tests before entrusting data to it. I read the entire disk with dd of=/dev/null, it ran fine. I wrote the entire disk with 0x55, it ran fine. I read the entire disk with dd piped to hexdump, I get quirks at 2 oddball spots. Reading 1 sector at a time works fine. Reading 2 sectors gives i/o error. Repeatable. If there was a boundary quirk (like the one at the lba48 boundary on Seagates) I would expect an error the first time I read the disk (before writing 0x55). Read ahead is listed as supported and enabled, so the data should be in the disk's cache when reading with bs=1024. # dd if=/dev/ad6 bs=512 skip=1936787900 count=1 | hexdump -C 1+0 records in 1+0 records out 512 bytes transferred in 0.000160 secs (3200423 bytes/sec) 00000000 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 |UUUUUUUUUUUUUUUU| * 00000200 # dd if=/dev/ad6 bs=512 skip=1936787901 count=1 | hexdump -C 1+0 records in 1+0 records out 512 bytes transferred in 0.000155 secs (3303821 bytes/sec) 00000000 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 |UUUUUUUUUUUUUUUU| * 00000200 # dd if=/dev/ad6 bs=1024 skip=1936787900 count=1 | hexdump -C dd: /dev/ad6: Input/output error 0+0 records in 0+0 records out 0 bytes transferred in 0.000104 secs (0 bytes/sec) # # dd if=/dev/ad6 bs=512 skip=1939213518 count=1 | hexdump -C 1+0 records in 1+0 records out 512 bytes transferred in 0.000152 secs (3365962 bytes/sec) 00000000 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 |UUUUUUUUUUUUUUUU| * 00000200 # dd if=/dev/ad6 bs=512 skip=1939213519 count=1 | hexdump -C 1+0 records in 1+0 records out 512 bytes transferred in 0.000260 secs (1970168 bytes/sec) 00000000 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 |UUUUUUUUUUUUUUUU| * 00000200 # dd if=/dev/ad6 bs=1024 skip=1939213518 count=1 | hexdump -C dd: /dev/ad6: Input/output error 0+0 records in 0+0 records out 0 bytes transferred in 0.000101 secs (0 bytes/sec) # ad6: FAILURE - READ_DMA48 status=51 error=40 LBA=1936787980 ad6: FAILURE - READ_DMA48 status=51 error=40 LBA=1939213518 ad6: FAILURE - READ_DMA48 status=51 error=40 LBA=1939213518 Running the test again isn't generating additional errors to console/dmesg. I ran the same incoming inspection test on Seagates, including a couple of 1 TB (exact same number of sectors as the Samsung), and it ran fine. From guru at unixarea.de Mon Feb 2 23:26:51 2009 From: guru at unixarea.de (Matthias Apitz) Date: Mon Feb 2 23:26:59 2009 Subject: no cats at home, but system (7.0-STABLE) reboots In-Reply-To: <200902020934.38501.fbsd.questions@rachie.is-a-geek.net> References: <20090202085740.GA4654@rebelion.Sisis.de> <200902020856.39396.fbsd.questions@rachie.is-a-geek.net> <20090202180459.GA2625@rebelion.Sisis.de> <200902020934.38501.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20090203072647.GA2425@rebelion.Sisis.de> El d?a Monday, February 02, 2009 a las 09:34:38AM -0900, Mel escribi?: > > but the other messages (you have cut out) says that it run through shutdown > > at 23:06:33 and later at 23:42:42 it did a normal re-boot while I was > > sleeping already; this does not make sense; don't you agree? > > > > Right, I'm not awake yet. 36 minutes is odd. The only scenario I can think of: > - acpi shutdown did not work, it was instead a 'halt' and in your sleep you > pressed the any key to start the reboot ;) > > You can see if shutdown works properly by shutdown -p NOW. Then try the same > using the power button, just in case there's something different. If that all > works, search for monkeys. Both worked fine in bring the system to halt and power-off state; I'm always using the power button and never ever saw this problem; I'm searching for monkeys or intruders ... matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ From i.tanusheff at procreditbank.bg Mon Feb 2 23:28:15 2009 From: i.tanusheff at procreditbank.bg (Ivailo Tanusheff) Date: Mon Feb 2 23:28:24 2009 Subject: intel 64-bit version? In-Reply-To: <769541.13800.qm@web52112.mail.re2.yahoo.com> Message-ID: You may use amd64 version for full support of the 64 functionalities. Do not get the wrong impression, this is not only for AMD processors and allow you to use the full strength of the 64 bit architecture. You may also use i386 branch and use PAE config options if you have more than 4 GB RAM. Still, the best idea is to use amd64 version. Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD gahn Sent by: owner-freebsd-questions@freebsd.org 02.02.2009 16:25 Please respond to ipfreak@yahoo.com To freebsd general questions cc Subject intel 64-bit version? Hi all: What is the image for intel 64-bit version of freebsd? i have xeon machine and would like to install freebsd on it. Thanks _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From fernando.apesteguia at gmail.com Mon Feb 2 23:34:04 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Mon Feb 2 23:34:11 2009 Subject: Screen problem on booting In-Reply-To: <49877238.40507@onetel.com> References: <1bd550a00902020030q418d3dard3182490496f706e@mail.gmail.com> <49877238.40507@onetel.com> Message-ID: <1bd550a00902022334u1dc2182cg932ca7fc926a2f00@mail.gmail.com> On 2/2/09, Chris Whitehouse wrote: > Fernando Apestegu?a wrote: > > > > Hi all, > > > > I'm using FreeBSD 7.1-RELEASE-p2 > > > > Since a few days I've noticed something weird. On booting, all the > > text I see is shifted to the left, so I lose the first ten letters or > > so in every line of text. > > > > After login, once I type "startx" the X Window system seems to be OK > > _and_ if I go back to a console with Alt-Ctrl-Fn the console is fine > > again. > > > > My graphic card is an ATI Radeon HD2400. > > > > Anybody noticed it? > > > > Thanks in advance. > > > > PS: In console mode, reset command doesn't fix the problem. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > > > Adjust the horizontal position with the controls on the monitor while > booting? My LCD flat panel has an auto adjust button which does the same > thing. Yep, but the point is that it worked fine some time ago (probably with -p1, though I'm not sure). And as I said after using X, if I go back again to console mode, monitor settings are correct. Doesn't this means there is some kind of problem with video at start up? None of my other operating systems in that machine suffer this problem. Thanks > > > Chris > From perryh at pluto.rain.com Tue Feb 3 00:40:57 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Tue Feb 3 00:41:04 2009 Subject: no cats at home, but system (7.0-STABLE) reboots In-Reply-To: <20090203072647.GA2425@rebelion.Sisis.de> References: <20090202085740.GA4654@rebelion.Sisis.de> <200902020856.39396.fbsd.questions@rachie.is-a-geek.net> <20090202180459.GA2625@rebelion.Sisis.de> <200902020934.38501.fbsd.questions@rachie.is-a-geek.net> <20090203072647.GA2425@rebelion.Sisis.de> Message-ID: <498801f8.23y2ybSzoxuxiwug%perryh@pluto.rain.com> > I'm searching for monkeys or intruders ... Brief power outage, perhaps? Some BIOS have a selection of what to do when power is restored from an outage, typical choices being to start up, remain off, or return to the state before power was lost. Others may offer only the first two, or be hardwired to one of them with no opportunity to choose a different behavior. From guru at unixarea.de Tue Feb 3 01:33:57 2009 From: guru at unixarea.de (Matthias Apitz) Date: Tue Feb 3 01:34:04 2009 Subject: no cats at home, but system (7.0-STABLE) reboots In-Reply-To: <498801f8.23y2ybSzoxuxiwug%perryh@pluto.rain.com> References: <20090202085740.GA4654@rebelion.Sisis.de> <200902020856.39396.fbsd.questions@rachie.is-a-geek.net> <20090202180459.GA2625@rebelion.Sisis.de> <200902020934.38501.fbsd.questions@rachie.is-a-geek.net> <20090203072647.GA2425@rebelion.Sisis.de> <498801f8.23y2ybSzoxuxiwug%perryh@pluto.rain.com> Message-ID: <20090203093353.GA5657@rebelion.Sisis.de> El d?a Tuesday, February 03, 2009 a las 12:36:08AM -0800, perryh@pluto.rain.com escribi?: > > I'm searching for monkeys or intruders ... > > Brief power outage, perhaps? Some BIOS have a selection of what to > do when power is restored from an outage, typical choices being to > start up, remain off, or return to the state before power was lost. > Others may offer only the first two, or be hardwired to one of them > with no opportunity to choose a different behavior. note: the box is a laptop; I hit the power-off button and pulled out the 220V power cable of the power-supply from the outlet (that's why later the laptop after 2h uptime failed with battery empty); in which power outage you're thinking; what could re-boot the box after 36 minutes? thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ From mexas at bristol.ac.uk Tue Feb 3 01:58:03 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Feb 3 01:58:10 2009 Subject: policykit fails to build on 7.1-stable i386 Message-ID: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> when building ports/sysutils/policykit on FBSD 7.1-stable i386 I get: Making all in man gmake[3]: Entering directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/d oc/man' /usr/local/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/curren t/manpages/docbook.xsl polkit-auth.xml I/O error : Attempt to load network entity http://docbook.sourceforge.net/releas e/xsl/current/manpages/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/manpages/docbook.xsl" cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook .xsl gmake[3]: *** [polkit-auth.1] Error 4 gmake[3]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do c/man' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do c' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/sysutils/policykit. What shall I do? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From nino80 at gmail.com Tue Feb 3 02:14:32 2009 From: nino80 at gmail.com (n j) Date: Tue Feb 3 02:14:40 2009 Subject: apt of freebsd In-Reply-To: <20090202111902.52dcd8dd@gom.home> References: <4986B7EE.6060103@uni-altai.ru> <20090202111902.52dcd8dd@gom.home> Message-ID: <92bcbda50902030214ve4586ceibd63dc19e85b207c@mail.gmail.com> Or you can try Debian GNU/kFreeBSD (http://www.debian.org/ports/kfreebsd-gnu/) to get the best(?) of both worlds - FreeBSD kernel and GNU userland (aka use apt to install deb packages). -- Nino From mexas at bristol.ac.uk Tue Feb 3 02:25:05 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Feb 3 02:25:12 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> Message-ID: <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> On Tue, Feb 03, 2009 at 09:57:45AM +0000, Anton Shterenlikht wrote: > when building ports/sysutils/policykit on FBSD 7.1-stable i386 I get: > > Making all in man > gmake[3]: Entering directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/d > oc/man' > /usr/local/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/curren > t/manpages/docbook.xsl polkit-auth.xml > I/O error : Attempt to load network entity http://docbook.sourceforge.net/releas > e/xsl/current/manpages/docbook.xsl > warning: failed to load external entity "http://docbook.sourceforge.net/release/ > xsl/current/manpages/docbook.xsl" > cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook > .xsl > gmake[3]: *** [polkit-auth.1] Error 4 > gmake[3]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do > c/man' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do > c' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9' > gmake: *** [all] Error 2 > *** Error code 2 > > Stop in /usr/ports/sysutils/policykit. > > > What shall I do? The file seems to be there, I can get to it with lynx. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From web at umich.edu Tue Feb 3 04:28:53 2009 From: web at umich.edu (William Bulley) Date: Tue Feb 3 04:29:01 2009 Subject: short-changed on SD card? Message-ID: <20090203122717.GA6430@dell1> According to Brad Mettee on Mon, 02/02/09 at 15:55: > > Does an XP machine also detect it as 960MB? If not, can you put more than > 960M on it and verify that it's all intact? Yes, Windows XP sees it as a 960MB FAT16 "drive". And when formatting it under Windows XP it never gave me the option to up this number, so somewhere (boot block, MBR?) the concept of 960MB is retained. > Create a 100MB zip file, put 10+ copies on the card. Then test to see if > the CRC is correct on all of the copies. If they're alls ok, then the card > is in fact 2GB. If you start getting errors on any of the files (and can > wipe/repeat the problem), then I'd say you've been ripped off and it's only > a 1GB card. Did you intend to have me put this ZIP file on the SD card using Windows XP or FreeBSD, or does it matter? I wish I didn't have to touch Windows XP at all, grrr... :-( Regards, web... -- William Bulley Email: web@umich.edu From d.forsyth at ru.ac.za Tue Feb 3 04:30:23 2009 From: d.forsyth at ru.ac.za (DA Forsyth) Date: Tue Feb 3 04:30:31 2009 Subject: Patching / Updating / Upgrading Message-ID: <498854F6.1389.2357B958@d.forsyth.ru.ac.za> Message: 4 Date: Mon, 02 Feb 2009 16:37:14 -0500 From: Akenner Subject: Patching / Updating / Upgrading To: freebsd-questions@freebsd.org Hello all, > So if anyone could lend a little but in typing out what they use for > updates and how they go about it, I'd appreciate it. I've already > gotten a full CVSup file sent to me by a member on here which was a > great help in deciding how to set up the file. I'm more or less > wondering with CVSup if I keep using RELEASE or do I use Stable. use RELEASE for a production server, STABLE on a desktop or test machine. IMHO use CVS if you have to build a custom kernel, I do this on my two production servers. On my minimal install print servers, I use freebsd-update about once a month. it is a bit fiddly to get through a proxy that needs auth, but it can be done. > And of course if anyone uses freebsd-update if they have suggestions > I'd love to hear those as well :) it works, it is quick, if you use the generic kernel. > -Allen -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From web at umich.edu Tue Feb 3 04:33:59 2009 From: web at umich.edu (William Bulley) Date: Tue Feb 3 04:34:08 2009 Subject: short-changed on SD card? Message-ID: <20090203123226.GB6430@dell1> According to Warren Block on Mon, 02/02/09 at 15:29: > > newfs_msdos(8) Learned something new there. Thanks! > It's generally not useful to slice/partition a small SD card. Without a > slice table, the whole device is just one slice. Agreed. I just want a big chuck of storage (in this case the 2.0 GB that I paid for, sigh...) and I don't care what format it is in. As I said, I am happy with FAT16 as long as I can use all (approximately) 2.0 GB of it. > Offhand I don't know if you can overwrite an existing slice table (boot > block) with just a 'newfs_msdos /dev/da1'. Probably. This is something I will try. > If not, you can just 'dd if=/dev/zero of=/dev/da1 bs=512 cnt=1' and then > do the newfs_msdos. Okay. This is worth a try. > If you plan to use that card in a camera, you are a little safer doing a > "full" or "low-level" format with the card in the camera. Some cameras > create and like not-quite-right filesystems. Older Canon cameras, for > instance. This is not for use in a camera. It is just a quick and dirty way for me to grab (about) 2.0 GB from one FreeBSD system and plop it onto another. > Finally, there are more than a few reports of SD cards with false > capacities bought on ebay. This SD card was purchased from a reputable firm in New York whose name you would recognize were I to mention it. I have had nothing but good experiences buying from them in the past (many years > four). Regards, web... -- William Bulley Email: web@umich.edu From web at umich.edu Tue Feb 3 04:36:18 2009 From: web at umich.edu (William Bulley) Date: Tue Feb 3 04:36:25 2009 Subject: short-changed on SD card? Message-ID: <20090203123445.GC6430@dell1> According to Tim Judd on Mon, 02/02/09 at 18:13: > > Nobody's blamed the SD/CF reader. > > I call dibs to blame the SD/CF reader. Isolate the problem to find the > culprit... > > Check the USB reader -- I'm curious to see if that fixes the problem. This is a FANTASTIC suggestion - never occurred to me. I will have to try a different device with the same 2.0 GB card. Thanks! > And FYI -- No matter the Heads/Sectors/Cylinders, there are ~2000000 512byte > sectors, roughly equal to 1GB. Yep. > If it's not the adapter, you got cheated in the purchase. Thanks again. Regards, web... -- William Bulley Email: web@umich.edu From web at umich.edu Tue Feb 3 04:38:38 2009 From: web at umich.edu (William Bulley) Date: Tue Feb 3 04:38:45 2009 Subject: short-changed on SD card? Message-ID: <20090203123705.GD6430@dell1> According to Mike Jeays on Mon, 02/02/09 at 19:38: > > I think I would try dd if=/dev/zero of=/dev/da1 bs=1M > without the count option, and see how many blocks it writes. You at least > start with a clean slate, and can run fdisk and newfs, if you want a BSD-only > device. Make sure you write on the right device! So you don't think the "bad card reader" suggestion is relevant? I will also try this approach. Thanks for all the feedback. Now, I've got some avenues of testing to work through. Later... Regards, web... -- William Bulley Email: web@umich.edu From SlackWareWolf at comcast.net Tue Feb 3 05:18:25 2009 From: SlackWareWolf at comcast.net (Akenner) Date: Tue Feb 3 05:18:33 2009 Subject: Patching / Updating / Upgrading In-Reply-To: <49877697.8030607@gmail.com> References: <4987678A.5050802@comcast.net> <49877697.8030607@gmail.com> Message-ID: <4988441F.8010800@comcast.net> *Snipping for those who don't want to have an inbox full of my text, and out of being polite* Thanks very much! I've been thinking about setting up another FreeBSD machine so I can test both CVS and FreeBSD-update without mixing the two together which from what I hear is a bad idea, and I think that would also help me learn both ways of doing it. Thanks again for the help! I think first I'll test out the freebsd-update way of things since, well, that's the closest to what I'm used to and will have a much smaller learning curve if any at all. Ad then I can set up a machine to do it with cvsup. I was really having some trouble understanding what they meant by RELEASE VS STABLE in the context of fixes and so on. The idea of it wasn't new as Slackware uses a very VERY similar method for talking about versions of their stuff, which I guess is a good thing. And my Slackware books used to have BSDi logos on them so I guess it's nice to see a Linux distro and BSD getting along. Patrick seems to be more appreciative of BSD than other Linux distros as it is. (If you read up on Slackware, he flat out tells you to just look for BSD texts because they are more technical and better written than the PR style Linux stuff you generally find) which leads me to believe that Patrick likes BSD quite a bit. Thanks again, -Allen From jon at radel.com Tue Feb 3 05:32:45 2009 From: jon at radel.com (Jon Radel) Date: Tue Feb 3 05:32:52 2009 Subject: no cats at home, but system (7.0-STABLE) reboots In-Reply-To: <20090203093353.GA5657@rebelion.Sisis.de> References: <20090202085740.GA4654@rebelion.Sisis.de> <200902020856.39396.fbsd.questions@rachie.is-a-geek.net> <20090202180459.GA2625@rebelion.Sisis.de> <200902020934.38501.fbsd.questions@rachie.is-a-geek.net> <20090203072647.GA2425@rebelion.Sisis.de> <498801f8.23y2ybSzoxuxiwug%perryh@pluto.rain.com> <20090203093353.GA5657@rebelion.Sisis.de> Message-ID: <4988476F.90906@radel.com> Matthias Apitz wrote: > El d?a Tuesday, February 03, 2009 a las 12:36:08AM -0800, perryh@pluto.rain.com escribi?: > >>> I'm searching for monkeys or intruders ... >> Brief power outage, perhaps? Some BIOS have a selection of what to >> do when power is restored from an outage, typical choices being to >> start up, remain off, or return to the state before power was lost. >> Others may offer only the first two, or be hardwired to one of them >> with no opportunity to choose a different behavior. > > note: the box is a laptop; I hit the power-off button and pulled out the > 220V power cable of the power-supply from the outlet (that's why later > the laptop after 2h uptime failed with battery empty); in which power > outage you're thinking; what could re-boot the box after 36 minutes? > thx What communications cables were still plugged in, and is the BIOS set to boot in reaction to certain things happening on them? Have you read through all your BIOS settings looking for clues? --Jon Radel jon@radel.com From will.rutherdale at utoronto.ca Tue Feb 3 05:36:38 2009 From: will.rutherdale at utoronto.ca (William Gordon Rutherdale) Date: Tue Feb 3 05:36:49 2009 Subject: intel 64-bit version? In-Reply-To: References: Message-ID: <49884864.2080101@utoronto.ca> I'm using the amd64 version of FreeBSD for an HP Pavillion using an Intel Core 2 Quad processor (Q6600). So far it's doing fine with the processor. There are some driver problems, for instance no sound. However, as I'm using this machine as a compute server, I'm ignoring those limitations. I ran some parallel computation problem on it and got good performance out of it. -Will Ivailo Tanusheff wrote: > You may use amd64 version for full support of the 64 functionalities. > Do not get the wrong impression, this is not only for AMD processors and > allow you to use the full strength of the 64 bit architecture. > You may also use i386 branch and use PAE config options if you have more > than 4 GB RAM. > > Still, the best idea is to use amd64 version. > > Regards, > From guru at unixarea.de Tue Feb 3 05:37:00 2009 From: guru at unixarea.de (Matthias Apitz) Date: Tue Feb 3 05:37:19 2009 Subject: no cats at home, but system (7.0-STABLE) reboots In-Reply-To: <4988476F.90906@radel.com> References: <20090202085740.GA4654@rebelion.Sisis.de> <200902020856.39396.fbsd.questions@rachie.is-a-geek.net> <20090202180459.GA2625@rebelion.Sisis.de> <200902020934.38501.fbsd.questions@rachie.is-a-geek.net> <20090203072647.GA2425@rebelion.Sisis.de> <498801f8.23y2ybSzoxuxiwug%perryh@pluto.rain.com> <20090203093353.GA5657@rebelion.Sisis.de> <4988476F.90906@radel.com> Message-ID: <20090203133655.GA23651@rebelion.Sisis.de> El d?a Tuesday, February 03, 2009 a las 08:32:31AM -0500, Jon Radel escribi?: > > Matthias Apitz wrote: > >El d?a Tuesday, February 03, 2009 a las 12:36:08AM -0800, > >perryh@pluto.rain.com escribi?: > > > >>>I'm searching for monkeys or intruders ... > >>Brief power outage, perhaps? Some BIOS have a selection of what to > >>do when power is restored from an outage, typical choices being to > >>start up, remain off, or return to the state before power was lost. > >>Others may offer only the first two, or be hardwired to one of them > >>with no opportunity to choose a different behavior. > > > >note: the box is a laptop; I hit the power-off button and pulled out the > >220V power cable of the power-supply from the outlet (that's why later > >the laptop after 2h uptime failed with battery empty); in which power > >outage you're thinking; what could re-boot the box after 36 minutes? > >thx > > What communications cables were still plugged in, the only cable at all was the cable to the power-supply which itself was without power; no LAN, no modem, no parallel printer was attached; my Wifi-router was powered off as well; > and is the BIOS set to > boot in reaction to certain things happening on them? there are no option visible in the BIOS for wake-up on XXX; > Have you read > through all your BIOS settings looking for clues? yes; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ From rwmaillists at googlemail.com Tue Feb 3 05:51:27 2009 From: rwmaillists at googlemail.com (RW) Date: Tue Feb 3 05:51:33 2009 Subject: Patching / Updating / Upgrading In-Reply-To: <498854F6.1389.2357B958@d.forsyth.ru.ac.za> References: <498854F6.1389.2357B958@d.forsyth.ru.ac.za> Message-ID: <20090203135121.1ade28b7@gumby.homeunix.com> On Tue, 03 Feb 2009 14:30:14 +0200 "DA Forsyth" wrote: > use RELEASE for a production server, STABLE on a desktop or test > machine. IMHO I'd say follow what it says in the handbook and use a release unless you have a good reason to use stable, such as support for a particular piece of hardware. If you use stable then every time you update for an advisory, you may pick-up new features, which means you should pay as much attention as you would with 7.0 -> 7.1. With point releases you are only getting minor patches, so there is no need for mergemaster. I just run a single script that does the full update. Also you can't use freebsd-update with stable. From ivoras at freebsd.org Tue Feb 3 07:11:13 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Tue Feb 3 07:11:21 2009 Subject: apt of freebsd In-Reply-To: <20090202111902.52dcd8dd@gom.home> References: <4986B7EE.6060103@uni-altai.ru> <20090202111902.52dcd8dd@gom.home> Message-ID: prad wrote: > On Mon, 02 Feb 2009 11:23:50 +0100 > Ivan Voras wrote: > >> It's probably used for the "Linux emulation" in FreeBSD, you can't use >> it with FreeBSD native packages. >> > so what does this mean? > if you have linux emulation, you can install .debs from the debian > repository? Yes. Though the preferred linux_base is Fedora nowadays. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090203/5c947b6a/signature.pgp From perrin at apotheon.com Tue Feb 3 08:00:18 2009 From: perrin at apotheon.com (Chad Perrin) Date: Tue Feb 3 08:00:25 2009 Subject: apt of freebsd In-Reply-To: <92bcbda50902030214ve4586ceibd63dc19e85b207c@mail.gmail.com> References: <4986B7EE.6060103@uni-altai.ru> <20090202111902.52dcd8dd@gom.home> <92bcbda50902030214ve4586ceibd63dc19e85b207c@mail.gmail.com> Message-ID: <20090203155839.GA60689@kokopelli.hydra> On Tue, Feb 03, 2009 at 11:14:30AM +0100, n j wrote: > Or you can try Debian GNU/kFreeBSD > (http://www.debian.org/ports/kfreebsd-gnu/) to get the best(?) of both > worlds - FreeBSD kernel and GNU userland (aka use apt to install deb > packages). Some (like me) might dispute the characterization of GNU userland as "the best" of the Debian world. Of course, you seem to question that yourself with that parenthesized question mark. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Sean Reifschneider: "If java had real garbage-collection, it would delete most programs before it executed them." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090203/bba587a2/attachment.pgp From jerrymc at msu.edu Tue Feb 3 08:00:37 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Feb 3 08:00:54 2009 Subject: short-changed on SD card? In-Reply-To: <20090203123705.GD6430@dell1> References: <20090203123705.GD6430@dell1> Message-ID: <20090203155904.GA26818@gizmo.acns.msu.edu> On Tue, Feb 03, 2009 at 07:37:05AM -0500, William Bulley wrote: > According to Mike Jeays on Mon, 02/02/09 at 19:38: > > > > I think I would try dd if=/dev/zero of=/dev/da1 bs=1M > > without the count option, and see how many blocks it writes. You at least > > start with a clean slate, and can run fdisk and newfs, if you want > > a BSD-only > > device. Make sure you write on the right device! > > So you don't think the "bad card reader" suggestion is relevant? It is another thing to check. > > I will also try this approach. Thanks for all the feedback. Now, > I've got some avenues of testing to work through. Later... Doing the dd has two nice possibilities. One, it might just clear the device up and two, it might give some information about the honest size. This is assuming, of course, that the problem is not the card reader. ////jerry > > Regards, > > web... > > -- > William Bulley Email: web@umich.edu > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jerrymc at msu.edu Tue Feb 3 08:07:59 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Feb 3 08:08:05 2009 Subject: zfs root partition boot? In-Reply-To: References: <75a268720902020618v2ba3c798s9a6c011d107cb1a8@mail.gmail.com> Message-ID: <20090203160626.GB26818@gizmo.acns.msu.edu> On Mon, Feb 02, 2009 at 04:04:38PM -0700, Tim Judd wrote: > On Mon, Feb 2, 2009 at 7:18 AM, Omer Faruk Sen wrote: > > > Hi, > > > > Can I use zfs on / using FreeBSD 7.1? I also use > > http://people.freebsd.org/~rse/mirror/script to create mirror is > > there such a a tool for ZFS to use on Fbsd 7.1? > > > > Regards. > > > > Are you sure you want to do this? > ZFS is still marked an experimental feature last time I checked; and if > FreeBSD decides to kill ZFS support, you'll be stuck with a unbootable > disk. That doesn't make sense. Just because they might terminate upgrade support for it in some future version doesn't mean the disk will suddenly become unreadable. Just as in any upgrade that involves a change from one file system to another, you may have to dump the stuff on the old one and read it in to the new one if you do the upgrade. But the old one will not magically stop working. You will be able to recover your data from the old system. > I'd stick with the more mature, tested methods like gmirror or > gvinum. Nothing beats a hardware raid though. Although ZFS is probably more mature than you are making it sound here, it is true that gmirror is becoming very reliable and servicable. So, either will probably work. Your choice depends on what you want to accomplish. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From s.kachelmann at googlemail.com Tue Feb 3 08:13:24 2009 From: s.kachelmann at googlemail.com (Sandra Kachelmann) Date: Tue Feb 3 08:13:31 2009 Subject: NFS, how to find out which files are used Message-ID: <91b92520902030746j2256dc58y2b1447c6e4471e4@mail.gmail.com> I have an NFS fileserver and would like to figure out which files are being read/written to. Is there something to find that out? Something similar to samba's 'smbstatus' command. Sandra From jwm-freebsd-questions at sentinelchicken.net Tue Feb 3 08:49:31 2009 From: jwm-freebsd-questions at sentinelchicken.net (Jason Morgan) Date: Tue Feb 3 08:49:38 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> Message-ID: <20090203164929.GA91845@skepsi.net> On 2009.02.03 10:24:55, Anton Shterenlikht wrote: > On Tue, Feb 03, 2009 at 09:57:45AM +0000, Anton Shterenlikht wrote: > > when building ports/sysutils/policykit on FBSD 7.1-stable i386 I get: > > > > Making all in man > > gmake[3]: Entering directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/d > > oc/man' > > /usr/local/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/curren > > t/manpages/docbook.xsl polkit-auth.xml > > I/O error : Attempt to load network entity http://docbook.sourceforge.net/releas > > e/xsl/current/manpages/docbook.xsl > > warning: failed to load external entity "http://docbook.sourceforge.net/release/ > > xsl/current/manpages/docbook.xsl" > > cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook > > .xsl > > gmake[3]: *** [polkit-auth.1] Error 4 > > gmake[3]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do > > c/man' > > gmake[2]: *** [all-recursive] Error 1 > > gmake[2]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do > > c' > > gmake[1]: *** [all-recursive] Error 1 > > gmake[1]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9' > > gmake: *** [all] Error 2 > > *** Error code 2 > > > > Stop in /usr/ports/sysutils/policykit. > > > > > > What shall I do? > > The file seems to be there, I can get to it with lynx. I am having the same problem (I posted a related question to the list last night). Anything dealing with XML and docbook is failing to build. I have managed to install a few of the problem ports by adding the package instead, but when I left the house this morning, yet another related package had failed. -- ~ Jason Morgan From wojtek at wojtek.tensor.gdynia.pl Tue Feb 3 08:53:53 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Feb 3 08:54:00 2009 Subject: zfs root partition boot? In-Reply-To: <20090203160626.GB26818@gizmo.acns.msu.edu> References: <75a268720902020618v2ba3c798s9a6c011d107cb1a8@mail.gmail.com> <20090203160626.GB26818@gizmo.acns.msu.edu> Message-ID: <20090203175330.V10729@wojtek.tensor.gdynia.pl> > Although ZFS is probably more mature than you are making it sound here, > it is true that gmirror is becoming very reliable and servicable. ever used gmirror? From dnelson at allantgroup.com Tue Feb 3 09:03:09 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Tue Feb 3 09:03:17 2009 Subject: NFS, how to find out which files are used In-Reply-To: <91b92520902030746j2256dc58y2b1447c6e4471e4@mail.gmail.com> References: <91b92520902030746j2256dc58y2b1447c6e4471e4@mail.gmail.com> Message-ID: <20090203170233.GM75802@dan.emsphone.com> In the last episode (Feb 03), Sandra Kachelmann said: > I have an NFS fileserver and would like to figure out which files are > being read/written to. Is there something to find that out? Something > similar to samba's 'smbstatus' command. The best you can do currently is run tcpdump/wireshark and watch the remote file operations as they happen... NFS doesn't access files by filename, but by NFS filehandle (basically device+inode number), so a remote client first looks up the filename to get the filehandle, and all accesses are done via the filehandle at that point. Theoretically, one could write a dtrace script that watches calls to nfs_namei, nfsrv_read, and nfsrv_write, and then matches read/write ops with the filenames that were looked up beforehand. -- Dan Nelson dnelson@allantgroup.com From huub at wirelessleiden.nl Tue Feb 3 09:23:17 2009 From: huub at wirelessleiden.nl (huubs) Date: Tue Feb 3 09:23:25 2009 Subject: virtualbox networking setup In-Reply-To: <200811121359.06121.ale@pcartwright.com> References: <200811121359.06121.ale@pcartwright.com> Message-ID: <21814559.post@talk.nabble.com> I'm new to the group, and I'm new to setting up VirtualBox guest hosts. right now I have a Debian linux box, and I setup Virtual box. I installed FreeBSD on it, but I can't seem to get the networking to work. FreeBSD choses the wrong networkadapter by default. Modify the networkadapter to PCnet-PCI II (AM79C970A) , do this BEFORE you actually install FreeBSD. Choose 'Attached to Host Interface'. That way you will get a le0 interface in your config. This works fine with FreeBSD7.0. However, I could NOT get FreeBSD7.1 to work properly. Using the above procedure the system crashes during boot (after the line 'point to point kickstart'). The only way to get FreeBSD7.1 to work is by either booting in safe mode of by inactivating the nic. -- View this message in context: http://www.nabble.com/virtualbox-networking-setup-tp20467278p21814559.html Sent from the freebsd-questions mailing list archive at Nabble.com. From twhoffma at student.matnat.uio.no Tue Feb 3 09:28:56 2009 From: twhoffma at student.matnat.uio.no (Torgeir Hoffmann) Date: Tue Feb 3 09:29:05 2009 Subject: X.org-update -> screen garbled / settings for xorg.conf? In-Reply-To: <1bd550a00902021020y7ecc02doe8c3859997e5b61@mail.gmail.com> References: <20090130144614.GA4897@aurora.oekb.co.at> <20090202163647.GD2908@aurora.oekb.co.at> <1bd550a00902021020y7ecc02doe8c3859997e5b61@mail.gmail.com> Message-ID: Hi, > On Mon, Feb 2, 2009 at 5:36 PM, Ewald Jenisch wrote: >> On Fri, Jan 30, 2009 at 11:30:02AM -0800, Luke Dean wrote: >>> >>> Me too. >>> I started a thread a few days ago titled "Restarting new Xorg freezes >>> system". >>> My symptoms are the same as yours. >>> I'm not running hald at all. >>> I'm not using full-blown gnome, just windowmaker. >>> I'm using the "radeon" driver on an ATI HD 4350 >>> >>> I just tried switching to the "vesa" driver, and now I can stop and >>> start >>> X as much as I want with no problems whatsoever. >>> I know that this was not a problem with the "radeon" driver prior to >>> the >>> Xorg update. >> >> Hi, >> >> Did a few tests more: >> >> 1) Section "ServerLayout" >> Option "AllowEmptyInput" "false" >> Section "Device" >> Driver "radeon" >> moused running >> hald running >> >> Result: X (gnome in my case) starts, mouse moves. Upon leaving X the >> console is to something different than 80x25 lines - at least I can't >> see about 2-3 lines on the bottom of the screen. However - as soon as >> a start X again I get graphical junk on the display, mouse & keyboard >> frozen, no switching of consoles nor can I log in via the net (ssh) > > Just for the record, this used to happen in Linux (Fedora 9) but it's > working since some time ago (sorry, I don't remember when this was > fixed) > radeon now works and doesn't freeze if you try to bring the X Server up > again. > > I'm using Xorg 7.4 too Just wanted to say that I experienced similar problems quite some months ago, and posted under the title: "Re: [FreeBSD 7] Radeon Mobility M10/9600 + xorg 7.3 + ati/radeon driver causes complete system hang/freeze". I never got it to work, and that was with xorg 7.3. Also, everything worked with vesa. I tried everything from disabling most things in rc.conf, most modules, dri in xorg.conf. I tried deleting the renaming the log for xorg, and then you could most of the times start xorg once, but not twice. The second time would result in a black screen. (of course removing the log and the following effect is most likely random). I had an idea that it might be that the drm-implementation wasn't able to load the microcode (?) for the r300 correctly sometimes, but this is guesswork at best. Is it possible that this is a bug partly related to xorg, but more related to the radeon driver and freebsd that slipped through in the last bug-hunting? > However, I experience the same problems in my system (ATI RadeonHD > 2400 with FreeBSD 7.1-RELEASE-p2) > > >> >> >> 2) Same as 1) above however this time with >> Driver "radeonhd" >> >> Result: Almost the same as 1) above - only difference: When I leave X >> the console comes back again to 80x25 lines. Hoever - like in 1) above >> - the second attempt to start X ends in a machine completely frozen :-( >> >> 3) Same as 1) - this time with >> Driver "vesa" >> >> Result: Everything works - i.e. back and forth between X and >> console. Sure enough working with Vesa is a workaround only given the >> huge difference in speed between the Vesa- and radeon drivers. >> >> >> 4) Option "AutoAddDevices" "Off" under 'Section "ServerLayout"' >> with >> Driver "radeonhd" >> >> Result: X works only once (as in Tests 1&2 above). Second attempt to >> start X gives a "frozen box" again. >> >> >> >> As you already mentioned >> >> o) no problem with VESA-Driver >> >> o) no problems with radeon-driver prior to the Upgrade to X 7.4 >> >> >> Hope this helps someone out there to track things down. //Torgeir From gesbbb at yahoo.com Tue Feb 3 09:31:48 2009 From: gesbbb at yahoo.com (Jerry) Date: Tue Feb 3 09:31:55 2009 Subject: Force use of 'gpg2' Message-ID: <20090203122406.1732b3f0@scorpio> I have both 'gpg' and 'gpg2' installed. I only want/need the 'gpg2' version. I created a link that that forces the use of 'gpg2' irregardless of which version is called. The problem is that occasionally, when updating the ports, the link is over written and 'gpg' is reinstalled. I don't believe I need this older version for anything. As far as I can tell, any port that needs 'gpg' will work fine with 'gpg2'. Is there anything I can put in the /etc/make.conf' file that will force the use/install of 'gpg2' only? Something like: WITH_GPG2=yes or WANT_GPG_VER=2 Or something like that. Is that possible? I cannot find any documentation regarding this. -- Jerry gesbbb@yahoo.com Savage's Law of Expediency: You want it bad, you'll get it bad. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090203/1bd898a1/signature.pgp From john at zog.net Tue Feb 3 10:39:04 2009 From: john at zog.net (John Morgan Salomon) Date: Tue Feb 3 10:39:12 2009 Subject: NFSv2 Wrong FS Size Message-ID: <158E6ABD-6BCF-4222-AD59-9B43FE6832D5@zog.net> Hi there, I'm facing an odd problem with an NFSv2 mount. I'm using userland nfsd from a Buffalo TeraStation Pro v1 NAS, running PPC Linux 2.4.20. root@LEVIATHAN:~# uname -a Linux LEVIATHAN 2.4.20_mvl31-ppc_terastation #3 Tue Jul 18 09:29:11 JST 2006 ppc GNU/Linux I am sharing the following filesystem: root@LEVIATHAN:~# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/md1 1755708928 979032844 776676084 56% /mnt/array1 /etc/exports looks as follows: /mnt/array1/data 192.168.2.0/255.255.255.0(rw,sync,insecure) Mounting this on my Macbook Pro: Fluffy:~ root# mount_nfs 192.168.2.11:/mnt/array1/data /mnt Fluffy:~ root# df -k Filesystem 1024-blocks Used Available Capacity Mounted on 192.168.2.11:/mnt/array1/data 1755708928 979032844 776676084 56% /mnt So far, so good... Mounting this on a FreeBSD 7.1 client: behemoth# mount /data behemoth# df -k Filesystem 1024-blocks Used Avail Capacity Mounted on 192.168.2.11:/mnt/array1/data -391774720 -1168450804 776676084 298% /data Here is my fstab: 192.168.2.11:/mnt/array1/data /data nfs rw 0 0 Woo. 298%! That's a record, even for me. I've tried mount_nfs with -2, -T, and I can't think of anything else. There are no telling log messages, either on the NAS or on the FreeBSD box. behemoth# uname -a FreeBSD behemoth 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #2: Sat Jan 31 20:13:15 CET 2009 root@behemoth:/usr/obj/usr/src/sys/BEHEMOTH i386 Any ideas? It's causing various php scripts that need an accurate filesystem size to puke all over the place. Help! Thanks much for any thoughts, -John From utisoft at googlemail.com Tue Feb 3 11:03:02 2009 From: utisoft at googlemail.com (Chris Rees) Date: Tue Feb 3 11:03:15 2009 Subject: Force use of 'gpg2' In-Reply-To: <20090203122406.1732b3f0@scorpio> References: <20090203122406.1732b3f0@scorpio> Message-ID: 2009/2/3 Jerry : > I have both 'gpg' and 'gpg2' installed. I only want/need the 'gpg2' > version. I created a link that that forces the use of 'gpg2' > irregardless of which version is called. The problem is that > occasionally, when updating the ports, the link is over written and > 'gpg' is reinstalled. > > I don't believe I need this older version for anything. As far as I can > tell, any port that needs 'gpg' will work fine with 'gpg2'. Is there > anything I can put in the /etc/make.conf' file that will force the > use/install of 'gpg2' only? Something like: > > WITH_GPG2=yes or WANT_GPG_VER=2 > > Or something like that. Is that possible? I cannot find any > documentation regarding this. > > -- > Jerry > gesbbb@yahoo.com > > Savage's Law of Expediency: You want it bad, you'll get it bad. > Try putting the link in somewhere that gets searched before /usr/local/bin, like /bin or (better) /usr/bin. Then try rehash && which gpg Chris -- R< $&h ! > $- ! $+ $@ $2 < @ $1 .UUCP. > (sendmail.cf) From gesbbb at yahoo.com Tue Feb 3 11:28:47 2009 From: gesbbb at yahoo.com (Jerry) Date: Tue Feb 3 11:28:56 2009 Subject: Force use of 'gpg2' In-Reply-To: References: <20090203122406.1732b3f0@scorpio> Message-ID: <20090203142833.65a72eae@scorpio> On Tue, 3 Feb 2009 19:03:01 +0000 Chris Rees wrote: [snip] >Try putting the link in somewhere that gets searched before >/usr/local/bin, like /bin or (better) /usr/bin. Then try rehash && >which gpg I am using 'bash' so I don't think 'rehash' is going to do anything, although I could be mistaken. However, I don't see how that would stop a port from installing 'gpg' rather than 'gpg2'. I don't need both versions installed and would rather just keep the newer 'gpg2' one. -- Jerry gesbbb@yahoo.com One of the lessons of history is that nothing is often a good thing to do and always a clever thing to say. Will Durant -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090203/ce81430c/signature.pgp From fbsd.questions at rachie.is-a-geek.net Tue Feb 3 12:16:48 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Feb 3 12:17:09 2009 Subject: Force use of 'gpg2' In-Reply-To: <20090203142833.65a72eae@scorpio> References: <20090203122406.1732b3f0@scorpio> <20090203142833.65a72eae@scorpio> Message-ID: <200902031116.44552.fbsd.questions@rachie.is-a-geek.net> On Tuesday 03 February 2009 10:28:33 Jerry wrote: > On Tue, 3 Feb 2009 19:03:01 +0000 > Chris Rees wrote: > > [snip] > > >Try putting the link in somewhere that gets searched before > >/usr/local/bin, like /bin or (better) /usr/bin. Then try rehash && > >which gpg > > I am using 'bash' so I don't think 'rehash' is going to do anything, > although I could be mistaken. However, I don't see how that would stop > a port from installing 'gpg' rather than 'gpg2'. I don't need both > versions installed and would rather just keep the newer 'gpg2' one. It would fit the RUN|BUILD_DEPENDS case, since gpg is looked for in $PATH. However, some ports check for gpgv and one even for ${PREFIX}/bin/gpgv, which would not help you. You could run: cd ${PORTSDIR:="/usr/ports"} find . -depth 3 -name Makefile -exec fgrep -l security/gnupg1 {} + | xargs \ your_filter_command_here That filter command would have to rewrite the RUN|BUILD_DEPENDS line, so that it fits gnupg2. Of course you can shorten the list and edit by hand if you only look at the ports that you actually use. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Tue Feb 3 12:21:24 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Feb 3 12:21:32 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <20090203164929.GA91845@skepsi.net> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> <20090203164929.GA91845@skepsi.net> Message-ID: <200902031121.23565.fbsd.questions@rachie.is-a-geek.net> On Tuesday 03 February 2009 07:49:29 Jason Morgan wrote: > On 2009.02.03 10:24:55, Anton Shterenlikht wrote: > > On Tue, Feb 03, 2009 at 09:57:45AM +0000, Anton Shterenlikht wrote: > > > when building ports/sysutils/policykit on FBSD 7.1-stable i386 I get: > > > > > > Making all in man > > > gmake[3]: Entering directory > > > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/d oc/man' > > > /usr/local/bin/xsltproc -nonet > > > http://docbook.sourceforge.net/release/xsl/curren > > > t/manpages/docbook.xsl polkit-auth.xml > > > I/O error : Attempt to load network entity > > > http://docbook.sourceforge.net/releas > > > e/xsl/current/manpages/docbook.xsl > > > warning: failed to load external entity > > > "http://docbook.sourceforge.net/release/ > > > xsl/current/manpages/docbook.xsl" > > > cannot parse > > > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook > > > .xsl > > > gmake[3]: *** [polkit-auth.1] Error 4 > > > gmake[3]: Leaving directory > > > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do c/man' > > > gmake[2]: *** [all-recursive] Error 1 > > > gmake[2]: Leaving directory > > > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/do c' > > > gmake[1]: *** [all-recursive] Error 1 > > > gmake[1]: Leaving directory > > > `/usr/ports/sysutils/policykit/work/PolicyKit-0.9' gmake: *** [all] > > > Error 2 > > > *** Error code 2 > > > > > > Stop in /usr/ports/sysutils/policykit. > > > > > > > > > What shall I do? > > > > The file seems to be there, I can get to it with lynx. > > I am having the same problem (I posted a related question to the list > last night). Anything dealing with XML and docbook is failing to > build. I have managed to install a few of the problem ports by adding > the package instead, but when I left the house this morning, yet > another related package had failed. Do it a few times in a row, the sourceforge servers are overloaded apparently and return false errors. Either that, or familiarize yourself with XML categories, download the file and update the XML cat file to use a local version rather then remote for that particular file. See xmlcatmgr(1) for details (textproc/xmlcatmgr). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From dkelly at hiwaay.net Tue Feb 3 12:48:29 2009 From: dkelly at hiwaay.net (David Kelly) Date: Tue Feb 3 12:48:42 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <200902031121.23565.fbsd.questions@rachie.is-a-geek.net> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> <20090203164929.GA91845@skepsi.net> <200902031121.23565.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20090203204824.GA93304@Grumpy.DynDNS.org> On Tue, Feb 03, 2009 at 11:21:23AM -0900, Mel wrote: > On Tuesday 03 February 2009 07:49:29 Jason Morgan wrote: > > > > I am having the same problem (I posted a related question to the > > list last night). Anything dealing with XML and docbook is failing > > to build. I have managed to install a few of the problem ports by > > adding the package instead, but when I left the house this morning, > > yet another related package had failed. > > Do it a few times in a row, the sourceforge servers are overloaded > apparently and return false errors. > Either that, or familiarize yourself with XML categories, download the > file and update the XML cat file to use a local version rather then > remote for that particular file. Uh, tuning in late here. Also running portupgrade and had problems with policy and XML stuff. I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was a file missing altho the port was installed. Forced it to build and reinstall and things were able to build once again. Portupgrade is still building so I can't get at my shell history to verify. Did something similar for the international library stuff. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From jmc-freebsd2 at milibyte.co.uk Tue Feb 3 13:06:54 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Tue Feb 3 13:07:04 2009 Subject: Force use of 'gpg2' In-Reply-To: <20090203122406.1732b3f0@scorpio> References: <20090203122406.1732b3f0@scorpio> Message-ID: <200902032106.51271.jmc-freebsd2@milibyte.co.uk> On Tuesday 03 February 2009, Jerry wrote: > I have both 'gpg' and 'gpg2' installed. I only want/need the 'gpg2' > version. I created a link that that forces the use of 'gpg2' > irregardless of which version is called. The problem is that > occasionally, when updating the ports, the link is over written and > 'gpg' is reinstalled. > > I don't believe I need this older version for anything. As far as I > can tell, any port that needs 'gpg' will work fine with 'gpg2'. Is > there anything I can put in the /etc/make.conf' file that will force > the use/install of 'gpg2' only? You could try deinstalling gnupg-1 and running "dpkg -F" to fix the dependencies. I've only got gnupg-2 installed here and everything seems to work OK. The install script for gnupg-2 creates a symlink for gpg if it doesn't already exist. -- Mike Clarke From john at zog.net Tue Feb 3 13:15:42 2009 From: john at zog.net (John Morgan Salomon) Date: Tue Feb 3 13:15:49 2009 Subject: NFSv2 Wrong FS Size In-Reply-To: <158E6ABD-6BCF-4222-AD59-9B43FE6832D5@zog.net> References: <158E6ABD-6BCF-4222-AD59-9B43FE6832D5@zog.net> Message-ID: Hi there, I may have found a clue on this in case anyone's interested: the FreeBSD box runs on an Intel Atom 230 64-bit CPU I did more digging and found this: http://www.freebsd.org/projects/bigdisk/index.html "An audit is needed to make sure that all reported fields are 64-bit clean. There are reports with certain fields being incorrect or negative with NFS volumes, which could either be an NFS or df problem." Not sure where to go now, as the last entry in that project is dated 2005 -- again, any tips welcome. -John On 3 Feb 2009, at 19:21, John Morgan Salomon wrote: > Hi there, > > I'm facing an odd problem with an NFSv2 mount. I'm using userland > nfsd from a Buffalo TeraStation Pro v1 NAS, running PPC Linux 2.4.20. > > root@LEVIATHAN:~# uname -a > Linux LEVIATHAN 2.4.20_mvl31-ppc_terastation #3 Tue Jul 18 09:29:11 > JST 2006 ppc GNU/Linux > > I am sharing the following filesystem: > > root@LEVIATHAN:~# df -k > Filesystem 1K-blocks Used Available Use% Mounted on > > /dev/md1 1755708928 979032844 776676084 56% /mnt/array1 > > /etc/exports looks as follows: > /mnt/array1/data 192.168.2.0/255.255.255.0(rw,sync,insecure) > > Mounting this on my Macbook Pro: > > Fluffy:~ root# mount_nfs 192.168.2.11:/mnt/array1/data /mnt > > Fluffy:~ root# df -k > Filesystem 1024-blocks Used Available > Capacity Mounted on > > 192.168.2.11:/mnt/array1/data 1755708928 979032844 776676084 > 56% /mnt > > So far, so good... > > Mounting this on a FreeBSD 7.1 client: > > behemoth# mount /data > behemoth# df -k > Filesystem 1024-blocks Used Avail > Capacity Mounted on > > 192.168.2.11:/mnt/array1/data -391774720 -1168450804 776676084 > 298% /data > > Here is my fstab: > > 192.168.2.11:/mnt/array1/data /data nfs rw 0 0 > > Woo. 298%! That's a record, even for me. > > I've tried mount_nfs with -2, -T, and I can't think of anything > else. There are no telling log messages, either on the NAS or on > the FreeBSD box. > > behemoth# uname -a > FreeBSD behemoth 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #2: Sat Jan > 31 20:13:15 CET 2009 root@behemoth:/usr/obj/usr/src/sys/ > BEHEMOTH i386 > > Any ideas? It's causing various php scripts that need an accurate > filesystem size to puke all over the place. Help! > > Thanks much for any thoughts, > > -John > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From gfritz at gmail.com Tue Feb 3 13:19:01 2009 From: gfritz at gmail.com (Geoff Fritz) Date: Tue Feb 3 13:19:08 2009 Subject: Scheduling behavior when using idprio Message-ID: <20090203211851.GA92202@dev.null> I recently noticed something odd. Whenever I have a cpu-bound process (say, piping a lot of data through "gzip -9c") that's been given an idle priority using "idprio 31 -", I notice that my system's overall interactive responsiveness feels peppier. Apps seems to respond faster, screens redraw faster, web pages render quicker, etc.. It's reminiscent of enabling the interactive real-time options in the Linux kernel (at least, as I remember it years ago from the 2.4 days). My system is a little long in the tooth (2GHz Athlon64, single core), so any speed improvements are quickly noticed around here. I was wondering if there was an explanation for my observations, or if anyone else has seen -- or could repeat -- this. If this is a repeatable/known behavior, would this be a scheduler bug? Why would things run more smoothly only when there was a single ulta-low priority process running? Thanks. -- Geoff From remegius at comcast.net Tue Feb 3 13:36:07 2009 From: remegius at comcast.net (Rem P Roberti) Date: Tue Feb 3 13:36:14 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <20090203204824.GA93304@Grumpy.DynDNS.org> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> <20090203164929.GA91845@skepsi.net> <200902031121.23565.fbsd.questions@rachie.is-a-geek.net> <20090203204824.GA93304@Grumpy.DynDNS.org> Message-ID: <20090203213619.GA69478@bsd.remdog.net> On 2009.02.03 14:48:24 +0000, David Kelly wrote: > On Tue, Feb 03, 2009 at 11:21:23AM -0900, Mel wrote: > > On Tuesday 03 February 2009 07:49:29 Jason Morgan wrote: > > > > > > I am having the same problem (I posted a related question to the > > > list last night). Anything dealing with XML and docbook is failing > > > to build. I have managed to install a few of the problem ports by > > > adding the package instead, but when I left the house this morning, > > > yet another related package had failed. > > > > Do it a few times in a row, the sourceforge servers are overloaded > > apparently and return false errors. > > Either that, or familiarize yourself with XML categories, download the > > file and update the XML cat file to use a local version rather then > > remote for that particular file. > > Uh, tuning in late here. Also running portupgrade and had problems with > policy and XML stuff. > > I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was > a file missing altho the port was installed. Forced it to build and > reinstall and things were able to build once again. > > Portupgrade is still building so I can't get at my shell history to > verify. > > Did something similar for the international library stuff. > Deinstall/reinstall p5-XML-Parser From dkelly at hiwaay.net Tue Feb 3 13:41:18 2009 From: dkelly at hiwaay.net (David Kelly) Date: Tue Feb 3 13:41:36 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <20090203213619.GA69478@bsd.remdog.net> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> <20090203164929.GA91845@skepsi.net> <200902031121.23565.fbsd.questions@rachie.is-a-geek.net> <20090203204824.GA93304@Grumpy.DynDNS.org> <20090203213619.GA69478@bsd.remdog.net> Message-ID: <20090203214115.GA17012@Grumpy.DynDNS.org> On Tue, Feb 03, 2009 at 01:36:19PM -0800, Rem P Roberti wrote: > On 2009.02.03 14:48:24 +0000, David Kelly wrote: > > > > I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was > > a file missing altho the port was installed. Forced it to build and > > reinstall and things were able to build once again. [...] > Deinstall/reinstall p5-XML-Parser Thats what I said. "portupgrade -f p5-XML-Parser" -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From mexas at bristol.ac.uk Tue Feb 3 13:41:27 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Feb 3 13:41:37 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <20090203204824.GA93304@Grumpy.DynDNS.org> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> <20090203164929.GA91845@skepsi.net> <200902031121.23565.fbsd.questions@rachie.is-a-geek.net> <20090203204824.GA93304@Grumpy.DynDNS.org> Message-ID: <20090203214119.GA75307@mech-cluster238.men.bris.ac.uk> On Tue, Feb 03, 2009 at 02:48:24PM -0600, David Kelly wrote: > On Tue, Feb 03, 2009 at 11:21:23AM -0900, Mel wrote: > > On Tuesday 03 February 2009 07:49:29 Jason Morgan wrote: > > > > > > I am having the same problem (I posted a related question to the > > > list last night). Anything dealing with XML and docbook is failing > > > to build. I have managed to install a few of the problem ports by > > > adding the package instead, but when I left the house this morning, > > > yet another related package had failed. > > > > Do it a few times in a row, the sourceforge servers are overloaded > > apparently and return false errors. > > Either that, or familiarize yourself with XML categories, download the > > file and update the XML cat file to use a local version rather then > > remote for that particular file. > > Uh, tuning in late here. Also running portupgrade and had problems with > policy and XML stuff. > > I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was > a file missing altho the port was installed. Forced it to build and > reinstall and things were able to build once again. > > Portupgrade is still building so I can't get at my shell history to > verify. > > Did something similar for the international library stuff. Actually, there's something else going on. I can build policykit on FBSD alpha 6.4-stable fine, but it fails on 8.0-current. I tried repeating download many times, it always goes fine on 6.4 but always fails on 8.0, of which I deduce that overloaded sourceforge is not to blame. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From dnelson at allantgroup.com Tue Feb 3 13:53:34 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Tue Feb 3 13:53:41 2009 Subject: NFSv2 Wrong FS Size In-Reply-To: References: <158E6ABD-6BCF-4222-AD59-9B43FE6832D5@zog.net> Message-ID: <20090203215326.GN75802@dan.emsphone.com> In the last episode (Feb 03), John Morgan Salomon said: > On 3 Feb 2009, at 19:21, John Morgan Salomon wrote: > > Hi there, > > > > I'm facing an odd problem with an NFSv2 mount. I'm using userland > > nfsd from a Buffalo TeraStation Pro v1 NAS, running PPC Linux 2.4.20. > > > > root@LEVIATHAN:~# uname -a > > Linux LEVIATHAN 2.4.20_mvl31-ppc_terastation #3 Tue Jul 18 09:29:11 JST 2006 ppc GNU/Linux > > > > I am sharing the following filesystem: > > > > root@LEVIATHAN:~# df -k > > Filesystem 1K-blocks Used Available Use% Mounted on > > > > /dev/md1 1755708928 979032844 776676084 56% /mnt/array1 > > > > Mounting this on a FreeBSD 7.1 client: > > > > behemoth# mount /data > > behemoth# df -k > > Filesystem 1024-blocks Used Avail > > Capacity Mounted on > > > > 192.168.2.11:/mnt/array1/data -391774720 -1168450804 776676084 > > I did more digging and found this: > > http://www.freebsd.org/projects/bigdisk/index.html > > "An audit is needed to make sure that all reported fields are 64-bit > clean. There are reports with certain fields being incorrect or > negative with NFS volumes, which could either be an NFS or df problem." > > Not sure where to go now, as the last entry in that project is dated > 2005 -- again, any tips welcome. The real problem is that NFSv2 only provides a 32-bit field for filesystem size, and multiplies that by the reported blocksize. Most NFS servers claim 512-byte blocks no matter what the underlying filessytem has, so in your case that would result in the filesystem size being reported as 1755708928*1024/512 = 3511417856 blocks. This number is larger than 2^31, which techinically isn't a problem because the NFSv2 spec says that the filesystem size is unsigned. FreeBSD treats it as signed, though, so it can display "negative" free space when root starts using its 8% reserve, so your unsigned 3511417856 gets printed as a signed -783549440, which messes everything up. NFSv3 uses 64-bit fields for those size values, so just mount with NFSv3 (which actually is the default on FreeBSD; maybe you have it disabled on your TeraStation for some reason), and you should get correct filesystem stats, as well as better performance and the ability to work with files over 2gb. Alternatively, you could rebuild "df" to print its numbers as unsigned instead of signed. Just watch out if your local filesystems start eating into their 8% reserve, since they'll start reporting huge values. -- Dan Nelson dnelson@allantgroup.com From john at zog.net Tue Feb 3 14:00:54 2009 From: john at zog.net (John Morgan Salomon) Date: Tue Feb 3 14:01:00 2009 Subject: NFSv2 Wrong FS Size In-Reply-To: <20090203215326.GN75802@dan.emsphone.com> References: <158E6ABD-6BCF-4222-AD59-9B43FE6832D5@zog.net> <20090203215326.GN75802@dan.emsphone.com> Message-ID: <023C6CB0-7230-46F6-BC19-F87AE6ABD916@zog.net> I was starting to suspect that it might be something along these lines. NFSv3 hasn't been possible so far because the Terastation hacked firmware on this particular platform (TS Pro v1) doesn't seem to play nice with kernel-level nfs (userland nfs only has packages for v2, and I've been too intimidated to approach the idea of rolling my own so far.) This explains a lot -- I thought maybe it might be the result of me running normal 32-bit i386 release on a 64-bit CPU. I will see if I can get NFS3 working. (I guess MacOS X/Mach/BSDI treat the size value as unsigned...) -John On 3 Feb 2009, at 22:53, Dan Nelson wrote: > > In the last episode (Feb 03), John Morgan Salomon said: >> On 3 Feb 2009, at 19:21, John Morgan Salomon wrote: >>> Hi there, >>> >>> I'm facing an odd problem with an NFSv2 mount. I'm using userland >>> nfsd from a Buffalo TeraStation Pro v1 NAS, running PPC Linux >>> 2.4.20. >>> >>> root@LEVIATHAN:~# uname -a >>> Linux LEVIATHAN 2.4.20_mvl31-ppc_terastation #3 Tue Jul 18 >>> 09:29:11 JST 2006 ppc GNU/Linux >>> >>> I am sharing the following filesystem: >>> >>> root@LEVIATHAN:~# df -k >>> Filesystem 1K-blocks Used Available Use% Mounted on >>> >>> /dev/md1 1755708928 979032844 776676084 56% /mnt/array1 >>> >>> Mounting this on a FreeBSD 7.1 client: >>> >>> behemoth# mount /data >>> behemoth# df -k >>> Filesystem 1024-blocks Used Avail >>> Capacity Mounted on >>> >>> 192.168.2.11:/mnt/array1/data -391774720 -1168450804 776676084 >> >> I did more digging and found this: >> >> http://www.freebsd.org/projects/bigdisk/index.html >> >> "An audit is needed to make sure that all reported fields are 64-bit >> clean. There are reports with certain fields being incorrect or >> negative with NFS volumes, which could either be an NFS or df >> problem." >> >> Not sure where to go now, as the last entry in that project is dated >> 2005 -- again, any tips welcome. > > The real problem is that NFSv2 only provides a 32-bit field for > filesystem > size, and multiplies that by the reported blocksize. Most NFS > servers claim > 512-byte blocks no matter what the underlying filessytem has, so in > your > case that would result in the filesystem size being reported as > 1755708928*1024/512 = 3511417856 blocks. This number is larger than > 2^31, > which techinically isn't a problem because the NFSv2 spec says that > the > filesystem size is unsigned. FreeBSD treats it as signed, though, > so it can > display "negative" free space when root starts using its 8% reserve, > so your > unsigned 3511417856 gets printed as a signed -783549440, which messes > everything up. > > NFSv3 uses 64-bit fields for those size values, so just mount with > NFSv3 > (which actually is the default on FreeBSD; maybe you have it > disabled on > your TeraStation for some reason), and you should get correct > filesystem > stats, as well as better performance and the ability to work with > files over > 2gb. > > Alternatively, you could rebuild "df" to print its numbers as unsigned > instead of signed. Just watch out if your local filesystems start > eating > into their 8% reserve, since they'll start reporting huge values. > > -- > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From dkelly at hiwaay.net Tue Feb 3 14:01:10 2009 From: dkelly at hiwaay.net (David Kelly) Date: Tue Feb 3 14:01:17 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <20090203214119.GA75307@mech-cluster238.men.bris.ac.uk> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> <20090203164929.GA91845@skepsi.net> <200902031121.23565.fbsd.questions@rachie.is-a-geek.net> <20090203204824.GA93304@Grumpy.DynDNS.org> <20090203214119.GA75307@mech-cluster238.men.bris.ac.uk> Message-ID: <20090203220104.GA28947@Grumpy.DynDNS.org> On Tue, Feb 03, 2009 at 09:41:19PM +0000, Anton Shterenlikht wrote: > On Tue, Feb 03, 2009 at 02:48:24PM -0600, David Kelly wrote: > > > > I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There > > was a file missing altho the port was installed. Forced it to build > > and reinstall and things were able to build once again. > > Actually, there's something else going on. I can build policykit on > FBSD alpha 6.4-stable fine, but it fails on 8.0-current. I tried > repeating download many times, it always goes fine on 6.4 but always > fails on 8.0, of which I deduce that overloaded sourceforge is not to > blame. FYI: I'm still on 7.0-STABLE. Have/had KDE 4.1.1 and am now well on my way to 4.1.4. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From freminlins at gmail.com Tue Feb 3 14:08:53 2009 From: freminlins at gmail.com (Freminlins) Date: Tue Feb 3 14:09:02 2009 Subject: NFS, how to find out which files are used In-Reply-To: <20090203170233.GM75802@dan.emsphone.com> References: <91b92520902030746j2256dc58y2b1447c6e4471e4@mail.gmail.com> <20090203170233.GM75802@dan.emsphone.com> Message-ID: 2009/2/3 Dan Nelson > In the last episode (Feb 03), Sandra Kachelmann said: > > I have an NFS fileserver and would like to figure out which files are > > being read/written to. Is there something to find that out? Something > > similar to samba's 'smbstatus' command. > > The best you can do currently is run tcpdump/wireshark and watch the remote > file operations as they happen... NFS doesn't access files by filename, > but > by NFS filehandle (basically device+inode number), so a remote client first > looks up the filename to get the filehandle, and all accesses are done via > the filehandle at that point. Theoretically, one could write a dtrace > script that watches calls to nfs_namei, nfsrv_read, and nfsrv_write, and > then matches read/write ops with the filenames that were looked up > beforehand. Solaris NFS has a logging option, which does exactly what Sandra is asking for. It's al reason why I prefer to use Solaris for NFS servers. F. From cwhiteh at onetel.com Tue Feb 3 14:13:39 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Tue Feb 3 14:13:47 2009 Subject: Screen problem on booting In-Reply-To: <1bd550a00902022334u1dc2182cg932ca7fc926a2f00@mail.gmail.com> References: <1bd550a00902020030q418d3dard3182490496f706e@mail.gmail.com> <49877238.40507@onetel.com> <1bd550a00902022334u1dc2182cg932ca7fc926a2f00@mail.gmail.com> Message-ID: <4988C189.3040003@onetel.com> Fernando Apestegu?a wrote: > On 2/2/09, Chris Whitehouse wrote: >> Fernando Apestegu?a wrote: >>> Hi all, >>> >>> I'm using FreeBSD 7.1-RELEASE-p2 >>> >>> Since a few days I've noticed something weird. On booting, all the >>> text I see is shifted to the left, so I lose the first ten letters or >>> so in every line of text. >>> >>> After login, once I type "startx" the X Window system seems to be OK >>> _and_ if I go back to a console with Alt-Ctrl-Fn the console is fine >>> again. >>> >>> My graphic card is an ATI Radeon HD2400. >>> >>> Anybody noticed it? >>> >>> Thanks in advance. >>> >>> PS: In console mode, reset command doesn't fix the problem. >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >>> >> Adjust the horizontal position with the controls on the monitor while >> booting? My LCD flat panel has an auto adjust button which does the same >> thing. > > Yep, but the point is that it worked fine some time ago (probably with > -p1, though I'm not sure). And as I said after using X, if I go back > again to console mode, monitor settings are correct. Doesn't this > means there is some kind of problem with video at start up? > None of my other operating systems in that machine suffer this problem. > > Thanks . I thought maybe it was a problem that occurred with whatever graphics driver is loaded on boot and that it goes away once the ATI driver is loaded but maybe not. I just tested mine by using the screen controls to set the screen over to one side while booting. Once X starts and the nvidia driver loads the screen position is fine, however going to a console (ctrl-alt-Fn) the screen is still displaced unlike yours. Sorry if that suggestion doesn't fix it. Chris From freebsd at stderror.at Tue Feb 3 16:04:55 2009 From: freebsd at stderror.at (Toni Schmidbauer) Date: Tue Feb 3 16:05:02 2009 Subject: intel 64-bit version? In-Reply-To: <20090202154016.5fd0a5a3.cyb.@gmx.net> References: <769541.13800.qm@web52112.mail.re2.yahoo.com> Message-ID: <87ab933w4e.wl%pinhead@bluebook.stderror.at> At Mon, 2 Feb 2009 15:40:16 +0100, Andreas Rudisch wrote: > You can use 7.1-RELEASE-i386 (32bit) or 7.1-RELEASE-amd64 (64bit) > depending on whether or not you are going to run 64 bit software or > want to use more than 4GB of RAM. i would also recommend to use fbsd amd64 if you plan to use zfs. even if you do not have more than 4gb of memory installed in your system. see http://wiki.freebsd.org/ZFSTuningGuide hth, toni -- Don't forget, there is no security | toni at stderror dot at -- Wulfgar | Toni Schmidbauer From ballew at sublinear.net Tue Feb 3 17:30:50 2009 From: ballew at sublinear.net (Mark C. Ballew) Date: Tue Feb 3 17:30:57 2009 Subject: nomachine on Freebsd 7.0-release 64-bit & in a jail Message-ID: <621b3553b8128ede6979b2371071f95e.squirrel@sublinear.net> It appears that the both the FreeNX port and the binary nomachine nxserver ports are both broken and fail to compile. I'm still trying to get nxserver 3 "free forever" edition to work. So far I've made some mods to it's install scripts but I'm bumping up against a strange licensing error (there is no license for the free edition). Before I bang my head on this much longer, has anyone else gotten Nomachine's version 3 server working on FreeBSD 7? How about in a jail? How does one mount linprocfs in a jail? Mark From tonyrieser at gmail.com Tue Feb 3 20:23:40 2009 From: tonyrieser at gmail.com (Antonio Rieser) Date: Tue Feb 3 20:23:47 2009 Subject: Graphics tablet / Xorg / mouse problems In-Reply-To: <4986BE9E.90905@bsdforen.de> References: <58a2fd890901311924s6bf36cb5w47d845d8d8090af8@mail.gmail.com> <4986BE9E.90905@bsdforen.de> Message-ID: <58a2fd890902032023s24a58a3m51b1769a94ffb327@mail.gmail.com> Hi, Thanks a million for your help. Many thanks to Bartosz, too! Just to be sure I understood how to deactivate hald, I ran (as root) the command chmod -x /usr/local/etc/rc.d/hald which should prevent it from running in the future, then, for this session pkill hald That should do it, right? Also, I reported earlier that everything seems to be normal if I boot with the tablet plugged in, but that's not always true. I now think that if I log in and out enough I get the same error messages. I have enclosed my Device Section of /etc/X11/Xorg.conf below. All the best, Tony --------------------------------- Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [] #Option "SWcursor" # [] #Option "ColorKey" # #Option "CacheLines" # #Option "Dac6Bit" # [] #Option "DRI" # [] #Option "NoDDC" # [] #Option "ShowCache" # [] #Option "XvMCSurfaces" # #Option "PageFlip" # [] Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "82852/855GM Integrated Graphics Device" BusID "PCI:0:2:0" Option "Accel" "On" EndSection On Mon, Feb 2, 2009 at 4:36 AM, Dominic Fandrey wrote: > Antonio Rieser wrote: >> Hi, >> >> I recently installed FreeBSD 7.1 on an ACER Aspire >> 1680 laptop. I'm running KDE 3.5 and the most recent Xorg port with a >> Wacom Bamboo tablet and the wacom driver from the ports collection. I >> have the following problems with the tablet and mouse: ... > > Just to keep you up to date, Bartosz is on it. Of course, I cannot give > you a schedule. With the involvement of hald things seem to get much > more complicated. It might be a temporary solution to deactivate > hald support. > > Regards > From dnelson at allantgroup.com Tue Feb 3 20:29:58 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Tue Feb 3 20:30:06 2009 Subject: Control IRQ assignment? In-Reply-To: References: <20090127223453.GC63837@dan.emsphone.com> Message-ID: <20090204042954.GP75802@dan.emsphone.com> In the last episode (Feb 03), patrick said: > On Tue, Jan 27, 2009 at 2:34 PM, Dan Nelson wrote: > > In the last episode (Jan 27), patrick said: > >> I'm running FreeBSD 7.1 on a new Dell Inspiron 530s. I'm having an > >> issue where the same IRQ is being assigned for multiple devices, and I > >> have a device that absolutely needs its own IRQ. The BIOS is very > >> limiting, and won't allow me to disable shared IRQ assignment. Some > >> suggestions I've read about booting FreeBSD with ACPI hasn't been an > >> option, because without it enabled, FreeBSD does not see the SATA > >> controllers/disks, and thus won't boot. Linux has a utility called > >> irqbalance (http://www.irqbalance.org/) that seems like it could be > >> promising, but of course it is Linux-specific. Is there any way in > >> FreeBSD that I can help the system decide which IRQs to assign to what? > > > > irqbalance doesn't do what you think it does; it simply pins interrupt > > handlers on particular CPUs. The only way to ensure that a given device > > has an IRQ line to itself is to look at your motherboard documentation, > > determine which IRQs are wired to which PCI slots, and rearrange your > > cards to assign your troublesome device an IRQ of its own. Some > > motherboards let you assign onboard devices (NICs, parallel port, etc) > > to different interrupts, too. > Hmmm... This Dell motherboard is extremely limited in what can be > controlled. There are seven USB controllers, and no way I can see to > disable some of them. I wonder if there's some way I can take some > blocks out of ACPI code captured from acpidump in order to have it not > load/be aware of some of those USB controllers that are unneeded and > using an IRQ I need for a voice card I want to use with Asterisk? You should be able to add some hints to your /boot/loader.conf to tell the kernel not to use those USB controllers. Something like hint.uhci.0.disabled=1 hint.ehci.0.disabled=1 repeated for whatever other devices get probed on that IRQ. -- Dan Nelson dnelson@allantgroup.com From shinjii at maydias.com Tue Feb 3 21:35:49 2009 From: shinjii at maydias.com (Warren Liddell) Date: Tue Feb 3 21:35:56 2009 Subject: CMake error compiling kdepimlibs4 Message-ID: <49892942.8030501@maydias.com> I have been trying to compile KDE4.2 on AMD64 7.1-STABLE machine, but atm this is 1 of the errors thats stopping it from working. ------------------------------------------------ CMake Error at CMakeLists.txt:128 (macro_write_basic_cmake_version_file): Unknown CMake command "macro_write_basic_cmake_version_file". -- Configuring incomplete, errors occurred! *** Error code 1 Stop in /usr/ports/deskutils/kdepimlibs4. *** Error code 1 Stop in /usr/ports/devel/kdesdk4. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.64941.3 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=kdesdk-4.1.4 UPGRADE_PORT_VER=4.1.4 make DEPENDS_TARGET=package ** Fix the problem and try again. From bc979 at lafn.org Tue Feb 3 22:11:28 2009 From: bc979 at lafn.org (Doug Hardie) Date: Tue Feb 3 22:11:34 2009 Subject: Image size manipulation Message-ID: I am looking for a port that would take an image file (preferably and image format) and convert it to JPEG at a specified pixel size. I couldn't find anything in the ports that appears to provide this capability. If needed I would settle for requiring JPEG input format. From sonic2000gr at gmail.com Tue Feb 3 22:16:04 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Tue Feb 3 22:16:11 2009 Subject: Image size manipulation In-Reply-To: References: Message-ID: <498932A0.9080002@gmail.com> Doug Hardie wrote: > I am looking for a port that would take an image file (preferably and > image format) and convert it to JPEG at a specified pixel size. I > couldn't find anything in the ports that appears to provide this > capability. If needed I would settle for requiring JPEG input format. You are looking for graphics/ImageMagick. This provides a 'convert' command that does lots of image file manipulations. From bc979 at lafn.org Tue Feb 3 22:23:50 2009 From: bc979 at lafn.org (Doug Hardie) Date: Tue Feb 3 22:23:57 2009 Subject: Image size manipulation In-Reply-To: <498932A0.9080002@gmail.com> References: <498932A0.9080002@gmail.com> Message-ID: <6E76C12D-18B0-4FCF-AFE4-E357778C5F8B@lafn.org> On Feb 3, 2009, at 22:16, Manolis Kiagias wrote: > Doug Hardie wrote: >> I am looking for a port that would take an image file (preferably and >> image format) and convert it to JPEG at a specified pixel size. I >> couldn't find anything in the ports that appears to provide this >> capability. If needed I would settle for requiring JPEG input >> format. > > You are looking for graphics/ImageMagick. This provides a 'convert' > command that does lots of image file manipulations. > Thanks. Don't know how I managed to miss it before. From shinjii at maydias.com Tue Feb 3 22:28:17 2009 From: shinjii at maydias.com (Warren Liddell) Date: Tue Feb 3 22:28:24 2009 Subject: Changing network devices looses internet traffic Message-ID: <49893590.9070205@maydias.com> Im running FreeBSD 7.1-STABLE an due to my old modem//router being on its way out to the graveyard in worakability, i have had to swap over to another, but having to use a USB connection instead of my onboard network card. Problem i have is telling my machine to stop looking for traffic on re0 an start looking for it on cdce0 .. but i can tseem ot find out how to go about that. All settings are the same in terms of gateway IP etc on the newer modem/router as the old one. What am i missing to let the traffic flow through ? From fernando.apesteguia at gmail.com Tue Feb 3 23:23:12 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Tue Feb 3 23:23:19 2009 Subject: Screen problem on booting In-Reply-To: <4988C189.3040003@onetel.com> References: <1bd550a00902020030q418d3dard3182490496f706e@mail.gmail.com> <49877238.40507@onetel.com> <1bd550a00902022334u1dc2182cg932ca7fc926a2f00@mail.gmail.com> <4988C189.3040003@onetel.com> Message-ID: <1bd550a00902032323q5aca3920v7f4547e79102f4e6@mail.gmail.com> On 2/3/09, Chris Whitehouse wrote: > Fernando Apestegu?a wrote: > > On 2/2/09, Chris Whitehouse wrote: > > > > > Fernando Apestegu?a wrote: > > > > > > > Hi all, > > > > > > > > I'm using FreeBSD 7.1-RELEASE-p2 > > > > > > > > Since a few days I've noticed something weird. On booting, all the > > > > text I see is shifted to the left, so I lose the first ten letters or > > > > so in every line of text. > > > > > > > > After login, once I type "startx" the X Window system seems to be OK > > > > _and_ if I go back to a console with Alt-Ctrl-Fn the console is fine > > > > again. > > > > > > > > My graphic card is an ATI Radeon HD2400. > > > > > > > > Anybody noticed it? > > > > > > > > Thanks in advance. > > > > > > > > PS: In console mode, reset command doesn't fix the problem. > > > > _______________________________________________ > > > > freebsd-questions@freebsd.org mailing list > > > > > > > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > > > To unsubscribe, send any mail to > > > > > > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > > > > > Adjust the horizontal position with the controls on the monitor while > > > booting? My LCD flat panel has an auto adjust button which does the same > > > thing. > > > > > > > Yep, but the point is that it worked fine some time ago (probably with > > -p1, though I'm not sure). And as I said after using X, if I go back > > again to console mode, monitor settings are correct. Doesn't this > > means there is some kind of problem with video at start up? > > None of my other operating systems in that machine suffer this problem. > > > > Thanks > > > . > I thought maybe it was a problem that occurred with whatever graphics driver > is loaded on boot and that it goes away once the ATI driver is loaded but > maybe not. I just tested mine by using the screen controls to set the screen > over to one side while booting. Once X starts and the nvidia driver loads > the screen position is fine, however going to a console (ctrl-alt-Fn) the > screen is still displaced unlike yours. Sorry if that suggestion doesn't fix > it. Yes, I think that first video driver can be the problem... I will test a bit more and then I will probably file a PR. Thanks again. > > Chris > > From lists_freebsd at bluewin.ch Tue Feb 3 23:26:18 2009 From: lists_freebsd at bluewin.ch (Martin Schweizer) Date: Tue Feb 3 23:26:26 2009 Subject: Using Serial Port Other Than sio0 for the Console In-Reply-To: <20090201160311.GD54916@saturn.pcs.ms> References: <20090130172843.GB89911@saturn.pcs.ms> <20090201160311.GD54916@saturn.pcs.ms> Message-ID: <20090204074546.GA88685@saturn.pcs.ms> Hello Tim I did what in the handbook under article 26.6.5.2. is described but not shure how I can write a new boot block to the disk. Here is what I think is correct: Output from df and bsdlabel mfid0s1: # df -h Filesystem Size Used Avail Capacity Mounted on /dev/mfid0s1a 989M 378M 532M 42% / devfs 1.0K 1.0K 0B 100% /dev /dev/mfid0s1d 989M 16K 910M 0% /tmp /dev/mfid0s1f 388G 2.6G 354G 1% /usr /dev/mfid0s1e 182G 43M 167G 0% /var # /dev/mfid0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 0 4.2BSD 2048 16384 28528 b: 8388608 2097152 swap c: 1246081662 0 unused 0 0 # "raw" part, don't edit d: 2097152 10485760 4.2BSD 2048 16384 28528 e: 394264576 12582912 4.2BSD 2048 16384 28528 f: 839234174 406847488 4.2BSD 2048 16384 28528 My opinion is: bsdlabel -B mfid0s1 Is that correct? Regards, Am Sun, Feb 01, 2009 at 05:03:12PM +0100 Martin Schweizer schrieb: > Probably I find the problem. I did not read care enough the article 26.6.5.2. > I will try it asap (in the next few days). I will keep you updated. > > Am Sat, Jan 31, 2009 at 12:09:28PM -0700 Tim Judd schrieb: > > On Fri, Jan 30, 2009 at 10:28 AM, Martin Schweizer > > wrote: > > > > > > I want to use sio1 for console access. I read chapter 26.6 in the handbook > > > and did the following: > > > > > > /boot.config: > > > -P > > > > > > /boot/device.hints: > > > [snip] > > > hint.sio.0.at="isa" > > > hint.sio.0.port="0x3F8" > > > ### hint.sio.0.flags="0x10" > > > hint.sio.0.irq="4" > > > hint.sio.1.at="isa" > > > hint.sio.1.port="0x2F8" > > > hint.sio.1.flags="0x10" > > > hint.sio.1.irq="3" > > > [snip] > > > > > > My custom kernel: > > > [snip] > > > device sio > > > [snip] > > > > > > /var/run/dmesg.boot: > > > [snip] > > > sio0: configured irq 4 not in bitmap of probed irqs 0 > > > sio0: port may not be enabled > > > sio0: configured irq 4 not in bitmap of probed irqs 0 > > > sio0: port may not be enabled > > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 > > > sio0: type 16550A > > > sio0: [FILTER] > > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > > sio1: port may not be enabled > > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > > sio1: port may not be enabled > > > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on > > > acpi0 > > > sio1: type 16550A, console > > > sio1: [FILTER] > > > [snip] > > > > > > /etc/ttys: > > > [snip] > > > ttyd0 "/usr/libexec/getty std.9600" vt100 on secure > > > ttyd1 "/usr/libexec/getty std.9600" vt100 on secure > > > ttyd2 "/usr/libexec/getty std.9600" vt100 on secure > > > ttyd3 "/usr/libexec/getty std.9600" vt100 on secure > > > [snip] > > > > > > The baud rate etc. are correct as well (the standard settings). > > > > > > The problem is I get no connection. I'm sure that my terminal works correct > > > because I can connect other FreeBSD sever over the serial cable but not the > > > above. > > > Any ideas? > > > > > > Kind regards, > > > > > > -- > > > > > > Martin Schweizer > > > > > > > > > PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon > > > Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; > > > public key : http://www.pc-service.ch/pgp/public_key.asc; > > > fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; > > > > > > > Surprised nobody's really responded. > > > > Enabling serial logins on ttyd1 (COM2 in Microsoft terms) is on -- it's > > defined in your ttys. The guaranteed "enabling" is to restart, but I've > > heard that sigHUP init will reread ttys and enable logins (but I hadn't got > > that to work yet). > > > > Enabling serial as your console output (in terms of the boot process and > > everything) should be, if available, enabled in /boot/loader.conf > > > > There doesn't seem to be a setting to enable COM2 as your console device, > > the only options (by reading through /boot/defaults/loader.conf) is to > > enable comconsole, which runs over COM1 > > > > You would likely have to hack the bootloader files in source and reinstall > > to get that kind of functionality. > > > > > > Does this help? let me know if you want more help. I like enabling serial > > console for the fact that you can get into out-of-bounds management this way > > easily. > > > > --Tim > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- > > Martin Schweizer > > > PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon > Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; > public key : http://www.pc-service.ch/pgp/public_key.asc; > fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From jstrother9109 at gmail.com Wed Feb 4 00:09:19 2009 From: jstrother9109 at gmail.com (James Strother) Date: Wed Feb 4 00:09:26 2009 Subject: wireless card won't associate Message-ID: <4b2381fb0902032340w1f9b4f04ye892aef1a2226b57@mail.gmail.com> Hello, I've been trying to get a wireless card of mine working with a new install of freebsd 7.1, but I've been unable to associate with the access point. >From pciconf -lv, it appears the chipset is Ralink RT2561/RT61. The documentation for ral doesn't mention this particular chipset, but there seems to be a consensus on various forums that this chipset is supported by ral. I've added the following lines to /boot/loader.conf: if_ral_load="YES" wlan_scan_ap_load="YES" wlan_scan_sta_load="YES" wlan_wep_load="YES" And am using the following ifconfig command ifconfig ral0 ssid authmod shared wepmode on \ deftxkey 1 wepkey 1: But ifconfig shows status as "no carrier." The authentication is all correct (I've triple checked everything, and am using the same authentication on a linux laptop). The signal strength should be fine (the box was previously running linux, with very good signal strength). When I ran wlandebug -i ral0 +scan+auth+assoc the only error I receive is: "shared key auth failed (reason 15)" At this point I'm stymied. Any help would be very much appreciated. Thanks, Jim From perryh at pluto.rain.com Wed Feb 4 00:12:37 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Wed Feb 4 00:13:41 2009 Subject: NFSv2 Wrong FS Size In-Reply-To: <20090203215326.GN75802@dan.emsphone.com> References: <158E6ABD-6BCF-4222-AD59-9B43FE6832D5@zog.net> <20090203215326.GN75802@dan.emsphone.com> Message-ID: <49894cf9.J2VbLPqLSoDq7yay%perryh@pluto.rain.com> > 1755708928*1024/512 = 3511417856 blocks. This number is larger > than 2^31, which techinically isn't a problem because the NFSv2 > spec says that the filesystem size is unsigned. FreeBSD treats it > as signed, though, so it can display "negative" free space when > root starts using its 8% reserve, so your unsigned 3511417856 gets > printed as a signed -783549440, which messes everything up. ... > you could rebuild "df" to print its numbers as unsigned instead of > signed. Just watch out if your local filesystems start eating > into their 8% reserve, since they'll start reporting huge values. Or patch "df" to print local filesystem sizes as signed -- so that the reserve reporting still works -- and NFS as unsigned to match the spec. From perryh at pluto.rain.com Wed Feb 4 00:31:24 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Wed Feb 4 00:31:31 2009 Subject: no cats at home, but system (7.0-STABLE) reboots In-Reply-To: <20090203093353.GA5657@rebelion.Sisis.de> References: <20090202085740.GA4654@rebelion.Sisis.de> <200902020856.39396.fbsd.questions@rachie.is-a-geek.net> <20090202180459.GA2625@rebelion.Sisis.de> <200902020934.38501.fbsd.questions@rachie.is-a-geek.net> <20090203072647.GA2425@rebelion.Sisis.de> <498801f8.23y2ybSzoxuxiwug%perryh@pluto.rain.com> <20090203093353.GA5657@rebelion.Sisis.de> Message-ID: <49895088.vNzuRHcHCXQnLA7T%perryh@pluto.rain.com> > > Brief power outage, perhaps? ... > > note: the box is a laptop; I hit the power-off button and pulled > out the 220V power cable of the power-supply from the outlet > (that's why later the laptop after 2h uptime failed with battery > empty) ... So much for the power-bounce theory. Perhaps you have a poltergeist? :) From wmaster at uni-altai.ru Wed Feb 4 03:32:51 2009 From: wmaster at uni-altai.ru (Alexander Wolf) Date: Wed Feb 4 03:33:00 2009 Subject: apt of freebsd In-Reply-To: <20090202111902.52dcd8dd@gom.home> References: <4986B7EE.6060103@uni-altai.ru> <20090202111902.52dcd8dd@gom.home> Message-ID: <49897CDA.9050805@uni-altai.ru> prad ?????: >> It's probably used for the "Linux emulation" in FreeBSD, you can't use >> it with FreeBSD native packages. > so what does this mean? > if you have linux emulation, you can install .debs from the debian > repository? hmm... etch (linux) or lenny (linux), or lenny (kfreebsd) packages? -- With best regards, Alexander Wolf From bsd at todoo.biz Wed Feb 4 03:52:08 2009 From: bsd at todoo.biz (bsd) Date: Wed Feb 4 03:52:16 2009 Subject: Power off and network apcupsd Message-ID: <31261BA8-1DC9-4F99-81F9-ED0C9D9B0650@todoo.biz> Hello, I would like to know if this is possible to keep the network during a shutdown as describe and explained below for a Linux system. How could we do that? This will be used in a procedure to shutdown the UPS and the system after a Power Failure has been detected. Any experience with that will be of high interest to me. --- > You may need to take steps to ensure networking stays active during > your > OS?s shutdown sequence in order for the PCNET driver to power o? > the > UPS (the so-called ?killpower? operation). On a Linux distro, you > can use > commands such as... > > chkconfig --level 0 network on > chkconfig --level 0 iptables on ? ? ? ? ? ? ? ? ? ? ? ? ???????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ? ? ? ? ? ? ? ? ? ? ? ? ???????????????????????????????????? P "Please consider your environmental responsibility before printing this e-mail" From gregory.bernard at todoo.biz Wed Feb 4 01:30:41 2009 From: gregory.bernard at todoo.biz (Greg Bernard) Date: Wed Feb 4 04:25:39 2009 Subject: Power off and network apcupsd Message-ID: <3BC499C9-F264-48A6-83D4-7F52BBAC4075@todoo.biz> Hello, I would like to know if this is possible to keep the network during a shutdown as describe and explained below for a Linux system. How could we do that? This will be used in a procedure to shutdown the UPS and the system after a Power Failure has been detected. Any experience with that will be of high interest to me. --- > You may need to take steps to ensure networking stays active during > your > OS?s shutdown sequence in order for the PCNET driver to power o? > the > UPS (the so-called ?killpower? operation). On a Linux distro, you > can use > commands such as... > > chkconfig --level 0 network on > chkconfig --level 0 iptables on ________________________________________________ ???? ???? ???????????????????????????????????????? ? ? ? ? ? ? ? ? ? ? ? ? ???????????????????????????????????? Gr?gory Bernard 11, rue de la Tour Directeur 75116 Paris France www.ToDoo.biz tel : +(33) 1 40 26 43 14 ________________________________________________ ???? ???? ???????????????????????????????????????? ? ? ? ? ? ? ? ? ? ? ? ? ???????????????????????????????????? PGP ID --> 0x1BA3C2FD P "Please consider your environmental responsibility before printing this e-mail" Ce message et les pi?ces qui y sont ?ventuellement jointes sont exclusivement transmis ? l'intention des personnes physiques ou morales auxquelles ils sont destin?s. Si vous avez re?u ce message par erreur, merci d'en avertir imm?diatement la soci?t? ToDoo par t?l?phone ou par courrier ?lectronique de retour ? l'exp?diteur et de supprimer toute copie de ce message. Par ailleurs, il vous est notifi? que toute divulgation, reproduction, distribution ou utilisation quelconque de tout ou partie de ce message (y compris de ses ?ventuelles pi?ces jointes) et des informations qui y sont contenues est interdite. Internet ne permettant pas d'assurer l'int?grit? de ce message, ToDoo et l'exp?diteur d?clinent toute responsabilit? au cas o? il aurait ?t? intercept? ou modifi? par quiconque. This message and any possible attachments are transmitted for the exclusive use of the intended recipient(s). Should you receive this message by mistake, please notify ToDoo or the sender at once by telephone or return e-mail and delete it from your system. Moreover, any form of reproduction dissemination, copying, disclosure, modification, distribution and/or use of this message - or part of its contents, as well as its possible attachments by any unauthorized person or legal entity, is strictly prohibited. The nature of the Internet means that the integrity of this message cannot be guaranteed. ToDoo and the sender therefore disclaim any liability whatsoever in the event of this message having been intercepted and/or altered. From makc at issp.ac.ru Wed Feb 4 05:15:52 2009 From: makc at issp.ac.ru (Max Brazhnikov) Date: Wed Feb 4 05:15:59 2009 Subject: CMake error compiling kdepimlibs4 In-Reply-To: <49892942.8030501@maydias.com> References: <49892942.8030501@maydias.com> Message-ID: <200902041558.09357.makc@issp.ac.ru> On Wed, 04 Feb 2009 15:36:02 +1000, Warren Liddell wrote: > I have been trying to compile KDE4.2 on AMD64 7.1-STABLE machine, but > atm this is 1 of the errors thats stopping it from working. > > ------------------------------------------------ > > > > CMake Error at CMakeLists.txt:128 (macro_write_basic_cmake_version_file): > Unknown CMake command "macro_write_basic_cmake_version_file". > > > -- Configuring incomplete, errors occurred! > *** Error code 1 > > Stop in /usr/ports/deskutils/kdepimlibs4. > *** Error code 1 > > Stop in /usr/ports/devel/kdesdk4. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade.64941.3 env UPGRADE_TOOL=portupgrade > UPGRADE_PORT=kdesdk-4.1.4 UPGRADE_PORT_VER=4.1.4 make > DEPENDS_TARGET=package > > > > ** Fix the problem and try again. you need cmake-2.6.2 for KDE-4.2.0. btw, kde@freebsd.org maillist is preferable when you have problems like that. Max From unga888 at yahoo.com Wed Feb 4 05:29:45 2009 From: unga888 at yahoo.com (Unga) Date: Wed Feb 4 05:29:56 2009 Subject: Graphviz port compilation error Message-ID: <523271.6202.qm@web57004.mail.re3.yahoo.com> Hi all This is FreeBSD 7.1 on i386. "make install clean" on /usr/ports/x11/kde3 develops a compilation error in /usr/ports/graphics/graphviz with following error message: *** [libgv_tcl_la-gv_tcl.lo] Error 1 I have refreshed the port tree and gave it a try, but its still develops the same error. The graphviz version is 2.20.3. What could I do now? Best regards Unga From rock_on_the_web at comcen.com.au Wed Feb 4 06:10:01 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Wed Feb 4 06:10:08 2009 Subject: Xlib: extension "Generic Event Extension" missing on display ":0.0" Message-ID: <1233756631.66655.11.camel@laptop1.herveybayaustralia.com.au> Ok, I give up... wtf am I missing here? As per the Xorg upgrade disaster discussion, I commented that this error IS causing issues; namely mplayer, file-roller. After that I read nothing in reply. I can now confirm this problem in several ways: 1) I just ran xine, mplayer, and file-roller and the error came up causing all programs bar file-roller to crash. 2) New install of 7.1 on a desktop has the same problem. Tested with xine and xine crashed. Logs don't show anything, this error is just on screen (wierd?). Another clarification to this is that it only happens in media players after content is attempted to load. Can someone clarify why? Also how do I kill this extension (I don't think that ever came out- correct me if I'm wrong)? From marshc187 at gmail.com Wed Feb 4 06:35:54 2009 From: marshc187 at gmail.com (t-u-t) Date: Wed Feb 4 06:36:01 2009 Subject: shell commands - exclusion Message-ID: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> hi, i don't know if this is a freak question, but i was looking around to see if this is possible, and what the convention would be. if i have say one (or even two) single file/directories among many others, and i want to perform any said function like cp, mv, rm, etc.. , to all other files except that one or two, is there a way to do that in a single command? e.g rm -r * {-except foo1 foo15} and if there is, could the same be applied to other similar batch (?) operations, like pkg_delete -f "*" { except firefox3 wine thunderbird } etc.. i'm a bit new to the shell (took me a while to figure out *ls* and *ls | more*), but i can't find anything from google cuz i don't know what this would be called in the first place. otherwise is it better to protect them with chflags or other trickery? thanks in advance From mehul.n.ved at gmail.com Wed Feb 4 06:38:34 2009 From: mehul.n.ved at gmail.com (Mehul Ved) Date: Wed Feb 4 06:38:41 2009 Subject: Image size manipulation In-Reply-To: <6E76C12D-18B0-4FCF-AFE4-E357778C5F8B@lafn.org> References: <498932A0.9080002@gmail.com> <6E76C12D-18B0-4FCF-AFE4-E357778C5F8B@lafn.org> Message-ID: On Wed, Feb 4, 2009 at 11:53 AM, Doug Hardie wrote: >> You are looking for graphics/ImageMagick. This provides a 'convert' >> command that does lots of image file manipulations. >> > > Thanks. Don't know how I managed to miss it before. Also gd(http://www.libgd.org/Main_Page)? -- If you can't say anything good about someone, sit right here by me. -- Alice Roosevelt Longworth From dnelson at allantgroup.com Wed Feb 4 07:14:55 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Wed Feb 4 07:15:02 2009 Subject: NFSv2 Wrong FS Size In-Reply-To: <49894cf9.J2VbLPqLSoDq7yay%perryh@pluto.rain.com> References: <158E6ABD-6BCF-4222-AD59-9B43FE6832D5@zog.net> <20090203215326.GN75802@dan.emsphone.com> <49894cf9.J2VbLPqLSoDq7yay%perryh@pluto.rain.com> Message-ID: <20090204151450.GQ75802@dan.emsphone.com> In the last episode (Feb 04), perryh@pluto.rain.com said: > > 1755708928*1024/512 = 3511417856 blocks. This number is larger than > > 2^31, which techinically isn't a problem because the NFSv2 spec says > > that the filesystem size is unsigned. FreeBSD treats it as signed, > > though, so it can display "negative" free space when root starts using > > its 8% reserve, so your unsigned 3511417856 gets printed as a signed > > -783549440, which messes everything up. > ... > > you could rebuild "df" to print its numbers as unsigned instead of > > signed. Just watch out if your local filesystems start eating into > > their 8% reserve, since they'll start reporting huge values. > > Or patch "df" to print local filesystem sizes as signed -- so that the > reserve reporting still works -- and NFS as unsigned to match the spec. That works as long as you don't NFS-mount other FreeBSD systems with overfull drives :) -- Dan Nelson dnelson@allantgroup.com From freebsd at optiksecurite.com Wed Feb 4 07:18:01 2009 From: freebsd at optiksecurite.com (FreeBSD) Date: Wed Feb 4 07:18:08 2009 Subject: OT: SVN checkout checksumming Message-ID: <4989B239.9090504@optiksecurite.com> Hi everyone, I have asked this question on the svnforum.org and didn't got a good answer, so I try it here. I want to use SVN to automate the update process of a custom application. So, I'm planning to indicate to every PC to update periodically to a specific branch of the repository. The problem is that I need to be sure the files where not corrupted during the transfer. So, I'm planning to generate the hash (SHA or MD5, doesn't really matters) of every file downloaded by SVN on the client. For this to work, I need to compare the hashes with their server-side equivalent. I looked at the post-commit hooks and it looks pretty interesting but is anyone doing something similar? How are you creating the file containing the hash of the committed file? I got 2 answers on the forum from people thinking that SVN takes care of the checksumming by itself, but I would like a little more information than that. What is the algorithm used would be a nice start. Thank you for sharing your OT knowledge! Martin From luvbeastie at larseighner.com Wed Feb 4 07:27:12 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Wed Feb 4 07:27:19 2009 Subject: shell commands - exclusion In-Reply-To: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> Message-ID: <20090204091459.G16842@qroenaqrq.6qbyyneqvnyhc.pbz> On Wed, 4 Feb 2009, t-u-t wrote: > hi, i don't know if this is a freak question, but i was looking around to > see if this is possible, and what the convention would be. > > if i have say one (or even two) single file/directories among many others, > and i want to perform any said function like cp, mv, rm, etc.. , to all > other files except that one or two, is there a way to do that in a single > command? > e.g > rm -r * {-except foo1 foo15} In general this is not possible. A few commands have exclusion options, but not many. Some shells have ways of managing glob exclusion (it's the shell that expands wildcard patterns). Setting GLOBIGNORE works in BASH, whether something similar works in others, you will have to investigate yourself. But that isn't one line as you have to set GLOBIGNORE. BASH also has an extended pattern matching option which includes negation, so you might want to look into that. > and if there is, could the same be applied to other similar batch (?) > operations, like pkg_delete -f "*" { except firefox3 wine thunderbird } > etc.. pkg_delete can take regular expression arguments (see -x). Perhaps you can devise one that will do the trick. Beware, however: it can take multiple regular expressions and deletes package which match ANY (not all) of them. > i'm a bit new to the shell (took me a while to figure out *ls* and *ls | > more*), but i can't find anything from google cuz i don't know what this > would be called in the first place. Shell globbing is the operation by which the shell expands wildcards and finds matches. What you want to do exclude things from shell globbing. > otherwise is it better to protect them with chflags or other trickery? watch out anything involving recursion --- things can happen that you don't expect unless you really know what you are doing. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From reddvinylene at gmail.com Wed Feb 4 07:45:14 2009 From: reddvinylene at gmail.com (Redd Vinylene) Date: Wed Feb 4 07:45:21 2009 Subject: Could we get rid of the extra blank line in the MOTD? Message-ID: My MOTD is like this (- marks beginning and end): - AUTHORIZED ACCESS ONLY - But in FreeBSD it displays with an extra blank line on top: - Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. AUTHORIZED ACCESS ONLY redd@vinylene:~% ps x - Why is it there? Could we get rid of it? This would look so much better: - Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. AUTHORIZED ACCESS ONLY redd@vinylene:~% ps x - Thank you. -- http://www.home.no/reddvinylene From dnelson at allantgroup.com Wed Feb 4 07:48:17 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Wed Feb 4 07:48:26 2009 Subject: shell commands - exclusion In-Reply-To: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> Message-ID: <20090204154814.GR75802@dan.emsphone.com> In the last episode (Feb 04), t-u-t said: > hi, i don't know if this is a freak question, but i was looking around to > see if this is possible, and what the convention would be. > > if i have say one (or even two) single file/directories among many others, > and i want to perform any said function like cp, mv, rm, etc.. , to all > other files except that one or two, is there a way to do that in a single > command? > e.g > rm -r * {-except foo1 foo15} zsh has the ^ and ~ glob metacharacters that are enabled with you enable EXTENDED_GLOB: ^x (Requires EXTENDED_GLOB to be set.) Matches anything except the pattern x. This has a higher precedence than `/', so `^foo/bar' will search directories in `.' except `./foo' for a file named `bar'. x~y (Requires EXTENDED_GLOB to be set.) Match anything that matches the pattern x but does not match y. This has lower precedence than any operator except `|', so `*/*~foo/bar' will search for all files in all directories in `.' and then exclude `foo/bar' if there was such a match. Multiple patterns can be excluded by `foo~bar~baz'. In the exclusion pattern (y), `/' and `.' are not treated specially the way they usually are in globbing. > and if there is, could the same be applied to other similar batch (?) > operations, like pkg_delete -f "*" { except firefox3 wine thunderbird } > etc.. That wildcard is expanded internally by pkg_delete using the C fnmatch() function, which just does simple *?[] shell pattern matching. > i'm a bit new to the shell (took me a while to figure out *ls* and *ls | > more*), but i can't find anything from google cuz i don't know what this > would be called in the first place. > > otherwise is it better to protect them with chflags or other trickery? One workaround is to temporarily move the files you don't want to process into another directory, then move them back when you're done. -- Dan Nelson dnelson@allantgroup.com From bc979 at lafn.org Wed Feb 4 08:10:35 2009 From: bc979 at lafn.org (Doug Hardie) Date: Wed Feb 4 08:10:42 2009 Subject: Image size manipulation In-Reply-To: References: <498932A0.9080002@gmail.com> <6E76C12D-18B0-4FCF-AFE4-E357778C5F8B@lafn.org> Message-ID: On Feb 4, 2009, at 06:38, Mehul Ved wrote: > On Wed, Feb 4, 2009 at 11:53 AM, Doug Hardie wrote: >>> You are looking for graphics/ImageMagick. This provides a 'convert' >>> command that does lots of image file manipulations. >>> >> >> Thanks. Don't know how I managed to miss it before. > > Also gd(http://www.libgd.org/Main_Page)? I am currently using gd to create some images from data, but don't see how to resize the images to a specific pixel size. Nothing seems to stand out in the documentation. From marshc187 at gmail.com Wed Feb 4 08:15:18 2009 From: marshc187 at gmail.com (t-u-t) Date: Wed Feb 4 08:15:27 2009 Subject: shell commands - exclusion In-Reply-To: <20090204091459.G16842@qroenaqrq.6qbyyneqvnyhc.pbz> References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> <20090204091459.G16842@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <332f78510902040815s2134763dh64b914f9234eb0eb@mail.gmail.com> On Wed, Feb 4, 2009 at 4:26 PM, Lars Eighner wrote: > > In general this is not possible. A few commands have exclusion options, > but > not many. Some shells have ways of managing glob exclusion (it's the shell > that expands wildcard patterns). Setting GLOBIGNORE works in BASH, whether > something similar works in others, you will have to investigate yourself. > But that isn't one line as you have to set GLOBIGNORE. BASH also has an > extended pattern matching option which includes negation, so you might want > to look into that. > pkg_delete can take regular expression arguments (see -x). Perhaps you > can devise one that will do the trick. Beware, however: it can take > multiple regular expressions and deletes package which match ANY (not all) > of them. > Shell globbing is the operation by which the shell expands wildcards and > finds matches. What you want to do exclude things from shell globbing. > watch out anything involving recursion --- things can happen that you don't > expect unless you really know what you are doing. > thank you, i can keep to regular painstaking methods for now, but would like to get the hang of it in future;. knowing what i'm looking for now is a big step for me. thanks again From gilles.ganault at free.fr Wed Feb 4 08:21:43 2009 From: gilles.ganault at free.fr (Gilles) Date: Wed Feb 4 08:21:56 2009 Subject: [6.3] ALT-CTRL-DEL = clean unmount? References: Message-ID: On Mon, 02 Feb 2009 12:19:59 +0100, Ivan Voras wrote: >The OS reboot process might have been interrupted somehow, or your drive >might be caching more than it should be. Mmm... Any idea how to investigate + fix this? I'm concerned about losing data :-/ Thank you guys. From freebsd-questions-local at be-well.ilk.org Wed Feb 4 08:21:48 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed Feb 4 08:21:57 2009 Subject: Power off and network apcupsd In-Reply-To: <31261BA8-1DC9-4F99-81F9-ED0C9D9B0650@todoo.biz> (bsd@todoo.biz's message of "Wed\, 4 Feb 2009 11\:28\:42 +0100") References: <31261BA8-1DC9-4F99-81F9-ED0C9D9B0650@todoo.biz> Message-ID: <44zlh2qijp.fsf@be-well.ilk.org> bsd writes: > I would like to know if this is possible to keep the network during a > shutdown as describe and explained below for a Linux system. > > How could we do that? > > This will be used in a procedure to shutdown the UPS and the system > after a Power Failure has been detected. Any experience with that will > be of high interest to me. I use the apcupsd port on a couple of FreeBSD machines, with both powered by my APC UPS. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From marshc187 at gmail.com Wed Feb 4 08:33:41 2009 From: marshc187 at gmail.com (t-u-t) Date: Wed Feb 4 08:33:48 2009 Subject: shell commands - exclusion In-Reply-To: <20090204154814.GR75802@dan.emsphone.com> References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> <20090204154814.GR75802@dan.emsphone.com> Message-ID: <332f78510902040833h562ac10cte2e56188103aef78@mail.gmail.com> On Wed, Feb 4, 2009 at 4:48 PM, Dan Nelson wrote: > zsh has the ^ and ~ glob metacharacters that are enabled with you enable > EXTENDED_GLOB: > > ^x (Requires EXTENDED_GLOB to be set.) Matches anything except > the pattern x. This has a higher precedence than `/', so > `^foo/bar' will search directories in `.' except `./foo' for a > file named `bar'. > > x~y (Requires EXTENDED_GLOB to be set.) Match anything that > matches the pattern x but does not match y. This has lower > precedence than any operator except `|', so `*/*~foo/bar' will > search for all files in all directories in `.' and then > exclude `foo/bar' if there was such a match. Multiple > patterns can be excluded by `foo~bar~baz'. In the exclusion > pattern (y), `/' and `.' are not treated specially the way > they usually are in globbing. > > > and if there is, could the same be applied to other similar batch (?) > > operations, like pkg_delete -f "*" { except firefox3 wine thunderbird } > > etc.. > > That wildcard is expanded internally by pkg_delete using the C fnmatch() > function, which just does simple *?[] shell pattern matching. > > > i'm a bit new to the shell (took me a while to figure out *ls* and *ls | > > more*), but i can't find anything from google cuz i don't know what this > > would be called in the first place. > > > > otherwise is it better to protect them with chflags or other trickery? > > One workaround is to temporarily move the files you don't want to process > into another directory, then move them back when you're done. > > -- > thank you, i am interested in knowing how to do this stuff in general for simple operations, since like this workaround would work fine with file operations, but not for pkg_delete and other commands i can't think of right now. I was just wondering if there was a commonly used/known method or *switch* i could look into. however, form this post i get the impression that it is better( and worthwhile) to learn to do some proper scripting. say, prepare a list in a file, then pass each one to the command instead of "*". cheers From wblock at wonkity.com Wed Feb 4 08:36:03 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Feb 4 08:36:11 2009 Subject: Xlib: extension "Generic Event Extension" missing on display ":0.0" In-Reply-To: <1233756631.66655.11.camel@laptop1.herveybayaustralia.com.au> References: <1233756631.66655.11.camel@laptop1.herveybayaustralia.com.au> Message-ID: On Thu, 5 Feb 2009, Da Rock wrote: > Ok, I give up... wtf am I missing here? As per the Xorg upgrade disaster > discussion, I commented that this error IS causing issues; namely > mplayer, file-roller. After that I read nothing in reply. The extension message is probably not the problem. mplayer runs fine here; in fact, it's running as I type this, and two of the Generic Event Extension messages are visible before mplayer text output in the console window. > I can now confirm this problem in several ways: > 1) I just ran xine, mplayer, and file-roller and the error came up > causing all programs bar file-roller to crash. > 2) New install of 7.1 on a desktop has the same problem. Tested with > xine and xine crashed. Maybe video driver? I'm using a radeon driver with EXA enabled. -Warren Block * Rapid City, South Dakota USA From pgiessel at mac.com Wed Feb 4 08:36:24 2009 From: pgiessel at mac.com (Peter Giessel) Date: Wed Feb 4 08:36:32 2009 Subject: Image size manipulation In-Reply-To: References: <498932A0.9080002@gmail.com> <6E76C12D-18B0-4FCF-AFE4-E357778C5F8B@lafn.org> Message-ID: <47403571852053381590170974529840660223-Webmail@me.com> On Wednesday, February 04, 2009, at 07:10AM, "Doug Hardie" wrote: >I am currently using gd to create some images from data, but don't see >how to resize the images to a specific pixel size. Nothing seems to >stand out in the documentation. void gdImageCopyResized doesn't stand out to you? http://www.libgd.org/CopyResize From freebsd at optiksecurite.com Wed Feb 4 08:38:51 2009 From: freebsd at optiksecurite.com (FreeBSD) Date: Wed Feb 4 08:38:58 2009 Subject: Strange fetch behaviour Message-ID: <4989C522.1040603@optiksecurite.com> Hi everyone, I'm totally mystified by this one: I have a shell script that fetch a couple of RSS feeds periodically. It worked fine. I now want to integrate a 3 times retry if the fetch fails. The logic of the script if now good but when I'm testing the script by unplugging the network cable to confirm that the script is retrying I can see that fetch always succeed to download, even with the cable unplugged! There is the output received by email from cron: fetch: http://www.cyberpresse.ca/rss/225.xml: No address record Let's wait...actualites.xml 0 fetch: http://www.cyberpresse.ca/rss/225.xml: No address record Let's wait...actualites.xml 1 fetch: http://www.cyberpresse.ca/rss/225.xml: No address record Let's wait...actualites.xml 2 Let's continue... /usr/local/www/canadien.xml 10 kB 479 kBps /usr/local/www/insolite.xml 9329 B 448 kBps ... But the cable is still unplugged! Every feed comes from the same source (cyberpresse.ca) At the beginning, my script used ftp instead of fetch, but I got the same result. I'm using a simple 'fetch -o actualites.xml http://www.cyberpresse.ca/rss/225.xml' command that take the output file and the source file from a variable. I could paste the code but there's part of it in French so I'll just start with this. I'm wondering if there is any sort of caching or verification that if the output file is already there not to download again? I know it's silly but I'm totally confused... Thanks for your help. Martin From jerrymc at msu.edu Wed Feb 4 08:44:47 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Feb 4 08:44:54 2009 Subject: Using Serial Port Other Than sio0 for the Console In-Reply-To: <20090204074546.GA88685@saturn.pcs.ms> References: <20090130172843.GB89911@saturn.pcs.ms> <20090201160311.GD54916@saturn.pcs.ms> <20090204074546.GA88685@saturn.pcs.ms> Message-ID: <20090204164310.GD31264@gizmo.acns.msu.edu> On Wed, Feb 04, 2009 at 08:45:46AM +0100, Martin Schweizer wrote: > Hello Tim > > I did what in the handbook under article 26.6.5.2. is described but not shure > how I can write a new boot block to the disk. Here is what I think is correct: > > Output from df and bsdlabel mfid0s1: > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/mfid0s1a 989M 378M 532M 42% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/mfid0s1d 989M 16K 910M 0% /tmp > /dev/mfid0s1f 388G 2.6G 354G 1% /usr > /dev/mfid0s1e 182G 43M 167G 0% /var > > # /dev/mfid0s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 2097152 0 4.2BSD 2048 16384 28528 > b: 8388608 2097152 swap > c: 1246081662 0 unused 0 0 # "raw" part, don't > edit > d: 2097152 10485760 4.2BSD 2048 16384 28528 > e: 394264576 12582912 4.2BSD 2048 16384 28528 > f: 839234174 406847488 4.2BSD 2048 16384 28528 > > My opinion is: > bsdlabel -B mfid0s1 What has this all got to do with the Subject? Subject: Re: Using Serial Port Other Than sio0 for the Console Please don't hijack threads. Start a new one if you have something to ask. ////jerry > > Is that correct? > > Regards, > > > Am Sun, Feb 01, 2009 at 05:03:12PM +0100 Martin Schweizer schrieb: > > Probably I find the problem. I did not read care enough the article 26.6.5.2. > > I will try it asap (in the next few days). I will keep you updated. > > > > Am Sat, Jan 31, 2009 at 12:09:28PM -0700 Tim Judd schrieb: > > > On Fri, Jan 30, 2009 at 10:28 AM, Martin Schweizer > > > wrote: > > > > > > > > I want to use sio1 for console access. I read chapter 26.6 in the handbook > > > > and did the following: > > > > > > > > /boot.config: > > > > -P > > > > > > > > /boot/device.hints: > > > > [snip] > > > > hint.sio.0.at="isa" > > > > hint.sio.0.port="0x3F8" > > > > ### hint.sio.0.flags="0x10" > > > > hint.sio.0.irq="4" > > > > hint.sio.1.at="isa" > > > > hint.sio.1.port="0x2F8" > > > > hint.sio.1.flags="0x10" > > > > hint.sio.1.irq="3" > > > > [snip] > > > > > > > > My custom kernel: > > > > [snip] > > > > device sio > > > > [snip] > > > > > > > > /var/run/dmesg.boot: > > > > [snip] > > > > sio0: configured irq 4 not in bitmap of probed irqs 0 > > > > sio0: port may not be enabled > > > > sio0: configured irq 4 not in bitmap of probed irqs 0 > > > > sio0: port may not be enabled > > > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 > > > > sio0: type 16550A > > > > sio0: [FILTER] > > > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > > > sio1: port may not be enabled > > > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > > > sio1: port may not be enabled > > > > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on > > > > acpi0 > > > > sio1: type 16550A, console > > > > sio1: [FILTER] > > > > [snip] > > > > > > > > /etc/ttys: > > > > [snip] > > > > ttyd0 "/usr/libexec/getty std.9600" vt100 on secure > > > > ttyd1 "/usr/libexec/getty std.9600" vt100 on secure > > > > ttyd2 "/usr/libexec/getty std.9600" vt100 on secure > > > > ttyd3 "/usr/libexec/getty std.9600" vt100 on secure > > > > [snip] > > > > > > > > The baud rate etc. are correct as well (the standard settings). > > > > > > > > The problem is I get no connection. I'm sure that my terminal works correct > > > > because I can connect other FreeBSD sever over the serial cable but not the > > > > above. > > > > Any ideas? > > > > > > > > Kind regards, > > > > > > > > -- > > > > > > > > Martin Schweizer > > > > > > > > > > > > PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon > > > > Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; > > > > public key : http://www.pc-service.ch/pgp/public_key.asc; > > > > fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; > > > > > > > > > > Surprised nobody's really responded. > > > > > > Enabling serial logins on ttyd1 (COM2 in Microsoft terms) is on -- it's > > > defined in your ttys. The guaranteed "enabling" is to restart, but I've > > > heard that sigHUP init will reread ttys and enable logins (but I hadn't got > > > that to work yet). > > > > > > Enabling serial as your console output (in terms of the boot process and > > > everything) should be, if available, enabled in /boot/loader.conf > > > > > > There doesn't seem to be a setting to enable COM2 as your console device, > > > the only options (by reading through /boot/defaults/loader.conf) is to > > > enable comconsole, which runs over COM1 > > > > > > You would likely have to hack the bootloader files in source and reinstall > > > to get that kind of functionality. > > > > > > > > > Does this help? let me know if you want more help. I like enabling serial > > > console for the fact that you can get into out-of-bounds management this way > > > easily. > > > > > > --Tim > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > -- > > > > Martin Schweizer > > > > > > PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon > > Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; > > public key : http://www.pc-service.ch/pgp/public_key.asc; > > fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- > > Martin Schweizer > > > PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon > Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; > public key : http://www.pc-service.ch/pgp/public_key.asc; > fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From awebster at connectalk.com Wed Feb 4 09:08:24 2009 From: awebster at connectalk.com (Webster, Andrew) Date: Wed Feb 4 09:08:32 2009 Subject: freebsd-update fetching files failed In-Reply-To: References: <4974E9D4.7080306@next.online.no> Message-ID: > On 1/19/09 4:00 PM, "Tore Lund" wrote: > > > Tom Worster wrote: > >> a funny thing happened on wat to 7.1 today (from 7.0-p6): > >> > >> # freebsd-update upgrade -r 7.1-RELEASE > > > > Have you tried "freebsd-update -r 7.0-RELEASE upgrade"? > > > > I am not sure it makes a difference, but at any rate, as far as I know, > > this is the right syntax. > > i was following these instructions: > > http://www.freebsd.org/releases/7.1R/announce.html > > but your suggestion is in line with the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading > -freebsdupdate.html#FREEBSDUPDATE-UPGRADE > > in any case, repeating the command got me there in the end. or so it seems. > I had the exact same problem upgrading 7.0-RELEASE to 7.1-RELEASE. It took 5 tries to get all the files to download and apply. Definitely something squirrelly there. Updating to patch levels however works flawlessly. One question After the upgrade, the /var/db/freebsd-update was filled with about 500MB of .gz files. I was wondering if these can be safely deleted? -- Andrew From office at pc-service.ch Wed Feb 4 09:24:26 2009 From: office at pc-service.ch (Martin Schweizer) Date: Wed Feb 4 09:24:35 2009 Subject: Using Serial Port Other Than sio0 for the Console In-Reply-To: <20090204164310.GD31264@gizmo.acns.msu.edu> References: <20090130172843.GB89911@saturn.pcs.ms> <20090201160311.GD54916@saturn.pcs.ms> <20090204074546.GA88685@saturn.pcs.ms> <20090204164310.GD31264@gizmo.acns.msu.edu> Message-ID: <4989C9FA.5090803@pc-service.ch> Hello Jerry Jerry McAllister schrieb: > On Wed, Feb 04, 2009 at 08:45:46AM +0100, Martin Schweizer wrote: > >> Hello Tim >> >> I did what in the handbook under article 26.6.5.2. is described but not shure >> how I can write a new boot block to the disk. Here is what I think is correct: >> >> Output from df and bsdlabel mfid0s1: >> # df -h >> Filesystem Size Used Avail Capacity Mounted on >> /dev/mfid0s1a 989M 378M 532M 42% / >> devfs 1.0K 1.0K 0B 100% /dev >> /dev/mfid0s1d 989M 16K 910M 0% /tmp >> /dev/mfid0s1f 388G 2.6G 354G 1% /usr >> /dev/mfid0s1e 182G 43M 167G 0% /var >> >> # /dev/mfid0s1: >> 8 partitions: >> # size offset fstype [fsize bsize bps/cpg] >> a: 2097152 0 4.2BSD 2048 16384 28528 >> b: 8388608 2097152 swap >> c: 1246081662 0 unused 0 0 # "raw" part, don't >> edit >> d: 2097152 10485760 4.2BSD 2048 16384 28528 >> e: 394264576 12582912 4.2BSD 2048 16384 28528 >> f: 839234174 406847488 4.2BSD 2048 16384 28528 >> >> My opinion is: >> bsdlabel -B mfid0s1 > > What has this all got to do with the Subject? > Subject: Re: Using Serial Port Other Than sio0 for the Console > > Please don't hijack threads. > Start a new one if you have something to ask. In the article 26.6.5.2. in the handbook you will find the answer. If you want to use another sio port (COM2 im my case) for serial communications you need to write the boot blocks new. I do not use bsdlabel often so I want to cross check that I'm on the right way. Regards, > >> Is that correct? >> >> Regards, >> >> >> Am Sun, Feb 01, 2009 at 05:03:12PM +0100 Martin Schweizer schrieb: >>> Probably I find the problem. I did not read care enough the article 26.6.5.2. >>> I will try it asap (in the next few days). I will keep you updated. >>> >>> Am Sat, Jan 31, 2009 at 12:09:28PM -0700 Tim Judd schrieb: >>>> On Fri, Jan 30, 2009 at 10:28 AM, Martin Schweizer >>>> wrote: >>>>> >>>>> I want to use sio1 for console access. I read chapter 26.6 in the handbook >>>>> and did the following: >>>>> >>>>> /boot.config: >>>>> -P >>>>> >>>>> /boot/device.hints: >>>>> [snip] >>>>> hint.sio.0.at="isa" >>>>> hint.sio.0.port="0x3F8" >>>>> ### hint.sio.0.flags="0x10" >>>>> hint.sio.0.irq="4" >>>>> hint.sio.1.at="isa" >>>>> hint.sio.1.port="0x2F8" >>>>> hint.sio.1.flags="0x10" >>>>> hint.sio.1.irq="3" >>>>> [snip] >>>>> >>>>> My custom kernel: >>>>> [snip] >>>>> device sio >>>>> [snip] >>>>> >>>>> /var/run/dmesg.boot: >>>>> [snip] >>>>> sio0: configured irq 4 not in bitmap of probed irqs 0 >>>>> sio0: port may not be enabled >>>>> sio0: configured irq 4 not in bitmap of probed irqs 0 >>>>> sio0: port may not be enabled >>>>> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 >>>>> sio0: type 16550A >>>>> sio0: [FILTER] >>>>> sio1: configured irq 3 not in bitmap of probed irqs 0 >>>>> sio1: port may not be enabled >>>>> sio1: configured irq 3 not in bitmap of probed irqs 0 >>>>> sio1: port may not be enabled >>>>> sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on >>>>> acpi0 >>>>> sio1: type 16550A, console >>>>> sio1: [FILTER] >>>>> [snip] >>>>> >>>>> /etc/ttys: >>>>> [snip] >>>>> ttyd0 "/usr/libexec/getty std.9600" vt100 on secure >>>>> ttyd1 "/usr/libexec/getty std.9600" vt100 on secure >>>>> ttyd2 "/usr/libexec/getty std.9600" vt100 on secure >>>>> ttyd3 "/usr/libexec/getty std.9600" vt100 on secure >>>>> [snip] >>>>> >>>>> The baud rate etc. are correct as well (the standard settings). >>>>> >>>>> The problem is I get no connection. I'm sure that my terminal works correct >>>>> because I can connect other FreeBSD sever over the serial cable but not the >>>>> above. >>>>> Any ideas? >>>>> >>>>> Kind regards, >>>>> >>>>> -- >>>>> >>>>> Martin Schweizer >>>>> >>>>> >>>>> PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon >>>>> Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; >>>>> public key : http://www.pc-service.ch/pgp/public_key.asc; >>>>> fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; >>>>> >>>> Surprised nobody's really responded. >>>> >>>> Enabling serial logins on ttyd1 (COM2 in Microsoft terms) is on -- it's >>>> defined in your ttys. The guaranteed "enabling" is to restart, but I've >>>> heard that sigHUP init will reread ttys and enable logins (but I hadn't got >>>> that to work yet). >>>> >>>> Enabling serial as your console output (in terms of the boot process and >>>> everything) should be, if available, enabled in /boot/loader.conf >>>> >>>> There doesn't seem to be a setting to enable COM2 as your console device, >>>> the only options (by reading through /boot/defaults/loader.conf) is to >>>> enable comconsole, which runs over COM1 >>>> >>>> You would likely have to hack the bootloader files in source and reinstall >>>> to get that kind of functionality. >>>> >>>> >>>> Does this help? let me know if you want more help. I like enabling serial >>>> console for the fact that you can get into out-of-bounds management this way >>>> easily. >>>> >>>> --Tim >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>> -- >>> >>> Martin Schweizer >>> >>> >>> PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon >>> Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; >>> public key : http://www.pc-service.ch/pgp/public_key.asc; >>> fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> -- >> >> Martin Schweizer >> >> >> PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon >> Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; >> public key : http://www.pc-service.ch/pgp/public_key.asc; >> fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; Postfach 132; CH-8608 Bubikon; Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch From hugo at barafranca.com Wed Feb 4 09:29:34 2009 From: hugo at barafranca.com (Hugo Silva) Date: Wed Feb 4 09:29:41 2009 Subject: GEOM_JOURNAL on a 550G partition - opinions ? Message-ID: <4989D8B6.80505@barafranca.com> Hi list, For a server I will be setting up, I am considering using gjournal on the partition that will hold all the www data. The journaled partition (mounted async) would be mostly read from, uploads would not be very frequent and most sites wouldn't write to the disk. Logs would be kept elsewhere. This server will have two hard disks, mirrored (gmirror) at the disk level. Here are my questions: - Will the fact that gmirror is underneath the journal (/dev/mirror/gm0s1f.journal) affect performance ? (either positively or negatively) (* I would be keeping the journal in the same provider) - Would reads / writes be faster? considerably faster ? (gjournal) I've seen different numbers from different places, the impression I got is that reads should be faster while writes will be substantially slower - is this correct ? - What about reliability ? From the manpage, I know that if I journaled the entire mirror, I would not need to sync it after an unclean shutdown. Going from the assumption that this will not be so for a single journaled partition, will there be any interference between gjournal and gmirror ? - I've never had an UFS2 partition filled with more than 200G of data, so I am not sure what to expect for 550G with soft-updates (I expect this partition to hold close to 550G of data) - real numbers about this would also be helpful. Any personal experiences concerning gjournal or gmirror+gjournal are greatly appreciated! Thanks. Hugo From lonnelars at gmail.com Wed Feb 4 09:38:59 2009 From: lonnelars at gmail.com (Lars Lonne) Date: Wed Feb 4 09:39:06 2009 Subject: No wifi signal with usb antenna (rum driver) Message-ID: Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo laptop. It used to dualboot with windows xp and gentoo linux, but I decided to give FreeBSD a try instead, so now it dualboots with windows and FreeBSD. My biggest problem is connecting to the internet over the local wifi network. I am using a usb antenna, which uses the rum driver in FreeBSD. When using windows, the signal strength is low (I am located quite far from the access point), but works fine. I can connect to the network and get on the internet, no problem. Problem is when I start FreeBSD, I cannot get a signal, i.e. ifconfig always reports "no carrier". I can connect to the network with FreeBSD if I move closer to the AP, but it is impractical for me to do so. Has anyone experienced anything similar, or know what could be causing it? Please let me know if you need more information. Hope you can help me. /lars From reddvinylene at gmail.com Wed Feb 4 09:53:09 2009 From: reddvinylene at gmail.com (Redd Vinylene) Date: Wed Feb 4 09:53:15 2009 Subject: Could we get rid of the extra blank line in the MOTD? In-Reply-To: <4af955a20902040757q464b3d0ey2f6b32eeef382ad9@mail.gmail.com> References: <4af955a20902040757q464b3d0ey2f6b32eeef382ad9@mail.gmail.com> Message-ID: On 2/4/09, Rajarajan Rajamani wrote: > The messages are from /etc/motd > > Edit is to display what you'd like. I'm sorry Rajarajan, but you misread my question. -- http://www.home.no/reddvinylene From rsmith at xs4all.nl Wed Feb 4 09:57:00 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Feb 4 09:57:08 2009 Subject: Xlib: extension "Generic Event Extension" missing on display ":0.0" In-Reply-To: <1233756631.66655.11.camel@laptop1.herveybayaustralia.com.au> References: <1233756631.66655.11.camel@laptop1.herveybayaustralia.com.au> Message-ID: <20090204175652.GB64529@slackbox.xs4all.nl> On Thu, Feb 05, 2009 at 12:10:30AM +1000, Da Rock wrote: > Ok, I give up... wtf am I missing here? The Xext library has the extension, but the server hasn't yet. It should be harmless. I don't notice any problems with it. (7.1-RELEASE amd64 with Xorg 7.4) > I can now confirm this problem in several ways: > 1) I just ran xine, mplayer, and file-roller and the error came up > causing all programs bar file-roller to crash. I've got mplayer playing fine with this message. > Logs don't show anything, this error is just on screen (wierd?). Another > clarification to this is that it only happens in media players after > content is attempted to load. What driver are you using in X? And what kind of video output driver are you using in mplayer? X is working fine here on a Radeon X1650 on 7.1-RELEASE with rnoland's last patch to update the kernel direct rendering support (which should be in 7-STABLE by now). Accellerated X works, 2D and 3D. Xv also works. > Can someone clarify why? Also how do I kill this extension (I don't > think that ever came out- correct me if I'm wrong)? The upcoming server 1.6.0 has this extension. As soon as that is rolled out, the messages should disappear, I think. You yould try to roll-back the Xext library... Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090204/8be10553/attachment.pgp From rsmith at xs4all.nl Wed Feb 4 10:03:41 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Feb 4 10:03:48 2009 Subject: shell commands - exclusion In-Reply-To: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> Message-ID: <20090204180337.GC64529@slackbox.xs4all.nl> On Wed, Feb 04, 2009 at 03:35:52PM +0100, t-u-t wrote: > hi, i don't know if this is a freak question, but i was looking around to > see if this is possible, and what the convention would be. > > if i have say one (or even two) single file/directories among many others, > and i want to perform any said function like cp, mv, rm, etc.. , to all > other files except that one or two, is there a way to do that in a single > command? > e.g > rm -r * {-except foo1 foo15} The easiest way would be to move the few files/directories you don't want to include in your command out of the way first. :-) > and if there is, could the same be applied to other similar batch (?) > operations, like pkg_delete -f "*" { except firefox3 wine thunderbird } > etc.. I don't think so. If the couple of files you don't want to rm/whatever you could try using the find(1) command to get all the other files. The find command is a very good tool to know. > i'm a bit new to the shell (took me a while to figure out *ls* and *ls | > more*), but i can't find anything from google cuz i don't know what this > would be called in the first place. Maybe a stupid question, but do you know how to read manual pages? E.g. for 'find', just enter the command 'man find' in your shell. > otherwise is it better to protect them with chflags or other trickery? That would be my other suggestion. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090204/bca0d113/attachment.pgp From bc979 at lafn.org Wed Feb 4 10:16:58 2009 From: bc979 at lafn.org (Doug Hardie) Date: Wed Feb 4 10:17:05 2009 Subject: Image size manipulation In-Reply-To: <47403571852053381590170974529840660223-Webmail@me.com> References: <498932A0.9080002@gmail.com> <6E76C12D-18B0-4FCF-AFE4-E357778C5F8B@lafn.org> <47403571852053381590170974529840660223-Webmail@me.com> Message-ID: On Feb 4, 2009, at 08:17, Peter Giessel wrote: > > On Wednesday, February 04, 2009, at 07:10AM, "Doug Hardie" > wrote: >> I am currently using gd to create some images from data, but don't >> see >> how to resize the images to a specific pixel size. Nothing seems to >> stand out in the documentation. > > void gdImageCopyResized doesn't stand out to you? > http://www.libgd.org/CopyResize No it didn't. Somehow I missed it in the documentation listing. Thanks for pointing it out. From frederic.perrin at resel.fr Wed Feb 4 10:30:05 2009 From: frederic.perrin at resel.fr (=?utf-8?Q?Fr=C3=A9d=C3=A9ric_Perrin?=) Date: Wed Feb 4 10:30:13 2009 Subject: Multiple MAC on a single (physical) interface Message-ID: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> Hello, I live in a network where it is pretty much assumed that one machine == one MAC address == one IP address. Therefore, in order to play with jails, some having of course access to the network, I need to be able to send and receive using several MAC addresses, as if I had several NIC (which I of course don't have). I first describe the setup I have come up with, then ask the list a couple of questions. rl0 (my only physical interface) is made promiscous, and its otherwise fine configuration is not touched (it still has it MAC and IP address) : # ifconfig rl0 promisc Create a bridge, and attach it rl0 : # ifconfig bridge0 create # ifconfig bridge0 addm rl0 up Create 2 interfaces : the first one will be connected to the bridge, the other will be the one we really want to use. # ifconfig tap0 create # ifconfig bridge0 addm tap0 up # ifconfig tap1 create Link tap0 to tap1, I have been using the br_select.c example that comme with the generic tap/tun driver on vtun.sf.net (basically, what it does is : @ open(/dev/tap0); open(/dev/tap1); @ for ever: @ if there is data in tap0, copy it to tap1 @ if there is data in tap1, copy it to tap0 @ end for Then, configure tap1 as wanted, as in : # ifconfig tap0 up ; ifconfig tap1 up # dhclient tap1 Then start a jail with the IP given to tap1, with a network service in it (sshd will do). Check that ssh'ing to the jail works. It should be possible to create use n tap devices, by doing : @ for ever: @ if there is data in tap0, copy it to tap1, ... tapn @ if there is data in tap1 or ... tapn, copy it to tap0 @ end for Also, while researching my problem, I see that it shouldn't be very hard to add hooks to rc.conf to automate all this process. Questions : It seems quite a convoluted setup (especially having to make a tunnel from tap0 to tap1 ... tapn). Is there an easier way ? Comments ? When googling for this, I was surprised not to find explanations on how to do that. Is my google fu lacking and me missing the obvious ? If this solution is a valid one, where can I post it for all to see ? (I thought about wiki.f.o, but it is developer-only it seems. forums.f.o ?) I'm not subscribed to the list, CC me in your answer, please. -- Fred From glen.j.barber at gmail.com Wed Feb 4 10:36:07 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Feb 4 10:36:15 2009 Subject: Multiple MAC on a single (physical) interface In-Reply-To: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> References: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> Message-ID: <4ad871310902041036m32ed57c5qd1f56329be37013b@mail.gmail.com> On Wed, Feb 4, 2009 at 1:07 PM, Fr?d?ric Perrin wrote: [snip] > It seems quite a convoluted setup (especially having to make a tunnel > from tap0 to tap1 ... tapn). Is there an easier way ? Comments ? > Forgive me if I am misunderstanding what you are trying to accomplish, but it appears you just want to have several jails with sevaral IP addresses. I'm not clear on why you mentioned MAC, as from what I see, is irrelevant. What you can do is create aliased devices in rc.conf for your jails: ifconfig_em0="whatever" ifconfig_em0_alias0="my settings" ifconfig_em0_alias1="more settings" Again, forgive me if I am not understanding your question. -- Glen Barber From cpghost at cordula.ws Wed Feb 4 10:37:17 2009 From: cpghost at cordula.ws (cpghost) Date: Wed Feb 4 10:37:26 2009 Subject: Could we get rid of the extra blank line in the MOTD? In-Reply-To: References: <4af955a20902040757q464b3d0ey2f6b32eeef382ad9@mail.gmail.com> Message-ID: <20090204183714.GA1104@phenom.cordula.ws> On Wed, Feb 04, 2009 at 06:53:07PM +0100, Redd Vinylene wrote: > On 2/4/09, Rajarajan Rajamani wrote: > > The messages are from /etc/motd > > > > Edit is to display what you'd like. That's not his problem. Something *else* prints a newline before the contents of /etc/motd... See login(1) and check out /etc/login.conf. Just guessing and not tested: if the console driver supports ANSI control sequences, you could add the sequence that clears the screen and homes the cursor (Esc[2J) [1] to the beginning of /etc/motd and see if it works. Something like this: Esc[2JThis is the first line of the motd. This is the second line. etc... (Use the real Esc-character for this, not the three chars 'E', 's' and 'c'; i.e. 1B(hex), 33(oct), 27(dec)) But again, it should only work if the console driver supports ANSI escape sequences. [1] http://ascii-table.com/ansi-escape-sequences-vt-100.php -cpghost. -- Cordula's Web. http://www.cordula.ws/ From jerrymc at msu.edu Wed Feb 4 10:42:44 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Feb 4 10:42:51 2009 Subject: Using Serial Port Other Than sio0 for the Console In-Reply-To: <4989C9FA.5090803@pc-service.ch> References: <20090130172843.GB89911@saturn.pcs.ms> <20090201160311.GD54916@saturn.pcs.ms> <20090204074546.GA88685@saturn.pcs.ms> <20090204164310.GD31264@gizmo.acns.msu.edu> <4989C9FA.5090803@pc-service.ch> Message-ID: <20090204184104.GA31803@gizmo.acns.msu.edu> On Wed, Feb 04, 2009 at 06:01:46PM +0100, Martin Schweizer wrote: > Hello Jerry > > > >> don't edit > >> d: 2097152 10485760 4.2BSD 2048 16384 28528 > >> e: 394264576 12582912 4.2BSD 2048 16384 28528 > >> f: 839234174 406847488 4.2BSD 2048 16384 28528 > >> > >>My opinion is: > >>bsdlabel -B mfid0s1 > > > >What has this all got to do with the Subject? > > Subject: Re: Using Serial Port Other Than sio0 for the Console > > > >Please don't hijack threads. > >Start a new one if you have something to ask. > > In the article 26.6.5.2. in the handbook you will find the answer. If > you want to use another sio port (COM2 im my case) for serial > communications you need to write the boot blocks new. I do not use > bsdlabel often so I want to cross check that I'm on the right way. > > Regards, Ah, interesting, I didn't get the connection. ////jerry > > > > > >>Is that correct? > >> > >>Regards, > >> > >> > >>Am Sun, Feb 01, 2009 at 05:03:12PM +0100 Martin Schweizer schrieb: > >>>Probably I find the problem. I did not read care enough the article > >>>26.6.5.2. I will try it asap (in the next few days). I will keep you > >>>updated. From reddvinylene at gmail.com Wed Feb 4 10:53:31 2009 From: reddvinylene at gmail.com (Redd Vinylene) Date: Wed Feb 4 10:53:38 2009 Subject: Could we get rid of the extra blank line in the MOTD? In-Reply-To: <4af955a20902041012n2265eef4q91e351a1dd59dad3@mail.gmail.com> References: <4af955a20902040757q464b3d0ey2f6b32eeef382ad9@mail.gmail.com> <4af955a20902041012n2265eef4q91e351a1dd59dad3@mail.gmail.com> Message-ID: On Wed, Feb 4, 2009 at 7:12 PM, Rajarajan Rajamani wrote: > > I'm sorry Rajarajan, but you misread my question. > > > > -- > > http://www.home.no/reddvinylene > > > > Ok, sorry for the hurried reply, is the extra line coming from > /etc/COPYRIGHT then ? > Whats there in /etc/login.conf which says about where your copyright > file resides - like > :copyright=/etc/COPYRIGHT:\ > Great idea. A reference to /etc/COPYRIGHT is indeed under :default in /etc/login.conf, but /etc/COPYRIGHT doesn't exist on my system. I might have deleted it. -- http://www.home.no/reddvinylene From kitchetech at gmail.com Wed Feb 4 11:03:02 2009 From: kitchetech at gmail.com (matt donovan) Date: Wed Feb 4 11:03:09 2009 Subject: Xlib: extension "Generic Event Extension" missing on display ":0.0" In-Reply-To: <20090204175652.GB64529@slackbox.xs4all.nl> References: <1233756631.66655.11.camel@laptop1.herveybayaustralia.com.au> <20090204175652.GB64529@slackbox.xs4all.nl> Message-ID: <28283d910902041103w52f66ab4t939b31843a124aca@mail.gmail.com> On Wed, Feb 4, 2009 at 12:56 PM, Roland Smith wrote: > On Thu, Feb 05, 2009 at 12:10:30AM +1000, Da Rock wrote: > > Ok, I give up... wtf am I missing here? > > The Xext library has the extension, but the server hasn't yet. It should > be harmless. I don't notice any problems with it. (7.1-RELEASE amd64 > with Xorg 7.4) > > > I can now confirm this problem in several ways: > > 1) I just ran xine, mplayer, and file-roller and the error came up > > causing all programs bar file-roller to crash. > > I've got mplayer playing fine with this message. > > > Logs don't show anything, this error is just on screen (wierd?). Another > > clarification to this is that it only happens in media players after > > content is attempted to load. > > What driver are you using in X? And what kind of video output driver are > you using in mplayer? > > X is working fine here on a Radeon X1650 on 7.1-RELEASE with rnoland's > last patch to update the kernel direct rendering support (which should > be in 7-STABLE by now). Accellerated X works, 2D and 3D. Xv also works. > > > Can someone clarify why? Also how do I kill this extension (I don't > > think that ever came out- correct me if I'm wrong)? > > The upcoming server 1.6.0 has this extension. As soon as that is rolled > out, the messages should disappear, I think. > > You yould try to roll-back the Xext library... > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) /usr/ports/UPDATING is already updated about this message and to say just ignore it From gnemmi at gmail.com Wed Feb 4 11:18:39 2009 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Wed Feb 4 11:18:45 2009 Subject: Could we get rid of the extra blank line in the MOTD? In-Reply-To: References: <4af955a20902041012n2265eef4q91e351a1dd59dad3@mail.gmail.com> Message-ID: <200902041718.33122.gnemmi@gmail.com> On Wednesday 04 February 2009 4:53:24 pm Redd Vinylene wrote: > On Wed, Feb 4, 2009 at 7:12 PM, Rajarajan Rajamani wrote: > > > I'm sorry Rajarajan, but you misread my question. > > > > > > -- > > > http://www.home.no/reddvinylene > > > > Ok, sorry for the hurried reply, is the extra line coming from > > /etc/COPYRIGHT then ? > > Whats there in /etc/login.conf which says about where your copyright > > file resides - like > > > > :copyright=/etc/COPYRIGHT:\ > > Great idea. A reference to /etc/COPYRIGHT is indeed under :default in > /etc/login.conf, but /etc/COPYRIGHT doesn't exist on my system. I might > have deleted it. No you haven't .. Actually, if you create an empty /etc/COPYRIGHT file, you'll get rid of the copyright notice that appears every time you log into your system. For more references: http://www.onlamp.com/pub/a/bsd/2002/08/08/FreeBSD_Basics.html?page=2 You'll find a few more tricks regarding MOTD and what your system says about itself every time a user logs in. Hope that helps. Regards -- Blessings Gonzalo Nemmi From campaign at dabber.tv Wed Feb 4 11:52:37 2009 From: campaign at dabber.tv (Daniel Daboczy - DABBER) Date: Wed Feb 4 11:52:45 2009 Subject: Dabber Newsletter - Feb 2009 Message-ID: <242032.YOLXIKHP@dabber.tv> Dabber Newsletter New video player examples We?ve been working hard on presenting different variations of the kind ofthan just coolknowledge as the glueapplications and services oufor the 'wow-factor', while otherstheir business while others need our dstep from idea to an well-visited website. Whis ready to take you from static to stunning! See examples Client example We are proud to show you an example of a very succesful client case. We werapproach thethe experience and Visit the web site: About us Dabber is an Internet start-up, focused on helping you change the way you cit?s alsit. The old days o We offer a wide range of online video solutions that are innovative, affordmanagement platfointuitive 3D video plascene as well as in web devtechnology with an understanding of what Visit our web site: www. To unsubscribe, please forward this email to unsubscribe@dabber.tv Our services For more information about our services, please download the Dabber white paper. Contact us For questions regarding pricing, details & other information about us and o E-mail: daniel [at] dabber.tv or dd [at] dabber.tv Phone: +46 (0) 73 626 99 85 From sonic2000gr at gmail.com Wed Feb 4 11:57:08 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Wed Feb 4 11:57:14 2009 Subject: GEOM_JOURNAL on a 550G partition - opinions ? In-Reply-To: <4989D8B6.80505@barafranca.com> References: <4989D8B6.80505@barafranca.com> Message-ID: <4989F310.4080205@gmail.com> Hugo Silva wrote: > Hi list, > > For a server I will be setting up, I am considering using gjournal on > the partition that will hold all the www data. > > The journaled partition (mounted async) would be mostly read from, > uploads would not be very frequent and most sites wouldn't write to > the disk. Logs would be kept elsewhere. > > This server will have two hard disks, mirrored (gmirror) at the disk > level. > > > > Here are my questions: > > > - Will the fact that gmirror is underneath the journal > (/dev/mirror/gm0s1f.journal) affect performance ? (either positively > or negatively) > (* I would be keeping the journal in the same provider) I can only tell you this works. Have not done any real measurements on this stuff, as most of my systems are normally not under high load. I've done this for a friend's SAMBA server, who is storing very large photo files all the time. In fact, I am just preparing our local LUG server in exactly this way. At least in theory gmirror can be set to balance (round-robin) reads from the disks, so read should be improved. On the other hand, the journaling implementation in gjournal writes everything twice, so expect to have some significant overhead there. Ivan Voras has done some performance testing on several filesystems, including UFS with soft updates and journaling. See the results in this post: http://lists.freebsd.org/pipermail/freebsd-questions/2008-December/188131.html > > - Would reads / writes be faster? considerably faster ? (gjournal) > I've seen different numbers from different places, the impression I > got is that reads should be faster while writes will be substantially > slower - is this correct ? > It seems so, at least for the writes. > - What about reliability ? From the manpage, I know that if I > journaled the entire mirror, I would not need to sync it after an > unclean shutdown. > Going from the assumption that this will not be so for a single > journaled partition, will there be any interference between gjournal > and gmirror ? I haven't had any reliability problems combining gmirror and gjournal. To my experience, gjournal syncs the gmirror almost instantly after an unclean shutdown. > > > - I've never had an UFS2 partition filled with more than 200G of data, > so I am not sure what to expect for 550G with soft-updates (I expect > this partition to hold close to 550G of data) - real numbers about > this would also be helpful. > > > Any personal experiences concerning gjournal or gmirror+gjournal are > greatly appreciated! > As I said, I've been using both (and combined) for quite some, and haven't faced any problems caused by the software. I even recovered from a serious hardware problem, without losing any data. For performance measuring I guess you would have to setup a test system and see by yourself if it is acceptable. From maslak at ihlas.net.tr Wed Feb 4 12:03:58 2009 From: maslak at ihlas.net.tr (Yavuz) Date: Wed Feb 4 12:04:05 2009 Subject: is there any way to increase disk performance ? Message-ID: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. it's running mail server which has services like pop3,imap,smtp and webmail on this machine. When I type systat 1 -vmstat on command line, even I rarely see that disk usage hits 100%. I have no problem as ram and cpu. they is enough. is there any way to increase disk performance without causing any problem ? From wmoran at potentialtech.com Wed Feb 4 12:09:35 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Wed Feb 4 12:09:43 2009 Subject: is there any way to increase disk performance ? In-Reply-To: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> References: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> Message-ID: <20090204150932.daadf33d.wmoran@potentialtech.com> In response to "Yavuz" : > I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. > > it's running mail server which has services like pop3,imap,smtp and webmail > on this machine. > > When I type systat 1 -vmstat on command line, even I rarely see that disk > usage hits 100%. > I have no problem as ram and cpu. they is enough. > > is there any way to increase disk performance without causing any problem ? 7200 RPM is a slow disk. You may be hardware bound. Have a look at gstat and see how long read and write requests are taking. If you have questions, post actual gstat output to the list, not your interpretation of it. Make sure your partitions are mounted noatime (see the man page for mount_ffs) Also, make sure they are configured with softupdates turned on (see the man page for tunefs) If you're not using Maildir for your mail storage, then switch. mboxes get really slow when they get large. Provide more details about your problem if you want more specific answers. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From amvandemore at gmail.com Wed Feb 4 12:18:46 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Feb 4 12:18:53 2009 Subject: is there any way to increase disk performance ? In-Reply-To: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> References: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> Message-ID: <4989F825.3020609@gmail.com> Yavuz wrote: > I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. > > it's running mail server which has services like pop3,imap,smtp and > webmail on this machine. > > When I type systat 1 -vmstat on command line, even I rarely see that > disk usage hits 100%. > I have no problem as ram and cpu. they is enough. > > is there any way to increase disk performance without causing any > problem ? > sysctl vfs.read_max=32 can help read performance From pb at ludd.ltu.se Wed Feb 4 12:36:10 2009 From: pb at ludd.ltu.se (Peter B) Date: Wed Feb 4 12:36:40 2009 Subject: mount time Message-ID: <200902042024.n14KOZ6E006496@brother.ludd.ltu.se> Is it normal with a mount time of 44 seconds for a 250G FAT32 volume ..? xxxxxxxxxxxxxxxx CPU: Intel(R) Pentium(R) M processor 1600MHz (1594.84-MHz 686-class CPU) umass0: on uhub3 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) time mount_msdosfs -o large /dev/da0s1 /m/u0 0.000u 3.583s 0:44.43 8.0% 10+1111k 59504+1io 0pf+0w Filesystem Size Used Avail Capacity Mounted on /dev/da0s1 232G 30G 202G 13% /m/u0 find /m/u0 | wc -l 2731 xxxxxxxxxxxxxxxx The following might be worth mentioning in the manpage: fs/msdosfs/msdosfs_vfsops.c /* * Forbid export requests if filesystem has * MSDOSFS_LARGEFS flag set. */ . . /* * Experimental support for large MS-DOS filesystems. * WARNING: This uses at least 32 bytes of kernel memory (which is not * reclaimed until the FS is unmounted) for each file on disk to map * between the 32-bit inode numbers used by VFS and the 64-bit * pseudo-inode numbers used internally by msdosfs. This is only * safe to use in certain controlled situations (e.g. read-only FS * with less than 1 million files). * Since the mappings do not persist across unmounts (or reboots), these * filesystems are not suitable for exporting through NFS, or any other * application that requires fixed inode numbers. */ The 'large' option is not mentioned in the manpage: vfs_flagopt(mp->mnt_optnew, "large", &pmp->pm_flags, MSDOSFS_LARGEFS); The threeshold between "normal" and large is defined as: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/fs/msdosfs/msdosfs_vfsops.c?rev=1.174.2.1.2.1;content-type=text%2Fplain if( pmp->pm_HugeSectors > 0xffffffff / (pmp->pm_BytesPerSec / sizeof(struct direntry)) + 1) And wich will in all cases with 512 bytes per sector result in: 0xffffffff / (512/32) +1 = 268435456.9375 * 512 = ~128 * 2^30 = ~128 GB xxxxxxxxxxxxxxxx Also is this option still experimental?, it's available as R/W in 7.1 so it might be of importance.. Maybe an alternative method for inode mapping is to use the first cluster of each file as the "inode" number. This would give 512 bytes per file on a 2 TB volume. xxxxxxxxxxxxxxxx I would suggest the following is included into the mount_msdosfs(8) manpage: large Use special mapping to handle msdos filesystems larger than 128 GB. For msdos filesystems larger than 128 GB it's neccessary to use the 'large' mount option. This will use 32 bytes of kernel memory for each file and is released when the filesystem is unmounted. This option also prohibits export for networked filesystems like NFS due inconsistent inode mapping between unmount and the next mount command. /Peter From ivand58 at gmail.com Wed Feb 4 12:47:28 2009 From: ivand58 at gmail.com (Ivan Dimitrov) Date: Wed Feb 4 12:47:35 2009 Subject: dump/restore problem In-Reply-To: <20090203135121.1ade28b7@gumby.homeunix.com> References: <498854F6.1389.2357B958@d.forsyth.ru.ac.za> <20090203135121.1ade28b7@gumby.homeunix.com> Message-ID: <4989F838.9040605@yahoo.com> Hi list when I started a migration to new HDD, according few how-tos, I got the following warning: # dump -0Lauf - /dev/ad0s1f | restore -rf - DUMP: Date of this level 0 dump: Wed Feb 4 22:02:42 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ad0s1f (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 3021238 tape blocks. *Header with wrong dumpdate.* DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] warning: ./.snap: File exists *expected next file 141455, got 146* DUMP: 2.86% done, finished in 3:35 at Thu Feb 5 01:44:32 2009 So does anyone know what, exactly, "*expected next file 141455, got 146*" and "*Header with wrong dumpdate.*" means? Thanks, Ivan From bahamasfranks at gmail.com Wed Feb 4 13:34:36 2009 From: bahamasfranks at gmail.com (Steve Franks) Date: Wed Feb 4 13:34:43 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <20090203204824.GA93304@Grumpy.DynDNS.org> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> <20090203164929.GA91845@skepsi.net> <200902031121.23565.fbsd.questions@rachie.is-a-geek.net> <20090203204824.GA93304@Grumpy.DynDNS.org> Message-ID: <539c60b90902041334l5950bd5fh3c6443f9be54044a@mail.gmail.com> > I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was !!! > a file missing altho the port was installed. Forced it to build and !!! > reinstall and things were able to build once again. Someone (maintainer or upstream) should be paying more attention here. All my systems have gone thru this problem this week. That begins to cross over from nuisance to something stronger in my book....I don't like port problems that break *everything* - should have been obvious to catch before releasing it into the wild if it breaks (at my estimate) 20+ ports. Same as the current X.Org 7.4 issues...we losing our touch or something? I like gloating to the linux people about robustness. Hate to give them fodder ;) Steve From Lokadamus at gmx.de Wed Feb 4 13:46:43 2009 From: Lokadamus at gmx.de (Lokadamus) Date: Wed Feb 4 13:46:50 2009 Subject: [6.3] ALT-CTRL-DEL = clean unmount? In-Reply-To: References: Message-ID: <498A0CC7.9030506@gmx.de> Gilles wrote: > I was wondering: When hitting the ALT-CTRL-DEL combination as an easy > way to call "reboot", does this unmount disks properly? > > ad0: DMA limited to UDMA33, controller found non-ATA66 cable > ad0: 19092MB at ata0-master UDMA3 > Can you change your IDE- Cable from ATA- 33 to ATA-66/100? Have you this error, when you make a reboot with shutdown -r now? From freebsd at optiksecurite.com Wed Feb 4 13:53:12 2009 From: freebsd at optiksecurite.com (FreeBSD) Date: Wed Feb 4 13:53:29 2009 Subject: Link UP/DOWN problem with re0 on FreeBSD 7.1 In-Reply-To: <497E24E5.5090701@optiksecurite.com> References: <497DDDB7.4000702@optiksecurite.com> <497E07D1.3030604@optiksecurite.com> <01FB8F39BAD0BD49A6D0DA8F78973929561F@Mercury.galaxy.lan.lcl> <497E24E5.5090701@optiksecurite.com> Message-ID: <498A0ECA.2070002@optiksecurite.com> FreeBSD a ?crit : > Graeme Dargie a ?crit : >> If you do a dmesg are you also showing a watchdog time out for the nic ? >> >> I only ask as I am having the exact same problem with the exact same >> card and I have yet to find a solution, if I come across something I >> will let you know. >> >> Regards >> Graeme > > Not a single time...sorry. > >> >> -----Original Message----- >> From: FreeBSD [mailto:freebsd@optiksecurite.com] Sent: 26 January 2009 >> 18:58 >> To: freebsd-questions@freebsd.org >> Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1 >> >> FreeBSD a ?crit : >>> Hi everyone, >>> >>> Just to put you in context, I applied the following patch to make the >>> card available: >>> >>> SVN rev 186389 on 2008-12-22 00:46:22Z by yongari >>> >>> Since we don't request reset for rlphy(4), the link state 'UP' >>> event from mii(4) may not be delivered if valid link was already >>> established. To address the issue, check current link state after >>> driving MII_TICK. This should fix a regression introduced in >>> r185753 on fast ethernet controllers. >>> >>> --- >>> >>> I don't have any issue related to that anymore. The problem is that I >>> get link UP/DOWN a few times per hour on 3 identical machines that I >>> dumped/restored. They are all pluged in a Cisco switch that works >>> fine for every other PCs. >>> >>> Jan 26 06:09:15 term005 kernel: re0: link state changed to DOWN >>> Jan 26 06:09:17 term005 kernel: re0: link state changed to UP >>> >>> I tried to switch cables, but I got the same result. >>> >>> There is the pciconf -lv output: >>> >>> re0@pci0:3:0:0: class=0x020000 card=0x02831028 chip=0x816810ec >>> rev=0x02 hdr=0x00 >>> vendor = 'Realtek Semiconductor' >>> device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' >>> class = network >>> subclass = ethernet >>> >>> There is the output of vmstat -i: >>> >>> interrupt total rate >>> irq18: re0 ehci0++ 63766 0 >>> irq19: atapci0 277001 3 >>> cpu0: timer 156068748 1961 >>> Total 156409515 1966 >>> >>> Could it be related to the fact that there is re0 and ehci0++ on the >>> same IRQ? >>> >>> Thank you for your help, >>> >>> Martin >> >> I just tried with a brand new Dell 2708 switch and the problem is >> still there. I just confirmed that the UP/DOWN occurs every 10 minutes >> (+- a few seconds). >> >> Thanks again, >> >> Martin >> Just to follow-up on my own problem... I tried to disable some options of the card with : ifconfig re0 -rxcsum -txcsum -tso -lro -vlanhwtag but nothing as changed. I just tried to download a big file (FreeBSD 7.1-REL DVD iso in fact) to see if the deconnection occurs even during a transfer. The DVD downloaded successfully and I verified that the MD5 are OK. BUT, /var/log/messages continue to tell me that: Feb 4 16:09:29 term003 kernel: re0: link state changed to UP Feb 4 16:19:26 term003 kernel: re0: link state changed to DOWN Feb 4 16:19:30 term003 kernel: re0: link state changed to UP Feb 4 16:19:32 term003 kernel: re0: link state changed to DOWN during the transfer (which worked OK). I don't know if that can help someone to help me ;) Thanks, Martin From Lokadamus at gmx.de Wed Feb 4 13:57:19 2009 From: Lokadamus at gmx.de (Lokadamus) Date: Wed Feb 4 13:57:25 2009 Subject: Perl: Why not updated to latest version 5.10.0 In-Reply-To: <20090121083404.5ff1f70c@scorpio> References: <20090121063401.23e8de5b@scorpio> <18807.7172.480547.436287@jerusalem.litteratus.org> <20090121083404.5ff1f70c@scorpio> Message-ID: <498A0F42.1030408@gmx.de> Jerry wrote: > I subscribe to the port@ list as well as this one obviously and I do > not remember seeing that article. I will keep looking. > http://docs.freebsd.org/mail/ <-- Archiv of maillinglist :) From omerfsen at gmail.com Wed Feb 4 14:00:37 2009 From: omerfsen at gmail.com (Omer Faruk Sen) Date: Wed Feb 4 14:00:43 2009 Subject: system time on top output Message-ID: <75a268720902041400p1db8057bn726907d102efe88c@mail.gmail.com> Hi, I have a running pgsql server but on heavy loads it consumes lots of time in system (more than %50). I can see that CPU states: 15.4% user, 0.0% nice, 81.9% system, 1.5% interrupt, 1.2% idle But how can I debug that kind of system. vmstat and other tools only show most cpu is used by system. But how can I go deeper and debug that kind of a problem? Any tools that you can suggest me? From frederic.perrin at resel.fr Wed Feb 4 14:17:05 2009 From: frederic.perrin at resel.fr (=?utf-8?Q?Fr=C3=A9d=C3=A9ric_Perrin?=) Date: Wed Feb 4 14:17:12 2009 Subject: Multiple MAC on a single (physical) interface In-Reply-To: <4ad871310902041036m32ed57c5qd1f56329be37013b@mail.gmail.com> (Glen Barber's message of "Wed, 4 Feb 2009 13:36:05 -0500") References: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> <4ad871310902041036m32ed57c5qd1f56329be37013b@mail.gmail.com> Message-ID: <86eiydn8yv.fsf@chameau.maisel.enst-bretagne.fr> Le Mercredi 4 ? 19:36, Glen Barber a ?crit : > Forgive me if I am misunderstanding what you are trying to accomplish, > but it appears you just want to have several jails with sevaral IP > addresses. I'm not clear on why you mentioned MAC, as from what I see, > is irrelevant. I want each jail to have a different MAC [1]. Since I live in a level 2 network (i.e. we only do Ethernet switching, and no IP routing), it would be easy to see that the host and its jail(s) are on the same system since they share the same MAC. I want to make the jail appear as a completely different host from the point of vue of the rest of the network. > What you can do is create aliased devices in > rc.conf for your jails: > ifconfig_em0="whatever" > ifconfig_em0_alias0="my settings" > ifconfig_em0_alias1="more settings" Yes, I saw that on the first article on jails I read :-). But packets from alias0 will still have the same MAC as em0, which I don't want. The obvious 'ifconfig em0 ether xx.xx.xx alias' won't work, it replaces em0's MAC. [1] MAC as in Media Access Control aka Ethernet address, we're not discussing mandatory access control. -- Fred From glen.j.barber at gmail.com Wed Feb 4 14:26:08 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Feb 4 14:26:14 2009 Subject: Multiple MAC on a single (physical) interface In-Reply-To: <86eiydn8yv.fsf@chameau.maisel.enst-bretagne.fr> References: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> <4ad871310902041036m32ed57c5qd1f56329be37013b@mail.gmail.com> <86eiydn8yv.fsf@chameau.maisel.enst-bretagne.fr> Message-ID: <4ad871310902041426o6ea672b8ubcf1a5a1efb105e3@mail.gmail.com> A bit of searching for "freebsd rc.conf ifconfig mac address" brought me to this, in a previous mailing list thread. Not sure if this works with 'alias'ed interfaces, but worth a shot, I suppose. ifconfig_em0="inet 1.2.3.4 netmask 255.0.0.0 ether aa:bb:cc:dd:ee:ff" -- Glen Barber From ohartman at mail.zedat.fu-berlin.de Wed Feb 4 14:28:42 2009 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Wed Feb 4 14:28:49 2009 Subject: IDL on FreeBSD 8.0-CURRENT/AMD64 Message-ID: <498A16A2.8090700@mail.zedat.fu-berlin.de> Hello, I need to run a Linux 32Bit IDL-7.0 binary (IDL vm) on a FreeBSD-8.0-CURRENT/amd64 box. Does anyone out here already performed that task and is willing and able giving some hints? Thanks in advance, Oliver From wojtek at wojtek.tensor.gdynia.pl Wed Feb 4 14:41:35 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Feb 4 14:41:43 2009 Subject: is there any way to increase disk performance ? In-Reply-To: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> References: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> Message-ID: <20090204234110.T19562@wojtek.tensor.gdynia.pl> > I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. > > it's running mail server which has services like pop3,imap,smtp and webmail > on this machine. > > When I type systat 1 -vmstat on command line, even I rarely see that disk > usage hits 100%. > I have no problem as ram and cpu. they is enough. > > is there any way to increase disk performance without causing any problem ? i don't understand your problem. From jwm-freebsd-questions at sentinelchicken.net Wed Feb 4 14:48:54 2009 From: jwm-freebsd-questions at sentinelchicken.net (Jason Morgan) Date: Wed Feb 4 14:49:01 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <20090203204824.GA93304@Grumpy.DynDNS.org> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> <20090203164929.GA91845@skepsi.net> <200902031121.23565.fbsd.questions@rachie.is-a-geek.net> <20090203204824.GA93304@Grumpy.DynDNS.org> Message-ID: <20090204224852.GA4860@skepsi.net> On 2009.02.03 14:48:24, David Kelly wrote: > On Tue, Feb 03, 2009 at 11:21:23AM -0900, Mel wrote: > > On Tuesday 03 February 2009 07:49:29 Jason Morgan wrote: > > Do it a few times in a row, the sourceforge servers are overloaded > > apparently and return false errors. > > Either that, or familiarize yourself with XML categories, download the > > file and update the XML cat file to use a local version rather then > > remote for that particular file. > > Uh, tuning in late here. Also running portupgrade and had problems with > policy and XML stuff. > > I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was > a file missing altho the port was installed. Forced it to build and > reinstall and things were able to build once again. > > Portupgrade is still building so I can't get at my shell history to > verify. > > Did something similar for the international library stuff. I've now gone through any number of different install strategies and can't find a method that consistently allows me to get needed ports installed. I finally, after trying off-and-on for three days, have X working, but many of the applications I use everyday (e.g., anything GTK/GNOME related) won't install. Mostly, I get streams of stuff like this: http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod:115: parser warning : PEReference: %list.class; not found %local.divcomponent.mix;"> ^ http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod:115: parser warning : PEReference: %admon.class; not found %local.divcomponent.mix;"> ^ And assorted other parse errors. Should I be submitting a PR for this? -- ~ Jason Morgan From andrewhw at ieee.org Wed Feb 4 15:02:39 2009 From: andrewhw at ieee.org (A. Wright) Date: Wed Feb 4 15:02:46 2009 Subject: dump/restore problem In-Reply-To: <4989F838.9040605@yahoo.com> References: <498854F6.1389.2357B958@d.forsyth.ru.ac.za> <20090203135121.1ade28b7@gumby.homeunix.com> <4989F838.9040605@yahoo.com> Message-ID: Ivan; > when I started a migration to new HDD, according few how-tos, I got the > following warning: > > # dump -0Lauf - /dev/ad0s1f | restore -rf - When debugging dump/restore problems, it is always best to dump to a file, and then restore from the file -- this allows you to see which of dump and restore is printing which message. I would guess that the "Header with wrong dumpdate" is this issue: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/118087 More surprising is: > warning: ./.snap: File exists > *expected next file 141455, got 146* > DUMP: 2.86% done, finished in 3:35 at Thu Feb 5 01:44:32 2009 What exactly is your .snap entry? Is it actually a directory, or do you have a file called .snap that is getting in the way? The "expected next file" message indicates inode numbers out of sequence, which I would guess also come from restore -- if the warning about .snap comes from dump, then I would encourage you to make sure that dump cleanly creates its archive (to a file) before spelunking in the restore error messages. If you are short of space and are using several partitions on your new drive, just format the largest and place the output files there while you experiement. Andrew. From frederic.perrin at resel.fr Wed Feb 4 15:20:14 2009 From: frederic.perrin at resel.fr (=?utf-8?Q?Fr=C3=A9d=C3=A9ric_Perrin?=) Date: Wed Feb 4 15:20:30 2009 Subject: Multiple MAC on a single (physical) interface In-Reply-To: <4ad871310902041426o6ea672b8ubcf1a5a1efb105e3@mail.gmail.com> (Glen Barber's message of "Wed, 4 Feb 2009 17:26:06 -0500") References: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> <4ad871310902041036m32ed57c5qd1f56329be37013b@mail.gmail.com> <86eiydn8yv.fsf@chameau.maisel.enst-bretagne.fr> <4ad871310902041426o6ea672b8ubcf1a5a1efb105e3@mail.gmail.com> Message-ID: <864oz9n61l.fsf@chameau.maisel.enst-bretagne.fr> Le Mercredi 4 ? 23:26, Glen Barber a ?crit : > A bit of searching for "freebsd rc.conf ifconfig mac address" brought > me to this, in a previous mailing list thread. Not sure if this works > with 'alias'ed interfaces, but worth a shot, I suppose. > > ifconfig_em0="inet 1.2.3.4 netmask 255.0.0.0 ether aa:bb:cc:dd:ee:ff" Actually, this exact syntax won't work because ifconfig can't change both the inet and the ethernet address in one shot (see [1] or [2]), the workaround being : ifconfig_em0="inet 1.2.3.4/8" ifconfig_em0_alias0="ether a:b:c:d:e:f" And, however you take it, it seems that you can't have two MAC addresses on one interface, yet this is what I ultimately want. with the above exemple, the original MAC address of em0 will be overwritten by the new one. [1] for the "bug" that appeared in 4.6, along with quite a lot of details, and [2] for an ack to the fact that it is still in 7-stable. -- Fred From rock_on_the_web at comcen.com.au Wed Feb 4 15:31:15 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Wed Feb 4 15:31:23 2009 Subject: Xlib: extension "Generic Event Extension" missing on display ":0.0" In-Reply-To: <20090204175652.GB64529@slackbox.xs4all.nl> References: <1233756631.66655.11.camel@laptop1.herveybayaustralia.com.au> <20090204175652.GB64529@slackbox.xs4all.nl> Message-ID: <1233790284.66655.20.camel@laptop1.herveybayaustralia.com.au> On Wed, 2009-02-04 at 18:56 +0100, Roland Smith wrote: > On Thu, Feb 05, 2009 at 12:10:30AM +1000, Da Rock wrote: > > Ok, I give up... wtf am I missing here? > > The Xext library has the extension, but the server hasn't yet. It should > be harmless. I don't notice any problems with it. (7.1-RELEASE amd64 > with Xorg 7.4) > > > I can now confirm this problem in several ways: > > 1) I just ran xine, mplayer, and file-roller and the error came up > > causing all programs bar file-roller to crash. > > I've got mplayer playing fine with this message. > > > Logs don't show anything, this error is just on screen (wierd?). Another > > clarification to this is that it only happens in media players after > > content is attempted to load. > > What driver are you using in X? And what kind of video output driver are > you using in mplayer? > > X is working fine here on a Radeon X1650 on 7.1-RELEASE with rnoland's > last patch to update the kernel direct rendering support (which should > be in 7-STABLE by now). Accellerated X works, 2D and 3D. Xv also works. This is getting very interesting now. Based On your comments as well as others this could be related to intel. So far all good reports are from radeon video drivers, but I happen to be running onboard intel videos. xorg.conf (Let me know if there could be any security risk in posting this verbatim, I couldn't see how myself.): Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AIGLX" "True" EndSection Section "Files" # RgbPath "/usr/local/share/X11/rgb" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "glx" Load "GLcore" Load "xtrap" Load "dri" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 330 210 # mm Identifier "Monitor0" VendorName "SEC" ModelName "4945" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [] #Option "SWcursor" # [] #Option "ColorKey" # #Option "CacheLines" # #Option "Dac6Bit" # [] #Option "DRI" # [] #Option "NoDDC" # [] #Option "ShowCache" # [] #Option "XvMCSurfaces" # #Option "PageFlip" # [] Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile GM965/GL960 Integrated Graphics Controller" BusID "PCI:0:2:0" #Option "LVDS24Bit" "True" Option "AddARGBGLXVisuals" "True" Option "DRI" "True" Option "AccelMethod" "EXA" Option "XAANoOffscreenPixmaps" "True" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" EndSection Section "DRI" Mode 0666 EndSection This is just on my laptop, I set this up in my testing compiz-fusion, the other is just generic (no conf). I'm going to test the EXA instead of XAA now (noticed that might be a common feature- most likely a driver issue though), but I'm sending this message before I have to restart X. Cheers From keramida at ceid.upatras.gr Wed Feb 4 15:37:47 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Feb 4 15:38:13 2009 Subject: OT: SVN checkout checksumming In-Reply-To: <4989B239.9090504@optiksecurite.com> (freebsd@optiksecurite.com's message of "Wed, 04 Feb 2009 10:20:25 -0500") References: <4989B239.9090504@optiksecurite.com> Message-ID: <878wolpydl.fsf@kobe.laptop> On Wed, 04 Feb 2009 10:20:25 -0500, FreeBSD wrote: > Hi everyone, > > I have asked this question on the svnforum.org and didn't got a good > answer, so I try it here. > > I want to use SVN to automate the update process of a custom > application. So, I'm planning to indicate to every PC to update > periodically to a specific branch of the repository. The problem is > that I need to be sure the files where not corrupted during the > transfer. So, I'm planning to generate the hash (SHA or MD5, doesn't > really matters) of every file downloaded by SVN on the client. For > this to work, I need to compare the hashes with their server-side > equivalent. I looked at the post-commit hooks and it looks pretty > interesting but is anyone doing something similar? How are you > creating the file containing the hash of the committed file? Let's assume for a moment that you install a post-commit hook that generates a SHA-256 checksum of all the files in the latest repo revision on the svn server. For the sake of simplicity, let's assume that this file is a simple, plain text file that is named db/revs/NUMBER.sha256 where 'NUMBER' is the revision number you are check-summing. How are you going to *safely* transmit those SHA-256 checksums to the client on 'svn checkout'? If you have a communication channel between the SVN server and its clients that it "secure enough", why would you want to go through the extra hoops to communicate the checksums of the files and not tunnel the checkout itself through the secure channel? > I got 2 answers on the forum from people thinking that SVN takes care > of the checksumming by itself, but I would like a little more > information than that. What is the algorithm used would be a nice > start. They were probably referring to the internal checksums of the FSFS storage format of the SVN repository itself. There is a description of the internal FSFS storage format at: http://svn.collab.net/repos/svn/trunk/subversion/libsvn_fs_fs/structure This may be useful as you try to understand what is stored in an FSFS-based Subversion repository. From roberthuff at rcn.com Wed Feb 4 15:48:48 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Feb 4 15:48:56 2009 Subject: Xlib: extension "Generic Event Extension" missing on display ":0.0" In-Reply-To: <1233790284.66655.20.camel@laptop1.herveybayaustralia.com.au> References: <1233756631.66655.11.camel@laptop1.herveybayaustralia.com.au> <20090204175652.GB64529@slackbox.xs4all.nl> <1233790284.66655.20.camel@laptop1.herveybayaustralia.com.au> Message-ID: <18826.10584.602314.173622@jerusalem.litteratus.org> Da Rock writes: > > X is working fine here on a Radeon X1650 on 7.1-RELEASE with rnoland's > > last patch to update the kernel direct rendering support (which should > > be in 7-STABLE by now). Accellerated X works, 2D and 3D. Xv also works. > > This is getting very interesting now. Based On your comments as > well as others this could be related to intel. So far all good > reports are from radeon video drivers, but I happen to be running > onboard intel videos. I'm getting this. It appears harmless. The machine in question has a Matrox G450. Robert Huff From glen.j.barber at gmail.com Wed Feb 4 15:51:58 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Feb 4 15:52:04 2009 Subject: Multiple MAC on a single (physical) interface In-Reply-To: <864oz9n61l.fsf@chameau.maisel.enst-bretagne.fr> References: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> <4ad871310902041036m32ed57c5qd1f56329be37013b@mail.gmail.com> <86eiydn8yv.fsf@chameau.maisel.enst-bretagne.fr> <4ad871310902041426o6ea672b8ubcf1a5a1efb105e3@mail.gmail.com> <864oz9n61l.fsf@chameau.maisel.enst-bretagne.fr> Message-ID: <4ad871310902041551h4085a3dcu2ba6b0a92f9f2c06@mail.gmail.com> On Wed, Feb 4, 2009 at 6:20 PM, Fr?d?ric Perrin wrote: > ifconfig_em0="inet 1.2.3.4/8" > ifconfig_em0_alias0="ether a:b:c:d:e:f" > Well, I was thinking: ifconfig_em0="inet 1.2.3.4" ifconfig_em0_alias0="1.2.3.5 ether xx:xx:xx:xx:xx" -- Glen Barber From dd at dabber.tv Wed Feb 4 16:55:06 2009 From: dd at dabber.tv (Daniel Daboczy - DABBER) Date: Wed Feb 4 16:55:13 2009 Subject: Dabber Newsletter - Feb 2009 Message-ID: <25134.LAQHLLJM@dabber.tv> Dabber Newsletter New video player examples We?ve been working hard on presenting different variations of the kind ofthan just coolknowledge as the glueapplications and services oufor the 'wow-factor', while otherstheir business while others need our dstep from idea to an well-visited website. Whis ready to take you from static to stunning! See examples Client example We are proud to show you an example of a very succesful client case. We werapproach thethe experience and Visit the web site: About us Dabber is an Internet start-up, focused on helping you change the way you cit?s alsit. The old days o We offer a wide range of online video solutions that are innovative, affordmanagement platfointuitive 3D video plascene as well as in web devtechnology with an understanding of what Visit our web site: www. To unsubscribe, please forward this email to unsubscribe@dabber.tv Our services For more information about our services, please download the Dabber white paper. Contact us For questions regarding pricing, details & other information about us and o E-mail: daniel [at] dabber.tv or dd [at] dabber.tv Phone: +46 (0) 73 626 99 85 From tfcheng at gmail.com Wed Feb 4 17:08:31 2009 From: tfcheng at gmail.com (Tsu-Fan Cheng) Date: Wed Feb 4 17:08:42 2009 Subject: libxcb-xlib issue Message-ID: Hi, just a while ago I run "portupgrade -rf libxcb" to rebuild anything that depends on libxcb, and there are A LOT of them!! While during rebuild, some work but some don't, which is fine, since my problem was solved at the moment. But today, I realize that transcode has not been fixed, and I really don't want to go through the same portupgrade process again. Can someone tell me a better way to resolve it? The error that ended the transcode rebuild is like this: ============================= /bin/sh /usr/local/bin/libtool --tag=CC --mode=link cc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -pipe -module -avoid-version -L/usr/local/lib -o filter_preview.la -rpath /usr/local/lib/transcode filter_preview.lo display.lo -L/usr/local/lib -R/usr/local/lib -lSM -lICE -lXext -lX11 -L/usr/local/lib -L/usr/local/include -ldv -L/usr/local/lib -L/usr/local/include -ldv -lm -lXv -L/usr/local/lib -lSDL -Wl,-rpath,/usr/local/lib -pthread grep: /usr/local/lib/libxcb-xlib.la: No such file or directory sed: /usr/local/lib/libxcb-xlib.la: No such file or directory libtool: link: `/usr/local/lib/libxcb-xlib.la' is not a valid libtool archive gmake[3]: *** [filter_preview.la] Error 1 gmake[3]: Leaving directory `/usr/ports/multimedia/transcode/work/transcode-1.0.6/filter/preview' thank you !! TFC From jaime at snowmoon.com Wed Feb 4 19:05:32 2009 From: jaime at snowmoon.com (Jaime) Date: Wed Feb 4 19:05:38 2009 Subject: shell commands - exclusion In-Reply-To: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> Message-ID: On Wed, Feb 4, 2009 at 9:35 AM, t-u-t wrote: > if i have say one (or even two) single file/directories among many others, > and i want to perform any said function like cp, mv, rm, etc.. , to all > other files except that one or two, is there a way to do that in a single > command? > e.g > rm -r * {-except foo1 foo15} I'm just shooting in the dark here, but what about this? ls | grep -v foo1 | grep -v foo15 | xargs rm -rf Remember the Unix "pipe" and the grep and xargs commands. It can solve a lot of things by stringing together a lot of smaller commands. I think that this might be one of those situations. Good luck, Jaime -- "To affect the quality of the day, that is the highest of arts." -- Henry David Thoreau Tone of voice in email is misunderstood 50% of the time. Source: http://www.howtoweb.com/cgi-bin/insider.pl?zone=214061 From dan-freebsd-questions at ourbrains.org Wed Feb 4 19:17:59 2009 From: dan-freebsd-questions at ourbrains.org (Dan) Date: Wed Feb 4 19:18:06 2009 Subject: Looking for a Good FreeBSD and General Unix Backup System In-Reply-To: <49806194.9070402@poughkeepsieschools.org> References: <200901272230.n0RMUsk7035006@dc.cis.okstate.edu> <991123400901272229i550b9003w12ae146c1d010a97@mail.gmail.com> <49806194.9070402@poughkeepsieschools.org> Message-ID: <20090205025137.GA17876@ourbrains.org> I second BackupPC. Very nice, despite what some may consider a misleading name. From tajudd at gmail.com Wed Feb 4 19:33:18 2009 From: tajudd at gmail.com (Tim Judd) Date: Wed Feb 4 19:33:25 2009 Subject: Perl: Why not updated to latest version 5.10.0 In-Reply-To: <498A0F42.1030408@gmx.de> References: <20090121063401.23e8de5b@scorpio> <18807.7172.480547.436287@jerusalem.litteratus.org> <20090121083404.5ff1f70c@scorpio> <498A0F42.1030408@gmx.de> Message-ID: On Wed, Feb 4, 2009 at 2:57 PM, Lokadamus wrote: > Jerry wrote: > >> I subscribe to the port@ list as well as this one obviously and I do >> not remember seeing that article. I will keep looking. >> >> > http://docs.freebsd.org/mail/ <-- Archiv of maillinglist :) > I remember commenting on it. Please search for keywords, like perl, 5.10, use my last name, ---- it's a FAQ by now. It boils down to "we're not ready to move completely to it as the default version" From will.rutherdale at utoronto.ca Wed Feb 4 19:38:02 2009 From: will.rutherdale at utoronto.ca (William Gordon Rutherdale) Date: Wed Feb 4 19:38:09 2009 Subject: shell commands - exclusion In-Reply-To: <20090204091459.G16842@qroenaqrq.6qbyyneqvnyhc.pbz> References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> <20090204091459.G16842@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <498A5F18.1060500@utoronto.ca> Lars Eighner wrote: > On Wed, 4 Feb 2009, t-u-t wrote: > >> hi, i don't know if this is a freak question, but i was looking >> around to >> see if this is possible, and what the convention would be. >> >> if i have say one (or even two) single file/directories among many >> others, >> and i want to perform any said function like cp, mv, rm, etc.. , to all >> other files except that one or two, is there a way to do that in a >> single >> command? >> e.g >> rm -r * {-except foo1 foo15} > > In general this is not possible. . . . Oh yes it is, it is very easy. I've done things like this in unix environments for years. I also apply it to tar commands all the time. All you have to do is this: $ ls >rm.in $ vi rm.in . . . edit out all the files you don't want to erase . . . $ rm `cat rm.in` -Will From glavoie at gmail.com Wed Feb 4 20:18:26 2009 From: glavoie at gmail.com (Gabriel Lavoie) Date: Wed Feb 4 20:18:33 2009 Subject: GEOM_JOURNAL on a 550G partition - opinions ? In-Reply-To: <4989F310.4080205@gmail.com> References: <4989D8B6.80505@barafranca.com> <4989F310.4080205@gmail.com> Message-ID: Hi, two 500gb hard drives under gmirror/gjournal and no problem here. I've had a few problems with the root partition under gjournal in FreeBSD 7.0. With an unclean shutdown, the journal replay wasn't done quickly enough before the kernel tried to mount the root partition, failing to do so because the device node is only created after the journal has been replayed. I reported the bug and it has been corrected in HEAD but I don't know if the correction made its way on 7.1. So, my / partition is on gmirror only with soft-updates and the rest of my system has gjournal on top of gmirror. Made a lot of test by resetting the system and removing/putting back a hard drive and the system always came back in a clean state. Gabriel 2009/2/4 Manolis Kiagias : > Hugo Silva wrote: >> Hi list, >> >> For a server I will be setting up, I am considering using gjournal on >> the partition that will hold all the www data. >> >> The journaled partition (mounted async) would be mostly read from, >> uploads would not be very frequent and most sites wouldn't write to >> the disk. Logs would be kept elsewhere. >> >> This server will have two hard disks, mirrored (gmirror) at the disk >> level. >> >> >> >> Here are my questions: >> >> >> - Will the fact that gmirror is underneath the journal >> (/dev/mirror/gm0s1f.journal) affect performance ? (either positively >> or negatively) >> (* I would be keeping the journal in the same provider) > > I can only tell you this works. Have not done any real measurements on > this stuff, as most of my systems are normally not under high load. > I've done this for a friend's SAMBA server, who is storing very large > photo files all the time. In fact, I am just preparing our local LUG > server in exactly this way. > At least in theory gmirror can be set to balance (round-robin) reads > from the disks, so read should be improved. On the other hand, the > journaling implementation in gjournal writes everything twice, so expect > to have some significant overhead there. > Ivan Voras has done some performance testing on several filesystems, > including UFS with soft updates and journaling. See the results in this > post: > > http://lists.freebsd.org/pipermail/freebsd-questions/2008-December/188131.html > >> >> - Would reads / writes be faster? considerably faster ? (gjournal) >> I've seen different numbers from different places, the impression I >> got is that reads should be faster while writes will be substantially >> slower - is this correct ? >> > > It seems so, at least for the writes. > > >> - What about reliability ? From the manpage, I know that if I >> journaled the entire mirror, I would not need to sync it after an >> unclean shutdown. >> Going from the assumption that this will not be so for a single >> journaled partition, will there be any interference between gjournal >> and gmirror ? > > I haven't had any reliability problems combining gmirror and gjournal. > To my experience, gjournal syncs the gmirror almost instantly after an > unclean shutdown. > >> >> >> - I've never had an UFS2 partition filled with more than 200G of data, >> so I am not sure what to expect for 550G with soft-updates (I expect >> this partition to hold close to 550G of data) - real numbers about >> this would also be helpful. >> >> >> Any personal experiences concerning gjournal or gmirror+gjournal are >> greatly appreciated! >> > > As I said, I've been using both (and combined) for quite some, and > haven't faced any problems caused by the software. I even recovered > from a serious hardware problem, without losing any data. For > performance measuring I guess you would have > to setup a test system and see by yourself if it is acceptable. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Gabriel Lavoie glavoie@gmail.com From tonyrieser at gmail.com Wed Feb 4 20:32:42 2009 From: tonyrieser at gmail.com (Antonio Rieser) Date: Wed Feb 4 20:32:49 2009 Subject: Graphics tablet / Xorg / mouse problems In-Reply-To: <58a2fd890902041949s50c66abdqc15b34ed68982e9a@mail.gmail.com> References: <58a2fd890901311924s6bf36cb5w47d845d8d8090af8@mail.gmail.com> <4986BE9E.90905@bsdforen.de> <58a2fd890902041949s50c66abdqc15b34ed68982e9a@mail.gmail.com> Message-ID: <58a2fd890902042032v7a14e775qaaa987175e9a3b8a@mail.gmail.com> Hi, Whatever I did before, it had no effect. The temporary fix, for some reason, has been to deactivate kdm. Can anyone explain this? All the best, Tony From jiabwang at redhat.com Wed Feb 4 21:43:03 2009 From: jiabwang at redhat.com (wang_jiabo) Date: Wed Feb 4 21:43:10 2009 Subject: [NS]freebsd 7.0 could not send Neighbor Solicitation when I reboot the freebsd Message-ID: <498A7CA4.9050905@redhat.com> Hello, everyone: when I reboot freebsd7.0, it did not send NS package, I only can receive RS. could you tell me why. tcpdump log info: reading from file 1.2.A, link-type EN10MB (Ethernet) 13:20:11.994102 IP6 fe80::2e0:4cff:fe19:129f > ff02::2: ICMP6, router solicitation, length 16 13:20:11.994107 IP6 fe80::2e0:4cff:fe19:129f > ff02::2: ICMP6, router solicitation, length 16 13:20:14.546713 IP6 fe80::2e0:4cff:fe19:129f > ff02::2:fc25:dbcf: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::2:fc25:dbcf, length 24 13:20:14.546725 IP6 fe80::2e0:4cff:fe19:129f > ff02::2:fc25:dbcf: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::2:fc25:dbcf, length 24 13:20:15.546584 IP6 fe80::2e0:4cff:fe19:129f > ff02::1:ff19:129f: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::1:ff19:129f, length 24 13:20:15.546595 IP6 fe80::2e0:4cff:fe19:129f > ff02::1:ff19:129f: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::1:ff19:129f, length 24 13:20:15.993560 IP6 fe80::2e0:4cff:fe19:129f > ff02::2: ICMP6, router solicitation, length 16 13:20:15.993567 IP6 fe80::2e0:4cff:fe19:129f > ff02::2: ICMP6, router solicitation, length 16 13:20:19.994014 IP6 fe80::2e0:4cff:fe19:129f > ff02::2: ICMP6, router solicitation, length 16 13:20:19.994021 IP6 fe80::2e0:4cff:fe19:129f > ff02::2: ICMP6, router solicitation, length 16 From rock_on_the_web at comcen.com.au Wed Feb 4 21:44:01 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Wed Feb 4 21:44:08 2009 Subject: Graphics tablet / Xorg / mouse problems In-Reply-To: <58a2fd890902042032v7a14e775qaaa987175e9a3b8a@mail.gmail.com> References: <58a2fd890901311924s6bf36cb5w47d845d8d8090af8@mail.gmail.com> <4986BE9E.90905@bsdforen.de> <58a2fd890902041949s50c66abdqc15b34ed68982e9a@mail.gmail.com> <58a2fd890902042032v7a14e775qaaa987175e9a3b8a@mail.gmail.com> Message-ID: <1233812666.10531.21.camel@laptop1.herveybayaustralia.com.au> On Wed, 2009-02-04 at 23:32 -0500, Antonio Rieser wrote: > Hi, > > Whatever I did before, it had no effect. The temporary fix, for some > reason, has been to deactivate kdm. Can anyone explain this? For starters hald should probably be disabled in rc.conf: hald_enable="NO". That said; how are you disabling kdm? Whats working now? This could be a case of root and user permissions, once one has a hold of the device another may not be able to control it and permissions are not passed on. From tajudd at gmail.com Wed Feb 4 21:55:02 2009 From: tajudd at gmail.com (Tim Judd) Date: Wed Feb 4 21:55:34 2009 Subject: is there any way to increase disk performance ? In-Reply-To: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> References: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> Message-ID: <498A7F31.30206@gmail.com> Yavuz wrote: > I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. > > it's running mail server which has services like pop3,imap,smtp and > webmail on this machine. > > When I type systat 1 -vmstat on command line, even I rarely see that > disk usage hits 100%. > I have no problem as ram and cpu. they is enough. > > is there any way to increase disk performance without causing any problem ? > So in one second, the disk hits 100% utilization, weather it's reading or writing data to disk. You said above that "I rarely see" -- so even though, as a server, you're running slow spindles, you are doing pretty good. I've no real experience with a site that's (for example) been slashdotted, to test what is tolerable, and what's not. But as I currently guess, an OVERALL average between 25% to 33% is about as much as I would ever tax a server for CONSISTENT averages. So if you're seeing it rarely, such as when somebody hits webmail and takes 1 second of constant disk read to serve the content, I'd be happy there... I don't think you have a problem, when you put your concern into the broader scope of 1 minute, 1 hour, 1 day or 1 week. It'll be very difficult to never see 100% in 1 second no matter how powerful the machine is. HTH --Tim From uspoerlein at gmail.com Wed Feb 4 23:36:35 2009 From: uspoerlein at gmail.com (Ulrich =?utf-8?B?U3DDtnJsZWlu?=) Date: Wed Feb 4 23:36:42 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: <49837CFD.4080603@mail.zedat.fu-berlin.de> References: <49837CFD.4080603@mail.zedat.fu-berlin.de> Message-ID: <20090205073631.GI93090@acme.spoerlein.net> On Fri, 30.01.2009 at 23:19:41 +0100, O. Hartmann wrote: > After upgrading one of my FreeBSD 8.0-CUR/amd64 boxes to new xorg-7.4 > and having done hurting recompiling nearly everything/package twice now > firefox3 still doesn't work properly and hits me when starting with this > error message: > > Xlib: extension "Generic Event Extension" missing on display ":0.0". > > Then firefox3 freezes forever, showing something like the background or > pixel remnants of windows/picograms moving over its window. This should be unrelated to Xorg 7.4, as it happens to my 7.1 box, running Xorg 7.3 and the latest firefox3. Please try backing down firefox3 or some other related libraries that were updated in the last month (when this started to show up) Cheers, Ulrich Sp?rlein -- None are more hopelessly enslaved than those who falsely believe they are free -- Johann Wolfgang von Goethe From alainfabry at belgacom.net Wed Feb 4 23:54:29 2009 From: alainfabry at belgacom.net (Alain G. Fabry) Date: Wed Feb 4 23:54:36 2009 Subject: Xlib: extension "Generic Event Extension" missing on display ":0.0" In-Reply-To: <18826.10584.602314.173622@jerusalem.litteratus.org> References: <1233756631.66655.11.camel@laptop1.herveybayaustralia.com.au> <20090204175652.GB64529@slackbox.xs4all.nl> <1233790284.66655.20.camel@laptop1.herveybayaustralia.com.au> <18826.10584.602314.173622@jerusalem.litteratus.org> Message-ID: <20090205075330.GA9152@desmo.3rdrock.kicks-ass.net> I'm using the radeonhd driver and am getting the message also. Video card is the ati mobility radeon x1600. On Wed, Feb 04, 2009 at 06:48:40PM -0500, Robert Huff wrote: > > Da Rock writes: > > > > X is working fine here on a Radeon X1650 on 7.1-RELEASE with rnoland's > > > last patch to update the kernel direct rendering support (which should > > > be in 7-STABLE by now). Accellerated X works, 2D and 3D. Xv also works. > > > > This is getting very interesting now. Based On your comments as > > well as others this could be related to intel. So far all good > > reports are from radeon video drivers, but I happen to be running > > onboard intel videos. > > I'm getting this. > It appears harmless. > The machine in question has a Matrox G450. > > > > Robert Huff > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From perryh at pluto.rain.com Thu Feb 5 00:11:49 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu Feb 5 00:11:56 2009 Subject: NFSv2 Wrong FS Size In-Reply-To: <20090204151450.GQ75802@dan.emsphone.com> References: <158E6ABD-6BCF-4222-AD59-9B43FE6832D5@zog.net> <20090203215326.GN75802@dan.emsphone.com> <49894cf9.J2VbLPqLSoDq7yay%perryh@pluto.rain.com> <20090204151450.GQ75802@dan.emsphone.com> Message-ID: <498a9f4f.MMsTyUVGLtZWmJhj%perryh@pluto.rain.com> > > > you could rebuild "df" to print its numbers as unsigned > > > instead of signed. Just watch out if your local filesystems > > > start eating into their 8% reserve, since they'll start > > > reporting huge values. > > > > Or patch "df" to print local filesystem sizes as signed -- so > > that the reserve reporting still works -- and NFS as unsigned > > to match the spec. > > That works as long as you don't NFS-mount other FreeBSD systems > with overfull drives :) Looking at this a little more closely, it appears that the "struct statfs" returned by statfs(2) and friends tells the whole story, using 64-bit values most of which are defined as unsigned. (Only f_bavail and f_ffree -- the number of blocks and inodes available to non-superusers -- are defined as signed.) The code that converts from the 32-bit NFSv2 to the 64-bit "struct statfs" values seems more likely to be somewhere in NFS than in df(1). From marshc187 at gmail.com Thu Feb 5 00:13:08 2009 From: marshc187 at gmail.com (cwt) Date: Thu Feb 5 00:13:14 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: <20090205073631.GI93090@acme.spoerlein.net> References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <20090205073631.GI93090@acme.spoerlein.net> Message-ID: <498AADA0.7050107@gmail.com> Ulrich Sp?rlein wrote: > On Fri, 30.01.2009 at 23:19:41 +0100, O. Hartmann wrote: > >> After upgrading one of my FreeBSD 8.0-CUR/amd64 boxes to new xorg-7.4 >> and having done hurting recompiling nearly everything/package twice now >> firefox3 still doesn't work properly and hits me when starting with this >> error message: >> >> Xlib: extension "Generic Event Extension" missing on display ":0.0". >> >> Then firefox3 freezes forever, showing something like the background or >> pixel remnants of windows/picograms moving over its window. >> > > This should be unrelated to Xorg 7.4, as it happens to my 7.1 box, > running Xorg 7.3 and the latest firefox3. Please try backing down > firefox3 or some other related libraries that were updated in the last > month (when this started to show up) > > Cheers, > Ulrich Sp?rlein > hey, sorry to barge in, but have you ppl by any chance seen a related post about this? i saw this (am still getting it) after 7.4 upgrade, but when someone else reported it, the person who i think committed xorg updates i believe said this warning is harmless and only showing because some new functionality in the lib is not yet being used, something to that effect? i think he explained that he just overlooked disabling the warning. are you aware of this or are you having stability problems still? my system spits this warning, but just noise, and all working ok otherwise. if you are aware of the post, but still having problems, then disregard this, and sorry if i missed something From perryh at pluto.rain.com Thu Feb 5 00:21:10 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu Feb 5 00:21:17 2009 Subject: OT: SVN checkout checksumming In-Reply-To: <4989B239.9090504@optiksecurite.com> References: <4989B239.9090504@optiksecurite.com> Message-ID: <498aa17e.klgvXNtxtXYHUBmL%perryh@pluto.rain.com> > I want to use SVN to automate the update process of a custom > application. So, I'm planning to indicate to every PC to update > periodically to a specific branch of the repository. The problem > is that I need to be sure the files where not corrupted during > the transfer. So, I'm planning to generate the hash (SHA or MD5, > doesn't really matters) of every file downloaded by SVN on the > client. For this to work, I need to compare the hashes with their > server-side equivalent ... Do you need to mirror the entire branch, or only distribute the latest version? If the latter, ports/net/rsync may be what you're looking for. From rhurlin at gwdg.de Thu Feb 5 00:29:38 2009 From: rhurlin at gwdg.de (Rainer Hurling) Date: Thu Feb 5 00:29:51 2009 Subject: Graphics tablet / Xorg / mouse problems In-Reply-To: <58a2fd890902032023s24a58a3m51b1769a94ffb327@mail.gmail.com> References: <58a2fd890901311924s6bf36cb5w47d845d8d8090af8@mail.gmail.com> <4986BE9E.90905@bsdforen.de> <58a2fd890902032023s24a58a3m51b1769a94ffb327@mail.gmail.com> Message-ID: <498A9694.60002@gwdg.de> I think it should be sufficient to set hald_enable=FALSE in etc/rc.conf to deactivate hald instead of chmod usr/local/etc/rc.d/hald. Rainer Am 04.02.2009 05:23 (UTC+1) schrieb Antonio Rieser: > Hi, > > Thanks a million for your help. Many thanks to Bartosz, too! Just to > be sure I understood how to deactivate hald, I ran (as root) the > command > > chmod -x /usr/local/etc/rc.d/hald > > which should prevent it from running in the future, then, for this session > > pkill hald > > That should do it, right? > > Also, I reported earlier that everything seems to be normal if I boot > with the tablet plugged in, but that's not always true. I now think > that if I log in and out enough I get the same error messages. > > I have enclosed my Device Section of /etc/X11/Xorg.conf below. > > All the best, > > Tony > > --------------------------------- > > Section "Device" > ### Available Driver options are:- > ### Values: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz" > ### [arg]: arg optional > #Option "NoAccel" # [] > #Option "SWcursor" # [] > #Option "ColorKey" # > #Option "CacheLines" # > #Option "Dac6Bit" # [] > #Option "DRI" # [] > #Option "NoDDC" # [] > #Option "ShowCache" # [] > #Option "XvMCSurfaces" # > #Option "PageFlip" # [] > Identifier "Card0" > Driver "intel" > VendorName "Intel Corporation" > BoardName "82852/855GM Integrated Graphics Device" > BusID "PCI:0:2:0" > Option "Accel" "On" > EndSection > > > On Mon, Feb 2, 2009 at 4:36 AM, Dominic Fandrey wrote: >> Antonio Rieser wrote: >>> Hi, >>> >>> I recently installed FreeBSD 7.1 on an ACER Aspire >>> 1680 laptop. I'm running KDE 3.5 and the most recent Xorg port with a >>> Wacom Bamboo tablet and the wacom driver from the ports collection. I >>> have the following problems with the tablet and mouse: ... >> Just to keep you up to date, Bartosz is on it. Of course, I cannot give >> you a schedule. With the involvement of hald things seem to get much >> more complicated. It might be a temporary solution to deactivate >> hald support. >> >> Regards >> From davidcollins001 at gmail.com Thu Feb 5 01:05:22 2009 From: davidcollins001 at gmail.com (David Collins) Date: Thu Feb 5 01:05:29 2009 Subject: broken ports Message-ID: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> Hi, I am not sure if this is better here or in the ports list, but I thought that since it is something that I have done because I don't know what I am doing here would be better A while ago I installed ports and everything was working fine. Recently I thought one of my ports was causing my machine to crash so I uninstalled it, but later found out that the only problem was a poor wireless network and low diskspace. Trying to reinstall the port failed at the configure stage. I tried a few others and they also failed at the same stage. This leads me to believe that it is something I have done. So here is the make install error: ===> Script "configure" failed unexpectedly.Please report the problem to kuriyama@FreeBSD.org [maintainer] and attach the"/usr/ports/textproc/expat2/work/expat-2.0.1/config.log" including the outputof the failure of your make command. Also, it might be a good idea to providean overview of all packages installed on your system (e.g. an `ls/var/db/pkg`). I found a post saying to try to compile a test program, so I tried that: viper:~$ gcc -o hello hello.c /usr/bin/ld: cannot find -lgcc_s So it appears that I have completely screwed the pooch! Is there anything I can do to fix this? Thanks David Collins From maslak at ihlas.net.tr Thu Feb 5 01:13:28 2009 From: maslak at ihlas.net.tr (Yavuz) Date: Thu Feb 5 01:13:35 2009 Subject: is there any way to increase disk performance ? References: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> <4989F825.3020609@gmail.com> Message-ID: <55DE6E126D0C43288ECF48842AB6903D@desktop2002> Ok. I increased vfs.read_max while I was looking into this case in google, I see a value of MAXPHYS in my kernel, there is a value called MAXPHYS=(128*1024) as default. What should I set this value ? > Yavuz wrote: >> I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. >> >> it's running mail server which has services like pop3,imap,smtp and >> webmail on this machine. >> >> When I type systat 1 -vmstat on command line, even I rarely see that disk >> usage hits 100%. >> I have no problem as ram and cpu. they is enough. >> >> is there any way to increase disk performance without causing any problem >> ? >> > sysctl vfs.read_max=32 can help read performance > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From wojtek at wojtek.tensor.gdynia.pl Thu Feb 5 01:18:15 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Feb 5 01:18:22 2009 Subject: is there any way to increase disk performance ? In-Reply-To: <55DE6E126D0C43288ECF48842AB6903D@desktop2002> References: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> <4989F825.3020609@gmail.com> <55DE6E126D0C43288ECF48842AB6903D@desktop2002> Message-ID: <20090205101758.I22600@wojtek.tensor.gdynia.pl> > > while I was looking into this case in google, I see a value of MAXPHYS > in my kernel, there is a value called MAXPHYS=(128*1024) as default. > What should I set this value ? i use 1024*1024 > > > >> Yavuz wrote: >>> I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. >>> >>> it's running mail server which has services like pop3,imap,smtp and >>> webmail on this machine. >>> >>> When I type systat 1 -vmstat on command line, even I rarely see that disk >>> usage hits 100%. >>> I have no problem as ram and cpu. they is enough. >>> >>> is there any way to increase disk performance without causing any problem >>> ? >>> >> sysctl vfs.read_max=32 can help read performance >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From ohartman at zedat.fu-berlin.de Thu Feb 5 02:07:03 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Thu Feb 5 02:07:23 2009 Subject: Xorg upgrade desaster: Xlib: extension "Generic Event Extension" missing on display ":0.0". In-Reply-To: <20090205073631.GI93090@acme.spoerlein.net> References: <49837CFD.4080603@mail.zedat.fu-berlin.de> <20090205073631.GI93090@acme.spoerlein.net> Message-ID: <498AB9CA.6080907@zedat.fu-berlin.de> Ulrich Sp?rlein wrote: > On Fri, 30.01.2009 at 23:19:41 +0100, O. Hartmann wrote: >> After upgrading one of my FreeBSD 8.0-CUR/amd64 boxes to new xorg-7.4 >> and having done hurting recompiling nearly everything/package twice now >> firefox3 still doesn't work properly and hits me when starting with this >> error message: >> >> Xlib: extension "Generic Event Extension" missing on display ":0.0". >> >> Then firefox3 freezes forever, showing something like the background or >> pixel remnants of windows/picograms moving over its window. > > This should be unrelated to Xorg 7.4, as it happens to my 7.1 box, > running Xorg 7.3 and the latest firefox3. Please try backing down > firefox3 or some other related libraries that were updated in the last > month (when this started to show up) > > Cheers, > Ulrich Sp??rlein Hello. As I reported earlier in this thread, I recompiled everything/package on my boxes at least three times and the specified problem still remained. But after the update of libGL/libGLUT the last three days everything seems to run all right now. Weird ... Greetings, Oliver From kamikaze at bsdforen.de Thu Feb 5 02:09:59 2009 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Thu Feb 5 02:10:06 2009 Subject: broken ports In-Reply-To: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> Message-ID: <498ABACC.3060102@bsdforen.de> David Collins wrote: > Hi, > > I am not sure if this is better here or in the ports list, but I > thought that since it is something that I have done because I don't > know what I am doing here would be better > > A while ago I installed ports and everything was working fine. > Recently I thought one of my ports was causing my machine to crash so > I uninstalled it, but later found out that the only problem was a poor > wireless network and low diskspace. Trying to reinstall the port > failed at the configure stage. I tried a few others and they also > failed at the same stage. This leads me to believe that it is > something I have done. > > So here is the make install error: > ===> Script "configure" failed unexpectedly.Please report the problem > to kuriyama@FreeBSD.org [maintainer] and attach > the"/usr/ports/textproc/expat2/work/expat-2.0.1/config.log" including > the outputof the failure of your make command. Also, it might be a > good idea to providean overview of all packages installed on your > system (e.g. an `ls/var/db/pkg`). > > I found a post saying to try to compile a test program, so I tried that: > viper:~$ gcc -o hello hello.c > /usr/bin/ld: cannot find -lgcc_s > > So it appears that I have completely screwed the pooch! Is there > anything I can do to fix this? > > Thanks > David Collins I suggest you give us the complete error message. The lines before the one you posted ought to be the most interesting ones. From davidcollins001 at gmail.com Thu Feb 5 02:18:55 2009 From: davidcollins001 at gmail.com (David Collins) Date: Thu Feb 5 02:19:03 2009 Subject: broken ports In-Reply-To: <498ABACC.3060102@bsdforen.de> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> Message-ID: <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> Sorry, forgot about that. Looking at it again I am not sure this is a ports thing, and more of an issue with the compiling tool chain. viper:/usr/ports/net-p2p/rtorrent$ sudo make ===> Vulnerability check disabled, database not found ===> Found saved configuration for rtorrent-0.8.2_1 => rtorrent-0.8.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://libtorrent.rakshasa.no/downloads/. rtorrent-0.8.2.tar.gz 100% of 494 kB 48 kBps 00m00s ===> Extracting for rtorrent-0.8.2_1 => MD5 Checksum OK for rtorrent-0.8.2.tar.gz. => SHA256 Checksum OK for rtorrent-0.8.2.tar.gz. ===> Patching for rtorrent-0.8.2_1 ===> Applying FreeBSD patches for rtorrent-0.8.2_1 ===> rtorrent-0.8.2_1 depends on package: libtorrent=0.12.2 - found ===> rtorrent-0.8.2_1 depends on shared library: curl.5 - found ===> Configuring for rtorrent-0.8.2_1 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please report the problem to flz@FreeBSD.org [maintainer] and attach the "/usr/ports/net-p2p/rtorrent/work/rtorrent-0.8.2/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/net-p2p/rtorrent. *** Error code 1 Stop in /usr/ports/net-p2p/rtorrent. Also this might help viper:/usr/ports/net-p2p/rtorrent$ uname -a FreeBSD viper.homeunix.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 On 05/02/2009, Dominic Fandrey wrote: > David Collins wrote: >> Hi, >> >> I am not sure if this is better here or in the ports list, but I >> thought that since it is something that I have done because I don't >> know what I am doing here would be better >> >> A while ago I installed ports and everything was working fine. >> Recently I thought one of my ports was causing my machine to crash so >> I uninstalled it, but later found out that the only problem was a poor >> wireless network and low diskspace. Trying to reinstall the port >> failed at the configure stage. I tried a few others and they also >> failed at the same stage. This leads me to believe that it is >> something I have done. >> >> So here is the make install error: >> ===> Script "configure" failed unexpectedly.Please report the problem >> to kuriyama@FreeBSD.org [maintainer] and attach >> the"/usr/ports/textproc/expat2/work/expat-2.0.1/config.log" including >> the outputof the failure of your make command. Also, it might be a >> good idea to providean overview of all packages installed on your >> system (e.g. an `ls/var/db/pkg`). >> >> I found a post saying to try to compile a test program, so I tried that: >> viper:~$ gcc -o hello hello.c >> /usr/bin/ld: cannot find -lgcc_s >> >> So it appears that I have completely screwed the pooch! Is there >> anything I can do to fix this? >> >> Thanks >> David Collins > > I suggest you give us the complete error message. The lines before the > one you posted ought to be the most interesting ones. > From ivoras at freebsd.org Thu Feb 5 02:36:02 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Thu Feb 5 02:36:09 2009 Subject: is there any way to increase disk performance ? In-Reply-To: <55DE6E126D0C43288ECF48842AB6903D@desktop2002> References: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> <4989F825.3020609@gmail.com> <55DE6E126D0C43288ECF48842AB6903D@desktop2002> Message-ID: Yavuz wrote: > Ok. I increased vfs.read_max > > while I was looking into this case in google, I see a value of MAXPHYS > in my kernel, there is a value called MAXPHYS=(128*1024) as default. > What should I set this value ? Neither vfs.read_max nor MAXPHYS will help a mail server (or any other server dealing with small files). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090205/ccd25f41/signature.pgp From mexas at bristol.ac.uk Thu Feb 5 04:13:03 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Feb 5 04:13:12 2009 Subject: policykit fails to build on 7.1-stable i386 In-Reply-To: <539c60b90902041334l5950bd5fh3c6443f9be54044a@mail.gmail.com> References: <20090203095745.GA90786@mech-cluster238.men.bris.ac.uk> <20090203102455.GA99454@mech-cluster238.men.bris.ac.uk> <20090203164929.GA91845@skepsi.net> <200902031121.23565.fbsd.questions@rachie.is-a-geek.net> <20090203204824.GA93304@Grumpy.DynDNS.org> <539c60b90902041334l5950bd5fh3c6443f9be54044a@mail.gmail.com> Message-ID: <20090205121244.GD42622@mech-cluster238.men.bris.ac.uk> On Wed, Feb 04, 2009 at 02:34:35PM -0700, Steve Franks wrote: > > I think "portupgrade -f p5-XML-Parser" got me over the hurdle. There was > > !!! > > a file missing altho the port was installed. Forced it to build and > !!! > > > reinstall and things were able to build once again. > > Someone (maintainer or upstream) should be paying more attention here. > All my systems have gone thru this problem this week. That begins to > cross over from nuisance to something stronger in my book....I don't > like port problems that break *everything* - should have been obvious > to catch before releasing it into the wild if it breaks (at my > estimate) 20+ ports. Same as the current X.Org 7.4 issues...we losing > our touch or something? I like gloating to the linux people about > robustness. Hate to give them fodder ;) yes, I think something went seriously wrong with X after upgrades of 23-24 Jan 2009. I cannot get X to work at all on 7.1-stable or 8.0-current, and some stubborn problems on 6.4-stable alpha. I submitted one PR already, and am preparing two more. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From mexas at bristol.ac.uk Thu Feb 5 04:32:15 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Feb 5 04:32:21 2009 Subject: xdm doesn't run as daemon Message-ID: <20090205123154.GA75634@mech-cluster238.men.bris.ac.uk> After upgrades of 23-24 Jan 2009 xdm is not working: # xdm # ps ax|grep xdm 75632 p1 S+ 0:00.01 grep xdm # cat /var/log/xdm.log # So no xdm daemon. My system: FreeBSD 6.4-STABLE alpha, xdm-1.1.8_1. Any ideas? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From roberthuff at rcn.com Thu Feb 5 05:01:27 2009 From: roberthuff at rcn.com (Robert Huff) Date: Thu Feb 5 05:01:34 2009 Subject: xdm doesn't run as daemon In-Reply-To: <20090205123154.GA75634@mech-cluster238.men.bris.ac.uk> References: <20090205123154.GA75634@mech-cluster238.men.bris.ac.uk> Message-ID: <18826.58149.483908.835247@jerusalem.litteratus.org> Anton Shterenlikht writes: > After upgrades of 23-24 Jan 2009 xdm is not working: > > # xdm > # ps ax|grep xdm > 75632 p1 S+ 0:00.01 grep xdm > # cat /var/log/xdm.log > Any ideas? 1) May we see /var/log/Xorg.0.log? 2) Does "startx" work? Robert Huff From mexas at bristol.ac.uk Thu Feb 5 05:40:45 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Feb 5 05:40:52 2009 Subject: xdm doesn't run as daemon In-Reply-To: <18826.58149.483908.835247@jerusalem.litteratus.org> References: <20090205123154.GA75634@mech-cluster238.men.bris.ac.uk> <18826.58149.483908.835247@jerusalem.litteratus.org> Message-ID: <20090205134031.GB75866@mech-cluster238.men.bris.ac.uk> On Thu, Feb 05, 2009 at 08:01:25AM -0500, Robert Huff wrote: > > Anton Shterenlikht writes: > > > After upgrades of 23-24 Jan 2009 xdm is not working: > > > > # xdm > > # ps ax|grep xdm > > 75632 p1 S+ 0:00.01 grep xdm > > # cat /var/log/xdm.log > > > Any ideas? > > 1) May we see /var/log/Xorg.0.log? > 2) Does "startx" work? This is a headless box, I don't run X server on it. I connect to it via XDMCP and run clients. So I've neither /var/log/Xorg.0.log nor startx on this box. It worked fine until the upgrade. I'm now thoroughtly confused by dbus and hal issues. So in case it matters I run neither hald nor dbus-daemon on this box. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From farremosen at gmail.com Thu Feb 5 06:11:23 2009 From: farremosen at gmail.com (=?ISO-8859-1?Q?Klaus_Friis_=D8stergaard?=) Date: Thu Feb 5 06:11:29 2009 Subject: Problem gdm 2.24, xdmcp D-BUS? In-Reply-To: References: Message-ID: 2009/2/1 Klaus Friis ?stergaard : > On Fri, Jan 30, 2009 at 04:03:10PM +0100, Klaus Friis ?stergaard wrote: > > I tried to remove the directories that was not removed by deinstall > manually, and then installed again, now no complaints about not being > able to uninstall I can now start gdm again, with out any complaints, > but when I run sockstat I cannot see gdm-binary active nor any listen > on udp 177. > > Any suggestions? > > > GDM 2.24 ist broken, not only on FreeBSD but also on other systems like > Fedora. My personal workaround ist to keep using 2.20 for now, which > seems to be the last working version that came from the gnome team. > > gdm-2.24.1_5 is not broken, else I couldn't have logged onto my > gnome-desktop some minutes ago. But there are some feature-regressions > compared to 2.20 - developers say they have rewritten important parts > of the code. > > Greetings, > > Uli. > > Thanks, but how do I reverse back to gdm 2.20? Is this possible with > the portupgrade tools? > > /Klaus > > > -- > Klaus F. ?stergaard, > Thanks, it worked with portdowngrade and then I just used the portupgrade -a -x /x11/gdm -- Klaus F. ?stergaard, From onemda at gmail.com Thu Feb 5 06:18:08 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Feb 5 06:18:14 2009 Subject: No wifi signal with usb antenna (rum driver) In-Reply-To: References: Message-ID: <3a142e750902050618l1736032bue8c2a21da7e73d52@mail.gmail.com> On 2/4/09, Lars Lonne wrote: > Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo > laptop. It used to dualboot with windows xp and gentoo linux, but I > decided to give FreeBSD a try instead, so now it dualboots with > windows and FreeBSD. My biggest problem is connecting to the internet > over the local wifi network. I am using a usb antenna, which uses the > rum driver in FreeBSD. When using windows, the signal strength is low > (I am located quite far from the access point), but works fine. I can > connect to the network and get on the internet, no problem. Problem is > when I start FreeBSD, I cannot get a signal, i.e. ifconfig always > reports "no carrier". I can connect to the network with FreeBSD if I > move closer to the AP, but it is impractical for me to do so. > > Has anyone experienced anything similar, or know what could be causing > it? Please let me know if you need more information. Hope you can help > me. > > /lars > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > This is known "rum" issue, some code is missing. I debuged it some time ago, but with no luck. I will try again some time later .... -- Paul From farremosen at gmail.com Thu Feb 5 06:21:50 2009 From: farremosen at gmail.com (=?ISO-8859-1?Q?Klaus_Friis_=D8stergaard?=) Date: Thu Feb 5 06:21:56 2009 Subject: After upgrade problems with many open files Message-ID: Hi, After I recently update my 7.0 Freebsd Box I have now a small problem with performance and many open files. This has not een an issue before so I don't know what a nornal level is, but at the moment I have increased the kern.maxfiles from 12.000 to 60.000, and the system uses between 22.000 to 30.000 open files. On the box I is samba, MySQL (with no real activity only installed not used yet), gnome, interfaces I have I have 5 thin clients attached to this server, they get X via xdmcp from thin clienter that boots up with there own os (Elux). After the upgrade of application every thing seems to be slow, could it be related to the many open files are there other places to look for tunning I have tried to use lsof but I do'not find 20000 lines when listed. Any help/guidience to solve this would be apriciated. /Klaus -- Klaus From jnatola at familycareintl.org Thu Feb 5 06:47:58 2009 From: jnatola at familycareintl.org (Jean-Paul Natola) Date: Thu Feb 5 06:48:05 2009 Subject: newsletter APP NOT listserve Message-ID: <3A85D7EF44E1C744BF6434691F5659E9015E411A@www.fcimail.org> Can anyone recommend a newsletter application , preferably where I can just have an ordinary user login via a webpage , upload a file/message/ and click send? I was playing with mailman , but that seems to be a list serve app. tia From root at masm.elcom.ru Thu Feb 5 06:49:31 2009 From: root at masm.elcom.ru (Victor M. Blood) Date: Thu Feb 5 06:49:47 2009 Subject: How to change default boot loader location Message-ID: <122010701.20090205172937@masm.elcom.ru> Hi, All. I have a SATA-II disk, which split for 4 primary partitions, eg: 1. NTFS (Active) / ntldr 2. BSD (/var, /usr) 4. NTFS 3. BSD (/, swap) * partitions showed as 'how it's phisicaly placed on drive' Used bootpart I have create 'freebsd.bin' and try to loadup it into ntldr, boot.ini eg: bootpart 2 LBA freebsd.bin Freebsd loader shows two error messages about 'Invalid Partition' and prompt me boot: 0:ad(0,a)/boot/kernel/kernel Then I 'by hands' try: 0:ad(4,3,a)/boot/loader, Free BSD has normal start loader, menus, kernel, etc... works! I try write this line in /boot.config, but have no any result... eg: echo "0:ad(4,3,a)/boot/loader" >/boot.config Help me please, how I can get autoboot from slice 3, unit 4 ? PS: sorry for my english. -- With all regards, Victor M. Blood. mailto: freebsd@masm.elcom.ru FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656 From gfritz at gmail.com Thu Feb 5 08:48:51 2009 From: gfritz at gmail.com (Geoff Fritz) Date: Thu Feb 5 08:48:57 2009 Subject: newsletter APP NOT listserve In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E411A@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9015E411A@www.fcimail.org> Message-ID: <20090205162603.GA36947@dev.null> On Thu, Feb 05, 2009 at 09:31:56AM -0500, Jean-Paul Natola wrote: > Can anyone recommend a newsletter application , preferably where I can just > have an ordinary user login via a webpage , upload a file/message/ and click > send? > > I was playing with mailman , but that seems to be a list serve app. I've been using phplist for a couple of years on a client's site. It has click stats, a decent web interface, relatively easy to get up and running, and the performance is pretty good. It is a little top-heavy, though, since it requires apache/php/mysql. However, after enabling mysql query caching and adding eaccelerator into the mix, it runs fairly well. My last send clocked in at 47k messages per hour on a 2.8GHz dual-core Pentium-D, using postfix as the local MTA. I like the fact that it will automatically prune the list membership after a user-configurable number of bounces. Filter the bounce catcher account, though, as spam will make your DB grow to insane sizes and bog it down. It's not the best package in the world, but it's the only comperable open source package that I know of. I hope to hear of alternatives in this thread. -- Geoff From maslak at ihlas.net.tr Thu Feb 5 08:45:01 2009 From: maslak at ihlas.net.tr (Yavuz) Date: Thu Feb 5 08:50:16 2009 Subject: about upgrade Message-ID: I have a freebsd7.0-stable how can I upgrade this to freebsd7.1-release ? is there a way for this one which from stable to release ? From glen.j.barber at gmail.com Thu Feb 5 09:06:27 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Feb 5 09:06:34 2009 Subject: about upgrade In-Reply-To: References: Message-ID: <4ad871310902050906j5d77ad1ct659d7a9c26aac4b2@mail.gmail.com> On Thu, Feb 5, 2009 at 11:45 AM, Yavuz wrote: > I have a freebsd7.0-stable > how can I upgrade this to freebsd7.1-release ? > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html -- Glen Barber From bruce at cran.org.uk Thu Feb 5 09:20:10 2009 From: bruce at cran.org.uk (Bruce Cran) Date: Thu Feb 5 09:20:48 2009 Subject: system time on top output In-Reply-To: <75a268720902041400p1db8057bn726907d102efe88c@mail.gmail.com> References: <75a268720902041400p1db8057bn726907d102efe88c@mail.gmail.com> Message-ID: <20090205172000.130a8079@gluon> On Thu, 5 Feb 2009 00:00:35 +0200 Omer Faruk Sen wrote: > Hi, > > I have a running pgsql server but on heavy loads it consumes lots of > time in system (more than %50). I can see that > > CPU states: 15.4% user, 0.0% nice, 81.9% system, 1.5% interrupt, > 1.2% idle > > But how can I debug that kind of system. vmstat and other tools only > show most cpu is used by system. But how can I go deeper and debug > that kind of a problem? > Any tools that you can suggest me? I've not used it, but I believe DTrace is probably the best tool to find the cause of the problem. It's in 7.1 and later. -- Bruce From lonnelars at gmail.com Thu Feb 5 09:21:17 2009 From: lonnelars at gmail.com (Lars Lonne) Date: Thu Feb 5 09:21:24 2009 Subject: No wifi signal with usb antenna (rum driver) In-Reply-To: <3a142e750902050618l1736032bue8c2a21da7e73d52@mail.gmail.com> References: <3a142e750902050618l1736032bue8c2a21da7e73d52@mail.gmail.com> Message-ID: 2009/2/5 Paul B. Mahol : > On 2/4/09, Lars Lonne wrote: >> Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo >> laptop. It used to dualboot with windows xp and gentoo linux, but I >> decided to give FreeBSD a try instead, so now it dualboots with >> windows and FreeBSD. My biggest problem is connecting to the internet >> over the local wifi network. I am using a usb antenna, which uses the >> rum driver in FreeBSD. When using windows, the signal strength is low >> (I am located quite far from the access point), but works fine. I can >> connect to the network and get on the internet, no problem. Problem is >> when I start FreeBSD, I cannot get a signal, i.e. ifconfig always >> reports "no carrier". I can connect to the network with FreeBSD if I >> move closer to the AP, but it is impractical for me to do so. >> >> Has anyone experienced anything similar, or know what could be causing >> it? Please let me know if you need more information. Hope you can help >> me. >> >> /lars >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > This is known "rum" issue, some code is missing. > > I debuged it some time ago, but with no luck. > I will try again some time later .... > > -- > Paul > Thank you for your reply. I have the same problem with the ral driver (as I mentioned in an earlier email to this mailing list) when I am using a different antenna (a pc-card). Is this also a known issue with the ral driver? From mexas at bristol.ac.uk Thu Feb 5 09:26:47 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Feb 5 09:27:02 2009 Subject: about upgrade In-Reply-To: References: Message-ID: <20090205172626.GA76816@mech-cluster238.men.bris.ac.uk> On Thu, Feb 05, 2009 at 06:45:00PM +0200, Yavuz wrote: > I have a freebsd7.0-stable > > how can I upgrade this to freebsd7.1-release ? > > is there a way for this one which from stable to release ? you mean to 7.1-release instead of 7.1-stable? what about tag=RELENG_7_1 in cvsup? see appendix A.7.1 in the user manual. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From onemda at gmail.com Thu Feb 5 09:38:13 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Feb 5 09:38:20 2009 Subject: No wifi signal with usb antenna (rum driver) In-Reply-To: References: <3a142e750902050618l1736032bue8c2a21da7e73d52@mail.gmail.com> Message-ID: <3a142e750902050938g7f57a244jb85e30f9eeca6200@mail.gmail.com> On 2/5/09, Lars Lonne wrote: > 2009/2/5 Paul B. Mahol : >> On 2/4/09, Lars Lonne wrote: >>> Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo >>> laptop. It used to dualboot with windows xp and gentoo linux, but I >>> decided to give FreeBSD a try instead, so now it dualboots with >>> windows and FreeBSD. My biggest problem is connecting to the internet >>> over the local wifi network. I am using a usb antenna, which uses the >>> rum driver in FreeBSD. When using windows, the signal strength is low >>> (I am located quite far from the access point), but works fine. I can >>> connect to the network and get on the internet, no problem. Problem is >>> when I start FreeBSD, I cannot get a signal, i.e. ifconfig always >>> reports "no carrier". I can connect to the network with FreeBSD if I >>> move closer to the AP, but it is impractical for me to do so. >>> >>> Has anyone experienced anything similar, or know what could be causing >>> it? Please let me know if you need more information. Hope you can help >>> me. >>> >>> /lars >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >> >> This is known "rum" issue, some code is missing. >> >> I debuged it some time ago, but with no luck. >> I will try again some time later .... >> >> -- >> Paul >> > > Thank you for your reply. I have the same problem with the ral driver > (as I mentioned in an earlier email to this mailing list) when I am > using a different antenna (a pc-card). Is this also a known issue with > the ral driver? If on linux(open source driver, not via ndiswrapper) you do not have such problem, than it is ral driver fault. -- Paul From lonnelars at gmail.com Thu Feb 5 09:43:54 2009 From: lonnelars at gmail.com (Lars Lonne) Date: Thu Feb 5 09:44:00 2009 Subject: No wifi signal with usb antenna (rum driver) In-Reply-To: <3a142e750902050938g7f57a244jb85e30f9eeca6200@mail.gmail.com> References: <3a142e750902050618l1736032bue8c2a21da7e73d52@mail.gmail.com> <3a142e750902050938g7f57a244jb85e30f9eeca6200@mail.gmail.com> Message-ID: 2009/2/5 Paul B. Mahol : > On 2/5/09, Lars Lonne wrote: >> 2009/2/5 Paul B. Mahol : >>> On 2/4/09, Lars Lonne wrote: >>>> Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo >>>> laptop. It used to dualboot with windows xp and gentoo linux, but I >>>> decided to give FreeBSD a try instead, so now it dualboots with >>>> windows and FreeBSD. My biggest problem is connecting to the internet >>>> over the local wifi network. I am using a usb antenna, which uses the >>>> rum driver in FreeBSD. When using windows, the signal strength is low >>>> (I am located quite far from the access point), but works fine. I can >>>> connect to the network and get on the internet, no problem. Problem is >>>> when I start FreeBSD, I cannot get a signal, i.e. ifconfig always >>>> reports "no carrier". I can connect to the network with FreeBSD if I >>>> move closer to the AP, but it is impractical for me to do so. >>>> >>>> Has anyone experienced anything similar, or know what could be causing >>>> it? Please let me know if you need more information. Hope you can help >>>> me. >>>> >>>> /lars >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe@freebsd.org" >>>> >>> >>> This is known "rum" issue, some code is missing. >>> >>> I debuged it some time ago, but with no luck. >>> I will try again some time later .... >>> >>> -- >>> Paul >>> >> >> Thank you for your reply. I have the same problem with the ral driver >> (as I mentioned in an earlier email to this mailing list) when I am >> using a different antenna (a pc-card). Is this also a known issue with >> the ral driver? > > If on linux(open source driver, not via ndiswrapper) you do not have > such problem, than it is ral driver fault. > > -- > Paul > Ok, thank you for your help. I'll try the ndiswrapper and see if I can get better results with that. -- Lars From onemda at gmail.com Thu Feb 5 09:44:19 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Feb 5 09:44:25 2009 Subject: No wifi signal with usb antenna (rum driver) In-Reply-To: <3a142e750902050938g7f57a244jb85e30f9eeca6200@mail.gmail.com> References: <3a142e750902050618l1736032bue8c2a21da7e73d52@mail.gmail.com> <3a142e750902050938g7f57a244jb85e30f9eeca6200@mail.gmail.com> Message-ID: <3a142e750902050944l55fd7904l3222dcbd4e3596fe@mail.gmail.com> On 2/5/09, Paul B. Mahol wrote: > On 2/5/09, Lars Lonne wrote: >> 2009/2/5 Paul B. Mahol : >>> On 2/4/09, Lars Lonne wrote: >>>> Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo >>>> laptop. It used to dualboot with windows xp and gentoo linux, but I >>>> decided to give FreeBSD a try instead, so now it dualboots with >>>> windows and FreeBSD. My biggest problem is connecting to the internet >>>> over the local wifi network. I am using a usb antenna, which uses the >>>> rum driver in FreeBSD. When using windows, the signal strength is low >>>> (I am located quite far from the access point), but works fine. I can >>>> connect to the network and get on the internet, no problem. Problem is >>>> when I start FreeBSD, I cannot get a signal, i.e. ifconfig always >>>> reports "no carrier". I can connect to the network with FreeBSD if I >>>> move closer to the AP, but it is impractical for me to do so. >>>> >>>> Has anyone experienced anything similar, or know what could be causing >>>> it? Please let me know if you need more information. Hope you can help >>>> me. >>>> >>>> /lars >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe@freebsd.org" >>>> >>> >>> This is known "rum" issue, some code is missing. >>> >>> I debuged it some time ago, but with no luck. >>> I will try again some time later .... >>> >>> -- >>> Paul >>> >> >> Thank you for your reply. I have the same problem with the ral driver >> (as I mentioned in an earlier email to this mailing list) when I am >> using a different antenna (a pc-card). Is this also a known issue with >> the ral driver? > > If on linux(open source driver, not via ndiswrapper) you do not have > such problem, than it is ral driver fault. Until such issues get resolved, you can try/use ndisulator (it works fine for my "rum" and "bwi" cards). Keep in mind that _real_ support for USB devices with ndisulator is currently available only in 8.0 -- Paul From onemda at gmail.com Thu Feb 5 09:45:59 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Feb 5 09:46:06 2009 Subject: No wifi signal with usb antenna (rum driver) In-Reply-To: References: <3a142e750902050618l1736032bue8c2a21da7e73d52@mail.gmail.com> <3a142e750902050938g7f57a244jb85e30f9eeca6200@mail.gmail.com> Message-ID: <3a142e750902050945v3417e604va175752a8004309a@mail.gmail.com> On 2/5/09, Lars Lonne wrote: > 2009/2/5 Paul B. Mahol : >> On 2/5/09, Lars Lonne wrote: >>> 2009/2/5 Paul B. Mahol : >>>> On 2/4/09, Lars Lonne wrote: >>>>> Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo >>>>> laptop. It used to dualboot with windows xp and gentoo linux, but I >>>>> decided to give FreeBSD a try instead, so now it dualboots with >>>>> windows and FreeBSD. My biggest problem is connecting to the internet >>>>> over the local wifi network. I am using a usb antenna, which uses the >>>>> rum driver in FreeBSD. When using windows, the signal strength is low >>>>> (I am located quite far from the access point), but works fine. I can >>>>> connect to the network and get on the internet, no problem. Problem is >>>>> when I start FreeBSD, I cannot get a signal, i.e. ifconfig always >>>>> reports "no carrier". I can connect to the network with FreeBSD if I >>>>> move closer to the AP, but it is impractical for me to do so. >>>>> >>>>> Has anyone experienced anything similar, or know what could be causing >>>>> it? Please let me know if you need more information. Hope you can help >>>>> me. >>>>> >>>>> /lars >>>>> _______________________________________________ >>>>> freebsd-questions@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to >>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>>> >>>> >>>> This is known "rum" issue, some code is missing. >>>> >>>> I debuged it some time ago, but with no luck. >>>> I will try again some time later .... >>>> >>>> -- >>>> Paul >>>> >>> >>> Thank you for your reply. I have the same problem with the ral driver >>> (as I mentioned in an earlier email to this mailing list) when I am >>> using a different antenna (a pc-card). Is this also a known issue with >>> the ral driver? >> >> If on linux(open source driver, not via ndiswrapper) you do not have >> such problem, than it is ral driver fault. >> >> -- >> Paul >> > > Ok, thank you for your help. I'll try the ndiswrapper and see if I can > get better results with that. You mean ndisulator on FreeBSD, ndisgen(8). ndiswrapper works only with linux. -- Paul From matiassurdi at gmail.com Thu Feb 5 11:29:42 2009 From: matiassurdi at gmail.com (Matias Surdi) Date: Thu Feb 5 11:29:49 2009 Subject: Generating packages from ports without docs Message-ID: Hi, When I build a package with "make package" for a port, the resulting package contains also the docs (which upon installatin are located in /usr/local/share/doc/[package] Which is the best way to not include those files in the generated package? Thanks a lot. From perikillo at gmail.com Thu Feb 5 12:19:14 2009 From: perikillo at gmail.com (perikillo) Date: Thu Feb 5 12:19:21 2009 Subject: Shrink a Slice? FreeBSD 7.1 Message-ID: <51d7a5160902051219j252b222ao5c0bd53498524244@mail.gmail.com> Hi people. I have been googling without any good info about: How to shrink a slice? Case: I installed a new server for mysql, is working, I already install all the ports I need, them I spend a lot of hours yesterday with this baby, now this is my current disk layout: /dev/ad0s1a on / (ufs, local, noatime, soft-updates) devfs on /dev (devfs, local) /dev/ad0s1f on /tmp (ufs, local, noatime, soft-updates) /dev/ad0s1d on /usr (ufs, local, noatime, soft-updates) /dev/ad0s1e on /var (ufs, local, noatime, soft-updates) /dev/ad0s1g on /backups (ufs, local, soft-updates) What I want to do is to shrink the slice /dev/ad0s1g Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ad0s1a 495 232 223 51% / devfs 0 0 0 100% /dev /dev/ad0s1f 495 0 456 0% /tmp /dev/ad0s1d 5967 4225 1264 77% /usr /dev/ad0s1e 15863 1343 13251 9% /var /dev/ad0s1g 272313 48823 201704 19% /backups Like u can see, is the last slice I have, is posible to remove that slice and create a new one? I don't have info there yet and is not a freebsd default slice, I know that I need to umount first. I have been reading some post but all I have seen is that ins not possible or I'm wrong? I try to with sysinstall looks like don't let me do this. Running FreeBSD 7.1-p2. Thanks all for your time!!! From jnatola at familycareintl.org Thu Feb 5 12:55:19 2009 From: jnatola at familycareintl.org (Jean-Paul Natola) Date: Thu Feb 5 12:55:26 2009 Subject: newsletter APP NOT listserve In-Reply-To: <20090205162603.GA36947@dev.null> Message-ID: <3A85D7EF44E1C744BF6434691F5659E9015E4120@www.fcimail.org> -----Original Message----- From: Geoff Fritz [mailto:gfritz@gmail.com] Sent: Thursday, February 05, 2009 11:26 AM To: Jean-Paul Natola Cc: questions@FreeBSD.org Subject: Re: newsletter APP NOT listserve On Thu, Feb 05, 2009 at 09:31:56AM -0500, Jean-Paul Natola wrote: > Can anyone recommend a newsletter application , preferably where I can just > have an ordinary user login via a webpage , upload a file/message/ and click > send? > > I was playing with mailman , but that seems to be a list serve app. I've been using phplist for a couple of years on a client's site. It has click stats, a decent web interface, relatively easy to get up and running, and the performance is pretty good. It is a little top-heavy, though, since it requires apache/php/mysql. However, after enabling mysql query caching and adding eaccelerator into the mix, it runs fairly well. My last send clocked in at 47k messages per hour on a 2.8GHz dual-core Pentium-D, using postfix as the local MTA. I like the fact that it will automatically prune the list membership after a user-configurable number of bounces. Filter the bounce catcher account, though, as spam will make your DB grow to insane sizes and bog it down. It's not the best package in the world, but it's the only comperable open source package that I know of. I hope to hear of alternatives in this thread. _--------------------------------------------------------------------- Well the server I plan to run it a VPS server, so I REALLY DON'T know what the specs are on the box- and since it's not dedicated I have no clue what else or what other sites are on it- I do know it has exim installed which I am very familiar with and actually use- I know it has MySql on it as well it a red hat 9 os if im not mistaken and I've never used apache or php, what's the learning curve like to get that running? From arab at tangerine-army.co.uk Thu Feb 5 14:24:55 2009 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Thu Feb 5 14:25:04 2009 Subject: Link UP/DOWN problem with re0 on FreeBSD 7.1 In-Reply-To: <498A0ECA.2070002@optiksecurite.com> References: <497DDDB7.4000702@optiksecurite.com><497E07D1.3030604@optiksecurite.com><01FB8F39BAD0BD49A6D0DA8F78973929561F@Mercury.galaxy.lan.lcl><497E24E5.5090701@optiksecurite.com> <498A0ECA.2070002@optiksecurite.com> Message-ID: <01FB8F39BAD0BD49A6D0DA8F78973929562F@Mercury.galaxy.lan.lcl> -----Original Message----- From: FreeBSD [mailto:freebsd@optiksecurite.com] Sent: 04 February 2009 21:55 Cc: freebsd-questions@freebsd.org Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1 FreeBSD a ?crit : > Graeme Dargie a ?crit : >> If you do a dmesg are you also showing a watchdog time out for the nic ? >> >> I only ask as I am having the exact same problem with the exact same >> card and I have yet to find a solution, if I come across something I >> will let you know. >> >> Regards >> Graeme > > Not a single time...sorry. > >> >> -----Original Message----- >> From: FreeBSD [mailto:freebsd@optiksecurite.com] Sent: 26 January 2009 >> 18:58 >> To: freebsd-questions@freebsd.org >> Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1 >> >> FreeBSD a ?crit : >>> Hi everyone, >>> >>> Just to put you in context, I applied the following patch to make the >>> card available: >>> >>> SVN rev 186389 on 2008-12-22 00:46:22Z by yongari >>> >>> Since we don't request reset for rlphy(4), the link state 'UP' >>> event from mii(4) may not be delivered if valid link was already >>> established. To address the issue, check current link state after >>> driving MII_TICK. This should fix a regression introduced in >>> r185753 on fast ethernet controllers. >>> >>> --- >>> >>> I don't have any issue related to that anymore. The problem is that I >>> get link UP/DOWN a few times per hour on 3 identical machines that I >>> dumped/restored. They are all pluged in a Cisco switch that works >>> fine for every other PCs. >>> >>> Jan 26 06:09:15 term005 kernel: re0: link state changed to DOWN >>> Jan 26 06:09:17 term005 kernel: re0: link state changed to UP >>> >>> I tried to switch cables, but I got the same result. >>> >>> There is the pciconf -lv output: >>> >>> re0@pci0:3:0:0: class=0x020000 card=0x02831028 chip=0x816810ec >>> rev=0x02 hdr=0x00 >>> vendor = 'Realtek Semiconductor' >>> device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' >>> class = network >>> subclass = ethernet >>> >>> There is the output of vmstat -i: >>> >>> interrupt total rate >>> irq18: re0 ehci0++ 63766 0 >>> irq19: atapci0 277001 3 >>> cpu0: timer 156068748 1961 >>> Total 156409515 1966 >>> >>> Could it be related to the fact that there is re0 and ehci0++ on the >>> same IRQ? >>> >>> Thank you for your help, >>> >>> Martin >> >> I just tried with a brand new Dell 2708 switch and the problem is >> still there. I just confirmed that the UP/DOWN occurs every 10 minutes >> (+- a few seconds). >> >> Thanks again, >> >> Martin >> Just to follow-up on my own problem... I tried to disable some options of the card with : ifconfig re0 -rxcsum -txcsum -tso -lro -vlanhwtag but nothing as changed. I just tried to download a big file (FreeBSD 7.1-REL DVD iso in fact) to see if the deconnection occurs even during a transfer. The DVD downloaded successfully and I verified that the MD5 are OK. BUT, /var/log/messages continue to tell me that: Feb 4 16:09:29 term003 kernel: re0: link state changed to UP Feb 4 16:19:26 term003 kernel: re0: link state changed to DOWN Feb 4 16:19:30 term003 kernel: re0: link state changed to UP Feb 4 16:19:32 term003 kernel: re0: link state changed to DOWN during the transfer (which worked OK). I don't know if that can help someone to help me ;) Thanks, Martin _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I have a solution to this well a work around. Add -tso to the relevant line in /etc/rc.conf ifconfig_re0="inet 192.168.1.103 netmask 255.255.255.0 -tso" Adding -tso stops the link up / link down problem. Now I am understand that this may increase cpu if the traffic on the nic is high. I am sure some one the list will know of any other implications this may have. It is a known problem and I site I read the bug had been submitted so hopefully it wont exist in 8.0 Regards Graeme From jerrymc at msu.edu Thu Feb 5 14:25:07 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Feb 5 14:25:13 2009 Subject: Shrink a Slice? FreeBSD 7.1 In-Reply-To: <51d7a5160902051219j252b222ao5c0bd53498524244@mail.gmail.com> References: <51d7a5160902051219j252b222ao5c0bd53498524244@mail.gmail.com> Message-ID: <20090205222326.GA36658@gizmo.acns.msu.edu> On Thu, Feb 05, 2009 at 12:19:13PM -0800, perikillo wrote: > Hi people. > I have been googling without any good info about: How to shrink a slice? > > Case: I installed a new server for mysql, is working, I already install > all the ports I need, them I spend a lot of hours yesterday with this baby, > now this is my current disk layout: > > /dev/ad0s1a on / (ufs, local, noatime, soft-updates) > devfs on /dev (devfs, local) > /dev/ad0s1f on /tmp (ufs, local, noatime, soft-updates) > /dev/ad0s1d on /usr (ufs, local, noatime, soft-updates) > /dev/ad0s1e on /var (ufs, local, noatime, soft-updates) > /dev/ad0s1g on /backups (ufs, local, soft-updates) > > What I want to do is to shrink the slice /dev/ad0s1g /dev/ad0s1g is a partition, not a slice. /dev/ad0s1 is the slice. MicroSloth usage of the terms is different and confuses people sometimes. As far as I know neither growfs(8) nor tunefs(8) can shrink the disk allocated to a partition. The only way is to dump each of the filesystems to some other reliable media (maybe tape or a large USB disk) and then repartition that slice to be the sizes you want. Use dump(8) to make the dumps and then check the dump files out before starting the repartitioning. First you have to build a filesystem on the USB drive. You should be able to use bsdlabel to create a single partition that covers the whole drive. But, if your FreeBSD or BIOS is old enough it might not go that big, so you will need to break it down in to smaller slices and make a partition in each. (I have had to do that. But if it is 7.xx it should not be necessary) To break it up, get the gparted utility. Download its boot image and use it to break up the USB disk in to slices that your FreeBSD will handle. You need to have it make all what it calls (in the MS way) Primary Partitions, but those are what are called slices in FreeBSD land. Don't get tempted to use gparted to shrink your ad0s1 slice because it will not work right. That will just trash the current partitions. It is not what you are looking for. Either if your FreeBSD will handle the whole USB or after you have it broken up, then build a partition on each slice of the USB using bsdlabel. Don't make it bootable or write a boot sector on it. Then run newfs(8) on it to make a filesystem. This bsdlabel and newfs can be done while the system is running. Then, take the system down and run the dumps. You can do the dumps from single user mode or boot a fixit image from the install CD. You will need to do the repartitioning and restore the dumps from the fixit anyway so you could just start there. Boot the machine from the fixit disk - create a 'holographic' image as they call it. Fixit is usually on disc1. Run the dumps. Lets say you are doing the dumps to a USB drive that comes up as /dev/da0 in the fixit boot and your current disk still is comes up with the name /dev/ad0 . First, make up mount points for all your filesystems that you want to dump plus for the filesystem[s] on the USB drive. NOTE: That the fixit runs from a memory resident filesystem so whatever you create there will disappear on boot. Anyway, skip dumping /tmp and /dev is a pretend filesystem. mkdir /oldroot mkdir /oldusr mkdir /oldvar mkdir /oldbkup mkdir /usbdrive (You can actually make the dumps from the devices rather than mounting them, but I have never gotten in to that habit) Mount those partitions mount /dev/ad0s1a /oldroot mount /dev/ad0s1d /oldusr mount /dev/ad0s1e /oldvar mount /dev/ad0s1g /oldbkup mount /dev/da0s1 /usbdrive (This device name might be different depending on how you make it. Some possibilities are: /dev/da0s1 If you just newfs the slice without making a partition in it /dev/da0s1a If you make a slice with fdisk and a partition with bsdlabel /dev/da0a If you make a partition with bsdlabel without making a slice Now do the dumps dump 0af /usbdrive/rootdump /oldroot dump 0af /usbdrive/usrdump /oldusr dump 0af /usbdrive/vardump /oldvar dump 0af /usbdrive/bkupdump /oldbkup This will take a while depending on media you use. By the way, to tape it would go to /dev/nsa0 rather than /usbdrive/oldroot, etc Once the dumps are done, you may want to reboot and mount that USB drive or read the tape and look at the dumps to make sure they can be read. Just a precaution. At least you will need to unmount all the partitions so bsdlabel can work on them Anyway, once you are happy with your dumps, then get back in to the fixit and use bsdlabel to rewrite the partitions. Just bsdlabel -e ad0s1 (You should not need to write a new boot block as this process should not touch that sector) Adjust the partitions as you see fit. Make partition 'a' start at offset of 0 and use a '*' for the rest of the offsets. bsdlabel will calculate them correctly. You can also make the size of the last partition be '*' and bsdlabel will put the remainder of the usable space in it. Write/Quit out of the bsdlabel editor -- just like vi. Now you need to do a newfs for each partition except for swap. Just take the defaults. Do: newfs /dev/ad0s1a newfs /dev/ad0s1d newfs /dev/ad0s1e etc for how many you made. Once that is done, you need to mount up the partitions and restore the dumps. Remember that if you rebooted the fixit from when you first made the mount points, you will have to make them again and remount things. Restores will look like: cd /oldroot restore -rf /usbdrive/rootdump cd /oldusr restore -rf /usbdrive/usrdump cd /oldvar restore -rf /usbdrive/vardump cd /oldbkup restore -rf /usbdrive/bkupdump If you created a new partition while doing this, there is currently nothing to put in it. You will need to reboot and then you can split things up and move data as you see fit. ////jerry > > Filesystem 1M-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 495 232 223 51% / > devfs 0 0 0 100% /dev > /dev/ad0s1f 495 0 456 0% /tmp > /dev/ad0s1d 5967 4225 1264 77% /usr > /dev/ad0s1e 15863 1343 13251 9% /var > /dev/ad0s1g 272313 48823 201704 19% /backups > > Like u can see, is the last slice I have, is posible to remove that slice > and create a new one? > > I don't have info there yet and is not a freebsd default slice, I know > that I need to umount first. > > I have been reading some post but all I have seen is that ins not possible > or I'm wrong? > > I try to with sysinstall looks like don't let me do this. > > Running FreeBSD 7.1-p2. > > Thanks all for your time!!! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From gfritz at gmail.com Thu Feb 5 14:29:23 2009 From: gfritz at gmail.com (Geoff Fritz) Date: Thu Feb 5 14:29:30 2009 Subject: newsletter APP NOT listserve In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E4120@www.fcimail.org> References: <20090205162603.GA36947@dev.null> <3A85D7EF44E1C744BF6434691F5659E9015E4120@www.fcimail.org> Message-ID: <20090205222920.GA14058@dev.null> On Thu, Feb 05, 2009 at 03:55:17PM -0500, Jean-Paul Natola wrote: > > _--------------------------------------------------------------------- > Well the server I plan to run it a VPS server, so I REALLY DON'T know what > the specs are on the box- and since it's not dedicated I have no clue what > else or what other sites are on it- I do know it has exim installed which I > am very familiar with and actually use- I know it has MySql on it as well it > a red hat 9 os if im not mistaken and I've never used apache or php, what's > the learning curve like to get that running? The learning curve? That entirely depends on how comfortble you are with configuring applications on Unix/Linux servers in general. If you've never set up a web server, then it will take you some time to get things nailed down correctly. If you merely have not installed Apache before, as opposed to another web server, then it should not be difficult. All I can say is start from the bottom, and work your way up. Learn to configure mysql, next install and set up Apache, then get PHP installed. Last, read up on the rquirements for phplist, install the required PHP modules, and then finally phplist itself. The first time I set up phplist, I had a working setup in a couple of hours, which I then took a few days to test thoroughly. However, I did have several years of of apache/mysql/php setup and usage experience before that. All I can suggest is to jump in and start learning. All of these open source packages have great online docs, tutorials, and support communities to get you going. Good luck with whatever you end up using. -- Geoff From glarkin at FreeBSD.org Thu Feb 5 14:36:06 2009 From: glarkin at FreeBSD.org (Greg Larkin) Date: Thu Feb 5 14:36:13 2009 Subject: Generating packages from ports without docs In-Reply-To: References: Message-ID: <498B69D6.7070503@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matias Surdi wrote: > Hi, > > When I build a package with "make package" for a port, the resulting > package contains also the docs (which upon installatin are located in > /usr/local/share/doc/[package] > > > Which is the best way to not include those files in the generated package? > > > Thanks a lot. Hi Matias, "make NOPORTDOCS=yes package" ought to do it. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJi2nW0sRouByUApARAp9OAJ9JGC7f5NRkTRlAAtrr7IMVvtzd2QCgg0p2 IsGnQUEDP9GO85hgN/1gaw8= =w/Ud -----END PGP SIGNATURE----- From maslak at ihlas.net.tr Thu Feb 5 14:33:40 2009 From: maslak at ihlas.net.tr (Yavuz) Date: Thu Feb 5 14:43:45 2009 Subject: usage of swap file Message-ID: I use freebsd7.0 I have 2 Gbyte RAM and 4 Gbyte Swap. my system sometimes need more memory and although there was 3.90 Gbyte swap, I saw that run out of memory when I see with top command. Why doesn't the machine use swap properly ? What do I have to do ? From wojtek at wojtek.tensor.gdynia.pl Thu Feb 5 14:47:11 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Feb 5 14:47:19 2009 Subject: usage of swap file In-Reply-To: References: Message-ID: <20090205234646.J24281@wojtek.tensor.gdynia.pl> > I use freebsd7.0 > I have 2 Gbyte RAM and 4 Gbyte Swap. > my system sometimes need more memory and although there was 3.90 Gbyte swap, > I saw that run out of memory when I see with top command. > Why doesn't the machine use swap properly ? it does > What do I have to do ? nothing From ivand58 at gmail.com Thu Feb 5 15:21:29 2009 From: ivand58 at gmail.com (Ivan Dimitrov) Date: Thu Feb 5 15:21:35 2009 Subject: problem with date, dump or restore Message-ID: <498B74A2.4070302@yahoo.com> Hi list, with freebsd 7.0, after a probably successful dump : #dump -0Lauf ./ad0s1f.dump /dev/ad0s1f DUMP: Date of this level 0 dump: Thu Feb 5 07:18:58 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ad0s1f (/usr) to ./ad0s1f.dump DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 3021548 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 16.92% done, finished in 0:24 at Thu Feb 5 07:48:39 2009 DUMP: 39.28% done, finished in 0:15 at Thu Feb 5 07:44:33 2009 DUMP: 62.36% done, finished in 0:09 at Thu Feb 5 07:43:09 2009 DUMP: 93.06% done, finished in 0:01 at Thu Feb 5 07:40:35 2009 DUMP: DUMP: 3024998 tape blocks on 1 volume DUMP: finished in 1271 seconds, throughput 2380 KBytes/sec DUMP: level 0 dump on Thu Feb 5 07:18:58 2009 DUMP: Closing ./ad0s1f.dump DUMP: DUMP IS DONE the restore reports that 1) "Header with wrong dumpdate." 2) "expected next file 141455, got 146" # restore -rf /storage/backup/ad0s1f.dump Header with wrong dumpdate. expected next file 141455, got 146 and this is the same for all slices (except the numbers in the second line) so where/what is the problem ? Does anyone know what, exactly, this means? thanks Ivan From nvass at freemail.gr Thu Feb 5 16:15:07 2009 From: nvass at freemail.gr (Nikos Vassiliadis) Date: Thu Feb 5 16:15:14 2009 Subject: Multiple MAC on a single (physical) interface In-Reply-To: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> References: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> Message-ID: <498B7D4F.10809@freemail.gr> Fr?d?ric Perrin wrote: > Hello, > > I live in a network where it is pretty much assumed that one machine == > one MAC address == one IP address. Therefore, in order to play with > jails, some having of course access to the network, I need to be able to > send and receive using several MAC addresses, as if I had several NIC > (which I of course don't have). > > I first describe the setup I have come up with, then ask the list a > couple of questions. > > rl0 (my only physical interface) is made promiscous, and its otherwise > fine configuration is not touched (it still has it MAC and IP address) : > # ifconfig rl0 promisc > > Create a bridge, and attach it rl0 : > # ifconfig bridge0 create > # ifconfig bridge0 addm rl0 up > > Create 2 interfaces : the first one will be connected to the > bridge, the other will be the one we really want to use. > > # ifconfig tap0 create > # ifconfig bridge0 addm tap0 up > # ifconfig tap1 create > > Link tap0 to tap1, I have been using the br_select.c example that > comme with the generic tap/tun driver on vtun.sf.net (basically, what > it does is : > @ open(/dev/tap0); open(/dev/tap1); > @ for ever: > @ if there is data in tap0, copy it to tap1 > @ if there is data in tap1, copy it to tap0 > @ end for > > Then, configure tap1 as wanted, as in : > # ifconfig tap0 up ; ifconfig tap1 up > # dhclient tap1 > > Then start a jail with the IP given to tap1, with a network service in > it (sshd will do). Check that ssh'ing to the jail works. > > It should be possible to create use n tap devices, by doing : > @ for ever: > @ if there is data in tap0, copy it to tap1, ... tapn > @ if there is data in tap1 or ... tapn, copy it to tap0 > @ end for > > Also, while researching my problem, I see that it shouldn't be very > hard to add hooks to rc.conf to automate all this process. > > Questions : > > It seems quite a convoluted setup (especially having to make a tunnel > from tap0 to tap1 ... tapn). Is there an easier way ? Comments ? Yes, you could use a netgraph bridge to bridge several ethernet interfaces together. Luckily, there is also a pseudo-ethernet-like interface you can attach to this bridge and of course you get to treat the pseudo-ethernet as a regular ethernet interface, that is, change its MAC address. The process is described here: http://www.bsdatwork.com/2004/06/19/mac_spoofing_on_freebsd/ It's simple and an all-in-kernel solution. HTH, Nikos From jnatola at familycareintl.org Thu Feb 5 16:52:01 2009 From: jnatola at familycareintl.org (Jean-Paul Natola) Date: Thu Feb 5 16:52:49 2009 Subject: newsletter APP NOT listserve References: <20090205162603.GA36947@dev.null> <3A85D7EF44E1C744BF6434691F5659E9015E4120@www.fcimail.org> <20090205222920.GA14058@dev.null> Message-ID: <3A85D7EF44E1C744BF6434691F5659E90127A2CA@www.fcimail.org> The learning curve? That entirely depends on how comfortble you are with configuring applications on Unix/Linux servers in general. If you've never set up a web server, then it will take you some time to get things nailed down correctly. If you merely have not installed Apache before, as opposed to another web server, then it should not be difficult. All I can say is start from the bottom, and work your way up. Learn to configure mysql, next install and set up Apache, then get PHP installed. Last, read up on the rquirements for phplist, install the required PHP modules, and then finally phplist itself. The first time I set up phplist, I had a working setup in a couple of hours, which I then took a few days to test thoroughly. However, I did have several years of of apache/mysql/php setup and usage experience before that. All I can suggest is to jump in and start learning. All of these open source packages have great online docs, tutorials, and support communities to get you going. -- Geoff since this hosted server holds our website and database, my main concern is that i do not affect those existing configurations- a web developer created our site/shopping cart and cms and loaded it all on this VPS - i just don't want to someone to come to me and say "hey our website is down" or something to that affect From cwhiteh at onetel.com Thu Feb 5 16:55:30 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Thu Feb 5 16:55:38 2009 Subject: shell commands - exclusion In-Reply-To: References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> Message-ID: <498B8A7F.2060906@onetel.com> Jaime wrote: > On Wed, Feb 4, 2009 at 9:35 AM, t-u-t wrote: > if i have say one (or even two) single file/directories among many others, > and i want to perform any said function like cp, mv, rm, etc.. , to all > other files except that one or two, is there a way to do that in a single > command? > e.g > rm -r * {-except foo1 foo15} I think you should be able to do it with a combination of -prune and -delete (or -exec rm -rf {} \; ) on a find command. Substitute your other commands for rm -rf in the -exec above. I would give you a working example except I can't figure out the syntax for -prune. Examples from google don't seem to work in (my) FreeBSD. chrisw@pcbsd% find . . ./test.mov ./test.mpg ./dir1 ./dir1/file1 ./dir1/file2 ./file3 chrisw@pcbsd% find . -print . ./test.mov ./test.mpg ./dir1 ./dir1/file1 ./dir1/file2 ./file3 chrisw@pcbsd% find . -print -o -prune dir1 find: dir1: unknown option chrisw@pcbsd% find . -print -o -prune -name dir1 . ./test.mov ./test.mpg ./dir1 ./dir1/file1 ./dir1/file2 ./file3 chrisw@pcbsd% find . -print -o -name dir1 -prune . ./test.mov ./test.mpg ./dir1 ./dir1/file1 ./dir1/file2 ./file3 chrisw@pcbsd% find . -o -name dir1 -prune find: -o: no expression before -o chrisw@pcbsd% find . -name "*" -o -name dir1 -prune . ./test.mov ./test.mpg ./dir1 ./dir1/file1 ./dir1/file2 ./file3 chrisw@pcbsd% (Please don't tell me to read the man page, I have several times. Even Aeleen Frisch says it is impenetrable :P) Chris From guancalvin at yahoo.ca Thu Feb 5 17:04:19 2009 From: guancalvin at yahoo.ca (cguan) Date: Thu Feb 5 17:04:26 2009 Subject: problem mounting dvd ISO Message-ID: <21864688.post@talk.nabble.com> Hi, I'm trying to mount a w2k8 dvd iso image on freebsd 7 using mdconfig and mount -t cd9660. the commands appeared to be working fine but when I look at the mount point I only see a readme.txt file reads: "This disc contains a "UDF" file system and requires an operating system that supports the ISO-13346 "UDF" file system specification." code: #mdconfig -a -t vnode /path/to/w2k8.iso -u 0 #mount -t cd9660 /dev/md0 /mnt #ls /mnt readme.txt if I use mount_udf, it said "Invalid argument" code #mount -t udf /dev/md0 /mnt mount_udf: /dev/md0: Invalid argument However, mounting a CD iso image using the same way is fine. How do I solve this problem? I have been googling for a couple of hours but can fine an answer. thanks, Calvin -- View this message in context: http://www.nabble.com/problem-mounting-dvd-ISO-tp21864688p21864688.html Sent from the freebsd-questions mailing list archive at Nabble.com. From pprocacci at datapipe.com Thu Feb 5 17:32:54 2009 From: pprocacci at datapipe.com (Paul Procacci) Date: Thu Feb 5 17:33:01 2009 Subject: shell commands - exclusion In-Reply-To: <498B8A7F.2060906@onetel.com> References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> <498B8A7F.2060906@onetel.com> Message-ID: <498B9334.8090004@datapipe.com> Chris Whitehouse wrote: > Jaime wrote: >> On Wed, Feb 4, 2009 at 9:35 AM, t-u-t wrote: >> if i have say one (or even two) single file/directories among many >> others, >> and i want to perform any said function like cp, mv, rm, etc.. , to all >> other files except that one or two, is there a way to do that in a >> single >> command? >> e.g >> rm -r * {-except foo1 foo15} > > I think you should be able to do it with a combination of -prune and > -delete (or -exec rm -rf {} \; ) on a find command. Substitute your > other commands for rm -rf in the -exec above. > > I would give you a working example except I can't figure out the > syntax for -prune. Examples from google don't seem to work in (my) > FreeBSD. > > chrisw@pcbsd% find . > .. > ../test.mov > ../test.mpg > ../dir1 > ../dir1/file1 > ../dir1/file2 > ../file3 > chrisw@pcbsd% find . -print > .. > ../test.mov > ../test.mpg > ../dir1 > ../dir1/file1 > ../dir1/file2 > ../file3 > chrisw@pcbsd% find . -print -o -prune dir1 > find: dir1: unknown option > chrisw@pcbsd% find . -print -o -prune -name dir1 > .. > ../test.mov > ../test.mpg > ../dir1 > ../dir1/file1 > ../dir1/file2 > ../file3 > chrisw@pcbsd% find . -print -o -name dir1 -prune > .. > ../test.mov > ../test.mpg > ../dir1 > ../dir1/file1 > ../dir1/file2 > ../file3 > chrisw@pcbsd% find . -o -name dir1 -prune > find: -o: no expression before -o > chrisw@pcbsd% find . -name "*" -o -name dir1 -prune > .. > ../test.mov > ../test.mpg > ../dir1 > ../dir1/file1 > ../dir1/file2 > ../file3 > chrisw@pcbsd% > > (Please don't tell me to read the man page, I have several times. Even > Aeleen Frisch says it is impenetrable :P) > > Chris > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" find . \! -name blah -a \! -name blah2 -delete no? From jnatola at familycareintl.org Thu Feb 5 17:33:17 2009 From: jnatola at familycareintl.org (Jean-Paul Natola) Date: Thu Feb 5 17:33:24 2009 Subject: newsletter APP NOT listserve References: <3A85D7EF44E1C744BF6434691F5659E9015E411A@www.fcimail.org> Message-ID: <3A85D7EF44E1C744BF6434691F5659E90127A2CD@www.fcimail.org> Ideally, stats, subscribe, unsubscribe, and let the person in charge have the ability to be able to select the recipients for a particular letter based on a field or combination of two fields. i.e. send to all contacts that are "doctors" or send to all contacts that are "doctors" and are in the "HIV" prevention program- upload lists can be csv txt excel doesnt really matter- GUI would be great for managing contacts because if the the contacts address changes i want the user to be able to login and change his address or phone etc... Jean-Paul Natola Network Administrator Information Technology Family Care International 588 Broadway Suite 503 New York, NY 10012 Phone:212-941-5300 xt 36 Fax: 212-941-5563 Mailto: Jnatola@Familycareintl.org -----Original Message----- From: Vince Sabio [mailto:tasteless@mac.com] Sent: Thu 2/5/2009 20:20 To: Jean-Paul Natola Subject: Re: newsletter APP NOT listserve ** At 09:31 -0500 on 02/05/2009, Jean-Paul Natola wrote: >Can anyone recommend a newsletter application , preferably where I can just >have an ordinary user login via a webpage , upload a file/message/ and click >send? What are the requirements/characteristics of the "newsletter app" you're looking for? Does it need to have stats/campaign tracking? Is a web interface required, or can the user simply format and send his e-mail message via e-mail to the server? Does it need to provide the ability for users to subscribe and unsubscribe themselves? How will the newsletter owner upload his list? What format will (should?) the list be in when he uploads it? How large will the lists be? If they are small enough, then most mail clients should be able to provide the basic functionality of sending a newsletter to a list. >I was playing with mailman , but that seems to be a list serve app. The proper term is "list server," so as not to confuse with "Listserv," which is a copyrighted product (developed by Eric Thomas and L-Soft). ________________________________________________________________________ Vince Sabio Don't blame me; I voted for Matthew. tasteless@mac.com Socialism: Government of the inept, by the inept, for the inept. From david.karapetyan at gmail.com Thu Feb 5 17:39:10 2009 From: david.karapetyan at gmail.com (David Karapetyan) Date: Thu Feb 5 17:39:16 2009 Subject: problem rsycing with remote dir In-Reply-To: <21864688.post@talk.nabble.com> References: <21864688.post@talk.nabble.com> Message-ID: <20090206013900.GB367@vagrant.math.nd.edu> Hello everyone. I am using the --backup flag in rsync to save incremental changes that rsync makes when I sync a directory on my laptop with my remote server. Please look at my pastebin code: http://pastebin.com/m16a3ce38On The problem is that I end up generating an root@davidkarapetyan.homeunix.com: directory on my laptop that contains empty versions of all the directories that were backed up. In short, it is a directory filled with empty sub directories. Furthermore, I am unable to have $INC be placed anywhere other than within $TARGET, no matter how I alter the code. Interestingly enough, I use a very similar script on the server itself, with no issues. It seems that rsync's remote backup scheme, with the --backup flag, is a bit borked. Any suggestions? -- -- Best, David Karapetyan http://davidkarapetyan.com University of Notre Dame Department of Mathematics 255 Hurley Hall Notre Dame, IN 46556-4618 Phone: 574-631-5706 Cell: 202-460-5173 Fax: 574-631-6579 From rwmaillists at googlemail.com Thu Feb 5 17:41:45 2009 From: rwmaillists at googlemail.com (RW) Date: Thu Feb 5 17:41:58 2009 Subject: usage of swap file In-Reply-To: References: Message-ID: <20090206014139.4351447e@gumby.homeunix.com> On Fri, 6 Feb 2009 00:33:40 +0200 "Yavuz" wrote: > I use freebsd7.0 > I have 2 Gbyte RAM and 4 Gbyte Swap. > my system sometimes need more memory and although there was 3.90 > Gbyte swap, I saw that run out of memory when I see with top command. > Why doesn't the machine use swap properly ? I'm not sure what you are saying here, but if you mean that it appears to have very little free memory, but isn't swapping, then that's normal, see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#TOP-FREEMEM From glen.j.barber at gmail.com Thu Feb 5 17:48:55 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Feb 5 17:49:01 2009 Subject: usage of swap file In-Reply-To: <20090205234646.J24281@wojtek.tensor.gdynia.pl> References: <20090205234646.J24281@wojtek.tensor.gdynia.pl> Message-ID: <4ad871310902051748q2567ca44ye8380712abc1313e@mail.gmail.com> On Thu, Feb 5, 2009 at 5:46 PM, Wojciech Puchar wrote: >> I use freebsd7.0 >> I have 2 Gbyte RAM and 4 Gbyte Swap. >> my system sometimes need more memory and although there was 3.90 Gbyte >> swap, I saw that run out of memory when I see with top command. >> Why doesn't the machine use swap properly ? > > it does > >> What do I have to do ? > > nothing Those are the most worthless responses I have ever seen. Instead of one-word answers, how about enlightening us all on the basis for your response? -- Glen Barber From LConrad at Go2France.com Thu Feb 5 18:11:08 2009 From: LConrad at Go2France.com (Len Conrad) Date: Thu Feb 5 18:11:16 2009 Subject: RTL8201 not explicitly in 7.1 supported hardware Message-ID: <200902060257734.SM07868@TX2.Go2France.com> A client wants to buy some TigerDirect/VisionMan 1U's with this mobo: http://www.biostar-usa.com/mbdetails.asp?model=P4M900%20MICRO%20775 RTL8201 PHY Ethernet http://www.freebsd.org/releases/7.1R/hardware.html ... shows only RTL81xx has anybody got RTL8201 working with FreeBSD 7.1, 7.0? thanks, Len From nightrecon at verizon.net Thu Feb 5 20:35:25 2009 From: nightrecon at verizon.net (Michael Powell) Date: Thu Feb 5 20:35:32 2009 Subject: problem mounting dvd ISO References: <21864688.post@talk.nabble.com> Message-ID: cguan wrote: > > Hi, > > I'm trying to mount a w2k8 dvd iso image on freebsd 7 using mdconfig and > mount -t cd9660. the commands appeared to be working fine but when I look > at the mount point I only see a readme.txt file reads: > > "This disc contains a "UDF" file system and requires an operating system > that supports the ISO-13346 "UDF" file system specification." > > code: > #mdconfig -a -t vnode /path/to/w2k8.iso -u 0 > #mount -t cd9660 /dev/md0 /mnt > #ls /mnt > readme.txt > > > if I use mount_udf, it said "Invalid argument" > code > #mount -t udf /dev/md0 /mnt > mount_udf: /dev/md0: Invalid argument > > However, mounting a CD iso image using the same way is fine. > > How do I solve this problem? I have been googling for a couple of hours > but can fine an answer. > > thanks, > Calvin Have you tried loading the udf module, e.g., kldload udf.ko and maybe the udf_iconv.ko prior to trying the mount command? -Mike From af300wsm at gmail.com Thu Feb 5 20:42:46 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Thu Feb 5 20:42:53 2009 Subject: having trouble with OpenOffice Message-ID: <00163645923cfac869046238a60d@google.com> Hi, Tonight I finally took the bull by the horns and got OpenOffice installed. However, I'm not having a problem that I haven't found an answer to yet but seems to be related to the X server (from searches on the net). So, I do this: [andy@sniper /usr/home/andy]$ /usr/local/bin/openoffice.org-2.4.2-scalc I18N: Operating system doesn't support locale "en_US" The application cannot be started. The component manager is not available. Segmentation fault (core dumped) As you can tell, OpenOffice failed because my OS doesn't support locale "en_US." Huh!?! I'm using the English version. In fact, the only way to consider me as being bilingual is something of a matter of mental gymnastics because English is spoken in England and to me, England is a foreign country. Thus, I'm bilingual, or at the least, I speak a foreign language. Never the less, how would this be fixed? Andy From guancalvin at yahoo.ca Thu Feb 5 21:07:11 2009 From: guancalvin at yahoo.ca (cguan) Date: Thu Feb 5 21:07:18 2009 Subject: problem mounting dvd ISO In-Reply-To: References: <21864688.post@talk.nabble.com> Message-ID: <21866650.post@talk.nabble.com> yes, I did. # kldstat -v | grep udf 4 2 0xc44bd000 7000 udf.ko 419 udf 5 1 0xc4498000 2000 udf_iconv.ko 423 udf_iconv # mount -t udf /dev/md0 ../iso_mount/w2k8-amd64 mount_udf: /dev/md0: Invalid argument # Is it possible the udf version is too new that the freebsd doesn't support it? I can mount it with my ubuntu 8.10. thanks, Calvin Michael Powell-6 wrote: > > cguan wrote: > >> >> Hi, >> >> I'm trying to mount a w2k8 dvd iso image on freebsd 7 using mdconfig and >> mount -t cd9660. the commands appeared to be working fine but when I look >> at the mount point I only see a readme.txt file reads: >> >> "This disc contains a "UDF" file system and requires an operating system >> that supports the ISO-13346 "UDF" file system specification." >> >> code: >> #mdconfig -a -t vnode /path/to/w2k8.iso -u 0 >> #mount -t cd9660 /dev/md0 /mnt >> #ls /mnt >> readme.txt >> >> >> if I use mount_udf, it said "Invalid argument" >> code >> #mount -t udf /dev/md0 /mnt >> mount_udf: /dev/md0: Invalid argument >> >> However, mounting a CD iso image using the same way is fine. >> >> How do I solve this problem? I have been googling for a couple of hours >> but can fine an answer. >> >> thanks, >> Calvin > > Have you tried loading the udf module, e.g., kldload udf.ko and maybe the > udf_iconv.ko prior to trying the mount command? > > -Mike > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/problem-mounting-dvd-ISO-tp21864688p21866650.html Sent from the freebsd-questions mailing list archive at Nabble.com. From rock_on_the_web at comcen.com.au Thu Feb 5 21:21:35 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Thu Feb 5 21:21:43 2009 Subject: Xlib: extension "Generic Event Extension" missing on display ":0.0" In-Reply-To: <20090205075330.GA9152@desmo.3rdrock.kicks-ass.net> References: <1233756631.66655.11.camel@laptop1.herveybayaustralia.com.au> <20090204175652.GB64529@slackbox.xs4all.nl> <1233790284.66655.20.camel@laptop1.herveybayaustralia.com.au> <18826.10584.602314.173622@jerusalem.litteratus.org> <20090205075330.GA9152@desmo.3rdrock.kicks-ass.net> Message-ID: <1233897720.10531.33.camel@laptop1.herveybayaustralia.com.au> On Thu, 2009-02-05 at 08:53 +0100, Alain G. Fabry wrote: > I'm using the radeonhd driver and am getting the message also. > > Video card is the ati mobility radeon x1600. > > > On Wed, Feb 04, 2009 at 06:48:40PM -0500, Robert Huff wrote: > > > > Da Rock writes: > > > > > > X is working fine here on a Radeon X1650 on 7.1-RELEASE with rnoland's > > > > last patch to update the kernel direct rendering support (which should > > > > be in 7-STABLE by now). Accellerated X works, 2D and 3D. Xv also works. > > > > > > This is getting very interesting now. Based On your comments as > > > well as others this could be related to intel. So far all good > > > reports are from radeon video drivers, but I happen to be running > > > onboard intel videos. > > > > I'm getting this. > > It appears harmless. > > The machine in question has a Matrox G450. > > > > > > > > Robert Huff > > Ok, got that sorted - I'd like to fill in exactly how, but I can't quite remember what was the trick :( (I think it might have had something to do EXA and XAA, don't hold me to it though). The error message is still showing, but I can watch something now on xine and/or mplayer now. Having said that, I'm still having some crashes- but thats for my new thread... (seems appropriate) Thanks again guys. From rock_on_the_web at comcen.com.au Thu Feb 5 21:30:48 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Thu Feb 5 21:30:55 2009 Subject: xine-remote crashes xine Message-ID: <1233898250.10531.42.camel@laptop1.herveybayaustralia.com.au> OK. Xine works (plays, etc), I can connect with xine-remote (from another m/c) and identify. However, if I send the 'mrl play ' xine crashes and I get the following error: cannot read request from client (0/2112/Resource temporarily unavailable) could not handle external client request xiTK received SIGSEGV signal, RIP. Abort trap: 6 (core dumped) I decided to go straight to the source and sent a post to the xine-user list, but there really is very little activity on that list (I joined up 36 hrs ago and there has been 1 post besides mine there, and no replies). Ergo, I came to the conclusion that I should try here as the problem also seems localized to FreeBSD (Fedora works fine). I'm wondering if this could be a security feature or a bug in FreeBSD/Xine preventing external commands being processed? From dhaneshkk at hotmail.com Thu Feb 5 21:55:54 2009 From: dhaneshkk at hotmail.com (dhaneshk k) Date: Thu Feb 5 21:56:01 2009 Subject: Flash9 and FreeBSD7.0 isssue Message-ID: Hi list, I followed http://freebsd.langhans.com.pl/af/index.html To enable flash9 support for FreeBSD7.0 I installed FreeBSD7.0 with Linux compatibility so the first step (1.3 ) I skipped second step I followed and installed latest firefox-devel then I installed nspluginwrapper next step I downloaded this ftp://greyone.tulatelecom.ru/pub/linux/adobe/install_flash_player_9_linux.tar.gz from this link http://www.filewatcher.com/m/install_flash_player_9_linux.tar.gz.2608602.0.0.html as adobe.com not allowing me to download it. then I untarred it and copied libflashplayer.so to ~/.mozilla/plugins ( I created plugins directory as there is no default plugins directory in ~/.mozilla/ and I invoked the nspluginwrapper $ nspluginwrapper -v -a -i and observed that it created nswrapper.libflashplayer.so but $ nspluginwrapper -l given me the the message segmentation fault core dumped sig 11 what I made wrong ? I tried to restart the firefox and it restarted and showing message you updated to the latest fiefox version . but when I accessed the http://www.adobe.com/shockwave/welcome/ URL I am getting message in the console as LoadPlugin: failed to initialize shared library /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object "libdl.so.2" not found, required by "libflashplayer.so"] Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory LoadPlugin: failed to initialize shared library /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object "libdl.so.2" not found, required by "libflashplayer.so"] Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory but find commad showing that libdl.so.2 is ther in /usr/compat/linux/lib/libdl.so.2 # find / -name libdl.so.2 /usr/compat/linux/lib/libdl.so.2 [dhanesh]$ sysctl compat.linux.osrelease compat.linux.osrelease: 2.4.2 [dhanesh$ uname -a FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 any hints to make it work most welcome.. please see this paste also http://rafb.net/p/Yz7dBS79.html thanks in advance -- K.K. Dhanesh _________________________________________________________________ Wish to Marry Now? Join MSN Matrimony FREE! http://www.in.msn.com/matrimony From naylor.b.david at gmail.com Thu Feb 5 23:55:58 2009 From: naylor.b.david at gmail.com (David Naylor) Date: Thu Feb 5 23:56:05 2009 Subject: Slow DNS (and host: connection timed out) Message-ID: <200902060955.59611.naylor.b.david@gmail.com> Hi, My ISP is using a WinGate DNS but resolving host names often takes a long time. The problem is also present in Konqueror (3 & 4) and Firefox. An example: # time host google.co.za google.co.za has address 66.249.93.104 google.co.za has address 72.14.207.104 google.co.za has address 64.233.161.104 ;; connection timed out; no servers could be reached ;; connection timed out; no servers could be reached 0.000u 0.008s 0:24.69 0.0% 0+0k 0+0io 0pf+0w The web browsers also take a long time before they actually try connecting. # konqueror www.google.co.za & [1] 4862 # sh -c 'while true; do echo -n .; netstat -np tcp; sleep 5; done' ......Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.6.55429 63.245.209.93.80 SYN_SENT tcp4 0 0 192.168.0.6.12337 74.125.77.147.80 SYN_SENT .Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.6.55429 63.245.209.93.80 SYN_SENT tcp4 0 0 192.168.0.6.12337 74.125.77.147.80 SYN_SENT Firefox on Windows doesn't have this problem. Lastly: # cat /etc/resolve.conf nameserver 192.193.194.1 What is wrong, why is DN resolving taking such an abnormally long time? How can I diagnose and fix it? Thanks in advance, David System: # uname -a FreeBSD dragon.dg 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sub Feb 1 20:27:42 SAST 2009 root@dragon.dg:/tmp/tmp/src/sys/GENERIC i386 and # uname -a FreeBSD dragonmini.dg 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Dec 21 20:04:04 SAST 2008 root@dragonmini.dg:/tmp/usr/src/sys/GENERIC amd64 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090206/f7715bfb/attachment.pgp From terry at bluelight.org.uk Fri Feb 6 00:31:08 2009 From: terry at bluelight.org.uk (Terry) Date: Fri Feb 6 00:31:22 2009 Subject: problem with date, dump or restore In-Reply-To: <20090206005253.21790106576E@hub.freebsd.org> References: <20090206005253.21790106576E@hub.freebsd.org> Message-ID: <498BF548.1050309@bluelight.org.uk> Hi list, with freebsd 7.0, after a probably successful dump : #dump -0Lauf ./ad0s1f.dump /dev/ad0s1f DUMP: Date of this level 0 dump: Thu Feb 5 07:18:58 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ad0s1f (/usr) to ./ad0s1f.dump DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 3021548 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 16.92% done, finished in 0:24 at Thu Feb 5 07:48:39 2009 DUMP: 39.28% done, finished in 0:15 at Thu Feb 5 07:44:33 2009 DUMP: 62.36% done, finished in 0:09 at Thu Feb 5 07:43:09 2009 DUMP: 93.06% done, finished in 0:01 at Thu Feb 5 07:40:35 2009 DUMP: DUMP: 3024998 tape blocks on 1 volume DUMP: finished in 1271 seconds, throughput 2380 KBytes/sec DUMP: level 0 dump on Thu Feb 5 07:18:58 2009 DUMP: Closing ./ad0s1f.dump DUMP: DUMP IS DONE the restore reports that 1) "Header with wrong dumpdate." 2) "expected next file 141455, got 146" # restore -rf /storage/backup/ad0s1f.dump Header with wrong dumpdate. expected next file 141455, got 146 and this is the same for all slices (except the numbers in the second line) so where/what is the problem ? Does anyone know what, exactly, this means? thanks Ivan A quick google ;) shows http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/118087 http://lists.freebsd.org/pipermail/freebsd-stable/2008-May/042270.html I also get the wrong dump date and it gives no problems. The next error you get about expected next file would concern me more and I don't have time to look at the moment Terry From Lokadamus at gmx.de Fri Feb 6 00:36:55 2009 From: Lokadamus at gmx.de (Lokadamus) Date: Fri Feb 6 00:37:02 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <200902060955.59611.naylor.b.david@gmail.com> References: <200902060955.59611.naylor.b.david@gmail.com> Message-ID: <498BF6AC.4030607@gmx.de> David Naylor wrote: > Hi, > > My ISP is using a WinGate DNS but resolving host names often takes a long > time. The problem is also present in Konqueror (3 & 4) and Firefox. > > Lastly: > # cat /etc/resolve.conf > nameserver 192.193.194.1 > > What is wrong, why is DN resolving taking such an abnormally long time? How > can I diagnose and fix it? > > Thanks in advance, > 2 Questions: Which networccard is build in? Can you use another nameserver? An extern nameserver for testing? From wojtek at wojtek.tensor.gdynia.pl Fri Feb 6 00:47:52 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Feb 6 00:48:00 2009 Subject: usage of swap file In-Reply-To: <4ad871310902051748q2567ca44ye8380712abc1313e@mail.gmail.com> References: <20090205234646.J24281@wojtek.tensor.gdynia.pl> <4ad871310902051748q2567ca44ye8380712abc1313e@mail.gmail.com> Message-ID: <20090206094627.I27041@wojtek.tensor.gdynia.pl> >>> my system sometimes need more memory and although there was 3.90 Gbyte >>> swap, I saw that run out of memory when I see with top command. >>> Why doesn't the machine use swap properly ? >> >> it does >> >>> What do I have to do ? >> >> nothing > > Those are the most worthless responses I have ever seen. Instead of well. from your description it's just all fine! i don't know why you say about "running out of memory" at all. does your programs crash with "out of memory" message? From wojtek at wojtek.tensor.gdynia.pl Fri Feb 6 01:37:42 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Feb 6 01:37:49 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <200902060955.59611.naylor.b.david@gmail.com> References: <200902060955.59611.naylor.b.david@gmail.com> Message-ID: <20090206103629.X27109@wojtek.tensor.gdynia.pl> > Proto Recv-Q Send-Q Local Address Foreign Address (state) > tcp4 0 0 192.168.0.6.55429 63.245.209.93.80 SYN_SENT > tcp4 0 0 192.168.0.6.12337 74.125.77.147.80 SYN_SENT > > Firefox on Windows doesn't have this problem. it doesn't look like DNS problem as it's stuck on connecting to HTTP port (80). check out with ping if it's all fine with your netcard under FreeBSD From naylor.b.david at gmail.com Fri Feb 6 01:53:49 2009 From: naylor.b.david at gmail.com (David Naylor) Date: Fri Feb 6 01:53:55 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <498BF6AC.4030607@gmx.de> References: <200902060955.59611.naylor.b.david@gmail.com> <498BF6AC.4030607@gmx.de> Message-ID: <200902061153.47160.naylor.b.david@gmail.com> On Friday 06 February 2009 10:37:00 Lokadamus wrote: > David Naylor wrote: > > Hi, > > > > My ISP is using a WinGate DNS but resolving host names often takes a long > > time. The problem is also present in Konqueror (3 & 4) and Firefox. > > > > Lastly: > > # cat /etc/resolve.conf > > nameserver 192.193.194.1 > > > > What is wrong, why is DN resolving taking such an abnormally long time? > > How can I diagnose and fix it? > > > > Thanks in advance, > > 2 Questions: > Which networccard is build in? I don't quite understand your question. See below for the network topology: ISP (host WinGate DNS, only proxy and socks connections allowed out) | | Wireless connection to my gateway | Server (My gateway, running bind9 for internet domain and DNS caching, FreeBSD 7.1p2) > PCI D-Link GPlus wireless card for link to ISP > PCI rl0 link to switch | | Switch | My desktop (Client, FreeBSD 7.1p2, acts as bridge for laptop) > PCI dc0 link to switch > Built-in nfe0 link to laptop | My laptop (Client, FreeBSD 8.0) > Built-in bge0 link to desktop All the FreeBSD systems (server, desktop and laptop) experience the DNS problem. > Can you use another nameserver? An extern nameserver for testing? Other than the ISP's nameserver and my servers nameserver (which works fine for its master domain) no. Does this help? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090206/5606890a/attachment.pgp From radek at ceskedomeny.cz Fri Feb 6 01:57:04 2009 From: radek at ceskedomeny.cz (Bc. Radek Krejca) Date: Fri Feb 6 01:57:17 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <200902060955.59611.naylor.b.david@gmail.com> References: <200902060955.59611.naylor.b.david@gmail.com> Message-ID: <318360076.20090206105700@starnet.cz> Hi, I have similar problem, 3 servers in the same switch, the same configuration, but sending of e-mail from php takes very long time, but only on 2 servers with 7.1 amd64. On 6.2 (the same ip range, the same dns resolver, the same version of php, the same switch) no problem. Where could be a problem? Resolver? Interesting is that are moments when problem isnt on 7.1 too (but very rarely). I thing that is problem of version of FBSD but I havent any verification yet. Radek From rock_on_the_web at comcen.com.au Fri Feb 6 02:17:48 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Fri Feb 6 02:17:57 2009 Subject: Flash9 and FreeBSD7.0 isssue In-Reply-To: References: Message-ID: <1233915498.10531.52.camel@laptop1.herveybayaustralia.com.au> On Fri, 2009-02-06 at 05:43 +0000, dhaneshk k wrote: > Hi list, > > > I followed http://freebsd.langhans.com.pl/af/index.html > > To enable flash9 support for FreeBSD7.0 > > > > > I installed FreeBSD7.0 with Linux compatibility > > so the first step (1.3 ) I skipped > > > > second step I followed and installed latest firefox-devel > > > then I installed nspluginwrapper > > > > next step I downloaded this ftp://greyone.tulatelecom.ru/pub/linux/adobe/install_flash_player_9_linux.tar.gz > > from this link http://www.filewatcher.com/m/install_flash_player_9_linux.tar.gz.2608602.0.0.html as adobe.com not allowing me to download it. > > > then I untarred it and copied libflashplayer.so to > ~/.mozilla/plugins ( I created plugins directory as there is no > default plugins directory in ~/.mozilla/ > and I invoked the nspluginwrapper $ nspluginwrapper -v -a -i and observed that it created nswrapper.libflashplayer.so > > > > but $ nspluginwrapper -l given me the the message segmentation fault core dumped sig 11 > > what I made wrong ? > > > I tried to restart the firefox and it restarted and showing message you updated to the latest fiefox version . > > > but when I accessed the http://www.adobe.com/shockwave/welcome/ URL I am getting message in the console as > > > LoadPlugin: failed to initialize shared library /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object "libdl.so.2" not found, required by "libflashplayer.so"] > > Gtk-Message: Failed to load module "gnomebreakpad": > libgnomebreakpad.so: cannot open shared object file: No such file or > directory > LoadPlugin: failed to initialize shared library /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object "libdl.so.2" not found, required by "libflashplayer.so"] > > Gtk-Message: Failed to load module "gnomebreakpad": > libgnomebreakpad.so: cannot open shared object file: No such file or > directory > > > > but find commad showing that libdl.so.2 is ther in /usr/compat/linux/lib/libdl.so.2 > > > > # find / -name libdl.so.2 > /usr/compat/linux/lib/libdl.so.2 > > > [dhanesh]$ sysctl compat.linux.osrelease > compat.linux.osrelease: 2.4.2 > > [dhanesh$ uname -a > FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > > > any hints to make it work most welcome.. please see this paste also http://rafb.net/p/Yz7dBS79.html > > thanks in advance Been where you are, done all that. First, deinstall from ports emulators/linux_base-fc4 and make install linux_base-f8. Then make install from ports www/linux-firefox, www/nspluginwrapper and www/linux-flashplugin9. kldload linux, and mount -t linprocfs linproc /compat/linux/proc. Run nspluginwrapper and then run linux-firefox. Tada! All should work now, but it can be a little unstable. HTH. From naylor.b.david at gmail.com Fri Feb 6 02:20:46 2009 From: naylor.b.david at gmail.com (David Naylor) Date: Fri Feb 6 02:20:53 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <20090206103629.X27109@wojtek.tensor.gdynia.pl> References: <200902060955.59611.naylor.b.david@gmail.com> <20090206103629.X27109@wojtek.tensor.gdynia.pl> Message-ID: <200902061220.46281.naylor.b.david@gmail.com> On Friday 06 February 2009 11:37:31 Wojciech Puchar wrote: > > Proto Recv-Q Send-Q Local Address Foreign Address (state) > > tcp4 0 0 192.168.0.6.55429 63.245.209.93.80 > > SYN_SENT tcp4 0 0 192.168.0.6.12337 74.125.77.147.80 > > SYN_SENT > > > > Firefox on Windows doesn't have this problem. > > it doesn't look like DNS problem as it's stuck on connecting to HTTP port > (80). > > > check out with ping if it's all fine with your netcard under FreeBSD netcard works fine: (from laptop, see http://lists.freebsd.org/pipermail/freebsd-questions/2009-February/192278.html for layout of network) # ping -c 2000 -i 0.1 192.193.194.1 PING 192.193.194.1 (192.193.194.1): 56 data bytes 2000 packets transmitted, 1937 packets received, 3.1% packet loss round-trip min/avg/max/stddev = 3.339/27.799/741.743/78.702 ms The above was because only proxied (and socks) traffic is allowed beyond the ISP. The point I was trying to make was (by the number of '.' before the first netstat line) that it takes the browser over 25 seconds before it even attempts the connection. See below for when I have transparent proxying enabled (and the connection does go through). # konqueror www.google.co.za & [1] 4862 # sh -c 'while true; do echo -n .; netstat -np tcp; sleep 5; done' ........Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.2.50707 74.125.77.99.80 ESTABLISHED .Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.2.64852 74.125.77.99.80 TIME_WAIT tcp4 0 0 192.168.0.2.50707 74.125.77.99.80 TIME_WAIT Note that in this case it takes 35 seconds before Konqueror attempts the connection. Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090206/0abc6998/attachment.pgp From nightrecon at verizon.net Fri Feb 6 02:23:15 2009 From: nightrecon at verizon.net (Michael Powell) Date: Fri Feb 6 02:23:22 2009 Subject: problem mounting dvd ISO References: <21864688.post@talk.nabble.com> <21866650.post@talk.nabble.com> Message-ID: cguan wrote: > > yes, I did. > > # kldstat -v | grep udf > 4 2 0xc44bd000 7000 udf.ko > 419 udf > 5 1 0xc4498000 2000 udf_iconv.ko > 423 udf_iconv > # mount -t udf /dev/md0 ../iso_mount/w2k8-amd64 > mount_udf: /dev/md0: Invalid argument > # > > Is it possible the udf version is too new that the freebsd doesn't support > it? I can mount it with my ubuntu 8.10. > > thanks, > Calvin > [snip] I suspect you are correct here. I seem to recall some distant memory of when it first made it's way into FreeBSD and even then it was out of date and just barely worked. Maybe it doesn't have support for ISO-13346. Don't really know the answer to this myself. -Mike From Lokadamus at gmx.de Fri Feb 6 03:47:39 2009 From: Lokadamus at gmx.de (Lokadamus) Date: Fri Feb 6 03:47:46 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <200902061153.47160.naylor.b.david@gmail.com> References: <200902060955.59611.naylor.b.david@gmail.com> <498BF6AC.4030607@gmx.de> <200902061153.47160.naylor.b.david@gmail.com> Message-ID: <498C2363.3050303@gmx.de> David Naylor wrote: > I don't quite understand your question. See below for the network topology: > > ISP (host WinGate DNS, only proxy and socks connections allowed out) > | > | Wireless connection to my gateway > | > Server (My gateway, running bind9 for internet domain and DNS caching, FreeBSD > 7.1p2) > > PCI D-Link GPlus wireless card for link to ISP > > PCI rl0 link to switch > Ok, here is a realtek. That can sometimes make problems. Can you change this network interface card? > | > | Switch > | > My desktop (Client, FreeBSD 7.1p2, acts as bridge for laptop) > > PCI dc0 link to switch > > Built-in nfe0 link to laptop > | > My laptop (Client, FreeBSD 8.0) > > Built-in bge0 link to desktop > > All the FreeBSD systems (server, desktop and laptop) experience the DNS > problem. From naylor.b.david at gmail.com Fri Feb 6 04:08:32 2009 From: naylor.b.david at gmail.com (David Naylor) Date: Fri Feb 6 04:08:39 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <498C2363.3050303@gmx.de> References: <200902060955.59611.naylor.b.david@gmail.com> <200902061153.47160.naylor.b.david@gmail.com> <498C2363.3050303@gmx.de> Message-ID: <200902061408.24939.naylor.b.david@gmail.com> On Friday 06 February 2009 13:47:47 Lokadamus wrote: > David Naylor wrote: > > I don't quite understand your question. See below for the network > > topology: > > > > ISP (host WinGate DNS, only proxy and socks connections allowed out) > > > > | Wireless connection to my gateway > > > > Server (My gateway, running bind9 for internet domain and DNS caching, > > FreeBSD 7.1p2) > > > > > PCI D-Link GPlus wireless card for link to ISP > > > PCI rl0 link to switch > > Ok, here is a realtek. That can sometimes make problems. > Can you change this network interface card? Yes I could, however I have the same problem on the gateway over the wireless card. The wireless card is connecting the gateway to the ISP (i.e. gateway->wireless->ISP) with the ethernet to the intranet. I haven't had any problems with pinging the gateway from my laptop. > > | Switch > > > > My desktop (Client, FreeBSD 7.1p2, acts as bridge for laptop) > > > > > PCI dc0 link to switch > > > Built-in nfe0 link to laptop > > > > My laptop (Client, FreeBSD 8.0) > > > > > Built-in bge0 link to desktop > > > > All the FreeBSD systems (server, desktop and laptop) experience the DNS > > problem. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090206/4b5eaa34/attachment.pgp From matiassurdi at gmail.com Fri Feb 6 04:09:05 2009 From: matiassurdi at gmail.com (Matias Surdi) Date: Fri Feb 6 04:09:13 2009 Subject: Custom build fails Message-ID: Hi, I'm building a custom freeBSD release and I'm getting the following error: -------------------------------------------------------------- >>> Building an up-to-date make(1) -------------------------------------------------------------- /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created for /usr/src/usr.bin/make rm -f .depend mkdep -f .depend -a -I/usr/src/usr.bin/make -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" /usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c /usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c /usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c /usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c /usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c /usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c /usr/src/usr.bin/make/var.c cc: not found mkdep: compile failed *** Error code 1 Stop in /usr/src/usr.bin/make. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. + exit 1 + umount /dev *** Error code 1 Stop in /usr/src/release. These are just the last lines, I can post the entire log if needed, but it is quite large. The source code is from 7.0-RELEASE, and my src.conf is the following: WITHOUT_ATM= WITHOUT_AUTHPF= WITHOUT_BIND= WITHOUT_BLUETOOTH= WITHOUT_CALENDAR= WITHOUT_CDDL= WITHOUT_CPP= WITHOUT_CVS= WITHOUT_CXX= WITHOUT_DICT= WITHOUT_EXAMPLES= WITHOUT_FORTH= WITHOUT_GAMES= WITHOUT_GDB= WITHOUT_GPIB= WITHOUT_GROFF= WITHOUT_GSSAPI= WITHOUT_GESIOD= WITHOUT_GNU= WITHOUT_HTML= WITHOUT_I4B= WITHOUT_IDEA= WITHOUT_INFO= WITHOUT_IPFILTER= WITHOUT_IPX= WITHOUT_KERBEROS= WITHOUT_LOCALES= WITHOUT_LPR= WITHOUT_MAN= WITHOUT_NCP= WITHOUT_NLS= WITHOUT_NIS= WITHOUT_OBJC= WITHOUT_RCMDS= WITHOUT_RCS= WITHOUT_SENDMAIL= WITHOUT_SHAREDOCS= WITHOUT_SSP= WITHOUT_TCSH= WITHOUT_TOOLCHAIN= WITHOUT_WPA_SUPPLICANT_EAPOOL= WITHOUT_ZFS= The problem seems to arise when any of WITHOUT_TOOLCHAIN, WITHOUT_CXX or WITHOUTH_CPP are present. On this build, I don't want to have any development tools, as I'm trying to reduce the size at a minimum. Why is "make" being build? How can I avoid this? If you need more info in order to help me, tell me what do you need please. Thanks for any help From frederic.perrin at resel.fr Fri Feb 6 04:25:45 2009 From: frederic.perrin at resel.fr (=?utf-8?Q?Fr=C3=A9d=C3=A9ric_Perrin?=) Date: Fri Feb 6 04:25:52 2009 Subject: Multiple MAC on a single (physical) interface In-Reply-To: <498AABCC.4090809@gmx.com> (Nikos Vassiliadis's message of "Thu, 05 Feb 2009 11:05:16 +0200") References: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> <498AABCC.4090809@gmx.com> Message-ID: <86ocxfeoqn.fsf@chameau.maisel.enst-bretagne.fr> Le Jeudi 5 ? 10:05, Nikos Vassiliadis a ?crit : > Fr?d?ric Perrin wrote: >> I need to be able >> to send and receive using several MAC addresses, as if I had several >> NIC (which I of course don't have). >> >> [...] >> > Yes, you could use a netgraph bridge to bridge several > ethernet interfaces together. Luckily, there is also a > pseudo-ethernet-like interface you can attach to this > bridge and of course you get to treat the pseudo-ethernet > as a regular ethernet interface, that is, change its > MAC address. > > The process is described here: > http://www.bsdatwork.com/2004/06/19/mac_spoofing_on_freebsd/ Oh, yes, I actually remember trying that. However, on the first ngctl(8) invocation I do (even a 'ngctl list' after a clean reboot), the kernel says : > WARNING: attempt to net_add_domain(netgraph) after domainfinalize() I can reproduce this by doing a 'kldload ng_socket'. kldstat(8) says that the module is loaded anyway. A quick googling says that this message is harmless. A 2006 post says that it was silenced in 6-STABLE ; it lokks like this haven't made its way to the 7.1-RELEASE I'm using. However ; On the next step, when I create the bridge, I have : # ngctl -dd mkpeer ngeth0: bridge lower link0 [...] ngctl: sendto(ngeth0:): No such file or directory ngctl: send msg: No such file or directory I guess I have to read more in details about how netgraph works in recent releases of FreeBSD before goiing on. Unfortunately, I will soon be physically away from my FreeBSD box for a week, and fiddling with net interfaces is tipically something I'm afraid of doing through SSH. Thanks anyway from the pointer. -- Fred From glen.j.barber at gmail.com Fri Feb 6 04:27:00 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri Feb 6 04:27:07 2009 Subject: usage of swap file In-Reply-To: <20090206094627.I27041@wojtek.tensor.gdynia.pl> References: <20090205234646.J24281@wojtek.tensor.gdynia.pl> <4ad871310902051748q2567ca44ye8380712abc1313e@mail.gmail.com> <20090206094627.I27041@wojtek.tensor.gdynia.pl> Message-ID: <4ad871310902060426mdaf5e2brcf875392fd4202e8@mail.gmail.com> On Fri, Feb 6, 2009 at 3:47 AM, Wojciech Puchar wrote: >>>> my system sometimes need more memory and although there was 3.90 Gbyte >>>> swap, I saw that run out of memory when I see with top command. >>>> Why doesn't the machine use swap properly ? >>> >>> it does >>> >>>> What do I have to do ? >>> >>> nothing >> >> Those are the most worthless responses I have ever seen. Instead of > > well. from your description it's just all fine! > i don't know why you say about "running out of memory" at all. > > does your programs crash with "out of memory" message? > My description? I'm not the original poster. Pay attention. -- Glen Barber From kitchetech at gmail.com Fri Feb 6 04:27:25 2009 From: kitchetech at gmail.com (matt donovan) Date: Fri Feb 6 04:27:34 2009 Subject: Custom build fails In-Reply-To: References: Message-ID: <28283d910902060427m5764b1q170d4441adf6b519@mail.gmail.com> On Fri, Feb 6, 2009 at 7:08 AM, Matias Surdi wrote: > Hi, I'm building a custom freeBSD release and I'm getting the following > error: > > -------------------------------------------------------------- > >>> Building an up-to-date make(1) > -------------------------------------------------------------- > /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created for > /usr/src/usr.bin/make > rm -f .depend > mkdep -f .depend -a -I/usr/src/usr.bin/make > -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" > /usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c > /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c > /usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c > /usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c > /usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c > /usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c > /usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c > /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c > /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c > /usr/src/usr.bin/make/var.c > cc: not found > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/usr.bin/make. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > + exit 1 > + umount /dev > *** Error code 1 > > Stop in /usr/src/release. > > > > > > These are just the last lines, I can post the entire log if needed, but it > is quite large. > > > The source code is from 7.0-RELEASE, and my src.conf is the following: > WITHOUT_ATM= > WITHOUT_AUTHPF= > WITHOUT_BIND= > WITHOUT_BLUETOOTH= > WITHOUT_CALENDAR= > WITHOUT_CDDL= > WITHOUT_CPP= > WITHOUT_CVS= > WITHOUT_CXX= > WITHOUT_DICT= > WITHOUT_EXAMPLES= > WITHOUT_FORTH= > WITHOUT_GAMES= > WITHOUT_GDB= > WITHOUT_GPIB= > WITHOUT_GROFF= > WITHOUT_GSSAPI= > WITHOUT_GESIOD= > WITHOUT_GNU= > WITHOUT_HTML= > WITHOUT_I4B= > WITHOUT_IDEA= > WITHOUT_INFO= > WITHOUT_IPFILTER= > WITHOUT_IPX= > WITHOUT_KERBEROS= > WITHOUT_LOCALES= > WITHOUT_LPR= > WITHOUT_MAN= > WITHOUT_NCP= > WITHOUT_NLS= > WITHOUT_NIS= > WITHOUT_OBJC= > WITHOUT_RCMDS= > WITHOUT_RCS= > WITHOUT_SENDMAIL= > WITHOUT_SHAREDOCS= > WITHOUT_SSP= > WITHOUT_TCSH= > WITHOUT_TOOLCHAIN= > WITHOUT_WPA_SUPPLICANT_EAPOOL= > WITHOUT_ZFS= > > > The problem seems to arise when any of WITHOUT_TOOLCHAIN, WITHOUT_CXX or > WITHOUTH_CPP are present. > > > On this build, I don't want to have any development tools, as I'm trying > to reduce the size at a minimum. > > Why is "make" being build? How can I avoid this? > > If you need more info in order to help me, tell me what do you need please. > > Thanks for any help > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" You need WITHOUT_TOOLCHAIN= to build you can add that after you do a build From matiassurdi at gmail.com Fri Feb 6 04:37:03 2009 From: matiassurdi at gmail.com (Matias Surdi) Date: Fri Feb 6 04:37:09 2009 Subject: Custom build fails In-Reply-To: <28283d910902060427m5764b1q170d4441adf6b519@mail.gmail.com> References: <28283d910902060427m5764b1q170d4441adf6b519@mail.gmail.com> Message-ID: <498C2EE1.4090108@gmail.com> I'm currently running the following command: # Make the release cd /usr/src/release make release \ CHROOTDIR=/home/oms \ BUILDNAME=OpenMailServer \ CVSROOT=/home/ncvs \ RELEASETAG=RELENG_7 \ NODOC=YES \ NO_FLOPPIES=YES \ NOPORTS=YES \ RELEASENOUPDATE=YES \ MAKE_ISOS=YES \ WORLD_FLAGS=" -DWITHOUT_TOOLCHAIN" \ LOCAL_PATCHES=$DIR/oms.diff \ LOCAL_SCRIPT=$DIR/local_script.sh \ PATCH_FLAGS=-p3 Do you know how can set this up in order to get that variable to be on the build process and not on the install/release process? Thank you very much for your help. Matias. matt donovan wrote: > On Fri, Feb 6, 2009 at 7:08 AM, Matias Surdi wrote: > >> Hi, I'm building a custom freeBSD release and I'm getting the following >> error: >> >> -------------------------------------------------------------- >>>>> Building an up-to-date make(1) >> -------------------------------------------------------------- >> /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created for >> /usr/src/usr.bin/make >> rm -f .depend >> mkdep -f .depend -a -I/usr/src/usr.bin/make >> -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" >> /usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c >> /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c >> /usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c >> /usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c >> /usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c >> /usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c >> /usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c >> /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c >> /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c >> /usr/src/usr.bin/make/var.c >> cc: not found >> mkdep: compile failed >> *** Error code 1 >> >> Stop in /usr/src/usr.bin/make. >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> + exit 1 >> + umount /dev >> *** Error code 1 >> >> Stop in /usr/src/release. >> >> >> >> >> >> These are just the last lines, I can post the entire log if needed, but it >> is quite large. >> >> >> The source code is from 7.0-RELEASE, and my src.conf is the following: >> WITHOUT_ATM= >> WITHOUT_AUTHPF= >> WITHOUT_BIND= >> WITHOUT_BLUETOOTH= >> WITHOUT_CALENDAR= >> WITHOUT_CDDL= >> WITHOUT_CPP= >> WITHOUT_CVS= >> WITHOUT_CXX= >> WITHOUT_DICT= >> WITHOUT_EXAMPLES= >> WITHOUT_FORTH= >> WITHOUT_GAMES= >> WITHOUT_GDB= >> WITHOUT_GPIB= >> WITHOUT_GROFF= >> WITHOUT_GSSAPI= >> WITHOUT_GESIOD= >> WITHOUT_GNU= >> WITHOUT_HTML= >> WITHOUT_I4B= >> WITHOUT_IDEA= >> WITHOUT_INFO= >> WITHOUT_IPFILTER= >> WITHOUT_IPX= >> WITHOUT_KERBEROS= >> WITHOUT_LOCALES= >> WITHOUT_LPR= >> WITHOUT_MAN= >> WITHOUT_NCP= >> WITHOUT_NLS= >> WITHOUT_NIS= >> WITHOUT_OBJC= >> WITHOUT_RCMDS= >> WITHOUT_RCS= >> WITHOUT_SENDMAIL= >> WITHOUT_SHAREDOCS= >> WITHOUT_SSP= >> WITHOUT_TCSH= >> WITHOUT_TOOLCHAIN= >> WITHOUT_WPA_SUPPLICANT_EAPOOL= >> WITHOUT_ZFS= >> >> >> The problem seems to arise when any of WITHOUT_TOOLCHAIN, WITHOUT_CXX or >> WITHOUTH_CPP are present. >> >> >> On this build, I don't want to have any development tools, as I'm trying >> to reduce the size at a minimum. >> >> Why is "make" being build? How can I avoid this? >> >> If you need more info in order to help me, tell me what do you need please. >> >> Thanks for any help >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" > > > You need > WITHOUT_TOOLCHAIN= to build you can add that after you do a build > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From matiassurdi at gmail.com Fri Feb 6 04:59:40 2009 From: matiassurdi at gmail.com (Matias Surdi) Date: Fri Feb 6 04:59:47 2009 Subject: Custom build fails In-Reply-To: <28283d910902060427m5764b1q170d4441adf6b519@mail.gmail.com> References: <28283d910902060427m5764b1q170d4441adf6b519@mail.gmail.com> Message-ID: <498C2EE1.4090108@gmail.com> I'm currently running the following command: # Make the release cd /usr/src/release make release \ CHROOTDIR=/home/oms \ BUILDNAME=OpenMailServer \ CVSROOT=/home/ncvs \ RELEASETAG=RELENG_7 \ NODOC=YES \ NO_FLOPPIES=YES \ NOPORTS=YES \ RELEASENOUPDATE=YES \ MAKE_ISOS=YES \ WORLD_FLAGS=" -DWITHOUT_TOOLCHAIN" \ LOCAL_PATCHES=$DIR/oms.diff \ LOCAL_SCRIPT=$DIR/local_script.sh \ PATCH_FLAGS=-p3 Do you know how can set this up in order to get that variable to be on the build process and not on the install/release process? Thank you very much for your help. Matias. matt donovan wrote: > On Fri, Feb 6, 2009 at 7:08 AM, Matias Surdi wrote: > >> Hi, I'm building a custom freeBSD release and I'm getting the following >> error: >> >> -------------------------------------------------------------- >>>>> Building an up-to-date make(1) >> -------------------------------------------------------------- >> /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created for >> /usr/src/usr.bin/make >> rm -f .depend >> mkdep -f .depend -a -I/usr/src/usr.bin/make >> -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" >> /usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c >> /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c >> /usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c >> /usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c >> /usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c >> /usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c >> /usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c >> /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c >> /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c >> /usr/src/usr.bin/make/var.c >> cc: not found >> mkdep: compile failed >> *** Error code 1 >> >> Stop in /usr/src/usr.bin/make. >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> + exit 1 >> + umount /dev >> *** Error code 1 >> >> Stop in /usr/src/release. >> >> >> >> >> >> These are just the last lines, I can post the entire log if needed, but it >> is quite large. >> >> >> The source code is from 7.0-RELEASE, and my src.conf is the following: >> WITHOUT_ATM= >> WITHOUT_AUTHPF= >> WITHOUT_BIND= >> WITHOUT_BLUETOOTH= >> WITHOUT_CALENDAR= >> WITHOUT_CDDL= >> WITHOUT_CPP= >> WITHOUT_CVS= >> WITHOUT_CXX= >> WITHOUT_DICT= >> WITHOUT_EXAMPLES= >> WITHOUT_FORTH= >> WITHOUT_GAMES= >> WITHOUT_GDB= >> WITHOUT_GPIB= >> WITHOUT_GROFF= >> WITHOUT_GSSAPI= >> WITHOUT_GESIOD= >> WITHOUT_GNU= >> WITHOUT_HTML= >> WITHOUT_I4B= >> WITHOUT_IDEA= >> WITHOUT_INFO= >> WITHOUT_IPFILTER= >> WITHOUT_IPX= >> WITHOUT_KERBEROS= >> WITHOUT_LOCALES= >> WITHOUT_LPR= >> WITHOUT_MAN= >> WITHOUT_NCP= >> WITHOUT_NLS= >> WITHOUT_NIS= >> WITHOUT_OBJC= >> WITHOUT_RCMDS= >> WITHOUT_RCS= >> WITHOUT_SENDMAIL= >> WITHOUT_SHAREDOCS= >> WITHOUT_SSP= >> WITHOUT_TCSH= >> WITHOUT_TOOLCHAIN= >> WITHOUT_WPA_SUPPLICANT_EAPOOL= >> WITHOUT_ZFS= >> >> >> The problem seems to arise when any of WITHOUT_TOOLCHAIN, WITHOUT_CXX or >> WITHOUTH_CPP are present. >> >> >> On this build, I don't want to have any development tools, as I'm trying >> to reduce the size at a minimum. >> >> Why is "make" being build? How can I avoid this? >> >> If you need more info in order to help me, tell me what do you need please. >> >> Thanks for any help >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" > > > You need > WITHOUT_TOOLCHAIN= to build you can add that after you do a build > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From f.bonnet at esiee.fr Fri Feb 6 05:03:28 2009 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Fri Feb 6 05:03:35 2009 Subject: lagg driver at 6.4 ? Message-ID: <498C351C.7090708@esiee.fr> Hello Does the lagg driver ( ethernet bonding ) has been backported to the 6.4 release ? I have to setup a server with two giga-ethernet interfaces ( broadcomm ) and I would like to use them with LACP with a Cisco switch Thank you From eculp at casasponti.net Fri Feb 6 05:50:33 2009 From: eculp at casasponti.net (eculp@casasponti.net) Date: Fri Feb 6 05:50:41 2009 Subject: Flash9and FreeBSD7.0isssue In-Reply-To: <1233915498.10531.52.camel@laptop1.herveybayaustralia.com.au> References: <1233915498.10531.52.camel@laptop1.herveybayaustralia.com.au> Message-ID: <20090206075030.17qwm4xcvt0gog4gw@intranet.casasponti.net> Quoting Da Rock : > On Fri, 2009-02-06 at 05:43 +0000, dhaneshk k wrote: >> Hi list, >> >> >> I followed http://freebsd.langhans.com.pl/af/index.html >> >> To enable flash9 support for FreeBSD7.0 >> >> >> >> >> I installed FreeBSD7.0 with Linux compatibility >> >> so the first step (1.3 ) I skipped I would suggest linux_base-f8-8_11, the in /etc/sysctl.conf put: compat.linux.osrelease=2.6.16, for firefox use the latest firefox3 port (firefox-3.0.5_1,1) NOT firefox-devel, all the plugins that you want such as linux-flashplugin-9.0r152 and any others then nspluginwrapper-1.2.2_2 and run the script and start firefox3 and all should be well if I haven't forgotten something. I would guess that the principal problem is the firefox-devel port rather than firefox3. IIRC, it is pre-firefox3. ed >> >> >> >> second step I followed and installed latest firefox-devel >> >> >> then I installed nspluginwrapper >> >> >> >> next step I downloaded this >> ftp://greyone.tulatelecom.ru/pub/linux/adobe/install_flash_player_9_linux.tar.gz >> >> from this link >> http://www.filewatcher.com/m/install_flash_player_9_linux.tar.gz.2608602.0.0.html as adobe.com not allowing me to download >> it. >> >> >> then I untarred it and copied libflashplayer.so to >> ~/.mozilla/plugins ( I created plugins directory as there is no >> default plugins directory in ~/.mozilla/ >> and I invoked the nspluginwrapper $ nspluginwrapper -v >> -a -i and observed that it created >> nswrapper.libflashplayer.so >> >> >> >> but $ nspluginwrapper -l given me the the message >> segmentation fault core dumped sig 11 >> >> what I made wrong ? >> >> >> I tried to restart the firefox and it restarted and showing >> message you updated to the latest fiefox version . >> >> >> but when I accessed the http://www.adobe.com/shockwave/welcome/ >> URL I am getting message in the console as >> >> >> LoadPlugin: failed to initialize shared library >> /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object >> "libdl.so.2" not found, required by "libflashplayer.so"] >> >> Gtk-Message: Failed to load module "gnomebreakpad": >> libgnomebreakpad.so: cannot open shared object file: No such file or >> directory >> LoadPlugin: failed to initialize shared library >> /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object >> "libdl.so.2" not found, required by "libflashplayer.so"] >> >> Gtk-Message: Failed to load module "gnomebreakpad": >> libgnomebreakpad.so: cannot open shared object file: No such file or >> directory >> >> >> >> but find commad showing that libdl.so.2 is ther in >> /usr/compat/linux/lib/libdl.so.2 >> >> >> >> # find / -name libdl.so.2 >> /usr/compat/linux/lib/libdl.so.2 >> >> >> [dhanesh]$ sysctl compat.linux.osrelease >> compat.linux.osrelease: 2.4.2 >> >> [dhanesh$ uname -a >> FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 >> UTC 2008 >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> >> >> any hints to make it work most welcome.. please see this paste >> also http://rafb.net/p/Yz7dBS79.html >> >> thanks in advance > > Been where you are, done all that. > > First, deinstall from ports emulators/linux_base-fc4 and make install > linux_base-f8. Then make install from ports www/linux-firefox, > www/nspluginwrapper and www/linux-flashplugin9. kldload linux, and mount > -t linprocfs linproc /compat/linux/proc. > > Run nspluginwrapper and then run linux-firefox. Tada! All should work > now, but it can be a little unstable. > > HTH. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > "Failure is the opportunity to begin again more intelligently." "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford From eculp at casasponti.net Fri Feb 6 05:50:40 2009 From: eculp at casasponti.net (eculp@casasponti.net) Date: Fri Feb 6 05:50:53 2009 Subject: Flash9and FreeBSD7.0isssue In-Reply-To: <1233915498.10531.52.camel@laptop1.herveybayaustralia.com.au> References: <1233915498.10531.52.camel@laptop1.herveybayaustralia.com.au> Message-ID: <20090206075038.17qwm4xcvt0gog4gw@intranet.casasponti.net> Quoting Da Rock : > On Fri, 2009-02-06 at 05:43 +0000, dhaneshk k wrote: >> Hi list, >> >> >> I followed http://freebsd.langhans.com.pl/af/index.html >> >> To enable flash9 support for FreeBSD7.0 >> >> >> >> >> I installed FreeBSD7.0 with Linux compatibility >> >> so the first step (1.3 ) I skipped >> >> >> >> second step I followed and installed latest firefox-devel >> >> >> then I installed nspluginwrapper >> >> >> >> next step I downloaded this >> ftp://greyone.tulatelecom.ru/pub/linux/adobe/install_flash_player_9_linux.tar.gz >> >> from this link >> http://www.filewatcher.com/m/install_flash_player_9_linux.tar.gz.2608602.0.0.html as adobe.com not allowing me to download >> it. >> >> >> then I untarred it and copied libflashplayer.so to >> ~/.mozilla/plugins ( I created plugins directory as there is no >> default plugins directory in ~/.mozilla/ >> and I invoked the nspluginwrapper $ nspluginwrapper -v >> -a -i and observed that it created >> nswrapper.libflashplayer.so >> >> >> >> but $ nspluginwrapper -l given me the the message >> segmentation fault core dumped sig 11 >> >> what I made wrong ? >> >> >> I tried to restart the firefox and it restarted and showing >> message you updated to the latest fiefox version . >> >> >> but when I accessed the http://www.adobe.com/shockwave/welcome/ >> URL I am getting message in the console as >> >> >> LoadPlugin: failed to initialize shared library >> /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object >> "libdl.so.2" not found, required by "libflashplayer.so"] >> >> Gtk-Message: Failed to load module "gnomebreakpad": >> libgnomebreakpad.so: cannot open shared object file: No such file or >> directory >> LoadPlugin: failed to initialize shared library >> /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object >> "libdl.so.2" not found, required by "libflashplayer.so"] >> >> Gtk-Message: Failed to load module "gnomebreakpad": >> libgnomebreakpad.so: cannot open shared object file: No such file or >> directory >> >> >> >> but find commad showing that libdl.so.2 is ther in >> /usr/compat/linux/lib/libdl.so.2 >> >> >> >> # find / -name libdl.so.2 >> /usr/compat/linux/lib/libdl.so.2 >> >> >> [dhanesh]$ sysctl compat.linux.osrelease >> compat.linux.osrelease: 2.4.2 >> >> [dhanesh$ uname -a >> FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 >> UTC 2008 >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> >> >> any hints to make it work most welcome.. please see this paste >> also http://rafb.net/p/Yz7dBS79.html >> >> thanks in advance > > Been where you are, done all that. > > First, deinstall from ports emulators/linux_base-fc4 and make install > linux_base-f8. Then make install from ports www/linux-firefox, > www/nspluginwrapper and www/linux-flashplugin9. kldload linux, and mount > -t linprocfs linproc /compat/linux/proc. > > Run nspluginwrapper and then run linux-firefox. Tada! All should work > now, but it can be a little unstable. > > HTH. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > "Failure is the opportunity to begin again more intelligently." "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford From rock_on_the_web at comcen.com.au Fri Feb 6 06:07:58 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Fri Feb 6 06:08:06 2009 Subject: Flash9and FreeBSD7.0isssue In-Reply-To: <20090206075030.17qwm4xcvt0gog4gw@intranet.casasponti.net> References: <1233915498.10531.52.camel@laptop1.herveybayaustralia.com.au> <20090206075030.17qwm4xcvt0gog4gw@intranet.casasponti.net> Message-ID: <1233929308.75410.2.camel@laptop1.herveybayaustralia.com.au> On Fri, 2009-02-06 at 07:50 -0600, eculp@casasponti.net wrote: > Quoting Da Rock : > > > On Fri, 2009-02-06 at 05:43 +0000, dhaneshk k wrote: > >> Hi list, > >> > >> > >> I followed http://freebsd.langhans.com.pl/af/index.html > >> > >> To enable flash9 support for FreeBSD7.0 > >> > >> > >> > >> > >> I installed FreeBSD7.0 with Linux compatibility > >> > >> so the first step (1.3 ) I skipped > > I would suggest linux_base-f8-8_11, the in /etc/sysctl.conf put: > compat.linux.osrelease=2.6.16, Ahh yes. Forgot that point- a must for flash9. > for firefox use the latest firefox3 Why firefox3? Isn't there stability issues? And doesn't the firefox still need to be linux-firefox? > port (firefox-3.0.5_1,1) NOT firefox-devel, all the plugins that you > want such as linux-flashplugin-9.0r152 and any others then > nspluginwrapper-1.2.2_2 and run the script and start firefox3 and all > should be well if I haven't forgotten something. > > I would guess that the principal problem is the firefox-devel port > rather than firefox3. IIRC, it is pre-firefox3. > > ed > >> > >> > >> > >> second step I followed and installed latest firefox-devel > >> > >> > >> then I installed nspluginwrapper > >> > >> > >> > >> next step I downloaded this > >> ftp://greyone.tulatelecom.ru/pub/linux/adobe/install_flash_player_9_linux.tar.gz > >> > >> from this link > >> http://www.filewatcher.com/m/install_flash_player_9_linux.tar.gz.2608602.0.0.html as adobe.com not allowing me to download > >> it. > >> > >> > >> then I untarred it and copied libflashplayer.so to > >> ~/.mozilla/plugins ( I created plugins directory as there is no > >> default plugins directory in ~/.mozilla/ > >> and I invoked the nspluginwrapper $ nspluginwrapper -v > >> -a -i and observed that it created > >> nswrapper.libflashplayer.so > >> > >> > >> > >> but $ nspluginwrapper -l given me the the message > >> segmentation fault core dumped sig 11 > >> > >> what I made wrong ? > >> > >> > >> I tried to restart the firefox and it restarted and showing > >> message you updated to the latest fiefox version . > >> > >> > >> but when I accessed the http://www.adobe.com/shockwave/welcome/ > >> URL I am getting message in the console as > >> > >> > >> LoadPlugin: failed to initialize shared library > >> /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object > >> "libdl.so.2" not found, required by "libflashplayer.so"] > >> > >> Gtk-Message: Failed to load module "gnomebreakpad": > >> libgnomebreakpad.so: cannot open shared object file: No such file or > >> directory > >> LoadPlugin: failed to initialize shared library > >> /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object > >> "libdl.so.2" not found, required by "libflashplayer.so"] > >> > >> Gtk-Message: Failed to load module "gnomebreakpad": > >> libgnomebreakpad.so: cannot open shared object file: No such file or > >> directory > >> > >> > >> > >> but find commad showing that libdl.so.2 is ther in > >> /usr/compat/linux/lib/libdl.so.2 > >> > >> > >> > >> # find / -name libdl.so.2 > >> /usr/compat/linux/lib/libdl.so.2 > >> > >> > >> [dhanesh]$ sysctl compat.linux.osrelease > >> compat.linux.osrelease: 2.4.2 > >> > >> [dhanesh$ uname -a > >> FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 > >> UTC 2008 > >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > >> > >> > >> > >> any hints to make it work most welcome.. please see this paste > >> also http://rafb.net/p/Yz7dBS79.html > >> > >> thanks in advance > > > > Been where you are, done all that. > > > > First, deinstall from ports emulators/linux_base-fc4 and make install > > linux_base-f8. Then make install from ports www/linux-firefox, > > www/nspluginwrapper and www/linux-flashplugin9. kldload linux, and mount > > -t linprocfs linproc /compat/linux/proc. > > > > Run nspluginwrapper and then run linux-firefox. Tada! All should work > > now, but it can be a little unstable. > > > > HTH. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > > "Failure is the opportunity to begin again more intelligently." > "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From nvass at freemail.gr Fri Feb 6 06:51:43 2009 From: nvass at freemail.gr (Nikos Vassiliadis) Date: Fri Feb 6 06:51:52 2009 Subject: Multiple MAC on a single (physical) interface In-Reply-To: <86ocxfeoqn.fsf@chameau.maisel.enst-bretagne.fr> References: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> <498AABCC.4090809@gmx.com> <86ocxfeoqn.fsf@chameau.maisel.enst-bretagne.fr> Message-ID: <498C4E61.7060501@freemail.gr> Fr?d?ric Perrin wrote: > Le Jeudi 5 ? 10:05, Nikos Vassiliadis a ?crit : >> Fr?d?ric Perrin wrote: >>> I need to be able >>> to send and receive using several MAC addresses, as if I had several >>> NIC (which I of course don't have). >>> >>> [...] >>> >> Yes, you could use a netgraph bridge to bridge several >> ethernet interfaces together. Luckily, there is also a >> pseudo-ethernet-like interface you can attach to this >> bridge and of course you get to treat the pseudo-ethernet >> as a regular ethernet interface, that is, change its >> MAC address. >> >> The process is described here: >> http://www.bsdatwork.com/2004/06/19/mac_spoofing_on_freebsd/ > > Oh, yes, I actually remember trying that. However, on the first ngctl(8) > invocation I do (even a 'ngctl list' after a clean reboot), the kernel > says : > >> WARNING: attempt to net_add_domain(netgraph) after domainfinalize() > > I can reproduce this by doing a 'kldload ng_socket'. kldstat(8) says > that the module is loaded anyway. > > A quick googling says that this message is harmless. A 2006 post says > that it was silenced in 6-STABLE ; it lokks like this haven't made its > way to the 7.1-RELEASE I'm using. This warning appeared on 7-CURRENT. > However ; > > On the next step, when I create the bridge, I have : > > # ngctl -dd mkpeer ngeth0: bridge lower link0 > [...] > ngctl: sendto(ngeth0:): No such file or directory > ngctl: send msg: No such file or directory > > I guess I have to read more in details about how netgraph works in > recent releases of FreeBSD before goiing on. Unfortunately, I will soon > be physically away from my FreeBSD box for a week, and fiddling with net > interfaces is tipically something I'm afraid of doing through SSH. > > Thanks anyway from the pointer. > You can create the pseudo ethernets using 'ngctl mkpeer . eiface hook ether' and bridge them using if_bridge. You don't have to use the ng_bridge, if_bridge will work fine with the virtual ethernet interfaces. But there are other limitations that came up when I tried this setup... Apparently you'll want to use IP addresses from the same network. For example: fxp0 10.0.0.1/24 ether 00:00:00:01:01:01 ngeth0 10.0.0.2/32 ether 00:00:00:02:02:02 ngeth1 10.0.0.3/32 ether 00:00:00:03:03:03 etc Since there is not much sense in saying that network 10.0.0.0/24 is attached to more than one interfaces, you'll have to use /32 masks for all the aliases, and a /24 for the fxp0 one, right? FreeBSD will then know that network 10.0.0.0/24 is attached to fxp0 and will use fxp0's IP and MAC address to do the ARP query... So, in short, if you use such a setup: fxp0 10.0.0.1/24 ether 00:00:00:01:01:01 ngeth0 10.0.0.2/32 ether 00:00:00:02:02:02 ngeth1 10.0.0.3/32 ether 00:00:00:03:03:03 The IP address in use will be the 10.0.0.1 one and the MAC address will be the 00:00:00:01:01:01 one. But you can use this one: fxp0 10.0.0.1/24 ether 00:00:00:01:01:01 ngeth0 10.0.1.2/24 ether 00:00:00:02:02:02 ngeth1 10.0.2.3/24 ether 00:00:00:03:03:03 As far as I know, the only way to achieve this (having the same network on different interfaces and many many other features) is the VIMAGE way: http://imunes.tel.fer.hr/virtnet/ In a few days VIMAGE will be in the SVN repository. Sorry for the noise... Nikos From af300wsm at gmail.com Fri Feb 6 07:06:51 2009 From: af300wsm at gmail.com (Andrew Falanga) Date: Fri Feb 6 07:06:58 2009 Subject: having trouble with OpenOffice In-Reply-To: <498BC5D3.8040609@gmail.com> References: <00163645923cfac869046238a60d@google.com> <498BC5D3.8040609@gmail.com> Message-ID: <340a29540902060706p24c99991v72a029382a80e2f1@mail.gmail.com> On Thu, Feb 5, 2009 at 10:08 PM, Adam Vande More wrote: > af300wsm@gmail.com wrote: > >> Hi, >> >> Tonight I finally took the bull by the horns and got OpenOffice installed. >> However, I'm not having a problem that I haven't found an answer to yet but >> seems to be related to the X server (from searches on the net). So, I do >> this: >> >> [andy@sniper /usr/home/andy]$ /usr/local/bin/openoffice.org-2.4.2-scalc >> I18N: Operating system doesn't support locale "en_US" >> The application cannot be started. >> The component manager is not available. >> Segmentation fault (core dumped) >> >> >> As you can tell, OpenOffice failed because my OS doesn't support locale >> "en_US." Huh!?! I'm using the English version. In fact, the only way to >> consider me as being bilingual is something of a matter of mental gymnastics >> because English is spoken in England and to me, England is a foreign >> country. Thus, I'm bilingual, or at the least, I speak a foreign language. >> >> Never the less, how would this be fixed? >> >> Andy >> >> Is there a reason you're not using /usr/ports/editors/openoffice.org-3? > > > > http://lists.freebsd.org/pipermail/freebsd-openoffice/2006-November/002847.html > I didn't want to wait for compilation. -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From af300wsm at gmail.com Fri Feb 6 07:09:00 2009 From: af300wsm at gmail.com (Andrew Falanga) Date: Fri Feb 6 07:09:07 2009 Subject: having trouble with OpenOffice In-Reply-To: <498BC5D3.8040609@gmail.com> References: <00163645923cfac869046238a60d@google.com> <498BC5D3.8040609@gmail.com> Message-ID: <340a29540902060708x9dfea1h9e1cb3b344da1c3f@mail.gmail.com> On Thu, Feb 5, 2009 at 10:08 PM, Adam Vande More wrote: > af300wsm@gmail.com wrote: > >> Hi, >> >> Tonight I finally took the bull by the horns and got OpenOffice installed. >> However, I'm not having a problem that I haven't found an answer to yet but >> seems to be related to the X server (from searches on the net). So, I do >> this: >> >> [andy@sniper /usr/home/andy]$ /usr/local/bin/openoffice.org-2.4.2-scalc >> I18N: Operating system doesn't support locale "en_US" >> The application cannot be started. >> The component manager is not available. >> Segmentation fault (core dumped) >> >> >> As you can tell, OpenOffice failed because my OS doesn't support locale >> "en_US." Huh!?! I'm using the English version. In fact, the only way to >> consider me as being bilingual is something of a matter of mental gymnastics >> because English is spoken in England and to me, England is a foreign >> country. Thus, I'm bilingual, or at the least, I speak a foreign language. >> >> Never the less, how would this be fixed? >> >> Andy >> >> Is there a reason you're not using /usr/ports/editors/openoffice.org-3? > > > > http://lists.freebsd.org/pipermail/freebsd-openoffice/2006-November/002847.html > Thanks for the thread, by the way. Tonight, when I get home, I'll give this a try. On the heals of my last post, I should also mention that I failed to find a pre-built package for version 3 so I used version 2. I downloaded this from the FreeBSD ftp server from packages-stable. Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From maslak at ihlas.net.tr Fri Feb 6 07:16:22 2009 From: maslak at ihlas.net.tr (Yavuz) Date: Fri Feb 6 07:16:29 2009 Subject: is there any way to increase disk performance ? References: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> <4989F825.3020609@gmail.com> Message-ID: <075A96701F914924A4A33723C05D23BC@desktop2002> I increased values of vfs.read_max and MAXPHYS. I observe the disk's performance. New these values help disk performance clearly. Thanks. > Yavuz wrote: >> I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. >> >> it's running mail server which has services like pop3,imap,smtp and >> webmail on this machine. >> >> When I type systat 1 -vmstat on command line, even I rarely see that disk >> usage hits 100%. >> I have no problem as ram and cpu. they is enough. >> >> is there any way to increase disk performance without causing any problem >> ? >> > sysctl vfs.read_max=32 can help read performance > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From freebsd at optiksecurite.com Fri Feb 6 08:44:53 2009 From: freebsd at optiksecurite.com (FreeBSD) Date: Fri Feb 6 08:45:00 2009 Subject: Link UP/DOWN problem with re0 on FreeBSD 7.1 In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F78973929562F@Mercury.galaxy.lan.lcl> References: <497DDDB7.4000702@optiksecurite.com> <497E07D1.3030604@optiksecurite.com> <01FB8F39BAD0BD49A6D0DA8F78973929561F@Mercury.galaxy.lan.lcl> <497E24E5.5090701@optiksecurite.com> <498A0ECA.2070002@optiksecurite.com> <01FB8F39BAD0BD49A6D0DA8F78973929562F@Mercury.galaxy.lan.lcl> Message-ID: <498C699A.2080708@optiksecurite.com> Graeme Dargie a ?crit : > -----Original Message----- > From: FreeBSD [mailto:freebsd@optiksecurite.com] > Sent: 04 February 2009 21:55 > Cc: freebsd-questions@freebsd.org > Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1 > > FreeBSD a ?crit : >> Graeme Dargie a ?crit : >>> If you do a dmesg are you also showing a watchdog time out for the nic ? >>> >>> I only ask as I am having the exact same problem with the exact same >>> card and I have yet to find a solution, if I come across something I >>> will let you know. >>> >>> Regards >>> Graeme >> Not a single time...sorry. >> >>> -----Original Message----- >>> From: FreeBSD [mailto:freebsd@optiksecurite.com] Sent: 26 January 2009 >>> 18:58 >>> To: freebsd-questions@freebsd.org >>> Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1 >>> >>> FreeBSD a ?crit : >>>> Hi everyone, >>>> >>>> Just to put you in context, I applied the following patch to make the >>>> card available: >>>> >>>> SVN rev 186389 on 2008-12-22 00:46:22Z by yongari >>>> >>>> Since we don't request reset for rlphy(4), the link state 'UP' >>>> event from mii(4) may not be delivered if valid link was already >>>> established. To address the issue, check current link state after >>>> driving MII_TICK. This should fix a regression introduced in >>>> r185753 on fast ethernet controllers. >>>> >>>> --- >>>> >>>> I don't have any issue related to that anymore. The problem is that I >>>> get link UP/DOWN a few times per hour on 3 identical machines that I >>>> dumped/restored. They are all pluged in a Cisco switch that works >>>> fine for every other PCs. >>>> >>>> Jan 26 06:09:15 term005 kernel: re0: link state changed to DOWN >>>> Jan 26 06:09:17 term005 kernel: re0: link state changed to UP >>>> >>>> I tried to switch cables, but I got the same result. >>>> >>>> There is the pciconf -lv output: >>>> >>>> re0@pci0:3:0:0: class=0x020000 card=0x02831028 chip=0x816810ec >>>> rev=0x02 hdr=0x00 >>>> vendor = 'Realtek Semiconductor' >>>> device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' >>>> class = network >>>> subclass = ethernet >>>> >>>> There is the output of vmstat -i: >>>> >>>> interrupt total rate >>>> irq18: re0 ehci0++ 63766 0 >>>> irq19: atapci0 277001 3 >>>> cpu0: timer 156068748 1961 >>>> Total 156409515 1966 >>>> >>>> Could it be related to the fact that there is re0 and ehci0++ on the >>>> same IRQ? >>>> >>>> Thank you for your help, >>>> >>>> Martin >>> I just tried with a brand new Dell 2708 switch and the problem is >>> still there. I just confirmed that the UP/DOWN occurs every 10 minutes >>> (+- a few seconds). >>> >>> Thanks again, >>> >>> Martin >>> > > Just to follow-up on my own problem... > > I tried to disable some options of the card with : > ifconfig re0 -rxcsum -txcsum -tso -lro -vlanhwtag > > but nothing as changed. I just tried to download a big file (FreeBSD > 7.1-REL DVD iso in fact) to see if the deconnection occurs even during a > transfer. The DVD downloaded successfully and I verified that the MD5 > are OK. BUT, /var/log/messages continue to tell me that: > Feb 4 16:09:29 term003 kernel: re0: link state changed to UP > Feb 4 16:19:26 term003 kernel: re0: link state changed to DOWN > Feb 4 16:19:30 term003 kernel: re0: link state changed to UP > Feb 4 16:19:32 term003 kernel: re0: link state changed to DOWN > > during the transfer (which worked OK). I don't know if that can help > someone to help me ;) > > Thanks, > > Martin > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > I have a solution to this well a work around. > > Add -tso to the relevant line in /etc/rc.conf > > ifconfig_re0="inet 192.168.1.103 netmask 255.255.255.0 -tso" > > Adding -tso stops the link up / link down problem. Now I am understand that this may increase cpu if the traffic on the nic is high. I am sure some one the list will know of any other implications this may have. > > It is a known problem and I site I read the bug had been submitted so hopefully it wont exist in 8.0 > > Regards > > Graeme > As I stated in my last post, I tried to disable a few options, including TSO. Still, I gived a try to your workaround. I now have this line in rc.conf: ifconfig_re0="DHCP -tso" but I have the same problem (it disconnect every 10 minutes and ask for an IP to the DHCP). Thanks for your suggestion, Martin From cpghost at cordula.ws Fri Feb 6 08:58:03 2009 From: cpghost at cordula.ws (cpghost) Date: Fri Feb 6 08:58:10 2009 Subject: OT: SVN checkout checksumming In-Reply-To: <878wolpydl.fsf@kobe.laptop> References: <4989B239.9090504@optiksecurite.com> <878wolpydl.fsf@kobe.laptop> Message-ID: <20090206165800.GB1444@phenom.cordula.ws> On Thu, Feb 05, 2009 at 01:37:26AM +0200, Giorgos Keramidas wrote: > On Wed, 04 Feb 2009 10:20:25 -0500, FreeBSD wrote: > > Hi everyone, > > > > I have asked this question on the svnforum.org and didn't got a good > > answer, so I try it here. > > > > I want to use SVN to automate the update process of a custom > > application. So, I'm planning to indicate to every PC to update > > periodically to a specific branch of the repository. The problem is > > that I need to be sure the files where not corrupted during the > > transfer. So, I'm planning to generate the hash (SHA or MD5, doesn't > > really matters) of every file downloaded by SVN on the client. For > > this to work, I need to compare the hashes with their server-side > > equivalent. I looked at the post-commit hooks and it looks pretty > > interesting but is anyone doing something similar? How are you > > creating the file containing the hash of the committed file? > > Let's assume for a moment that you install a post-commit hook that > generates a SHA-256 checksum of all the files in the latest repo > revision on the svn server. > > For the sake of simplicity, let's assume that this file is a simple, > plain text file that is named db/revs/NUMBER.sha256 where 'NUMBER' is > the revision number you are check-summing. > > How are you going to *safely* transmit those SHA-256 checksums to the > client on 'svn checkout'? Well, sorry to bring this back up, but again: how about signing NUMBER.sha256 with a GnuPG private key belonging to the FreeBSD Project? If there's a way to *safely* get the corresponding public key, checking the signature of the NUMBER.sha256 files would be trivial. This doesn't solve the problem entirely, but it would alleviate it somewhat (it's easier to get the GnuPG Public Key *once* over a secure channel when you have access to it, e.g. when traveling abroad etc... than having to rely everytime on a secure channel for the SVN updates (which may not always be available due to intrusive MITM)). -cpghost. -- Cordula's Web. http://www.cordula.ws/ From fernando.apesteguia at gmail.com Fri Feb 6 09:08:24 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Fri Feb 6 09:08:31 2009 Subject: Screen problem on booting In-Reply-To: <1bd550a00902032323q5aca3920v7f4547e79102f4e6@mail.gmail.com> References: <1bd550a00902020030q418d3dard3182490496f706e@mail.gmail.com> <49877238.40507@onetel.com> <1bd550a00902022334u1dc2182cg932ca7fc926a2f00@mail.gmail.com> <4988C189.3040003@onetel.com> <1bd550a00902032323q5aca3920v7f4547e79102f4e6@mail.gmail.com> Message-ID: <1bd550a00902060908v5e8891c2i6890ac3a464f08d8@mail.gmail.com> On Wed, Feb 4, 2009 at 8:23 AM, Fernando Apestegu?a wrote: > On 2/3/09, Chris Whitehouse wrote: >> Fernando Apestegu?a wrote: >> > On 2/2/09, Chris Whitehouse wrote: >> > >> > > Fernando Apestegu?a wrote: >> > > >> > > > Hi all, >> > > > >> > > > I'm using FreeBSD 7.1-RELEASE-p2 >> > > > >> > > > Since a few days I've noticed something weird. On booting, all the >> > > > text I see is shifted to the left, so I lose the first ten letters or >> > > > so in every line of text. >> > > > >> > > > After login, once I type "startx" the X Window system seems to be OK >> > > > _and_ if I go back to a console with Alt-Ctrl-Fn the console is fine >> > > > again. >> > > > >> > > > My graphic card is an ATI Radeon HD2400. >> > > > >> > > > Anybody noticed it? >> > > > >> > > > Thanks in advance. >> > > > >> > > > PS: In console mode, reset command doesn't fix the problem. >> > > > _______________________________________________ >> > > > freebsd-questions@freebsd.org mailing list >> > > > >> > > > >> > > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > > >> > > > To unsubscribe, send any mail to >> > > > >> > > "freebsd-questions-unsubscribe@freebsd.org" >> > > >> > > > >> > > > >> > > Adjust the horizontal position with the controls on the monitor while >> > > booting? My LCD flat panel has an auto adjust button which does the same >> > > thing. >> > > >> > >> > Yep, but the point is that it worked fine some time ago (probably with >> > -p1, though I'm not sure). And as I said after using X, if I go back >> > again to console mode, monitor settings are correct. Doesn't this >> > means there is some kind of problem with video at start up? >> > None of my other operating systems in that machine suffer this problem. >> > >> > Thanks >> > >> . >> I thought maybe it was a problem that occurred with whatever graphics driver >> is loaded on boot and that it goes away once the ATI driver is loaded but >> maybe not. I just tested mine by using the screen controls to set the screen >> over to one side while booting. Once X starts and the nvidia driver loads >> the screen position is fine, however going to a console (ctrl-alt-Fn) the >> screen is still displaced unlike yours. Sorry if that suggestion doesn't fix >> it. > > Yes, I think that first video driver can be the problem... I will test > a bit more and then I will probably file a PR. > > Thanks again. Just for the record, I filed PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=131448 > >> >> Chris >> >> > From keramida at ceid.upatras.gr Fri Feb 6 09:14:31 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Feb 6 09:14:39 2009 Subject: OT: SVN checkout checksumming In-Reply-To: <20090206165800.GB1444@phenom.cordula.ws> (cpghost@cordula.ws's message of "Fri, 6 Feb 2009 17:58:00 +0100") References: <4989B239.9090504@optiksecurite.com> <878wolpydl.fsf@kobe.laptop> <20090206165800.GB1444@phenom.cordula.ws> Message-ID: <871vubv66x.fsf@kobe.laptop> On Fri, 6 Feb 2009 17:58:00 +0100, cpghost wrote: >> Let's assume for a moment that you install a post-commit hook that >> generates a SHA-256 checksum of all the files in the latest repo >> revision on the svn server. >> >> For the sake of simplicity, let's assume that this file is a simple, >> plain text file that is named db/revs/NUMBER.sha256 where 'NUMBER' is >> the revision number you are check-summing. >> >> How are you going to *safely* transmit those SHA-256 checksums to the >> client on 'svn checkout'? > > Well, sorry to bring this back up, but again: how about signing > NUMBER.sha256 with a GnuPG private key belonging to the FreeBSD > Project? If there's a way to *safely* get the corresponding > public key, checking the signature of the NUMBER.sha256 files > would be trivial. If the signed data is not part of the actual repository, you have a signature for a numeric value, not a signature for the *contents* of the repository itself. I think I am missing something here... From Greg.Stark at sungard.com Fri Feb 6 10:30:25 2009 From: Greg.Stark at sungard.com (Greg.Stark@sungard.com) Date: Fri Feb 6 10:30:31 2009 Subject: Sendmail to Relay different domains to different hosts Message-ID: I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of our servers. These servers relay messages to both internal recipients and external customers. I need to be able to relay mail destined to our internal domain recipients to our corporate mail servers but relay everything else out to our usual smart host. So basically, I am looking to relay emails destined for a certain domain to one host and the rest of the mail to another. Does anyone know how I could configure sendmail to accomplish this? Thanks in advance for your help. Greg From freebsd at superhero.nl Fri Feb 6 10:55:01 2009 From: freebsd at superhero.nl (Gelsema, P (Patrick) - FreeBSD) Date: Fri Feb 6 10:55:09 2009 Subject: /var grows, apache open file, which file? Message-ID: Hi List, I noticed that my var slice is getting eaten by apache. The amount of free space is getting less and less per day. So I started to investigate. I did the following; # fstat -u www | grep var | more www httpd 97042 9 /var 74653 -rw------- 176907484 w www httpd 97042 12 /var 71575 -rw------- 1345623 w www httpd 97042 13 /var 24693 -rw-r--r-- 0 w www httpd 97042 15 /var 70919 -rw------- 0 w www httpd 97042 16 /var 70919 -rw------- 0 w www httpd 26059 9 /var 74653 -rw------- 176907484 w www httpd 26059 12 /var 71575 -rw------- 1345623 w So I have an Inumber, lets search for that. # find / -inum 74653 /usr/ports/net/pptpclient/files This confuses me! That is on a different slice. When I restart apachectl the space is reclamed and I've got a normal usage of /var. # apachectl -v Server version: Apache/2.2.11 (FreeBSD) Server built: Jan 11 2009 22:01:58 # uname -a FreeBSD wolverine.superhero.nl 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Tue Jan 6 07:44:32 CET 2009 drmanhattan@wolverine.superhero.nl:/usr/obj/usr/src/sys/WOLVERINE i386 Any thoughts? Cheers, Patrick From keramida at ceid.upatras.gr Fri Feb 6 11:00:01 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Feb 6 11:00:08 2009 Subject: Sendmail to Relay different domains to different hosts In-Reply-To: (Greg Stark's message of "Fri, 6 Feb 2009 13:15:02 -0500") References: Message-ID: <87vdrns862.fsf@kobe.laptop> On Fri, 6 Feb 2009 13:15:02 -0500, wrote: > I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of > our servers. These servers relay messages to both internal recipients > and external customers. I need to be able to relay mail destined to > our internal domain recipients to our corporate mail servers but relay > everything else out to our usual smart host. So basically, I am > looking to relay emails destined for a certain domain to one host and > the rest of the mail to another. Does anyone know how I could > configure sendmail to accomplish this? That's what `mailertable' is for. Enable in your `sendmail.mc' file the mailertable feature: FEATURE(`mailertable', `hash /etc/mail/mailertable') Then create an `/etc/mail/mailertable' map with something like: @internal.domain esmtp:[internal.relay.host] Generate the `mailertable.db' map with makemap: # cd /etc/mail # makemap hash mailertable < mailertable and you're done. From dnelson at allantgroup.com Fri Feb 6 11:00:38 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Feb 6 11:00:46 2009 Subject: Sendmail to Relay different domains to different hosts In-Reply-To: References: Message-ID: <20090206190032.GA13084@dan.emsphone.com> In the last episode (Feb 06), Greg.Stark@sungard.com said: > I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of our > servers. These servers relay messages to both internal recipients and > external customers. I need to be able to relay mail destined to our > internal domain recipients to our corporate mail servers but relay > everything else out to our usual smart host. So basically, I am looking > to relay emails destined for a certain domain to one host and the rest of > the mail to another. Does anyone know how I could configure sendmail to > accomplish this? You want to use the /etc/mail/mailertable file: http://www.sendmail.org/m4/mailertables.html -- Dan Nelson dnelson@allantgroup.com From steve at ibctech.ca Fri Feb 6 11:03:14 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Feb 6 11:03:21 2009 Subject: Sendmail to Relay different domains to different hosts In-Reply-To: References: Message-ID: <498C896A.6000000@ibctech.ca> Greg.Stark@sungard.com wrote: > I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of > our servers. These servers relay messages to both internal recipients > and external customers. I need to be able to relay mail destined to our > internal domain recipients to our corporate mail servers but relay > everything else out to our usual smart host. So basically, I am > looking to relay emails destined for a certain domain to one host and > the rest of the mail to another. > Does anyone know how I could configure > sendmail to accomplish this? Yes. Take a look at the `mailertable.sample' file. Create an empty 'mailertable' file in /etc/mail, and add the domain-to-server maps to it: corporate.com smtp:relay.corporate.com other.com smtp:some.other.server.com ...and then IIRC: # cd /etc/mail # makemap hash mailertable < mailertable Steve From dnelson at allantgroup.com Fri Feb 6 11:05:57 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Feb 6 11:06:04 2009 Subject: /var grows, apache open file, which file? In-Reply-To: References: Message-ID: <20090206190553.GB13084@dan.emsphone.com> In the last episode (Feb 06), Gelsema, P (Patrick) - FreeBSD said: > I noticed that my var slice is getting eaten by apache. The amount of free > space is getting less and less per day. So I started to investigate. > > I did the following; > > # fstat -u www | grep var | more > www httpd 97042 9 /var 74653 -rw------- 176907484 w > www httpd 97042 12 /var 71575 -rw------- 1345623 w > www httpd 97042 13 /var 24693 -rw-r--r-- 0 w > www httpd 97042 15 /var 70919 -rw------- 0 w > www httpd 97042 16 /var 70919 -rw------- 0 w > www httpd 26059 9 /var 74653 -rw------- 176907484 w > www httpd 26059 12 /var 71575 -rw------- 1345623 w > > So I have an Inumber, lets search for that. > > # find / -inum 74653 > /usr/ports/net/pptpclient/files > > This confuses me! That is on a different slice. Then that is not the inode you are looking for. Use "find -x /var ..." to limit the search to just the /var mountpoint. Your problem is probably due to a bad logfile rotator that isn't signalling apache to close&reopen the logs, so it keeps logging to a file you have deleted. If you're using newsyslog, make sure you have listed your apache pidfile on the line correspoinding to any apache logs so it knows which process to signal. See the newsyslog.conf manpage for more details. -- Dan Nelson dnelson@allantgroup.com From Greg.Stark at sungard.com Fri Feb 6 11:10:08 2009 From: Greg.Stark at sungard.com (Greg.Stark@sungard.com) Date: Fri Feb 6 11:10:15 2009 Subject: Sendmail to Relay different domains to different hosts In-Reply-To: <498C896A.6000000@ibctech.ca> References: <498C896A.6000000@ibctech.ca> Message-ID: Great! I will give this a try. If I put a single entry into the mailertable for the corporate domain would everything else default to the smarthost defined in sendmail.cf? Thanks, Greg -----Original Message----- From: Steve Bertrand [mailto:steve@ibctech.ca] Sent: Friday, February 06, 2009 2:03 PM To: Stark, Greg Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail to Relay different domains to different hosts Greg.Stark@sungard.com wrote: > I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of > our servers. These servers relay messages to both internal recipients > and external customers. I need to be able to relay mail destined to our > internal domain recipients to our corporate mail servers but relay > everything else out to our usual smart host. So basically, I am > looking to relay emails destined for a certain domain to one host and > the rest of the mail to another. > Does anyone know how I could configure > sendmail to accomplish this? Yes. Take a look at the `mailertable.sample' file. Create an empty 'mailertable' file in /etc/mail, and add the domain-to-server maps to it: corporate.com smtp:relay.corporate.com other.com smtp:some.other.server.com ...and then IIRC: # cd /etc/mail # makemap hash mailertable < mailertable Steve From cpghost at cordula.ws Fri Feb 6 11:12:00 2009 From: cpghost at cordula.ws (cpghost) Date: Fri Feb 6 11:12:08 2009 Subject: OT: SVN checkout checksumming In-Reply-To: <871vubv66x.fsf@kobe.laptop> References: <4989B239.9090504@optiksecurite.com> <878wolpydl.fsf@kobe.laptop> <20090206165800.GB1444@phenom.cordula.ws> <871vubv66x.fsf@kobe.laptop> Message-ID: <20090206191157.GB2438@phenom.cordula.ws> On Fri, Feb 06, 2009 at 07:14:14PM +0200, Giorgos Keramidas wrote: > On Fri, 6 Feb 2009 17:58:00 +0100, cpghost wrote: > >> Let's assume for a moment that you install a post-commit hook that > >> generates a SHA-256 checksum of all the files in the latest repo > >> revision on the svn server. > >> > >> For the sake of simplicity, let's assume that this file is a simple, > >> plain text file that is named db/revs/NUMBER.sha256 where 'NUMBER' is > >> the revision number you are check-summing. > >> > >> How are you going to *safely* transmit those SHA-256 checksums to the > >> client on 'svn checkout'? > > > > Well, sorry to bring this back up, but again: how about signing > > NUMBER.sha256 with a GnuPG private key belonging to the FreeBSD > > Project? If there's a way to *safely* get the corresponding > > public key, checking the signature of the NUMBER.sha256 files > > would be trivial. > > If the signed data is not part of the actual repository, you have a > signature for a numeric value, not a signature for the *contents* of the > repository itself. Hmmm... yes, you're right. Only the digest would be signed in this case, and that's not enough. But if the (digest, revision) pair is signed, that would at least be useful (somewhat). So, let's say that NUMBER.sha256 starts with something like a comment: # r123456 ... and all this signed, would it be enough? Even if the repository isn't signed, one can compute the digests locally and check them with the *signed* list of digests. It may not catch everything because of possible collisions, but wouldn't that be already better than nothing? -cpghost. -- Cordula's Web. http://www.cordula.ws/ From nicolas at nicoelro.net Fri Feb 6 11:13:20 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Fri Feb 6 11:13:27 2009 Subject: differences of disk usage between du and quota binaries Message-ID: <20090206201317.4e0377b7.nicolas@nicoelro.net> Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: root@domain sites $ du -sh folder 633M folder But, when I print disk usage with quota -u user, I have: isk quotas for user user (uid 2002): Filesystem usage quota limit grace files quota limit grace /var 648264 700000 700000 2963 0 0 Why this difference? (633M against 648264) Regards, -- -Nicolas. From kline at thought.org Fri Feb 6 11:17:20 2009 From: kline at thought.org (Gary Kline) Date: Fri Feb 6 11:17:27 2009 Subject: lpr fixed, but the wrong-way... [?] Message-ID: <20090206191710.GA39974@thought.org> i hope somebody can clue me in one why %lpr did work less than 3 weeks ago, but stopped last night. i had no idea why. i have apsfilter set up and found (in /var/spool/lpd/aps1) in -rw-r--r-- 1 root daemon 13030 Feb 6 10:54 log that i'm missing the following file: . . . sed: stdout: Broken pipe cat: stdout: Broken pipe /libexec/ld-elf.so.1: Shared object "libtasn1.so.3" not found, required by "libgs.so.8" sed: stdout: Broken pipe cat: stdout: Broken pipe /libexec/ld-elf.so.1: Shared object "libtasn1.so.3" not found, required by "libgs.so.8" sed: stdout: Broken pipe cat: stdout: Broken pipe /libexec/ld-elf.so.1: Shared object "libtasn1.so.3" not found, required by "libgs.so.8" . . . moments ago, i rebuilt security/libtasn1, then cd'd into /usr/local/lib and did a # co libtasn1.so libtasn1.so.3 _now_ a test of % lpr /etc/fstab works. from the apsfilter log, it lookas as tho i need to upgrade this libgs.so.8 shared library. but *how* do i find who/what build this library? thanks, gary ps: just a FWIW; i've always had major pains with printing with unix. and linux, and sun, and godknows.... only dos/windoze sees to yhave this stuff automated. Any insights here are v welcome!! -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php From freebsd at superhero.nl Fri Feb 6 11:27:37 2009 From: freebsd at superhero.nl (Gelsema, P (Patrick) - FreeBSD) Date: Fri Feb 6 11:27:45 2009 Subject: /var grows, apache open file, which file? In-Reply-To: <20090206190553.GB13084@dan.emsphone.com> References: <20090206190553.GB13084@dan.emsphone.com> Message-ID: <922bbbdc3563fcba8c8ed34d7fa6bf1f.squirrel@webmail.superhero.nl> On Fri, February 6, 2009 20:05, Dan Nelson wrote: > In the last episode (Feb 06), Gelsema, P (Patrick) - FreeBSD said: >> I noticed that my var slice is getting eaten by apache. The amount of >> free >> space is getting less and less per day. So I started to investigate. >> >> I did the following; >> >> # fstat -u www | grep var | more >> www httpd 97042 9 /var 74653 -rw------- 176907484 w >> www httpd 97042 12 /var 71575 -rw------- 1345623 w >> www httpd 97042 13 /var 24693 -rw-r--r-- 0 w >> www httpd 97042 15 /var 70919 -rw------- 0 w >> www httpd 97042 16 /var 70919 -rw------- 0 w >> www httpd 26059 9 /var 74653 -rw------- 176907484 w >> www httpd 26059 12 /var 71575 -rw------- 1345623 w >> >> So I have an Inumber, lets search for that. >> >> # find / -inum 74653 >> /usr/ports/net/pptpclient/files >> >> This confuses me! That is on a different slice. > > Then that is not the inode you are looking for. Use "find -x /var ..." to doesnt return anything. > limit the search to just the /var mountpoint. Your problem is probably > due > to a bad logfile rotator that isn't signalling apache to close&reopen the > logs, so it keeps logging to a file you have deleted. If you're using > newsyslog, make sure you have listed your apache pidfile on the line > correspoinding to any apache logs so it knows which process to signal. > See > the newsyslog.conf manpage for more details. Added /var/run/httpd.pid to newsyslog.conf and restarted apache. I am also using cronolog. from httpd.conf: CustomLog "| /usr/local/sbin/cronolog /var/log/apache2/%Y/%m/%d/access.log" combined Thanks Patrick > > -- > Dan Nelson > dnelson@allantgroup.com > From glen.j.barber at gmail.com Fri Feb 6 11:33:13 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri Feb 6 11:33:19 2009 Subject: differences of disk usage between du and quota binaries In-Reply-To: <20090206201317.4e0377b7.nicolas@nicoelro.net> References: <20090206201317.4e0377b7.nicolas@nicoelro.net> Message-ID: <4ad871310902061133yfe1f69er5a5c33e934a19058@mail.gmail.com> On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier wrote: > Hello. > > I use FreeBSD 6.3. I set quota to my fs. > But, when I print disk usage with du -sh, I have: > > root@domain sites $ du -sh folder > 633M folder > > But, when I print disk usage with quota -u user, I have: > > isk quotas for user user (uid 2002): > Filesystem usage quota limit grace files quota limit grace > /var 648264 700000 700000 2963 0 0 > > > Why this difference? (633M against 648264) > Because 633Mb is 648264 (roughly) bytes. (648264 / 1024) Regards, -- Glen Barber From glen.j.barber at gmail.com Fri Feb 6 11:35:06 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri Feb 6 11:35:14 2009 Subject: differences of disk usage between du and quota binaries In-Reply-To: <4ad871310902061133yfe1f69er5a5c33e934a19058@mail.gmail.com> References: <20090206201317.4e0377b7.nicolas@nicoelro.net> <4ad871310902061133yfe1f69er5a5c33e934a19058@mail.gmail.com> Message-ID: <4ad871310902061135g479ed9abg9a4667593488a3d5@mail.gmail.com> On Fri, Feb 6, 2009 at 2:33 PM, Glen Barber wrote: > On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier wrote: >> Hello. >> >> I use FreeBSD 6.3. I set quota to my fs. >> But, when I print disk usage with du -sh, I have: >> >> root@domain sites $ du -sh folder >> 633M folder >> >> But, when I print disk usage with quota -u user, I have: >> >> isk quotas for user user (uid 2002): >> Filesystem usage quota limit grace files quota limit grace >> /var 648264 700000 700000 2963 0 0 >> >> >> Why this difference? (633M against 648264) >> > > Because 633Mb is 648264 (roughly) bytes. (648264 / 1024) > > Regards, > Well, I never really answered the 'why' part of your question -- the '-h' flag prints 'human readable' output -- ie, in MB instead of bytes. -- Glen Barber From nealhogan at gmail.com Fri Feb 6 11:36:46 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Fri Feb 6 11:36:54 2009 Subject: /var grows, apache open file, which file? In-Reply-To: <922bbbdc3563fcba8c8ed34d7fa6bf1f.squirrel@webmail.superhero.nl> References: <20090206190553.GB13084@dan.emsphone.com> <922bbbdc3563fcba8c8ed34d7fa6bf1f.squirrel@webmail.superhero.nl> Message-ID: On Fri, Feb 6, 2009 at 1:27 PM, Gelsema, P (Patrick) - FreeBSD < freebsd@superhero.nl> wrote: > On Fri, February 6, 2009 20:05, Dan Nelson wrote: > > In the last episode (Feb 06), Gelsema, P (Patrick) - FreeBSD said: > >> I noticed that my var slice is getting eaten by apache. The amount of > >> free > >> space is getting less and less per day. So I started to investigate. > >> > >> I did the following; > >> > >> # fstat -u www | grep var | more > >> www httpd 97042 9 /var 74653 -rw------- 176907484 w > >> www httpd 97042 12 /var 71575 -rw------- 1345623 w > >> www httpd 97042 13 /var 24693 -rw-r--r-- 0 w > >> www httpd 97042 15 /var 70919 -rw------- 0 w > >> www httpd 97042 16 /var 70919 -rw------- 0 w > >> www httpd 26059 9 /var 74653 -rw------- 176907484 w > >> www httpd 26059 12 /var 71575 -rw------- 1345623 w > >> > >> So I have an Inumber, lets search for that. > >> > >> # find / -inum 74653 > >> /usr/ports/net/pptpclient/files > >> > >> This confuses me! That is on a different slice. > > > > Then that is not the inode you are looking for. Use "find -x /var ..." > to > > doesnt return anything. > > > limit the search to just the /var mountpoint. Your problem is probably > > due > > to a bad logfile rotator that isn't signalling apache to close&reopen the > > logs, so it keeps logging to a file you have deleted. If you're using > > newsyslog, make sure you have listed your apache pidfile on the line > > correspoinding to any apache logs so it knows which process to signal. > > See > > the newsyslog.conf manpage for more details. > > Added /var/run/httpd.pid to newsyslog.conf and restarted apache. > > I am also using cronolog. > > from httpd.conf: > CustomLog "| /usr/local/sbin/cronolog > /var/log/apache2/%Y/%m/%d/access.log" combined > > Thanks Patrick > > > > > -- > > Dan Nelson > > dnelson@allantgroup.com > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Just a thought . . . perhaps your situation is similar. I had an issue recently, where /var was maxing out quickly, even after empty all of the logs. It ended up that I was logging too much prior to log rotation. I had recently set-up an ftp server and the rsync of the binary I was mirrorring slammed /var. So, I limited what my firewall logged. Instead of *log all* I would just *log*. -- www.nealhogan.net From roberthuff at rcn.com Fri Feb 6 11:48:44 2009 From: roberthuff at rcn.com (Robert Huff) Date: Fri Feb 6 11:48:51 2009 Subject: disk recovery problem(s) Message-ID: <18828.37913.857833.472632@jerusalem.litteratus.org> Had a power outage recently; when trying to fsck several external hard drives I'm getting unexpected errors. For example: huff@>> fsck /dev/da3a ** /dev/da3a ** Last Mounted on /backup ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ROOT INODE UNALLOCATED ALLOCATE? [yn] a) what's probably happened? b) is there a way to recover the data? I can scrub the disk and restore, but would like to avoid that if at all possible. Robert Huff From Pieter.Donche at ua.ac.be Fri Feb 6 11:50:48 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Fri Feb 6 11:50:57 2009 Subject: simple printer setup Message-ID: FreeBSD 7.0: what is the most simple and quickest way to set up printing from the unix command line to a few HP printers (all Postscript enabled) that have an IP address (direct printer to IP address) ? (printing of unix text files and postscript files) From Greg.Stark at sungard.com Fri Feb 6 11:58:52 2009 From: Greg.Stark at sungard.com (Greg.Stark@sungard.com) Date: Fri Feb 6 11:59:00 2009 Subject: Sendmail to Relay different domains to different hosts In-Reply-To: References: <498C896A.6000000@ibctech.ca> Message-ID: Just did some testing. A single entry for the corporate domain as described below and the smarthost set for everything else seems to work. Thanks very much everyone! Greg -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Greg.Stark@sungard.com Sent: Friday, February 06, 2009 2:10 PM To: steve@ibctech.ca Cc: freebsd-questions@freebsd.org Subject: RE: Sendmail to Relay different domains to different hosts Great! I will give this a try. If I put a single entry into the mailertable for the corporate domain would everything else default to the smarthost defined in sendmail.cf? Thanks, Greg -----Original Message----- From: Steve Bertrand [mailto:steve@ibctech.ca] Sent: Friday, February 06, 2009 2:03 PM To: Stark, Greg Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail to Relay different domains to different hosts Greg.Stark@sungard.com wrote: > I am using Sendmail on a FreeBSD7.0 server as a mail relay for some of > our servers. These servers relay messages to both internal recipients > and external customers. I need to be able to relay mail destined to our > internal domain recipients to our corporate mail servers but relay > everything else out to our usual smart host. So basically, I am > looking to relay emails destined for a certain domain to one host and > the rest of the mail to another. > Does anyone know how I could configure > sendmail to accomplish this? Yes. Take a look at the `mailertable.sample' file. Create an empty 'mailertable' file in /etc/mail, and add the domain-to-server maps to it: corporate.com smtp:relay.corporate.com other.com smtp:some.other.server.com ...and then IIRC: # cd /etc/mail # makemap hash mailertable < mailertable Steve _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From keramida at freebsd.org Fri Feb 6 12:06:41 2009 From: keramida at freebsd.org (Giorgos Keramidas) Date: Fri Feb 6 12:07:13 2009 Subject: OT: SVN checkout checksumming In-Reply-To: <20090206191157.GB2438@phenom.cordula.ws> (cpghost@cordula.ws's message of "Fri, 6 Feb 2009 20:11:57 +0100") References: <4989B239.9090504@optiksecurite.com> <878wolpydl.fsf@kobe.laptop> <20090206165800.GB1444@phenom.cordula.ws> <871vubv66x.fsf@kobe.laptop> <20090206191157.GB2438@phenom.cordula.ws> Message-ID: <87myczz6np.fsf@kobe.laptop> On Fri, 6 Feb 2009 20:11:57 +0100, cpghost wrote: >On Fri, Feb 06, 2009 at 07:14:14PM +0200, Giorgos Keramidas wrote: >>On Fri, 6 Feb 2009 17:58:00 +0100, cpghost wrote: >>>> Let's assume for a moment that you install a post-commit hook that >>>> generates a SHA-256 checksum of all the files in the latest repo >>>> revision on the svn server. >>>> >>>> For the sake of simplicity, let's assume that this file is a simple, >>>> plain text file that is named db/revs/NUMBER.sha256 where 'NUMBER' is >>>> the revision number you are check-summing. >>>> >>>> How are you going to *safely* transmit those SHA-256 checksums to the >>>> client on 'svn checkout'? >>> >>> Well, sorry to bring this back up, but again: how about signing >>> NUMBER.sha256 with a GnuPG private key belonging to the FreeBSD >>> Project? If there's a way to *safely* get the corresponding >>> public key, checking the signature of the NUMBER.sha256 files >>> would be trivial. >> >> If the signed data is not part of the actual repository, you have a >> signature for a numeric value, not a signature for the *contents* of the >> repository itself. > > Hmmm... yes, you're right. Only the digest would be signed in this > case, and that's not enough. But if the (digest, revision) pair is > signed, that would at least be useful (somewhat). > > So, let's say that NUMBER.sha256 starts with something like a comment: > > # r123456 > > > > ... > > and all this signed, would it be enough? Sorry, but no, it wouldn't be enough. There are other SCM systems where the sha256 hash is *part* of the history, like Mercurial, Git and Darcs. If you really want to be _certain_ that a particular revision is truly what it is supposed to be, using something that makes cryptographically secure hashes an integral part of the history is probably the only way to achieve that goal :/ > Even if the repository isn't signed, one can compute the digests > locally and check them with the *signed* list of digests. It may not > catch everything because of possible collisions, but wouldn't that be > already better than nothing? Yes, that might be "good enough", but it might have a slightly hard to define set of constraints. For example: * Do you publish checksums for all the files in each revision (a 'manifest' as some systems call the collection of files)? * Do you allow checksums to be recorded as a full manifest every time, or do you publish only the checksums for the files that changed since the last revision? * How do you handle separate branches? * Do svn:keywords play a role in the calculation of the checksum? If not, why? These are not as easy problems to solve as it may initially appear :( From eculp at casasponti.net Fri Feb 6 12:10:03 2009 From: eculp at casasponti.net (eculp@casasponti.net) Date: Fri Feb 6 12:10:11 2009 Subject: Flash9and FreeBSD7.0isssue In-Reply-To: <1233929308.75410.2.camel@laptop1.herveybayaustralia.com.au> References: <1233915498.10531.52.camel@laptop1.herveybayaustralia.com.au> <20090206075030.17qwm4xcvt0gog4gw@intranet.casasponti.net> <1233929308.75410.2.camel@laptop1.herveybayaustralia.com.au> Message-ID: <20090206140951.17qwm4xcvtc0w04k0@intranet.casasponti.net> Quoting Da Rock : > On Fri, 2009-02-06 at 07:50 -0600, eculp@casasponti.net wrote: >> Quoting Da Rock : >> >> > On Fri, 2009-02-06 at 05:43 +0000, dhaneshk k wrote: >> >> Hi list, >> >> >> >> >> >> I followed http://freebsd.langhans.com.pl/af/index.html >> >> >> >> To enable flash9 support for FreeBSD7.0 >> >> >> >> >> >> >> >> >> >> I installed FreeBSD7.0 with Linux compatibility >> >> >> >> so the first step (1.3 ) I skipped >> >> I would suggest linux_base-f8-8_11, the in /etc/sysctl.conf put: >> compat.linux.osrelease=2.6.16, > > Ahh yes. Forgot that point- a must for flash9. > >> for firefox use the latest firefox3 > > Why firefox3? Isn't there stability issues? And doesn't the firefox > still need to be linux-firefox? I hope not because I'm using it right now with a site that requires flash 9. IMO, it works much better than windows firefox with wine emulation plus the linux firefox-devel has a security issue, I believe. The only issue is with a few extra processes for flash on ocassion, but I'm not complaining. The version of FBSD firefox from ports firefox3 I'm using is 3.0.5. ed > >> port (firefox-3.0.5_1,1) NOT firefox-devel, all the plugins that you >> want such as linux-flashplugin-9.0r152 and any others then >> nspluginwrapper-1.2.2_2 and run the script and start firefox3 and all >> should be well if I haven't forgotten something. >> >> I would guess that the principal problem is the firefox-devel port >> rather than firefox3. IIRC, it is pre-firefox3. >> >> ed >> >> >> >> >> >> >> >> second step I followed and installed latest firefox-devel >> >> >> >> >> >> then I installed nspluginwrapper >> >> >> >> >> >> >> >> next step I downloaded this >> >> >> ftp://greyone.tulatelecom.ru/pub/linux/adobe/install_flash_player_9_linux.tar.gz >> >> >> >> from this link >> >> >> http://www.filewatcher.com/m/install_flash_player_9_linux.tar.gz.2608602.0.0.html as adobe.com not allowing me to >> download >> >> it. >> >> >> >> >> >> then I untarred it and copied libflashplayer.so to >> >> ~/.mozilla/plugins ( I created plugins directory as there is no >> >> default plugins directory in ~/.mozilla/ >> >> and I invoked the nspluginwrapper $ nspluginwrapper -v >> >> -a -i and observed that it created >> >> nswrapper.libflashplayer.so >> >> >> >> >> >> >> >> but $ nspluginwrapper -l given me the the message >> >> segmentation fault core dumped sig 11 >> >> >> >> what I made wrong ? >> >> >> >> >> >> I tried to restart the firefox and it restarted and showing >> >> message you updated to the latest fiefox version . >> >> >> >> >> >> but when I accessed the http://www.adobe.com/shockwave/welcome/ >> >> URL I am getting message in the console as >> >> >> >> >> >> LoadPlugin: failed to initialize shared library >> >> /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object >> >> "libdl.so.2" not found, required by "libflashplayer.so"] >> >> >> >> Gtk-Message: Failed to load module "gnomebreakpad": >> >> libgnomebreakpad.so: cannot open shared object file: No such file or >> >> directory >> >> LoadPlugin: failed to initialize shared library >> >> /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object >> >> "libdl.so.2" not found, required by "libflashplayer.so"] >> >> >> >> Gtk-Message: Failed to load module "gnomebreakpad": >> >> libgnomebreakpad.so: cannot open shared object file: No such file or >> >> directory >> >> >> >> >> >> >> >> but find commad showing that libdl.so.2 is ther in >> >> /usr/compat/linux/lib/libdl.so.2 >> >> >> >> >> >> >> >> # find / -name libdl.so.2 >> >> /usr/compat/linux/lib/libdl.so.2 >> >> >> >> >> >> [dhanesh]$ sysctl compat.linux.osrelease >> >> compat.linux.osrelease: 2.4.2 >> >> >> >> [dhanesh$ uname -a >> >> FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 >> >> UTC 2008 >> >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> >> >> >> >> >> >> any hints to make it work most welcome.. please see this paste >> >> also http://rafb.net/p/Yz7dBS79.html >> >> >> >> thanks in advance >> > >> > Been where you are, done all that. >> > >> > First, deinstall from ports emulators/linux_base-fc4 and make install >> > linux_base-f8. Then make install from ports www/linux-firefox, >> > www/nspluginwrapper and www/linux-flashplugin9. kldload linux, and mount >> > -t linprocfs linproc /compat/linux/proc. >> > >> > Run nspluginwrapper and then run linux-firefox. Tada! All should work >> > now, but it can be a little unstable. >> > >> > HTH. >> > >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > >> >> >> >> "Failure is the opportunity to begin again more intelligently." >> "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > "Failure is the opportunity to begin again more intelligently." "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford From dkelly at hiwaay.net Fri Feb 6 12:10:26 2009 From: dkelly at hiwaay.net (David Kelly) Date: Fri Feb 6 12:10:33 2009 Subject: lpr fixed, but the wrong-way... [?] In-Reply-To: <20090206191710.GA39974@thought.org> References: <20090206191710.GA39974@thought.org> Message-ID: <20090206201023.GC62867@Grumpy.DynDNS.org> On Fri, Feb 06, 2009 at 11:17:13AM -0800, Gary Kline wrote: > > % lpr /etc/fstab > > works. from the apsfilter log, it lookas as tho i need to upgrade > this libgs.so.8 shared library. but *how* do i find who/what build > this library? % grep -l libgs /var/db/pkg/*/+CONTENTS -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From keramida at ceid.upatras.gr Fri Feb 6 12:11:24 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Feb 6 12:11:31 2009 Subject: Sendmail to Relay different domains to different hosts In-Reply-To: (Greg Stark's message of "Fri, 6 Feb 2009 14:09:49 -0500") References: <498C896A.6000000@ibctech.ca> Message-ID: <87wsc3s4v5.fsf@kobe.laptop> On Fri, 6 Feb 2009 14:09:49 -0500, wrote: > Great! I will give this a try. > > If I put a single entry into the mailertable for the corporate domain > would everything else default to the smarthost defined in sendmail.cf? Yes. If you want *everything* to be handled through mailertable you have to explicitly configure it to include a "." left hand entry: corporate.domain esmtp:[internal.mail.server] . esmtp:[override.stp.relay] From rwmaillists at googlemail.com Fri Feb 6 12:13:05 2009 From: rwmaillists at googlemail.com (RW) Date: Fri Feb 6 12:13:12 2009 Subject: differences of disk usage between du and quota binaries In-Reply-To: <20090206201317.4e0377b7.nicolas@nicoelro.net> References: <20090206201317.4e0377b7.nicolas@nicoelro.net> Message-ID: <20090206201256.14a97e6f@gumby.homeunix.com> On Fri, 6 Feb 2009 20:13:17 +0100 Nicolas Letellier wrote: > Hello. > > I use FreeBSD 6.3. I set quota to my fs. > But, when I print disk usage with du -sh, I have: > >.. > > Why this difference? (633M against 648264) > Try dividing 648264 by 1024. From rsmith at xs4all.nl Fri Feb 6 12:24:24 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Feb 6 12:24:31 2009 Subject: disk recovery problem(s) In-Reply-To: <18828.37913.857833.472632@jerusalem.litteratus.org> References: <18828.37913.857833.472632@jerusalem.litteratus.org> Message-ID: <20090206202421.GA55683@slackbox.xs4all.nl> On Fri, Feb 06, 2009 at 02:48:41PM -0500, Robert Huff wrote: > > Had a power outage recently; when trying to fsck several > external hard drives I'm getting unexpected errors. > For example: > > huff@>> fsck /dev/da3a > ** /dev/da3a > ** Last Mounted on /backup > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ROOT INODE UNALLOCATED > ALLOCATE? [yn] > > a) what's probably happened? Error messages are explained in Appendix A of /usr/share/doc/smm/03.fsck/paper.ascii.gz Unfortunately it says that this error "should never happen". :-/ Is the drive connected by USB? Some USB disk interface chips are quite quirky. > b) is there a way to recover the data? Answer y, and all directorys and files found in the root will appear in lost+found, unless the attempt to allocate the root inode fails.. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090206/8b73d842/attachment.pgp From rsmith at xs4all.nl Fri Feb 6 12:28:46 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Feb 6 12:28:54 2009 Subject: simple printer setup In-Reply-To: References: Message-ID: <20090206202843.GB55683@slackbox.xs4all.nl> On Fri, Feb 06, 2009 at 08:50:46PM +0100, Pieter Donche wrote: > FreeBSD 7.0: what is the most simple and quickest way to set up printing > from the unix command line to a few HP printers (all Postscript enabled) > that have an IP address (direct printer to IP address) ? (printing of > unix text files and postscript files) See Chapter 9 of the FreeBSD Handbook, especially ?9.4.3 about remote printer setup and ?9.4.1.2 about printing plain text on a postscript printer. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090206/ef72e53f/attachment.pgp From bf2006a at yahoo.com Fri Feb 6 12:29:57 2009 From: bf2006a at yahoo.com (bf) Date: Fri Feb 6 12:30:06 2009 Subject: lpr fixed, but the wrong-way... [?] Message-ID: <93660.55067.qm@web39102.mail.mud.yahoo.com> > it lookas as tho i need to upgrade this > libgs.so.8 shared library. but *how* do i find who/what build this > library? It is from one of the ghostscript ports, as you might expect when using postscript for printing. It probably failed because one of the libraries was corrupted, or someone updated a port/package without also updating the ports/packages that depend upon it. If, in the future, you install a file from a package or a port, and your package database files (by default, in /var/db/pkg ) aren't damaged (and no committer has screwed up by not adding files to a pkg-plist or not properly determining CONFLICTS in a port Makefile), then you can use: pkg_info -W to determine the port or package to which the file belongs. In this case, for my machine: pkg_info -W /usr/local/lib/libgs.so.8 /usr/local/lib/libgs.so.8 was installed by package ghostscript8-8.63 although it could be something like ghostscript8-nox11-* on yours. pkg_which, from the ports-mgmt/portupgrade port, also does this ( see pkgdb(1) if you have this installed ). To get the path in the first place, use locate(1), find(1), or, for a shared library, something like: ldconfig -vr | grep 'libgs.so.8' 349:-lgs.8 => /usr/local/lib/libgs.so.8 There is a section on printing in the FreeBSD handbook, which you may find useful. Regards, b. From me at janh.de Fri Feb 6 12:30:59 2009 From: me at janh.de (Jan Henrik Sylvester) Date: Fri Feb 6 12:31:31 2009 Subject: Flash9 and FreeBSD7.0 isssue References: COL106-W1623074BA617183F052FD3B2C10@phx.gbl Message-ID: <498C9E00.4080408@janh.de> dhaneshk k wrote: > I followed http://freebsd.langhans.com.pl/af/index.html > > To enable flash9 support for FreeBSD7.0 In contrast to the other replies, I have flash9 running with linux_base-fc-4_14 using compat.linux.osrelease=2.4.2 in a native firefox3 (not the linux version). It runs ok. Occasionally, the plugin crashes for a new page with flash, but it does not take firefox with it. Reloading the page usually fixes it. The important difference to your setup is that I run FreeBSD 7.1. Since the main bug rendering flash9 unstable was fixed in 7-STABLE between 7.1-RC1 and 7.1-RC2, I do not think anything will fix flash9 on FreeBSD 7.0. Maybe you get better results with osrelease=2.6.16 _and_ a newer linux_base, but that is not necessary. Updating to 7.1 is. noscript or at least flashblock is a must... The procedure: Get firefox3, flash9, and nspluginwrapper up to date, remove everything with nspluginwrapper as root and as your user, auto install every plugin as root (-a -i -v), and put links in your ~/.mozilla/plugins: cd ~/.mozilla/plugins/ ln -s /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so You need linprocfs mounted to /usr/compat/linux/proc -- see the manpage of linprocfs. Cheers, Jan Henrik From Albert.Shih at obspm.fr Fri Feb 6 12:35:04 2009 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri Feb 6 12:35:11 2009 Subject: installkernel on small disk Message-ID: <20090206202032.GB76165@obspm.fr> Hi all I've two servers (in fact guest in vmware) on don't have enought disk space to make buildkernel (or world). For the world freebsd-update can work. But for the kernel I've my own kernel. So if I compile the kernel on the other server how can I put it on the first ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 6 f?v 2009 21:18:28 CET From 240olofsson at telia.com Fri Feb 6 12:39:27 2009 From: 240olofsson at telia.com (Roger Olofsson) Date: Fri Feb 6 12:39:34 2009 Subject: xdm doesn't run as daemon In-Reply-To: <20090205123154.GA75634@mech-cluster238.men.bris.ac.uk> References: <20090205123154.GA75634@mech-cluster238.men.bris.ac.uk> Message-ID: <498C9FFB.3040500@telia.com> Anton Shterenlikht skrev: > After upgrades of 23-24 Jan 2009 xdm is not working: > > # xdm > # ps ax|grep xdm > 75632 p1 S+ 0:00.01 grep xdm > # cat /var/log/xdm.log > # > > So no xdm daemon. > > My system: FreeBSD 6.4-STABLE alpha, xdm-1.1.8_1. > > Any ideas? > > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.233 / Virus Database: 270.10.18/1935 - Release Date: 02/02/09 19:21:00 > Hi Anton, Tried detaching it? xdm & /R From fernando.apesteguia at gmail.com Fri Feb 6 12:46:39 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Fri Feb 6 12:46:46 2009 Subject: Gtk and GLib documentation in DevHelp Message-ID: <1bd550a00902061246qd633b3fp819f21e3158af386@mail.gmail.com> Hi all, I have Devhelp 0.19.1 installed on my system (7.1-RELEASE-p2). There are a lot of API references, but not the glib or gtk ones. I've installed glib20-reference and gtk20-reference packages, but those provide the HTML reference you can find in the proper sites. Where can I find the glib and gtk documentation integrated into DevHelp? Thanks in advance. From wblock at wonkity.com Fri Feb 6 12:54:25 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Feb 6 12:54:34 2009 Subject: Flash9 and FreeBSD7.0 isssue In-Reply-To: <498C9E00.4080408@janh.de> References: COL106-W1623074BA617183F052FD3B2C10@phx.gbl <498C9E00.4080408@janh.de> Message-ID: On Fri, 6 Feb 2009, Jan Henrik Sylvester wrote: > The procedure: Get firefox3, flash9, and nspluginwrapper up to date, Likewise. That's FreeBSD 7.1 or later, native Firefox 3, linux_base-fc4, linux-flashplugin9, and nspluginwrapper. > remove everything with nspluginwrapper as root and as your user, auto > install every plugin as root (-a -i -v), and put links in your > ~/.mozilla/plugins: Or just run nspluginwrapper -a -i as your web browser user. The only link I had to create by hand was for Java. npviewer.bin leaves core dumps in my home directory way too often, and often makes the browser do nothing for seconds at a time. gnash runs better but still doesn't quite do all the Flash stuff. Maybe next release. -Warren Block * Rapid City, South Dakota USA From me at janh.de Fri Feb 6 13:09:49 2009 From: me at janh.de (Jan Henrik Sylvester) Date: Fri Feb 6 13:09:55 2009 Subject: Flash9 and FreeBSD7.0 isssue In-Reply-To: References: COL106-W1623074BA617183F052FD3B2C10@phx.gbl <498C9E00.4080408@janh.de> Message-ID: <498CA715.3040801@janh.de> Warren Block wrote: > On Fri, 6 Feb 2009, Jan Henrik Sylvester wrote: >> remove everything with nspluginwrapper as root and as your user, auto >> install every plugin as root (-a -i -v), and put links in your >> ~/.mozilla/plugins: > > Or just run nspluginwrapper -a -i as your web browser user. The only > link I had to create by hand was for Java. The reason I recommended removing everything as root is that there could be an old version left from an old version of flash. For example, if you have 9.0r151 and 9.0r152 both wrapped in different directories, both will be picked up, which confuses firefox -- and you probably still have the vulnerability that was fixed with the upgrade. If there is just one wrapped version that all users link to symbolically, you just have to remember updating that after a portupgrade and everyone is up to date again. Of course, if you are the only user of your computer, keeping the wrapped versions in your home directory makes sense, too -- just avoid doing both. Cheers, Jan Henrik From wblock at wonkity.com Fri Feb 6 13:22:38 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Feb 6 13:22:49 2009 Subject: simple printer setup In-Reply-To: References: Message-ID: On Fri, 6 Feb 2009, Pieter Donche wrote: > FreeBSD 7.0: what is the most simple and quickest way to set up printing > from the unix command line to a few HP printers (all Postscript enabled) > that have an IP address (direct printer to IP address) ? (printing of > unix text files and postscript files) The Handbook covers it, but takes its time getting around to network printers. Here's a short form: Put printer hostnames in /etc/hosts or DNS. Make a spool directory. Create a filter script for autodetecting PS and formatting text to PS. Put an entry in /etc/printcap. Enable and run lpd. Then use lpr to print. /usr/ports/print/enscript-* is useful for formatting text into PS. If you need to print something right now, you can use nc(1) to send files to the printers: nc myhplaser 9100 < file.ps enscript -o - file.txt | nc myhplaser 9100 -Warren Block * Rapid City, South Dakota USA From kline at thought.org Fri Feb 6 14:27:30 2009 From: kline at thought.org (Gary Kline) Date: Fri Feb 6 14:27:38 2009 Subject: lpr fixed, but the wrong-way... [?] In-Reply-To: <20090206201023.GC62867@Grumpy.DynDNS.org> References: <20090206191710.GA39974@thought.org> <20090206201023.GC62867@Grumpy.DynDNS.org> Message-ID: <20090206222724.GA45275@thought.org> On Fri, Feb 06, 2009 at 02:10:23PM -0600, David Kelly wrote: > On Fri, Feb 06, 2009 at 11:17:13AM -0800, Gary Kline wrote: > > > > % lpr /etc/fstab > > > > works. from the apsfilter log, it lookas as tho i need to upgrade > > this libgs.so.8 shared library. but *how* do i find who/what build > > this library? > > % grep -l libgs /var/db/pkg/*/+CONTENTS close, but grepping for libgs found a slew of ports but doing a grep -l libgs.so found print/ghostscript8, :-) thankee! gary > > -- > David Kelly N4HHE, dkelly@HiWAAY.net > ======================================================================== > Whom computers would destroy, they must first drive mad. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php From phantomcircuit at covertinferno.org Fri Feb 6 14:33:45 2009 From: phantomcircuit at covertinferno.org (phantomcircuit) Date: Fri Feb 6 14:33:53 2009 Subject: SSH XForwarding Failure Message-ID: <1233958699.9335.6.camel@patrick-laptop> I have absolutely no clue why this isn't working. xauth is installed $DISPLAY is localhost:10.0 XForwarding is enabled in sshd_config and I invoked ssh with -X. %/usr/local/bin/xauth list phantomcircuit.mine.nu/unix:11 MIT-MAGIC-COOKIE-1 eea299b0035168d92d95659436874a80 phantomcircuit.mine.nu/unix:12 MIT-MAGIC-COOKIE-1 e05b1ac4522781c3be2049a35782b704 phantomcircuit.mine.nu/unix:10 MIT-MAGIC-COOKIE-1 c9c16e95897333c3f300817f50ef9344 %/usr/local/bin/xauth list :0.0 %echo $DISPLAY localhost:10.0 % Attempt to use XForwarding $ ssh -Xvv phantomcircuit@covertinferno.org OpenSSH_5.1p1 Debian-3ubuntu1, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to covertinferno.org [76.199.103.250] port 22. debug1: Connection established. debug1: identity file /home/username/.ssh/identity type -1 debug2: key_type_from_name: unknown key type '-----BEGIN' debug2: key_type_from_name: unknown key type 'Proc-Type:' debug2: key_type_from_name: unknown key type 'DEK-Info:' debug2: key_type_from_name: unknown key type '-----END' debug1: identity file /home/username/.ssh/id_rsa type 1 debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-4096 debug1: Checking blacklist file /etc/ssh/blacklist.RSA-4096 debug1: identity file /home/username/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 CovertInferno debug1: match: OpenSSH_5.1p1 CovertInferno pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-3ubuntu1 debug2: fd 3 setting O_NONBLOCK debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-cbc,blowfish-cbc,arcfour128,arcfour256,aes192-cbc,aes256-cbc,aes128-ctr,aes256-ctr debug2: kex_parse_kexinit: aes128-cbc,blowfish-cbc,arcfour128,arcfour256,aes192-cbc,aes256-cbc,aes128-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-sha1,hmac-ripemd160,hmac-sha1-96 debug2: kex_parse_kexinit: hmac-sha1,hmac-ripemd160,hmac-sha1-96 debug2: kex_parse_kexinit: none,zlib@openssh.com debug2: kex_parse_kexinit: none,zlib@openssh.com debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_setup: found hmac-sha1 debug1: kex: server->client aes128-cbc hmac-sha1 none debug2: mac_setup: found hmac-sha1 debug1: kex: client->server aes128-cbc hmac-sha1 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<2048<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug2: dh_gen_key: priv key bits set: 158/320 debug2: bits set: 1039/2048 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'covertinferno.org' is known and matches the RSA host key. debug1: Found key in /home/username/.ssh/known_hosts:3 debug2: bits set: 1026/2048 debug1: ssh_rsa_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/username/.ssh/id_rsa (0x4c75353ab9d1) debug2: key: /home/username/.ssh/identity ((nil)) debug2: key: /home/username/.ssh/id_dsa ((nil)) This computer system is in California. By connecting you accept the Terms of Service found at . debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /home/username/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: Server accepts key: pkalg ssh-rsa blen 533 debug2: input_userauth_pk_ok: fp ed:4c:d1:61:59:cf:ca:ab:e5:d3:92:58:b4:a5:4c:84 debug1: Authentication succeeded (publickey). debug1: channel 0: new [client-session] debug2: channel 0: send open debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug2: callback start debug2: x11_get_proto: /usr/bin/X11/xauth list :0.0 2>/dev/null debug1: Requesting X11 forwarding with authentication spoofing. debug2: channel 0: request x11-req confirm 0 debug2: client_session2_setup: id 0 debug2: channel 0: request pty-req confirm 1 debug1: Sending environment. debug1: Sending env LANG = en_US.UTF-8 debug2: channel 0: request env confirm 0 debug2: channel 0: request shell confirm 1 debug2: fd 3 setting TCP_NODELAY debug2: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug2: channel_input_confirm: type 99 id 0 debug2: PTY allocation request accepted on channel 0 debug2: channel 0: rcvd adjust 2097152 debug2: channel_input_confirm: type 99 id 0 debug2: shell request accepted on channel 0 Last login: Fri Feb 6 13:34:54 2009 from 150.108.232.21 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 7.1-RELEASE (GENERIC) #0: Thu Jan 1 14:37:25 UTC 2009 %gedit (gedit:75085): Gtk-WARNING **: cannot open display: localhost:10.0 % From bbdl21548 at blueyonder.co.uk Fri Feb 6 13:57:31 2009 From: bbdl21548 at blueyonder.co.uk (Jasvinder S. Bahra) Date: Fri Feb 6 14:50:14 2009 Subject: portsnap: Directory is not writable: /usr/ports Message-ID: <5523E221AA294ADD9074685CC38EE7A2@atlantis> Everyone, I'm running a number of jails (created using ezjail) on a FreeBSD 6.4 server (RELENG_6_4). If I do a "uname -a", I get the following... FreeBSD machine.domain.tld 6.4-RELEASE-p2 FreeBSD 6.4-RELEASE-p2 #0: Fri Jan 9 00:01:13 GMT 2009 root@machine.domain.tld:/usr/obj/usr/src/sys/MACHINE i386 In any case, portaudit recently let me know that some of my installed packages have been updated so I set the kern_securelevel setting in /etc/rc.conf to "1" and rebooted the machine. I then, as root, executed "portsnap fetch update". Portsnap downloaded the snapshot file, but when it tried to extract it, it failed and I was presented with the following... portsnap: Directory is not writable: /usr/ports If I execute "ls -al /usr/", one of the lines I get back are as follows... lrwxrwxrwx 1 root wheel 19 Jan 22 20:07 ports -> /basejail/usr/ports I'm at something of a loss as to why this is happening. I'm logged in as root, and the above line clearly shows I have full permissions. If I do a "ls -al /basejail/usr/", one of the lines I get back are... drwxr-xr-x 68 root wheel 1536 Jan 9 23:53 ports Anyone have any ideas why this is happening? From amvandemore at gmail.com Fri Feb 6 14:50:35 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Feb 6 14:50:42 2009 Subject: insert new line in files Message-ID: <498CBEBE.7080702@gmail.com> I want to insert a new line of text at a certain position in certain files recursively under a directory. More specifically, I want text like this: include('/usr/home/www/imp-sites/default_inventory.php'); to be put into file X at line 37 where file X appears in ./subdir1, .subdir2 etc. There are many subdirs or I'd just do it by hand. I've done stuff like this before with the rpl script and it works well as long as there aren't any special characters in the strings. So I assumed I finally hit the point where I'm forced to learn something like sed or awk and tried some examples with sed but I can't figure out what I'm doing wrong. I get results like this: sed '5i\test' test.txt sed: 1: "5i\test": extra characters after \ at the end of i command Is sed the right tool for this? If so, any good primers for BSD sed? From dnelson at allantgroup.com Fri Feb 6 14:56:23 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Feb 6 14:56:30 2009 Subject: insert new line in files In-Reply-To: <498CBEBE.7080702@gmail.com> References: <498CBEBE.7080702@gmail.com> Message-ID: <20090206225619.GA75180@dan.emsphone.com> In the last episode (Feb 06), Adam Vande More said: > I want to insert a new line of text at a certain position in certain files > recursively under a directory. More specifically, I want text like this: > > include('/usr/home/www/imp-sites/default_inventory.php'); > > to be put into file X at line 37 where file X appears in ./subdir1, > .subdir2 etc. There are many subdirs or I'd just do it by hand. > > I've done stuff like this before with the rpl script and it works well as > long as there aren't any special characters in the strings. So I assumed > I finally hit the point where I'm forced to learn something like sed or > awk and tried some examples with sed but I can't figure out what I'm doing > wrong. > > I get results like this: > > sed '5i\test' test.txt > sed: 1: "5i\test": extra characters after \ at the end of i command You want: sed -e '5i\ test' test.txt i.e. a linebreak after the backslash. -- Dan Nelson dnelson@allantgroup.com From amvandemore at gmail.com Fri Feb 6 15:00:20 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Feb 6 15:00:28 2009 Subject: insert new line in files In-Reply-To: <20090206225619.GA75180@dan.emsphone.com> References: <498CBEBE.7080702@gmail.com> <20090206225619.GA75180@dan.emsphone.com> Message-ID: <498CC0FC.1040706@gmail.com> Dan Nelson wrote: > In the last episode (Feb 06), Adam Vande More said: > >> I want to insert a new line of text at a certain position in certain files >> recursively under a directory. More specifically, I want text like this: >> >> include('/usr/home/www/imp-sites/default_inventory.php'); >> >> to be put into file X at line 37 where file X appears in ./subdir1, >> .subdir2 etc. There are many subdirs or I'd just do it by hand. >> >> I've done stuff like this before with the rpl script and it works well as >> long as there aren't any special characters in the strings. So I assumed >> I finally hit the point where I'm forced to learn something like sed or >> awk and tried some examples with sed but I can't figure out what I'm doing >> wrong. >> >> I get results like this: >> >> sed '5i\test' test.txt >> sed: 1: "5i\test": extra characters after \ at the end of i command >> > > You want: > > sed -e '5i\ > test' test.txt > > i.e. a linebreak after the backslash. > > I had actually tried that too: > sed -e '5i\ ? test' text.txt sed: 1: "5i test ": command i expects \ followed by text From steve at ibctech.ca Fri Feb 6 15:17:49 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Feb 6 15:17:55 2009 Subject: insert new line in files In-Reply-To: <498CC0FC.1040706@gmail.com> References: <498CBEBE.7080702@gmail.com> <20090206225619.GA75180@dan.emsphone.com> <498CC0FC.1040706@gmail.com> Message-ID: <498CC514.1000905@ibctech.ca> Adam Vande More wrote: > Dan Nelson wrote: >> You want: >> >> sed -e '5i\ >> test' test.txt >> >> i.e. a linebreak after the backslash. >> >> > I had actually tried that too: > >> sed -e '5i\ > ? test' text.txt > sed: 1: "5i > test > ": command i expects \ followed by text Try: # sed -e "5i\\ ? test" text.txt Note the double-quotes and two \\. I just ran into this today ;) Steve From dnelson at allantgroup.com Fri Feb 6 15:22:06 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Feb 6 15:22:15 2009 Subject: insert new line in files In-Reply-To: <498CC0FC.1040706@gmail.com> References: <498CBEBE.7080702@gmail.com> <20090206225619.GA75180@dan.emsphone.com> <498CC0FC.1040706@gmail.com> Message-ID: <20090206232129.GB75180@dan.emsphone.com> In the last episode (Feb 06), Adam Vande More said: > Dan Nelson wrote: > > In the last episode (Feb 06), Adam Vande More said: > > > >> I want to insert a new line of text at a certain position in certain > >> files recursively under a directory. More specifically, I want text > >> like this: > >> > >> include('/usr/home/www/imp-sites/default_inventory.php'); > >> > >> to be put into file X at line 37 where file X appears in ./subdir1, > >> .subdir2 etc. There are many subdirs or I'd just do it by hand. > >> > >> I've done stuff like this before with the rpl script and it works well > >> as long as there aren't any special characters in the strings. So I > >> assumed I finally hit the point where I'm forced to learn something > >> like sed or awk and tried some examples with sed but I can't figure out > >> what I'm doing wrong. > >> > >> I get results like this: > >> > >> sed '5i\test' test.txt > >> sed: 1: "5i\test": extra characters after \ at the end of i command > > > > You want: > > > > sed -e '5i\ > > test' test.txt > > > > i.e. a linebreak after the backslash. > > I had actually tried that too: > > > sed -e '5i\ > ? test' text.txt > sed: 1: "5i > test > ": command i expects \ followed by text I don't see a backslash in the error message, which means something ate it. Are you running this command from something other than the commandline or a plain sh script? If you're calling this from another scripting language (via system() or popen() or something similar), you probably have to double the backslash so whatever's parsing it out passes one through to sed. -- Dan Nelson dnelson@allantgroup.com From amvandemore at gmail.com Fri Feb 6 15:45:42 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Feb 6 15:45:51 2009 Subject: insert new line in files In-Reply-To: <20090206232129.GB75180@dan.emsphone.com> References: <498CBEBE.7080702@gmail.com> <20090206225619.GA75180@dan.emsphone.com> <498CC0FC.1040706@gmail.com> <20090206232129.GB75180@dan.emsphone.com> Message-ID: <498CCBA9.6010207@gmail.com> Dan Nelson wrote: >> I had actually tried that too: >> >> > sed -e '5i\ >> ? test' text.txt >> sed: 1: "5i >> test >> ": command i expects \ followed by text >> > > I don't see a backslash in the error message, which means something ate it. > Are you running this command from something other than the commandline or a > plain sh script? If you're calling this from another scripting language > (via system() or popen() or something similar), you probably have to double > the backslash so whatever's parsing it out passes one through to sed. > This is being executed from stock tcsh Progress is being made as it works in the test now with the \\ however I'm running into more things I don't understand in regards to what I need to escape in my input string. > sed -e '5i\\ include(\'/usr/home/www/imp-sites/default_inventory.php\');' test.txt Unmatched '. I also tried escaping ( ) . / to no avail. From amvandemore at gmail.com Fri Feb 6 15:49:37 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Feb 6 15:49:45 2009 Subject: insert new line in files In-Reply-To: <498CCBA9.6010207@gmail.com> References: <498CBEBE.7080702@gmail.com> <20090206225619.GA75180@dan.emsphone.com> <498CC0FC.1040706@gmail.com> <20090206232129.GB75180@dan.emsphone.com> <498CCBA9.6010207@gmail.com> Message-ID: <498CCC94.6080507@gmail.com> Adam Vande More wrote: > Dan Nelson wrote: >>> I had actually tried that too: >>> >>> > sed -e '5i\ >>> ? test' text.txt >>> sed: 1: "5i >>> test >>> ": command i expects \ followed by text >>> >> >> I don't see a backslash in the error message, which means something >> ate it. Are you running this command from something other than the >> commandline or a >> plain sh script? If you're calling this from another scripting language >> (via system() or popen() or something similar), you probably have to >> double >> the backslash so whatever's parsing it out passes one through to sed. >> > This is being executed from stock tcsh > > Progress is being made as it works in the test now with the \\ however > I'm running into more things I don't understand in regards to what I > need to escape in my input string. > > > sed -e '5i\\ > include(\'/usr/home/www/imp-sites/default_inventory.php\');' test.txt > Unmatched '. > > I also tried escaping ( ) . / to no avail. nevermind I see I have to \\ that as well. Okay now I'm going to try to find a way to do this with find and xargs From steve at ibctech.ca Fri Feb 6 15:56:05 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Feb 6 15:56:26 2009 Subject: insert new line in files In-Reply-To: <498CCBA9.6010207@gmail.com> References: <498CBEBE.7080702@gmail.com> <20090206225619.GA75180@dan.emsphone.com> <498CC0FC.1040706@gmail.com> <20090206232129.GB75180@dan.emsphone.com> <498CCBA9.6010207@gmail.com> Message-ID: <498CCE0D.6010208@ibctech.ca> Adam Vande More wrote: > Dan Nelson wrote: >>> I had actually tried that too: >>> >>> > sed -e '5i\ >>> ? test' text.txt >>> sed: 1: "5i >>> test >>> ": command i expects \ followed by text >>> >> >> I don't see a backslash in the error message, which means something >> ate it. Are you running this command from something other than the >> commandline or a >> plain sh script? If you're calling this from another scripting language >> (via system() or popen() or something similar), you probably have to >> double >> the backslash so whatever's parsing it out passes one through to sed. >> > This is being executed from stock tcsh > > Progress is being made as it works in the test now with the \\ however > I'm running into more things I don't understand in regards to what I > need to escape in my input string. > >> sed -e '5i\\ > include(\'/usr/home/www/imp-sites/default_inventory.php\');' test.txt > Unmatched '. > > I also tried escaping ( ) . / to no avail. I don't know for sure under tcsh, but did you try double quotes as I suggested? Using them may prevent the normally special characters from being interpolated. If it doesn't work, then hopefully escaping them will. Steve From frederic.perrin at resel.fr Fri Feb 6 15:56:27 2009 From: frederic.perrin at resel.fr (=?utf-8?Q?Fr=C3=A9d=C3=A9ric_Perrin?=) Date: Fri Feb 6 15:56:37 2009 Subject: Multiple MAC on a single (physical) interface In-Reply-To: <498C4E61.7060501@freemail.gr> (Nikos Vassiliadis's message of "Fri, 06 Feb 2009 16:51:13 +0200") References: <863aeunkj0.fsf@chameau.maisel.enst-bretagne.fr> <498AABCC.4090809@gmx.com> <86ocxfeoqn.fsf@chameau.maisel.enst-bretagne.fr> <498C4E61.7060501@freemail.gr> Message-ID: <867i43m867.fsf@chameau.maisel.enst-bretagne.fr> Le Vendredi 6 ? 15:51, Nikos Vassiliadis a ?crit : > FreeBSD will then know that network 10.0.0.0/24 is attached to > fxp0 and will use fxp0's IP and MAC address to do the ARP query... > > So, in short, if you use such a setup: > fxp0 10.0.0.1/24 ether 00:00:00:01:01:01 > ngeth0 10.0.0.2/32 ether 00:00:00:02:02:02 > ngeth1 10.0.0.3/32 ether 00:00:00:03:03:03 > The IP address in use will be the 10.0.0.1 one > and the MAC address will be the 00:00:00:01:01:01 one. Yes indeed : if I do from another host : $ arping [ngeth0 IP] I get rl0's MAC as an answer, and doig 'tcpdump -i rl0 ether host [ngeth0 MAC]' when ssh to my jail behind ngeth0, I don't see any activity. If I manually add ngeth0's MAC to the other host arp cache, ssh'ing to my jail works, and packets do have ngeth0's MAC. I won't be able to work any further on this before next week. Thanks a lot for your help, Nikos. -- Fred For the record, my network config looks like (minus lo0) : % ifconfig rl0: flags=8943 metric 0 mtu 1500 options=8 ether 00:1c:f0:f8:cd:d6 inet6 fe80::21c:f0ff:fef8:cdd6%rl0 prefixlen 64 scopeid 0x1 inet 172.22.209.241 netmask 0xffffe000 broadcast 172.22.223.255 inet6 2001:660:7302:3:21c:f0ff:fef8:cdd6 prefixlen 64 autoconf media: Ethernet autoselect (100baseTX ) status: active ngeth0: flags=8943 metric 0 mtu 1500 ether 00:00:39:56:f1:1a inet6 fe80::200:39ff:fe56:f11a%ngeth0 prefixlen 64 scopeid 0x4 inet 172.22.212.7 netmask 0xffffffff broadcast 172.22.212.7 bridge0: flags=8843 metric 0 mtu 1500 ether 56:34:43:fd:04:57 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: ngeth0 flags=143 ifmaxaddr 0 port 4 priority 128 path cost 2000000 member: rl0 flags=143 ifmaxaddr 0 port 1 priority 128 path cost 200000 From steve at ibctech.ca Fri Feb 6 15:58:28 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Feb 6 15:58:35 2009 Subject: insert new line in files In-Reply-To: <498CCC94.6080507@gmail.com> References: <498CBEBE.7080702@gmail.com> <20090206225619.GA75180@dan.emsphone.com> <498CC0FC.1040706@gmail.com> <20090206232129.GB75180@dan.emsphone.com> <498CCBA9.6010207@gmail.com> <498CCC94.6080507@gmail.com> Message-ID: <498CCE9C.3060200@ibctech.ca> Adam Vande More wrote: >> I also tried escaping ( ) . / to no avail. > nevermind I see I have to \\ that as well. Okay now I'm going to try to > find a way to do this with find and xargs IMHO, this has become a job for Perl :) Steve From freebsd at edvax.de Fri Feb 6 16:13:27 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Feb 6 16:13:34 2009 Subject: insert new line in files In-Reply-To: <498CBEBE.7080702@gmail.com> References: <498CBEBE.7080702@gmail.com> Message-ID: <20090207011319.ec742f0f.freebsd@edvax.de> Just as a possible starting point... On Fri, 06 Feb 2009 22:50:38 +0000, Adam Vande More wrote: > I want to insert a new line of text at a certain position in certain > files recursively under a directory. More specifically, I want text > like this: > > include('/usr/home/www/imp-sites/default_inventory.php'); > > to be put into file X at line 37 where file X appears in ./subdir1, > .subdir2 etc. There are many subdirs or I'd just do it by hand. > > [...] > > Is sed the right tool for this? If so, any good primers for BSD sed? I'd suggest awk. If you have already a mechanism to "handle" each of the files that need alteration, an awk command could be this: awk '{ print $0; if(NR == 37) printf("include('/usr/home/www/imp-sites/default_inventory.php');\n"); }' It may be neccessary to have a look at the multiple ' (awk skript enclosure, include() parameter enclusure). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Fri Feb 6 16:17:35 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Feb 6 16:17:42 2009 Subject: disk recovery problem(s) In-Reply-To: <18828.37913.857833.472632@jerusalem.litteratus.org> References: <18828.37913.857833.472632@jerusalem.litteratus.org> Message-ID: <20090207011733.76c68040.freebsd@edvax.de> On Fri, 6 Feb 2009 14:48:41 -0500, Robert Huff wrote: > > Had a power outage recently; when trying to fsck several > external hard drives I'm getting unexpected errors. > For example: > > huff@>> fsck /dev/da3a > ** /dev/da3a > ** Last Mounted on /backup > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ROOT INODE UNALLOCATED > ALLOCATE? [yn] > > a) what's probably happened? > b) is there a way to recover the data? I can scrub the disk > and restore, but would like to avoid that if at all possible. I really hope you don't get into the trouble that I have (allthough you mentioned that you've got backups)... Your fsck output seems to indicate that fsck can handle the damage. You could now let it continue. If a parent inode has disappeared, its child inodes (orphaned ones) - or, to be correct, the files or directories they represent - get restored in the lost+found/ directory where their name (probably lost) gets replaced by the inode number. If it's a directory, it content will usually be present with the file names, only the topmost part of a hierarchy will be affected. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nightrecon at verizon.net Fri Feb 6 16:32:08 2009 From: nightrecon at verizon.net (Michael Powell) Date: Fri Feb 6 16:32:17 2009 Subject: having trouble with OpenOffice References: <00163645923cfac869046238a60d@google.com> <498BC5D3.8040609@gmail.com> <340a29540902060706p24c99991v72a029382a80e2f1@mail.gmail.com> Message-ID: Andrew Falanga wrote: > On Thu, Feb 5, 2009 at 10:08 PM, Adam Vande More > wrote: > >> af300wsm@gmail.com wrote: >> >>> Hi, >>> >>> Tonight I finally took the bull by the horns and got OpenOffice >>> installed. However, I'm not having a problem that I haven't found an >>> answer to yet but seems to be related to the X server (from searches on >>> the net). So, I do this: >>> >>> [andy@sniper /usr/home/andy]$ /usr/local/bin/openoffice.org-2.4.2-scalc >>> I18N: Operating system doesn't support locale "en_US" >>> The application cannot be started. >>> The component manager is not available. >>> Segmentation fault (core dumped) >>> >>> >>> As you can tell, OpenOffice failed because my OS doesn't support locale >>> "en_US." Huh!?! I'm using the English version. In fact, the only way to >>> consider me as being bilingual is something of a matter of mental >>> gymnastics because English is spoken in England and to me, England is a >>> foreign country. Thus, I'm bilingual, or at the least, I speak a foreign >>> language. >>> >>> Never the less, how would this be fixed? >>> [snip] Two things come to mind. You can change your locale to one of the en_US varieties. Probably not what you want to do. The other is to install the appropriate en_GB OpenOffice.org I18N langpack. O_o.org out of the box only has built in for en_US, but there are langpacks available for many others. A quick perfunctory perusal of the ports tree and I didn't see these. Possibly this might be useable: ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/ -Mike From amvandemore at gmail.com Fri Feb 6 17:18:08 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Feb 6 17:18:15 2009 Subject: insert new line in files In-Reply-To: <498CCE9C.3060200@ibctech.ca> References: <498CBEBE.7080702@gmail.com> <20090206225619.GA75180@dan.emsphone.com> <498CC0FC.1040706@gmail.com> <20090206232129.GB75180@dan.emsphone.com> <498CCBA9.6010207@gmail.com> <498CCC94.6080507@gmail.com> <498CCE9C.3060200@ibctech.ca> Message-ID: <498CE14A.1090505@gmail.com> Steve Bertrand wrote: > Adam Vande More wrote: > > >>> I also tried escaping ( ) . / to no avail. >>> >> nevermind I see I have to \\ that as well. Okay now I'm going to try to >> find a way to do this with find and xargs >> > > IMHO, this has become a job for Perl :) > > Steve > Thanks for help everyone. My final command was this: skynet1# find . -name 'filename.php' | xargs sed -i.old -e '37a\\ include("/usr/home/www/imp-sites/default_inventory.php");' I used double quotes because I couldn't finger out how to the single quote. Good enough for me. From arab at tangerine-army.co.uk Fri Feb 6 18:19:45 2009 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Fri Feb 6 18:19:57 2009 Subject: Link UP/DOWN problem with re0 on FreeBSD 7.1 In-Reply-To: <498C699A.2080708@optiksecurite.com> References: <497DDDB7.4000702@optiksecurite.com><497E07D1.3030604@optiksecurite.com><01FB8F39BAD0BD49A6D0DA8F78973929561F@Mercury.galaxy.lan.lcl><497E24E5.5090701@optiksecurite.com><498A0ECA.2070002@optiksecurite.com><01FB8F39BAD0BD49A6D0DA8F78973929562F@Mercury.galaxy.lan.lcl> <498C699A.2080708@optiksecurite.com> Message-ID: <01FB8F39BAD0BD49A6D0DA8F789739295630@Mercury.galaxy.lan.lcl> -----Original Message----- From: FreeBSD [mailto:freebsd@optiksecurite.com] Sent: 06 February 2009 16:47 To: Graeme Dargie Cc: freebsd-questions@freebsd.org Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1 Graeme Dargie a ?crit : > -----Original Message----- > From: FreeBSD [mailto:freebsd@optiksecurite.com] > Sent: 04 February 2009 21:55 > Cc: freebsd-questions@freebsd.org > Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1 > > FreeBSD a ?crit : >> Graeme Dargie a ?crit : >>> If you do a dmesg are you also showing a watchdog time out for the nic ? >>> >>> I only ask as I am having the exact same problem with the exact same >>> card and I have yet to find a solution, if I come across something I >>> will let you know. >>> >>> Regards >>> Graeme >> Not a single time...sorry. >> >>> -----Original Message----- >>> From: FreeBSD [mailto:freebsd@optiksecurite.com] Sent: 26 January 2009 >>> 18:58 >>> To: freebsd-questions@freebsd.org >>> Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1 >>> >>> FreeBSD a ?crit : >>>> Hi everyone, >>>> >>>> Just to put you in context, I applied the following patch to make the >>>> card available: >>>> >>>> SVN rev 186389 on 2008-12-22 00:46:22Z by yongari >>>> >>>> Since we don't request reset for rlphy(4), the link state 'UP' >>>> event from mii(4) may not be delivered if valid link was already >>>> established. To address the issue, check current link state after >>>> driving MII_TICK. This should fix a regression introduced in >>>> r185753 on fast ethernet controllers. >>>> >>>> --- >>>> >>>> I don't have any issue related to that anymore. The problem is that I >>>> get link UP/DOWN a few times per hour on 3 identical machines that I >>>> dumped/restored. They are all pluged in a Cisco switch that works >>>> fine for every other PCs. >>>> >>>> Jan 26 06:09:15 term005 kernel: re0: link state changed to DOWN >>>> Jan 26 06:09:17 term005 kernel: re0: link state changed to UP >>>> >>>> I tried to switch cables, but I got the same result. >>>> >>>> There is the pciconf -lv output: >>>> >>>> re0@pci0:3:0:0: class=0x020000 card=0x02831028 chip=0x816810ec >>>> rev=0x02 hdr=0x00 >>>> vendor = 'Realtek Semiconductor' >>>> device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' >>>> class = network >>>> subclass = ethernet >>>> >>>> There is the output of vmstat -i: >>>> >>>> interrupt total rate >>>> irq18: re0 ehci0++ 63766 0 >>>> irq19: atapci0 277001 3 >>>> cpu0: timer 156068748 1961 >>>> Total 156409515 1966 >>>> >>>> Could it be related to the fact that there is re0 and ehci0++ on the >>>> same IRQ? >>>> >>>> Thank you for your help, >>>> >>>> Martin >>> I just tried with a brand new Dell 2708 switch and the problem is >>> still there. I just confirmed that the UP/DOWN occurs every 10 minutes >>> (+- a few seconds). >>> >>> Thanks again, >>> >>> Martin >>> > > Just to follow-up on my own problem... > > I tried to disable some options of the card with : > ifconfig re0 -rxcsum -txcsum -tso -lro -vlanhwtag > > but nothing as changed. I just tried to download a big file (FreeBSD > 7.1-REL DVD iso in fact) to see if the deconnection occurs even during a > transfer. The DVD downloaded successfully and I verified that the MD5 > are OK. BUT, /var/log/messages continue to tell me that: > Feb 4 16:09:29 term003 kernel: re0: link state changed to UP > Feb 4 16:19:26 term003 kernel: re0: link state changed to DOWN > Feb 4 16:19:30 term003 kernel: re0: link state changed to UP > Feb 4 16:19:32 term003 kernel: re0: link state changed to DOWN > > during the transfer (which worked OK). I don't know if that can help > someone to help me ;) > > Thanks, > > Martin > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > I have a solution to this well a work around. > > Add -tso to the relevant line in /etc/rc.conf > > ifconfig_re0="inet 192.168.1.103 netmask 255.255.255.0 -tso" > > Adding -tso stops the link up / link down problem. Now I am understand that this may increase cpu if the traffic on the nic is high. I am sure some one the list will know of any other implications this may have. > > It is a known problem and I site I read the bug had been submitted so hopefully it wont exist in 8.0 > > Regards > > Graeme > As I stated in my last post, I tried to disable a few options, including TSO. Still, I gived a try to your workaround. I now have this line in rc.conf: ifconfig_re0="DHCP -tso" but I have the same problem (it disconnect every 10 minutes and ask for an IP to the DHCP). Thanks for your suggestion, Martin _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I don't use DHCP so it never causes me a problem, have you considered setting a static IP address ? Regards Graeme From roberthuff at rcn.com Fri Feb 6 19:27:06 2009 From: roberthuff at rcn.com (Robert Huff) Date: Fri Feb 6 19:27:12 2009 Subject: disk recovery problem(s) In-Reply-To: <20090206202421.GA55683@slackbox.xs4all.nl> References: <18828.37913.857833.472632@jerusalem.litteratus.org> <20090206202421.GA55683@slackbox.xs4all.nl> Message-ID: <18828.65415.583989.488704@jerusalem.litteratus.org> Roland Smith writes: > > huff@>> fsck /dev/da3a > > ** /dev/da3a > > ** Last Mounted on /backup > > ** Phase 1 - Check Blocks and Sizes > > ** Phase 2 - Check Pathnames > > ROOT INODE UNALLOCATED > > ALLOCATE? [yn] > > > > a) what's probably happened? > > Error messages are explained in Appendix A of > /usr/share/doc/smm/03.fsck/paper.ascii.gz > > Unfortunately it says that this error "should never happen". :-/ > > Answer y, and all directorys and files found in the root will > appear in lost+found, unless the attempt to allocate the root > inode fails.. Thank you. That worked ... sort of. Robert Huff From matt at gsicomp.on.ca Fri Feb 6 19:31:21 2009 From: matt at gsicomp.on.ca (Matt Emmerton) Date: Fri Feb 6 19:31:27 2009 Subject: IPFW in-kernel NAT: How to compile? References: <200902012207.PAA29008@lariat.net><20090202004344.GH75802@dan.emsphone.com> <200902020112.SAA00512@lariat.net> Message-ID: <99703787B6B843468972139F59AAE690@hermes> > At 05:43 PM 2/1/2009, Dan Nelson wrote: > >>Do you have "options LIBALIAS" in your kernel config? > > Nope. There was nothing that said that such an option was needed > (or even that it existed). I did find it, via a recursive grep, in > a file labeled "NOTES" a couple of levels up in the directory > hierarchy. I'm trying a compile now to see if that's all that's > needed to fix the problem. > > It looks as if there's no longer one easy place to find out how to > configure a kernel. The options used to all be in a LINT file that > was present in the configuration directory.... No more. The LINT file moved from a static file to a dynamically-generated file a while ago since not all options are applicable for all platforms. A generic NOTES file (in /usr/src/sys/conf) is combined with a platform-specific NOTES file (in /usr/src/sys//conf, where is i386, amd64, pc98, etc) to create the LINT file. $ cd /usr/src/sys/i386/conf $ make LINT cat ../../conf/NOTES NOTES | sed -E -n -f ../../conf/makeLINT.sed > LINT Regards, -- Matt Emmerton From roberthuff at rcn.com Fri Feb 6 22:30:14 2009 From: roberthuff at rcn.com (Robert Huff) Date: Fri Feb 6 22:30:21 2009 Subject: disk recovery problem II Message-ID: <18829.10867.512556.880218@jerusalem.litteratus.org> One of the disks mentioned in part one was not recoverable. So: newfs. However, something else is broken. Results of newfs is appended. What????? Robert Huff huff@>> newfs /dev/da3a /dev/da3a: 78167.2MB (160086512 sectors) block size 16384, fragment size 2048 using 426 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, 3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792, 6398144, 6774496, 7150848, 7527200, 7903552, 8279904, 8656256, 9032608, 9408960, 9785312, 10161664, 10538016, 10914368, 11290720, 11667072, 12043424, 12419776, 12796128, 13172480, 13548832, 13925184, 14301536, 14677888, 15054240, 15430592, 15806944, 16183296, 16559648, 16936000, 17312352, 17688704, 18065056, 18441408, 18817760, 19194112, 19570464, 19946816, 20323168, 20699520, 21075872, 21452224, 21828576, 22204928, 22581280, 22957632, 23333984, 23710336, 24086688, 24463040, 24839392, 25215744, 25592096, 25968448, 26344800, 26721152, 27097504, 27473856, 27850208, 28226560, 28602912, 28979264, 29355616, 29731968, 30108320, 30484672, 30861024, 31237376, 31613728, 31990080, 32366432, 32742784, 33119136, 33495488, 33871840, 34248192, 34624544, 35000896, 35377248, 35753600, 36129952, 36506304, 36882656, 37259008, 37635360, 38011712, 38388064, 38764416, 39140768, 39517120, 39893472, 40269824, 40646176, 41022528, 41398880, 41775232, 42151584, 42527936, 42904288, 43280640, 43656992, 44033344, 44409696, 44786048, 45162400, 45538752, 45915104, 46291456, 46667808, 47044160, 47420512, 47796864, 48173216, 48549568, 48925920, 49302272, 49678624, 50054976, 50431328, 50807680, 51184032, 51560384, 51936736, 52313088, 52689440, 53065792, 53442144, 53818496, 54194848, 54571200, 54947552, 55323904, 55700256, 56076608, 56452960, 56829312, 57205664, 57582016, 57958368, 58334720, 58711072, 59087424, 59463776, 59840128, 60216480, 60592832, 60969184, 61345536, 61721888, 62098240, 62474592, 62850944, 63227296, 63603648, 63980000, 64356352, 64732704, 65109056, 65485408, 65861760, 66238112, 66614464, 66990816, 67367168, 67743520, 68119872, 68496224, 68872576, 69248928, 69625280, 70001632, 70377984, 70754336, 71130688, 71507040, 71883392, 72259744, 72636096, 73012448, 73388800, 73765152, 74141504, 74517856, 74894208, 75270560, 75646912, 76023264, 76399616, 76775968, 77152320, 77528672, 77905024, 78281376, 78657728, 79034080, 79410432, 79786784, 80163136, 80539488, 80915840, 81292192, 81668544, 82044896, 82421248, 82797600, 83173952, 83550304, 83926656, 84303008, 84679360, 85055712, 85432064, 85808416, 86184768, 86561120, 86937472, 87313824, 87690176, 88066528, 88442880, 88819232, 89195584, 89571936, 89948288, 90324640, 90700992, 91077344, 91453696, 91830048, 92206400, 92582752, 92959104, 93335456, 93711808, 94088160, 94464512, 94840864, 95217216, 95593568, 95969920, 96346272, 96722624, 97098976, 97475328, 97851680, 98228032, 98604384, 98980736, 99357088, 99733440, 100109792, 100486144, 100862496, 101238848, 101615200, 101991552, 102367904, 102744256, 103120608, 103496960, 103873312, 104249664, 104626016, 105002368, 105378720, 105755072, 106131424, 106507776, 106884128, 107260480, 107636832, 108013184, 108389536, 108765888, 109142240, 109518592, 109894944, 110271296, 110647648, 111024000, 111400352, 111776704, 112153056, 112529408, 112905760, 113282112, 113658464, 114034816, 114411168, 114787520, 115163872, 115540224, 115916576, 116292928, 116669280, 117045632, 117421984, 117798336, 118174688, 118551040, 118927392, 119303744, 119680096, 120056448, 120432800, 120809152, 121185504, 121561856, 121938208, 122314560, 122690912, 123067264, 123443616, 123819968, 124196320, 124572672, 124949024, 125325376, 125701728, 126078080, 126454432, 126830784, 127207136, 127583488, 127959840, 128336192, 128712544, 129088896, 129465248, 129841600, 130217952, 130594304, 130970656, 131347008, 131723360, 132099712, 132476064, 132852416, 133228768, 133605120, 133981472, 134357824, 134734176, 135110528, 135486880, 135863232, 136239584, 136615936, 136992288, 137368640, 137744992, 138121344, 138497696, 138874048, 139250400, 139626752, 140003104, 140379456, 140755808, 141132160, 141508512, 141884864, 142261216, 142637568, 143013920, 143390272, 143766624, 144142976, 144519328, 144895680, 145272032, 145648384, 146024736, 146401088, 146777440, 147153792, 147530144, 147906496, 148282848, 148659200, 149035552, 149411904, 149788256, 150164608, 150540960, 150917312, 151293664, 151670016, 152046368, 152422720, 152799072, 153175424, 153551776, 153928128, 154304480, 154680832, 155057184, 155433536, 155809888, 156186240, 156562592, 156938944, 157315296, 157691648, 158068000, 158444352, 158820704, 159197056, 159573408, 159949760 cg 0: bad magic number From jimmiejaz at gmail.com Fri Feb 6 23:37:13 2009 From: jimmiejaz at gmail.com (Jimmie James) Date: Fri Feb 6 23:37:21 2009 Subject: [mi] EQ overflowing mieqEnequeue: out-of-order valuator event Message-ID: <498D3560.5080004@gmail.com> No idea the steps to reproduce this hard lockup, ssh'ing in and killing X resulted in a "test pattern" look to my monitor. While it was hung, keyboard caps/num lock wouldn't respond, nor would the mouse move. The ]mi] lines repeate about 600 times in the log at the end. Shall I submit a PR for this? (WW) intel(0): ESR is 0x00000001, instruction error (WW) intel(0): Existing errors found in hardware state. (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): [drm] dma control initialized, using IRQ 255 [mi] EQ overflowing. The server is probably stuck in an infinite loop. [mi] mieqEnequeue: out-of-order valuator event; dropping. FreeBSD fortytwo.zapto.org 7.1-STABLE FreeBSD 7.1-STABLE #0: Tue Jan 6 03:43:02 EST 2009 jimmie@fortytwo.zapto.org:/usr/obj/usr/src/sys/FORTYTWO i386 pciconf, xorg.conf and Xorg.0.log included. vgapci0@pci0:0:2:0: class=0x030000 card=0x25821043 chip=0x25828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Integrated Graphics Device' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x25821043 chip=0x27828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G Graphics device: 82915G/GV/910GL Express Chipset Family' class = display Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" 0 0 InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" Option "AllowEmptyInput" "OFF" Option "AutoAddDevices" "OFF" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/local/" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/local/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/artwiz-fonts/" FontPath "/usr/local/lib/X11/fonts/webfonts/" FontPath "/usr/local/lib/X11/fonts/URW/" FontPath "/usr/local/lib/X11/fonts/jmk" FontPath "/usr/local/lib/X11/fonts/terminus-font" FontPath "/usr/local/lib/X11/fonts/artwiz-fonts" EndSection Section "ServerFlags" Option "AIGLX" "true" EndSection Section "Module" Load "GLcore" Load "glx" Load "dri" Load "drm" Load "vbe" Load "int10" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "pc101" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "AUTO" Option "Device" "/dev/sysmouse" Option "Buttons" "10" Option "ZAxisMapping" "4 5" Option "ButtonMapping" "1 2 3 6 7 8 9 10 4 5" Option "Emulate3Buttons" "no" EndSection Section "Monitor" HorizSync 31-65 VertRefresh 55-100 Identifier "monitor0" EndSection Section "Device" Identifier "i810" Driver "intel" VendorName "Intel" BoardName "82915G/GV/910GL Express Chipset Family Graphics Controller" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen 1" Device "i810" Monitor "monitor0" DefaultDepth 16 Subsection "Display" Modes "1280x1024" "1024x768" Depth 16 EndSubSection EndSection Section "DRI" Mode 0666 EndSection X.Org X Server 1.5.3 Release Date: 5 November 2008 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.1-STABLE i386 Current Operating System: FreeBSD fortytwo.zapto.org 7.1-STABLE FreeBSD 7.1-STABLE #0: Tue Jan 6 03:43:02 EST 2009 jimmie@fortytwo.zapto.org:/usr/obj/usr/src/sys/FORTYTWO i386 Build Date: 29 January 2009 11:53:48AM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 30 10:14:19 2009 (==) Using config file: "/etc/X11/xorg.conf" (==) ServerLayout "Simple Layout" (**) |-->Screen "Screen 1" (0) (**) | |-->Monitor "monitor0" (**) | |-->Device "i810" (**) |-->Input Device "Mouse1" (**) |-->Input Device "Keyboard1" (**) Option "AIGLX" "true" (**) Option "AllowEmptyInput" "OFF" (**) Option "AutoAddDevices" "OFF" (**) Not automatically adding devices (==) Automatically enabling devices (==) Including the default font path /usr/local/lib/X11/fonts/misc/,/usr/local/lib/X11/fonts/TTF/,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1/,/usr/local/lib/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/75dpi/. (**) FontPath set to: /usr/local/lib/X11/fonts/local/, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/75dpi/:unscaled, /usr/local/lib/X11/fonts/100dpi/:unscaled, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/75dpi/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/artwiz-fonts/, /usr/local/lib/X11/fonts/webfonts/, /usr/local/lib/X11/fonts/URW/, /usr/local/lib/X11/fonts/jmk, /usr/local/lib/X11/fonts/terminus-font, /usr/local/lib/X11/fonts/artwiz-fonts, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/ (**) ModulePath set to "/usr/local/lib/xorg/modules" (II) Loader magic: 0x81b2de0 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 4.1 X.Org XInput driver : 2.1 X.Org Server Extension : 1.1 X.Org Font Renderer : 0.6 (II) Loader running on freebsd (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (--) PCI:*(0@0:2:0) Intel Corporation 82915G/GV/910GL Integrated Graphics Controller rev 4, Mem @ 0xcfd80000/0, 0xd0000000/0, 0xcfe80000/0, I/O @ 0x00006800/0, BIOS @ 0x????????/65536 (--) PCI: (0@0:2:1) Intel Corporation 82915G Integrated Graphics Controller rev 4, Mem @ 0xcfe00000/0 (II) System resource ranges: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) "extmod" will be loaded by default. (II) "dbe" will be loaded by default. (II) "glx" will be loaded. This was enabled by default and also specified in the config file. (II) "freetype" will be loaded by default. (II) "record" will be loaded by default. (II) "dri" will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.0.0 ABI class: X.Org Server Extension, version 1.1 (**) AIGLX enabled (**) Exporting typical set of GLX visuals (II) Loading extension GLX (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.0.0 ABI class: X.Org Server Extension, version 1.1 (II) Loading extension XFree86-DRI (II) LoadModule: "vbe" (II) Loading /usr/local/lib/xorg/modules//libvbe.so (II) Module vbe: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.1.0 ABI class: X.Org Video Driver, version 4.1 (II) LoadModule: "int10" (II) Loading /usr/local/lib/xorg/modules//libint10.so (II) Module int10: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.0.0 ABI class: X.Org Video Driver, version 4.1 (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 1.1 (II) Loading extension SHAPE (II) Loading extension MIT-SUNDRY-NONSTANDARD (II) Loading extension BIG-REQUESTS (II) Loading extension SYNC (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XC-MISC (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-Misc (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension TOG-CUP (II) Loading extension Extended-Visual-Information (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "dbe" (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 1.1 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "freetype" (II) Loading /usr/local/lib/xorg/modules/fonts//libfreetype.so (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project" compiled for 1.5.3, module version = 2.1.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.6 (II) Loading font FreeType (II) LoadModule: "record" (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.13.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 1.1 (II) Loading extension RECORD (II) LoadModule: "intel" (II) Loading /usr/local/lib/xorg/modules/drivers//intel_drv.so (II) Module intel: vendor="X.Org Foundation" compiled for 1.5.3, module version = 2.5.1 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.1 (II) LoadModule: "mouse" (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.4.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.1 (II) LoadModule: "kbd" (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so (II) Module kbd: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.3.2 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.1 (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, Mobile Intel GM45 Express Chipset, Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41 (II) Primary Device is: PCI 00@00:02:0 (II) resource ranges after xf86ClaimFixedResources() call: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) resource ranges after probing: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] [6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [8] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [9] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] (II) Loading sub module "vgahw" (II) LoadModule: "vgahw" (II) Loading /usr/local/lib/xorg/modules//libvgahw.so (II) Module vgahw: vendor="X.Org Foundation" compiled for 1.5.3, module version = 0.1.0 ABI class: X.Org Video Driver, version 4.1 (**) intel(0): Depth 16, (--) framebuffer bpp 16 (==) intel(0): RGB weight 565 (==) intel(0): Default visual is TrueColor (II) intel(0): Integrated Graphics Chipset: Intel(R) 915G (--) intel(0): Chipset: "915G" (--) intel(0): Linear framebuffer at 0xD0000000 (--) intel(0): IO registers at addr 0xCFD80000 (==) intel(0): Using EXA for acceleration (II) intel(0): 2 display pipes available. (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Module "ddc" already built-in (II) Loading sub module "i2c" (II) LoadModule: "i2c" (II) Module "i2c" already built-in (II) intel(0): Output VGA using monitor section monitor0 (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear (II) intel(0): I2C bus "CRTDDC_A" initialized. (II) intel(0): I2C bus "CRTDDC_A" removed. (II) intel(0): I2C bus "CRTDDC_A" initialized. (II) intel(0): I2C device "CRTDDC_A:ddc2" registered at address 0xA0. (II) intel(0): I2C device "CRTDDC_A:ddc2" removed. (II) intel(0): I2C bus "CRTDDC_A" removed. (II) intel(0): EDID vendor "NEC", prod id 17450 (II) intel(0): Using hsync ranges from config file (II) intel(0): Using vrefresh ranges from config file (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1600x1200"x0.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) intel(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (II) intel(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 491 520 -hsync -vsync (37.9 kHz) (II) intel(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz) (II) intel(0): Modeline "640x480"x0.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) intel(0): Modeline "720x400"x0.0 35.50 720 738 846 900 400 421 423 449 -hsync -vsync (39.4 kHz) (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) intel(0): Modeline "1024x768"x0.0 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.1 kHz) (II) intel(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz) (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (II) intel(0): Modeline "1024x768"x0.0 44.90 1024 1032 1208 1264 768 768 776 817 interlace +hsync +vsync (35.5 kHz) (II) intel(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (II) intel(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz) (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (II) intel(0): Modeline "640x480"x85.0 35.71 640 672 736 832 480 481 484 505 -hsync +vsync (42.9 kHz) (II) intel(0): Modeline "800x600"x85.0 56.55 800 840 928 1056 600 601 604 630 -hsync +vsync (53.5 kHz) (II) intel(0): Modeline "1024x768"x85.0 94.39 1024 1088 1200 1376 768 769 772 807 -hsync +vsync (68.6 kHz) (II) intel(0): Modeline "1152x864"x85.0 119.65 1152 1224 1352 1552 864 865 868 907 -hsync +vsync (77.1 kHz) (II) intel(0): Modeline "1280x960"x60.0 102.10 1280 1360 1496 1712 960 961 964 994 -hsync +vsync (59.6 kHz) (II) intel(0): Modeline "1280x1024"x75.0 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -hsync +vsync (80.2 kHz) (II) intel(0): Modeline "1600x1200"x65.0 176.23 1600 1712 1888 2176 1200 1201 1204 1246 -hsync +vsync (81.0 kHz) (II) intel(0): EDID vendor "NEC", prod id 17450 (II) intel(0): Output VGA connected (II) intel(0): Using user preference for initial modes (II) intel(0): Output VGA using initial mode 1280x1024 (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear (II) intel(0): detected 256 kB GTT. (II) intel(0): detected 7932 kB stolen memory. (==) intel(0): video overlay key set to 0x83e (==) intel(0): Intel XvMC decoder disabled (==) intel(0): Will not try to enable page flipping (==) intel(0): Triple buffering disabled (==) intel(0): Using gamma correction (1.0, 1.0, 1.0) (**) intel(0): Display dimensions: (320, 240) mm (**) intel(0): DPI set to (111, 148) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/local/lib/xorg/modules//libfb.so (II) Module fb: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) Loading sub module "exa" (II) LoadModule: "exa" (II) Loading /usr/local/lib/xorg/modules//libexa.so (II) Module exa: vendor="X.Org Foundation" compiled for 1.5.3, module version = 2.4.0 ABI class: X.Org Video Driver, version 4.1 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Module "ramdac" already built-in (II) intel(0): Comparing regs from server start up to After PreInit (II) do I need RAC? No, I don't. (II) resource ranges after preInit: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD) [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD) [6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD) [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [8] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [9] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU) [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU) (II) intel(0): Kernel reported 241152 total, 0 used (II) intel(0): I830CheckAvailableMemory: 964608 kB available drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 11, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 11, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 11, (OK) drmOpenByBusid: drmOpenMinor returns 11 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (II) [drm] DRM interface version 1.2 (II) [drm] DRM open master succeeded. (II) intel(0): [drm] Using the DRM lock SAREA also for drawables. (II) intel(0): [drm] framebuffer mapped by ddx driver (II) intel(0): [drm] added 1 reserved context for kernel (II) intel(0): X context handle = 0x1 (II) intel(0): [drm] installed DRM signal handler (**) intel(0): Framebuffer compression disabled (**) intel(0): Tiling enabled (==) intel(0): VideoRam: 262144 KB (II) intel(0): Attempting memory allocation with tiled buffers. (II) intel(0): Tiled allocation successful. (II) intel(0): [drm] Registers = 0xcfd80000 (II) intel(0): [drm] ring buffer = 0xd0000000 (II) intel(0): [drm] mapped front buffer at 0xd0800000, handle = 0xd0800000 (II) intel(0): [drm] mapped back buffer at 0xd2800000, handle = 0xd2800000 (II) intel(0): [drm] mapped depth buffer at 0xd3000000, handle = 0xd3000000 (II) intel(0): [drm] mapped classic textures at 0xd3800000, handle = 0xd3800000 (II) intel(0): [drm] Initialized kernel agp heap manager, 33554432 (II) intel(0): [dri] visual configs initialized (II) intel(0): Page Flipping disabled (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear (II) EXA(0): Offscreen pixmap area of 17203200 bytes (II) EXA(0): Driver registered support for the following operations: (II) Solid (II) Copy (II) Composite (RENDER acceleration) (==) intel(0): Backing store disabled (==) intel(0): Silken mouse enabled (II) intel(0): Initializing HW Cursor (II) intel(0): [DRI] installation complete (II) intel(0): xf86BindGARTMemory: bind key 11 at 0x00800000 (pgoffset 2048) (II) intel(0): xf86BindGARTMemory: bind key 12 at 0x01000000 (pgoffset 4096) (II) intel(0): xf86BindGARTMemory: bind key 13 at 0x02800000 (pgoffset 10240) (II) intel(0): xf86BindGARTMemory: bind key 14 at 0x03000000 (pgoffset 12288) (II) intel(0): xf86BindGARTMemory: bind key 15 at 0x03800000 (pgoffset 14336) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB, 0x000000003f820000 physical ) (II) intel(0): 0x0002a000-0x00031fff: logical 3D context (32 kB) (II) intel(0): 0x00032000-0x00131fff: fake bufmgr (1024 kB) (II) intel(0): 0x00132000-0x00132fff: overlay registers (4 kB, 0x000000003f932000 physical ) (II) intel(0): 0x007bf000: end of stolen memory (II) intel(0): 0x00800000-0x00ffffff: front buffer (5600 kB) X tiled (II) intel(0): 0x01000000-0x02067fff: exa offscreen (16800 kB) (II) intel(0): 0x02800000-0x02ffffff: back buffer (5632 kB) X tiled (II) intel(0): 0x03000000-0x037fffff: depth buffer (5632 kB) X tiled (II) intel(0): 0x03800000-0x057fffff: classic textures (32768 kB) (II) intel(0): 0x10000000: end of aperture (WW) intel(0): ESR is 0x00000001, instruction error (WW) intel(0): Existing errors found in hardware state. (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): [drm] dma control initialized, using IRQ 255 (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. (II) intel(0): DPMS enabled (II) intel(0): Set up textured video (II) intel(0): Set up overlay video (II) intel(0): direct rendering: Enabled (--) RandR disabled (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFIXES (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) Initializing built-in extension COMPOSITE (II) Initializing built-in extension DAMAGE (II) Initializing built-in extension XEVIE drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 12, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 12, (OK) drmOpenByBusid: drmOpenMinor returns 12 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (II) AIGLX: enabled GLX_MESA_copy_sub_buffer (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control (II) AIGLX: enabled GLX_texture_from_pixmap with driver support (II) AIGLX: Loaded and initialized /usr/local/lib/dri/i915_dri.so (II) GLX: Initialized DRI GL provider for screen 0 (II) intel(0): Setting screen physical size to 306 x 230 (**) Option "Protocol" "AUTO" (**) Mouse1: Device: "/dev/sysmouse" (**) Mouse1: Protocol: "AUTO" (**) Option "CorePointer" (**) Mouse1: always reports core events (**) Option "Device" "/dev/sysmouse" (**) Option "Buttons" "10" (**) Option "Emulate3Buttons" "no" (**) Option "ZAxisMapping" "4 5" (**) Mouse1: ZAxisMapping: buttons 4 and 5 (**) Option "ButtonMapping" "1 2 3 6 7 8 9 10 4 5" (**) Mouse1: Buttons: 10 (**) Mouse1: Sensitivity: 1 (**) Option "CoreKeyboard" (**) Keyboard1: always reports core events (**) Option "Protocol" "standard" (**) Keyboard1: Protocol: standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xorg" (**) Keyboard1: XkbRules: "xorg" (**) Option "XkbModel" "pc105" (**) Keyboard1: XkbModel: "pc105" (**) Option "XkbLayout" "us" (**) Keyboard1: XkbLayout: "us" (**) Option "CustomKeycodes" "off" (**) Keyboard1: CustomKeycodes disabled (II) evaluating device (Mouse1) (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (II) evaluating device (Keyboard1) (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD) (II) Mouse1: SetupAuto: hw.iftype is 4, hw.model is 0 (II) Mouse1: SetupAuto: protocol is SysMouse (II) config/hal: Adding input device USB-PS/2 Optical Mouse (EE) config/hal: NewInputDeviceRequest failed (II) config/hal: Adding input device Natural? Ergonomic Keyboard 4000 (EE) config/hal: NewInputDeviceRequest failed (II) config/hal: Adding input device AT Keyboard (EE) config/hal: NewInputDeviceRequest failed (II) intel(0): I2C bus "CRTDDC_A" initialized. (II) intel(0): I2C bus "CRTDDC_A" removed. (II) intel(0): I2C bus "CRTDDC_A" initialized. (II) intel(0): I2C device "CRTDDC_A:ddc2" registered at address 0xA0. (II) intel(0): I2C device "CRTDDC_A:ddc2" removed. (II) intel(0): I2C bus "CRTDDC_A" removed. (II) intel(0): EDID vendor "NEC", prod id 17450 (II) intel(0): Using hsync ranges from config file (II) intel(0): Using vrefresh ranges from config file (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1600x1200"x0.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) intel(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (II) intel(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 491 520 -hsync -vsync (37.9 kHz) (II) intel(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz) (II) intel(0): Modeline "640x480"x0.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) intel(0): Modeline "720x400"x0.0 35.50 720 738 846 900 400 421 423 449 -hsync -vsync (39.4 kHz) (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline "1024x768"x0.0 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.1 kHz) (II) intel(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz) (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (II) intel(0): Modeline "1024x768"x0.0 44.90 1024 1032 1208 1264 768 768 776 817 interlace +hsync +vsync (35.5 kHz) (II) intel(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (II) intel(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz) (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (II) intel(0): Modeline "640x480"x85.0 35.71 640 672 736 832 480 481 484 505 -hsync +vsync (42.9 kHz) (II) intel(0): Modeline "800x600"x85.0 56.55 800 840 928 1056 600 601 604 630 -hsync +vsync (53.5 kHz) (II) intel(0): Modeline "1024x768"x85.0 94.39 1024 1088 1200 1376 768 769 772 807 -hsync +vsync (68.6 kHz) (II) intel(0): Modeline "1152x864"x85.0 119.65 1152 1224 1352 1552 864 865 868 907 -hsync +vsync (77.1 kHz) (II) intel(0): Modeline "1280x960"x60.0 102.10 1280 1360 1496 1712 960 961 964 994 -hsync +vsync (59.6 kHz) (II) intel(0): Modeline "1280x1024"x75.0 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -hsync +vsync (80.2 kHz) (II) intel(0): Modeline "1600x1200"x65.0 176.23 1600 1712 1888 2176 1200 1201 1204 1246 -hsync +vsync (81.0 kHz) (II) intel(0): EDID vendor "NEC", prod id 17450 (II) AIGLX: Suspending AIGLX clients for VT switch (II) intel(0): xf86UnbindGARTMemory: unbind key 11 (II) intel(0): xf86UnbindGARTMemory: unbind key 12 (II) intel(0): xf86UnbindGARTMemory: unbind key 13 (II) intel(0): xf86UnbindGARTMemory: unbind key 14 (II) intel(0): xf86UnbindGARTMemory: unbind key 15 (II) AIGLX: Resuming AIGLX clients after VT switch (II) intel(0): xf86BindGARTMemory: bind key 11 at 0x00800000 (pgoffset 2048) (II) intel(0): xf86BindGARTMemory: bind key 12 at 0x01000000 (pgoffset 4096) (II) intel(0): xf86BindGARTMemory: bind key 13 at 0x02800000 (pgoffset 10240) (II) intel(0): xf86BindGARTMemory: bind key 14 at 0x03000000 (pgoffset 12288) (II) intel(0): xf86BindGARTMemory: bind key 15 at 0x03800000 (pgoffset 14336) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB, 0x000000003f820000 physical ) (II) intel(0): 0x0002a000-0x00031fff: logical 3D context (32 kB) (II) intel(0): 0x00032000-0x00131fff: fake bufmgr (1024 kB) (II) intel(0): 0x00132000-0x00132fff: overlay registers (4 kB, 0x000000003f932000 physical ) (II) intel(0): 0x00133000-0x0015bfff: xv buffer (164 kB) (II) intel(0): 0x007bf000: end of stolen memory (II) intel(0): 0x00800000-0x00ffffff: front buffer (5600 kB) X tiled (II) intel(0): 0x01000000-0x02067fff: exa offscreen (16800 kB) (II) intel(0): 0x02800000-0x02ffffff: back buffer (5632 kB) X tiled (II) intel(0): 0x03000000-0x037fffff: depth buffer (5632 kB) X tiled (II) intel(0): 0x03800000-0x057fffff: classic textures (32768 kB) (II) intel(0): 0x10000000: end of aperture (WW) intel(0): ESR is 0x00000001, instruction error (WW) intel(0): Existing errors found in hardware state. (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): [drm] mapped front buffer at 0xd0800000, handle = 0xd0800000 (II) intel(0): [drm] dma control initialized, using IRQ 255 (**) Option "BaudRate" "1200" (**) Option "StopBits" "2" (**) Option "DataBits" "8" (**) Option "Parity" "None" (**) Option "Vmin" "1" (**) Option "Vtime" "0" (**) Option "FlowControl" "None" (II) AIGLX: Suspending AIGLX clients for VT switch (II) intel(0): xf86UnbindGARTMemory: unbind key 11 (II) intel(0): xf86UnbindGARTMemory: unbind key 12 (II) intel(0): xf86UnbindGARTMemory: unbind key 13 (II) intel(0): xf86UnbindGARTMemory: unbind key 14 (II) intel(0): xf86UnbindGARTMemory: unbind key 15 (II) AIGLX: Resuming AIGLX clients after VT switch (II) intel(0): xf86BindGARTMemory: bind key 11 at 0x00800000 (pgoffset 2048) (II) intel(0): xf86BindGARTMemory: bind key 12 at 0x01000000 (pgoffset 4096) (II) intel(0): xf86BindGARTMemory: bind key 13 at 0x02800000 (pgoffset 10240) (II) intel(0): xf86BindGARTMemory: bind key 14 at 0x03000000 (pgoffset 12288) (II) intel(0): xf86BindGARTMemory: bind key 15 at 0x03800000 (pgoffset 14336) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB, 0x000000003f820000 physical ) (II) intel(0): 0x0002a000-0x00031fff: logical 3D context (32 kB) (II) intel(0): 0x00032000-0x00131fff: fake bufmgr (1024 kB) (II) intel(0): 0x00132000-0x00132fff: overlay registers (4 kB, 0x000000003f932000 physical ) (II) intel(0): 0x00133000-0x0015bfff: xv buffer (164 kB) (II) intel(0): 0x007bf000: end of stolen memory (II) intel(0): 0x00800000-0x00ffffff: front buffer (5600 kB) X tiled (II) intel(0): 0x01000000-0x02067fff: exa offscreen (16800 kB) (II) intel(0): 0x02800000-0x02ffffff: back buffer (5632 kB) X tiled (II) intel(0): 0x03000000-0x037fffff: depth buffer (5632 kB) X tiled (II) intel(0): 0x03800000-0x057fffff: classic textures (32768 kB) (II) intel(0): 0x10000000: end of aperture (WW) intel(0): ESR is 0x00000001, instruction error (WW) intel(0): Existing errors found in hardware state. (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): [drm] dma control initialized, using IRQ 255 (II) AIGLX: Suspending AIGLX clients for VT switch (II) intel(0): xf86UnbindGARTMemory: unbind key 11 (II) intel(0): xf86UnbindGARTMemory: unbind key 12 (II) intel(0): xf86UnbindGARTMemory: unbind key 13 (II) intel(0): xf86UnbindGARTMemory: unbind key 14 (II) intel(0): xf86UnbindGARTMemory: unbind key 15 (II) AIGLX: Resuming AIGLX clients after VT switch (II) intel(0): xf86BindGARTMemory: bind key 11 at 0x00800000 (pgoffset 2048) (II) intel(0): xf86BindGARTMemory: bind key 12 at 0x01000000 (pgoffset 4096) (II) intel(0): xf86BindGARTMemory: bind key 13 at 0x02800000 (pgoffset 10240) (II) intel(0): xf86BindGARTMemory: bind key 14 at 0x03000000 (pgoffset 12288) (II) intel(0): xf86BindGARTMemory: bind key 15 at 0x03800000 (pgoffset 14336) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB, 0x000000003f820000 physical ) (II) intel(0): 0x0002a000-0x00031fff: logical 3D context (32 kB) (II) intel(0): 0x00032000-0x00131fff: fake bufmgr (1024 kB) (II) intel(0): 0x00132000-0x00132fff: overlay registers (4 kB, 0x000000003f932000 physical ) (II) intel(0): 0x00133000-0x0015bfff: xv buffer (164 kB) (II) intel(0): 0x007bf000: end of stolen memory (II) intel(0): 0x00800000-0x00ffffff: front buffer (5600 kB) X tiled (II) intel(0): 0x01000000-0x02067fff: exa offscreen (16800 kB) (II) intel(0): 0x02800000-0x02ffffff: back buffer (5632 kB) X tiled (II) intel(0): 0x03000000-0x037fffff: depth buffer (5632 kB) X tiled (II) intel(0): 0x03800000-0x057fffff: classic textures (32768 kB) (II) intel(0): 0x10000000: end of aperture (WW) intel(0): ESR is 0x00000001, instruction error (WW) intel(0): Existing errors found in hardware state. (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): [drm] dma control initialized, using IRQ 255 (II) AIGLX: Suspending AIGLX clients for VT switch (II) intel(0): xf86UnbindGARTMemory: unbind key 11 (II) intel(0): xf86UnbindGARTMemory: unbind key 12 (II) intel(0): xf86UnbindGARTMemory: unbind key 13 (II) intel(0): xf86UnbindGARTMemory: unbind key 14 (II) intel(0): xf86UnbindGARTMemory: unbind key 15 (II) AIGLX: Resuming AIGLX clients after VT switch (II) intel(0): xf86BindGARTMemory: bind key 11 at 0x00800000 (pgoffset 2048) (II) intel(0): xf86BindGARTMemory: bind key 12 at 0x01000000 (pgoffset 4096) (II) intel(0): xf86BindGARTMemory: bind key 13 at 0x02800000 (pgoffset 10240) (II) intel(0): xf86BindGARTMemory: bind key 14 at 0x03000000 (pgoffset 12288) (II) intel(0): xf86BindGARTMemory: bind key 15 at 0x03800000 (pgoffset 14336) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB, 0x000000003f820000 physical ) (II) intel(0): 0x0002a000-0x00031fff: logical 3D context (32 kB) (II) intel(0): 0x00032000-0x00131fff: fake bufmgr (1024 kB) (II) intel(0): 0x00132000-0x00132fff: overlay registers (4 kB, 0x000000003f932000 physical ) (II) intel(0): 0x00133000-0x0015bfff: xv buffer (164 kB) (II) intel(0): 0x007bf000: end of stolen memory (II) intel(0): 0x00800000-0x00ffffff: front buffer (5600 kB) X tiled (II) intel(0): 0x01000000-0x02067fff: exa offscreen (16800 kB) (II) intel(0): 0x02800000-0x02ffffff: back buffer (5632 kB) X tiled (II) intel(0): 0x03000000-0x037fffff: depth buffer (5632 kB) X tiled (II) intel(0): 0x03800000-0x057fffff: classic textures (32768 kB) (II) intel(0): 0x10000000: end of aperture (WW) intel(0): ESR is 0x00000001, instruction error (WW) intel(0): Existing errors found in hardware state. (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): [drm] dma control initialized, using IRQ 255 (II) AIGLX: Suspending AIGLX clients for VT switch (II) intel(0): xf86UnbindGARTMemory: unbind key 11 (II) intel(0): xf86UnbindGARTMemory: unbind key 12 (II) intel(0): xf86UnbindGARTMemory: unbind key 13 (II) intel(0): xf86UnbindGARTMemory: unbind key 14 (II) intel(0): xf86UnbindGARTMemory: unbind key 15 (II) AIGLX: Resuming AIGLX clients after VT switch (II) intel(0): xf86BindGARTMemory: bind key 11 at 0x00800000 (pgoffset 2048) (II) intel(0): xf86BindGARTMemory: bind key 12 at 0x01000000 (pgoffset 4096) (II) intel(0): xf86BindGARTMemory: bind key 13 at 0x02800000 (pgoffset 10240) (II) intel(0): xf86BindGARTMemory: bind key 14 at 0x03000000 (pgoffset 12288) (II) intel(0): xf86BindGARTMemory: bind key 15 at 0x03800000 (pgoffset 14336) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB, 0x000000003f820000 physical ) (II) intel(0): 0x0002a000-0x00031fff: logical 3D context (32 kB) (II) intel(0): 0x00032000-0x00131fff: fake bufmgr (1024 kB) (II) intel(0): 0x00132000-0x00132fff: overlay registers (4 kB, 0x000000003f932000 physical ) (II) intel(0): 0x00133000-0x0015bfff: xv buffer (164 kB) (II) intel(0): 0x007bf000: end of stolen memory (II) intel(0): 0x00800000-0x00ffffff: front buffer (5600 kB) X tiled (II) intel(0): 0x01000000-0x02067fff: exa offscreen (16800 kB) (II) intel(0): 0x02800000-0x02ffffff: back buffer (5632 kB) X tiled (II) intel(0): 0x03000000-0x037fffff: depth buffer (5632 kB) X tiled (II) intel(0): 0x03800000-0x057fffff: classic textures (32768 kB) (II) intel(0): 0x10000000: end of aperture (WW) intel(0): ESR is 0x00000001, instruction error (WW) intel(0): Existing errors found in hardware state. (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): [drm] dma control initialized, using IRQ 255 (II) AIGLX: Suspending AIGLX clients for VT switch (II) intel(0): xf86UnbindGARTMemory: unbind key 11 (II) intel(0): xf86UnbindGARTMemory: unbind key 12 (II) intel(0): xf86UnbindGARTMemory: unbind key 13 (II) intel(0): xf86UnbindGARTMemory: unbind key 14 (II) intel(0): xf86UnbindGARTMemory: unbind key 15 (II) AIGLX: Resuming AIGLX clients after VT switch (II) intel(0): xf86BindGARTMemory: bind key 11 at 0x00800000 (pgoffset 2048) (II) intel(0): xf86BindGARTMemory: bind key 12 at 0x01000000 (pgoffset 4096) (II) intel(0): xf86BindGARTMemory: bind key 13 at 0x02800000 (pgoffset 10240) (II) intel(0): xf86BindGARTMemory: bind key 14 at 0x03000000 (pgoffset 12288) (II) intel(0): xf86BindGARTMemory: bind key 15 at 0x03800000 (pgoffset 14336) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB, 0x000000003f820000 physical ) (II) intel(0): 0x0002a000-0x00031fff: logical 3D context (32 kB) (II) intel(0): 0x00032000-0x00131fff: fake bufmgr (1024 kB) (II) intel(0): 0x00132000-0x00132fff: overlay registers (4 kB, 0x000000003f932000 physical ) (II) intel(0): 0x00133000-0x0015bfff: xv buffer (164 kB) (II) intel(0): 0x007bf000: end of stolen memory (II) intel(0): 0x00800000-0x00ffffff: front buffer (5600 kB) X tiled (II) intel(0): 0x01000000-0x02067fff: exa offscreen (16800 kB) (II) intel(0): 0x02800000-0x02ffffff: back buffer (5632 kB) X tiled (II) intel(0): 0x03000000-0x037fffff: depth buffer (5632 kB) X tiled (II) intel(0): 0x03800000-0x057fffff: classic textures (32768 kB) (II) intel(0): 0x10000000: end of aperture (WW) intel(0): ESR is 0x00000001, instruction error (WW) intel(0): Existing errors found in hardware state. (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): [drm] dma control initialized, using IRQ 255 AUDIT: Wed Feb 4 05:03:59 2009: 99951 X: client 25 rejected from IP 64.62.181.2 (II) AIGLX: Suspending AIGLX clients for VT switch (II) intel(0): xf86UnbindGARTMemory: unbind key 11 (II) intel(0): xf86UnbindGARTMemory: unbind key 12 (II) intel(0): xf86UnbindGARTMemory: unbind key 13 (II) intel(0): xf86UnbindGARTMemory: unbind key 14 (II) intel(0): xf86UnbindGARTMemory: unbind key 15 (II) AIGLX: Resuming AIGLX clients after VT switch (II) intel(0): xf86BindGARTMemory: bind key 11 at 0x00800000 (pgoffset 2048) (II) intel(0): xf86BindGARTMemory: bind key 12 at 0x01000000 (pgoffset 4096) (II) intel(0): xf86BindGARTMemory: bind key 13 at 0x02800000 (pgoffset 10240) (II) intel(0): xf86BindGARTMemory: bind key 14 at 0x03000000 (pgoffset 12288) (II) intel(0): xf86BindGARTMemory: bind key 15 at 0x03800000 (pgoffset 14336) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB, 0x000000003f820000 physical ) (II) intel(0): 0x0002a000-0x00031fff: logical 3D context (32 kB) (II) intel(0): 0x00032000-0x00131fff: fake bufmgr (1024 kB) (II) intel(0): 0x00132000-0x00132fff: overlay registers (4 kB, 0x000000003f932000 physical ) (II) intel(0): 0x00133000-0x0015bfff: xv buffer (164 kB) (II) intel(0): 0x007bf000: end of stolen memory (II) intel(0): 0x00800000-0x00ffffff: front buffer (5600 kB) X tiled (II) intel(0): 0x01000000-0x02067fff: exa offscreen (16800 kB) (II) intel(0): 0x02800000-0x02ffffff: back buffer (5632 kB) X tiled (II) intel(0): 0x03000000-0x037fffff: depth buffer (5632 kB) X tiled (II) intel(0): 0x03800000-0x057fffff: classic textures (32768 kB) (II) intel(0): 0x10000000: end of aperture (WW) intel(0): ESR is 0x00000001, instruction error (WW) intel(0): Existing errors found in hardware state. (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): [drm] dma control initialized, using IRQ 255 [mi] EQ overflowing. The server is probably stuck in an infinite loop. [mi] mieqEnequeue: out-of-order valuator event; dropping. [mi] EQ overflowing. The server is probably stuck in an infinite loop. [mi] mieqEnequeue: out-of-order valuator event; dropping. [mi] EQ overflowing. The server is probably stuck in an infinite loop. [mi] mieqEnequeue: out-of-order valuator event; dropping. [mi] EQ overflowing. The server is probably stuck in an infinite loop. [mi] mieqEnequeue: out-of-order valuator event; dropping. -- Over the years I've come to regard you as people I've met. From frank at shute.org.uk Fri Feb 6 23:55:33 2009 From: frank at shute.org.uk (Frank Shute) Date: Fri Feb 6 23:55:41 2009 Subject: broken ports In-Reply-To: <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> Message-ID: <20090207075521.GA93084@melon.esperance-linux.co.uk> On Thu, Feb 05, 2009 at 10:18:52AM +0000, David Collins wrote: > > Sorry, forgot about that. Looking at it again I am not sure this is a > ports thing, and more of an issue with the compiling tool chain. > > > viper:/usr/ports/net-p2p/rtorrent$ sudo make > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for rtorrent-0.8.2_1 > => rtorrent-0.8.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > => Attempting to fetch from http://libtorrent.rakshasa.no/downloads/. > rtorrent-0.8.2.tar.gz 100% of 494 kB 48 kBps 00m00s > ===> Extracting for rtorrent-0.8.2_1 > => MD5 Checksum OK for rtorrent-0.8.2.tar.gz. > => SHA256 Checksum OK for rtorrent-0.8.2.tar.gz. > ===> Patching for rtorrent-0.8.2_1 > ===> Applying FreeBSD patches for rtorrent-0.8.2_1 > ===> rtorrent-0.8.2_1 depends on package: libtorrent=0.12.2 - found > ===> rtorrent-0.8.2_1 depends on shared library: curl.5 - found > ===> Configuring for rtorrent-0.8.2_1 > checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... ./install-sh -c -d > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for C++ compiler default output file name... > configure: error: C++ compiler cannot create executables > See `config.log' for more details. > ===> Script "configure" failed unexpectedly. > Please report the problem to flz@FreeBSD.org [maintainer] and attach the > "/usr/ports/net-p2p/rtorrent/work/rtorrent-0.8.2/config.log" including the > output of the failure of your make command. Also, it might be a good idea to > provide an overview of all packages installed on your system (e.g. an `ls > /var/db/pkg`). > *** Error code 1 > > Stop in /usr/ports/net-p2p/rtorrent. > *** Error code 1 > > Stop in /usr/ports/net-p2p/rtorrent. > > > > Also this might help > > viper:/usr/ports/net-p2p/rtorrent$ uname -a > FreeBSD viper.homeunix.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb > 24 19:59:52 UTC 2008 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > > > On 05/02/2009, Dominic Fandrey wrote: > > David Collins wrote: > >> Hi, > >> > >> I am not sure if this is better here or in the ports list, but I > >> thought that since it is something that I have done because I don't > >> know what I am doing here would be better > >> > >> A while ago I installed ports and everything was working fine. > >> Recently I thought one of my ports was causing my machine to crash so > >> I uninstalled it, but later found out that the only problem was a poor > >> wireless network and low diskspace. Trying to reinstall the port > >> failed at the configure stage. I tried a few others and they also > >> failed at the same stage. This leads me to believe that it is > >> something I have done. > >> > >> So here is the make install error: > >> ===> Script "configure" failed unexpectedly.Please report the problem > >> to kuriyama@FreeBSD.org [maintainer] and attach > >> the"/usr/ports/textproc/expat2/work/expat-2.0.1/config.log" including > >> the outputof the failure of your make command. Also, it might be a > >> good idea to providean overview of all packages installed on your > >> system (e.g. an `ls/var/db/pkg`). > >> > >> I found a post saying to try to compile a test program, so I tried that: > >> viper:~$ gcc -o hello hello.c > >> /usr/bin/ld: cannot find -lgcc_s > >> > >> So it appears that I have completely screwed the pooch! Is there > >> anything I can do to fix this? > >> > >> Thanks > >> David Collins How did you uninstall that port after which everything fails at the configure stage? Which port was it? Check a couple of things: $ which c++ and: $ locate gcc_s | grep lib Have you installed/uninstalled a c/c++ compiler from ports? Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From omerfsen at gmail.com Sat Feb 7 00:00:40 2009 From: omerfsen at gmail.com (Omer Faruk Sen) Date: Sat Feb 7 00:00:58 2009 Subject: FreeBSD 6.3/7.1 and Linux disk performance test Message-ID: <75a268720902070000r7dbe758aq60454092fcab0198@mail.gmail.com> Hi, I have installed a new server to test performance results. BIOS and RAID BIOS is the latest in this server ( Raid controller is a Intel SRCSASBB8I ) # dmesg |grep -i mfi mfi0: port 0x2000-0x20ff mem 0xb8b00000-0xb8b3ffff,0xb8b40000-0xb8b7ffff irq 16 at device 0.0 on pci10 mfi0: Megaraid SAS driver Ver 3.00 mfi0: 1870 (287314652s/0x0020/info) - Shutdown command received from host mfi0: 1871 (boot + 3s/0x0020/info) - Firmware initialization started (PCI ID 0060/1000/1013/8086) mfi0: 1872 (boot + 3s/0x0020/info) - Firmware version 1.20.72-0562 mfi0: 1873 (boot + 3s/0x0020/info) - Board Revision mfi0: 1874 (boot + 15s/0x0002/info) - Inserted: PD 08(e0xff/s8) mfi0: 1875 (boot + 15s/0x0002/info) - Inserted: PD 08(e0xff/s8) Info: enclPd=ffff, scsiType=0, portMap=00, sasAddr=5000c5000bcb90b1,0000000000000000 mfi0: 1876 (boot + 15s/0x0002/info) - Inserted: PD 09(e0xff/s9) mfi0: 1877 (boot + 15s/0x0002/info) - Inserted: PD 09(e0xff/s9) Info: enclPd=ffff, scsiType=0, portMap=01, sasAddr=5000c5000bcb962d,0000000000000000 mfi0: 1878 (boot + 15s/0x0002/info) - Inserted: PD 0a(e0xff/s10) mfi0: 1879 (boot + 15s/0x0002/info) - Inserted: PD 0a(e0xff/s10) Info: enclPd=ffff, scsiType=0, portMap=02, sasAddr=5000c5000bcb8f8d,0000000000000000 mfi0: [ITHREAD] mfi0: 1880 (287314711s/0x0020/info) - Time established as 02/07/09 9:38:31; (52 seconds since power on) mfid0: on mfi0 mfid0: 556928MB (1140588544 sectors) RAID volume '' I have installed RHEL 5.3 x64 on this server and here is simple dd performance test: Last login: Fri Feb 6 12:15:32 2009 from 10.0.0.51 [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes (819 MB) copied, 1.8473 seconds, 443 MB/s [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes (819 MB) copied, 2.05412 seconds, 399 MB/s [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes (819 MB) copied, 1.94096 seconds, 422 MB/s [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes (819 MB) copied, 2.1092 seconds, 388 MB/s [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes (819 MB) copied, 1.84414 seconds, 444 MB/s [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes (819 MB) copied, 2.09829 seconds, 390 MB/s And after that I have tested with FreeBSD 6.3 and 7.1: 6.3: # dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes transferred in 3.534685 secs (231760388 bytes/sec) # cd /var/tmp/ # dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes transferred in 3.051668 secs (268443342 bytes/sec) # cd / # cd /var/tmp/ # dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes transferred in 3.001266 secs (272951481 bytes/sec) # cd /home/ cd: can't cd to /home/ # cd /usr/ # dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes transferred in 3.678156 secs (222720290 bytes/sec) # cd /boot # dd if=/dev/zero of=bigfile bs=8192 count=100000 cd /usr/100000+0 records in 100000+0 records out 819200000 bytes transferred in 2.985471 secs (274395563 bytes/sec) # local # pwd /usr/local # dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes transferred in 3.501986 secs (233924406 bytes/sec) 7.1: Filesystem Size Used Avail Capacity Mounted on /dev/mfid0s1a 9.7G 2.6G 6.3G 29% / devfs 1.0K 1.0K 0B 100% /dev /dev/mfid0s1d 478G 4.0K 440G 0% /opt # dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes transferred in 3.441476 secs (238037393 bytes/sec) # cd / # dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes transferred in 3.132512 secs (261515371 bytes/sec) # cd /usr/local/ # dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes transferred in 3.296514 secs (248504951 bytes/sec) # cd /usr # dd if=/dev/zero of=bigfile bs=8192 count=100000 100000+0 records in 100000+0 records out 819200000 bytes transferred in 3.069655 secs (266870386 bytes/sec) as you can see there is a big difference in just simple dd test. Is there additional steps that I can follow to increase performance? By the way If I use write-thru cache on this raid card FreeBSD 6.3 and FreeBSD 7.1 only gives 13MB/s~ which is very very bad. Linux gives a slight decrease on dd test with write-thru cache but freebsd goes from 230-270 MB/s to only 13 MB/s Regards. From wojtek at wojtek.tensor.gdynia.pl Sat Feb 7 01:09:14 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Feb 7 01:09:29 2009 Subject: insert new line in files In-Reply-To: <498CBEBE.7080702@gmail.com> References: <498CBEBE.7080702@gmail.com> Message-ID: <20090207100621.X49625@wojtek.tensor.gdynia.pl> > I want to insert a new line of text at a certain position in certain files > recursively under a directory. More specifically, I want text like this: > > include('/usr/home/www/imp-sites/default_inventory.php'); write a script: #!/usr/local/bin/bash (a=0 while [ $a -lt 36 ];do read line echo "$line" a=$[a+1] done echo "include('/usr/home/www/imp-sites/default_inventory.php');" while read line;do echo "$line" done) <$1 >/tmp/$$ mv -f /tmp/$$ $1 run it over each file From perryh at pluto.rain.com Sat Feb 7 01:23:24 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Feb 7 01:23:30 2009 Subject: disk recovery problem II In-Reply-To: <18829.10867.512556.880218@jerusalem.litteratus.org> References: <18829.10867.512556.880218@jerusalem.litteratus.org> Message-ID: <498d4fd5.8XSHEMLWeqcIx3zw%perryh@pluto.rain.com> > huff@>> newfs /dev/da3a > /dev/da3a: 78167.2MB (160086512 sectors) block size 16384, fragment size 2048 > using 426 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, ... > 159949760 > cg 0: bad magic number Bad drive, perhaps? What do sysutils/smartmontools say? From antarex at land.ru Sat Feb 7 02:13:28 2009 From: antarex at land.ru (Dmitry) Date: Sat Feb 7 02:13:35 2009 Subject: DNS Auto in KPPP in FreeBSD 7.1 Message-ID: <12340000674487.1359452590.antarex@land.ru> Hi to All! Sorry for my bad English, i am beginning FreeBSD user from Russia.. From jmc-freebsd2 at milibyte.co.uk Sat Feb 7 02:26:30 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Sat Feb 7 02:26:37 2009 Subject: insert new line in files In-Reply-To: <498CCBA9.6010207@gmail.com> References: <498CBEBE.7080702@gmail.com> <20090206232129.GB75180@dan.emsphone.com> <498CCBA9.6010207@gmail.com> Message-ID: <200902070957.13650.jmc-freebsd2@milibyte.co.uk> On Friday 06 February 2009, Adam Vande More wrote: > Progress is being made as it works in the test now with the \\ > however I'm running into more things I don't understand in regards to > what I need to escape in my input string. Whether to use \ or \\ will depend on your shell. You can avoid dependence on the shell by using a sed script, e.g. curlew:/tmp% cat test.txt 1 2 3 4 5 6 curlew:/tmp% cat test.sed #! /usr/bin/sed -f 5i\ test curlew:/tmp% ./test.sed test.txt 1 2 3 4 test 5 6 -- Mike Clarke From omerfsen at gmail.com Sat Feb 7 03:56:29 2009 From: omerfsen at gmail.com (Omer Faruk Sen) Date: Sat Feb 7 03:56:37 2009 Subject: 10gb network interface suggestions Message-ID: <75a268720902070356v51fa601cy98889f272d724555@mail.gmail.com> Hi, I want to ask if anyone here in this list has any experience with 10gbE on FreeBSD? My questions: 1) Which 10gbE to use? I see that intel has a good support for 10gbE on FreeBSD with its own driver for FreeBSD: http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=2992&DwnldID=14688&lang=eng But also I am open to other brands. Especially If anyone has experience on that this matter would be very very helpful. I have seen that Sun has quad 10gbE adapters: http://www.sun.com/products/networking/ethernet/10gigethernet/index.xml I am not sure if FreeBSD supports that? 2) Do you suggest fiber or copper? 3) Which bus option to use ? As far as I see intel has both (Pci Express and PCI-X not sure if their PCI Express cards are PCI Express 2.0 for pcie2 http://en.wikipedia.org/wiki/PCI_Express shows significant performance boost) http://www.intel.com/network/connectivity/products/server_adapters.htm?iid=nc+server#s1=10%20Gigabit%20Ethernet&s2=all&s3=all 4) Especially since I am new to 10gbE I also request if someone can suggest me 10gbE switch. There are lots switches but not sure. One of my colleague told me that enterasys is good ad 10gbE but not sure. Regards. From nicolas at nicoelro.net Sat Feb 7 04:00:27 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sat Feb 7 04:00:35 2009 Subject: edit users quota in a script Message-ID: <20090207130025.f2169029.nicolas@nicoelro.net> Hello. I use a script to create automatically my users (with pw, and mkdir, etc...). I use quota, and I have to excute 'edquota -u user', and enter quota informations. So, the process can not be automaticated. And cannot be part of my script. I don't find informations in edquota(8) manpages about editing user quota without open a file. Is an other solution exists? I'm looking for a solution in command line (for my script). Regards, -- -Nicolas. From nicolas at nicoelro.net Sat Feb 7 04:02:12 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sat Feb 7 04:02:20 2009 Subject: differences of disk usage between du and quota binaries In-Reply-To: <20090206201256.14a97e6f@gumby.homeunix.com> References: <20090206201317.4e0377b7.nicolas@nicoelro.net> <20090206201256.14a97e6f@gumby.homeunix.com> Message-ID: <20090207130208.b360ea80.nicolas@nicoelro.net> On Fri, 6 Feb 2009 20:12:56 +0000 RW wrote: > On Fri, 6 Feb 2009 20:13:17 +0100 > Nicolas Letellier wrote: > > > Hello. > > > > I use FreeBSD 6.3. I set quota to my fs. > > But, when I print disk usage with du -sh, I have: > > > >.. > > > > Why this difference? (633M against 648264) > > > > Try dividing 648264 by 1024. Ok. Thanks a lot for your response. Regards. -- -Nicolas. From sonic2000gr at gmail.com Sat Feb 7 04:09:47 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Sat Feb 7 04:09:55 2009 Subject: edit users quota in a script In-Reply-To: <20090207130025.f2169029.nicolas@nicoelro.net> References: <20090207130025.f2169029.nicolas@nicoelro.net> Message-ID: <498D79E9.8050800@gmail.com> Nicolas Letellier wrote: > Hello. > > I use a script to create automatically my users (with pw, and mkdir, etc...). I use quota, and I have to excute 'edquota -u user', and enter quota informations. So, the process can not be automaticated. And cannot be part of my script. > > I don't find informations in edquota(8) manpages about editing user quota without open a file. > > Is an other solution exists? I'm looking for a solution in command line (for my script). > > Regards, > > The edquota(8) command accepts a '-e' option that allows it to set quotas non-interactively. Try man edquota again. From nicolas at nicoelro.net Sat Feb 7 04:19:50 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sat Feb 7 04:19:59 2009 Subject: edit users quota in a script In-Reply-To: <498D79E9.8050800@gmail.com> References: <20090207130025.f2169029.nicolas@nicoelro.net> <498D79E9.8050800@gmail.com> Message-ID: <20090207131949.382844fd.nicolas@nicoelro.net> On Sat, 07 Feb 2009 14:09:13 +0200 Manolis Kiagias wrote: > Nicolas Letellier wrote: > > Hello. > > > > I use a script to create automatically my users (with pw, and mkdir, etc...). I use quota, and I have to excute 'edquota -u user', and enter quota informations. So, the process can not be automaticated. And cannot be part of my script. > > > > I don't find informations in edquota(8) manpages about editing user quota without open a file. > > > > Is an other solution exists? I'm looking for a solution in command line (for my script). > > > > Regards, > > > > > The edquota(8) command accepts a '-e' option that allows it to set > quotas non-interactively. Try man edquota again. Haaa... yes, I forgot -e option. Thanks a lot! Regards, -- -Nicolas. From rwatson at FreeBSD.org Sat Feb 7 04:26:17 2009 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Feb 7 04:26:24 2009 Subject: FreeBSD 6.3/7.1 and Linux disk performance test In-Reply-To: <75a268720902070000r7dbe758aq60454092fcab0198@mail.gmail.com> References: <75a268720902070000r7dbe758aq60454092fcab0198@mail.gmail.com> Message-ID: On Sat, 7 Feb 2009, Omer Faruk Sen wrote: > I have installed a new server to test performance results. BIOS and RAID > BIOS is the latest in this server ( Raid controller is a Intel SRCSASBB8I ) Hi Omer-- Comparing I/O and file system performance is a bit fraught with peril, especially given that the performance of disks varies a great deal based on where on the disk you're writing, etc. Ellard and Seltzer have a nice NFS benchmarking paper that includes a "Benchmarking traps" section of note in this regard: http://www.eecs.harvard.edu/~margo/papers/freenix03/ The source of the performance difference you're seeing could come from a number of places: - I/O to different parts of the disk due to partition layouts can perform quite differently -- try out diskinfo -t to get an idea of the kind of variance you can see. For example, I get this on my local 3ware array: Transfer rates: outside: 102400 kbytes in 4.056540 sec = 25243 kbytes/sec middle: 102400 kbytes in 2.531003 sec = 40458 kbytes/sec inside: 102400 kbytes in 3.947725 sec = 25939 kbytes/sec That's a massive performance difference and presumably entirely a result of disk layout. The best way to address this is to make sure you're using the same part of the disk for all tests -- so if you're installing different OS's on different partitions, use a single shared partition for the test. - File system can behave quite differently, especially if they vary in size and layout strategies. Do the dd(1) directly to a disk partition, making sure to use the right device on Linux (I believe you want the character device in order to bypass the buffer cache and compare apples to apples). So if you go ahead and do dd(1) directly to the same partition using unbuffered I/O and no file system, it should become more obvious as to whether we're looking at performance loss due to a device driver difference, a file system difference, or perhaps just a disk layout difference. Robert N M Watson Computer Laboratory University of Cambridge > > > > # dmesg |grep -i mfi > mfi0: port 0x2000-0x20ff mem > 0xb8b00000-0xb8b3ffff,0xb8b40000-0xb8b7ffff irq 16 at device 0.0 on > pci10 > mfi0: Megaraid SAS driver Ver 3.00 > mfi0: 1870 (287314652s/0x0020/info) - Shutdown command received from host > mfi0: 1871 (boot + 3s/0x0020/info) - Firmware initialization started > (PCI ID 0060/1000/1013/8086) > mfi0: 1872 (boot + 3s/0x0020/info) - Firmware version 1.20.72-0562 > mfi0: 1873 (boot + 3s/0x0020/info) - Board Revision > mfi0: 1874 (boot + 15s/0x0002/info) - Inserted: PD 08(e0xff/s8) > mfi0: 1875 (boot + 15s/0x0002/info) - Inserted: PD 08(e0xff/s8) Info: > enclPd=ffff, scsiType=0, portMap=00, > sasAddr=5000c5000bcb90b1,0000000000000000 > mfi0: 1876 (boot + 15s/0x0002/info) - Inserted: PD 09(e0xff/s9) > mfi0: 1877 (boot + 15s/0x0002/info) - Inserted: PD 09(e0xff/s9) Info: > enclPd=ffff, scsiType=0, portMap=01, > sasAddr=5000c5000bcb962d,0000000000000000 > mfi0: 1878 (boot + 15s/0x0002/info) - Inserted: PD 0a(e0xff/s10) > mfi0: 1879 (boot + 15s/0x0002/info) - Inserted: PD 0a(e0xff/s10) Info: > enclPd=ffff, scsiType=0, portMap=02, > sasAddr=5000c5000bcb8f8d,0000000000000000 > mfi0: [ITHREAD] > mfi0: 1880 (287314711s/0x0020/info) - Time established as 02/07/09 > 9:38:31; (52 seconds since power on) > mfid0: on mfi0 > mfid0: 556928MB (1140588544 sectors) RAID volume '' > > > I have installed RHEL 5.3 x64 on this server and here is simple dd > performance test: > > Last login: Fri Feb 6 12:15:32 2009 from 10.0.0.51 > [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes (819 MB) copied, 1.8473 seconds, 443 MB/s > [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes (819 MB) copied, 2.05412 seconds, 399 MB/s > [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes (819 MB) copied, 1.94096 seconds, 422 MB/s > [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes (819 MB) copied, 2.1092 seconds, 388 MB/s > [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes (819 MB) copied, 1.84414 seconds, 444 MB/s > [root@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes (819 MB) copied, 2.09829 seconds, 390 MB/s > > And after that I have tested with FreeBSD 6.3 and 7.1: > > 6.3: > > # dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes transferred in 3.534685 secs (231760388 bytes/sec) > # cd /var/tmp/ > # dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes transferred in 3.051668 secs (268443342 bytes/sec) > # cd / > # cd /var/tmp/ > # dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes transferred in 3.001266 secs (272951481 bytes/sec) > # cd /home/ > cd: can't cd to /home/ > # cd /usr/ > # dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes transferred in 3.678156 secs (222720290 bytes/sec) > # cd /boot > # dd if=/dev/zero of=bigfile bs=8192 count=100000 > cd /usr/100000+0 records in > 100000+0 records out > 819200000 bytes transferred in 2.985471 secs (274395563 bytes/sec) > # local > # pwd > /usr/local > # dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes transferred in 3.501986 secs (233924406 bytes/sec) > > 7.1: > > Filesystem Size Used Avail Capacity Mounted on > /dev/mfid0s1a 9.7G 2.6G 6.3G 29% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/mfid0s1d 478G 4.0K 440G 0% /opt > # dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes transferred in 3.441476 secs (238037393 bytes/sec) > # cd / > # dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes transferred in 3.132512 secs (261515371 bytes/sec) > # cd /usr/local/ > # dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes transferred in 3.296514 secs (248504951 bytes/sec) > > # cd /usr > # dd if=/dev/zero of=bigfile bs=8192 count=100000 > 100000+0 records in > 100000+0 records out > 819200000 bytes transferred in 3.069655 secs (266870386 bytes/sec) > > as you can see there is a big difference in just simple dd test. Is > there additional steps that I can follow to increase performance? By > the way If I use write-thru cache on this raid card FreeBSD 6.3 and > FreeBSD 7.1 only gives 13MB/s~ which is very very bad. Linux gives a > slight decrease on dd test with write-thru cache but freebsd goes from > 230-270 MB/s to only 13 MB/s > > > Regards. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From will.rutherdale at utoronto.ca Sat Feb 7 04:39:14 2009 From: will.rutherdale at utoronto.ca (William Gordon Rutherdale) Date: Sat Feb 7 04:39:20 2009 Subject: insert new line in files In-Reply-To: <20090207100621.X49625@wojtek.tensor.gdynia.pl> References: <498CBEBE.7080702@gmail.com> <20090207100621.X49625@wojtek.tensor.gdynia.pl> Message-ID: <498D80E6.20702@utoronto.ca> Wojciech Puchar wrote: >> I want to insert a new line of text at a certain position in certain >> files recursively under a directory. More specifically, I want text >> like this: >> >> include('/usr/home/www/imp-sites/default_inventory.php'); > > write a script: > > #!/usr/local/bin/bash > (a=0 > while [ $a -lt 36 ];do > read line > echo "$line" > a=$[a+1] > done > echo "include('/usr/home/www/imp-sites/default_inventory.php');" > while read line;do > echo "$line" > done) <$1 >/tmp/$$ > mv -f /tmp/$$ $1 > > > run it over each file I would avoid this method because it is extremely inefficient, especially with large files. Shell is very slow for loops like that because it is purely interpretive. If you wrote the same thing in Perl it would run way faster just because it does a compile on load. (Besides, you still have to show the 'find' invocation to run it recursively, as requested.) Steve's sed solution is probably not bad as well. -Will From af300wsm at gmail.com Sat Feb 7 05:09:14 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Sat Feb 7 05:09:21 2009 Subject: Snag in installing KDE4; need libgs but where is it Message-ID: <00163645923c0f4e90046253d843@google.com> Hi, I decided last night to try and install KDE4. I left it compiling to go to bed. When I got up, I saw that it had his this snag: checking for vasprintf... yes checking for gsapi_new_instance in -lgs... no configure: error: You need libgs in order to compile libspectre I can't find a port that installs libgs. At least, I did these two things: make search name=libgs make search name=ghostscript The first returns only references to libgsf which I had installed. I upgraded the port anyway, but this didn't fix the problem. The second returns things that don't seem to be what I want. What port will install this library? Thanks, Andy From glen.j.barber at gmail.com Sat Feb 7 05:25:19 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Feb 7 05:25:26 2009 Subject: Snag in installing KDE4; need libgs but where is it In-Reply-To: <00163645923c0f4e90046253d843@google.com> References: <00163645923c0f4e90046253d843@google.com> Message-ID: <20090207132418.GA1931@phoenix.local> af300wsm@gmail.com said: > Hi, > > I decided last night to try and install KDE4. I left it compiling to go to > bed. When I got up, I saw that it had his this snag: > > checking for vasprintf... yes > checking for gsapi_new_instance in -lgs... no > configure: error: You need libgs in order to compile libspectre > > > I can't find a port that installs libgs. At least, I did these two things: > > make search name=libgs > make search name=ghostscript > I did `make search name="libspectre"' which is where your build failed. I see afew dependencies on ghostscript and gsfonts. Either try building libspectre directly (/usr/ports/print/libspectre) or the ghostscript/gsfonts dependencies directly. Regards, -- Glen Barber From antarex at land.ru Sat Feb 7 05:31:01 2009 From: antarex at land.ru (Dmitry) Date: Sat Feb 7 05:31:08 2009 Subject: #2 DNS Auto in KPPP in FreeBSD 7.1 Message-ID: <12340134583657.1576420631.antarex@land.ru> Hi to All! Sorry for my bad English. My problem: I am have 3G/EDGE modem ZTE MF622+ and FreeBSD 7.1. In using KPPP (KDE 3.5.10) my modem can't connect to EDGE provider, because in KPPP not enabled option Auto DNS setting. If manually set this option, that says tech support of provider, pppd print, that not connect and not determinate IP adress. Why I can enable this option? In Linux this option is enabled and all working fine. Thank you! From SlackWareWolf at comcast.net Sat Feb 7 06:56:39 2009 From: SlackWareWolf at comcast.net (Akenner) Date: Sat Feb 7 06:56:46 2009 Subject: Strange and weird, probably simple, aim DL Message-ID: <498D9D64.7010603@comcast.net> Hi list, I was doing some searching on the FreeBSD FTP server where the ports are installed, and I noticed AIM was available. I use AIM and so I did this: pkg_add -r aim It downloaded the package, finished up, and it was done. Here is the thing; I can't run it. When I type aim from a terminal, or basic Xterm, it says it can't be found. If I try running it from a "run" dialog it won't run from there either. am I doing something incredibly stupid? I know it downloaded the package and installed it, so it should work fine. I downloaded it on another machine just to test if it worked on there, both running FreeBSD 7.1-RELEASE, and again, it just doesn't run. It's odd really. And if I load up a bash, to do command completion like this: bash [Enter} a[TAB][TAB] (Display all?) [y] It doesn't show aim there either. I know that last part is a little bit dumb, but I figured it would at least let me check if it was there. any ideas? Anyone using AIM that got it to work? Thanks much, -Allen From wojtek at wojtek.tensor.gdynia.pl Sat Feb 7 07:01:03 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Feb 7 07:01:10 2009 Subject: 10gb network interface suggestions In-Reply-To: <75a268720902070356v51fa601cy98889f272d724555@mail.gmail.com> References: <75a268720902070356v51fa601cy98889f272d724555@mail.gmail.com> Message-ID: <20090207155913.M50096@wojtek.tensor.gdynia.pl> > But also I am open to other brands. Especially If anyone has > experience on that this matter would be very very helpful. I have seen > that Sun has quad 10gbE adapters: > http://www.sun.com/products/networking/ethernet/10gigethernet/index.xml > I am not sure if FreeBSD supports that? could you please explain ANY CASE when 4*10GbE/s could be utilized. it's 5 GIGABYTES/s each direction. computer memory subsystem is rarely faster > > 2) Do you suggest fiber or copper? depend of what you connect to. > 3) Which bus option to use ? As far as I see intel has both (Pci > Express and PCI-X not sure if their PCI Express cards are PCI Express > 2.0 for pcie2 http://en.wikipedia.org/wiki/PCI_Express shows > significant performance boost) anything slower than PCIe 4-lane is slower than single 10GbE port. PCI-X is AFAIK 500MB/s so you won't get much From af300wsm at gmail.com Sat Feb 7 07:02:01 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Sat Feb 7 07:02:08 2009 Subject: Snag in installing KDE4; need libgs but where is it In-Reply-To: <20090207132418.GA1931@phoenix.local> Message-ID: <0016e64b9d086955190462556bd4@google.com> On Feb 7, 2009 6:24am, Glen Barber wrote: > af300wsm@gmail.com said: > > > Hi, > > > > > > I decided last night to try and install KDE4. I left it compiling to go to > > > bed. When I got up, I saw that it had his this snag: > > > > > > checking for vasprintf... yes > > > checking for gsapi_new_instance in -lgs... no > > > configure: error: You need libgs in order to compile libspectre > > > > > > > > > I can't find a port that installs libgs. At least, I did these two things: > > > > > > make search name=libgs > > > make search name=ghostscript > > > > > > > I did `make search name="libspectre"' which is where your build failed. I see afew dependencies on ghostscript and gsfonts. Either try building libspectre directly (/usr/ports/print/libspectre) or the ghostscript/gsfonts dependencies directly. > > > A port upgrade to ghostscript seemed to correct that problem. Thanks, Andy From af300wsm at gmail.com Sat Feb 7 07:03:51 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Sat Feb 7 07:03:58 2009 Subject: KDE4 build fails for language issues Message-ID: <0016e64aeb44f1dbb804625571b3@google.com> Hi, Ok, the next thing in the saga of getting KDE4 installed, I hit this when compiling KDE4: In file included from /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/juk/coverinfo.cpp:37: /usr/local/include/taglib/id3v2tag.h:101: error: invalid use of incomplete type 'struct TagLib::Tag' /usr/local/include/taglib/tfile.h:31: error: forward declaration of 'struct TagLib::Tag' *** Error code 1 Stop in /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/build. *** Error code 1 Anyone have any ideas on how to fix this one? Andy From Lokadamus at gmx.de Sat Feb 7 07:33:51 2009 From: Lokadamus at gmx.de (Lokadamus) Date: Sat Feb 7 07:34:00 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <200902061408.24939.naylor.b.david@gmail.com> References: <200902060955.59611.naylor.b.david@gmail.com> <200902061153.47160.naylor.b.david@gmail.com> <498C2363.3050303@gmx.de> <200902061408.24939.naylor.b.david@gmail.com> Message-ID: <498DA9EA.6080600@gmx.de> David Naylor wrote: > On Friday 06 February 2009 13:47:47 Lokadamus wrote: > >> David Naylor wrote: >> >>> I don't quite understand your question. See below for the network >>> topology: >>> >>> ISP (host WinGate DNS, only proxy and socks connections allowed out) >>> >>> | Wireless connection to my gateway >>> >>> Server (My gateway, running bind9 for internet domain and DNS caching, >>> FreeBSD 7.1p2) >>> >>> > PCI D-Link GPlus wireless card for link to ISP >>> > PCI rl0 link to switch >>> >> Ok, here is a realtek. That can sometimes make problems. >> Can you change this network interface card? >> > > Yes I could, however I have the same problem on the gateway over the wireless > card. The wireless card is connecting the gateway to the ISP (i.e. > gateway->wireless->ISP) with the ethernet to the intranet. I haven't had any > problems with pinging the gateway from my laptop. Can you see problems of your wireless card in /var/log/messages? From valentin.bud at gmail.com Sat Feb 7 07:52:11 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Sat Feb 7 07:52:18 2009 Subject: make installworld fails Message-ID: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> elo list, just updated a newly installed freebsd 7.1 system and it crashed here: ===> rescue (install) ===> rescue/librescue (install) ===> rescue/rescue (install) install -s -o root -g wheel -m 555 rescue /rescue install: rescue: No such file or directory *** Error code 71 Stop in /usr/src/rescue/rescue. *** Error code 1 Stop in /usr/src/rescue. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 I have updated the sources using the csup method then # make buildkernel KERNCONF=CUSTOMISED # make installkernel KERNCONF=CUSTOMISED # mergemaster -p reboot #make installworld # uname -a FreeBSD server.xxx.com 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sat Feb 7 15:47:11 EET 2009 # ls -al / output omitted for brevity ... drwxr-xr-x 2 root wheel 2560 Feb 7 14:54 rescue # ls -al /usr/src/rescue total 12 drwxr-xr-x 4 root wheel 512 Feb 7 13:45 . drwxr-xr-x 22 root wheel 512 Feb 7 13:50 .. -rw-r--r-- 1 root wheel 133 Nov 25 04:59 Makefile -rw-r--r-- 1 root wheel 1603 Nov 25 04:59 README drwxr-xr-x 2 root wheel 512 Feb 7 13:45 librescue drwxr-xr-x 2 root wheel 512 Feb 7 13:45 rescue Now the question is what can i do next? thanks, v From glen.j.barber at gmail.com Sat Feb 7 07:54:07 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Feb 7 07:54:14 2009 Subject: KDE4 build fails for language issues In-Reply-To: <0016e64aeb44f1dbb804625571b3@google.com> References: <0016e64aeb44f1dbb804625571b3@google.com> Message-ID: <20090207155305.GA1626@phoenix.local> af300wsm@gmail.com said: > In file included from > /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/juk/coverinfo.cpp:37: > /usr/local/include/taglib/id3v2tag.h:101: error: invalid use of incomplete > type 'struct TagLib::Tag' > /usr/local/include/taglib/tfile.h:31: error: forward declaration of 'struct > TagLib::Tag' > *** Error code 1 > > Stop in /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/build. > *** Error code 1 > > Anyone have any ideas on how to fix this one? > Have you updated your ports tree? If not, try that. If it still fails, I would submit a PR. Regards, -- Glen Barber From glen.j.barber at gmail.com Sat Feb 7 07:56:55 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Feb 7 07:57:01 2009 Subject: make installworld fails In-Reply-To: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> Message-ID: <20090207155552.GB1626@phoenix.local> Valentin Bud said: > elo list, > > just updated a newly installed freebsd 7.1 system and it crashed here: > > ===> rescue (install) > ===> rescue/librescue (install) > ===> rescue/rescue (install) > install -s -o root -g wheel -m 555 rescue /rescue > install: rescue: No such file or directory > *** Error code 71 > > Stop in /usr/src/rescue/rescue. > *** Error code 1 > > Stop in /usr/src/rescue. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > I have updated the sources using the csup method then > # make buildkernel KERNCONF=CUSTOMISED > # make installkernel KERNCONF=CUSTOMISED > # mergemaster -p > reboot > #make installworld > Was this during buildworld or installworld? > # uname -a > FreeBSD server.xxx.com 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sat Feb 7 > 15:47:11 EET 2009 > > # ls -al / > output omitted for brevity > ... > drwxr-xr-x 2 root wheel 2560 Feb 7 14:54 rescue > > # ls -al /usr/src/rescue > total 12 > drwxr-xr-x 4 root wheel 512 Feb 7 13:45 . > drwxr-xr-x 22 root wheel 512 Feb 7 13:50 .. > -rw-r--r-- 1 root wheel 133 Nov 25 04:59 Makefile > -rw-r--r-- 1 root wheel 1603 Nov 25 04:59 README > drwxr-xr-x 2 root wheel 512 Feb 7 13:45 librescue > drwxr-xr-x 2 root wheel 512 Feb 7 13:45 rescue > > Now the question is what can i do next? > What does `ls -al /rescue' show? Regards, -- Glen Barber From glen.j.barber at gmail.com Sat Feb 7 08:03:58 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Feb 7 08:04:04 2009 Subject: Strange and weird, probably simple, aim DL In-Reply-To: <498D9D64.7010603@comcast.net> References: <498D9D64.7010603@comcast.net> Message-ID: <20090207160254.GC1626@phoenix.local> Akenner said: > basic Xterm, it says it can't be found. If I try running it from a "run" > dialog it won't run from there either. > Have you `rehash'ed ? -- Glen Barber From keramida at ceid.upatras.gr Sat Feb 7 08:05:43 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat Feb 7 08:05:52 2009 Subject: make installworld fails In-Reply-To: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> (Valentin Bud's message of "Sat, 7 Feb 2009 17:52:09 +0200") References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> Message-ID: <873aeqcjw5.fsf@kobe.laptop> On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud wrote: > elo list, > > just updated a newly installed freebsd 7.1 system and it crashed here: > > ===> rescue (install) > ===> rescue/librescue (install) > ===> rescue/rescue (install) > install -s -o root -g wheel -m 555 rescue /rescue > install: rescue: No such file or directory > *** Error code 71 > > Stop in /usr/src/rescue/rescue. > *** Error code 1 You seem to have built only parts of the source tree, i.e. because you completed a buildworld cycle when WITHOUT_RESCUE was defined. Try repeating the buildworld and installworld steps with exactly the *same* options in their environment. From valentin.bud at gmail.com Sat Feb 7 08:10:53 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Sat Feb 7 08:11:00 2009 Subject: make installworld fails In-Reply-To: <873aeqcjw5.fsf@kobe.laptop> References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> <873aeqcjw5.fsf@kobe.laptop> Message-ID: <139b44430902070810n4215d90at777c824b94161a2d@mail.gmail.com> Hello, This are the parts from /etc/make.conf regarding system build options: # --- system build options WITHOUT_IPFILTER=yes WITHOUT_IPX=yes WITHOUT_LPR=yes WITHOUT_RCMDS=yes WITHOUT_SENDMAIL=yes I didn't give any arguments to # make buildworld or # make installworld I have ran them as i've typed them above. Is there something wrong in /etc/make.conf ? thanks, v On Sat, Feb 7, 2009 at 6:05 PM, Giorgos Keramidas wrote: > On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud > wrote: > > elo list, > > > > just updated a newly installed freebsd 7.1 system and it crashed here: > > > > ===> rescue (install) > > ===> rescue/librescue (install) > > ===> rescue/rescue (install) > > install -s -o root -g wheel -m 555 rescue /rescue > > install: rescue: No such file or directory > > *** Error code 71 > > > > Stop in /usr/src/rescue/rescue. > > *** Error code 1 > > You seem to have built only parts of the source tree, i.e. because you > completed a buildworld cycle when WITHOUT_RESCUE was defined. > > Try repeating the buildworld and installworld steps with exactly the > *same* options in their environment. > > From valentin.bud at gmail.com Sat Feb 7 08:12:15 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Sat Feb 7 08:12:23 2009 Subject: make installworld fails In-Reply-To: <20090207155552.GB1626@phoenix.local> References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> <20090207155552.GB1626@phoenix.local> Message-ID: <139b44430902070812y5851679ar8852209890c4609@mail.gmail.com> Hello Glen, During installworld. # ls -al /rescue total 451106 drwxr-xr-x 2 root wheel 2560 Feb 7 14:54 . drwxr-xr-x 21 root wheel 512 Feb 7 16:17 .. -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 [ -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 atacontrol -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 atmconfig -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 badsect -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 bsdlabel -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 bunzip2 -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 bzcat -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 bzip2 -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 camcontrol -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 cat -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ccdconfig -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 chflags -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 chio -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 chmod -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 chroot -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 clri -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 cp -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 csh -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 date -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 dd -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 devfs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 df -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 dhclient -r-xr-xr-x 1 root wheel 9478 Jan 1 13:51 dhclient-script -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 disklabel -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 dmesg -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 dump -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 dumpfs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 dumpon -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 echo -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ed -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ex -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 expr -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 fastboot -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 fasthalt -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 fdisk -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 fsck -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 fsck_4.2bsd -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 fsck_ffs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 fsck_msdosfs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 fsck_ufs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 fsdb -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 fsirand -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 gbde -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 getfacl -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 groups -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 gunzip -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 gzcat -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 gzip -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 halt -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 hostname -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 id -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ifconfig -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 init -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ipf -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 kenv -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 kill -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 kldconfig -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 kldload -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 kldstat -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 kldunload -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ldconfig -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 link -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ln -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ls -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 md5 -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mdconfig -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mdmfs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mkdir -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mknod -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mount -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mount_cd9660 -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mount_msdosfs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mount_nfs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mount_ntfs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mount_nullfs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mount_udf -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mount_unionfs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 mv -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 newfs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 newfs_msdos -r-xr-xr-x 1 root wheel 910 Jan 1 13:51 nextboot -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 nos-tun -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 pax -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ping -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ping6 -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 ps -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 pwd -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 rcorder -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 rcp -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 rdump -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 realpath -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 reboot -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 red -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 rescue -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 restore -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 rm -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 rmdir -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 route -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 routed -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 rrestore -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 rtquery -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 rtsol -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 savecore -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 sconfig -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 setfacl -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 sh -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 slattach -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 spppcontrol -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 startslip -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 stty -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 swapon -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 sync -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 sysctl -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 tar -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 tcsh -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 test -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 tunefs -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 umount -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 unlink -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 vi -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 whoami -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 zcat On Sat, Feb 7, 2009 at 5:55 PM, Glen Barber wrote: > Valentin Bud said: > > elo list, > > > > just updated a newly installed freebsd 7.1 system and it crashed here: > > > > ===> rescue (install) > > ===> rescue/librescue (install) > > ===> rescue/rescue (install) > > install -s -o root -g wheel -m 555 rescue /rescue > > install: rescue: No such file or directory > > *** Error code 71 > > > > Stop in /usr/src/rescue/rescue. > > *** Error code 1 > > > > Stop in /usr/src/rescue. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > I have updated the sources using the csup method then > > # make buildkernel KERNCONF=CUSTOMISED > > # make installkernel KERNCONF=CUSTOMISED > > # mergemaster -p > > reboot > > #make installworld > > > > Was this during buildworld or installworld? > > > # uname -a > > FreeBSD server.xxx.com 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sat Feb > 7 > > 15:47:11 EET 2009 > > > > # ls -al / > > output omitted for brevity > > ... > > drwxr-xr-x 2 root wheel 2560 Feb 7 14:54 rescue > > > > # ls -al /usr/src/rescue > > total 12 > > drwxr-xr-x 4 root wheel 512 Feb 7 13:45 . > > drwxr-xr-x 22 root wheel 512 Feb 7 13:50 .. > > -rw-r--r-- 1 root wheel 133 Nov 25 04:59 Makefile > > -rw-r--r-- 1 root wheel 1603 Nov 25 04:59 README > > drwxr-xr-x 2 root wheel 512 Feb 7 13:45 librescue > > drwxr-xr-x 2 root wheel 512 Feb 7 13:45 rescue > > > > Now the question is what can i do next? > > > > What does `ls -al /rescue' show? > > Regards, > > -- > Glen Barber > From keramida at ceid.upatras.gr Sat Feb 7 08:17:01 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat Feb 7 08:17:08 2009 Subject: make installworld fails In-Reply-To: <139b44430902070810n4215d90at777c824b94161a2d@mail.gmail.com> (Valentin Bud's message of "Sat, 7 Feb 2009 18:10:51 +0200") References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> <873aeqcjw5.fsf@kobe.laptop> <139b44430902070810n4215d90at777c824b94161a2d@mail.gmail.com> Message-ID: <87mycyb4su.fsf@kobe.laptop> On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud wrote: > elo list, > > just updated a newly installed freebsd 7.1 system and it crashed here: > > ===> rescue (install) > ===> rescue/librescue (install) > ===> rescue/rescue (install) > install -s -o root -g wheel -m 555 rescue /rescue > install: rescue: No such file or directory > *** Error code 71 > > Stop in /usr/src/rescue/rescue. > *** Error code 1 On Sat, 7 Feb 2009 18:10:51 +0200, Valentin Bud wrote: > Hello, > > This are the parts from /etc/make.conf regarding system build options: > # --- system build options > WITHOUT_IPFILTER=yes > WITHOUT_IPX=yes > WITHOUT_LPR=yes > WITHOUT_RCMDS=yes > WITHOUT_SENDMAIL=yes > > I didn't give any arguments to > # make buildworld or > # make installworld > > I have ran them as i've typed them above. > > Is there something wrong in /etc/make.conf ? These options don't seem to affect the build of `/usr/src/rescue'. Can you try running the build commands once more in that directory? # cd /usr/src/rescue # make cleandir ; make cleandir # make obj depend all Then it should be possible to install the newly built /rescue binaries, and your installworld should complete fine. From naylor.b.david at gmail.com Sat Feb 7 08:19:42 2009 From: naylor.b.david at gmail.com (David Naylor) Date: Sat Feb 7 08:19:48 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <498DA9EA.6080600@gmx.de> References: <200902060955.59611.naylor.b.david@gmail.com> <200902061408.24939.naylor.b.david@gmail.com> <498DA9EA.6080600@gmx.de> Message-ID: <200902071819.47915.naylor.b.david@gmail.com> On Saturday 07 February 2009 17:34:02 Lokadamus wrote: > David Naylor wrote: > > On Friday 06 February 2009 13:47:47 Lokadamus wrote: > >> David Naylor wrote: > >>> I don't quite understand your question. See below for the network > >>> topology: > >>> > >>> ISP (host WinGate DNS, only proxy and socks connections allowed out) > >>> > >>> | Wireless connection to my gateway > >>> > >>> Server (My gateway, running bind9 for internet domain and DNS caching, > >>> FreeBSD 7.1p2) > >>> > >>> > PCI D-Link GPlus wireless card for link to ISP > >>> > PCI rl0 link to switch > >> > >> Ok, here is a realtek. That can sometimes make problems. > >> Can you change this network interface card? > > > > Yes I could, however I have the same problem on the gateway over the > > wireless card. The wireless card is connecting the gateway to the ISP > > (i.e. gateway->wireless->ISP) with the ethernet to the intranet. I > > haven't had any problems with pinging the gateway from my laptop. > > Can you see problems of your wireless card in /var/log/messages? I do get some errors, here is a sample: # grep ndis0 /var/log/messages Feb 7 17:57:55 dgserver kernel: arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0 Feb 7 18:03:25 dgserver kernel: arp: 192.168.0.1 is on lo0 but got reply from 00:02:6f:3e:8a:ed on ndis0 The MAC address is not an my network, as far as I can see. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090207/6a2b22d9/attachment.pgp From antarex at land.ru Sat Feb 7 01:04:44 2009 From: antarex at land.ru (Dmitry) Date: Sat Feb 7 08:32:39 2009 Subject: Auto DNS in KPPP in FreeBSD 7.1 Message-ID: <12339906941552.2107865877.antarex@land.ru> Hi to All! Sorry for my bad English, i am beginning FreeBSD user from Russia.. From af300wsm at gmail.com Sat Feb 7 08:49:16 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Sat Feb 7 08:49:23 2009 Subject: KDE4 build fails for language issues In-Reply-To: <20090207155305.GA1626@phoenix.local> Message-ID: <00163645923cfbdabe046256ea13@google.com> On Feb 7, 2009 8:53am, Glen Barber wrote: > af300wsm@gmail.com said: > > > In file included from > > > /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/juk/coverinfo.cpp:37: > > > /usr/local/include/taglib/id3v2tag.h:101: error: invalid use of incomplete > > > type 'struct TagLib::Tag' > > > /usr/local/include/taglib/tfile.h:31: error: forward declaration of 'struct > > > TagLib::Tag' > > > *** Error code 1 > > > > > > Stop in /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/build. > > > *** Error code 1 > > > > > > Anyone have any ideas on how to fix this one? > > > > > > > Have you updated your ports tree? If not, try that. If it still fails, I would submit a PR. > > In fact, a portupgrade to the taglib port fixed the issue. Thanks, Andy From Lokadamus at gmx.de Sat Feb 7 08:58:30 2009 From: Lokadamus at gmx.de (Lokadamus) Date: Sat Feb 7 08:58:37 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <200902071819.47915.naylor.b.david@gmail.com> References: <200902060955.59611.naylor.b.david@gmail.com> <200902061408.24939.naylor.b.david@gmail.com> <498DA9EA.6080600@gmx.de> <200902071819.47915.naylor.b.david@gmail.com> Message-ID: <498DBDC0.4000408@gmx.de> David Naylor wrote: >> Can you see problems of your wireless card in /var/log/messages? >> > > I do get some errors, here is a sample: > # grep ndis0 /var/log/messages > Feb 7 17:57:55 dgserver kernel: arp: 192.168.0.2 is on rl0 but got reply from > 00:02:6f:3e:8a:ed on ndis0 > Feb 7 18:03:25 dgserver kernel: arp: 192.168.0.1 is on lo0 but got reply from > 00:02:6f:3e:8a:ed on ndis0 > > The MAC address is not an my network, as far as I can see. > Can you give me a "netstat -nr" and a ifconfig? From LConrad at Go2France.com Sat Feb 7 09:09:10 2009 From: LConrad at Go2France.com (Len Conrad) Date: Sat Feb 7 09:09:17 2009 Subject: RTL8201 not explicitly in 7.1 / 2nd POSTING Message-ID: <200902071755203.SM07868@TX2.Go2France.com> A client wants to buy some TigerDirect/VisionMan 1U's with this mobo: http://www.biostar-usa.com/mbdetails.asp?model=P4M900%20MICRO%20775 RTL8201 PHY Ethernet http://www.freebsd.org/releases/7.1R/hardware.html ... shows only RTL81xx has anybody got RTL8201 working with FreeBSD 7.1? thanks, Len From naylor.b.david at gmail.com Sat Feb 7 09:11:53 2009 From: naylor.b.david at gmail.com (David Naylor) Date: Sat Feb 7 09:12:00 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <498DBDC0.4000408@gmx.de> References: <200902060955.59611.naylor.b.david@gmail.com> <200902071819.47915.naylor.b.david@gmail.com> <498DBDC0.4000408@gmx.de> Message-ID: <200902071912.04997.naylor.b.david@gmail.com> On Saturday 07 February 2009 18:58:40 you wrote: > David Naylor wrote: > >> Can you see problems of your wireless card in /var/log/messages? > > > > I do get some errors, here is a sample: > > # grep ndis0 /var/log/messages > > Feb 7 17:57:55 dgserver kernel: arp: 192.168.0.2 is on rl0 but got reply > > from 00:02:6f:3e:8a:ed on ndis0 > > Feb 7 18:03:25 dgserver kernel: arp: 192.168.0.1 is on lo0 but got reply > > from 00:02:6f:3e:8a:ed on ndis0 > > > > The MAC address is not an my network, as far as I can see. > > Can you give me a "netstat -nr" and a ifconfig? dgserver# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.193.194.1 UGS 0 830 ndis0 127.0.0.1 127.0.0.1 UH 0 254 lo0 192.168.0.0/24 link#2 UC 0 0 rl0 192.168.0.2 7e:2b:34:e8:eb:a2 UHLW 1 2 rl0 618 192.168.0.3 00:a1:b0:a0:63:68 UHLW 1 504 rl0 1129 192.168.0.6 00:1d:72:1d:63:41 UHLW 1 1734 rl0 35 192.168.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 109 rl0 192.193.194.0/24 link#1 UC 0 0 ndis0 192.193.194.1 00:02:6f:47:92:29 UHLW 2 1941 ndis0 1199 Internet6: (removed, not used) dgserver# ifconfig ndis0: flags=8843 metric 0 mtu 1500 ether 00:11:95:16:59:5d inet 192.193.194.58 netmask 0xffffff00 broadcast 192.193.194.255 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) status: associated ssid QuickNet channel 1 (2412 Mhz 11b) bssid 00:02:6f:3e:13:cf authmode OPEN privacy OFF bmiss 7 scanvalid 60 rl0: flags=8843 metric 0 mtu 1500 options=8 ether 00:13:f7:cb:2f:b9 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 dgserver# dmesg | grep 'rl0' rl0: port 0xf800-0xf8ff mem 0xfdffc000-0xfdffc0ff irq 11 at device 14.0 on pci0 miibus0: on rl0 dgserver# dmesg | grep 'ndis0' ndis0: mem 0xfdffa000-0xfdffbfff,0xfdfc0000-0xfdfdffff irq 15 at device 13.0 on pci0 ndis0: [ITHREAD] ndis0: NDIS API version: 5.1 ndis0: WARNING: using obsoleted if_watchdog interface ndis0: Ethernet address: 00:11:95:16:59:5d ndis0: link state changed to UP (and both commands above have a common): arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0 arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0 arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0 arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0 arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0 arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0 arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090207/8330c445/attachment.pgp From valentin.bud at gmail.com Sat Feb 7 09:19:11 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Sat Feb 7 09:19:18 2009 Subject: make installworld fails In-Reply-To: <87mycyb4su.fsf@kobe.laptop> References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> <873aeqcjw5.fsf@kobe.laptop> <139b44430902070810n4215d90at777c824b94161a2d@mail.gmail.com> <87mycyb4su.fsf@kobe.laptop> Message-ID: <139b44430902070919v6625a041j11a2ff48dc119dd6@mail.gmail.com> On Sat, Feb 7, 2009 at 6:16 PM, Giorgos Keramidas wrote: > On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud > wrote: > > elo list, > > > > just updated a newly installed freebsd 7.1 system and it crashed here: > > > > ===> rescue (install) > > ===> rescue/librescue (install) > > ===> rescue/rescue (install) > > install -s -o root -g wheel -m 555 rescue /rescue > > install: rescue: No such file or directory > > *** Error code 71 > > > > Stop in /usr/src/rescue/rescue. > > *** Error code 1 > > On Sat, 7 Feb 2009 18:10:51 +0200, Valentin Bud > wrote: > > Hello, > > > > This are the parts from /etc/make.conf regarding system build options: > > # --- system build options > > WITHOUT_IPFILTER=yes > > WITHOUT_IPX=yes > > WITHOUT_LPR=yes > > WITHOUT_RCMDS=yes > > WITHOUT_SENDMAIL=yes > > > > I didn't give any arguments to > > # make buildworld or > > # make installworld > > > > I have ran them as i've typed them above. > > > > Is there something wrong in /etc/make.conf ? > > These options don't seem to affect the build of `/usr/src/rescue'. Can > you try running the build commands once more in that directory? > > # cd /usr/src/rescue > # make cleandir ; make cleandir > # make obj depend all > > Then it should be possible to install the newly built /rescue binaries, > and your installworld should complete fine. Hello Giorgios, Thanks that worked and the installworld succeeded. Is this a bug? Should i report it? thanks, v From SlackWareWolf at comcast.net Sat Feb 7 09:43:43 2009 From: SlackWareWolf at comcast.net (Akenner) Date: Sat Feb 7 09:43:51 2009 Subject: Strange and weird, probably simple, aim DL In-Reply-To: <20090207160254.GC1626@phoenix.local> References: <498D9D64.7010603@comcast.net> <20090207160254.GC1626@phoenix.local> Message-ID: <498DC84B.4020203@comcast.net> Glen Barber wrote: > Akenner said: > >> basic Xterm, it says it can't be found. If I try running it from a "run" >> dialog it won't run from there either. >> >> > > Have you `rehash'ed ? > > Yes I have. I read that whenever installing something new I should do that so it can find new things. From corbesero at fast.net Sat Feb 7 09:44:03 2009 From: corbesero at fast.net (Stephen Corbesero) Date: Sat Feb 7 09:44:34 2009 Subject: edit users quota in a script In-Reply-To: <20090207130025.f2169029.nicolas@nicoelro.net> References: <20090207130025.f2169029.nicolas@nicoelro.net> Message-ID: <20090207171719.GA22791@frodo.corbesero.net> Besides the -e switch to edquota as has already been mentioned, I used to make extensive use of the -p switch to use a prototype. For example, you could create a "fake" user (or group) named "q-typical", assign that user the quotas for a typical user, and then use edquota -p q-typical newuser to assign those quotas to the new user. You could maintain several prototypes for different classes of users or groups. On Sat, Feb 07, 2009 at 01:00:25PM +0100, Nicolas Letellier wrote: > Hello. > I use a script to create automatically my users (with pw, and mkdir, > etc...). I use quota, and I have to excute 'edquota -u user', and > enter quota informations. So, the process can not be > automaticated. And cannot be part of my script. I don't find > informations in edquota(8) manpages about editing user quota without > open a file. > Is an other solution exists? I'm looking for a solution in command > line (for my script). -- Stephen Corbesero It's always darkest Bethlehem, PA 18015 before pitch black. corbesero@ptd.net From bruce at cran.org.uk Sat Feb 7 09:51:18 2009 From: bruce at cran.org.uk (Bruce Cran) Date: Sat Feb 7 09:51:27 2009 Subject: RTL8201 not explicitly in 7.1 / 2nd POSTING In-Reply-To: <200902071755203.SM07868@TX2.Go2France.com> References: <200902071755203.SM07868@TX2.Go2France.com> Message-ID: <20090207175101.23e4bc65@tau.draftnet> On Sat, 07 Feb 2009 11:08:51 -0600 Len Conrad wrote: > > A client wants to buy some TigerDirect/VisionMan 1U's with this mobo: > > http://www.biostar-usa.com/mbdetails.asp?model=P4M900%20MICRO%20775 > > RTL8201 PHY Ethernet > > http://www.freebsd.org/releases/7.1R/hardware.html > > ... shows only RTL81xx > > has anybody got RTL8201 working with FreeBSD 7.1? I've got a laptop which has a NIC which uses the RTL8201L PHY: re0: port 0x2000-0x20ff mem 0xd10 10000-0xd1010fff,0xd1000000-0xd100ffff irq 19 at device 0.0 on pci10 re0: Chip rev. 0x24800000 re0: MAC rev. 0x00000000 miibus0: on re0 rlphy0: PHY 1 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto re0: Ethernet address: 00:11:22:33:44:55 re0: [FILTER] It's now running 8-CURRENT but it used to run 7.1. -- Bruce Cran From keramida at ceid.upatras.gr Sat Feb 7 09:51:56 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat Feb 7 09:52:03 2009 Subject: make installworld fails In-Reply-To: <139b44430902070919v6625a041j11a2ff48dc119dd6@mail.gmail.com> (Valentin Bud's message of "Sat, 7 Feb 2009 19:19:09 +0200") References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> <873aeqcjw5.fsf@kobe.laptop> <139b44430902070810n4215d90at777c824b94161a2d@mail.gmail.com> <87mycyb4su.fsf@kobe.laptop> <139b44430902070919v6625a041j11a2ff48dc119dd6@mail.gmail.com> Message-ID: <87tz763zkh.fsf@kobe.laptop> On Sat, 7 Feb 2009 19:19:09 +0200, Valentin Bud wrote: >On Sat, Feb 7, 2009 at 6:16 PM, Giorgos Keramidas >wrote: >> > # --- system build options >> > WITHOUT_IPFILTER=yes >> > WITHOUT_IPX=yes >> > WITHOUT_LPR=yes >> > WITHOUT_RCMDS=yes >> > WITHOUT_SENDMAIL=yes >> > >> > I didn't give any arguments to >> > # make buildworld or >> > # make installworld >> > >> > I have ran them as i've typed them above. >> > >> > Is there something wrong in /etc/make.conf ? >> >> These options don't seem to affect the build of `/usr/src/rescue'. Can >> you try running the build commands once more in that directory? >> >> # cd /usr/src/rescue >> # make cleandir ; make cleandir >> # make obj depend all >> >> Then it should be possible to install the newly built /rescue binaries, >> and your installworld should complete fine. > > Hello Giorgios, > > Thanks that worked and the installworld succeeded. Is this a bug? > Should i report it? No, that's ok. You somehow managed to botch 'buildworld'. Now that the missing bits are in /usr/obj all is fine. If you start with a *clean* /usr/obj tree and the problem reappears, then please let us know :) From gilles.ganault at free.fr Sat Feb 7 09:52:10 2009 From: gilles.ganault at free.fr (Gilles) Date: Sat Feb 7 09:52:17 2009 Subject: [6.3] ALT-CTRL-DEL = clean unmount? References: <498A0CC7.9030506@gmx.de> Message-ID: On Wed, 04 Feb 2009 22:46:47 +0100, Lokadamus wrote: >Can you change your IDE- Cable from ATA- 33 to ATA-66/100? > >Have you this error, when you make a reboot with shutdown -r now? I'll check it out. Thanks guys. From amer.alhabsi at gmail.com Sat Feb 7 09:57:23 2009 From: amer.alhabsi at gmail.com (Amer Alhabsi) Date: Sat Feb 7 09:57:30 2009 Subject: How to compile a network driver given source code Message-ID: Hi, I have Benq Joybook R43 notebook. It has network interface based on SiS 191. However, I can't configure it as it does not show up in ifconfig nor in sysinstall/configure/networking/interfaces. Dmesg says: No Driver Attached. After some search I found that someone has written a driver but it hasn't been put int the official FreeBSD release. I want to try my luck with the driver. My question is where to place the source code files? and how to compile it (I assume it can be part of a kernel rebuild if placed in the right directory) The source code for the driver consists of the 3 files: if_sis19x.c, if_sis19xreg.h and Makefile. Thanks, Amer, From glen.j.barber at gmail.com Sat Feb 7 10:09:10 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Feb 7 10:09:17 2009 Subject: Strange and weird, probably simple, aim DL In-Reply-To: <498DC84B.4020203@comcast.net> References: <498D9D64.7010603@comcast.net> <20090207160254.GC1626@phoenix.local> <498DC84B.4020203@comcast.net> Message-ID: <4ad871310902071009h27dd3d08uce0adb922d436b23@mail.gmail.com> On Sat, Feb 7, 2009 at 12:43 PM, Akenner wrote: > Glen Barber wrote: >> >> Akenner said: >>> >>> basic Xterm, it says it can't be found. If I try running it from a "run" >>> dialog it won't run from there either. >>> >>> >> >> Have you `rehash'ed ? >> >> > > Yes I have. I read that whenever installing something new I should do that > so it can find new things. > Did that not work? Is the problem still present? What happens if you log out and log in again? -- Glen Barber From glen.j.barber at gmail.com Sat Feb 7 10:13:33 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Feb 7 10:13:43 2009 Subject: How to compile a network driver given source code In-Reply-To: References: Message-ID: <4ad871310902071013j63815054u76c763ed63564103@mail.gmail.com> On Sat, Feb 7, 2009 at 12:36 PM, Amer Alhabsi wrote: > Hi, > > I have Benq Joybook R43 notebook. It has network interface based on SiS 191. > However, I can't configure it as it does not show up in ifconfig nor in > sysinstall/configure/networking/interfaces. Dmesg says: No Driver Attached. > > After some search I found that someone has written a driver but it > hasn't been put int the official FreeBSD release. I want to try my > luck with the driver. My question is where to place the source code > files? and how to compile it (I assume it can be part of a kernel > rebuild if placed in the right directory) > > The source code for the driver consists of the 3 files: if_sis19x.c, > if_sis19xreg.h and Makefile. > Edit the Makefile to match the standard installation directories that FreeBSD uses (/usr/local), and use `make'. Depending on what the drivers needs are, you may have to edit more. -- Glen Barber From SlackWareWolf at comcast.net Sat Feb 7 10:15:12 2009 From: SlackWareWolf at comcast.net (Akenner) Date: Sat Feb 7 10:15:19 2009 Subject: Strange and weird, probably simple, aim DL In-Reply-To: <4ad871310902071009h27dd3d08uce0adb922d436b23@mail.gmail.com> References: <498D9D64.7010603@comcast.net> <20090207160254.GC1626@phoenix.local> <498DC84B.4020203@comcast.net> <4ad871310902071009h27dd3d08uce0adb922d436b23@mail.gmail.com> Message-ID: <498DCFAC.6020806@comcast.net> Glen Barber wrote: > On Sat, Feb 7, 2009 at 12:43 PM, Akenner wrote: > >> Glen Barber wrote: >> >>> Akenner said: >>> >>>> basic Xterm, it says it can't be found. If I try running it from a "run" >>>> dialog it won't run from there either. >>>> >>>> >>>> >>> Have you `rehash'ed ? >>> >>> >>> >> Yes I have. I read that whenever installing something new I should do that >> so it can find new things. >> >> > > Did that not work? Is the problem still present? What happens if you > log out and log in again? > > > Basically it does the same thing. I used the pkg_add as I said, and once I finished, I did the rehash thing, and then logging in and out doesn't seem to change it. Is there a chance the package itself is messy? I was told to try whereis and did so, and it said /usr/ports/net-im/aim and when I typed the direct path, it said permission denied, so I tried su to root, and ran it again, and it said the same thing...Which is a little strange being root. From glen.j.barber at gmail.com Sat Feb 7 10:18:46 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Feb 7 10:18:53 2009 Subject: Strange and weird, probably simple, aim DL In-Reply-To: <498DCFAC.6020806@comcast.net> References: <498D9D64.7010603@comcast.net> <20090207160254.GC1626@phoenix.local> <498DC84B.4020203@comcast.net> <4ad871310902071009h27dd3d08uce0adb922d436b23@mail.gmail.com> <498DCFAC.6020806@comcast.net> Message-ID: <4ad871310902071018g2998e1ccu8d730a48a38ede22@mail.gmail.com> On Sat, Feb 7, 2009 at 1:15 PM, Akenner wrote: > > Basically it does the same thing. I used the pkg_add as I said, and once I > finished, I did the rehash thing, and then logging in and out doesn't seem > to change it. Is there a chance the package itself is messy? > It's possible. > I was told to try whereis and did so, and it said /usr/ports/net-im/aim and > when I typed the direct path, it said permission denied, so I tried su to > root, and ran it again, and it said the same thing...Which is a little > strange being root. > You were told the wrong command. Try `which aim'. Also, try executing with the full path: /usr/local/bin/aim Is your ports tree up to date? man portsnap -- Glen Barber From SlackWareWolf at comcast.net Sat Feb 7 10:28:50 2009 From: SlackWareWolf at comcast.net (Akenner) Date: Sat Feb 7 10:29:01 2009 Subject: Playing audio CDs Message-ID: <498DD2DE.803@comcast.net> I've been searching on the net for like an hour trying to see how to play a CD on FreeBSD, and normally I'd have just tried mounting it, being from the Linux world, but when I first checked to be sure of the proper way, I found mostly info saying not to mount it at all. So now I'm not sure what is the right way to do it. On two machines each having between 1 - 3 drives to play CDs from, I've tried just loading a CD player app and hitting play, but it doesn't find the CD, and on one machine there is only one drive so it can't be the wrong one. None of the pages I found said it was OK to mount it, and so I'm a little confused how you play CDs, and I've used cdplay as root to make sure I had access since the one app said I couldn't access the CD drive, and nothing has happened. How is the normal way of playing a regular audio CD in FreeBSD? Thanks From SlackWareWolf at comcast.net Sat Feb 7 10:36:00 2009 From: SlackWareWolf at comcast.net (Akenner) Date: Sat Feb 7 10:36:06 2009 Subject: Playing audio CDs In-Reply-To: <498DD2DE.803@comcast.net> References: <498DD2DE.803@comcast.net> Message-ID: <498DD48C.6040409@comcast.net> I found in the handbook that I could try this: /sbin/mount /cdrom I then saw this: /dev/cd0: device not configured. Apparently typing /sbin first made it give me a different error message, I'm just trying to find hwo to configure a drive now. would /stand/sysinstall work for this? From amvandemore at gmail.com Sat Feb 7 10:37:13 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Sat Feb 7 10:37:20 2009 Subject: Strange and weird, probably simple, aim DL In-Reply-To: <498DCFAC.6020806@comcast.net> References: <498D9D64.7010603@comcast.net> <20090207160254.GC1626@phoenix.local> <498DC84B.4020203@comcast.net> <4ad871310902071009h27dd3d08uce0adb922d436b23@mail.gmail.com> <498DCFAC.6020806@comcast.net> Message-ID: <498DD096.2090207@gmail.com> > Basically it does the same thing. I used the pkg_add as I said, and > once I finished, I did the rehash thing, and then logging in and out > doesn't seem to change it. Is there a chance the package itself is messy? > > I was told to try whereis and did so, and it said > /usr/ports/net-im/aim and when I typed the direct path, it said > permission denied, so I tried su to root, and ran it again, and it > said the same thing...Which is a little strange being root. > If it says something like this: > whereis aim aim: /usr/ports/net-im/aim aim is not installed. an installed pkg will look something like this: > whereis pidgin pidgin: /usr/local/bin/pidgin /usr/local/man/man1/pidgin.1.gz /usr/ports/net-im/pidgin From srandall52 at sbcglobal.net Sat Feb 7 10:38:37 2009 From: srandall52 at sbcglobal.net (Steve Randall) Date: Sat Feb 7 10:38:44 2009 Subject: Strange and weird, probably simple, aim DL References: <498D9D64.7010603@comcast.net> <20090207160254.GC1626@phoenix.local> <498DC84B.4020203@comcast.net> <4ad871310902071009h27dd3d08uce0adb922d436b23@mail.gmail.com> <498DCFAC.6020806@comcast.net> Message-ID: <20090207123821.6048dfde@locust.local> On Sat, 07 Feb 2009 13:15:08 -0500 Akenner wrote: > Glen Barber wrote: > > On Sat, Feb 7, 2009 at 12:43 PM, Akenner wrote: > > > >> Glen Barber wrote: > >> > >>> Akenner said: > >>> > >>>> basic Xterm, it says it can't be found. If I try running it from a "run" > >>>> dialog it won't run from there either. > >>>> > >>>> > >>>> > >>> Have you `rehash'ed ? > >>> > >>> > >>> > >> Yes I have. I read that whenever installing something new I should do that > >> so it can find new things. > >> > >> > > > > Did that not work? Is the problem still present? What happens if you > > log out and log in again? > > > > > > > Basically it does the same thing. I used the pkg_add as I said, and once > I finished, I did the rehash thing, and then logging in and out doesn't > seem to change it. Is there a chance the package itself is messy? > > I was told to try whereis and did so, and it said /usr/ports/net-im/aim > and when I typed the direct path, it said permission denied, so I tried > su to root, and ran it again, and it said the same thing...Which is a > little strange being root. Even root is not allowed to execute a directory. :) Out of curiosity, I downloaded the package, though I didn't install it. Possibly you already know that this is a linux program. Therefore you need to have linux_enable="YES" in your /etc/rc.conf. Your first problem, though, is that the package installs a wrapper script as /compat/linux/bin/aim that I believe is supposed to be /usr/local/bin/aim instead. So of course it is not in your search path. Verify that the script is there, and, if it is, try copying it to the correct location. From amvandemore at gmail.com Sat Feb 7 10:53:53 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Sat Feb 7 10:54:00 2009 Subject: Strange and weird, probably simple, aim DL In-Reply-To: <4ad871310902071018g2998e1ccu8d730a48a38ede22@mail.gmail.com> References: <498D9D64.7010603@comcast.net> <20090207160254.GC1626@phoenix.local> <498DC84B.4020203@comcast.net> <4ad871310902071009h27dd3d08uce0adb922d436b23@mail.gmail.com> <498DCFAC.6020806@comcast.net> <4ad871310902071018g2998e1ccu8d730a48a38ede22@mail.gmail.com> Message-ID: <498DD0F5.3020109@gmail.com> Glen Barber wrote: > On Sat, Feb 7, 2009 at 1:15 PM, Akenner wrote: > >> Basically it does the same thing. I used the pkg_add as I said, and once I >> finished, I did the rehash thing, and then logging in and out doesn't seem >> to change it. Is there a chance the package itself is messy? >> >> > > It's possible. > > >> I was told to try whereis and did so, and it said /usr/ports/net-im/aim and >> when I typed the direct path, it said permission denied, so I tried su to >> root, and ran it again, and it said the same thing...Which is a little >> strange being root. >> >> > > You were told the wrong command. Try `which aim'. Also, try > executing with the full path: /usr/local/bin/aim > > Is your ports tree up to date? man portsnap > > > man whereis :-) From valentin.bud at gmail.com Sat Feb 7 11:51:17 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Sat Feb 7 11:51:23 2009 Subject: make installworld fails In-Reply-To: <87tz763zkh.fsf@kobe.laptop> References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> <873aeqcjw5.fsf@kobe.laptop> <139b44430902070810n4215d90at777c824b94161a2d@mail.gmail.com> <87mycyb4su.fsf@kobe.laptop> <139b44430902070919v6625a041j11a2ff48dc119dd6@mail.gmail.com> <87tz763zkh.fsf@kobe.laptop> Message-ID: <139b44430902071151j3bdd0329v1b81a69b4600d93f@mail.gmail.com> On Sat, Feb 7, 2009 at 7:51 PM, Giorgos Keramidas wrote: > On Sat, 7 Feb 2009 19:19:09 +0200, Valentin Bud > wrote: > >On Sat, Feb 7, 2009 at 6:16 PM, Giorgos Keramidas > >wrote: > >> > # --- system build options > >> > WITHOUT_IPFILTER=yes > >> > WITHOUT_IPX=yes > >> > WITHOUT_LPR=yes > >> > WITHOUT_RCMDS=yes > >> > WITHOUT_SENDMAIL=yes > >> > > >> > I didn't give any arguments to > >> > # make buildworld or > >> > # make installworld > >> > > >> > I have ran them as i've typed them above. > >> > > >> > Is there something wrong in /etc/make.conf ? > >> > >> These options don't seem to affect the build of `/usr/src/rescue'. Can > >> you try running the build commands once more in that directory? > >> > >> # cd /usr/src/rescue > >> # make cleandir ; make cleandir > >> # make obj depend all > >> > >> Then it should be possible to install the newly built /rescue binaries, > >> and your installworld should complete fine. > > > > Hello Giorgios, > > > > Thanks that worked and the installworld succeeded. Is this a bug? > > Should i report it? > > No, that's ok. You somehow managed to botch 'buildworld'. Now that the > missing bits are in /usr/obj all is fine. > > If you start with a *clean* /usr/obj tree and the problem reappears, > then please let us know :) Ok, sure do. :) thanks once again, v From 240olofsson at telia.com Sat Feb 7 12:11:06 2009 From: 240olofsson at telia.com (Roger Olofsson) Date: Sat Feb 7 12:11:13 2009 Subject: having trouble with OpenOffice In-Reply-To: <00163645923cfac869046238a60d@google.com> References: <00163645923cfac869046238a60d@google.com> Message-ID: <498DEAD4.7030105@telia.com> af300wsm@gmail.com skrev: > Hi, > > Tonight I finally took the bull by the horns and got OpenOffice > installed. However, I'm not having a problem that I haven't found an > answer to yet but seems to be related to the X server (from searches on > the net). So, I do this: > > [andy@sniper /usr/home/andy]$ /usr/local/bin/openoffice.org-2.4.2-scalc > I18N: Operating system doesn't support locale "en_US" > The application cannot be started. > The component manager is not available. > Segmentation fault (core dumped) > > > As you can tell, OpenOffice failed because my OS doesn't support locale > "en_US." Huh!?! I'm using the English version. In fact, the only way to > consider me as being bilingual is something of a matter of mental > gymnastics because English is spoken in England and to me, England is a > foreign country. Thus, I'm bilingual, or at the least, I speak a foreign > language. > > Never the less, how would this be fixed? > > Andy > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.233 / Virus Database: 270.10.18/1936 - Release Date: 02/02/09 19:21:00 > Hello Andy, I seem to recall that this is a make option, like for instance: make LOCALIZED_LANG=sv I would suppose that sv in your case would be en. Good Luck. /R From freebsd-questions-local at be-well.ilk.org Sat Feb 7 12:31:16 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sat Feb 7 12:31:23 2009 Subject: Playing audio CDs In-Reply-To: <498DD2DE.803@comcast.net> (Akenner's message of "Sat\, 07 Feb 2009 13\:28\:46 -0500") References: <498DD2DE.803@comcast.net> Message-ID: <44k582ng4w.fsf@lowell-desk.lan> Akenner writes: > I've been searching on the net for like an hour trying to see how to > play a CD on FreeBSD, and normally I'd have just tried mounting it, > being from the Linux world, but when I first checked to be sure of the > proper way, I found mostly info saying not to mount it at all. > > So now I'm not sure what is the right way to do it. On two machines > each having between 1 - 3 drives to play CDs from, I've tried just > loading a CD player app and hitting play, but it doesn't find the CD, > and on one machine there is only one drive so it can't be the wrong > one. > > None of the pages I found said it was OK to mount it, and so I'm a > little confused how you play CDs, and I've used cdplay as root to make > sure I had access since the one app said I couldn't access the CD > drive, and nothing has happened. > > How is the normal way of playing a regular audio CD in FreeBSD? See the entry in the FreeBSD FAQ titled "Why can I not mount an audio CD?" http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-AUDIO-CD -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From tajudd at gmail.com Sat Feb 7 12:55:45 2009 From: tajudd at gmail.com (Tim Judd) Date: Sat Feb 7 12:55:52 2009 Subject: 10gb network interface suggestions In-Reply-To: <75a268720902070356v51fa601cy98889f272d724555@mail.gmail.com> References: <75a268720902070356v51fa601cy98889f272d724555@mail.gmail.com> Message-ID: <498DF52C.30404@gmail.com> Omer Faruk Sen wrote: > Hi, > > I want to ask if anyone here in this list has any experience with > 10gbE on FreeBSD? My questions: > > 1) Which 10gbE to use? I see that intel has a good support for 10gbE > on FreeBSD with its own driver for FreeBSD: > > http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=2992&DwnldID=14688&lang=eng > > But also I am open to other brands. Especially If anyone has > experience on that this matter would be very very helpful. I have seen > that Sun has quad 10gbE adapters: > http://www.sun.com/products/networking/ethernet/10gigethernet/index.xml > I am not sure if FreeBSD supports that? > > 2) Do you suggest fiber or copper? > > 3) Which bus option to use ? As far as I see intel has both (Pci > Express and PCI-X not sure if their PCI Express cards are PCI Express > 2.0 for pcie2 http://en.wikipedia.org/wiki/PCI_Express shows > significant performance boost) > http://www.intel.com/network/connectivity/products/server_adapters.htm?iid=nc+server#s1=10%20Gigabit%20Ethernet&s2=all&s3=all > > 4) Especially since I am new to 10gbE I also request if someone can > suggest me 10gbE switch. There are lots switches but not sure. One of > my colleague told me that enterasys is good ad 10gbE but not sure. > > Regards. This was useful to find something to be used at work -- the fact that every device has a speed in terms of MHz, and a bandwidth, in terms of Mbit to use. You can buy a 10gbE device, but if the bus does NOT support 10gbE, buying the device is pretty pointless.... you'll never reach 10gbE http://en.wikipedia.org/wiki/List_of_device_bandwidths Enjoy. From root at masm.elcom.ru Sat Feb 7 12:56:39 2009 From: root at masm.elcom.ru (Victor M. Blood) Date: Sat Feb 7 12:56:46 2009 Subject: How to change default boot loader location In-Reply-To: <122010701.20090205172937@masm.elcom.ru> References: <122010701.20090205172937@masm.elcom.ru> Message-ID: <228194658.20090207235636@masm.elcom.ru> Hi, All. problem solved by hack-fix /sys/boot/i386/boot2.c On 05.02.2009, Victor M. Blood wrote: > I have a SATA-II disk, which split for 4 primary partitions, eg: > 1. NTFS (Active) / ntldr > 2. BSD (/var, /usr) > 4. NTFS > 3. BSD (/, swap) > * partitions showed as 'how it's phisicaly placed on drive' > Used bootpart I have create 'freebsd.bin' and try to loadup it into > ntldr, boot.ini > eg: bootpart 2 LBA freebsd.bin > Freebsd loader shows two error messages about 'Invalid Partition' and > prompt me > boot: 0:ad(0,a)/boot/kernel/kernel > Then I 'by hands' try: 0:ad(4,3,a)/boot/loader, Free BSD has normal > start loader, menus, kernel, etc... works! > I try write this line in /boot.config, but have no any result... > eg: echo "0:ad(4,3,a)/boot/loader" >/boot.config > Help me please, how I can get autoboot from slice 3, unit 4 ? > PS: sorry for my english. -- With all regards, Victor M. Blood. mailto: freebsd@masm.elcom.ru FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656 From freebsd at edvax.de Sat Feb 7 14:19:52 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Feb 7 14:20:00 2009 Subject: Playing audio CDs In-Reply-To: <498DD2DE.803@comcast.net> References: <498DD2DE.803@comcast.net> Message-ID: <20090207231934.d0f0e793.freebsd@edvax.de> On Sat, 07 Feb 2009 13:28:46 -0500, Akenner wrote: > I've been searching on the net for like an hour trying to see how to > play a CD on FreeBSD, and normally I'd have just tried mounting it, ^^^^^^^^ ??? > being from the Linux world, but when I first checked to be sure of the > proper way, I found mostly info saying not to mount it at all. What should it be good for mounting an audio CD? It doesn't have an ISO-9660 file system on it. In order to play an audio CD, you can utilize the cdcontrol command included in the base system: % cdcontrol play Refer to "man cdcontrol" for further options and eventually how to specify the CD device (if needed). > So now I'm not sure what is the right way to do it. On two machines each > having between 1 - 3 drives to play CDs from, I've tried just loading a > CD player app and hitting play, but it doesn't find the CD, and on one > machine there is only one drive so it can't be the wrong one. What does % cdcontrol info say about the media you're trying to play? > None of the pages I found said it was OK to mount it, and so I'm a > little confused how you play CDs, and I've used cdplay as root to make > sure I had access since the one app said I couldn't access the CD drive, > and nothing has happened. Permissions of the device file? % ll /dev/acd0 crw-rw-r-- 1 root operator 0, 105 Feb 7 22:32 /dev/acd0 ^ ^ ^ These are important! > How is the normal way of playing a regular audio CD in FreeBSD? As I mentioned, cdcontrol is a very easy way to do this. Of course, there are GUI tools that can be handy, e. g. xcd or whatever comes with KDE or Gnome (if you use this). Keep in mind that, according to FreeBSD's permission concept, you need the +r permission on the device file (see /etc/devfs.conf, /etc/devfs.rules). If you have more than one drive, you can set variables like CDROM to get rid of things like -f /dev/acd[012]. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sat Feb 7 14:25:45 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Feb 7 14:25:51 2009 Subject: Playing audio CDs In-Reply-To: <498DD48C.6040409@comcast.net> References: <498DD2DE.803@comcast.net> <498DD48C.6040409@comcast.net> Message-ID: <20090207232538.463917f5.freebsd@edvax.de> On Sat, 07 Feb 2009 13:35:56 -0500, Akenner wrote: > I found in the handbook that I could try this: > > /sbin/mount /cdrom > > I then saw this: > > /dev/cd0: device not configured. This refers to the fact that the device does not contain an ISO-9660 formatted media. > Apparently typing /sbin first made it give me a different error message, > I'm just trying to find hwo to configure a drive now. would > /stand/sysinstall work for this? No. The "device is configured" via the /etc/fstab file that controls how to mount the disc, e. g. # Device Mountpoint FStype Options Dump Pass# # ----------- --------------------- ------ ------------- ----- ----- /dev/acd0 /cdrom cd9660 ro,noauto 0 0 This will "expand" your command % mount /cdrom to something like % mount -t cd9660 -o ro /dev/acd0 /cdrom Also, keep in mind the permissions: You need +r for the device, and you have to be the owner of the mount target directory. Furthermore, users must be allowed to mount media which is controlled by the setting vfs.usermount=1 that is to be put into /etc/sysctl.conf. But as I mentioned before, you cannot mount an audio CD; imagine that it's "technically" impossible. :-) (Of course, this says nothing about that you cannot copy audio tracks, convert them into OGG/Vorbis or duplicate discs 1:1, which is ALL possible.) A final note: I see you're using /dev/cd0 for your CD drive. What about using acd0 instead (if it's an ATAPI drive)? You can specify /dev/cd0 as $CDROM if you've got a SCSI device, but then, due to permissions, I think you need to set proper access rules for the xpt device, too. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From dan at langille.org Sat Feb 7 16:10:07 2009 From: dan at langille.org (Dan Langille) Date: Sat Feb 7 16:10:15 2009 Subject: The FreeBSD Diary: 2009-02-07 Message-ID: <20090208001002.0D899509C4@nyi.unixathome.org> The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . RECENT ARTICLES: 2-Dec : Obscuring smtp auth headers If you consider your smtp-auth location to be private, this is what you want. http://freebsddiary.org/smtp-headers-rewrite-auth.php?2 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From mbeis at xs4all.nl Sat Feb 7 16:32:02 2009 From: mbeis at xs4all.nl (Marco Beishuizen) Date: Sat Feb 7 16:32:10 2009 Subject: openoffice-3.0.1 broken on FreeBSD Message-ID: <20090208011726.13ef1a93@yokozuna.lan> Hi, Trying to run OO-3.0.1 crashes OO with the following error messages and ends into and enless loop trying to restart and crashing again: ... (soffice:2726): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". ... I'm running FreeBSD-7.1-stable with x.org 7.4 with Gnome 2.24. anyone an idea? Thanks in advance Marco -- Put a pot of chili on the stove to simmer. Let it simmer. Meanwhile, broil a good steak. Eat the steak. Let the chili simmer. Ignore it. -- Recipe for chili from Allan Shrivers, former governor of Texas. From roberthuff at rcn.com Sat Feb 7 17:02:35 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sat Feb 7 17:02:46 2009 Subject: openoffice-3.0.1 broken on FreeBSD In-Reply-To: <20090208011726.13ef1a93@yokozuna.lan> References: <20090208011726.13ef1a93@yokozuna.lan> Message-ID: <18830.12073.689325.361229@jerusalem.litteratus.org> Marco Beishuizen writes: > (soffice:2726): Gtk-WARNING **: GtkSpinButton: setting an adjustment > with non-zero page size is deprecated > > I'm running FreeBSD-7.1-stable with x.org 7.4 with Gnome 2.24. > anyone an idea? 1) have you read and followed the steps in /usr/ports/UPDATING? Including the one for libxcb? 2) if you have, this: > Xlib: extension "Generic Event Extension" missing on display ":0.0". should be harmless. It reports a pieve of functionality which does not exist in the server but does in one of the loaded modules (where it should have been masked). Robert Huff From aryeh.friedman at gmail.com Sat Feb 7 17:05:47 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sat Feb 7 17:05:53 2009 Subject: openoffice-3.0.1 broken on FreeBSD In-Reply-To: <20090208011726.13ef1a93@yokozuna.lan> References: <20090208011726.13ef1a93@yokozuna.lan> Message-ID: <498E28DF.1060003@gmail.com> Marco Beishuizen wrote: > Hi, > > Trying to run OO-3.0.1 crashes OO with the following error messages and > ends into and enless loop trying to restart and crashing again: > ... > (soffice:2726): Gtk-WARNING **: GtkSpinButton: setting an adjustment > with non-zero page size is deprecated Xlib: extension "Generic Event > Extension" missing on display ":0.0". Xlib: extension "Generic Event > Extension" missing on display ":0.0". Xlib: extension "Generic Event > Extension" missing on display ":0.0". Xlib: extension "Generic Event > Extension" missing on display ":0.0". Xlib: extension "Generic Event > Extension" missing on display ":0.0". Xlib: extension "Generic Event > Extension" missing on display ":0.0". Xlib: extension "Generic Event > Extension" missing on display ":0.0". Xlib: extension "Generic Event > Extension" missing on display ":0.0". Xlib: extension "Generic Event > Extension" missing on display ":0.0". Xlib: extension "Generic Event > Extension" missing on display ":0.0". > ... > > I'm running FreeBSD-7.1-stable with x.org 7.4 with Gnome 2.24. > anyone an idea? > > Thanks in advance > Marco > > > Did you recompile OO after installing xorg-7.4? From opt1k2 at mail.ru Sat Feb 7 18:19:02 2009 From: opt1k2 at mail.ru (Alexey Beketov) Date: Sat Feb 7 18:19:18 2009 Subject: kerberos and openldap Message-ID: Hello, I'm trying to setup replace AD with samba, already have working samba+ldap. And stuck with kerberos. pkg_info: heimdal-1.0.1 nss_ldap-1.264_1 openldap-client-2.4.13 openldap-server-2.4.13 cat /etc/krb5.conf default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log [libdefaults] default_realm = DOMAIN.LOCAL [realms] DOMAIN.LOCAL = { admin_server = SERVER.DOMAIN.LOCAL default_domain = SERVER.DOMAIN.LOCAL kdc = SERVER.DOMAIN.LOCAL } [domain_realm] .domain.local = DOMAIN.LOCAL [kdc] database = { dbname = ldap:ou=KerberosPrincipals,dc=domain,dc=local acl_file = /var/heimdal/kadmind.acl } addresses = 127.0.0.1 192.168.6.23 cat /usr/local/etc/openldap/slapd.conf L: 1 C: 1 ===================================================================== include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema include /usr/local/etc/openldap/schema/misc.schema include /usr/local/etc/openldap/schema/nis.schema include /usr/local/etc/openldap/schema/openldap.schema include /usr/local/etc/openldap/schema/samba.schema include /usr/local/etc/openldap/schema/hdb.schema pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args modulepath /usr/local/libexec/openldap loglevel 256 logfile /var/db/openldap-data/slapd.log moduleload back_bdb allow update_anon access to attrs=userPassword,shadowLastChange,sambaNTPassword,sambaLMPassword by self write by anonymous auth by * none access to * by self write by anonymous read by sockurl="^ldapi:///$" write by * none database bdb suffix "dc=domain,dc=local" rootdn "cn=admin,dc=domain,dc=local" rootpw {SSHA}somepasshehe directory /var/db/openldap-data index uid,uidNumber,gidNumber,memberUid eq index cn,mail,surname,givenname eq,subinitial index sambaSID eq index sambaPrimaryGroupSID eq index sambaDomainName eq index objectClass eq #index cn eq,sub,pres #index uid eq,sub,pres index displayName eq,sub,pres index krb5PrincipalName eq server# kadmin -l kadmin> init DOMAIN.LOCAL Realm max ticket life [unlimited]: Realm max renewable ticket life [unlimited]: kadmin> add admin Max ticket life [1 day]: Max renewable life [1 week]: Principal expiration time [never]: Password expiration time [never]: Attributes []: admin@DOMAIN.LOCAL's Password: Verifying - admin@DOMAIN.LOCAL's Password: ***************************erro here*********************** admin@DOMAIN.LOCAL's Password: kinit: krb5_get_init_creds: Client (admin@DOMAIN.LOCAL) unknown *********************************************************** how to fix the error? From kitchetech at gmail.com Sat Feb 7 19:13:15 2009 From: kitchetech at gmail.com (matt donovan) Date: Sat Feb 7 19:13:24 2009 Subject: Custom build fails In-Reply-To: <498C2EE1.4090108@gmail.com> References: <28283d910902060427m5764b1q170d4441adf6b519@mail.gmail.com> <498C2EE1.4090108@gmail.com> Message-ID: <28283d910902071913q478af933vf62e728e85540196@mail.gmail.com> On Fri, Feb 6, 2009 at 7:36 AM, Matias Surdi wrote: > I'm currently running the following command: > > > # Make the release > cd /usr/src/release > make release \ > CHROOTDIR=/home/oms \ > BUILDNAME=OpenMailServer \ > CVSROOT=/home/ncvs \ > RELEASETAG=RELENG_7 \ > NODOC=YES \ > NO_FLOPPIES=YES \ > NOPORTS=YES \ > RELEASENOUPDATE=YES \ > MAKE_ISOS=YES \ > WORLD_FLAGS=" -DWITHOUT_TOOLCHAIN" \ > LOCAL_PATCHES=$DIR/oms.diff \ > LOCAL_SCRIPT=$DIR/local_script.sh \ > PATCH_FLAGS=-p3 > > > > Do you know how can set this up in order to get that variable to be on the > build process and not on the install/release process? > > Thank you very much for your help. > > Matias. > > > > > matt donovan wrote: > >> On Fri, Feb 6, 2009 at 7:08 AM, Matias Surdi >> wrote: >> >> Hi, I'm building a custom freeBSD release and I'm getting the following >>> error: >>> >>> -------------------------------------------------------------- >>> >>>> Building an up-to-date make(1) >>>>>> >>>>> -------------------------------------------------------------- >>> /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created for >>> /usr/src/usr.bin/make >>> rm -f .depend >>> mkdep -f .depend -a -I/usr/src/usr.bin/make >>> -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" >>> /usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c >>> /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c >>> /usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c >>> /usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c >>> /usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c >>> /usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c >>> /usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c >>> /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c >>> /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c >>> /usr/src/usr.bin/make/var.c >>> cc: not found >>> mkdep: compile failed >>> *** Error code 1 >>> >>> Stop in /usr/src/usr.bin/make. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> + exit 1 >>> + umount /dev >>> *** Error code 1 >>> >>> Stop in /usr/src/release. >>> >>> >>> >>> >>> >>> These are just the last lines, I can post the entire log if needed, but >>> it >>> is quite large. >>> >>> >>> The source code is from 7.0-RELEASE, and my src.conf is the following: >>> WITHOUT_ATM= >>> WITHOUT_AUTHPF= >>> WITHOUT_BIND= >>> WITHOUT_BLUETOOTH= >>> WITHOUT_CALENDAR= >>> WITHOUT_CDDL= >>> WITHOUT_CPP= >>> WITHOUT_CVS= >>> WITHOUT_CXX= >>> WITHOUT_DICT= >>> WITHOUT_EXAMPLES= >>> WITHOUT_FORTH= >>> WITHOUT_GAMES= >>> WITHOUT_GDB= >>> WITHOUT_GPIB= >>> WITHOUT_GROFF= >>> WITHOUT_GSSAPI= >>> WITHOUT_GESIOD= >>> WITHOUT_GNU= >>> WITHOUT_HTML= >>> WITHOUT_I4B= >>> WITHOUT_IDEA= >>> WITHOUT_INFO= >>> WITHOUT_IPFILTER= >>> WITHOUT_IPX= >>> WITHOUT_KERBEROS= >>> WITHOUT_LOCALES= >>> WITHOUT_LPR= >>> WITHOUT_MAN= >>> WITHOUT_NCP= >>> WITHOUT_NLS= >>> WITHOUT_NIS= >>> WITHOUT_OBJC= >>> WITHOUT_RCMDS= >>> WITHOUT_RCS= >>> WITHOUT_SENDMAIL= >>> WITHOUT_SHAREDOCS= >>> WITHOUT_SSP= >>> WITHOUT_TCSH= >>> WITHOUT_TOOLCHAIN= >>> WITHOUT_WPA_SUPPLICANT_EAPOOL= >>> WITHOUT_ZFS= >>> >>> >>> The problem seems to arise when any of WITHOUT_TOOLCHAIN, WITHOUT_CXX or >>> WITHOUTH_CPP are present. >>> >>> >>> On this build, I don't want to have any development tools, as I'm trying >>> to reduce the size at a minimum. >>> >>> Why is "make" being build? How can I avoid this? >>> >>> If you need more info in order to help me, tell me what do you need >>> please. >>> >>> Thanks for any help >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >> >> >> You need >> WITHOUT_TOOLCHAIN= to build you can add that after you do a build >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" > > Remove WITHOUT_TOOLCHAIN when building but when you do the install you can readd it I m not sure how you would do it using the make release though. From smithi at nimnet.asn.au Sat Feb 7 20:13:37 2009 From: smithi at nimnet.asn.au (Ian Smith) Date: Sat Feb 7 20:13:44 2009 Subject: #2 DNS Auto in KPPP in FreeBSD 7.1 In-Reply-To: <20090207175131.00DFB106572F@hub.freebsd.org> References: <20090207175131.00DFB106572F@hub.freebsd.org> Message-ID: <20090208142716.L38905@sola.nimnet.asn.au> On Sat, 07 Feb 2009 16:30:58 +0300 Dmitry wrote: > Hi to All! Sorry for my bad English. My problem: I am have 3G/EDGE > modem ZTE MF622+ and FreeBSD 7.1. In using KPPP (KDE 3.5.10) my modem > can't connect to EDGE provider, because in KPPP not enabled option > Auto DNS setting. If manually set this option, that says tech support > of provider, pppd print, that not connect and not determinate IP > adress. Why I can enable this option? In Linux this option is enabled > and all working fine. Thank you! pppd(8) has not had any serious work done on it for over two years, see http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/pppd/main.c There was some talk in -net of dropping support for it altogether. The KPPP authors have so far declined to consider adding support for FreeBSD's ppp(8), due perhaps to their primarily Linux orientation. I suggest instead using either ppp(8) - which is extensively supported by the FreeBSD Handbook and in the mailing lists - or the net/mpd5 port, which uses in-kernel netgraph modules. Both support fetching upstream DNS addresses. I happily used ppp(8) for 10 years, but now prefer mpd. cheers, Ian From tajudd at gmail.com Sun Feb 8 00:41:13 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Feb 8 00:41:19 2009 Subject: kerberos and openldap In-Reply-To: References: Message-ID: <498E9AA1.8030506@gmail.com> Alexey Beketov wrote: > Hello, I'm trying to setup replace AD with samba, already have working samba+ldap. And stuck with kerberos. > pkg_info: > heimdal-1.0.1 > nss_ldap-1.264_1 > openldap-client-2.4.13 > openldap-server-2.4.13 > > > cat /etc/krb5.conf > default = FILE:/var/log/krb5libs.log > kdc = FILE:/var/log/krb5kdc.log > admin_server = FILE:/var/log/kadmind.log > > [libdefaults] > default_realm = DOMAIN.LOCAL > > [realms] > DOMAIN.LOCAL = { admin_server = SERVER.DOMAIN.LOCAL > default_domain = SERVER.DOMAIN.LOCAL > kdc = SERVER.DOMAIN.LOCAL > } > > [domain_realm] > .domain.local = DOMAIN.LOCAL > > > [kdc] > database = { > dbname = ldap:ou=KerberosPrincipals,dc=domain,dc=local > acl_file = /var/heimdal/kadmind.acl > } > addresses = 127.0.0.1 192.168.6.23 > > cat /usr/local/etc/openldap/slapd.conf > L: 1 C: 1 ===================================================================== > include /usr/local/etc/openldap/schema/core.schema > include /usr/local/etc/openldap/schema/cosine.schema > include /usr/local/etc/openldap/schema/inetorgperson.schema > include /usr/local/etc/openldap/schema/misc.schema > include /usr/local/etc/openldap/schema/nis.schema > include /usr/local/etc/openldap/schema/openldap.schema > include /usr/local/etc/openldap/schema/samba.schema > include /usr/local/etc/openldap/schema/hdb.schema > > > pidfile /var/run/openldap/slapd.pid > > argsfile /var/run/openldap/slapd.args > > modulepath /usr/local/libexec/openldap > > > > > loglevel 256 > > logfile /var/db/openldap-data/slapd.log > > > moduleload back_bdb > > allow update_anon > > access to attrs=userPassword,shadowLastChange,sambaNTPassword,sambaLMPassword > by self write > by anonymous auth > by * none > > access to * > by self write > by anonymous read > by sockurl="^ldapi:///$" write > by * none > database bdb > > suffix "dc=domain,dc=local" > > rootdn "cn=admin,dc=domain,dc=local" > > rootpw {SSHA}somepasshehe > > directory /var/db/openldap-data > > > index uid,uidNumber,gidNumber,memberUid eq > index cn,mail,surname,givenname eq,subinitial > index sambaSID eq > index sambaPrimaryGroupSID eq > index sambaDomainName eq > index objectClass eq > #index cn eq,sub,pres > #index uid eq,sub,pres > index displayName eq,sub,pres > index krb5PrincipalName eq > > server# kadmin -l > kadmin> init DOMAIN.LOCAL > Realm max ticket life [unlimited]: > Realm max renewable ticket life [unlimited]: > kadmin> add admin > Max ticket life [1 day]: > Max renewable life [1 week]: > Principal expiration time [never]: > Password expiration time [never]: > Attributes []: > admin@DOMAIN.LOCAL's Password: > Verifying - admin@DOMAIN.LOCAL's Password: > > ***************************erro here*********************** > admin@DOMAIN.LOCAL's Password: > kinit: krb5_get_init_creds: Client (admin@DOMAIN.LOCAL) unknown > *********************************************************** > > how to fix the error? Have you read the FreeBSD handbook about kerberos? Have you setup the SRV records in DNS for kerberos? Those would be my first places to check. I'm not dedicating myself to do an open-source AD replacement, but it is something on my list I want to do soon. Your help and input would be appreciated, given my goal soon too. From tajudd at gmail.com Sun Feb 8 00:46:01 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Feb 8 00:46:08 2009 Subject: make installworld fails In-Reply-To: <139b44430902070810n4215d90at777c824b94161a2d@mail.gmail.com> References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> <873aeqcjw5.fsf@kobe.laptop> <139b44430902070810n4215d90at777c824b94161a2d@mail.gmail.com> Message-ID: <498E9BC7.5010808@gmail.com> Valentin Bud wrote: > Hello, > > This are the parts from /etc/make.conf regarding system build options: > # --- system build options > WITHOUT_IPFILTER=yes > WITHOUT_IPX=yes > WITHOUT_LPR=yes > WITHOUT_RCMDS=yes > WITHOUT_SENDMAIL=yes > > I didn't give any arguments to > # make buildworld or > # make installworld > > I have ran them as i've typed them above. > > Is there something wrong in /etc/make.conf ? I should make sure it's mentioned -- FreeBSD 7.x started an /etc/src.conf that are the knobs for FreeBSD world ONLY. This leaves /etc/make.conf available for ports ONLY. I'd update your files, because there's a possibility your WITHOUT_ statements were ignored. --Tim From tajudd at gmail.com Sun Feb 8 00:51:51 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Feb 8 00:52:00 2009 Subject: installkernel on small disk In-Reply-To: <20090206202032.GB76165@obspm.fr> References: <20090206202032.GB76165@obspm.fr> Message-ID: <498E9D26.3090804@gmail.com> Albert Shih wrote: > Hi all > > I've two servers (in fact guest in vmware) on don't have enought disk space > to make buildkernel (or world). > > For the world freebsd-update can work. But for the kernel I've my own > kernel. > > So if I compile the kernel on the other server how can I put it on the > first ? > > Regards. > > With an NFS mount, with sneakernet, or scp. On the machine with enough disk space: make buildkernel installkernel DESTDIR=/nfsmount KERNCONF=otherkernel #hackish and i'd be worried of this. It will force a backup of the running kernel to the remote /boot/kernel.old I'd recommend: make buildkernel installkernel DESTDIR=/tmp KERNCONF=otherkernel tar -czf /tmp/otherkernel.tgz /tmp/boot/kernel # bring the otherkernel.tgz file to the machine, maybe by usb stick, and extract. don't forget to tar -xz*p*f (permissions) How thin on disk space are you? From keramida at ceid.upatras.gr Sun Feb 8 01:03:36 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun Feb 8 01:03:43 2009 Subject: make installworld fails In-Reply-To: <498E9BC7.5010808@gmail.com> (Tim Judd's message of "Sun, 08 Feb 2009 01:45:59 -0700") References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> <873aeqcjw5.fsf@kobe.laptop> <139b44430902070810n4215d90at777c824b94161a2d@mail.gmail.com> <498E9BC7.5010808@gmail.com> Message-ID: <87ab8x2tcw.fsf@kobe.laptop> On Sun, 08 Feb 2009 01:45:59 -0700, Tim Judd wrote: > I should make sure it's mentioned -- > FreeBSD 7.x started an /etc/src.conf that are the knobs for FreeBSD > world ONLY. This leaves /etc/make.conf available for ports ONLY. > > I'd update your files, because there's a possibility your WITHOUT_ > statements were ignored. IIRC, src.conf works in _addition_ to make.conf so having options in either one should be safe I think. The advice of keeping options cleanly separated is very sound though, to avoid confusion when these two files have conflicting options :-) From glen.j.barber at gmail.com Sun Feb 8 01:20:50 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Feb 8 01:20:59 2009 Subject: How to compile a network driver given source code In-Reply-To: <4ad871310902071013j63815054u76c763ed63564103@mail.gmail.com> References: <4ad871310902071013j63815054u76c763ed63564103@mail.gmail.com> Message-ID: <4ad871310902080120w16235c26wcf8d214291faf79a@mail.gmail.com> On Sat, Feb 7, 2009 at 1:13 PM, Glen Barber wrote: > On Sat, Feb 7, 2009 at 12:36 PM, Amer Alhabsi wrote: >> Hi, >> >> I have Benq Joybook R43 notebook. It has network interface based on SiS 191. >> However, I can't configure it as it does not show up in ifconfig nor in >> sysinstall/configure/networking/interfaces. Dmesg says: No Driver Attached. >> >> After some search I found that someone has written a driver but it >> hasn't been put int the official FreeBSD release. I want to try my >> luck with the driver. My question is where to place the source code >> files? and how to compile it (I assume it can be part of a kernel >> rebuild if placed in the right directory) >> >> The source code for the driver consists of the 3 files: if_sis19x.c, >> if_sis19xreg.h and Makefile. >> > > Edit the Makefile to match the standard installation directories that > FreeBSD uses (/usr/local), and use `make'. Depending on what the > drivers needs are, you may have to edit more. > Erm... I must've had a synaptic misfire. Not /usr/local, but /boot/modules. -- Glen Barber From kris at FreeBSD.org Sun Feb 8 01:26:58 2009 From: kris at FreeBSD.org (Kris Kennaway) Date: Sun Feb 8 01:27:05 2009 Subject: FreeBSD 6.3/7.1 and Linux disk performance test In-Reply-To: <75a268720902070000r7dbe758aq60454092fcab0198@mail.gmail.com> References: <75a268720902070000r7dbe758aq60454092fcab0198@mail.gmail.com> Message-ID: <498EA55F.5020904@FreeBSD.org> Omer Faruk Sen wrote: > as you can see there is a big difference in just simple dd test. Is > there additional steps that I can follow to increase performance? Use a benchmark that matches your actual workload, and then see how things look. I would be surprised if your target workload was "dd" :-) Kris From kris at FreeBSD.org Sun Feb 8 01:48:38 2009 From: kris at FreeBSD.org (Kris Kennaway) Date: Sun Feb 8 01:48:45 2009 Subject: is there any way to increase disk performance ? In-Reply-To: <498A7F31.30206@gmail.com> References: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> <498A7F31.30206@gmail.com> Message-ID: <498D87BD.3040305@FreeBSD.org> Tim Judd wrote: > Yavuz wrote: >> I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. >> >> it's running mail server which has services like pop3,imap,smtp and >> webmail on this machine. >> >> When I type systat 1 -vmstat on command line, even I rarely see that >> disk usage hits 100%. >> I have no problem as ram and cpu. they is enough. >> >> is there any way to increase disk performance without causing any >> problem ? >> > > So in one second, the disk hits 100% utilization, weather it's reading > or writing data to disk. You said above that "I rarely see" -- so even > though, as a server, you're running slow spindles, you are doing pretty > good. > > I've no real experience with a site that's (for example) been > slashdotted, to test what is tolerable, and what's not. But as I > currently guess, an OVERALL average between 25% to 33% is about as much > as I would ever tax a server for CONSISTENT averages. > > So if you're seeing it rarely, such as when somebody hits webmail and > takes 1 second of constant disk read to serve the content, I'd be happy > there... > > I don't think you have a problem, when you put your concern into the > broader scope of 1 minute, 1 hour, 1 day or 1 week. It'll be very > difficult to never see 100% in 1 second no matter how powerful the > machine is. Make sure you understand that gstat's "%busy" column does not tell you how close to capacity your disk is, it tells you what % of time it is handling I/O. Since modern drives can have many commands queued at any given time, those are not the same thing. To understand whether your disk is overloaded, look at the ms/r and ms/w times. Kris From fam.vanderschaft at kpnplanet.nl Sun Feb 8 02:23:35 2009 From: fam.vanderschaft at kpnplanet.nl (Familie van der Schaft) Date: Sun Feb 8 02:23:42 2009 Subject: 7.1 release / apache22 / php5 References: <4962AB3A.9030108@ccstores.com><20090106023104.GA24401@teddy.fas.com> <4962C2FE.8070006@gmail.com> Message-ID: <09e601c989d6$0eb77300$0600080a@dionysus> LS, I hav e the same problem with 7.0 release. The libphp5.so is placed by the php5 port. When you deinstall php5, make clean, make config (check apache module), make install,...the libphp5.so is placed in the libexec directory. Or with clean installation, first install apache22 then php5. Danny van der Schaft ----- Original Message ----- From: "Glen Barber" To: "Jim Pazarena" ; Sent: Tuesday, January 06, 2009 3:33 AM Subject: Re: 7.1 release / apache22 / php5 > stan wrote: > > On Mon, Jan 05, 2009 at 04:52:10PM -0800, Jim Pazarena wrote: > > > >> for some odd reason, with this latest install (7.1), apache22 complains > >> that it cannot find libphp5.so > >> I usually compile php5 from ports > >> and apache22 from ports > >> after I think about it, I have never actually placed libphp5.so anywhere. I > >> am not even sure who/what > >> causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so > >> it's present on my 7.0 system, and missing on my 7.1 system. > >> advice would be much appreciated. > >> > > > > I don't know if it's a change, but on the 7.1 machine I just built. the > > lang/php5 port was not configured by default to build the Apache module. > > > > > It's been that way as far as I can remember (at least since 6.2-RELEASE). > > -- > Glen Barber > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ---------------------------------------------------------------------------- ---- No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.2/1874 - Release Date: 4-1-2009 16:32 From valentin.bud at gmail.com Sun Feb 8 02:29:49 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Sun Feb 8 02:29:57 2009 Subject: make installworld fails In-Reply-To: <498E9BC7.5010808@gmail.com> References: <139b44430902070752g17296e5cr6a910baa6c15386a@mail.gmail.com> <873aeqcjw5.fsf@kobe.laptop> <139b44430902070810n4215d90at777c824b94161a2d@mail.gmail.com> <498E9BC7.5010808@gmail.com> Message-ID: <139b44430902080229m29348dd0k99f575dbf45a7f15@mail.gmail.com> On Sun, Feb 8, 2009 at 10:45 AM, Tim Judd wrote: > Valentin Bud wrote: > >> Hello, >> >> This are the parts from /etc/make.conf regarding system build options: >> # --- system build options >> WITHOUT_IPFILTER=yes >> WITHOUT_IPX=yes >> WITHOUT_LPR=yes >> WITHOUT_RCMDS=yes >> WITHOUT_SENDMAIL=yes >> >> I didn't give any arguments to >> # make buildworld or >> # make installworld >> >> I have ran them as i've typed them above. >> >> Is there something wrong in /etc/make.conf ? >> > > > I should make sure it's mentioned -- > FreeBSD 7.x started an /etc/src.conf that are the knobs for FreeBSD world > ONLY. This leaves /etc/make.conf available for ports ONLY. > > I'd update your files, because there's a possibility your WITHOUT_ > statements were ignored. Thanks for the heads up. I will start right away to move and "organize" these files. :) a great day, v > > > --Tim > From jonathan+freebsd-questions at hst.org.za Sun Feb 8 04:08:39 2009 From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown) Date: Sun Feb 8 04:08:46 2009 Subject: shell commands - exclusion In-Reply-To: <498B8A7F.2060906@onetel.com> References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> <498B8A7F.2060906@onetel.com> Message-ID: <200902081412.15509.jonathan+freebsd-questions@hst.org.za> On Friday 06 February 2009 02:55, Chris Whitehouse wrote: > > I think you should be able to do it with a combination of -prune and > -delete (or -exec rm -rf {} \; ) on a find command. Substitute your > other commands for rm -rf in the -exec above. > > I would give you a working example except I can't figure out the syntax > for -prune. Examples from google don't seem to work in (my) FreeBSD. [skip to the end for a simple answer without the lengthy exposition] find(1) can be confusing, especially if you think of the ``actions'' ( -print, -exec and -delete plus their variants like -ls and -ok ) as something different from the ``tests'' ( -name and so on), or if you don't take account of the evaluation order. A find expression comprises a number of what the manpage calls primaries, each of which evaluates as true or false. (It may also have a side-effect, like -print whose side-effect is to print the name). Primaries can be combined with -and (which is usually implied) or -or. Where -and and -or both occur, find will group the -anded primaries together before evaluation. Taking one of your examples below, find . -print -or -prune -name dir1 this is grouped as find . -print -or \( -prune -and -name dir1 \) find will then evaluate the whole expression from left to right for each pathname in the tree it's looking at, stopping within each set of (implied) parentheses and within the overall expression as soon as it can determine truth or falsehood. (This is what's referred to in programming as short-circuiting in boolean expressions). If primaries are linked by -and, find can stop at the first one that's false, knowing the expression is false; if they're linked by -or it can stop at the first one that's true, knowing the expression is true. Otherwise it has to evaluate the whole expression. Before it does this, though, find checks for side-effects. If there isn't a side-effect anywhere in your expression, find will put brackets round the whole expression and a -print after it. Looking at your examples: > chrisw@pcbsd% find . (No expression). Find adds a -print, so this is the same as the next one: > chrisw@pcbsd% find . -print > . > ./test.mov > ./test.mpg > ./dir1 > ./dir1/file1 > ./dir1/file2 > ./file3 -print is always true so the expression is true for each name - they get printed as a side-effect. > chrisw@pcbsd% find . -print -o -prune dir1 > find: dir1: unknown option -prune doesn't take an argument, so dir1 is a syntax error. > chrisw@pcbsd% find . -print -o -prune -name dir1 find evaluates the print, which prints each name as its side-effect. -print evaluates as true. Since it's in an -or, find can stop there, so it never sees the second expression ( -prune -and -name dir1: the -and is implicit). > . > ./test.mov > ./test.mpg > ./dir1 > ./dir1/file1 > ./dir1/file2 > ./file3 > chrisw@pcbsd% find . -print -o -name dir1 -prune Same again: find stops after the -print which is always true, and ignores the -name dir1 -and -prune. > chrisw@pcbsd% find . -name "*" -o -name dir1 -prune None of these primaries has a side-effect, so find rewrites this internally as find . \( -name "*" -or -name dir1 -prune \) -print -name "*" is always true, so find can ignore everything after the -or up to the parenthesis. Because the first expression is true, and the parens are followed by (an implied) -and, find has to evaluate the -print, which is always true, so the whole expression is always true and it always prints the name as a side-effect. > . > ./test.mov > ./test.mpg > ./dir1 > ./dir1/file1 > ./dir1/file2 > ./file3 What you need is an expression with two outcomes: a -prune for some names and a -print for others. That tells you you need an -or, and the -print must come after it because it's always true. Before the -or, -prune is always true so you need some sort of testing primary before the -prune. That gives you find . -name dir1 -prune -or -print Jonathan From bruce at cran.org.uk Sun Feb 8 04:10:52 2009 From: bruce at cran.org.uk (Bruce Cran) Date: Sun Feb 8 04:10:58 2009 Subject: How to compile a network driver given source code In-Reply-To: <4ad871310902080120w16235c26wcf8d214291faf79a@mail.gmail.com> References: <4ad871310902071013j63815054u76c763ed63564103@mail.gmail.com> <4ad871310902080120w16235c26wcf8d214291faf79a@mail.gmail.com> Message-ID: <20090208121044.5e3be1a3@gluon> On Sun, 8 Feb 2009 04:20:48 -0500 Glen Barber wrote: > On Sat, Feb 7, 2009 at 1:13 PM, Glen Barber > wrote: > > On Sat, Feb 7, 2009 at 12:36 PM, Amer Alhabsi > > wrote: > >> Hi, > >> > >> I have Benq Joybook R43 notebook. It has network interface based > >> on SiS 191. However, I can't configure it as it does not show up > >> in ifconfig nor in sysinstall/configure/networking/interfaces. > >> Dmesg says: No Driver Attached. > >> > >> After some search I found that someone has written a driver but it > >> hasn't been put int the official FreeBSD release. I want to try my > >> luck with the driver. My question is where to place the source code > >> files? and how to compile it (I assume it can be part of a kernel > >> rebuild if placed in the right directory) > >> > >> The source code for the driver consists of the 3 files: > >> if_sis19x.c, if_sis19xreg.h and Makefile. > >> > > > > Edit the Makefile to match the standard installation directories > > that FreeBSD uses (/usr/local), and use `make'. Depending on what > > the drivers needs are, you may have to edit more. > > > > Erm... I must've had a synaptic misfire. Not /usr/local, > but /boot/modules. /boot/modules doesn't seem to be used any more: modules are put into /boot/ which is /boot/kernel by default. -- Bruce Cran From glen.j.barber at gmail.com Sun Feb 8 04:13:47 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Feb 8 04:13:54 2009 Subject: How to compile a network driver given source code In-Reply-To: <20090208121044.5e3be1a3@gluon> References: <4ad871310902071013j63815054u76c763ed63564103@mail.gmail.com> <4ad871310902080120w16235c26wcf8d214291faf79a@mail.gmail.com> <20090208121044.5e3be1a3@gluon> Message-ID: <4ad871310902080413t1d228d48va9dfbd878d832816@mail.gmail.com> On Sun, Feb 8, 2009 at 7:10 AM, Bruce Cran wrote: > > /boot/modules doesn't seem to be used any more: modules are put > into /boot/ which is /boot/kernel by default. > /boot/modules is still used. My ndis0 driver is located in /boot/modules and loaded via /boot/loader.conf at startup. -- Glen Barber From nicolas at nicoelro.net Sun Feb 8 04:31:26 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sun Feb 8 04:31:33 2009 Subject: Problem when uploading files with Apache Message-ID: <20090208133123.401c8d1a.nicolas@nicoelro.net> Hello. I use apache13 with FreeBSD 6.3. I have some websites, in : /var/www/sites/site1 /var/www/sites/site2 I use PHP 5 (compiled in apache module). The rights are: ls -ls /var/www/sites/site1: www:site1 All files are owned by www user. All files are grouped in site{1,2} group. I have a php script in /var/www/sites/site1. I call it with www.domain.com/test.php. If, in my php page, I create a folder (in /var/www/sites/site1/), it have www:site1 in rights. Ok, it's good. However, if I create a file, it have www:wheel in rights. What's the problem? Apache runs in www:www. I does not have folder grouped in wheel group. Why Apache set 'wheel' as group when I upload a file? Do you have advices, solutions... ? Thanks! -- -Nicolas. From nrml at att.net Sun Feb 8 04:41:13 2009 From: nrml at att.net (Gabe) Date: Sun Feb 8 04:41:20 2009 Subject: FreeBSD Preferred RAID controllers Message-ID: <71389.13229.qm@web83816.mail.sp1.yahoo.com> Hello, I have to build a file server that will need to run a RAID 0+1 config and I'm looking for the best RAID controllers that run under Freebsd. My entire goal with using RAID 0+1 is having redundancy while utilizing most of the disk space. I realize the potential problems with this setup, the failure of the OS disk and booting for one and also dealing with the possibility of two drives failing within the same set. I guess I can deal with that(?) Anyway, What controllers have you found work well for you on F*BSD? From wojtek at wojtek.tensor.gdynia.pl Sun Feb 8 04:46:10 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Feb 8 04:46:17 2009 Subject: FreeBSD Preferred RAID controllers In-Reply-To: <71389.13229.qm@web83816.mail.sp1.yahoo.com> References: <71389.13229.qm@web83816.mail.sp1.yahoo.com> Message-ID: <20090208134523.Y53651@wojtek.tensor.gdynia.pl> > I have to build a file server that will need to run a RAID 0+1 config the best is gmirror+gstripe. of course for those who want to pay there are a lot of "hardware" solutions. From nicolas at nicoelro.net Sun Feb 8 04:56:25 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sun Feb 8 04:56:34 2009 Subject: Problem when uploading files with Apache In-Reply-To: <4ad871310902080450r39b89f85uc1668657f55ee4d6@mail.gmail.com> References: <20090208133123.401c8d1a.nicolas@nicoelro.net> <4ad871310902080450r39b89f85uc1668657f55ee4d6@mail.gmail.com> Message-ID: <20090208135624.72f60572.nicolas@nicoelro.net> On Sun, 8 Feb 2009 07:50:34 -0500 Glen Barber wrote: > On Sun, Feb 8, 2009 at 7:31 AM, Nicolas Letellier wrote: > > Hello. > > > > I use apache13 with FreeBSD 6.3. > > I have some websites, in : > > /var/www/sites/site1 > > /var/www/sites/site2 > > > > I use PHP 5 (compiled in apache module). > > > > The rights are: > > > > ls -ls /var/www/sites/site1: www:site1 > > > > All files are owned by www user. All files are grouped in site{1,2} group. > > > > I have a php script in /var/www/sites/site1. I call it with www.domain.com/test.php. If, in my php page, I create a folder (in /var/www/sites/site1/), it have www:site1 in rights. Ok, it's good. However, if I create a file, it have www:wheel in rights. > > > > What's the problem? > > > > Apache runs in www:www. I does not have folder grouped in wheel group. > > > > Why Apache set 'wheel' as group when I upload a file? > > > > Do you have advices, solutions... ? > > > > I haven't used 1.3 in years... I don't think www:www is proper, but I > may be wrong. With 2.2.X, the permissions are root:wheel. What > happens when you execute the page? What is printed the error log? Thanks for your response. I have another FreeBSD (7.0) and Apache 1.3, and it works. On this machine (6.3) it does not work. When I upload a FILE, the rights are root:wheel ; when I create a folder, the rights are www:site1. www:site1 are rights of all files. The problem is... I don't understand the "wheel". Apache does not run in wheel. All my folders/files are not grouped by "wheel". I don't understand WHY apache set 'wheel' in group... I have nothing in log. Because there are no errors... All is ok... Just the rights...... -- -Nicolas. From glen.j.barber at gmail.com Sun Feb 8 05:01:15 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Feb 8 05:01:22 2009 Subject: Problem when uploading files with Apache In-Reply-To: <20090208135624.72f60572.nicolas@nicoelro.net> References: <20090208133123.401c8d1a.nicolas@nicoelro.net> <4ad871310902080450r39b89f85uc1668657f55ee4d6@mail.gmail.com> <20090208135624.72f60572.nicolas@nicoelro.net> Message-ID: <4ad871310902080501y7bcfc7ev202aa5e81f5b2050@mail.gmail.com> On Sun, Feb 8, 2009 at 7:56 AM, Nicolas Letellier wrote: > I have another FreeBSD (7.0) and Apache 1.3, and it works. On this machine (6.3) it does not work. What do you mean it does not work. You state below there are no errors. If it "does not work" there should be errors. > The problem is... I don't understand the "wheel". Apache does not run in wheel. All my folders/files are not grouped by "wheel". 'wheel' is root's default group. > > I have nothing in log. Because there are no errors... All is ok... Just the rights...... > But you say above "it does not work." -- Glen Barber From nicolas at nicoelro.net Sun Feb 8 05:11:01 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sun Feb 8 05:11:11 2009 Subject: Problem when uploading files with Apache In-Reply-To: <4ad871310902080501y7bcfc7ev202aa5e81f5b2050@mail.gmail.com> References: <20090208133123.401c8d1a.nicolas@nicoelro.net> <4ad871310902080450r39b89f85uc1668657f55ee4d6@mail.gmail.com> <20090208135624.72f60572.nicolas@nicoelro.net> <4ad871310902080501y7bcfc7ev202aa5e81f5b2050@mail.gmail.com> Message-ID: <20090208141101.1c18bbc8.nicolas@nicoelro.net> On Sun, 8 Feb 2009 08:01:13 -0500 Glen Barber wrote: > On Sun, Feb 8, 2009 at 7:56 AM, Nicolas Letellier wrote: > > I have another FreeBSD (7.0) and Apache 1.3, and it works. On this machine (6.3) it does not work. > > What do you mean it does not work. You state below there are no > errors. If it "does not work" there should be errors. It does not work because Apache don't set 'good rights'. Without error. So, for Apache, there are no errors. For me, yes. It is not normal that the rights are www:wheel. > > The problem is... I don't understand the "wheel". Apache does not run in wheel. All my folders/files are not grouped by "wheel". > > 'wheel' is root's default group. But it is not the www's default group. And Apache runs a www user. I *never* launch my scripts as root. So, that's why I don't understand. > > > > I have nothing in log. Because there are no errors... All is ok... Just the rights...... > > > > But you say above "it does not work." It does not work because apache set www:wheel on rights when I UPLOAD a file ; on the other hand, when I create file/folder, the rights are www:www. When I launch this very simple script: ./aaa file is created with www:www. So, anybody could explain me when I upload a file, rights are www:wheel? And WHY wheel group is used? This group may never be used for Apache. -- -Nicolas. From freminlins at gmail.com Sun Feb 8 05:29:23 2009 From: freminlins at gmail.com (Freminlins) Date: Sun Feb 8 05:29:41 2009 Subject: 10gb network interface suggestions In-Reply-To: <20090207155913.M50096@wojtek.tensor.gdynia.pl> References: <75a268720902070356v51fa601cy98889f272d724555@mail.gmail.com> <20090207155913.M50096@wojtek.tensor.gdynia.pl> Message-ID: 2009/2/7 Wojciech Puchar > But also I am open to other brands. Especially If anyone has >> experience on that this matter would be very very helpful. I have seen >> that Sun has quad 10gbE adapters: >> http://www.sun.com/products/networking/ethernet/10gigethernet/index.xml >> I am not sure if FreeBSD supports that? >> > > could you please explain ANY CASE when 4*10GbE/s could be utilized. > > it's 5 GIGABYTES/s each direction. computer memory subsystem is rarely > faster > To be fair, the adaptor on the link is a dual port device (I looked with interest!), and Sun states the maximum is 16Gb/s aggregrate. A machine that is multi homed on 10G networks could use all ports. It doesn't mean it has to do 10G of traffic all the time. From mbeis at xs4all.nl Sun Feb 8 05:29:25 2009 From: mbeis at xs4all.nl (Marco Beishuizen) Date: Sun Feb 8 05:29:43 2009 Subject: openoffice-3.0.1 broken on FreeBSD In-Reply-To: <498E28DF.1060003@gmail.com> References: <20090208011726.13ef1a93@yokozuna.lan> <498E28DF.1060003@gmail.com> Message-ID: <20090208141917.22d443c7@yokozuna.lan> On Sat, 07 Feb 2009 19:35:43 -0500 "Aryeh M. Friedman" wrote: > Did you recompile OO after installing xorg-7.4? Yes, xorg was updated some days ago. I upgraded OO yesterday. -- The only thing better than love is milk. From freebsd-questions-local at be-well.ilk.org Sun Feb 8 05:54:04 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sun Feb 8 05:54:12 2009 Subject: Problem when uploading files with Apache In-Reply-To: <20090208141101.1c18bbc8.nicolas@nicoelro.net> (Nicolas Letellier's message of "Sun\, 8 Feb 2009 14\:11\:01 +0100") References: <20090208133123.401c8d1a.nicolas@nicoelro.net> <4ad871310902080450r39b89f85uc1668657f55ee4d6@mail.gmail.com> <20090208135624.72f60572.nicolas@nicoelro.net> <4ad871310902080501y7bcfc7ev202aa5e81f5b2050@mail.gmail.com> <20090208141101.1c18bbc8.nicolas@nicoelro.net> Message-ID: <44y6whyqyw.fsf@lowell-desk.lan> Nicolas Letellier writes: > So, anybody could explain me when I upload a file, rights are www:wheel? I'm going to guess that it's just inheriting the group from the directory. The normal default in BSD is for a file to get the gid of the directory. The directory you are uploading into should be owned by the group you want the files to have. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From nrml at att.net Sun Feb 8 05:57:34 2009 From: nrml at att.net (Gabe) Date: Sun Feb 8 05:57:41 2009 Subject: FreeBSD Preferred RAID controllers In-Reply-To: <20090208134523.Y53651@wojtek.tensor.gdynia.pl> Message-ID: <30768.94964.qm@web83808.mail.sp1.yahoo.com> --- On Sun, 2/8/09, Wojciech Puchar wrote: > From: Wojciech Puchar > Subject: Re: FreeBSD Preferred RAID controllers > To: "Gabe" > Cc: freebsd-questions@freebsd.org > Date: Sunday, February 8, 2009, 4:45 AM > > I have to build a file server that will need to run a > RAID 0+1 config > > the best is gmirror+gstripe. of course for those who want > to pay there are a lot of "hardware" solutions. > _______________________________________________ Hey I'm all for saving money, but I'm unsure of the reliability of a 'software' solution vs a hardware one. Not to mention my biggest concern which is the failure of the Boot drive and how to recover from that using software raid. Thanks From nicolas at nicoelro.net Sun Feb 8 06:02:38 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sun Feb 8 06:02:45 2009 Subject: Problem when uploading files with Apache In-Reply-To: <44y6whyqyw.fsf@lowell-desk.lan> References: <20090208133123.401c8d1a.nicolas@nicoelro.net> <4ad871310902080450r39b89f85uc1668657f55ee4d6@mail.gmail.com> <20090208135624.72f60572.nicolas@nicoelro.net> <4ad871310902080501y7bcfc7ev202aa5e81f5b2050@mail.gmail.com> <20090208141101.1c18bbc8.nicolas@nicoelro.net> <44y6whyqyw.fsf@lowell-desk.lan> Message-ID: <20090208150237.deaf37df.nicolas@nicoelro.net> On Sun, 08 Feb 2009 08:53:59 -0500 Lowell Gilbert wrote: > Nicolas Letellier writes: > > > So, anybody could explain me when I upload a file, rights are www:wheel? > > I'm going to guess that it's just inheriting the group from the > directory. The normal default in BSD is for a file to get the gid > of the directory. The directory you are uploading into should be owned > by the group you want the files to have. That's I always learn. But in this case, it's not true. I upload into "testdir/" which has www:www rights. And I launch my upload script, and the file is www:wheel ........ I don't understand. I'm on this problem for 4 hours, and I don't find the solution................ -- -Nicolas. From glen.j.barber at gmail.com Sun Feb 8 06:09:48 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Feb 8 06:09:54 2009 Subject: Problem when uploading files with Apache In-Reply-To: <20090208150237.deaf37df.nicolas@nicoelro.net> References: <20090208133123.401c8d1a.nicolas@nicoelro.net> <4ad871310902080450r39b89f85uc1668657f55ee4d6@mail.gmail.com> <20090208135624.72f60572.nicolas@nicoelro.net> <4ad871310902080501y7bcfc7ev202aa5e81f5b2050@mail.gmail.com> <20090208141101.1c18bbc8.nicolas@nicoelro.net> <44y6whyqyw.fsf@lowell-desk.lan> <20090208150237.deaf37df.nicolas@nicoelro.net> Message-ID: <4ad871310902080609h4e2326ddn41cd9c475406bb7f@mail.gmail.com> On Sun, Feb 8, 2009 at 9:02 AM, Nicolas Letellier wrote: > > That's I always learn. But in this case, it's not true. > I upload into "testdir/" which has www:www rights. > > And I launch my upload script, and the file is www:wheel > What are the permissions on the file you are uploading? -- Glen Barber From nrml at att.net Sun Feb 8 06:11:28 2009 From: nrml at att.net (Gabe) Date: Sun Feb 8 06:11:35 2009 Subject: Problem when uploading files with Apache In-Reply-To: <20090208150237.deaf37df.nicolas@nicoelro.net> Message-ID: <880806.66622.qm@web83814.mail.sp1.yahoo.com> --- On Sun, 2/8/09, Nicolas Letellier wrote: > From: Nicolas Letellier > Subject: Re: Problem when uploading files with Apache > To: "FreeBSD Questions" > Cc: "Glen Barber" , "Lowell Gilbert" > Date: Sunday, February 8, 2009, 6:02 AM > On Sun, 08 Feb 2009 08:53:59 -0500 > Lowell Gilbert > wrote: > > > Nicolas Letellier writes: > > > > > So, anybody could explain me when I upload a > file, rights are www:wheel? > > > > I'm going to guess that it's just inheriting > the group from the > > directory. The normal default in BSD is for a file to > get the gid > > of the directory. The directory you are uploading > into should be owned > > by the group you want the files to have. > > That's I always learn. But in this case, it's not > true. > I upload into "testdir/" which has www:www > rights. > > And I launch my upload script, and the file is www:wheel > > ........ > > I don't understand. > I'm on this problem for 4 hours, and I don't find > the solution................ > -- > -Nicolas. 'www' wouldn't happen to be in the wheel group would it? From nicolas at nicoelro.net Sun Feb 8 06:14:04 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sun Feb 8 06:14:12 2009 Subject: Problem when uploading files with Apache In-Reply-To: <880806.66622.qm@web83814.mail.sp1.yahoo.com> References: <20090208150237.deaf37df.nicolas@nicoelro.net> <880806.66622.qm@web83814.mail.sp1.yahoo.com> Message-ID: <20090208151404.e8b35f0c.nicolas@nicoelro.net> On Sun, 8 Feb 2009 06:11:27 -0800 (PST) Gabe wrote: > --- On Sun, 2/8/09, Nicolas Letellier wrote: > > > From: Nicolas Letellier > > Subject: Re: Problem when uploading files with Apache > > To: "FreeBSD Questions" > > Cc: "Glen Barber" , "Lowell Gilbert" > > Date: Sunday, February 8, 2009, 6:02 AM > > On Sun, 08 Feb 2009 08:53:59 -0500 > > Lowell Gilbert > > wrote: > > > > > Nicolas Letellier writes: > > > > > > > So, anybody could explain me when I upload a > > file, rights are www:wheel? > > > > > > I'm going to guess that it's just inheriting > > the group from the > > > directory. The normal default in BSD is for a file to > > get the gid > > > of the directory. The directory you are uploading > > into should be owned > > > by the group you want the files to have. > > > > That's I always learn. But in this case, it's not > > true. > > I upload into "testdir/" which has www:www > > rights. > > > > And I launch my upload script, and the file is www:wheel > > > > ........ > > > > I don't understand. > > I'm on this problem for 4 hours, and I don't find > > the solution................ > > -- > > -Nicolas. > > 'www' wouldn't happen to be in the wheel group would it? No, www is not a member of wheel group. -- -Nicolas. From nicolas at nicoelro.net Sun Feb 8 06:16:53 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sun Feb 8 06:17:05 2009 Subject: Problem when uploading files with Apache In-Reply-To: <4ad871310902080609h4e2326ddn41cd9c475406bb7f@mail.gmail.com> References: <20090208133123.401c8d1a.nicolas@nicoelro.net> <4ad871310902080450r39b89f85uc1668657f55ee4d6@mail.gmail.com> <20090208135624.72f60572.nicolas@nicoelro.net> <4ad871310902080501y7bcfc7ev202aa5e81f5b2050@mail.gmail.com> <20090208141101.1c18bbc8.nicolas@nicoelro.net> <44y6whyqyw.fsf@lowell-desk.lan> <20090208150237.deaf37df.nicolas@nicoelro.net> <4ad871310902080609h4e2326ddn41cd9c475406bb7f@mail.gmail.com> Message-ID: <20090208151652.ff6fad3f.nicolas@nicoelro.net> On Sun, 8 Feb 2009 09:09:45 -0500 Glen Barber wrote: > On Sun, Feb 8, 2009 at 9:02 AM, Nicolas Letellier wrote: > > > > That's I always learn. But in this case, it's not true. > > I upload into "testdir/" which has www:www rights. > > > > And I launch my upload script, and the file is www:wheel > > > > What are the permissions on the file you are uploading? I'm uploading the file from a web client. This is a php script. I have another FreeBSD (7.0), with the SAME apache, and I don't have the problem on it. Files uploaded are www:www (normal). On my machine (6.3), with the SAME apache, files uploaded are www:wheel. I set the *same* php script, I send the same file. I'm looking for differences between them, but none. -- -Nicolas. From roberthuff at rcn.com Sun Feb 8 06:24:30 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Feb 8 06:24:38 2009 Subject: LOR listing? Message-ID: <18830.60186.503830.919832@jerusalem.litteratus.org> There was at one time a list of lock order reversals, presumably at http://sources.zabbadoz.net/freebsd/lor.html I am unable to connect to that address. Has the address changed, or is the site experiencing problems? Robert Huff From nicolas at nicoelro.net Sun Feb 8 06:33:14 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sun Feb 8 06:33:20 2009 Subject: Problem when uploading files with Apache In-Reply-To: <880806.66622.qm@web83814.mail.sp1.yahoo.com> References: <20090208150237.deaf37df.nicolas@nicoelro.net> <880806.66622.qm@web83814.mail.sp1.yahoo.com> Message-ID: <20090208153313.ffdac3f9.nicolas@nicoelro.net> On Sun, 8 Feb 2009 06:11:27 -0800 (PST) Gabe wrote: > --- On Sun, 2/8/09, Nicolas Letellier wrote: > > > From: Nicolas Letellier > > Subject: Re: Problem when uploading files with Apache > > To: "FreeBSD Questions" > > Cc: "Glen Barber" , "Lowell Gilbert" > > Date: Sunday, February 8, 2009, 6:02 AM > > On Sun, 08 Feb 2009 08:53:59 -0500 > > Lowell Gilbert > > wrote: > > > > > Nicolas Letellier writes: > > > > > > > So, anybody could explain me when I upload a > > file, rights are www:wheel? > > > > > > I'm going to guess that it's just inheriting > > the group from the > > > directory. The normal default in BSD is for a file to > > get the gid > > > of the directory. The directory you are uploading > > into should be owned > > > by the group you want the files to have. > > > > That's I always learn. But in this case, it's not > > true. > > I upload into "testdir/" which has www:www > > rights. > > > > And I launch my upload script, and the file is www:wheel > > > > ........ > > > > I don't understand. > > I'm on this problem for 4 hours, and I don't find > > the solution................ > > -- > > -Nicolas. > > 'www' wouldn't happen to be in the wheel group would it? Ok, I found! Yeah. We must set a upload_tmp_dir (instead the default upload_dir). And this folder must have your rights. By default, this folder has root:wheel (in 1777 mod). So, when Apache copies uploaded files from this folder, it keep the wheel group. Hope this tip could help others persons. Thanks for your time and your advices. Regards, -- -Nicolas. From msoulier at digitaltorque.ca Sun Feb 8 06:39:30 2009 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sun Feb 8 06:39:40 2009 Subject: portupgrade failing on perl modules Message-ID: <20090208125626.GG10866@anton.digitaltorque.ca> I'm having this with several perl modules while running a portupgrade -a. ===> p5-Tie-IxHash-1.21 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of devel/p5-Tie-IxHash without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/devel/p5-Tie-IxHash. *** Error code 1 I thought that portupgrade would take the right action to uninstall/reinstall if required. I mean, it upgrades ports, right? :) Some guidance would be appreciated. Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090208/4c2ddc3c/attachment.pgp From glen.j.barber at gmail.com Sun Feb 8 06:59:35 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Feb 8 06:59:43 2009 Subject: portupgrade failing on perl modules In-Reply-To: <20090208125626.GG10866@anton.digitaltorque.ca> References: <20090208125626.GG10866@anton.digitaltorque.ca> Message-ID: <4ad871310902080659t76a7ed55w8e8f1589e8b1bf7@mail.gmail.com> On Sun, Feb 8, 2009 at 7:56 AM, Michael P. Soulier wrote: > I'm having this with several perl modules while running a portupgrade -a. > > ===> p5-Tie-IxHash-1.21 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of devel/p5-Tie-IxHash > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/devel/p5-Tie-IxHash. > *** Error code 1 > Have you tried manually `make deinstall; make install'? -- Glen Barber From msoulier at digitaltorque.ca Sun Feb 8 07:57:16 2009 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sun Feb 8 07:57:23 2009 Subject: portupgrade failing on perl modules In-Reply-To: <4ad871310902080659t76a7ed55w8e8f1589e8b1bf7@mail.gmail.com> References: <20090208125626.GG10866@anton.digitaltorque.ca> <4ad871310902080659t76a7ed55w8e8f1589e8b1bf7@mail.gmail.com> Message-ID: <20090208155703.GI10866@anton.digitaltorque.ca> On 08/02/09 Glen Barber said: > Have you tried manually `make deinstall; make install'? Here's an example. msoulier@kanga:...xtproc/p5-XML-RSS$ sudo make deinstall Password: ===> Deinstalling for textproc/p5-XML-RSS ===> Deinstalling p5-XML-RSS-1.37 pkg_delete: unable to completely remove directory '/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/XML/RSS' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) msoulier@kanga:...xtproc/p5-XML-RSS$ sudo make install distclean ===> p5-XML-RSS-1.43 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser/Expat.pm - not found ===> Verifying install for /usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser/Expat.pm in /usr/ports/textproc/p5-XML-Parser ===> Installing for p5-XML-Parser-2.36 ===> p5-XML-Parser-2.36 depends on file: /usr/local/bin/perl5.8.9 - found ===> p5-XML-Parser-2.36 depends on shared library: expat.6 - found ===> Generating temporary packing list ===> Checking if textproc/p5-XML-Parser already installed ===> p5-XML-Parser-2.36 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of textproc/p5-XML-Parser without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser. *** Error code 1 Stop in /usr/ports/textproc/p5-XML-RSS. So now what? Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090208/5ea0c231/attachment.pgp From freebsd at edvax.de Sun Feb 8 07:58:58 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Feb 8 07:59:06 2009 Subject: LOR listing? In-Reply-To: <18830.60186.503830.919832@jerusalem.litteratus.org> References: <18830.60186.503830.919832@jerusalem.litteratus.org> Message-ID: <20090208165843.ca4e9aa4.freebsd@edvax.de> On Sun, 8 Feb 2009 09:24:26 -0500, Robert Huff wrote: > > There was at one time a list of lock order reversals, > presumably at > > http://sources.zabbadoz.net/freebsd/lor.html > > I am unable to connect to that address. Has the address > changed, or is the site experiencing problems? While host, ping and traceroute work fine on the server you specified, there seems to be no HTTP response. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From glen.j.barber at gmail.com Sun Feb 8 08:01:09 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Feb 8 08:01:16 2009 Subject: portupgrade failing on perl modules In-Reply-To: <20090208155703.GI10866@anton.digitaltorque.ca> References: <20090208125626.GG10866@anton.digitaltorque.ca> <4ad871310902080659t76a7ed55w8e8f1589e8b1bf7@mail.gmail.com> <20090208155703.GI10866@anton.digitaltorque.ca> Message-ID: <4ad871310902080801w6e51e863md21e38fe5bf7a6db@mail.gmail.com> On Sun, Feb 8, 2009 at 10:57 AM, Michael P. Soulier wrote: > On 08/02/09 Glen Barber said: > >> Have you tried manually `make deinstall; make install'? > > Here's an example. > > msoulier@kanga:...xtproc/p5-XML-RSS$ sudo make deinstall > Password: > ===> Deinstalling for textproc/p5-XML-RSS > ===> Deinstalling p5-XML-RSS-1.37 > pkg_delete: unable to completely remove directory > '/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/XML/RSS' > pkg_delete: couldn't entirely delete package (perhaps the packing list is > incorrectly specified?) > msoulier@kanga:...xtproc/p5-XML-RSS$ sudo make install distclean > ===> p5-XML-RSS-1.43 depends on file: > /usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser/Expat.pm - not found > ===> Verifying install for > /usr/local/lib/perl5/site_perl/5.8.9/mach/XML/Parser/Expat.pm in > /usr/ports/textproc/p5-XML-Parser > ===> Installing for p5-XML-Parser-2.36 > ===> p5-XML-Parser-2.36 depends on file: /usr/local/bin/perl5.8.9 - found > ===> p5-XML-Parser-2.36 depends on shared library: expat.6 - found > ===> Generating temporary packing list > ===> Checking if textproc/p5-XML-Parser already installed > ===> p5-XML-Parser-2.36 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of textproc/p5-XML-Parser > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/textproc/p5-XML-Parser. > *** Error code 1 > > Stop in /usr/ports/textproc/p5-XML-RSS. > > So now what? > Have you rebuilt all perl-dependent ports as the 20090113 entry in /usr/ports/UPDATING mentions? (Also, please take my email address out of your Reply-To entry in your client.) -- Glen Barber From msoulier at digitaltorque.ca Sun Feb 8 08:02:02 2009 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sun Feb 8 08:02:09 2009 Subject: portupgrade failing on perl modules In-Reply-To: <4ad871310902080659t76a7ed55w8e8f1589e8b1bf7@mail.gmail.com> References: <20090208125626.GG10866@anton.digitaltorque.ca> <4ad871310902080659t76a7ed55w8e8f1589e8b1bf7@mail.gmail.com> Message-ID: <20090208155419.GH10866@anton.digitaltorque.ca> On 08/02/09 Glen Barber said: > Have you tried manually `make deinstall; make install'? Yes, and the make install pulled in dependencies on other perl modules that resulted in the same error message that _they_ had to be reinstalled. Following those dependencies resulted in the same, and so on... I have no hair left to pull out, or it would be gone. Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090208/54411839/attachment.pgp From davidcollins001 at gmail.com Sun Feb 8 08:16:55 2009 From: davidcollins001 at gmail.com (David Collins) Date: Sun Feb 8 08:17:02 2009 Subject: broken ports In-Reply-To: <20090207075521.GA93084@melon.esperance-linux.co.uk> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> Message-ID: <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> > How did you uninstall that port after which everything fails at the > configure stage? Which port was it? It was rtorrent that I uninstalled, I used "make deinstall" > Check a couple of things: > > $ which c++ > > and: > > $ locate gcc_s | grep lib viper:~$ which c++ /usr/bin/c++ also viper:~$ which gcc /usr/bin/gcc viper:~$ which cc /usr/bin/cc viper:~$ locate gcc_s | grep lib |more /usr/lib/libgcc_s.so /usr/local/lib/gcc-4.2.5/libgcc_s.so /usr/local/lib/gcc-4.2.5/libgcc_s.so.1 > Have you installed/uninstalled a c/c++ compiler from ports? I don't think that I have I haven't installed/uninstalled a compiler from ports unless one of the ports did it, and I doubt this is the case. David From SlackWareWolf at comcast.net Sun Feb 8 08:43:18 2009 From: SlackWareWolf at comcast.net (Akenner) Date: Sun Feb 8 08:43:25 2009 Subject: Playing audio CDs In-Reply-To: <20090207232538.463917f5.freebsd@edvax.de> References: <498DD2DE.803@comcast.net> <498DD48C.6040409@comcast.net> <20090207232538.463917f5.freebsd@edvax.de> Message-ID: <498F0BA0.1010603@comcast.net> *snipped for polite cleanliness* Thanks to everyone who took the time to help me out here. I think instead of playing CDs I'll just rip them, it seems a WHOLE lot easier, and of course, not having to worry about scratches is a plus ;) I think one MAJOR problem I had yesterday when I was doing all this, was that I had been awake for about 27 hours...Which is more than most Windows boxes. I was trying to remember how to configure hardware because I'm basically spoiled by easy to configure OSs like BSD and Linux, that I literally couldn't remember how to configure stuff. I think you guys can agree to that. Back in like 2000 even, which wasn't THAT long ago, I know for a fact Windows and Linux were both very different, and this was....FreeBSD 4.0? 2000 is a little spacial, it's when I bought my very first FreeBSD PowerPak with FreeBSD 4.0 on CD, the 6 CD set of tools and things, and came with The Complete FreeBSD 3rd edition. Which I still read. Lehey is a great book writer. I think one problem also, is the sheer number of albums I have. I ahve a LOT of CDs, and almost all of them currently have been ripped, and I keep two HDs in my Slackware FTP server (Which may be reinstalled with FreeBSD, which is one reason I was testing how I'd do certain things in BSD) and I have over 30 GBs of music in there. Some albums that are important to me, like my Misfits boxed set, Ramones Discography, and rare Acid Bath Demo stuff, and my complete set of Danzig work (All Misfits, Samhain boxed set, + all Danzig CDs) I have all ripped as both oggVorbis, 128 K MP3s, and 320 K MP3s (I use 128 for my I-Pod because I have a 1 GB model, can't afford the big ones) and 320 I use for my play lists on the computer so I get good sound, and oggorbis was because a while back Linux distros like SUSE couldn't give you MP3 from out of the box, because of the license thing, so I kept ogg for that. It's something that took a LONG time to do and I'll probably just continue on with ripping the rest of my CD collection and putting it all on my FTP server so that each machine I have can play music without all of them losing disk space. Thanks again everyone! From remegius at comcast.net Sun Feb 8 09:29:01 2009 From: remegius at comcast.net (Rem P Roberti) Date: Sun Feb 8 09:29:08 2009 Subject: gtkpod permissions problem Message-ID: <20090208172857.GA13152@bsd.remdog.net> I have installed gtkpod for use with my Nano, but I'm having a problem when trying to add files. The Nano is mounted at /mnt/ipod, and when I try to add a file I get a message similar to this: Transfer of 'Petite Fleur' failed. Error opening '/mnt/ipod/iPod_Control/Music/F00/gtkpod795096.mp3' for writing (Permission denied). The file, in this case Petite Fleur, shows up in gtkpod, but it can't be written to the Nano. This obviously looks like a permissions problem, but I can't figure out its cause. TIA, ---Rem From freebsd-questions-local at be-well.ilk.org Sun Feb 8 10:57:09 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sun Feb 8 10:57:17 2009 Subject: gtkpod permissions problem In-Reply-To: <20090208172857.GA13152@bsd.remdog.net> (Rem P. Roberti's message of "Sun\, 8 Feb 2009 09\:28\:57 -0800") References: <20090208172857.GA13152@bsd.remdog.net> Message-ID: <448wogaha6.fsf@lowell-desk.lan> Rem P Roberti writes: > I have installed gtkpod for use with my Nano, but I'm having a problem > when trying to add files. The Nano is mounted at /mnt/ipod, and when I > try to add a file I get a message similar to this: > > Transfer of 'Petite Fleur' failed. Error opening > '/mnt/ipod/iPod_Control/Music/F00/gtkpod795096.mp3' for writing > (Permission denied). > > The file, in this case Petite Fleur, shows up in gtkpod, but it can't be > written to the Nano. This obviously looks like a permissions problem, > but I can't figure out its cause. Look at the permissions on that file, and the directory containing it, and the mount point. I'm sure at least one of them isn't sufficiently permitted to the user running gtkpod. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From m.seaman at infracaninophile.co.uk Sun Feb 8 11:55:35 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Feb 8 11:55:48 2009 Subject: FreeBSD Preferred RAID controllers In-Reply-To: <30768.94964.qm@web83808.mail.sp1.yahoo.com> References: <30768.94964.qm@web83808.mail.sp1.yahoo.com> Message-ID: <498F38A7.8000602@infracaninophile.co.uk> Gabe wrote: > --- On Sun, 2/8/09, Wojciech Puchar wrote: > >> From: Wojciech Puchar >>> I have to build a file server that will need to run a >> RAID 0+1 config If you want reliability, then use RAID10, not RAID0+1. For RAID10, you first create mirrored pairs of drives, then you stripe across all the mirrors. This is superior to RAID0+1 where you divide your drives into two equal pools, create a stripe across all the drives in each pool, and then mirror the stripes. Raw to usable space ratio is the same, performance characteristics are similar and good either way (some workloads, particularly those involving lots of small random IOs are particularly favourable on RAID10 (eg like the usage pattern of most RDBMses) whereas sequentially streaming large single files is happiest on RAID0+1 (eg. recording or playing video streams)). However imagine a RAID consisting of 2N drives. If one drive fails, then in RAID10, *one* of your N mirrors is degraded, and the rest work normally. In RAID0+1, it's one of the 2 *stripes* that is degraded -- effectively taking out half of your drives. Or to put it another way: given one drive has already died and the RAID is degraded, in either scenario, just one more disk death can take the RAID out completely. However with RAID10 there's exactly 1 drive whose death could have that effect -- failure of any of the other 2N-2 drives will degrade the RAID further, but it will still keep working. With RAID0+1 if the second disk to fail is any of the N drives from the other stripe, it will kill the whole RAID array. >> the best is gmirror+gstripe. of course for those who want >> to pay there are a lot of "hardware" solutions. > Hey I'm all for saving money, but I'm unsure of the reliability of a > 'software' solution vs a hardware one. Not to mention my biggest > concern which is the failure of the Boot drive and how to recover > from that using software raid. Software striping and mirroring is extremely reliable -- probably more so than using a hardware RAID card as there's simply less to go wrong. On the other hand hardware RAID offers some big performance advantages by being able to cache data in battery backed RAM[*] on the card, instead of requiring you to wait until it's been written to persistent storage on the drives themselves. While you can certaily boot from a gmirror RAID1, I don't believe it's possible to boot from a gstripe -- but because this all works via the geom framework, you can create stripes / mirrors at the filesystem level -- so you can have a small separate RAID1 to boot from and to hold the OS (either a dedicated pair of disks, or a pair of equal sized partitions, and then create a RAID10 over the rest of the disks to hold your data. I believe there is no requirement for the component parts of a gstripe to all be the same size Cheers, Matthew [*] For mirroring and striping, the only real justification for using hardware RAID is the performance benefit from the Battery Backup Unit on the RAID card. For RAID5 while a BBU is a *really good idea* it can justify itself by offloading parity calculations from the main CPU. -- 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090208/b4c684d9/signature.pgp From frank at shute.org.uk Sun Feb 8 12:36:06 2009 From: frank at shute.org.uk (Frank Shute) Date: Sun Feb 8 12:36:13 2009 Subject: broken ports In-Reply-To: <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> Message-ID: <20090208203553.GA99661@melon.esperance-linux.co.uk> On Sun, Feb 08, 2009 at 04:16:53PM +0000, David Collins wrote: > > > How did you uninstall that port after which everything fails at the > > configure stage? Which port was it? > > It was rtorrent that I uninstalled, I used "make deinstall" > > > > > Check a couple of things: > > > > $ which c++ > > > > and: > > > > $ locate gcc_s | grep lib > > viper:~$ which c++ > /usr/bin/c++ > > also > viper:~$ which gcc > /usr/bin/gcc > viper:~$ which cc > /usr/bin/cc > > > viper:~$ locate gcc_s | grep lib |more > /usr/lib/libgcc_s.so > /usr/local/lib/gcc-4.2.5/libgcc_s.so > /usr/local/lib/gcc-4.2.5/libgcc_s.so.1 > > > > Have you installed/uninstalled a c/c++ compiler from ports? > > I don't think that I have I haven't installed/uninstalled a compiler > from ports unless one of the ports did it, and I doubt this is the > case. > That all seems to be in order. I'm wondering whether your use of sudo is mucking things up and it's a permissions problem. i.e: it's running make OK but freaking out when it tries to invoke the compiler in the config stuff. I always build my ports using portupgrade as root. Maybe you could try logging in as root & then running it. If you'd rather not do that, portupgrade has got an -s switch which allows you to run the commands via sudo but you'd probably have to put cc & c++ in your sudoers (aswell as other commands e.g: install(1)). Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From andres_heredia_17 at hotmail.com Sun Feb 8 12:53:14 2009 From: andres_heredia_17 at hotmail.com (andres heredia) Date: Sun Feb 8 12:53:24 2009 Subject: andalusia grandfather retired grandfather unix, which is a scam Message-ID: because we are going to fuck you with your frebsd including unix? I do not care who is better in fact I've managed and I advanced on unix / linux / windows or does not bear the gnu Haig was separately giving you even a unix incapie, for his gamble of free software (It's a good way to give new things, this includes retired old glories as unix,) asi junilas and grandparents uetro unix is part of the past porque nos os vais al carajo con vuestro frebsd incluido unix?? me da igual que sea mejor de hecho lo he manejado y tengo conocimientos avanzados sobre unix/linux/ windows o es que no soportais que la gnu se os haiga separado dandole incluso el incapie a unix, por su apuesta de la libertad de software ( es buena dar paso a la nuevas cosas ,eso incluye jubilar viejas glorias como unix, ) asi junilas ya abuelos uetro unix es parte del pasado parce que nous allons vas te faire encule avec votre frebsd notamment unix? Je ne suis pas de soins qui est mieux, en fait, j'ai r?ussi et j'ai progress? sur unix / linux / windows ou ne porte pas le gnu Haig s?par?ment en vous donnant m?me un unix incapie, pour son pari du logiciel libre (C'est une bonne fa?on de donner de nouvelles choses, ce qui inclut les retrait?s anciens gloires comme unix), asi junilas et grands uetro unix fait partie du pass? da wir ficken Sie mit Ihrem frebsd einschlie?lich unix? Ich weiss nicht, wer besser ist in der Tat habe ich geschafft und ich erweiterte auf UNIX / Linux / Windows oder nicht mit der GNU Haig wurde getrennt, die Sie selbst ein Unix-incapie, f?r seine Gamble von freier Software (Es ist ein guter Weg, um neue Dinge, dazu geh?rt auch Rentner alte Herrlichkeiten wie Unix,) asi junilas und Gro?eltern uetro Unix ist ein Teil der Vergangenheit _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us From m.seaman at infracaninophile.co.uk Sun Feb 8 13:14:03 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Feb 8 13:14:10 2009 Subject: portupgrade failing on perl modules In-Reply-To: <20090208155419.GH10866@anton.digitaltorque.ca> References: <20090208125626.GG10866@anton.digitaltorque.ca> <4ad871310902080659t76a7ed55w8e8f1589e8b1bf7@mail.gmail.com> <20090208155419.GH10866@anton.digitaltorque.ca> Message-ID: <498F4B0E.90705@infracaninophile.co.uk> Michael P. Soulier wrote: > On 08/02/09 Glen Barber said: > >> Have you tried manually `make deinstall; make install'? > > Yes, and the make install pulled in dependencies on other perl modules that > resulted in the same error message that _they_ had to be reinstalled. > Following those dependencies resulted in the same, and so on... > > I have no hair left to pull out, or it would be gone. I'd wager that 'pkg_info -l p5-Module-Giving-You-Trouble' says everything is installed under ${LOCALBASE}/lib/perl5/site-perl/5.8.8 but that if you run 'perl -v' the number 5.8.9 is prominently displayed. Please read the UPDATING entry for 20090113, strike yourself upon the forehead whilst crying "D'oh!" in a loud voice and then run 'perl-after-upgrade -f' as instructed. 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090208/9c5cfee1/signature.pgp From timothyk at wallnet.com Sun Feb 8 13:22:42 2009 From: timothyk at wallnet.com (Tim Kellers) Date: Sun Feb 8 13:22:48 2009 Subject: portupgrade failing on perl modules In-Reply-To: <498F4B0E.90705@infracaninophile.co.uk> References: <20090208125626.GG10866@anton.digitaltorque.ca> <4ad871310902080659t76a7ed55w8e8f1589e8b1bf7@mail.gmail.com> <20090208155419.GH10866@anton.digitaltorque.ca> <498F4B0E.90705@infracaninophile.co.uk> Message-ID: <498F4D20.3080504@wallnet.com> Matthew Seaman wrote: > Michael P. Soulier wrote: >> On 08/02/09 Glen Barber said: >> >>> Have you tried manually `make deinstall; make install'? >> >> Yes, and the make install pulled in dependencies on other perl >> modules that >> resulted in the same error message that _they_ had to be reinstalled. >> Following those dependencies resulted in the same, and so on... >> >> I have no hair left to pull out, or it would be gone. > > I'd wager that 'pkg_info -l p5-Module-Giving-You-Trouble' says everything > is installed under ${LOCALBASE}/lib/perl5/site-perl/5.8.8 but that if you > run 'perl -v' the number 5.8.9 is prominently displayed. > > Please read the UPDATING entry for 20090113, strike yourself upon the > forehead whilst crying "D'oh!" in a loud voice and then run > 'perl-after-upgrade -f' as instructed. > > Cheers, > > Matthew > Actually, I was having that trouble, too. But for me the solution was to deinstall perl-threaded, pkg_delete -f the non-deinstalled perl 5.8.9, rmconfig && make config-recursive in /usr/ports/lang/perl5.8, make sure the "build threaded perl" was unchecked and make install clean from there. Before doing all that, I had run perl-after-upgrade (several times) to no avail. I'm not sure how I ended up with 2 perls installed, or why deinstalling perl-threaded left one remaining, but all was (is) well after I reverted perl as above. Tim From davidcollins001 at gmail.com Sun Feb 8 14:24:55 2009 From: davidcollins001 at gmail.com (David Collins) Date: Sun Feb 8 14:25:02 2009 Subject: broken ports In-Reply-To: <20090208203553.GA99661@melon.esperance-linux.co.uk> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> <20090208203553.GA99661@melon.esperance-linux.co.uk> Message-ID: <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> > I'm wondering whether your use of sudo is mucking things up and it's a > permissions problem. i.e: it's running make OK but freaking out when > it tries to invoke the compiler in the config stuff. > > I always build my ports using portupgrade as root. > > Maybe you could try logging in as root & then running it. If you'd > rather not do that, portupgrade has got an -s switch which allows you > to run the commands via sudo but you'd probably have to put cc & c++ > in your sudoers (aswell as other commands e.g: install(1)). I tried running portupgrade as root user, not sudo, and no success. The bottom line is ---> Packages processed: 2 done, 69 ignored, 133 skipped and 28 failed I think the most pressing issue is that I am not able to compile. I have watched the output periodically and I saw a lot of configure errors. Picking one at random this is the config.log (grub) file, the error being "compiler is unable to create executables" exit 77: I think if this were to be solved then my ports would be unbroken! This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GRUB configure 0.97, which was generated by GNU Autoconf 2.62. Invocation command line was $ ./configure --libdir=/usr/local/share --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-freebsd-freebsd7.0 ## --------- ## ## Platform. ## ## --------- ## hostname = viper.homeunix.com uname -m = i386 uname -r = 7.0-RELEASE-p7 uname -s = FreeBSD uname -v = FreeBSD 7.0-RELEASE-p7 #0: Sun Dec 21 12:33:45 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /home/davidcollins/Library/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2048: checking for a BSD-compatible install configure:2116: result: /usr/bin/install -c -o root -g wheel configure:2127: checking whether build environment is sane configure:2170: result: yes configure:2232: checking for gawk configure:2248: found /usr/local/bin/gawk configure:2259: result: gawk configure:2270: checking whether gmake sets $(MAKE) configure:2292: result: yes configure:2483: checking build system type configure:2501: result: i386-freebsd-freebsd7.0 configure:2523: checking host system type configure:2538: result: i386-freebsd-freebsd7.0 configure:2576: checking whether to enable maintainer-specific portions of Makefiles configure:2585: result: no configure:2704: checking for gcc configure:2731: result: cc configure:2805: checking for gcc configure:2832: result: cc configure:3070: checking for C compiler version configure:3078: cc --version >&5 cc (GCC) 4.2.1 20070719 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3082: $? = 0 configure:3089: cc -v >&5 Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] configure:3093: $? = 0 configure:3100: cc -V >&5 cc: '-V' option must have argument configure:3104: $? = 1 configure:3127: checking for C compiler default output file name configure:3149: cc -O2 -fno-strict-aliasing -pipe conftest.c >&5 /usr/bin/ld: cannot find -lgcc_s configure:3153: $? = 1 configure:3191: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GRUB" | #define PACKAGE_TARNAME "grub" | #define PACKAGE_VERSION "0.97" | #define PACKAGE_STRING "GRUB 0.97" | #define PACKAGE_BUGREPORT "bug-grub@gnu.org" | #define PACKAGE "grub" | #define VERSION "0.97" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3197: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-freebsd-freebsd7.0 ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -fno-strict-aliasing -pipe' ac_cv_env_CPPFLAGS_set='' ac_cv_env_CPPFLAGS_value='' ac_cv_env_CPP_set='' ac_cv_env_CPP_value='' ac_cv_env_LDFLAGS_set='' ac_cv_env_LDFLAGS_value='' ac_cv_env_LIBS_set='' ac_cv_env_LIBS_value='' ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i386-freebsd-freebsd7.0 ac_cv_env_host_alias_set='' ac_cv_env_host_alias_value='' ac_cv_env_target_alias_set='' ac_cv_env_target_alias_value='' ac_cv_host=i386-freebsd-freebsd7.0 ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=cc ac_cv_prog_make_gmake_set=yes lt_cv_sys_max_cmd_len=262144 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='/usr/local/bin/aclocal-1.9' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /usr/ports/sysutils/grub/work/grub-0.97/missing --run tar' AUTOCONF='/usr/local/bin/autoconf-2.62' AUTOHEADER='/usr/local/bin/autoheader-2.62' AUTOMAKE='/usr/local/bin/automake-1.9' AWK='gawk' BUILD_EXAMPLE_KERNEL_FALSE='' BUILD_EXAMPLE_KERNEL_TRUE='' CC='cc' CCAS='' CCASFLAGS='' CCDEPMODE='' CFLAGS='-O2 -fno-strict-aliasing -pipe' CPP='' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='' DISKLESS_SUPPORT_FALSE='' DISKLESS_SUPPORT_TRUE='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FSYS_CFLAGS='' GRAPHICS_SUPPORT_FALSE='' GRAPHICS_SUPPORT_TRUE='' GREP='' GRUB_CFLAGS='' GRUB_LIBS='' HERCULES_SUPPORT_FALSE='' HERCULES_SUPPORT_TRUE='' INSTALL_DATA='install -o root -g wheel -m 444' INSTALL_PROGRAM='install -s -o root -g wheel -m 555' INSTALL_SCRIPT='install -o root -g wheel -m 555' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /usr/ports/sysutils/grub/work/grub-0.97/missing --run makeinfo' NETBOOT_DRIVERS='' NETBOOT_SUPPORT_FALSE='' NETBOOT_SUPPORT_TRUE='' NET_CFLAGS='' NET_EXTRAFLAGS='' OBJCOPY='' OBJEXT='' PACKAGE='grub' PACKAGE_BUGREPORT='bug-grub@gnu.org' PACKAGE_NAME='GRUB' PACKAGE_STRING='GRUB 0.97' PACKAGE_TARNAME='grub' PACKAGE_VERSION='0.97' PATH_SEPARATOR=':' PERL='' RANLIB='' SERIAL_SPEED_SIMULATION_FALSE='' SERIAL_SPEED_SIMULATION_TRUE='' SERIAL_SUPPORT_FALSE='' SERIAL_SUPPORT_TRUE='' SET_MAKE='' SHELL='/bin/sh' STAGE1_CFLAGS='' STAGE2_CFLAGS='' STRIP='' VERSION='0.97' ac_ct_CC='cc' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i386-freebsd-freebsd7.0' build_alias='i386-freebsd-freebsd7.0' build_cpu='i386' build_os='freebsd7.0' build_vendor='freebsd' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='i386-freebsd-freebsd7.0' host_alias='' host_cpu='i386' host_os='freebsd7.0' host_vendor='freebsd' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/local/info' install_sh='/usr/ports/sysutils/grub/work/grub-0.97/install-sh' libdir='/usr/local/share' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='/usr/local/man' mkdir_p='$(mkinstalldirs)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "GRUB" #define PACKAGE_TARNAME "grub" #define PACKAGE_VERSION "0.97" #define PACKAGE_STRING "GRUB 0.97" #define PACKAGE_BUGREPORT "bug-grub@gnu.org" #define PACKAGE "grub" #define VERSION "0.97" configure: exit 77 From cwhiteh at onetel.com Sun Feb 8 15:30:45 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sun Feb 8 15:30:53 2009 Subject: shell commands - exclusion In-Reply-To: <200902081412.15509.jonathan+freebsd-questions@hst.org.za> References: <332f78510902040635k6675a9b6u434879b42c66a579@mail.gmail.com> <498B8A7F.2060906@onetel.com> <200902081412.15509.jonathan+freebsd-questions@hst.org.za> Message-ID: <498F6B12.5000307@onetel.com> Jonathan McKeown wrote: > On Friday 06 February 2009 02:55, Chris Whitehouse wrote: >> I think you should be able to do it with a combination of -prune and >> -delete (or -exec rm -rf {} \; ) on a find command. Substitute your >> other commands for rm -rf in the -exec above. >> >> I would give you a working example except I can't figure out the syntax >> for -prune. Examples from google don't seem to work in (my) FreeBSD. > > [skip to the end for a simple answer without the lengthy exposition] > > find(1) can be confusing, especially if you think of the ``actions'' > ( -print, -exec and -delete plus their variants like -ls and -ok ) as > something different from the ``tests'' ( -name and so on), or if you don't > take account of the evaluation order. > > A find expression comprises a number of what the manpage calls primaries, each > of which evaluates as true or false. (It may also have a side-effect, > like -print whose side-effect is to print the name). Primaries can be > combined with -and (which is usually implied) or -or. Where -and and -or both > occur, find will group the -anded primaries together before evaluation. > Taking one of your examples below, > > find . -print -or -prune -name dir1 > > this is grouped as > > find . -print -or \( -prune -and -name dir1 \) > > find will then evaluate the whole expression from left to right for each > pathname in the tree it's looking at, stopping within each set of (implied) > parentheses and within the overall expression as soon as it can determine > truth or falsehood. (This is what's referred to in programming as > short-circuiting in boolean expressions). > > If primaries are linked by -and, find can stop at the first one that's false, > knowing the expression is false; if they're linked by -or it can stop at the > first one that's true, knowing the expression is true. Otherwise it has to > evaluate the whole expression. > > Before it does this, though, find checks for side-effects. If there isn't a > side-effect anywhere in your expression, find will put brackets round the > whole expression and a -print after it. > > Looking at your examples: > >> chrisw@pcbsd% find . > > (No expression). Find adds a -print, so this is the same as the next one: > >> chrisw@pcbsd% find . -print >> . >> ./test.mov >> ./test.mpg >> ./dir1 >> ./dir1/file1 >> ./dir1/file2 >> ./file3 > > -print is always true so the expression is true for each name - they get > printed as a side-effect. > >> chrisw@pcbsd% find . -print -o -prune dir1 >> find: dir1: unknown option > > -prune doesn't take an argument, so dir1 is a syntax error. > >> chrisw@pcbsd% find . -print -o -prune -name dir1 > > find evaluates the print, which prints each name as its side-effect. -print > evaluates as true. Since it's in an -or, find can stop there, so it never > sees the second expression ( -prune -and -name dir1: the -and is implicit). >> . >> ./test.mov >> ./test.mpg >> ./dir1 >> ./dir1/file1 >> ./dir1/file2 >> ./file3 > >> chrisw@pcbsd% find . -print -o -name dir1 -prune > > Same again: find stops after the -print which is always true, and ignores > the -name dir1 -and -prune. > >> chrisw@pcbsd% find . -name "*" -o -name dir1 -prune > > None of these primaries has a side-effect, so find rewrites this internally as > > find . \( -name "*" -or -name dir1 -prune \) -print > > -name "*" is always true, so find can ignore everything after the -or up to > the parenthesis. Because the first expression is true, and the parens are > followed by (an implied) -and, find has to evaluate the -print, which is > always true, so the whole expression is always true and it always prints the > name as a side-effect. >> . >> ./test.mov >> ./test.mpg >> ./dir1 >> ./dir1/file1 >> ./dir1/file2 >> ./file3 > > What you need is an expression with two outcomes: a -prune for some names and > a -print for others. That tells you you need an -or, and the -print must come > after it because it's always true. Before the -or, -prune is always true so > you need some sort of testing primary before the -prune. > > That gives you > > find . -name dir1 -prune -or -print > > Jonathan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Thank you for this excellent answer! Now reading the man page begins to make sense. Chris From af300wsm at gmail.com Sun Feb 8 18:11:25 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Sun Feb 8 18:11:31 2009 Subject: How to add KDE-SVN to KDE4 Message-ID: <00163646b5bc377edd046272e33e@google.com> Hi, Well, I got KDE4 to install and I like it! However, I noticed that the KDE-SVN package, which I installed for KDE3, isn't accessible as it currently sits for KDE4. Would anyone here know how to make it accessible to KDE4? Thanks, Andy From remegius at comcast.net Sun Feb 8 18:46:31 2009 From: remegius at comcast.net (Rem P Roberti) Date: Sun Feb 8 18:46:39 2009 Subject: gtkpod permissions problem Message-ID: <20090209024630.GA1134@bsd.remdog.net> > Rem P Roberti writes: > > > I have installed gtkpod for use with my Nano, but I'm having a problem > > when trying to add files. The Nano is mounted at /mnt/ipod, and when I > > try to add a file I get a message similar to this: > > > > Transfer of 'Petite Fleur' failed. Error opening > > '/mnt/ipod/iPod_Control/Music/F00/gtkpod795096.mp3' for writing > > (Permission denied). > > > > The file, in this case Petite Fleur, shows up in gtkpod, but it can't be > > written to the Nano. This obviously looks like a permissions problem, > > but I can't figure out its cause. > > Look at the permissions on that file, and the directory containing it, > and the mount point. I'm sure at least one of them isn't sufficiently > permitted to the user running gtkpod. You were quite right. I was dealing with a Nano that already had files on it installed by iTunes. Nothing that I could do, even as root, would allow me to change the permissions of /mnt/ipod. To make a long story short, I cleared the Nano of all previously installed files, and started from zero with gtkpod and now everything works smoothly. I'm still not sure why I wasn't able to change the permissions of the mounted Nano as su, but I guess that is typical when dealing with mounted devices. --Rem From frank at shute.org.uk Sun Feb 8 21:56:46 2009 From: frank at shute.org.uk (Frank Shute) Date: Sun Feb 8 21:56:53 2009 Subject: broken ports In-Reply-To: <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> Message-ID: <20090209055634.GA2116@melon.esperance-linux.co.uk> On Sun, Feb 08, 2009 at 10:24:52PM +0000, David Collins wrote: > > > I'm wondering whether your use of sudo is mucking things up and it's a > > permissions problem. i.e: it's running make OK but freaking out when > > it tries to invoke the compiler in the config stuff. > > > > I always build my ports using portupgrade as root. > > > > Maybe you could try logging in as root & then running it. If you'd > > rather not do that, portupgrade has got an -s switch which allows you > > to run the commands via sudo but you'd probably have to put cc & c++ > > in your sudoers (aswell as other commands e.g: install(1)). > > I tried running portupgrade as root user, not sudo, and no success. > The bottom line is > ---> Packages processed: 2 done, 69 ignored, 133 skipped and 28 failed > > I think the most pressing issue is that I am not able to compile. I > have watched the output periodically and I saw a lot of configure > errors. Picking one at random this is the config.log (grub) file, the > error being "compiler is unable to create executables" exit 77: > > I think if this were to be solved then my ports would be unbroken! Sorry, I got distracted & forgot your compiler toolchain is broken. What does: $ ldconfig -r | grep gcc_s give you? If it fails to return anything, then you might want to try running ldconfig: # /etc/rc.d/ldconfig start Then try grepping ldconfig -r output again. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From tdeboer at gmail.com Sun Feb 8 22:05:41 2009 From: tdeboer at gmail.com (Tim DeBoer) Date: Sun Feb 8 22:05:49 2009 Subject: Installing php5 from ports Message-ID: Hi everyone, I've run into a bit of an issue while trying to install php5 from ports. I've been playing around trying to create an accurate "howto" for setting up apache, mysql, and php on this machine. So I've actually installed and deinstalled a couple of times already. This last time the message below came up. # make install ===> Installing for php5-5.2.8 ===> php5-5.2.8 depends on file: /usr/local/sbin/apxs - found ===> php5-5.2.8 depends on executable: pkg-config - found ===> php5-5.2.8 depends on shared library: xml2.5 - found ===> Generating temporary packing list ===> Checking if lang/php5 already installed "Makefile", line 612: warning: duplicate script for target "main/internal_functions.lo" ignored Installing PHP SAPI module: apache /usr/local/share/apache22/build/instdso.sh SH_LIBTOOL='/usr/local/build-1/libtool' libs/libphp5.so /usr/local/libexec/apache /usr/local/build-1/libtool --mode=install cp libs/libphp5.so /usr/local/libexec/apache/ cp libs/libphp5.so /usr/local/libexec/apache/libphp5.so Warning! dlname not found in /usr/local/libexec/apache/libphp5.so. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/libexec/apache/libphp5.so apxs:Error: Config file /usr/local/etc/apache/httpd.conf not found. *** Error code 1 Stop in /usr/ports/lang/php5/work/php-5.2.8. *** Error code 1 Stop in /usr/ports/lang/php5. *** Error code 1 Stop in /usr/ports/lang/php5. The only sense I can make of it is it wants to install the apache module, but it can't find httpd.conf under /usr/local/etc/apache/ No surprise that as httpd.conf is under /usr/local/etc/apache22/ Is there a way to force the install to look in the correct path? Thanks everyone :) -- Tim From m.seaman at infracaninophile.co.uk Sun Feb 8 22:58:41 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Feb 8 22:58:48 2009 Subject: Installing php5 from ports In-Reply-To: References: Message-ID: <498FD40B.6070505@infracaninophile.co.uk> Tim DeBoer wrote: > The only sense I can make of it is it wants to install the apache module, > but it can't find httpd.conf under /usr/local/etc/apache/ > No surprise that as httpd.conf is under /usr/local/etc/apache22/ > Is there a way to force the install to look in the correct path? WITH_APACHE2= yes APACHE_PORT= www/apache22 in /etc/make.conf 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090209/250d0f83/signature.pgp From davidcollins001 at gmail.com Sun Feb 8 23:30:46 2009 From: davidcollins001 at gmail.com (David Collins) Date: Sun Feb 8 23:30:53 2009 Subject: broken ports In-Reply-To: <20090209055634.GA2116@melon.esperance-linux.co.uk> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> <20090209055634.GA2116@melon.esperance-linux.co.uk> Message-ID: <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com> > What does: > > $ ldconfig -r | grep gcc_s > > give you? viper:~$ ldconfig -r | grep gcc_s 247:-lgcc_s.1 => /usr/local/lib/gcc-4.2.5/libgcc_s.so.1 From yuri at rawbw.com Mon Feb 9 00:33:29 2009 From: yuri at rawbw.com (Yuri) Date: Mon Feb 9 00:33:37 2009 Subject: How to troubleshoot why ath0 can't connect to a passwordless wireless network? Message-ID: <20090209003328.146539xpvcxdt740@webmail.rawbw.com> I have a wireless network without password that my linux box easily connects to. On FreeBSD 'ifconfig ath0 up scan' command shows it. 'ifconfig ath0 ssid up' brings interface to 'associated' state. But dhclient fails set it up. I have another device on the same system: ral0. It connect to this network without problems. What can I do to understand what may be a problem with ath0 in my case? Yuri From frank at shute.org.uk Mon Feb 9 00:33:48 2009 From: frank at shute.org.uk (Frank Shute) Date: Mon Feb 9 00:33:57 2009 Subject: broken ports In-Reply-To: <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> <20090209055634.GA2116@melon.esperance-linux.co.uk> <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com> Message-ID: <20090209083338.GA2666@melon.esperance-linux.co.uk> On Mon, Feb 09, 2009 at 07:30:44AM +0000, David Collins wrote: > > > What does: > > > > $ ldconfig -r | grep gcc_s > > > > give you? > > > viper:~$ ldconfig -r | grep gcc_s > 247:-lgcc_s.1 => /usr/local/lib/gcc-4.2.5/libgcc_s.so.1 On my FreeBSD 7.1-RELEASE-p2 amd64: $ cc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] and: $ ldconfig | grep gcc_s 30:-lgcc_s.1 => /lib/libgcc_s.so.1 I think the problem is that somebody has installed a compiler out of ports on your machine & it's associated libraries. See what cc -v says. It could be that it's invoking the system compiler (or not). Check: $ pkg_info | grep gcc aswell. Also look at /etc/make.conf & see if there's anything about GCC_VERSION or something similar. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From davidcollins001 at gmail.com Mon Feb 9 01:08:31 2009 From: davidcollins001 at gmail.com (David Collins) Date: Mon Feb 9 01:08:38 2009 Subject: broken ports In-Reply-To: <20090209083338.GA2666@melon.esperance-linux.co.uk> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> <20090209055634.GA2116@melon.esperance-linux.co.uk> <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com> <20090209083338.GA2666@melon.esperance-linux.co.uk> Message-ID: <1b30fd140902090108m292ef929tdce1ce2c946ead6b@mail.gmail.com> > I think the problem is that somebody has installed a compiler out of > ports on your machine & it's associated libraries. See what cc -v > says. My cc is exactly the same as yours viper:~$ cc -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] > It could be that it's invoking the system compiler (or not). Check: > > $ pkg_info | grep gcc viper:~$ pkg_info | grep gcc gcc-4.2.5_20080702 GNU Compiler Collection 4.2 This is different, does this mean that there is an alternate c compiler on my system? If ithis is the case how can I fix this? I don't know what I would have installed that would have required an additional compiler? > aswell. Also look at /etc/make.conf & see if there's anything about > GCC_VERSION or something similar. My make.conf doesn't have anything in it really viper:~$ cat /etc/make.conf PERL_VER=5.8.8 PERL_VERSION=5.8.8 WITHOUT_X11=yes From frank at shute.org.uk Mon Feb 9 01:35:14 2009 From: frank at shute.org.uk (Frank Shute) Date: Mon Feb 9 01:35:22 2009 Subject: broken ports In-Reply-To: <1b30fd140902090108m292ef929tdce1ce2c946ead6b@mail.gmail.com> References: <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> <20090209055634.GA2116@melon.esperance-linux.co.uk> <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com> <20090209083338.GA2666@melon.esperance-linux.co.uk> <1b30fd140902090108m292ef929tdce1ce2c946ead6b@mail.gmail.com> Message-ID: <20090209093505.GA2835@melon.esperance-linux.co.uk> On Mon, Feb 09, 2009 at 09:08:28AM +0000, David Collins wrote: > > > I think the problem is that somebody has installed a compiler out of > > ports on your machine & it's associated libraries. See what cc -v > > says. > > My cc is exactly the same as yours > viper:~$ cc -v > Using built-in specs. > Target: i386-undermydesk-freebsd > Configured with: FreeBSD/i386 system compiler > Thread model: posix > gcc version 4.2.1 20070719 [FreeBSD] Good. > > > > It could be that it's invoking the system compiler (or not). Check: > > > > $ pkg_info | grep gcc > > viper:~$ pkg_info | grep gcc > gcc-4.2.5_20080702 GNU Compiler Collection 4.2 > > This is different, does this mean that there is an alternate c > compiler on my system? If ithis is the case how can I fix this? > I don't know what I would have installed that would have required an > additional compiler? rtorrent installed it. From the rtorrent Makefile: USE_GCC= 4.2+ > > > aswell. Also look at /etc/make.conf & see if there's anything about > > GCC_VERSION or something similar. > > My make.conf doesn't have anything in it really > > viper:~$ cat /etc/make.conf > > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > > WITHOUT_X11=yes To use a different compiler you should have something in there IIRC to tell the system to use it. Doing a quick google, I think you can set: CC=/usr/local/bin/gcc42 in /etc/make.conf (I might have got the name of the binary wrong, so check it) Then you should be able to build rtorrent. Then what I'd do is deinstall gcc42: # pkg_deinstall -f gcc-4.2.5_20080702 Comment out the CC line in /etc/make.conf & run ldconfig: # /etc/rc.d/ldconfig start and hopefully your system is then back to normal. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From brentgclarklist at gmail.com Mon Feb 9 03:26:42 2009 From: brentgclarklist at gmail.com (Brent Clark) Date: Mon Feb 9 03:26:50 2009 Subject: gdm wont start Message-ID: <4990094A.1080205@gmail.com> Hiya I upgraded to 7.1 and did a portupgrade and I think I broke something and for the likes of me .. I dont know how to fix this. I havnt changed my /etc/rc.conf, and it all looks the same / untouched. When ever I restart gdm I get the following. ** (gdm-binary:2646): WARNING **: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory %grep gdm /etc/rc.conf gdm_enable="YES" If anyone could assist I would really appreciate the assistance. Kind Regards Brent Clark From affanzbasalamah at gmail.com Mon Feb 9 03:32:08 2009 From: affanzbasalamah at gmail.com (Affan Basalamah) Date: Mon Feb 9 03:32:15 2009 Subject: Intel Quad Port Bypass Adapter Message-ID: Hi all, I just looked at Google and mailing list archive, but I still cannot see satisfactory answer. I would like to know if any of you has used Intel Quad Port Bypass Adapter http://www.intel.com/network/connectivity/products/pro1000_quad_bypass_server_adapters.htm, and I would like to use the card as bridging firewall with PF on FreeBSD 7.1. What I want to know is how do you configure this NIC : - is it behave just like ordinary quad port card ? is there any special configuration (ifconfig, sysctl) on the card ? - is it okay if I just configure the card with if_bridge interface ? - how do I configure the card to bypass the traffic if the bridging firewall is put to shutdown ? Pardon for my language, Regards, -affan From dleal at webvolution.net Mon Feb 9 04:16:29 2009 From: dleal at webvolution.net (Daniel Leal) Date: Mon Feb 9 04:16:36 2009 Subject: xorg and nvidia Message-ID: <499018A8.4080907@webvolution.net> Hi everyone! I am trying to convince my girlfriend to use freebsd as a desktop in her (not so) old toshiba S2450-201 laptop. I use it in my toshiba A200 laptop and it works fine. I just install it in her laptop with a 30GB disk I have... Installation was fine. This laptop as a "nvidia geforce4 420 go" graphics board with 32MB. The setup of xorg.conf was made through "Xorg -configure". I tested with startx and it worked. Then I installed the nvidia driver. I had to try all 3 driver versions and the only one that worked was "nvidia-driver-71xx". Then reboot and then I run "nvidia-xconfig". And startx... great, it worked! The nvidia logo appeared in the screen during xorg startup. Fine! Then I installed nvidia-settings. But when I try to run it it complains that it appear that I not using the NVIDIA X driver. But I am!! It also said that NV-CONTROL extension version 1.6 is too old and the minimum required version is 1.11. In my xorg.conf I have 1024x768 resolution, but xorg is with 800x600. I also dont have the VSR and HSR for this laptop. I just cant find it anywhere... Can someone help me with this please? Here is my xorg.conf: # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (root@Dinamite) Sat Feb 7 22:24:54 WET 2009 Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/local/share/X11/rgb" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "dbe" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [] #Option "HWcursor" # [] #Option "NoAccel" # [] #Option "ShadowFB" # [] #Option "UseFBDev" # [] #Option "Rotate" # [] #Option "VideoKey" # #Option "FlatPanel" # [] #Option "FPDither" # [] #Option "CrtcNumber" # #Option "FPScale" # [] #Option "FPTweak" # #Option "DualHead" # [] Identifier "Card0" Driver "nvidia" VendorName "nVidia Corporation" BoardName "NV17 [GeForce4 420 Go]" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 16 SubSection "Display" Viewport 0 0 Depth 16 Modes "1024x768" EndSubSection EndSection From Pieter.Donche at ua.ac.be Mon Feb 9 04:46:48 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Mon Feb 9 04:46:56 2009 Subject: CUPS, initial PATH environment Message-ID: If one installs CUPS as the printing system, one must use the /usr/local/bin versions of lp, lpr, lpq and lprm instead of the FreeBSD versions in /usr/bin, otherwise you get errors when using the command line interface... I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc.. forcing the use of the /usr/local/bin versions but this would oblige me to do that again after every FreeSBD upgrade. Or I could put /usr/local/bin before /usr/bin in the path. Two questions: - is this a save thing to do (won't other things go wrong then?) - if OK to do that, where can I change the path for every user, whatever shell (csh, sh, bash, tcsh, rbash) he uses? /etc/profile, /etc/csh.* start-up files are shell-specific and as yet distributed, only contain outcommented information, yet a newly created user (whether using csh of bash) has a following path / PATH set up: /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin Where is this path/PATH being set i.e. where can it be altered? From Johan at double-l.nl Mon Feb 9 04:53:47 2009 From: Johan at double-l.nl (Johan Hendriks) Date: Mon Feb 9 04:53:56 2009 Subject: CUPS, initial PATH environment Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE522@w2003s01.double-l.local> >If one installs CUPS as the printing system, one must use the >/usr/local/bin versions of lp, lpr, lpq and lprm instead of the >FreeBSD versions in /usr/bin, otherwise you get errors when using >the command line interface... >I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc.. >forcing the use of the /usr/local/bin versions >but this would oblige me to do that again after every FreeSBD upgrade. >Or I could put /usr/local/bin before /usr/bin in the path. >Two questions: >- is this a save thing to do (won't other things go wrong then?) >- if OK to do that, where can I change the path for every user, whatever > shell (csh, sh, bash, tcsh, rbash) he uses? >/etc/profile, /etc/csh.* start-up files are shell-specific and as yet >distributed, only contain outcommented information, yet a newly created user >(whether using csh of bash) has a following path / PATH set up: >/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin >Where is this path/PATH being set i.e. where can it be altered? If I recall correct you can you use the following in /etc/make.conf CUPS_OVERWRITE_BASE= yes Regards, Johan Hendriks No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.0.233 / Virus Database: 270.10.19/1940 - Release Date: 02/08/09 17:57:00 From uwe at laverenz.de Mon Feb 9 05:06:17 2009 From: uwe at laverenz.de (Uwe Laverenz) Date: Mon Feb 9 05:06:25 2009 Subject: CUPS, initial PATH environment In-Reply-To: References: Message-ID: <20090209130328.GA998@laverenz.de> On Mon, Feb 09, 2009 at 01:46:46PM +0100, Pieter Donche wrote: > If one installs CUPS as the printing system, one must use the > /usr/local/bin versions of lp, lpr, lpq and lprm instead of the > FreeBSD versions in /usr/bin, otherwise you get errors when using > the command line interface... > > I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc.. > forcing the use of the /usr/local/bin versions > but this would oblige me to do that again after every FreeSBD upgrade. There is a flag for cups that should disable the commands in the base system. Before installing cups you can add the following line to your /etc/make.conf: CUPS_OVERWRITE_BASE=YES And to prevent reinstallation during a system upgrade you can add the following line to /etc/src.conf: WITHOUT_LPR=YES bye, Uwe From omerfsen at gmail.com Mon Feb 9 05:19:31 2009 From: omerfsen at gmail.com (Omer Faruk Sen) Date: Mon Feb 9 05:19:46 2009 Subject: auditdonly works for console Message-ID: <75a268720902090519w56e90b25hfa629bd194b65619@mail.gmail.com> Hi, I have tested audit subsystem with FreeBSD 7.1. But the weird thing is that I only get commands that are executed on console not the ones that are executed through ssh. Am I missing something here? I have followed these steps: http://www.freebsd.org/doc/en/books/handbook/audit-install.html Regards. From mexas at bristol.ac.uk Mon Feb 9 05:46:36 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Feb 9 05:46:43 2009 Subject: xdm doesn't run as daemon In-Reply-To: <498C9FFB.3040500@telia.com> References: <20090205123154.GA75634@mech-cluster238.men.bris.ac.uk> <498C9FFB.3040500@telia.com> Message-ID: <20090209134624.GA82942@mech-cluster238.men.bris.ac.uk> On Fri, Feb 06, 2009 at 09:39:23PM +0100, Roger Olofsson wrote: > > > Anton Shterenlikht skrev: > > After upgrades of 23-24 Jan 2009 xdm is not working: > > > > # xdm > > # ps ax|grep xdm > > 75632 p1 S+ 0:00.01 grep xdm > > # cat /var/log/xdm.log > > # > > > > So no xdm daemon. > > > > My system: FreeBSD 6.4-STABLE alpha, xdm-1.1.8_1. > > > > Any ideas? > > Hi Anton, > > Tried detaching it? > > xdm & It terminates straight away # xdm & [1] 82938 # [1] Done xdm # with empty /var/log/xdm.log Perhaps I should check which libraries xdm is built with and try to rebuild those? But I think I've done this already. thanks anyway anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From mexas at bristol.ac.uk Mon Feb 9 05:52:01 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Feb 9 05:52:08 2009 Subject: gdm wont start In-Reply-To: <4990094A.1080205@gmail.com> References: <4990094A.1080205@gmail.com> Message-ID: <20090209133615.GA82751@mech-cluster238.men.bris.ac.uk> On Mon, Feb 09, 2009 at 12:45:30PM +0200, Brent Clark wrote: > Hiya > > I upgraded to 7.1 and did a portupgrade and I think I broke something > and for the likes of me .. I dont know how to fix this. > > I havnt changed my /etc/rc.conf, and it all looks the same / untouched. > > When ever I restart gdm I get the following. > > ** (gdm-binary:2646): WARNING **: Couldn't connect to system bus: Failed > to connect to socket /var/run/dbus/system_bus_socket: No such file or > directory > > %grep gdm /etc/rc.conf > gdm_enable="YES" > > If anyone could assist I would really appreciate the assistance. similar things happended to me with firefox and kazehakase ports. I never figured it out. I blame dbus and hal ports, but couldn't investigate this fully as after the 23-24 Jan port upgrages my X failed alltogether. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From bcook at poughkeepsieschools.org Mon Feb 9 06:38:51 2009 From: bcook at poughkeepsieschools.org (B. Cook) Date: Mon Feb 9 06:38:58 2009 Subject: zfs trauma from locate? Message-ID: <49903FF9.9080305@poughkeepsieschools.org> So I've been having much trauma with zfs and i386; but it seems it's been narrowed down to the 'weekend'. We leave friday and come back monday, and monday this box is not working properly. Nothing has crashed, it's just slow.. but there is no load on the box; just deathly slow.. 2+ minutes to log in at console for example. A reboot fixes it and it's good for another week.. I think I have narrowed it down to the weekly locate job. So tonight I'll run it by hand and see if the box dogs again.. but assuming that is it.. what can I do about *that*? bootloader.conf: cat -n /boot/loader.conf 1 autoboot_delay="4" 2 #vm.kmem_size_max="1024M" 3 #vm.kmem_size="1024M" 4 vm.kmem_size_max="512M" 5 vm.kmem_size="512M" 6 7 zfs_load="YES" 8 vfs.zfs.prefetch_disable=1 9 vfs.root.mountfrom="zfs:tank/root" 10 vfs.zfs.arc_max="100M" 11 12 accf_http_load="YES" 13 accf_data_load="YES" CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2800.11-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x441d AMD Features=0x100000 Logical CPUs per core: 2 real memory = 3212574720 (3063 MB) avail memory = 3140112384 (2994 MB) ACPI APIC Table: Filesystem Size Used Avail Capacity Mounted on tank/root 104G 23M 104G 0% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad4s1a 989M 196M 714M 22% /bootdir /dev/ad5s1a 989M 257M 653M 28% /mnt/bootdir procfs 4.0K 4.0K 0B 100% /proc tank/exports 130G 26G 104G 20% /exports tank/exports/squid 106G 1.8G 104G 2% /exports/squid tank2/home 147G 55G 91G 38% /home tank/tmp 104G 256K 104G 0% /tmp tank/usr 110G 5.9G 104G 5% /usr tank/usr/obj 104G 640M 104G 1% /usr/obj tank/usr/ports 104G 143M 104G 0% /usr/ports tank/usr/ports/distfiles 104G 189M 104G 0% /usr/ports/distfiles tank/usr/src 104G 156M 104G 0% /usr/src tank/var 107G 2.9G 104G 3% /var /exports/squid is where the squid cache is, (aufs fwiw), and /home has over 3k user accounts for samba. wc -l /etc/passwd 3289 /etc/passwd the kernel is a simple one: # I commented out i486 and i586 in GENERIC # and debugging cpu I686_CPU ident GENERICplus include GENERIC options DEVICE_POLLING options HZ=1000 options KVA_PAGES=512 options ALTQ options ALTQ_CBQ # Class Bases Queuing (CBQ) options ALTQ_RED # Random Early Detection (RED) options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options ALTQ_NOPCC # Required for SMP build I have a simple pf.conf with some scrub and altq settings if anyone thinks it might help. but like I said I'm pretty sure it's locate now.. clues or questions appreciated. From marshc187 at gmail.com Mon Feb 9 06:48:34 2009 From: marshc187 at gmail.com (cwt) Date: Mon Feb 9 06:48:58 2009 Subject: gdm wont start In-Reply-To: <20090209133615.GA82751@mech-cluster238.men.bris.ac.uk> References: <4990094A.1080205@gmail.com> <20090209133615.GA82751@mech-cluster238.men.bris.ac.uk> Message-ID: <49903D17.7040302@gmail.com> Anton Shterenlikht wrote: > On Mon, Feb 09, 2009 at 12:45:30PM +0200, Brent Clark wrote: > >> Hiya >> >> I upgraded to 7.1 and did a portupgrade and I think I broke something >> and for the likes of me .. I dont know how to fix this. >> >> I havnt changed my /etc/rc.conf, and it all looks the same / untouched. >> >> When ever I restart gdm I get the following. >> >> ** (gdm-binary:2646): WARNING **: Couldn't connect to system bus: Failed >> to connect to socket /var/run/dbus/system_bus_socket: No such file or >> directory >> >> %grep gdm /etc/rc.conf >> gdm_enable="YES" >> >> If anyone could assist I would really appreciate the assistance. >> > > similar things happended to me with firefox and kazehakase ports. > I never figured it out. I blame dbus and hal ports, but couldn't > investigate this fully as after the 23-24 Jan port upgrages my > X failed alltogether. > > on a similar problem with new gdm and dbus errors, i deleted/moved (backuped) all folders that have to do with .gconf or .gtk from my home directory. something worked for me, but i have no idea which. give it a try and see how it goes? From pzelenov at masterhost.ru Mon Feb 9 08:14:09 2009 From: pzelenov at masterhost.ru (Pavel Zelenov) Date: Mon Feb 9 08:14:17 2009 Subject: using -t option with unix sort ? References: 42D6A546.6030308@malaby.com Message-ID: <4990500D.50701@masterhost.ru> This works: sort -t "`/bin/echo '\t'`" .... From a at jenisch.at Mon Feb 9 08:53:39 2009 From: a at jenisch.at (Ewald Jenisch) Date: Mon Feb 9 08:53:56 2009 Subject: CUPS - no german Umlaut characters Message-ID: <20090209162405.GA94542@aurora.oekb.co.at> Hi, After successfully setting up CUPS I found out a problem wrt printing german Umlaut characters: Whenever I try to print a file with umlaut characters the file is only printed up to not not including the first umlaut characters. This happens for example when I take a text file with umlaut characters and try to print it via lpr. On the other hand, when I've got a web-page containing umlaut characters under Firefox3 and print that page I get the complete page - including umlaut characters. Any ideas how I can get my umlauts to print via lpr? Thanks much in advance for your help, -ewald From nrml at att.net Mon Feb 9 09:08:05 2009 From: nrml at att.net (Gabe) Date: Mon Feb 9 09:08:12 2009 Subject: FreeBSD Preferred RAID controllers In-Reply-To: <498F38A7.8000602@infracaninophile.co.uk> Message-ID: <935744.1303.qm@web83814.mail.sp1.yahoo.com> --- On Sun, 2/8/09, Matthew Seaman wrote: > From: Matthew Seaman > Subject: Re: FreeBSD Preferred RAID controllers > To: nrml@att.net > Cc: "Wojciech Puchar" , freebsd-questions@freebsd.org > Date: Sunday, February 8, 2009, 11:55 AM > Gabe wrote: > > --- On Sun, 2/8/09, Wojciech Puchar > wrote: > > > >> From: Wojciech Puchar > > > >>> I have to build a file server that will need > to run a > >> RAID 0+1 config > > If you want reliability, then use RAID10, not RAID0+1. For > RAID10, > you first create mirrored pairs of drives, then you stripe > across all > the mirrors. This is superior to RAID0+1 where you divide > your > drives into two equal pools, create a stripe across all the > drives in > each pool, and then mirror the stripes. > > Raw to usable space ratio is the same, performance > characteristics > are similar and good either way (some workloads, > particularly those > involving lots of small random IOs are particularly > favourable on > RAID10 (eg like the usage pattern of most RDBMses) whereas > sequentially streaming large single files is happiest on > RAID0+1 > (eg. recording or playing video streams)). However imagine > a RAID > consisting of 2N drives. If one drive fails, then in > RAID10, *one* > of your N mirrors is degraded, and the rest work normally. > In > RAID0+1, it's one of the 2 *stripes* that is degraded > -- effectively > taking out half of your drives. Or to put it another way: > given > one drive has already died and the RAID is degraded, in > either > scenario, just one more disk death can take the RAID out > completely. > However with RAID10 there's exactly 1 drive whose death > could have > that effect -- failure of any of the other 2N-2 drives will > degrade > the RAID further, but it will still keep working. With > RAID0+1 if > the second disk to fail is any of the N drives from the > other stripe, > it will kill the whole RAID array. > > >> the best is gmirror+gstripe. of course for those > who want > >> to pay there are a lot of "hardware" > solutions. > > > Hey I'm all for saving money, but I'm unsure > of the reliability of a > > 'software' solution vs a hardware one. Not to > mention my biggest > > concern which is the failure of the Boot drive and how > to recover > > from that using software raid. > > Software striping and mirroring is extremely reliable -- > probably more > so than using a hardware RAID card as there's simply > less to go wrong. > On the other hand hardware RAID offers some big performance > advantages > by being able to cache data in battery backed RAM[*] on the > card, instead > of requiring you to wait until it's been written to > persistent storage on > the drives themselves. > While you can certaily boot from a gmirror RAID1, I > don't believe it's > possible to boot from a gstripe -- but because this all > works via the > geom framework, you can create stripes / mirrors at the > filesystem level > -- so you can have a small separate RAID1 to boot from and > to hold the > OS (either a dedicated pair of disks, or a pair of equal > sized partitions, > and then create a RAID10 over the rest of the disks to hold > your data. > I believe there is no requirement for the component parts > of a gstripe > to all be the same size > Cheers, > > Matthew > > [*] For mirroring and striping, the only real justification > for using > hardware RAID is the performance benefit from the Battery > Backup Unit on > the RAID card. For RAID5 while a BBU is a *really good > idea* it can > justify itself by offloading parity calculations from the > main CPU. > > -- Dr Matthew J Seaman MA, D.Phil. 7 > Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 > 9PW Thank you, this is a very well-written response and I appreciate the time you took to type it all up. Now with a gstripe+gmirror setup, would it be possible to fail a specific drive on purpose? I mean fail a (good) drive, pull it out, replace it and rebuild(?) it. I know I know, but humor me. From ulrich at pukruppa.net Mon Feb 9 09:57:37 2009 From: ulrich at pukruppa.net (Peter Ulrich Kruppa) Date: Mon Feb 9 09:57:43 2009 Subject: CUPS - no german Umlaut characters In-Reply-To: <20090209162405.GA94542@aurora.oekb.co.at> References: <20090209162405.GA94542@aurora.oekb.co.at> Message-ID: <49906F5F.3020008@pukruppa.net> Ewald Jenisch schrieb: > Hi, > > After successfully setting up CUPS I found out a problem wrt printing > german Umlaut characters: Whenever I try to print a file with umlaut > characters the file is only printed up to not not including the first > umlaut characters. This happens for example when I take a text file > with umlaut characters and try to print it via lpr. > > On the other hand, when I've got a web-page containing umlaut > characters under Firefox3 and print that page I get the complete page > - including umlaut characters. > > Any ideas how I can get my umlauts to print via lpr? Try some sort of filter like print/enscript: # enscript your_file should get your Umlaut's. Greetings, Uli. > > Thanks much in advance for your help, > -ewald > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From davidcollins001 at gmail.com Mon Feb 9 11:53:00 2009 From: davidcollins001 at gmail.com (David Collins) Date: Mon Feb 9 11:53:07 2009 Subject: broken ports In-Reply-To: <20090209093505.GA2835@melon.esperance-linux.co.uk> References: <498ABACC.3060102@bsdforen.de> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> <20090209055634.GA2116@melon.esperance-linux.co.uk> <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com> <20090209083338.GA2666@melon.esperance-linux.co.uk> <1b30fd140902090108m292ef929tdce1ce2c946ead6b@mail.gmail.com> <20090209093505.GA2835@melon.esperance-linux.co.uk> Message-ID: <1b30fd140902091152x17ed90e5sf915b361927067e@mail.gmail.com> > Then you should be able to build rtorrent. > > Then what I'd do is deinstall gcc42: > > # pkg_deinstall -f gcc-4.2.5_20080702 > > Comment out the CC line in /etc/make.conf & run ldconfig: > > # /etc/rc.d/ldconfig start > > and hopefully your system is then back to normal. I tried all this and rtorrent would still not install, with the same error at configure. I was however able to pkg_deinstall the gcc it installed. That didn't solve any problems though. I feel that it might be easier to focus on the following compiling problem that still exists: viper:~$ gcc -o hello hello.c /usr/bin/ld: cannot find -lgcc_s From perikillo at gmail.com Mon Feb 9 12:43:09 2009 From: perikillo at gmail.com (perikillo) Date: Mon Feb 9 12:43:20 2009 Subject: Shrink a Slice? FreeBSD 7.1 In-Reply-To: <20090205222326.GA36658@gizmo.acns.msu.edu> References: <51d7a5160902051219j252b222ao5c0bd53498524244@mail.gmail.com> <20090205222326.GA36658@gizmo.acns.msu.edu> Message-ID: <51d7a5160902091243k397ebeccoa0d84118091dd06e@mail.gmail.com> Thanks for your great info, the only problem is that I don't want to cause any trouble to my current system and I needed to fix this quickly. I already install the system and everything is working, I have to built a system and test your procedure step by step. This info u give to us is very important, I had done this with Linux before, and is easy, but with FreeBSD is the first time I need to do this. I will let u know my results ASAP. Thanks again for your help Jerry. On Thu, Feb 5, 2009 at 2:23 PM, Jerry McAllister wrote: > On Thu, Feb 05, 2009 at 12:19:13PM -0800, perikillo wrote: > > > Hi people. > > I have been googling without any good info about: How to shrink a > slice? > > > > Case: I installed a new server for mysql, is working, I already > install > > all the ports I need, them I spend a lot of hours yesterday with this > baby, > > now this is my current disk layout: > > > > /dev/ad0s1a on / (ufs, local, noatime, soft-updates) > > devfs on /dev (devfs, local) > > /dev/ad0s1f on /tmp (ufs, local, noatime, soft-updates) > > /dev/ad0s1d on /usr (ufs, local, noatime, soft-updates) > > /dev/ad0s1e on /var (ufs, local, noatime, soft-updates) > > /dev/ad0s1g on /backups (ufs, local, soft-updates) > > > > What I want to do is to shrink the slice /dev/ad0s1g > > /dev/ad0s1g is a partition, not a slice. > /dev/ad0s1 is the slice. > > MicroSloth usage of the terms is different and confuses people sometimes. > > As far as I know neither growfs(8) nor tunefs(8) can shrink the disk > allocated to a partition. > > The only way is to dump each of the filesystems to some other > reliable media (maybe tape or a large USB disk) and then repartition > that slice to be the sizes you want. Use dump(8) to make the dumps > and then check the dump files out before starting the repartitioning. > > First you have to build a filesystem on the USB drive. > You should be able to use bsdlabel to create a single partition > that covers the whole drive. > > But, if your FreeBSD or BIOS is old enough it might not go that big, > so you will need to break it down in to smaller slices and make a > partition in each. (I have had to do that. But if it is 7.xx it > should not be necessary) To break it up, get the gparted utility. > Download its boot image and use it to break up the USB disk in to > slices that your FreeBSD will handle. You need to have it make all > what it calls (in the MS way) Primary Partitions, but those are what > are called slices in FreeBSD land. > > Don't get tempted to use gparted to shrink your ad0s1 slice because > it will not work right. That will just trash the current partitions. > It is not what you are looking for. > > Either if your FreeBSD will handle the whole USB or after you have it > broken up, then build a partition on each slice of the USB using bsdlabel. > Don't make it bootable or write a boot sector on it. Then run newfs(8) > on it to make a filesystem. > This bsdlabel and newfs can be done while the system is running. > > Then, take the system down and run the dumps. You can do the dumps > from single user mode or boot a fixit image from the install CD. > You will need to do the repartitioning and restore the dumps from > the fixit anyway so you could just start there. > Boot the machine from the fixit disk - create a 'holographic' image as > they call it. Fixit is usually on disc1. > > Run the dumps. > Lets say you are doing the dumps to a USB drive that comes up > as /dev/da0 in the fixit boot and your current disk still is > comes up with the name /dev/ad0 . > > First, make up mount points for all your filesystems that you want to > dump plus for the filesystem[s] on the USB drive. > NOTE: That the fixit runs from a memory resident filesystem so whatever > you create there will disappear on boot. > > Anyway, skip dumping /tmp and /dev is a pretend filesystem. > > mkdir /oldroot > mkdir /oldusr > mkdir /oldvar > mkdir /oldbkup > > mkdir /usbdrive > > (You can actually make the dumps from the devices rather than mounting > them, but I have never gotten in to that habit) > > Mount those partitions > > mount /dev/ad0s1a /oldroot > mount /dev/ad0s1d /oldusr > mount /dev/ad0s1e /oldvar > mount /dev/ad0s1g /oldbkup > > mount /dev/da0s1 /usbdrive (This device name might be different > depending on how you make it. Some possibilities are: > /dev/da0s1 If you just newfs the slice without making a partition > in it > /dev/da0s1a If you make a slice with fdisk and a partition with > bsdlabel > /dev/da0a If you make a partition with bsdlabel without making a > slice > > Now do the dumps > > dump 0af /usbdrive/rootdump /oldroot > dump 0af /usbdrive/usrdump /oldusr > dump 0af /usbdrive/vardump /oldvar > dump 0af /usbdrive/bkupdump /oldbkup > > This will take a while depending on media you use. > By the way, to tape it would go to /dev/nsa0 rather than /usbdrive/oldroot, > etc > > Once the dumps are done, you may want to reboot and mount that USB > drive or read the tape and look at the dumps to make sure they can > be read. Just a precaution. > > At least you will need to unmount all the partitions so bsdlabel > can work on them > > Anyway, once you are happy with your dumps, then get back in to > the fixit and use bsdlabel to rewrite the partitions. > > Just bsdlabel -e ad0s1 > > (You should not need to write a new boot block as this process should > not touch that sector) > > Adjust the partitions as you see fit. Make partition 'a' start > at offset of 0 and use a '*' for the rest of the offsets. > bsdlabel will calculate them correctly. You can also make the > size of the last partition be '*' and bsdlabel will put the remainder > of the usable space in it. > > Write/Quit out of the bsdlabel editor -- just like vi. > > Now you need to do a newfs for each partition except for swap. > > Just take the defaults. Do: > > newfs /dev/ad0s1a > newfs /dev/ad0s1d > newfs /dev/ad0s1e > etc for how many you made. > > Once that is done, you need to mount up the partitions > and restore the dumps. > Remember that if you rebooted the fixit from when you first > made the mount points, you will have to make them again and > remount things. > > Restores will look like: > > cd /oldroot > restore -rf /usbdrive/rootdump > cd /oldusr > restore -rf /usbdrive/usrdump > cd /oldvar > restore -rf /usbdrive/vardump > cd /oldbkup > restore -rf /usbdrive/bkupdump > > If you created a new partition while doing this, there is currently > nothing to put in it. You will need to reboot and then you can > split things up and move data as you see fit. > > ////jerry > > > > > > > Filesystem 1M-blocks Used Avail Capacity Mounted on > > /dev/ad0s1a 495 232 223 51% / > > devfs 0 0 0 100% /dev > > /dev/ad0s1f 495 0 456 0% /tmp > > /dev/ad0s1d 5967 4225 1264 77% /usr > > /dev/ad0s1e 15863 1343 13251 9% /var > > /dev/ad0s1g 272313 48823 201704 19% /backups > > > > Like u can see, is the last slice I have, is posible to remove that > slice > > and create a new one? > > > > I don't have info there yet and is not a freebsd default slice, I know > > that I need to umount first. > > > > I have been reading some post but all I have seen is that ins not > possible > > or I'm wrong? > > > > I try to with sysinstall looks like don't let me do this. > > > > Running FreeBSD 7.1-p2. > > > > Thanks all for your time!!! > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From tajudd at gmail.com Mon Feb 9 12:43:45 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Feb 9 12:43:54 2009 Subject: gtkpod permissions problem In-Reply-To: <20090209024630.GA1134@bsd.remdog.net> References: <20090209024630.GA1134@bsd.remdog.net> Message-ID: On Sun, Feb 8, 2009 at 7:46 PM, Rem P Roberti wrote: > > Rem P Roberti writes: > > > > > I have installed gtkpod for use with my Nano, but I'm having a problem > > > when trying to add files. The Nano is mounted at /mnt/ipod, and when I > > > try to add a file I get a message similar to this: > > > > > > Transfer of 'Petite Fleur' failed. Error opening > > > '/mnt/ipod/iPod_Control/Music/F00/gtkpod795096.mp3' for writing > > > (Permission denied). > > > > > > The file, in this case Petite Fleur, shows up in gtkpod, but it can't > be > > > written to the Nano. This obviously looks like a permissions problem, > > > but I can't figure out its cause. > > > > Look at the permissions on that file, and the directory containing it, > > and the mount point. I'm sure at least one of them isn't sufficiently > > permitted to the user running gtkpod. > > You were quite right. I was dealing with a Nano that already had files > on it installed by iTunes. Nothing that I could do, even as root, would > allow me to change the permissions of /mnt/ipod. To make a long story > short, I cleared the Nano of all previously installed files, and started > from zero with gtkpod and now everything works smoothly. I'm still not > sure why I wasn't able to change the permissions of the mounted Nano as > su, but I guess that is typical when dealing with mounted devices. > > --Rem Depending on the filesystem of the iPod itself -- for example an MSDOS/FAT format will set a UID/GID on mount, and no chown will hold. umount /mnt/ipod chown root:wheel /mnt/ipod chmod 0777 /mnt/ipod # optionally, set it sticky bit, chmod 1777 /mnt/ipod mount /dev/ipod /mnt/ipod now try to access the files. I am aware the problem was previously fixed, but for the archives among other reasons, I felt compelled to reply. Enjoy your iPod. From david at skytracker.ca Mon Feb 9 12:57:07 2009 From: david at skytracker.ca (David Banning) Date: Mon Feb 9 12:57:19 2009 Subject: all mail arriving empty - spamassassin? Message-ID: <20090209204321.GA63948@skytracker.ca> After some upgrades, all mail arriving via sendmail-provmail is empty - when I actually deinstall spamassassin - the mail starts arriving again. I haven't seen posts on this topic - I wonder if anyone has a guess as to where to look for answers on this. I am guessing if there is some way of logging what spamassassin is doing... From remegius at comcast.net Mon Feb 9 13:19:55 2009 From: remegius at comcast.net (Rem P Roberti) Date: Mon Feb 9 13:20:02 2009 Subject: gtkpod permissions problem Message-ID: <20090209211955.GA1521@bsd.remdog.net> > > > > > > > > I have installed gtkpod for use with my Nano, but I'm having a problem > > > > when trying to add files. The Nano is mounted at /mnt/ipod, and when I > > > > try to add a file I get a message similar to this: > > > > > > > > Transfer of 'Petite Fleur' failed. Error opening > > > > '/mnt/ipod/iPod_Control/Music/F00/gtkpod795096.mp3' for writing > > > > (Permission denied). > > > > > > > > The file, in this case Petite Fleur, shows up in gtkpod, but it can't > > be > > > > written to the Nano. This obviously looks like a permissions problem, > > > > but I can't figure out its cause. > > > > > > Look at the permissions on that file, and the directory containing it, > > > and the mount point. I'm sure at least one of them isn't sufficiently > > > permitted to the user running gtkpod. > > > > You were quite right. I was dealing with a Nano that already had files > > on it installed by iTunes. Nothing that I could do, even as root, would > > allow me to change the permissions of /mnt/ipod. To make a long story > > short, I cleared the Nano of all previously installed files, and started > > from zero with gtkpod and now everything works smoothly. I'm still not > > sure why I wasn't able to change the permissions of the mounted Nano as > > su, but I guess that is typical when dealing with mounted devices. > > > > Depending on the filesystem of the iPod itself -- for example an MSDOS/FAT > format will set a UID/GID on mount, and no chown will hold. > > umount /mnt/ipod > chown root:wheel /mnt/ipod > chmod 0777 /mnt/ipod > # optionally, set it sticky bit, chmod 1777 /mnt/ipod > mount /dev/ipod /mnt/ipod > > > now try to access the files. > > I am aware the problem was previously fixed, but for the archives among > other reasons, I felt compelled to reply. Thanks for the reply, but I am unable to get this to work regardless of the method employed. Every time I try to change the permissions I get an error message telling me that I am using an "invalid argument". --Rem From rwmaillists at googlemail.com Mon Feb 9 13:27:15 2009 From: rwmaillists at googlemail.com (RW) Date: Mon Feb 9 13:27:21 2009 Subject: all mail arriving empty - spamassassin? In-Reply-To: <20090209204321.GA63948@skytracker.ca> References: <20090209204321.GA63948@skytracker.ca> Message-ID: <20090209212701.154be99c@gumby.homeunix.com> On Mon, 9 Feb 2009 15:43:21 -0500 David Banning wrote: > After some upgrades, all mail arriving via sendmail-provmail is > empty - when I actually deinstall spamassassin - the mail starts > arriving again. > > I haven't seen posts on this topic - I wonder if anyone has a guess > as to where to look for answers on this. There is a problem where spamassassin is dying with SIGPIPE, but returning a non-zero error code. If you are using /usr/local/bin/spamassassin (i.e. not spamd), try editing it and changing "sub kill_handler" to exit with a non-zero value. From frank at shute.org.uk Mon Feb 9 13:33:01 2009 From: frank at shute.org.uk (Frank Shute) Date: Mon Feb 9 13:33:09 2009 Subject: broken ports In-Reply-To: <1b30fd140902091152x17ed90e5sf915b361927067e@mail.gmail.com> References: <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> <20090209055634.GA2116@melon.esperance-linux.co.uk> <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com> <20090209083338.GA2666@melon.esperance-linux.co.uk> <1b30fd140902090108m292ef929tdce1ce2c946ead6b@mail.gmail.com> <20090209093505.GA2835@melon.esperance-linux.co.uk> <1b30fd140902091152x17ed90e5sf915b361927067e@mail.gmail.com> Message-ID: <20090209213249.GA4401@melon.esperance-linux.co.uk> On Mon, Feb 09, 2009 at 07:52:58PM +0000, David Collins wrote: > > > Then you should be able to build rtorrent. > > > > Then what I'd do is deinstall gcc42: > > > > # pkg_deinstall -f gcc-4.2.5_20080702 > > > > Comment out the CC line in /etc/make.conf & run ldconfig: > > > > # /etc/rc.d/ldconfig start > > > > and hopefully your system is then back to normal. > > I tried all this and rtorrent would still not install, with the same > error at configure. I was however able to pkg_deinstall the gcc it > installed. That didn't solve any problems though. > > I feel that it might be easier to focus on the following compiling > problem that still exists: > > viper:~$ gcc -o hello hello.c > /usr/bin/ld: cannot find -lgcc_s What this is telling you is the linker, ld(1), can't find the gcc_s library. ldconfig(8) tells ld where to look. What does: $ ldconfig -r | grep gcc_s tell you now that you've removed that compiler? You should get something like: $ ldconfig -r | grep gcc_s 30:-lgcc_s.1 => /lib/libgcc_s.so.1 i.e. It's looking in the system libs. If it still tells you that the lib is under /usr/local/lib, then there's your problem & you have to regenerate a fresh hints file, I think. The problem is that I've never (IIRC) installed a compiler from ports & I don't know how it screws with the compiler toolchain & hence how to put it right. Hence, I've cc'd this to hackers@ in the hope that someone who is more familiar with the toolchain can give advice. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From davidcollins001 at gmail.com Mon Feb 9 13:48:49 2009 From: davidcollins001 at gmail.com (David Collins) Date: Mon Feb 9 13:48:56 2009 Subject: broken ports In-Reply-To: <20090209213249.GA4401@melon.esperance-linux.co.uk> References: <20090207075521.GA93084@melon.esperance-linux.co.uk> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> <20090209055634.GA2116@melon.esperance-linux.co.uk> <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com> <20090209083338.GA2666@melon.esperance-linux.co.uk> <1b30fd140902090108m292ef929tdce1ce2c946ead6b@mail.gmail.com> <20090209093505.GA2835@melon.esperance-linux.co.uk> <1b30fd140902091152x17ed90e5sf915b361927067e@mail.gmail.com> <20090209213249.GA4401@melon.esperance-linux.co.uk> Message-ID: <1b30fd140902091348j56068545hb90905eb87050acc@mail.gmail.com> Thank you for your input. I feel like this problem is too far over my head to be able to give adequate enough debugging. I am not against any alternative methods of resolving this (even removing and reinstalling ports) rather than fixing, I just don't want to have to jump into sysinstall or reinstall because i believe that is a soluion. David On 09/02/2009, Frank Shute wrote: > On Mon, Feb 09, 2009 at 07:52:58PM +0000, David Collins wrote: >> >> > Then you should be able to build rtorrent. >> > >> > Then what I'd do is deinstall gcc42: >> > >> > # pkg_deinstall -f gcc-4.2.5_20080702 >> > >> > Comment out the CC line in /etc/make.conf & run ldconfig: >> > >> > # /etc/rc.d/ldconfig start >> > >> > and hopefully your system is then back to normal. >> >> I tried all this and rtorrent would still not install, with the same >> error at configure. I was however able to pkg_deinstall the gcc it >> installed. That didn't solve any problems though. >> >> I feel that it might be easier to focus on the following compiling >> problem that still exists: >> >> viper:~$ gcc -o hello hello.c >> /usr/bin/ld: cannot find -lgcc_s > > What this is telling you is the linker, ld(1), can't find the gcc_s > library. ldconfig(8) tells ld where to look. > > What does: > > $ ldconfig -r | grep gcc_s > > tell you now that you've removed that compiler? You should get > something like: > > $ ldconfig -r | grep gcc_s > 30:-lgcc_s.1 => /lib/libgcc_s.so.1 > > i.e. It's looking in the system libs. > > If it still tells you that the lib is under /usr/local/lib, then > there's your problem & you have to regenerate a fresh hints file, I > think. > > The problem is that I've never (IIRC) installed a compiler from > ports & I don't know how it screws with the compiler toolchain & hence > how to put it right. Hence, I've cc'd this to hackers@ in the hope that > someone who is more familiar with the toolchain can give advice. > > > Regards, > > -- > > Frank > > > Contact info: http://www.shute.org.uk/misc/contact.html > > From rwmaillists at googlemail.com Mon Feb 9 13:51:49 2009 From: rwmaillists at googlemail.com (RW) Date: Mon Feb 9 13:51:56 2009 Subject: all mail arriving empty - spamassassin? In-Reply-To: <20090209212701.154be99c@gumby.homeunix.com> References: <20090209204321.GA63948@skytracker.ca> <20090209212701.154be99c@gumby.homeunix.com> Message-ID: <20090209215105.4cae1f4e@gumby.homeunix.com> On Mon, 9 Feb 2009 21:27:01 +0000 RW wrote: > On Mon, 9 Feb 2009 15:43:21 -0500 > David Banning wrote: > > > After some upgrades, all mail arriving via sendmail-provmail is > > empty - when I actually deinstall spamassassin - the mail starts > > arriving again. > > > > I haven't seen posts on this topic - I wonder if anyone has a guess > > as to where to look for answers on this. > > There is a problem where spamassassin is dying with SIGPIPE, but > returning a non-zero error code. > that should have been "returning a zero error code" > If you are using /usr/local/bin/spamassassin (i.e. not spamd), try > editing it and changing "sub kill_handler" to exit with a non-zero > value. From ipfreak at yahoo.com Mon Feb 9 14:53:34 2009 From: ipfreak at yahoo.com (gahn) Date: Mon Feb 9 14:53:40 2009 Subject: ipv6 and freebsd Message-ID: <897510.49587.qm@web52106.mail.re2.yahoo.com> Hi all: Free questions with FreeBSD and IPV6. I am running 7.1. 1) My machine has multiple interfaces and some of interfaces I would like to run IP v6 but not all of them. How could I do that? Currently "ipv6_enable="YES" enables every interface of this machine, and "ipv6_network_interface="fxp0"" doesn't seem to do anything. 2) I have a router that is running IPv6 router-advertisement. How could I run autoconfiguration mode on the interface of my FreeBSD machine? Thanks. From onemda at gmail.com Mon Feb 9 15:08:11 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Mon Feb 9 15:08:24 2009 Subject: How to troubleshoot why ath0 can't connect to a passwordless wireless network? In-Reply-To: <20090209003328.146539xpvcxdt740@webmail.rawbw.com> References: <20090209003328.146539xpvcxdt740@webmail.rawbw.com> Message-ID: <3a142e750902091508v29f5c8car2a3bf5dc56b763e2@mail.gmail.com> On 2/9/09, Yuri wrote: > I have a wireless network without password that my linux box easily > connects to. > > On FreeBSD 'ifconfig ath0 up scan' command shows it. 'ifconfig ath0 > ssid up' brings interface to 'associated' state. But > dhclient fails set it up. > > I have another device on the same system: ral0. It connect to this > network without problems. > > What can I do to understand what may be a problem with ath0 in my case? > > Yuri > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > wlandebug(8) for general 802.11 debuging ath driver have it's own debug options ... documented in source code .... -- Paul From m.seaman at infracaninophile.co.uk Mon Feb 9 15:08:30 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Feb 9 15:08:36 2009 Subject: FreeBSD Preferred RAID controllers In-Reply-To: <935744.1303.qm@web83814.mail.sp1.yahoo.com> References: <935744.1303.qm@web83814.mail.sp1.yahoo.com> Message-ID: <4990B75D.1080806@infracaninophile.co.uk> Gabe wrote: > Now with a gstripe+gmirror setup, would it be possible to fail a > specific drive on purpose? I mean fail a (good) drive, pull it out, > replace it and rebuild(?) it. I know I know, but humor me. Yes. Cheers, Matthew Well, to 'fail' the drive, you'ld have to physically pull the drive from the chassis which will involve a power cycle unless you've got hot-swap drives. Of course, you should confirm that your system will boot with the RAID in a degraded state and that rebuilding the RAID will continue even if interrupted by a reboot. gmirror(8) passes those tests. You do have to type some commands to get a mirror to rebuild (examples are shown in the man page) unlike some hardware RAIDs where simply inserting an unused disk is sufficient. -- 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090209/eaa6595d/signature.pgp From Albert.Shih at obspm.fr Mon Feb 9 15:28:19 2009 From: Albert.Shih at obspm.fr (Albert Shih) Date: Mon Feb 9 15:28:26 2009 Subject: installkernel on small disk In-Reply-To: <498E9D26.3090804@gmail.com> References: <20090206202032.GB76165@obspm.fr> <498E9D26.3090804@gmail.com> Message-ID: <20090209232815.GD95274@obspm.fr> Le 08/02/2009 ? 01:51:50-0700, Tim Judd a ?crit > Albert Shih wrote: > > Hi all > > > > I've two servers (in fact guest in vmware) on don't have enought disk space > > to make buildkernel (or world). > > > > For the world freebsd-update can work. But for the kernel I've my own > > kernel. > > > > So if I compile the kernel on the other server how can I put it on the > > first ? > > > > Regards. > > > > > > With an NFS mount, with sneakernet, or scp. > On the machine with enough disk space: > make buildkernel installkernel DESTDIR=/nfsmount KERNCONF=otherkernel > #hackish and i'd be worried of this. It will force a backup of the > running kernel to the remote /boot/kernel.old > > I'd recommend: > make buildkernel installkernel DESTDIR=/tmp KERNCONF=otherkernel > tar -czf /tmp/otherkernel.tgz /tmp/boot/kernel > # bring the otherkernel.tgz file to the machine, maybe by usb stick, > and extract. don't forget to tar -xz*p*f (permissions) Thanks. But in that case why I can't just do cd /boot tar czvf some_place/kernel.tgz kernel and just transfert the kernel.tgz and make the tar xpf ? > > How thin on disk space are you? 2 Go for everything.... But I can mount by NFS more space (very more). Thanks for the answer. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Mar 10 f?v 2009 00:26:02 CET From scrappy at hub.org Mon Feb 9 15:28:59 2009 From: scrappy at hub.org (Marc G. Fournier) Date: Mon Feb 9 15:29:06 2009 Subject: xorg 7.4: "button" fonts unreadable ... Message-ID: <20090209191710.P90262@hub.org> Have searched Google, but haven't been able to find anything that either worked, or was relevant ... I just cleaned out and reinstalled all of my ports ... when I load up an xterm (the one I'm working in right now), all the text in it is fine and readable ... but, the top of the xterm, where it has the 'xterm icon' and some writing to the right of it, the writing is unreadable ... If I load up firefox3, the web pages are viewable and readable, but stuff like the location bar are unreadable (I have to hope I type without making a mistake) ... I'm not sure what to look at ... have checked the output from starting X, and not seeing anything font related ... Help? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From yuri at rawbw.com Mon Feb 9 15:53:06 2009 From: yuri at rawbw.com (Yuri) Date: Mon Feb 9 16:00:39 2009 Subject: How to troubleshoot why ath0 can't connect to a passwordless wireless network? In-Reply-To: <3a142e750902091508v29f5c8car2a3bf5dc56b763e2@mail.gmail.com> References: <20090209003328.146539xpvcxdt740@webmail.rawbw.com> <3a142e750902091508v29f5c8car2a3bf5dc56b763e2@mail.gmail.com> Message-ID: <20090209155305.13786eiozefkdvs4@webmail.rawbw.com> Quoting "Paul B. Mahol" : > wlandebug(8) for general 802.11 debuging > > ath driver have it's own debug options ... documented in source code .... > Thanks! In the debug log I see the line: ath0: ieee80211_scan_update: no scanner suppport for mode 8 From source code I see that mode 8 is IEEE80211_M_MONITOR. As I understand in 'monitor' mode no packets are being sent or received. When I try to turn it off with 'ifconfig ath0 -monotor' interface still seems to stay in monitor mode. Why wouldn't -monitor turn monitor mode off? Yuri From dickey at radix.net Mon Feb 9 15:53:47 2009 From: dickey at radix.net (Thomas Dickey) Date: Mon Feb 9 16:00:40 2009 Subject: xorg 7.4: "button" fonts unreadable ... In-Reply-To: <20090209191710.P90262@hub.org> References: <20090209191710.P90262@hub.org> Message-ID: <20090209234052.GA21597@saltmine.radix.net> On Mon, Feb 09, 2009 at 07:28:58PM -0400, Marc G. Fournier wrote: > > Have searched Google, but haven't been able to find anything that either > worked, or was relevant ... I just cleaned out and reinstalled all of my > ports ... when I load up an xterm (the one I'm working in right now), all > the text in it is fine and readable ... but, the top of the xterm, where > it has the 'xterm icon' and some writing to the right of it, the writing > is unreadable ... Basically, the xorg hackers decided to improve your user experience by lobotomizing the fonts - I modified xterm to recover from that by falling back to "fixed" (I'm unsure why they left that intact). However, window titles are owned by your window manager. > If I load up firefox3, the web pages are viewable and readable, but stuff > like the location bar are unreadable (I have to hope I type without making > a mistake) ... > > I'm not sure what to look at ... have checked the output from starting X, > and not seeing anything font related ... Best advice is to locate the "misc" fonts (or whatever it's called in FreeBSD) and install those. That'll work until the next improvement to the X server's font handling. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 228 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090209/ce9b877c/attachment.pgp From amvandemore at gmail.com Mon Feb 9 16:10:34 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Feb 9 16:10:41 2009 Subject: How to troubleshoot why ath0 can't connect to a passwordless wireless network? In-Reply-To: <20090209155305.13786eiozefkdvs4@webmail.rawbw.com> References: <20090209003328.146539xpvcxdt740@webmail.rawbw.com> <3a142e750902091508v29f5c8car2a3bf5dc56b763e2@mail.gmail.com> <20090209155305.13786eiozefkdvs4@webmail.rawbw.com> Message-ID: <4990C5E8.5010300@gmail.com> Yuri wrote: > Quoting "Paul B. Mahol" : > >> wlandebug(8) for general 802.11 debuging >> >> ath driver have it's own debug options ... documented in source code >> .... >> > > Thanks! > > In the debug log I see the line: > ath0: ieee80211_scan_update: no scanner suppport for mode 8 > From source code I see that mode 8 is IEEE80211_M_MONITOR. > As I understand in 'monitor' mode no packets are being sent or received. > When I try to turn it off with 'ifconfig ath0 -monotor' interface > still seems to stay in monitor mode. > > Why wouldn't -monitor turn monitor mode off? > > Yuri Perhaps it is just a typo but shouldn't it be 'ifconfig ath0 -monitor' instead of 'ifconfig ath0 -monotor' From scrappy at hub.org Mon Feb 9 16:58:13 2009 From: scrappy at hub.org (Marc G. Fournier) Date: Mon Feb 9 16:58:20 2009 Subject: xorg 7.4: "button" fonts unreadable ... In-Reply-To: <20090209234052.GA21597@saltmine.radix.net> References: <20090209191710.P90262@hub.org> <20090209234052.GA21597@saltmine.radix.net> Message-ID: <20090209205704.C90262@hub.org> So, if I backtrack to 7.3.x, I should be fine? On Mon, 9 Feb 2009, Thomas Dickey wrote: > On Mon, Feb 09, 2009 at 07:28:58PM -0400, Marc G. Fournier wrote: >> >> Have searched Google, but haven't been able to find anything that either >> worked, or was relevant ... I just cleaned out and reinstalled all of my >> ports ... when I load up an xterm (the one I'm working in right now), all >> the text in it is fine and readable ... but, the top of the xterm, where >> it has the 'xterm icon' and some writing to the right of it, the writing >> is unreadable ... > > Basically, the xorg hackers decided to improve your user experience by > lobotomizing the fonts - I modified xterm to recover from that by falling > back to "fixed" (I'm unsure why they left that intact). > > However, window titles are owned by your window manager. > >> If I load up firefox3, the web pages are viewable and readable, but stuff >> like the location bar are unreadable (I have to hope I type without making >> a mistake) ... >> >> I'm not sure what to look at ... have checked the output from starting X, >> and not seeing anything font related ... > > Best advice is to locate the "misc" fonts (or whatever it's called in > FreeBSD) and install those. That'll work until the next improvement to > the X server's font handling. > > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From dickey at radix.net Mon Feb 9 17:01:06 2009 From: dickey at radix.net (Thomas Dickey) Date: Mon Feb 9 17:01:13 2009 Subject: xorg 7.4: "button" fonts unreadable ... In-Reply-To: <20090209205704.C90262@hub.org> References: <20090209191710.P90262@hub.org> <20090209234052.GA21597@saltmine.radix.net> <20090209205704.C90262@hub.org> Message-ID: <20090210010104.GA18209@saltmine.radix.net> On Mon, Feb 09, 2009 at 08:58:12PM -0400, Marc G. Fournier wrote: > > So, if I backtrack to 7.3.x, I should be fine? that sounds like it (I don't keep track of the version numbers). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 228 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090210/b7f539bd/attachment.pgp From scrappy at hub.org Mon Feb 9 17:15:34 2009 From: scrappy at hub.org (Marc G. Fournier) Date: Mon Feb 9 17:15:42 2009 Subject: xorg && 7-current && ( kde || nvidia driver ) == desktop crash Message-ID: <20090209211505.O14664@hub.org> Okay, I've exhausted every google search I can think of, and not getting anywhere, so now to ask ... Just upgraded my motherboard / CPU (old one fried out) ... picked up an ASUS P5Q with a Quad Core Intel CPU ... everything boots / runs fine, until I try and start up X ... If I use the 'nv' driver in my X conig file, and the twm window manager, everything starts up fine, I can load Firefox, etc, etc ... As soon as I switch from nv -> nvidia and start, the screen goes blank and the machine reboots ... If I switch from nvidia -> nv and use '/usr/local/kde4/bin/startkde', the screen goes blank, and the machine reboots ... I just installed icewm, and using that, everything loads up fine too ... So, I figure there is something that I'm either missing in my install, or that I've configured wrong that kde is trying to use, but I'm at a lose as to what ... Can anyone help? Thanks ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From glen.j.barber at gmail.com Mon Feb 9 17:19:55 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Feb 9 17:20:02 2009 Subject: xorg && 7-current && ( kde || nvidia driver ) == desktop crash In-Reply-To: <20090209211505.O14664@hub.org> References: <20090209211505.O14664@hub.org> Message-ID: <4ad871310902091719x74eed964gfc81d63c437da0cf@mail.gmail.com> On Mon, Feb 9, 2009 at 8:15 PM, Marc G. Fournier wrote: > > > Okay, I've exhausted every google search I can think of, and not getting > anywhere, so now to ask ... > > Just upgraded my motherboard / CPU (old one fried out) ... picked up an ASUS > P5Q with a Quad Core Intel CPU ... everything boots / runs fine, until I try > and start up X ... > > If I use the 'nv' driver in my X conig file, and the twm window manager, > everything starts up fine, I can load Firefox, etc, etc ... > > As soon as I switch from nv -> nvidia and start, the screen goes blank and > the machine reboots ... > > If I switch from nvidia -> nv and use '/usr/local/kde4/bin/startkde', the > screen goes blank, and the machine reboots ... > > I just installed icewm, and using that, everything loads up fine too ... > > So, I figure there is something that I'm either missing in my install, or > that I've configured wrong that kde is trying to use, but I'm at a lose as > to what ... > Are you starting hald and dbus via rc.conf? -- Glen Barber From scrappy at hub.org Mon Feb 9 17:22:41 2009 From: scrappy at hub.org (Marc G. Fournier) Date: Mon Feb 9 17:22:48 2009 Subject: xorg && 7-current && ( kde || nvidia driver ) == desktop crash In-Reply-To: <4ad871310902091719x74eed964gfc81d63c437da0cf@mail.gmail.com> References: <20090209211505.O14664@hub.org> <4ad871310902091719x74eed964gfc81d63c437da0cf@mail.gmail.com> Message-ID: <20090209212116.W14664@hub.org> On Mon, 9 Feb 2009, Glen Barber wrote: > On Mon, Feb 9, 2009 at 8:15 PM, Marc G. Fournier wrote: >> >> >> Okay, I've exhausted every google search I can think of, and not getting >> anywhere, so now to ask ... >> >> Just upgraded my motherboard / CPU (old one fried out) ... picked up an ASUS >> P5Q with a Quad Core Intel CPU ... everything boots / runs fine, until I try >> and start up X ... >> >> If I use the 'nv' driver in my X conig file, and the twm window manager, >> everything starts up fine, I can load Firefox, etc, etc ... >> >> As soon as I switch from nv -> nvidia and start, the screen goes blank and >> the machine reboots ... >> >> If I switch from nvidia -> nv and use '/usr/local/kde4/bin/startkde', the >> screen goes blank, and the machine reboots ... >> >> I just installed icewm, and using that, everything loads up fine too ... >> >> So, I figure there is something that I'm either missing in my install, or >> that I've configured wrong that kde is trying to use, but I'm at a lose as >> to what ... >> > > Are you starting hald and dbus via rc.conf? Yes ... both mouse and keyboard have been working great ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From glen.j.barber at gmail.com Mon Feb 9 17:23:42 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Feb 9 17:23:48 2009 Subject: xorg && 7-current && ( kde || nvidia driver ) == desktop crash In-Reply-To: <20090209212116.W14664@hub.org> References: <20090209211505.O14664@hub.org> <4ad871310902091719x74eed964gfc81d63c437da0cf@mail.gmail.com> <20090209212116.W14664@hub.org> Message-ID: <4ad871310902091723v6549b870rbf6926ac8f5468f@mail.gmail.com> On Mon, Feb 9, 2009 at 8:22 PM, Marc G. Fournier wrote: >> Are you starting hald and dbus via rc.conf? > > Yes ... both mouse and keyboard have been working great ... > Well, that's good to hear. ;) Thought I'd as to be safe. -- Glen Barber From scrappy at hub.org Mon Feb 9 17:31:42 2009 From: scrappy at hub.org (Marc G. Fournier) Date: Mon Feb 9 17:31:48 2009 Subject: xorg && 7-current && ( kde || nvidia driver ) == desktop crash In-Reply-To: <4ad871310902091723v6549b870rbf6926ac8f5468f@mail.gmail.com> References: <20090209211505.O14664@hub.org> <4ad871310902091719x74eed964gfc81d63c437da0cf@mail.gmail.com> <20090209212116.W14664@hub.org> <4ad871310902091723v6549b870rbf6926ac8f5468f@mail.gmail.com> Message-ID: <20090209212935.I14664@hub.org> On Mon, 9 Feb 2009, Glen Barber wrote: > On Mon, Feb 9, 2009 at 8:22 PM, Marc G. Fournier wrote: >>> Are you starting hald and dbus via rc.conf? >> >> Yes ... both mouse and keyboard have been working great ... >> > > Well, that's good to hear. ;) > > Thought I'd as to be safe. Ya, that was the easiest problems to search on google and get fixed :) I'm going to try downgrading to xorg 7.3 ... I'm having headaches with fonts (Location bar in firefox3 is unreadable, although all pages are fine ... mail messagesin mulberry are unreadable, although the message index is *just* readable, etc) ... someone mentioned some changes in 7.4 concerning fonts, and I figure, my luck, this might be something that is trickling into other areas :( ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From amvandemore at gmail.com Mon Feb 9 17:43:57 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Feb 9 17:44:04 2009 Subject: xorg && 7-current && ( kde || nvidia driver ) == desktop crash In-Reply-To: <20090209212935.I14664@hub.org> References: <20090209211505.O14664@hub.org> <4ad871310902091719x74eed964gfc81d63c437da0cf@mail.gmail.com> <20090209212116.W14664@hub.org> <4ad871310902091723v6549b870rbf6926ac8f5468f@mail.gmail.com> <20090209212935.I14664@hub.org> Message-ID: <4990DBCB.2070201@gmail.com> Marc G. Fournier wrote: > On Mon, 9 Feb 2009, Glen Barber wrote: > >> On Mon, Feb 9, 2009 at 8:22 PM, Marc G. Fournier >> wrote: >>>> Are you starting hald and dbus via rc.conf? >>> >>> Yes ... both mouse and keyboard have been working great ... >>> >> >> Well, that's good to hear. ;) >> >> Thought I'd as to be safe. > > Ya, that was the easiest problems to search on google and get fixed :) > > I'm going to try downgrading to xorg 7.3 ... I'm having headaches with > fonts (Location bar in firefox3 is unreadable, although all pages are > fine ... mail messagesin mulberry are unreadable, although the message > index is *just* readable, etc) ... someone mentioned some changes in > 7.4 concerning fonts, and I figure, my luck, this might be something > that is trickling into other areas :( > FWIW, I run both KDE and KDE4 w/ nvidia driver dual head on xorg 7.4. Following UPDATING resolved the issues I had going from 7.3 > 7.4. midco# uname -a FreeBSD midco.net 7.1-RELEASE FreeBSD 7.1-RELEASE #5: Tue Jan 13 13:35:17 CST 2009 adam@midco.net:/usr/obj/usr/src/sys/DOMINATOR i386 midco# pkg_info | grep nvidia nvidia-driver-177.80 NVidia graphics card binary drivers for hardware OpenGL ren nvidia-settings-180.17 Display Control Panel for X NVidia driver xorg-7.4 X.Org complete distribution metaport From deb at es.net Mon Feb 9 17:50:20 2009 From: deb at es.net (Deb Heller-Evans) Date: Mon Feb 9 17:50:27 2009 Subject: xorg && 7-current && ( kde || nvidia driver ) == desktop crash In-Reply-To: <20090209211505.O14664@hub.org> References: <20090209211505.O14664@hub.org> Message-ID: <4990DD5A.6090807@es.net> I ran into the same kind of issue. FWIW, I had better luck downloading the nVidia drivers from the website which includes modifying the kernel. I can now do all kinds of extra things, like spanning 2 monitors, etc (on workstations). I can dig up my notes if you intend to go this route at some point... d Deb Heller-Evans Energy Science Network MS-50A-3101 Berkeley, CA 94720 510/495-2243 Marc G. Fournier wrote: > > > Okay, I've exhausted every google search I can think of, and not > getting anywhere, so now to ask ... > > Just upgraded my motherboard / CPU (old one fried out) ... picked up > an ASUS P5Q with a Quad Core Intel CPU ... everything boots / runs > fine, until I try and start up X ... > > If I use the 'nv' driver in my X conig file, and the twm window > manager, everything starts up fine, I can load Firefox, etc, etc ... > > As soon as I switch from nv -> nvidia and start, the screen goes blank > and the machine reboots ... > > If I switch from nvidia -> nv and use '/usr/local/kde4/bin/startkde', > the screen goes blank, and the machine reboots ... > > I just installed icewm, and using that, everything loads up fine too ... > > So, I figure there is something that I'm either missing in my install, > or that I've configured wrong that kde is trying to use, but I'm at a > lose as to what ... > > Can anyone help? > > Thanks ... > > > > ---- > Marc G. Fournier Hub.Org Networking Services > (http://www.hub.org) > Email . scrappy@hub.org MSN . > scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From deb at es.net Mon Feb 9 18:01:05 2009 From: deb at es.net (Deb Heller-Evans) Date: Mon Feb 9 18:01:12 2009 Subject: xorg && 7-current && ( kde || nvidia driver ) == desktop crash In-Reply-To: <4990DD5A.6090807@es.net> References: <20090209211505.O14664@hub.org> <4990DD5A.6090807@es.net> Message-ID: <4990DFDF.4060809@es.net> Oops. Brain FART... I'm in a multi-OS environment... My answer was with respect to a different OS, but it might be applicable to FreeBSD. I don't have experience with nVidia on FreeBSD. Deb Heller-Evans Energy Science Network MS-50A-3101 Berkeley, CA 94720 510/495-2243 Deb Heller-Evans wrote: > I ran into the same kind of issue. FWIW, I had better luck > downloading the nVidia drivers from the website which includes > modifying the kernel. I can now do all kinds of extra things, like > spanning 2 monitors, etc (on workstations). > I can dig up my notes if you intend to go this route at some point... > > d > > Deb Heller-Evans > Energy Science Network > MS-50A-3101 > Berkeley, CA 94720 > > 510/495-2243 > > > > Marc G. Fournier wrote: >> >> >> Okay, I've exhausted every google search I can think of, and not >> getting anywhere, so now to ask ... >> >> Just upgraded my motherboard / CPU (old one fried out) ... picked up >> an ASUS P5Q with a Quad Core Intel CPU ... everything boots / runs >> fine, until I try and start up X ... >> >> If I use the 'nv' driver in my X conig file, and the twm window >> manager, everything starts up fine, I can load Firefox, etc, etc ... >> >> As soon as I switch from nv -> nvidia and start, the screen goes >> blank and the machine reboots ... >> >> If I switch from nvidia -> nv and use '/usr/local/kde4/bin/startkde', >> the screen goes blank, and the machine reboots ... >> >> I just installed icewm, and using that, everything loads up fine too ... >> >> So, I figure there is something that I'm either missing in my >> install, or that I've configured wrong that kde is trying to use, but >> I'm at a lose as to what ... >> >> Can anyone help? >> >> Thanks ... >> >> >> >> ---- >> Marc G. Fournier Hub.Org Networking Services >> (http://www.hub.org) >> Email . scrappy@hub.org MSN . >> scrappy@hub.org >> Yahoo . yscrappy Skype: hub.org ICQ . 7615664 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From ipfreak at yahoo.com Mon Feb 9 18:01:55 2009 From: ipfreak at yahoo.com (gahn) Date: Mon Feb 9 18:02:02 2009 Subject: ipv6 and freebsd In-Reply-To: <897510.49587.qm@web52106.mail.re2.yahoo.com> Message-ID: <310088.20433.qm@web52102.mail.re2.yahoo.com> Ok, i meant the configuration of "ipv6_network_interface="fxp0"" alone doesn't seem to be working: for /etc/rc.conf: #ipv6_enable="YES" ipv6_network_interface="fxp0" user@lab:~:$ ifconfig fxp0 fxp0: flags=8843 metric 0 mtu 1500 options=9b ether 00:06:5b:f0:7d:21 inet 10.0.0.1 netmask 0xffffff80 broadcast 10.0.0.127 media: Ethernet autoselect (100baseTX ) status: active then I modified the file /etc/rc.conf: ipv6_enable="YES" ipv6_network_interface="fxp0" then it enabled the IPv6 on every interface. how could I enable IPv6 only on the interface fxp0 instead of every interface? Also how could I enable the feature of "auto configuration"? I have a router configured on the same subnet on the interface fxp0 as eui-64 and sending out router-advertisement. so far i don't see the automatically configured IPv6 address on the interface fxp0 except the link-local address (the one starts with fe80::). why is that? --- On Mon, 2/9/09, gahn wrote: > From: gahn > Subject: ipv6 and freebsd > To: "freebsd general questions" > Date: Monday, February 9, 2009, 2:53 PM > Hi all: > > Free questions with FreeBSD and IPV6. I am running 7.1. > > 1) My machine has multiple interfaces and some of > interfaces I would like to run IP v6 but not all of them. > How could I do that? Currently > "ipv6_enable="YES" enables every interface of > this machine, and > "ipv6_network_interface="fxp0"" > doesn't seem to do anything. > 2) I have a router that is running IPv6 > router-advertisement. How could I run autoconfiguration mode > on the interface of my FreeBSD machine? > > Thanks. > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From scrappy at hub.org Mon Feb 9 18:18:26 2009 From: scrappy at hub.org (Marc G. Fournier) Date: Mon Feb 9 18:18:33 2009 Subject: xorg && 7-current && ( kde || nvidia driver ) == desktop crash In-Reply-To: <4990DFDF.4060809@es.net> References: <20090209211505.O14664@hub.org> <4990DD5A.6090807@es.net> <4990DFDF.4060809@es.net> Message-ID: <20090209221800.A14664@hub.org> Hi Deb ... was this vs compiling from source? On Mon, 9 Feb 2009, Deb Heller-Evans wrote: > Oops. Brain FART... I'm in a multi-OS environment... My answer was with > respect to a different OS, but it might be applicable to FreeBSD. I don't > have experience with nVidia on FreeBSD. > > Deb Heller-Evans > Energy Science Network > MS-50A-3101 > Berkeley, CA 94720 > > 510/495-2243 > > > > Deb Heller-Evans wrote: >> I ran into the same kind of issue. FWIW, I had better luck downloading the >> nVidia drivers from the website which includes modifying the kernel. I can >> now do all kinds of extra things, like spanning 2 monitors, etc (on >> workstations). >> I can dig up my notes if you intend to go this route at some point... >> >> d >> >> Deb Heller-Evans >> Energy Science Network >> MS-50A-3101 >> Berkeley, CA 94720 >> >> 510/495-2243 >> >> >> >> Marc G. Fournier wrote: >>> >>> >>> Okay, I've exhausted every google search I can think of, and not getting >>> anywhere, so now to ask ... >>> >>> Just upgraded my motherboard / CPU (old one fried out) ... picked up an >>> ASUS P5Q with a Quad Core Intel CPU ... everything boots / runs fine, >>> until I try and start up X ... >>> >>> If I use the 'nv' driver in my X conig file, and the twm window manager, >>> everything starts up fine, I can load Firefox, etc, etc ... >>> >>> As soon as I switch from nv -> nvidia and start, the screen goes blank and >>> the machine reboots ... >>> >>> If I switch from nvidia -> nv and use '/usr/local/kde4/bin/startkde', the >>> screen goes blank, and the machine reboots ... >>> >>> I just installed icewm, and using that, everything loads up fine too ... >>> >>> So, I figure there is something that I'm either missing in my install, or >>> that I've configured wrong that kde is trying to use, but I'm at a lose as >>> to what ... >>> >>> Can anyone help? >>> >>> Thanks ... >>> >>> >>> >>> ---- >>> Marc G. Fournier Hub.Org Networking Services >>> (http://www.hub.org) >>> Email . scrappy@hub.org MSN . scrappy@hub.org >>> Yahoo . yscrappy Skype: hub.org ICQ . 7615664 >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From tajudd at gmail.com Mon Feb 9 18:23:53 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Feb 9 18:24:00 2009 Subject: installkernel on small disk In-Reply-To: <20090209232815.GD95274@obspm.fr> References: <20090206202032.GB76165@obspm.fr> <498E9D26.3090804@gmail.com> <20090209232815.GD95274@obspm.fr> Message-ID: <4990E51A.6060104@gmail.com> Albert Shih wrote: > Le 08/02/2009 ? 01:51:50-0700, Tim Judd a ?crit > >> Albert Shih wrote: >> >>> Hi all >>> >>> I've two servers (in fact guest in vmware) on don't have enought disk space >>> to make buildkernel (or world). >>> >>> For the world freebsd-update can work. But for the kernel I've my own >>> kernel. >>> >>> So if I compile the kernel on the other server how can I put it on the >>> first ? >>> >>> Regards. >>> >>> >>> >> With an NFS mount, with sneakernet, or scp. >> On the machine with enough disk space: >> make buildkernel installkernel DESTDIR=/nfsmount KERNCONF=otherkernel >> #hackish and i'd be worried of this. It will force a backup of the >> running kernel to the remote /boot/kernel.old >> >> I'd recommend: >> make buildkernel installkernel DESTDIR=/tmp KERNCONF=otherkernel >> tar -czf /tmp/otherkernel.tgz /tmp/boot/kernel >> # bring the otherkernel.tgz file to the machine, maybe by usb stick, >> and extract. don't forget to tar -xz*p*f (permissions) >> > > Thanks. > > But in that case why I can't just do > > cd /boot > tar czvf some_place/kernel.tgz kernel > > and just transfert the kernel.tgz and make the tar xpf ? > That is what I have above, commented out as another option. > >> How thin on disk space are you? >> > > 2 Go for everything.... But I can mount by NFS more space (very more). > > Thanks for the answer. > > Regards. > From sales at internationalpropertydirectory.com Mon Feb 9 18:26:34 2009 From: sales at internationalpropertydirectory.com (International Property Directory) Date: Mon Feb 9 18:26:41 2009 Subject: Turnkey Ready in Dubai - Immediate Rental Returns - Why Wait? Message-ID: <3308639786721697323359@ipd-office> Concerned about delivery in Dubai? No need to worry when you can move in right away. Choose Your Language: Russian Please forward this newsletter If you know someone who might be interested in our latest newsletter please click here to forward this email to up to 5 friends at once. Dubai Commercial and Residential Rental Guarantees Benefit from a wide range of Guaranteed Rental Commercial and Residential Properties on offer now or get a massive on the spot rebate from listed prices. Guaranteed Rental Property The Dubia Shopping Festival 2009 closes soon - act now. Ready to Occupy and Rent Out Residential Properties - No need to worry about delivery problems Move in from only ?46,046 | $68,060 USD | ?52,569 Euros | 250,000 AED For superb friendly payment terms, great prices and unbeatable benefits contact us today! Ready to Occupy and Rent Out Office Space Rated as one of the best office projects to date! and no need to worry about delivery problems For superb friendly payment terms, great prices and unbeatable benefits contact us today! While the Property Market is slow the Dubia Shopping Festival is the ideal time to get the best deals available. For information on these Turnkey properties and many more opportunities contact us today with details of what you are looking for. CONTACT US HERE We work directly with World Renowned Developers Newsletter Sign up - Please sign-up an associate for the IPD Newsletter list Newsletter Removal - Please remove email from the IPD Newsletter list DISCLAIMER This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. This e-mail has been prepared using information believed by the author to be reliable and accurate, but International Property Directory make no warranty as to its accuracy or completeness. Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of International Property Directory. They maybe subject to change without notice. International Property Directory do not accept responsibility for changes made to this e-mail after it was sent. If verification is required please request a hard-copy version. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, lost, destroyed, corrupted, arrive late or incomplete, or contain viruses. For information regarding our privacy policy please visit contact us for further details. International Property Directory does not take receipt of any monies or sign contracts with investors. We operate independently, sourcing property investment opportunities for our interested parties. All contracts and monies are always handled directly with the property developer offering the property. We always recommend our investors seek Independent legal and financial advice before purchasing a property. International Property Directory can accept no liability for any damages or losses resulting from the purchase of one our listed Investment Opportunities. International Property Directory is a Canadian registered company. Registered Address: London, Ontario, N6G 4V4, CANADA ? International Property Directory From freebsd at sopwith.solgatos.com Mon Feb 9 21:24:58 2009 From: freebsd at sopwith.solgatos.com (Dieter) Date: Mon Feb 9 21:25:04 2009 Subject: How do I spinup disk from power-up in standby ? Message-ID: <200902092228.WAA21205@sopwith.solgatos.com> Western Digital SATA disk in "power-up in standby" mode. disk is connected to nforce4-ultra FreeBSD 7.0 amd64 Google found that MirBSD's atactl man page has: puisspinup Explicitly spins up the device if power-up in standby (puis) mode is enabled. I can't find anything like this on FreeBSD. (I checked 7.1 also) And the disk doesn't show up in dmesg. It should be ad6, but there is no ad6 and no Western Digital or WD in dmesg. From scrappy at hub.org Mon Feb 9 21:30:15 2009 From: scrappy at hub.org (Marc G. Fournier) Date: Mon Feb 9 21:30:22 2009 Subject: xorg 7.4: "button" fonts unreadable ... In-Reply-To: <20090210010104.GA18209@saltmine.radix.net> References: <20090209191710.P90262@hub.org> <20090209234052.GA21597@saltmine.radix.net> <20090209205704.C90262@hub.org> <20090210010104.GA18209@saltmine.radix.net> Message-ID: <20090210012950.U14664@hub.org> Downgrading to 7.3 has made X usable again ... will try out nvidia driver tomorrow ... On Mon, 9 Feb 2009, Thomas Dickey wrote: > On Mon, Feb 09, 2009 at 08:58:12PM -0400, Marc G. Fournier wrote: >> >> So, if I backtrack to 7.3.x, I should be fine? > > that sounds like it (I don't keep track of the version numbers). > > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From c.kworr at gmail.com Mon Feb 9 21:37:12 2009 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Mon Feb 9 21:37:20 2009 Subject: Sierra Wireless AC595U Message-ID: Hi all. Is there any plans to add support for this device? It seems that NetBSD has the code for it almost for a year now. Currently 7-STABLE doesn't recognize this device. Adding it to ubsa.c also gives nothing - the device is detected properly but doesn't work at all: Feb 10 06:58:11 limbo kernel: ucom0: on uhub2 Feb 10 06:59:18 limbo kernel: ucom0: ubsa_request: STALLED Feb 10 06:59:18 limbo kernel: ucom0: ubsa_request: STALLED Feb 10 06:59:18 limbo kernel: ucom0: ubsa_request: STALLED Feb 10 06:59:23 limbo kernel: ucom0: ubsa_request: TIMEOUT Feb 10 06:59:28 limbo kernel: ucom0: ubsa_request: TIMEOUT Feb 10 06:59:33 limbo kernel: ucom0: ubsa_request: STALLED Is there any chances it would work? Can provide shell access to system with this it. -- Sphinx of black quartz judge my vow. From k0802647 at telus.net Mon Feb 9 22:21:12 2009 From: k0802647 at telus.net (Carl) Date: Mon Feb 9 22:21:18 2009 Subject: wildcards don't work in sh shell for FAT32 filesystem In-Reply-To: <49067148.6080307@telus.net> References: <49067148.6080307@telus.net> Message-ID: <49910E44.9020904@telus.net> Why do pathnames containing a wildcard work in the tcsh shell regardless of the target filesystem, but do not work in the sh shell if the target filesystem is FAT32? The following sequence begins in the tcsh shell by mounting a FAT32 partition from a USB thumb drive. /tmp is in a UFS2 partition. There are no files with "fish" in their names in either location. This is happening in FreeBSD 7.0-RELEASE. Why do the last four commands not have the same result? tcsh# mount_msdosfs /dev/da0s1 /mnt tcsh# rm -f /tmp/fish* rm: No match. tcsh# rm -f /tmp/*fish rm: No match. tcsh# rm -f /mnt/fish* rm: No match. tcsh# rm -f /mnt/*fish rm: No match. tcsh# sh sh# rm -f /tmp/fish* sh# rm -f /tmp/*fish sh# rm -f /mnt/fish* rm: /mnt/fish*: Invalid argument sh# rm -f /mnt/*fish rm: /mnt/*fish: Invalid argument FWIW, the context of this discovery was trying to use the grub-install script from the GRUB port to install its boot loader on a FAT32 thumb drive. The script aborts when it attempts something like "rm -f /mnt/boot/grub/*stage1_5" Carl / K0802647 From fbsd.questions at rachie.is-a-geek.net Mon Feb 9 23:28:47 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Feb 9 23:29:11 2009 Subject: lagg driver at 6.4 ? In-Reply-To: <498C351C.7090708@esiee.fr> References: <498C351C.7090708@esiee.fr> Message-ID: <200902092228.30920.fbsd.questions@rachie.is-a-geek.net> On Friday 06 February 2009 04:03:24 Frank Bonnet wrote: > Does the lagg driver ( ethernet bonding ) has been backported > to the 6.4 release ? I have to setup a server with two giga-ethernet > interfaces ( broadcomm ) and I would like to use them with LACP > with a Cisco switch # uname -r 6.4-RELEASE-p3 # ls /boot/kernel/*lagg* /boot/kernel/if_lagg.ko So yes (and how to find out). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Mon Feb 9 23:33:51 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Feb 9 23:33:58 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <200902060955.59611.naylor.b.david@gmail.com> References: <200902060955.59611.naylor.b.david@gmail.com> Message-ID: <200902092233.36536.fbsd.questions@rachie.is-a-geek.net> On Thursday 05 February 2009 22:55:56 David Naylor wrote: > Hi, > > My ISP is using a WinGate DNS but resolving host names often takes a long > time. The problem is also present in Konqueror (3 & 4) and Firefox. > > An example: > # time host google.co.za > google.co.za has address 66.249.93.104 > google.co.za has address 72.14.207.104 > google.co.za has address 64.233.161.104 > ;; connection timed out; no servers could be reached > ;; connection timed out; no servers could be reached Do your own DNS. Your ISP chokes in AAAA ('IPv6') look ups. If you're not allowed to, still run a local resolver with aggressive neg ttl caching. See the numerous tutorials on the web on how to run your own resolver. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From proskurin-kv at fxclub.org Tue Feb 10 00:01:48 2009 From: proskurin-kv at fxclub.org (Proskurin Kirill) Date: Tue Feb 10 00:01:54 2009 Subject: Samba 3.2 & FreeBSD Message-ID: <49913469.6040400@fxclub.org> Hello all. Just wondering - why samba 3.2+ is not in a ports? -- Best regards, Proskurin Kirill From odhiambo at gmail.com Tue Feb 10 00:03:38 2009 From: odhiambo at gmail.com (Odhiambo Washington) Date: Tue Feb 10 00:03:44 2009 Subject: Samba 3.2 & FreeBSD In-Reply-To: <49913469.6040400@fxclub.org> References: <49913469.6040400@fxclub.org> Message-ID: <991123400902100003k6877057ehc2f0eb71a504d3ed@mail.gmail.com> On Tue, Feb 10, 2009 at 11:01 AM, Proskurin Kirill wrote: > Hello all. > > Just wondering - why samba 3.2+ is not in a ports? net/samba3-devel ?? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood From wojtek at wojtek.tensor.gdynia.pl Tue Feb 10 00:09:55 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Feb 10 00:10:02 2009 Subject: How do I spinup disk from power-up in standby ? In-Reply-To: <200902092228.WAA21205@sopwith.solgatos.com> References: <200902092228.WAA21205@sopwith.solgatos.com> Message-ID: <20090210090919.I67614@wojtek.tensor.gdynia.pl> simply read any sector On Mon, 9 Feb 2009, Dieter wrote: > Western Digital SATA disk in "power-up in standby" mode. > disk is connected to nforce4-ultra > FreeBSD 7.0 amd64 > > Google found that MirBSD's atactl man page has: > > puisspinup Explicitly spins up the device if power-up in standby (puis) > mode is enabled. > > I can't find anything like this on FreeBSD. (I checked 7.1 also) > And the disk doesn't show up in dmesg. It should be ad6, > but there is no ad6 and no Western Digital or WD in dmesg. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From wojtek at wojtek.tensor.gdynia.pl Tue Feb 10 00:10:24 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Feb 10 00:10:32 2009 Subject: How do I spinup disk from power-up in standby ? In-Reply-To: <200902092228.WAA21205@sopwith.solgatos.com> References: <200902092228.WAA21205@sopwith.solgatos.com> Message-ID: <20090210090941.F67642@wojtek.tensor.gdynia.pl> > mode is enabled. > > I can't find anything like this on FreeBSD. (I checked 7.1 also) > And the disk doesn't show up in dmesg. It should be ad6, > but there is no ad6 and no Western Digital or WD in dmesg. sorry i missed this. here is a problem that it's not seen. when it enters such a mode? From jrisom at gmail.com Tue Feb 10 01:04:42 2009 From: jrisom at gmail.com (Joshua Isom) Date: Tue Feb 10 01:04:48 2009 Subject: Playing audio CDs In-Reply-To: <20090207231934.d0f0e793.freebsd@edvax.de> References: <498DD2DE.803@comcast.net> <20090207231934.d0f0e793.freebsd@edvax.de> Message-ID: <10372cc8af438332a0f3109aaa68289b@gmail.com> On Feb 7, 2009, at 4:19 PM, Polytropon wrote: > On Sat, 07 Feb 2009 13:28:46 -0500, Akenner > wrote: > > In order to play an audio CD, you can utilize the cdcontrol command > included in the base system: > > % cdcontrol play > > Refer to "man cdcontrol" for further options and eventually how to > specify the CD device (if needed). > > One thing that I don't think I've read but personally encountered. When using cdcontrol, it seems to tell the cd-rom drive to play the disc so it's not really done in software. If the audio cable from the cd-rom drive is not connected to the motherboard you won't get sound. For the vast majority of users this is a non-issue, but it be confusing to figure out. From arjan.van.der.oest at worldmax.nl Tue Feb 10 02:34:50 2009 From: arjan.van.der.oest at worldmax.nl (Arjan van der Oest) Date: Tue Feb 10 02:34:57 2009 Subject: [7.1-RELEASE-p2 amd64] NFS mount in fstab hangs during mountcritremote execution References: <200901291308.47418.fbsd.questions@rachie.is-a-geek.net> <200901301142.34624.fbsd.questions@rachie.is-a-geek.net> Message-ID: Hi Mel, Sorry for not getting back to you earlier, I have been out of the office for some time... > Does this one also have a link UP message after nfs mounting? If not, then > there's your culprit: network isn't up at mountcritremote time. You should > mark it 'late' in fstab The UP message came more or less at the same time. Marking it late fixed the problem, still leaving me puzzled why the NFS mounts work without problem on identical machines but not in this one. Anyhow, since it's not a critical fs, the late option works fine. Thanks. -- Met vriendelijke groet / Kind Regards, Worldmax Operations B.V. Arjan van der Oest Network Design Engineer T.: +31 (0) 88 001 7912 F.: +31 (0) 88 001 7902 M.: +31 (0) 6 10 62 58 46 E.: arjan.van.der.oest@worldmax.nl W.:www.worldmax.nl W.:www.aerea.nl GPG: https://keyserver.pgp.com/ (Key ID: 07286F78) fingerprint: 2E9F 3AE2 0A8B 7579 75A9 169F 5D9E 5312 0728 6F78 Internet communications are not secure; therefore, the integrity of this e-mail cannot be guaranteed following transmission on the Internet. This e-mail may contain confidential information. If you have received this e-mail in error, please notify the sender and erase this e-mail. Use of this e-mail by any person other than the addressee is strictly forbidden. This e-mail is believed to be free of any virus that might adversely affect the addressee's computer system; however, no responsibility is accepted for any loss or damage arising in any way from its use. All the preceding disclaimers also apply to any possible attachments to this e-mail. From onemda at gmail.com Tue Feb 10 02:56:28 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Tue Feb 10 02:56:35 2009 Subject: How to troubleshoot why ath0 can't connect to a passwordless wireless network? In-Reply-To: <20090209155305.13786eiozefkdvs4@webmail.rawbw.com> References: <20090209003328.146539xpvcxdt740@webmail.rawbw.com> <3a142e750902091508v29f5c8car2a3bf5dc56b763e2@mail.gmail.com> <20090209155305.13786eiozefkdvs4@webmail.rawbw.com> Message-ID: <3a142e750902100256m7f6105cbkda7fbd3683671a9c@mail.gmail.com> On 2/10/09, Yuri wrote: > Quoting "Paul B. Mahol" : > >> wlandebug(8) for general 802.11 debuging >> >> ath driver have it's own debug options ... documented in source code .... >> > > Thanks! > > In the debug log I see the line: > ath0: ieee80211_scan_update: no scanner suppport for mode 8 > From source code I see that mode 8 is IEEE80211_M_MONITOR. > As I understand in 'monitor' mode no packets are being sent or received. In monitor mode packets can be only received. The question is why you are using monitor mode at all ... > When I try to turn it off with 'ifconfig ath0 -monotor' interface > still seems to stay in monitor mode. > > Why wouldn't -monitor turn monitor mode off? > > Yuri > > > -- Paul From k0802647 at telus.net Tue Feb 10 03:31:23 2009 From: k0802647 at telus.net (Carl) Date: Tue Feb 10 03:31:30 2009 Subject: FreeBSD 7.1 distribution DVD In-Reply-To: <49910E44.9020904@telus.net> References: <49067148.6080307@telus.net> <49910E44.9020904@telus.net> Message-ID: <49916588.8020804@telus.net> I've downloaded 7.1-RELEASE-i386-dvd1.iso and created a bootable USB thumb drive with it. It boots up and launches sysinstall as expected. However, when I try to launch the liveFS from the Fixit menu, it will only look on /dev/acd0. What do I need to modify so that it will look for the liveFS on the thumb drive? Alternatively, since I'm using Grub as a multiboot manager, how would I alter the FreeBSD boot configuration such that it boots the liveFS directly instead of the primitive sysinstall-only boot option? Carl / K0802647 From proskurin-kv at fxclub.org Tue Feb 10 04:05:21 2009 From: proskurin-kv at fxclub.org (Proskurin Kirill) Date: Tue Feb 10 04:05:30 2009 Subject: Samba 3.2 & FreeBSD In-Reply-To: <991123400902100003k6877057ehc2f0eb71a504d3ed@mail.gmail.com> References: <49913469.6040400@fxclub.org> <991123400902100003k6877057ehc2f0eb71a504d3ed@mail.gmail.com> Message-ID: <49916D64.701@fxclub.org> Odhiambo Washington wrote: > On Tue, Feb 10, 2009 at 11:01 AM, Proskurin Kirill >> >> Just wondering - why samba 3.2+ is not in a ports? > net/samba3-devel ?? Oh. But why it is "devel"? Samba 3.3 is officially stable. -- Best regards, Proskurin Kirill From naylor.b.david at gmail.com Tue Feb 10 04:09:57 2009 From: naylor.b.david at gmail.com (David Naylor) Date: Tue Feb 10 04:10:07 2009 Subject: Slow DNS (and host: connection timed out) In-Reply-To: <200902092233.36536.fbsd.questions@rachie.is-a-geek.net> References: <200902060955.59611.naylor.b.david@gmail.com> <200902092233.36536.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200902101409.57195.naylor.b.david@gmail.com> On Tuesday 10 February 2009 09:33:36 Mel wrote: > On Thursday 05 February 2009 22:55:56 David Naylor wrote: > > Hi, > > > > My ISP is using a WinGate DN